0% found this document useful (0 votes)
186 views

Junos Notes

1) The user logged into the backup routing engine RE1 on the router torpr4 and copied the core dump files vmcore.0 and kernel.0 from RE1 to the master routing engine RE0 for analysis. 2) The user then copied the core dump files from the router torpr4 to their local machine phlnu1 using scp for further analysis offline. 3) The core dump files were then copied from phlnu1 to another machine phlnn7 using WinSCP for additional troubleshooting.

Uploaded by

Sridhar Talari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
186 views

Junos Notes

1) The user logged into the backup routing engine RE1 on the router torpr4 and copied the core dump files vmcore.0 and kernel.0 from RE1 to the master routing engine RE0 for analysis. 2) The user then copied the core dump files from the router torpr4 to their local machine phlnu1 using scp for further analysis offline. 3) The core dump files were then copied from phlnu1 to another machine phlnn7 using WinSCP for additional troubleshooting.

Uploaded by

Sridhar Talari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

set interface {interface} disable

delete interface {interface} disable


shrirang.mulay@scoir4> show interfaces ge-0/1/9 descriptions
Interface
Admin Link Description
ge-0/1/9
up
up type=nni,subtype=pip,provider=vzb,cid=SGNS061562,asn=
65000
shrirang.mulay@scoir4# set interfaces ge-0/1/9 disable
[edit]
shrirang.mulay@scoir4# show interfaces ge-0/1/9 description
description type=nni,subtype=pip,provider=vzb,cid=SGNS061562,asn=65000;
[edit]
shrirang.mulay@scoir4# show interfaces ge-0/1/9 detail
^
syntax error.
shrirang.mulay@scoir4# show interfaces ge-0/1/9 deta
^
syntax error.
shrirang.mulay@scoir4# show interfaces ge-0/1/9
description type=nni,subtype=pip,provider=vzb,cid=SGNS061562,asn=65000;
disable;
traps;
vlan-tagging;
mtu 2000;
gigether-options {
no-auto-negotiation;
}
[edit]
shrirang.mulay@scoir4# set interfaces ge-0/1/9 disable
[edit]
shrirang.mulay@scoir4#
Possible completions:
<[Enter]>
and-quit
at
check
comment
confirmed
synchronize
|
[edit]
shrirang.mulay@scoir4#
Possible completions:
<[Enter]>
<timeout>
and-quit
comment
synchronize
|
[edit]

commit ?
Execute this command
Quit configuration mode if commit succeeds
Time at which to activate configuration changes
Check correctness of syntax; do not apply changes
Message to write to commit log
Automatically rollback if not confirmed
Synchronize commit on both Routing Engines
Pipe through a command
commit confirmed ?
Execute this command
Number of minutes until automatic rollback (1..65535)
Quit configuration mode if commit succeeds
Message to write to commit log
Synchronize commit on both Routing Engines
Pipe through a command

shrirang.mulay@scoir4# commit confirmed 1


commit confirmed will be automatically rolled back in 1 minutes unless confirmed
commit complete
# commit confirmed will be rolled back in 1 minute
[edit]
Broadcast Message from root@scoir4
(no tty) at 21:56 EDT...
Commit was not confirmed; automatic rollback complete.

[edit]
shrirang.mulay@scoir4# exit
Exiting configuration mode
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////
Downgraded OS of RE1 on torpr4
show c//////////////////////////////////////////////////////////////////////////
////////////////////////////////////
request routing-engine login other-routing-engine
root> show chassis hardware
Aborted! This command can only be used on the master routing engine.
file list /var/tmp
/var/tmp:
gres-tp/
idp_license_info
install/
jbundle-9.5R1.8-domestic.tgz*
jinstall-8.1-20071208.0-domestic-signed.tgz
sec-download/
vi.recover/
request system software add /var/tmp/jinstall-8.1-20071208.0
shrirang.mulay@torpr4# commit synchronize ?
Possible completions:
<[Enter]>
Execute this command
and-quit
Quit configuration mode if commit succeeds
at
Time at which to activate configuration changes
comment
Message to write to commit log
|
Pipe through a command
[edit]
shrirang.mulay@torpr4# commit synchronize comment ?
Possible completions:
<comment>
Message to write to commit log
[edit]
shrirang.mulay@torpr4# commit synchronize comment CHG441348
re0:
configuration check succeeds

