Академический Документы
Профессиональный Документы
Культура Документы
1
ÍNDICE
HARDWARE...................................................................................................................................2
show system uptime.......................................................................................................................2
show chassis alarms........................................................................................................................2
show chassis craft-interface.............................................................................................................2
show chassis environment...............................................................................................................2
show chassis hardware....................................................................................................................2
show chassis hardware extensive.....................................................................................................2
show chassis routing-engine............................................................................................................2
request routing-engine login re1......................................................................................................2
request chassis routing-engine master switch....................................................................................2
request chassis fpc slot # offline......................................................................................................2
request chassis fpc slot # online.......................................................................................................2
request chassis fpc slot # restart.......................................................................................................2
request support information.............................................................................................................2
CONFIGURACIÓN........................................................................................................................2
show version..................................................................................................................................2
show configuration.........................................................................................................................2
INTERFACES.................................................................................................................................2
show interfaces..............................................................................................................................2
show interfaces terse.......................................................................................................................2
monitor interface traffic..................................................................................................................2
clear interfaces stastitics.................................................................................................................2
FIREWALL......................................................................................................................................2
show firewall.................................................................................................................................2
LOGS...............................................................................................................................................2
show firewall log............................................................................................................................2
show log user.................................................................................................................................2
show log ?.....................................................................................................................................2
DNS Y NTP.....................................................................................................................................2
show host www.cisco.com..............................................................................................................2
show ntp associations.....................................................................................................................2
show ntp status...............................................................................................................................2
IS-IS.................................................................................................................................................2
show isis adjacency........................................................................................................................2
show isis database..........................................................................................................................2
show isis interface..........................................................................................................................2
show isis route...............................................................................................................................2
BGP4................................................................................................................................................2
show bgp group..............................................................................................................................2
show bgp summary.........................................................................................................................2
show bgp neighbor.........................................................................................................................2
RUTAS.............................................................................................................................................2
2
show route.....................................................................................................................................2
show route protocol local................................................................................................................2
show route protocol direct...............................................................................................................2
show route protocol isis..................................................................................................................2
show route protocol isis extensive...................................................................................................2
show route protocol bgp..................................................................................................................2
show route protocol bgp damping suppressed...................................................................................2
show route protocol bgp aspath-regex ".* 12715"............................................................................2
show route protocol bgp source-gateway 213.140.32.1.....................................................................2
show route protocol bgp receive-protocol bgp 213.140.32.1..............................................................2
show route protocol bgp advertising-protocol bgp 213.140.32.1........................................................2
show route receive-protocol bgp 213.140.39.13................................................................................2
show route protocol bgp inactive.....................................................................................................2
MPLS...............................................................................................................................................2
show mpls interface........................................................................................................................2
show mpls lsp................................................................................................................................2
show mpls path..............................................................................................................................2
show ldp interface..........................................................................................................................2
show ldp session............................................................................................................................2
PING Y TRACEROUTE.................................................................................................................2
ping rapid 213.140.32.1 count 1000.................................................................................................2
traceroute source 213.140.32.19 62.81.248.1....................................................................................2
SHELL / MONITOR.......................................................................................................................2
start shell.......................................................................................................................................2
monitor stop...................................................................................................................................2
request system software add/var/home/javier/jbundle-4.4R1.5-export.tgz ...........................................2
configure.......................................................................................................................................2
PARADA / RELOAD DEL EQUIPO..............................................................................................2
request system reboot.....................................................................................................................2
request system halt.........................................................................................................................2
USUARIOS.....................................................................................................................................2
show system users..........................................................................................................................2
request system logout.....................................................................................................................2
ACTUALIZACIÓN DE JUNOS.....................................................................................................2
1. Copiamos la JUNOS a la RE de backup.......................................................................................2
file copy jbundle-4.3R2-export.tgz re1:/var/home/test...................................................................2
2. Copiamos la configuración actual a la RE de backup.....................................................................2
file copy /config/juniper.conf re1:/var/tmp/copied-juniper.conf......................................................2
3. Accedemos a la RE de backup.....................................................................................................2
request routing-engine login re1..................................................................................................2
4. Activamos la configuración actual en la RE de backup..................................................................2
load replace /var/tmp/copied-juniper.conf.....................................................................................2
commit and quit.........................................................................................................................2
5. Hacemos un backup del sistema de archivos actual.......................................................................2
request system snapshot..............................................................................................................2
6. Activamos la JUNOS en la RE de backup.....................................................................................2
3
request system software add /var/home/test/jbundle-4.3R2-export.tgz delay-restart reboot .............2
7. Hacemos un backup del sistema de archivos actual.......................................................................2
request system snapshot..............................................................................................................2
8. Conmutamos de RE para que la de backup pase a ser la master y viceversa. ...................................2
request chassis routing-engine master switch................................................................................2
4
HARDWARE
* Tiempo con el equipo "levantado"
============================================
* Alarmas hardware
============================================
* Vista de la craftinterface
Front Panel System LEDs:
Host 0 1
OK * *
Fail . .
Master * .
Front Panel Alarm Indicators:
Red LED .
Yellow LED .
Major relay .
Minor relay .
Front Panel FPC LEDs:
5
FPC 0 1 2 3 4 5 6 7
Red . . . . . . . .
Green . * * . . . * .
MCS, SFM, and PCG LEDs:
MCS 0 1 SFM 0 1 2 3 PCG 0 1
Amber . . . . . . . .
Green * * * * * * * *
Blue * . * * * * * .
============================================
* Estado de la temperatura, ventiladores, etc..
6
============================================
* Visión general de las tarjetas y hardware del equipo
============================================
* Visiòn detallada del hardware del equipo( numero de serie,..)
7
============================================
* Estado de la CPU de las REs
8
============================================
* Acceder por login la otra routing engine
============================================
* Forzar el cambio de routing engine master de una a otra
============================================
* Deshabilitar una FPC
============================================
* habilitar una FPC
============================================
* Resetear una FPC
============================================
* "show tech" de Juniper
9
JUNOS Packet Forwarding Engine Support [4.4R1.5]
JUNOS Online Documentation Files [4.4R1.5]
KERNEL 4.4R1.5 #0 built by builder on 20010420 04:48:50 UTC
MGD release 4.4R1.5 built by builder on 20010420 05:17:18 UTC
CLI release 4.4R1.5 built by builder on 20010420 05:17:21 UTC
CHASSISD release 4.4R1.5 built by builder on 20010420 04:51:28 UTC
DCD release 4.4R1.5 built by builder on 20010420 04:48:59 UTC
RPD release 4.4R1.5 built by builder on 20010420 05:13:20 UTC
SNMPD release 4.4R1.5 built by builder on 20010420 04:49:52 UTC
MIB2D release 4.4R1.5 built by builder on 20010420 04:49:58 UTC
APSD release 4.4R1.5 built by builder on 20010420 04:51:08 UTC
VRRPD release 4.4R1.5 built by builder on 20010420 04:51:11 UTC
ALARMD release 4.4R1.5 built by builder on 20010420 04:51:22 UTC
PFED release 4.4R1.5 built by builder on 20010420 04:52:07 UTC
CRAFTD release 4.4R1.5 built by builder on 20010420 04:52:03 UTC
SAMPLED release 4.4R1.5 built by builder on 20010420 04:52:12 UTC
ILMID release 4.4R1.5 built by builder on 20010420 04:52:20 UTC
jkerneldd release 4.4R1.5 built by builder on 20010420 04:44:53 UTC
jroutedd release 4.4R1.5 built by builder on 20010420 05:12:45 UTC
...
...
CONFIGURACIÓN
* Version de JUNOS
show version
Hostname: GRTMADPE2
Model: m160
JUNOS base [4.4R1.5]
JUNOS Kernel Software Suite [4.4R1.5]
JUNOS Routing Software Suite [4.4R1.5]
JUNOS Packet Forwarding Engine Support [4.4R1.5]
JUNOS Online Documentation Files [4.4R1.5]
KERNEL 4.4R1.5 #0 built by builder on 20010420 04:48:50 UTC
MGD release 4.4R1.5 built by builder on 20010420 05:17:18 UTC
CLI release 4.4R1.5 built by builder on 20010420 05:17:21 UTC
CHASSISD release 4.4R1.5 built by builder on 20010420 04:51:28 UTC
DCD release 4.4R1.5 built by builder on 20010420 04:48:59 UTC
RPD release 4.4R1.5 built by builder on 20010420 05:13:20 UTC
SNMPD release 4.4R1.5 built by builder on 20010420 04:49:52 UTC
MIB2D release 4.4R1.5 built by builder on 20010420 04:49:58 UTC
APSD release 4.4R1.5 built by builder on 20010420 04:51:08 UTC
VRRPD release 4.4R1.5 built by builder on 20010420 04:51:11 UTC
ALARMD release 4.4R1.5 built by builder on 20010420 04:51:22 UTC
PFED release 4.4R1.5 built by builder on 20010420 04:52:07 UTC
CRAFTD release 4.4R1.5 built by builder on 20010420 04:52:03 UTC
SAMPLED release 4.4R1.5 built by builder on 20010420 04:52:12 UTC
ILMID release 4.4R1.5 built by builder on 20010420 04:52:20 UTC
10
jkerneldd release 4.4R1.5 built by builder on 20010420 04:44:53 UTC
jroutedd release 4.4R1.5 built by builder on 20010420 05:12:45 UTC
jdocsdd release 4.4R1.5 built by builder on 20010420 05:20:31 UTC
============================================
* Ver la configuracion actual
show configuration
INTERFACES
* Ver el estado de las interfaces
show interfaces
Physical interface: fe1/0/0, Enabled, Physical link is Down
Interface index: 18, SNMP ifIndex: 13
Description: CONEXION directa para SLAs entre GRTMADPE2 y GRRMADPE1
Linklevel type: Ethernet, MTU: 1514, Speed: 100mbps, Loopback: Disabled,
Source filtering: Disabled, Flow control: Enabled
Device flags : Present Running Down
Interface flags: HardwareDown SNMPTraps
Link flags : None
Current address: 00:90:69:f1:08:7e, Hardware address: 00:90:69:f1:08:7e
Input rate : 0 bps (0 pps), Output rate: 0 bps (0 pps)
Active alarms : LINK
Active defects : LINK
....
...
============================================
* Visión general de los interfaces, estado, y direccionamiento
11
so1/3/0 up up
so1/3/0.0 up up inet 213.140.36.65/30
iso
so1/3/1 up up
so1/3/1.0 up up inet 213.140.36.73/30
iso
so1/3/2 up down
so1/3/3 up down
so2/0/0 up down
so2/0/1 up down
so2/0/2 up down
so2/0/3 up down
at2/1/0 up up
at2/1/1 up down
so6/0/0 up down
so6/0/1 up down
so6/0/2 up down
so6/0/3 up down
ge6/1/0 up up
ge6/1/0.0 up up inet 213.140.36.130/30
iso
ge6/1/1 up down
fxp0 up down
fxp0.0 up down inet
fxp1 up up
fxp1.0 up up tnp 4
fxp2 up up
fxp2.0 up up tnp 4
gre up up
ipip up up
lo0 up up
lo0.0 up up inet 213.140.32.19 > 0/0
iso 49.0000.0000.329c.0001.d58c.2013.0000.00
pimd up up
pime up up
tap up up
============================================
* Trafico de los interfaces en tiempo real
* Con el commando “clear interfaces statitics “podemos limpiar las estadísticas del
Interface.
12
FIREWALL
* Filtros existentes
show firewall
Filter/Counter Packet count Byte count
inextsso1/3/0
inextsso1/3/1
outextsso1/3/0
outextsso1/3/1
loopback
13
LOGS
* Log de paquetes filtrados
============================================
* Log de usuarios
============================================
* Ver cualquier tipo de log..
show log ?
Possible completions:
<[Enter]> Execute this command
<filename> Log file to display
access.aprobed Size: 107830, Last changed: May 24 08:33:37
access.dcd Size: 374351, Last changed: May 24 08:33:41
access.sampled Size: 478127, Last changed: May 24 08:33:48
aprobed Size: 0, Last changed: Mar 31 00:44:54
apsd Size: 24424, Last changed: May 24 08:33:42
chassisd Size: 470341, Last changed: May 28 14:30:01
dcd Size: 23675, Last changed: May 24 08:33:42
ilmid Size: 1145, Last changed: May 22 21:38:52
install Size: 742, Last changed: May 18 15:30:01
interface.log Size: 5066, Last changed: May 22 19:12:35
lastlog Size: 84028, Last changed: May 28 14:20:47
lpderrs Size: 0, Last changed: Feb 22 05:59:12
maillog Size: 0, Last changed: Feb 22 05:59:12
mastership Size: 6939, Last changed: May 22 21:38:53
messages Size: 110563, Last changed: May 28 14:50:58
messages.0.gz Size: 6940, Last changed: May 28 10:00:00
messages.1.gz Size: 5725, Last changed: May 28 04:00:00
messages.10.gz Size: 6542, Last changed: May 25 22:00:00
messages.2.gz Size: 5825, Last changed: May 27 22:00:00
messages.3.gz Size: 5626, Last changed: May 27 16:00:00
messages.4.gz Size: 5781, Last changed: May 27 10:00:00
messages.5.gz Size: 5828, Last changed: May 27 04:00:00
messages.6.gz Size: 5688, Last changed: May 26 22:00:00
messages.7.gz Size: 5629, Last changed: May 26 16:00:00
messages.8.gz Size: 5829, Last changed: May 26 10:00:00
messages.9.gz Size: 6378, Last changed: May 26 04:00:00
mib2d Size: 9705, Last changed: May 24 08:33:42
14
ppp.log Size: 0, Last changed: Feb 22 05:59:12
sampled Size: 54550, Last changed: May 24 08:34:18
sendmail.st Size: 0, Last changed: Feb 22 05:58:40
slip.log Size: 0, Last changed: Feb 22 05:59:12
snapshot Size: 1475, Last changed: Mar 31 00:44:35
snmpd Size: 9200, Last changed: May 24 08:33:42
user Show recent user logins
vrrpd Size: 934, Last changed: May 22
...
...
...
DNS Y NTP
* "Resolvedor" de nombres:
============================================
* NTP
============================================
15
IS-IS
* Vecinos de ISIS
============================================
* Tabla de LSPs de ISIS
ISIS level 2 linkstate database:
LSP ID Sequence Checksum Lifetime Attributes
GRTHOUGC1.0000 0x1ad1 0xdfd3 50207 L1 L2
GRTMADRR1.0000 0x883 0x5aac 61120 L1 L2
GRTMADRR1.0100 0x45 0x7589 34029 L1 L2
GRTMADRR1.0200 0x49 0x6693 32424 L1 L2
GRTMADDE1.0000 0x64c 0xd5ea 23408 L1 L2
GRTMADDE1.0100 0x48 0x7b6e 38300 L1 L2
GRTMADDE1.0200 0x4c 0x6c78 45471 L1 L2
GRTMADPE1.0000 0x586 0xc547 65405 L1 L2
GRTMADPE2.0000 0x93 0xec53 65415 L1 L2
GRTMADPE2.0200 0x84 0xc9c1 65415 L1 L2
GRTMADPE2.0300 0x69 0xd53c 65415 L1 L2
GRTLONTL1.0000 0x3d5 0xfba5 61116 L1 L2
GRTLONTL1.0200 0x107 0xd0b9 11037 L1 L2
GRTLONTL2.0000 0x209e 0x5d24 48788 L1 L2
GRTLONTL2.0100 0x46 0x9716 4017 L1 L2
GRTLONTL2.0200 0xadb 0x47c5 23182 L1 L2
GRTROMAC1.0000 0x164 0x9f84 41949 L1 L2
GRTROMAC1.0100 0x43 0x164e 15549 L1 L2
GRTROMAC1.0200 0x48 0x559 31996 L1 L2
GRGMADCIC1.0000 0xfd 0x604b 52048 L1 L2
GRGMADCIC1.0100 0xa3 0xef11 4693 L1 L2
GRGMADCIC2.0000 0x1ae 0xd3a7 38282 L1 L2
GRGMADCIC2.0100 0x74 0x42e5 4610 L1 L2
GRTNYCCC1.0000 0x322c 0x5935 37080 L1 L2
GRTNYCCC1.0100 0x46 0xa94b 44207 L1 L2
GRTNYCCC1.0200 0x4a 0x9a55 46888 L1 L2
16
GRTNYCNS1.0000 0xcf 0xdab7 18445 L1 L2
GRTNYCNS1.0300 0x78 0x222 41132 L1 L2
GRTNYCNS2.0000 0x100 0x6cb4 4629 L1 L2
GRTNYCNS2.0100 0x52 0xdd74 62746 L1 L2
GRTMTYTE1.0000 0x14ad 0x3ca4 40311 L1 L2
GRTMTYTE1.0100 0x9 0x2843 63169 L1 L2
GRTBUECI1.0000 0x82 0x1ff1 39703 L1 L2
GRTSAOLS2.0000 0x86 0xb909 6335 L1 L2
GRTSAOLS2.0200 0x9 0x847d 58018 L1 L2
GRTMIASD1.0000 0x1462 0x2fd 23406 L1 L2
GRTMIASD1.0100 0x47 0x9274 8645 L1 L2
GRTMIASD1.0200 0x45 0x8f78 14446 L1 L2
GRTMIATIC1.0000 0x13a 0xfe5 39600 L1 L2
GRRMADRR1.0000 0x58 0x125f 26368 L1 L2
GRRMADDE1.0000 0x6e 0xdd3c 49534 L1 L2
GRRMADPE1.0000 0x58 0x517d 65404 L1 L2
GRRMADPE1.0100 0x1 0 0 L1 L2
GRRMADPE1.0200 0x4b 0x617d 58514 L1 L2
GRRLONTL1.0000 0x38f 0xcbee 18035 L1 L2
GRRNYCCC1.0000 0x58 0x6fcc 63292 L1 L2
GRRNYCNS1.0000 0x47 0x7c0c 17192 L1 L2
GRRNYCNS1.0100 0x4d 0x2b05 37186 L1 L2
GRRMIASD1.0000 0x5b 0x4441 14164 L1 L2
GRRROMAC1.0000 0x56 0xad8e 33506 L1 L2
GRRMTYTE1.0000 0xa 0x9bd2 17449 L1 L2
GRRMTYTE1.0100 0x7 0xd576 10168 L1 L2
GRRMTYTE1.0200 0x9 0xcabc 10062 L1 L2
53 LSPs
============================================
* Metrica y estado de los interfaces respecto a ISIS
============================================
17
* Tabla de rutas de ISIS
BGP4
*Sesiones BGP divididas por los grupos
Group Type: External Local AS: 12956
Export: [ TDE24 filterlist1 ]
Options: <RemovePrivateAS>
Total peers: 1 Established: 1
213.140.36.74+179
Route Queue Timer: unset Route Queue: empty
============================================
18
* Resumen de sesiones BGP
============================================
* Detalle de la sesion BGP con un vecino
19
Send state: not in sync
Active prefixes: 13384
Received prefixes: 92079
Suppressed due to damping: 0
Last traffic (seconds): Received 2 Sent 1 Checked 18
Input messages: Total 596280 Updates 596278 Refreshes 0 Octets 49701870
Output messages: Total 181651 Updates 181647 Refreshes 0 Octets 11925608
Output Queue[0]: 0
...
...
RUTAS
* Tabla de rutas
show route
inet.0: 111266 destinations, 111266 routes (111238 active, 0 holddown, 28 hidden)
+ = Active Route, = Last Active, * = Both
3.0.0.0/8 *[BGP/170] 20:41:43, localpref 80, from 213.140.32.33
AS path: 6453 701 80 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 4d 12:25:34, localpref 80
AS path: 6813 701 701 80 I
> to 213.140.36.74 via so1/3/1.0
[BGP/170] 20:41:41, localpref 80, from 213.140.32.17
AS path: 6813 701 701 80 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 20:41:40, localpref 80, from 213.140.32.1
AS path: 6813 701 701 80 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 20:41:40, localpref 80, from 213.140.32.9
AS path: 6813 701 701 80 I
> to 213.140.36.129 via ge6/1/0.0
4.0.0.0/8 *[BGP/170] 20:41:43, localpref 80, from 213.140.32.9
AS path: 3549 1 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 20:41:43, localpref 80, from 213.140.32.33
AS path: 3549 1 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 4d 10:56:48, localpref 80
AS path: 6813 6453 1 I
> to 213.140.36.74 via so1/3/1.0
[BGP/170] 20:41:41, localpref 80, from 213.140.32.17
AS path: 6813 6453 1 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 20:41:40, local
... ============================================
20
* Direcciones locales
inet.0: 111273 destinations, 111273 routes (111245 active, 0 holddown, 28 hidden)
+ = Active Route, = Last Active, * = Both
213.140.36.65/32 *[Local/0] 5d 17:33:05
Local
213.140.36.73/32 *[Local/0] 5d 17:33:05
Local
213.140.36.130/32 *[Local/0] 5d 17:33:14
Local
213.140.40.130/32 *[Local/0] 5d 03:23:14
Local
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, = Last Active, * = Both
============================================
* Redes directamente conectadas
inet.0: 111278 destinations, 111278 routes (111250 active, 0 holddown, 28 hidden)
+ = Active Route, = Last Active, * = Both
213.140.32.19/32 *[Direct/0] 5d 17:34:31
> via lo0.0
213.140.36.64/30 *[Direct/0] 5d 17:33:36
> via so1/3/0.0
213.140.36.72/30 *[Direct/0] 4d 12:47:53
> via so1/3/1.0
213.140.36.128/30 *[Direct/0] 5d 17:33:44
> via ge6/1/0.0
213.140.40.128/28 *[Direct/0] 5d 03:23:46
> via fe1/0/1.0
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, = Last Active, * = Both
49.0000.0000.329c.0001.d58c.2013.0000.00/128
*[Direct/0] 5d 17:34:32
> via lo0.0
21
============================================
* Redes de la tabla de rutas aprendidas por ISIS
inet.0: 111275 destinations, 111275 routes (111247 active, 0 holddown, 28 hidden)
+ = Active Route, = Last Active, * = Both
10.10.10.0/30 *[ISIS/18] 20:48:45, metric 7100, tag 2
> to 213.140.36.129 via ge6/1/0.0
63.144.131.64/30 *[ISIS/18] 20:48:45, metric 2900, tag 2
> to 213.140.36.129 via ge6/1/0.0
63.209.147.240/30 *[ISIS/18] 11:59:05, metric 6900, tag 2
> to 213.140.36.129 via ge6/1/0.0
63.209.150.120/30 *[ISIS/18] 11:59:05, metric 6900, tag 2
> to 213.140.36.129 via ge6/1/0.0
63.212.176.228/30 *[ISIS/18] 11:59:05, metric 6900, tag 2
> to 213.140.36.129 via ge6/1/0.0
194.69.226.44/30 *[ISIS/18] 20:48:45, metric 2750, tag 2
> to 213.140.36.129 via ge6/1/0.0
194.69.226.72/30 *[ISIS/18] 20:48:45, metric 400, tag 2
> to 213.140.36.129 via ge6/1/0.0
194.69.232.1/32 *[ISIS/18] 20:48:45, metric 2700, tag 2
> to 213.140.36.129 via ge6/1/0.0
194.69.232.3/32 *[ISIS/18] 20:48:45, metric 2750, tag 2
> to 213.140.36.129 via ge6/1/0.0
194.69.232.5/32 *[ISIS/18] 20:48:45, metric 400, tag 2
> to 213.140.36.129 via ge6/1/0.0
194.69.232.64/30 *[ISIS/18] 20:48:45, metric 2750, tag 2
...
...
...
============================================
* Redes de la tabla de rutas aprendidas por ISIS ( mas informacion)
inet.0: 111279 destinations, 111279 routes (111251 active, 0 holddown, 28 hidden)
+ = Active Route, = Last Active, * = Both
10.10.10.0/30 (1 entry, 1 announced)
TSI:
KRT inkernel 10.10.10.0/30 > {213.140.36.129}
BGP_Sync_Any dest 10.10.10.0/30 MED 7100
22
*ISIS Preference: 18
Nexthop: 213.140.36.129 via ge6/1/0.0, selected
State: <Active Int>
Local AS: 12956
Age: 20:51:58 Metric: 7100 Tag: 2
Task: ISIS
Announcement bits (2): 0KRT 4BGP_Sync_Any
AS path: I
63.144.131.64/30 (1 entry, 1 announced)
TSI:
KRT inkernel 63.144.131.64/30 > {213.140.36.129}
BGP_Sync_Any dest 63.144.131.64/30 MED 2900
*ISIS Preference: 18
Nexthop: 213.140.36.129 via ge6/1/0.0, selected
State: <Active Int>
Local AS: 12956
Age: 20:51:58 Metric: 2900 Tag: 2
Task: ISIS
Announcement bits (2): 0KRT 4BGP_Sync_Any
AS path: I
...
...
...
============================================
* Redes de la tabla de rutas aprendidas por BGP
inet.0: 111273 destinations, 111273 routes (111245 active, 0 holddown, 28 hidden)
+ = Active Route, = Last Active, * = Both
3.0.0.0/8 *[BGP/170] 20:54:43, localpref 80, from 213.140.32.33
AS path: 6453 701 80 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 4d 12:38:34, localpref 80
AS path: 6813 701 701 80 I
> to 213.140.36.74 via so1/3/1.0
[BGP/170] 20:54:41, localpref 80, from 213.140.32.17
AS path: 6813 701 701 80 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 20:54:40, localpref 80, from 213.140.32.1
AS path: 6813 701 701 80 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 20:54:4
...
============================================
23
* Redes suprimidas por damping
inet.0: 111276 destinations, 111276 routes (111248 active, 0 holddown, 28 hidden)
+ = Active Route, = Last Active, * = Both
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, = Last Active, * = Both
============================================
* ver redes con expresiones regulares
inet.0: 111277 destinations, 111277 routes (111249 active, 0 holddown, 28 hidden)
+ = Active Route, = Last Active, * = Both
62.14.0.0/15 *[BGP/170] 00:21:23, localpref 85, from 213.140.32.37
AS path: 1755 702 12715 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 00:21:19, localpref 85, from 213.140.32.9
AS path: 1755 702 12715 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 4d 12:50:00, localpref 80
AS path: 6813 8297 1299 12457 12715 I
> to 213.140.36.74 via so1/3/1.0
62.151.32.0/19 *[BGP/170] 00:21:23, localpref 85, from 213.140.32.37
AS path: 1755 8938 12457 12715 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 00:21:19, localpref 85, from 213.140.32.9
AS path: 1755 8938 12457 12715 I
> to 213.140.36.129 via ge6/1/0.0
[BGP/170] 12:17:25, localpref 80
AS path: 6813 3561 286 12424 12715 I
> to 213.140.36.74 via so1/3/1.0
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, = Last Active, * = Both
============================================
24
* Rutas aprendidas por BGP desde un vecino
inet.0: 111279 destinations, 111279 routes (111251 active, 0 holddown, 28 hidden)
+ = Active Route, = Last Active, * = Both
3.0.0.0/8 [BGP/170] 21:07:26, localpref 80, from 213.140.32.1
AS path: 6813 701 701 80 I
> to 213.140.36.129 via ge6/1/0.0
4.0.0.0/8 [BGP/170] 21:07:26, localpref 80, from 213.140.32.1
AS path: 6813 6453 1 I
> to 213.140.36.129 via ge6/1/0.0
6.1.0.0/16 [BGP/170] 21:07:26, localpref 80, from 213.140.32.1
AS path: 6813 6453 1239 7170 1455 I
> to 213.140.36.129 via ge6/1/0.0
6.2.0.0/22 [BGP/170] 21:07:26, localpref 80, from 213.140.32.1
AS path: 6813 6453 1239 7170 1455 I
> to 213.140.36.129 via ge6/1/0.0
6.3.0.0/18 [BGP/170] 21:07:26, localpref 80, from 213.140.32.1
AS path: 6813 6453 1239 7170 1455 I
> to 213.140.36.129 via ge6/1/0.0
6.4.0.0/16 [BGP/170] 21:07:26, localpref 80, from 213.140.32.1
AS path: 6813 6453 1239 7170 1455 I
...
...
============================================
* Rutas aprendidas por BGP desde un vecino (Otra forma)
inet.0: 111274 destinations, 111274 routes (111246 active, 0 holddown, 28 hidden)
Prefix Nexthop MED Lclpref AS path
3.0.0.0/8 213.140.32.1 80 6813 701 701 80 I
4.0.0.0/8 213.140.32.1 80 6813 6453 1 I
6.1.0.0/16 213.140.32.1 80 6813 6453 1239 7170 1455 I
6.2.0.0/22 213.140.32.1 80 6813 6453 1239 7170 1455 I
6.3.0.0/18 213.140.32.1 80 6813 6453 1239 7170 1455 I
6.4.0.0/16 213.140.32.1 80 6813 6453 1239 7170 1455 I
6.5.0.0/19 213.140.32.1 80 6813 6453 1239 7170 1455 I
6.8.0.0/20 213.140.32.1 80 6813 6453 1239 7170 1455 I
6.9.0.0/20 213.140.32.1 80 6813 6453 1239 7170 1455 I
6.10.0.0/15 213.140.32.1 80 6813 6453 1239 7170 1455 I
6.14.0.0/15 213.140.32.1 80 6813 6453 1239 7170 1455 I
6.133.0.0/21 213.140.32.1 80 6813 6453 1239 7170 1455 I
6.151.0.0/16 213.140.32.1 80 6813 6453 1239 7170 1455 I
6.152.0.0/16 213.140.32.1 80 6813 6453 1239 7170 1455 I
25
9.2.0.0/16 213.140.32.1 80 6813 701 701 I
9.3.4.0/24 213.140.32.1 80 6813 6453 1 16779 1221 ?
9.3.5.0/24 213.140.32.1 80 6813 6453 1 16779 1221 ?
9.141.128.0/24 213.140.32.1 80 6813 6453 7018 2686 ?
9.184.112.0/20 213.140.32.244 0 80 3356 3786 I
9.186.144.0/20 213.140.32.244 0 80 3356 3786 I
12.0.0.0/8 213.140.32.1 80 6813 6453 7018 I
12.0.252.0/23 213.140.32.1 80 6813 701
...
...
...
============================================
* Rutas propagadas de BGP a otro vecino
inet.0: 111278 destinations, 111278 routes (111250 active, 0 holddown, 28 hidden)
Prefix Nexthop MED Lclpref AS path
12.3.65.0/24 Self 80 6813 6453 1 11860 14763 I
12.5.164.0/24 Self 80 6813 3561 11134 I
12.10.175.0/24 Self 80 6813 3561 8074 I
12.13.82.0/23 Self 80 6813 3561 3908 20036 I
12.13.84.0/24 Self 80 6813 3561 3908 20036 I
12.13.120.0/23 Self 80 6813 3561 3908 20036 I
12.20.66.0/23 Self 80 6813 3561 11589 I
12.23.136.0/22 Self 80 6813 3561 5006 11101 I
12.24.180.0/23 Self 80 6813 3561 13552 I
12.24.250.0/23 Self 80 6813 3561 5006 11101 I
12.24.252.0/22 Self 80 6813 3561 5006 11101 I
12.26.128.0/22 Self 80 6813 3561 13488 13641 I
12.27.88.0/24 Self 80 6813 3561 14906 I
12.27.89.0/24 Self 80 6813 3561 14906 I
12.27.90.0/24 Self 80 6813 3561 14906 I
12.27.91.0/24 Self 80 6813 3561 14906 I
12.29.100.0/24 Self 80 6813 3561 6307 I
12.29.101.0/24 Self 80 6813 3561 6307 I
12.29.102.0/24 Self 80 6813 3561 6307 I
12.29.148.0/24 Self 80 6813 3561 11418 I
12.30.224.0/22 Self
...
...
============================================
26
* Para ver las rutas recibidas desde un neighbor
============================================
* Redes inactivas
inet.0: 111274 destinations, 111274 routes (111246 active, 0 holddown, 28 hidden)
+ = Active Route, = Last Active, * = Both
64.86.14.32/27 [BGP] 2d 12:16:30, localpref 100
AS path: 6813 6453 I
> to 213.140.36.74 via so1/3/1.0
64.86.72.160/27 [BGP] 2d 12:16:30, localpref 100
AS path: 6813 6453 I
> to 213.140.36.74 via so1/3/1.0
64.86.105.32/27 [BGP] 1d 14:02:01, localpref 100
AS path: 6813 6453 I
> to 213.140.36.74 via so1/3/1.0
64.86.105.128/28 [BGP] 2d 12:16:30, localpref 100
AS path: 6813 6453 I
> to 213.140.36.74 via so1/3/1.0
64.86.105.192/29 [BGP] 2d 12:16:30, localpref 100
AS path: 6813 6453 I
> to 213.140.36.74 via so1/3/1.0
64.86.182.88/29 [BGP] 2d 12:16:30, localpref 100
AS path: 6813 6453 I
...
27
MPLS
* Para ver todos los interfaces que tienen configurado MPLS
==========================================
* Si queremos ver los túneles de Ingeniería de Tráfico en los que participa este
router bien como Ingress, Egress o Transit
==========================================
* Si lo que queremos ver es el camino exacto que siguen los túneles de TE desde un
router hasta el destino del túnel
28
==========================================
* Para ver todos los interfaces que tienen configurado LDP
==========================================
* Para ver el número de sesiones que tenemos establecidas y su estado
* NOTA : Para limpiar una sesión LDP lo haremos con “clear ldp neighbor <dir_ip>”.
29
PING Y TRACEROUTE
* Ping "rapido" ( sin esperar el ack para mandar el siguiente)
y de 1000 paquetes
============================================
* Traceroute desde la loopback
...
...
30
SHELL / MONITOR
* Ir a la Shell de linux
start shell
% exit
% exit
============================================
* "term monitor" o "tail" de un fichero.
monitor start ?
Possible completions:
<filename> Log file to start monitoring
access.aprobed Size: 107830, Last changed: May 24 08:33:37
access.dcd Size: 374351, Last changed: May 24 08:33:41
access.sampled Size: 478127, Last changed: May 24 08:33:48
aprobed Size: 0, Last changed: Mar 31 00:44:54
apsd Size: 24424, Last changed: May 24 08:33:42
chassisd Size: 470341, Last changed: May 28 14:30:01
dcd Size: 23675, Last changed: May 24 08:33:42
ilmid Size: 1145, Last changed: May 22 21:38:52
install Size: 742, Last changed: May 18 15:30:01
interface.log Size: 5066, Last changed: May 22 19:12:35
lastlog Size: 84028, Last changed: May 28 15:34:11
lpderrs Size: 0, Last changed: Feb 22 05:59:12
maillog Size: 0, Last changed: Feb 22 05:59:12
mastership Size: 6939, Last changed: May 22 21:38:53
messages Size: 34591, Last changed: May 28 15:57:45
messages.0.gz Size: 7160, Last changed: May 28 15:00:00
messages.1.gz Size: 6940, Last changed: May 28 10:00:00
messages.10.gz Size: 6378, Last changed: May 26 04:00:00
messages.2.gz Size: 5725, Last changed: May 28 04:00:00
messages.3.gz Size: 5825, Last changed: May 27 22:00:00
messages.4.gz Size: 5626, Last changed: May 27 16:00:00
messages.5.gz Size: 5781, Last changed: May 27 10:00:00
messages.6.gz Size: 5828, Last changed: May 27 04:00:00
messages.7.gz Size: 5688, Last changed: May 26 22:00:00
messages.8.gz Size: 5629, Last changed: May 26 16:00:00
messages.9.gz Size: 5829, Last changed: May 26 10:00:00
mib2d Size: 9705, Last changed: May 24 08:33:42
ppp.log Size: 0, Last changed: Feb 22 05:59:12
sampled Size: 54550, Last changed: May 24 08:34:18
sendmail.st Size: 0, Last changed: Feb 22 05:58:40
slip.log Size: 0, Last changed: Feb 22 05:59:12
31
snapshot Size: 1475, Last changed: Mar 31 00:44:35
snmpd Size: 9200, Last changed: May 24 08:33:42
vrrpd Size: 934, Last changed: May 22 21:38:53
wtmp Size: 13464, Last changed: May 28 15:35:45
============================================
* Para parar la salida por pantalla
monitor stop
============================================
* Upgrade de JUNOS
============================================
* Modo configuracion
configure
Entering configuration mode
[edit]
backup@GRTMADPE2#
32
PARADA / RELOAD DEL EQUIPO
* "Rebote" del equipo
===========================================
* Parada del equipo
USUARIOS
* Usuarios conectados:
============================================
* Forzar un logout de un usuario
33
ACTUALIZACIÓN DE JUNOS
- Los router que tenemos en planta tienen dos RE independientes, es decir, que cada una
puede estar corriendo
una JUNOS diferente. Una de las RE siempre estará activa y la otra de backup.
Para ver cual es cual lo haremos con el comando “show chassis routing-engine”
- Podemos cambiar la sesión de telnet de una RE a otra con el comando “request routing-
engine login x”
- Las tarjetas procesadoras ( router engine ) trabajan de forma independiente ( al contrario que
en los router Cisco )
lo que quiere decir que las dos tarjetas no guardan la configuración actual, ni las anteriores,
esta solo es guardada
por la en la tarjeta que esta en ese momento activaEsta funcionalidad de configuraciones
parejas en las dos RE será
aplicable a partir de la versión 5.1 de Juniper.
- Los router Juniper permiten la carga de software a través de FTP. El FTP se puede realizar
bien arrancado
la sesión desde el propio Juniper para ello deberemos de arrancar el modo shell de Unix a
través del
comando “start shell” donde el Juniper se comportara como una máquina en la que correo
Unix.O que el Juniper
haga de cliente ftp, ya que posee dicha facilidad, en esta ocasión también se comportara como
una maquina con SO Unix.
34
En el ejemplo que se muestra se carga la Junos arrancando desde una maquina residente en
el Centro de Gestión de Red Nuria.
$ ftp 213.0.184.215
Connected to 213.0.184.215.
220 NJTMDEL1 FTP server (Version 6.00) ready.
Name (213.0.184.215:planifi): test
331 Password required for test.
Password:
230 User test logged in.
ftp> bin
200 Type set to I.
ftp> hash
Hash mark printing on (8192 bytes/hash mark).
ftp> put jbundle-4.3R2-export.tgz
200 PORT command successful.
150 Opening BINARY mode data connection for 'jbundle-4.3R2-export.tgz'.
#############################################################
PROCEDIMIENTO
3. Accedemos a la RE de backup
35
4. Activamos la configuración actual en la RE de backup
36