re1:
commit complete
re0:
commit complete
set chassis redundancy grace full switch over

1) Request that Juniper onsite tech reseat RE1 on torpr4. Issue command show cha
ssis routing-engine to ensure the backup routing engine comes up properly. If it
does not, proceed to step 2.
2) Request that Juniper replace RE1. Issue command show chassis routing-engine t
o ensure the backup routing engine comes back up properly.
3) Copy code to RE1 as follows:
request system software add /var/tmp/jinstall-8.1-20071208.0-domestic-signed.tgz
re1 no-validate
4) Sync config to RE1:
edit exclusive
commit sync and-quit HD1942178
--------------------------------------------------------------------------------1. Log into the RE1 module
-----"request routing-engine login re1"
2. Copy the code version to the new RE0
-----"file copy re0:/var/tmp/jinstall-8.1-20071208.0-domestic-signed.tgz"
3. Load the new version
-----"request system software add /var/tmp/jbundle-8.5-20080209.0-domestic.tgz"
4. Reboot the new RE1 While Logged into RE1
-----"request system reboot"
5. Log into the RE0 module via console or request command
-----"request routing-engine login re1"
-----""show version"
6. On RE0 / master RE, check version to compare to the new RE
-----"show version"
7. Log into the RE1 module via console or request command
-----"request routing-engine login re1"
8. On RE1 check the version and ensure it matches RE0
-----"show version"
9. Exit RE0
-----"exit"
10. On RE0 copy and sync the configuration to RE1
-----"edit exclusive"
-----"commit synchronize and-quit"
///////////////////////////////////////////////////////////////////
shrirang.mulay@phlrr2> request routing-engine login other-routing-engine <<login
into BAckup RE>>
--- JUNOS 9.3R3.8 built 2009-05-12 22:35:00 UTC
shrirang.mulay@phlrr2> show system core-dumps

-rw------- 1 root wheel 94732288 Jul 3 20:09 /var/crash/vmcore.0


/var/tmp/*core*: No such file or directory
-rw-r--r-- 1 root wheel 65907347 Jul 3 20:09 /var/crash/kernel.0
/tftpboot/corefiles/*core*: No such file or directory
total 2
shrirang.mulay@phlrr2> start shell user root <<here we get into OS of the rout
er>>
Password:
root@phlrr2% cd /var/crash/
root@phlrr2% ls
bounds
info.0
kernel.0
minfree
vmcore.0
root@phlrr2% chmod vmcore.0 644
chmod: invalid file mode: vmcore.0
root@phlrr2% chmod 644 vmcore.0 <<permission are change to file>>
root@phlrr2% chmod 644 kernel.0 <<permission are changed >>
root@phlrr2% cd .
root@phlrr2% exit
exit
shrirang.mulay@phlrr2> ...core.0 re0:/var/tmp/vmcore.0
s are copied to Backup RE to Master RE

| file

|
shrirang.mulay@phlrr2> ...copy /var/crash/kernel.0 re0:/var/tmp/kernel.0 |
shrirang.mulay@phlrr2> exit <<Disconnected from Backup RE>>
rlogin: connection closed
shrirang.mulay@phlrr2> show system core-dumps
/var/crash/*core*: No such file or directory
-rw-r--r-- 1 admin wheel 94732288 Jul 4 02:25 /var/tmp/vmcore.0
/var/crash/kernel.*: No such file or directory
/tftpboot/corefiles/*core*: No such file or directory
total 1
shrirang.mulay@phlrr2> file list /var/tmp/ detail
ied to Master RE>>
/var/tmp/:
total 1088824
srw-rw---- 1
drwxrwxrwx 2
-rw-r--r-- 1
c.tgz
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r----- 1
srwxr-xr-x 1
srwxr-xr-x 1
srwxr-xr-x 1
srwxr-xr-x 1
srwxr-xr-x 1
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r--r-- 1

<<check if the file are cop

root operator
0 Oct 6 2009 .pccardd
root wheel
512 Jul 23 2008 install/
root wheel 90904511 Jul 23 2008 jbundle-8.2-20071208.0-domesti
root
admin
root
root
root
root
root
root
root
root
root
root
root
root
root
root

wheel 211639010 Oct 8 2009 jbundle-9.3R3.8-domestic.tgz


wheel 65907347 Jul 4 02:26 kernel.0
wheel 94001503 Jul 22 2008 mchassis-install.tgz
wheel
57 Oct 8 2009 preinstall_boot_loader.conf
wheel
1424 Jan 28 2010 sampled.pkts
wheel
0 Jul 23 2008 shm_ipc_cs2*
wheel
0 Jan 28 2010 shm_ipc_cs5*
wheel
0 Jan 28 2010 shm_ipc_cs6*
wheel
0 Jan 28 2010 shm_ipc_cs7*
wheel
0 Jan 28 2010 shm_ipc_cs8*
wheel
0 Oct 8 2009 shm_ipc_mem_1
wheel
0 Oct 8 2009 shm_ipc_mem_2
wheel
0 Oct 8 2009 shm_ipc_mem_3
wheel
0 Oct 8 2009 shm_ipc_mem_4
wheel
0 Oct 8 2009 shm_ipc_sem_1
wheel
0 Oct 8 2009 shm_ipc_sem_2

-rw-r--r--rw-r--r-drwxrwxrwT
-rw-r--r--

1
1
2
1

root
root
root
admin

wheel
wheel
wheel
wheel

0
0
512
94732288

Oct
Oct
Jul
Jul

8
8
23
4

2009
2009
2008
02:25

shm_ipc_sem_3
shm_ipc_sem_4
vi.recover/
vmcore.0

shrirang.mulay@phlrr2> exit
Connection to phlrr2 closed.
[shrirang.mulay@phlnu1 ~]$ ssh phlrr2
+==== SunGard Availability Services - unauthorized access prohibited ====+
shrirang.mulay@phlrr2's password:
--- JUNOS 9.3R3.8 built 2009-05-12 22:35:00 UTC
shrirang.mulay@phlrr2> scp ?
Possible completions:
<[Enter]>
Execute this command
<source>
Description of source file
|
Pipe through a command
shrirang.mulay@phlrr2> scp /var/tmp/vmcore.0 ?
Possible completions:
<[Enter]>
Execute this command
|
Pipe through a command
shrirang.mulay@phlrr2> scp /var/tmp/vmcore.0 shrirang.mulay@phlnu1:/var/tmp/vmco
re.0
^
syntax error.
shrirang.mulay@phlrr2>
Possible completions:
<[Enter]>
|
shrirang.mulay@phlrr2>

scp /var/tmp/vmcore.0 ?
Execute this command
Pipe through a command
exit

Connection to phlrr2 closed.


[shrirang.mulay@phlnu1 ~]$ scp shrirang.mulay@phlrr2:/var/tmp/vmcore.0
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2
[shrirang.mulay@phlnu1 ~]$ pwd
/home/shrirang.mulay
[shrirang.mulay@phlnu1 ~]$ scp shrirang.mulay@phlrr2:/var/tmp/vmcore.0 . <<copie
d files to phlnu1 from phlrr2>>
+==== SunGard Availability Services - unauthorized access prohibited ====+
shrirang.mulay@phlrr2's password:
vmcore.0
100% 90MB 3.5MB/s 00:26
[shrirang.mulay@phlnu1 ~]$ scp shrirang.mulay@phlrr2:/var/tmp/kernel.0 . <<copie
d files to phlnu1 from phlrr2>>
+==== SunGard Availability Services - unauthorized access prohibited ====+
shrirang.mulay@phlrr2's password:
<<<<NOw , RDP to phlnn7 >>>>
<<<<use Winscp on phlnn7 to copy files from phlnu1>>>>>

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy