Comandos Juniper

March 27, 2017 | Author: SucioPolicia | Category: N/A
Share Embed Donate


Short Description

Download Comandos Juniper...

Description

COMANDOS MÁS USUALES PARA JUNIPER

1

ÍNDICE HARDWARE..................................................................................................................................5 show system uptime.....................................................................................................................5 show chassis alarms.....................................................................................................................5 show chassis craft-interface.........................................................................................................5 show chassis environment............................................................................................................6 show chassis hardware.................................................................................................................7 show chassis hardware extensive.................................................................................................7 show chassis routing-engine........................................................................................................8 request routing-engine login re1..................................................................................................9 request chassis routing-engine master switch..............................................................................9 request chassis fpc slot # offline..................................................................................................9 request chassis fpc slot # online...................................................................................................9 request chassis fpc slot # restart...................................................................................................9 request support information.........................................................................................................9 CONFIGURACIÓN......................................................................................................................10 show version..............................................................................................................................10 show configuration.....................................................................................................................11 INTERFACES...............................................................................................................................11 show interfaces...........................................................................................................................11 show interfaces terse..................................................................................................................11 monitor interface traffic.............................................................................................................12 clear interfaces stastitics ...........................................................................................................12 FIREWALL...................................................................................................................................13 show firewall..............................................................................................................................13 LOGS.............................................................................................................................................14 show firewall log........................................................................................................................14 show log user.............................................................................................................................14 show log ?..................................................................................................................................14 DNS Y NTP...................................................................................................................................15 show host www.cisco.com.........................................................................................................15 show ntp associations.................................................................................................................15 show ntp status...........................................................................................................................15 IS-IS...............................................................................................................................................16 show isis adjacency....................................................................................................................16 show isis database......................................................................................................................16 show isis interface......................................................................................................................17 show isis route............................................................................................................................18 BGP4..............................................................................................................................................18 show bgp group..........................................................................................................................18 show bgp summary....................................................................................................................19 show bgp neighbor.....................................................................................................................19 RUTAS..........................................................................................................................................20 show route..................................................................................................................................20 2

show route protocol local...........................................................................................................21 show route protocol direct.........................................................................................................21 show route protocol isis.............................................................................................................22 show route protocol isis extensive.............................................................................................22 show route protocol bgp.............................................................................................................23 show route protocol bgp damping suppressed...........................................................................24 show route protocol bgp aspath-regex ".* 12715"....................................................................24 show route protocol bgp source-gateway 213.140.32.1............................................................25 show route protocol bgp receive-protocol bgp 213.140.32.1....................................................25 show route protocol bgp advertising-protocol bgp 213.140.32.1..............................................26 show route receive-protocol bgp 213.140.39.13 ......................................................................27 show route protocol bgp inactive...............................................................................................27 MPLS.............................................................................................................................................28 show mpls interface ...............................................................................................................28 show mpls lsp .........................................................................................................................28 show mpls path ..........................................................................................................28 show ldp interface .....................................................................................................................29 show ldp session .......................................................................................................................29 PING Y TRACEROUTE...............................................................................................................30 ping rapid 213.140.32.1 count 1000..........................................................................................30 traceroute source 213.140.32.19 62.81.248.1............................................................................30 SHELL / MONITOR.....................................................................................................................31 start shell....................................................................................................................................31 monitor stop...............................................................................................................................32 request system software add/var/home/javier/jbundle-4.4R1.5-export.tgz...............................32 configure....................................................................................................................................32 PARADA / RELOAD DEL EQUIPO...........................................................................................33 request system reboot.................................................................................................................33 request system halt.....................................................................................................................33 USUARIOS...................................................................................................................................33 show system users......................................................................................................................33 request system logout.................................................................................................................33 ACTUALIZACIÓN DE JUNOS...................................................................................................34 1. Copiamos la JUNOS a la RE de backup................................................................................35 file copy jbundle-4.3R2-export.tgz re1:/var/home/test ........................................................35 2. Copiamos la configuración actual a la RE de backup............................................................35 file copy /config/juniper.conf re1:/var/tmp/copied-juniper.conf .........................................35 3. Accedemos a la RE de backup...............................................................................................35 request routing-engine login re1...........................................................................................35 4. Activamos la configuración actual en la RE de backup........................................................36 load replace /var/tmp/copied-juniper.conf............................................................................36 commit and quit...................................................................................................................36 5. Hacemos un backup del sistema de archivos actual..............................................................36 request system snapshot .......................................................................................................36 6. Activamos la JUNOS en la RE de backup.............................................................................36

3

request system software add /var/home/test/jbundle-4.3R2-export.tgz delay-restart reboot ................................................................................................................................................36 7. Hacemos un backup del sistema de archivos actual..............................................................36 request system snapshot .......................................................................................................36 8. Conmutamos de RE para que la de backup pase a ser la master y viceversa........................36 request chassis routing-engine master switch.......................................................................36

4

HARDWARE * Tiempo con el equipo "levantado"

show system uptime Current time: 2001-05-28 14:24:59 UTC System booted: 2001-05-22 21:37:43 UTC (5d 16:47 ago) Protocols started: 2001-05-22 21:38:02 UTC (5d 16:46 ago) Last configured: 2001-05-24 08:33:30 UTC (4d 05:51 ago) 2:24PM up 5 days, 16:47, 1 user, load averages: 0.08, 0.07, 0.06

============================================ * Alarmas hardware

show chassis alarms No alarms are currently active

============================================ * Vista de la craft-interface

show chassis craft-interface FPM Display contents: +--------------------+ |GRTMADPE2 | |Up: 5+16:49 | | | |Fans OK | +--------------------+ 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..

show chassis environment Class Item Power PEM 0 PEM 1 Temp PCG 0 PCG 1 Host 0 Host 1 MCS 0 MCS 1 SPP 0 SPR 0 SPP 1 SPR 1 SPP 2 SPR 2 SPP 3 SPR 3 FPC 1 FPC 2 FPC 6 FPM CMB FPM Display Fans Rear Bottom Blower Rear Top Blower Front Top Blower Fan Tray Rear Left Fan Tray Rear Right Fan Tray Front Left Fan Tray Front Right Misc CIP

Status OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK

Measurement

41 degrees C / 105 degrees F 48 degrees C / 118 degrees F 24 degrees C / 75 degrees F 23 degrees C / 73 degrees F 44 degrees C / 111 degrees F 48 degrees C / 118 degrees F 40 degrees C / 104 degrees F 42 degrees C / 107 degrees F 42 degrees C / 107 degrees F 44 degrees C / 111 degrees F 42 degrees C / 107 degrees F 41 degrees C / 105 degrees F 41 degrees C / 105 degrees F 38 degrees C / 100 degrees F 39 degrees C / 102 degrees F 34 degrees C / 93 degrees F 33 degrees C / 91 degrees F 24 degrees C / 75 degrees F 26 degrees C / 78 degrees F Spinning at normal speed Spinning at normal speed Spinning at normal speed Spinning at normal speed Spinning at normal speed Spinning at normal speed Spinning at normal speed

6

============================================ * Visión general de las tarjetas y hardware del equipo

show chassis hardware Hardware inventory: Item Version Chassis Midplane REV 05 FPM CMB REV 03 FPM Display REV 02 CIP REV 04 PEM 0 Rev 04 PEM 1 Rev 04 PCG 0 REV 07 PCG 1 REV 07 Host 0 Host 1 MCS 0 REV 11 MCS 1 REV 11 SFM 0 SPP REV 07 SFM 0 SPR REV 05 SFM 1 SPP REV 07 SFM 1 SPR REV 05 SFM 2 SPP REV 07 SFM 2 SPR REV 05 SFM 3 SPP REV 07 SFM 3 SPR REV 04 FPC 1 REV 10 CPU REV 05 PIC 0 REV 02 PIC 1 REV 05 PIC 2 REV 05 PIC 3 REV 04 FPC 2 REV 10 CPU REV 05 PIC 0 REV 04 PIC 1 REV 02 FPC 6 REV 09 CPU REV 05 PIC 0 REV 11 PIC 1 REV 01

Part number 710-001245 710-001642 710-001647 710-002649 740-001243 740-001243 710-001568 710-001568

710-001226 710-001226 710-001228 710-002189 710-001228 710-002189 710-001228 710-002189 710-001228 710-002189 710-001255 710-001217 750-002911 750-001898 750-001898 750-003034 710-001255 710-001217 750-003034 750-003032 710-001611 710-001217 750-001901 750-002510

Serial number 51274 AX3117 AS9508 HD1620 HE0476 MB23580 MB23554 HA1131 HB3188 6c0000074a159a01 70000007c8722d01 HA5237 HA5445 HC9077 HB4711 HB6229 HD0940 HC9859 HE2283 HC9088 AV8561 HA3677 HA3911 HD0274 HB6980 HC4889 HC1864 HA3879 HA3740 HC9638 HA0336 HA3647 HE4268 HA5160 HA2910

Description M160

Power Entry Module Power Entry Module

Present Present

Internet Processor II Internet Processor II Internet Processor II Internet Processor II FPC Type 1 4x F/E, 100 BASE-TX 1x OC-12 ATM, SMIR 1x OC-12 ATM, SMIR 4x STM-1 SDH, SMIR FPC Type 1 4x OC-3 SONET, SMIR 2x OC-3 ATM, SMIR FPC Type 2 4x OC-12 SONET, SMIR 2x G/E, 1000 BASE-SX

============================================ * Visiòn detallada del hardware del equipo( numero de serie,..)

show chassis hardware extensive

7

============================================

* Estado de la CPU de las REs

show chassis routing-engine Routing Engine status: Slot 0: Current state Election priority Temperature DRAM CPU utilization: User Background Kernel Interrupt Idle Serial ID Start time Uptime Load averages: Routing Engine status: Slot 1: Current state Election priority Temperature DRAM CPU utilization: User Background Kernel Interrupt Idle Serial ID Start time Uptime

Master Master 24 degrees C / 75 degrees F 768 Mbytes 0 0 3 0 97

percent percent percent percent percent 6c0000074a159a01 2001-05-22 21:37:43 UTC 5 days, 16 hours, 52 minutes, 37 seconds 1 minute 5 minute 15 minute 0.06 0.07 0.06

Backup Backup 23 degrees C / 73 degrees F 768 Mbytes 0 0 1 0 99

percent percent percent percent percent 70000007c8722d01 2001-05-22 21:31:25 UTC 5 days, 16 hours, 57 minutes, 41 seconds

8

============================================ * Acceder por login la otra routing engine

request routing-engine login re1

============================================ * Forzar el cambio de routing engine master de una a otra

request chassis routing-engine master switch ============================================

* Deshabilitar una FPC

request chassis fpc slot # offline ============================================ * habilitar una FPC

request chassis fpc slot # online

============================================ * Resetear una FPC

request chassis fpc slot # restart

============================================ * "show tech" de Juniper

request support information Hostname: GRTMADPE2 Model: m160 JUNOS base [4.4R1.5] JUNOS Kernel Software Suite [4.4R1.5] JUNOS Routing Software Suite [4.4R1.5]

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 2001-04-20 04:48:50 UTC MGD release 4.4R1.5 built by builder on 2001-04-20 05:17:18 UTC CLI release 4.4R1.5 built by builder on 2001-04-20 05:17:21 UTC CHASSISD release 4.4R1.5 built by builder on 2001-04-20 04:51:28 UTC DCD release 4.4R1.5 built by builder on 2001-04-20 04:48:59 UTC RPD release 4.4R1.5 built by builder on 2001-04-20 05:13:20 UTC SNMPD release 4.4R1.5 built by builder on 2001-04-20 04:49:52 UTC MIB2D release 4.4R1.5 built by builder on 2001-04-20 04:49:58 UTC APSD release 4.4R1.5 built by builder on 2001-04-20 04:51:08 UTC VRRPD release 4.4R1.5 built by builder on 2001-04-20 04:51:11 UTC ALARMD release 4.4R1.5 built by builder on 2001-04-20 04:51:22 UTC PFED release 4.4R1.5 built by builder on 2001-04-20 04:52:07 UTC CRAFTD release 4.4R1.5 built by builder on 2001-04-20 04:52:03 UTC SAMPLED release 4.4R1.5 built by builder on 2001-04-20 04:52:12 UTC ILMID release 4.4R1.5 built by builder on 2001-04-20 04:52:20 UTC jkernel-dd release 4.4R1.5 built by builder on 2001-04-20 04:44:53 UTC jroute-dd release 4.4R1.5 built by builder on 2001-04-20 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 2001-04-20 04:48:50 UTC MGD release 4.4R1.5 built by builder on 2001-04-20 05:17:18 UTC CLI release 4.4R1.5 built by builder on 2001-04-20 05:17:21 UTC CHASSISD release 4.4R1.5 built by builder on 2001-04-20 04:51:28 UTC DCD release 4.4R1.5 built by builder on 2001-04-20 04:48:59 UTC RPD release 4.4R1.5 built by builder on 2001-04-20 05:13:20 UTC SNMPD release 4.4R1.5 built by builder on 2001-04-20 04:49:52 UTC MIB2D release 4.4R1.5 built by builder on 2001-04-20 04:49:58 UTC APSD release 4.4R1.5 built by builder on 2001-04-20 04:51:08 UTC VRRPD release 4.4R1.5 built by builder on 2001-04-20 04:51:11 UTC ALARMD release 4.4R1.5 built by builder on 2001-04-20 04:51:22 UTC PFED release 4.4R1.5 built by builder on 2001-04-20 04:52:07 UTC CRAFTD release 4.4R1.5 built by builder on 2001-04-20 04:52:03 UTC SAMPLED release 4.4R1.5 built by builder on 2001-04-20 04:52:12 UTC ILMID release 4.4R1.5 built by builder on 2001-04-20 04:52:20 UTC

10

jkernel-dd release 4.4R1.5 built by builder on 2001-04-20 04:44:53 UTC jroute-dd release 4.4R1.5 built by builder on 2001-04-20 05:12:45 UTC jdocs-dd release 4.4R1.5 built by builder on 2001-04-20 05:20:31 UTC

============================================ * Ver la configuracion actual

show configuration

INTERFACES * Ver el estado de las interfaces

show interfaces Physical interface: fe-1/0/0, Enabled, Physical link is Down Interface index: 18, SNMP ifIndex: 13 Description: CONEXION directa para SLAs entre GRTMADPE2 y GRRMADPE1 Link-level type: Ethernet, MTU: 1514, Speed: 100mbps, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled Device flags : Present Running Down Interface flags: Hardware-Down SNMP-Traps 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

show interfaces terse Interface fe-1/0/0 fe-1/0/1 fe-1/0/1.0

Admin up up up

fe-1/0/2 fe-1/0/3 at-1/1/0 at-1/2/0

up up up up

Link Proto Local down up up inet 213.140.40.130/28 iso down down down down

Remote

11

so-1/3/0 so-1/3/0.0

up up

up up

so-1/3/1 so-1/3/1.0

up up

up up

so-1/3/2 so-1/3/3 so-2/0/0 so-2/0/1 so-2/0/2 so-2/0/3 at-2/1/0 at-2/1/1 so-6/0/0 so-6/0/1 so-6/0/2 so-6/0/3 ge-6/1/0 ge-6/1/0.0

up up up up up up up up up up up up up up

ge-6/1/1 fxp0 fxp0.0 fxp1 fxp1.0 fxp2 fxp2.0 gre ipip lo0 lo0.0

up up up up up up up up up up up

pimd pime tap

up up up

down down down down down down up down down down down down up up inet iso down down down inet up up tnp up up tnp up up up up inet iso up up up

inet iso

213.140.36.65/30

inet iso

213.140.36.73/30

213.140.36.130/30

4 4

213.140.32.19 --> 0/0 49.0000.0000.329c.0001.d58c.2013.0000.00

============================================ * Trafico de los interfaces en tiempo real

monitor interface traffic clear interfaces stastitics * Con el commando “clear interfaces statitics “podemos limpiar las estadísticas del Interface.

12

FIREWALL * Filtros existentes

show firewall Filter/Counter in-ext-s-so-1/3/0 in-ext-s-so-1/3/1 out-ext-s-so-1/3/0 out-ext-s-so-1/3/1 loopback

Packet count

Byte count

13

LOGS * Log de paquetes filtrados

show firewall log ============================================ * Log de usuarios

show log user ============================================ * Ver cualquier tipo de log..

show log ? Possible completions: access.aprobed access.dcd access.sampled aprobed apsd chassisd dcd ilmid install interface.log lastlog lpd-errs maillog mastership messages messages.0.gz messages.1.gz messages.10.gz messages.2.gz messages.3.gz messages.4.gz messages.5.gz messages.6.gz messages.7.gz messages.8.gz messages.9.gz mib2d

Execute this command Log file to display Size: 107830, Last changed: May 24 08:33:37 Size: 374351, Last changed: May 24 08:33:41 Size: 478127, Last changed: May 24 08:33:48 Size: 0, Last changed: Mar 31 00:44:54 Size: 24424, Last changed: May 24 08:33:42 Size: 470341, Last changed: May 28 14:30:01 Size: 23675, Last changed: May 24 08:33:42 Size: 1145, Last changed: May 22 21:38:52 Size: 742, Last changed: May 18 15:30:01 Size: 5066, Last changed: May 22 19:12:35 Size: 84028, Last changed: May 28 14:20:47 Size: 0, Last changed: Feb 22 05:59:12 Size: 0, Last changed: Feb 22 05:59:12 Size: 6939, Last changed: May 22 21:38:53 Size: 110563, Last changed: May 28 14:50:58 Size: 6940, Last changed: May 28 10:00:00 Size: 5725, Last changed: May 28 04:00:00 Size: 6542, Last changed: May 25 22:00:00 Size: 5825, Last changed: May 27 22:00:00 Size: 5626, Last changed: May 27 16:00:00 Size: 5781, Last changed: May 27 10:00:00 Size: 5828, Last changed: May 27 04:00:00 Size: 5688, Last changed: May 26 22:00:00 Size: 5629, Last changed: May 26 16:00:00 Size: 5829, Last changed: May 26 10:00:00 Size: 6378, Last changed: May 26 04:00:00 Size: 9705, Last changed: May 24 08:33:42

14

ppp.log sampled sendmail.st slip.log snapshot snmpd user vrrpd ... ... ...

Size: 0, Last changed: Feb 22 05:59:12 Size: 54550, Last changed: May 24 08:34:18 Size: 0, Last changed: Feb 22 05:58:40 Size: 0, Last changed: Feb 22 05:59:12 Size: 1475, Last changed: Mar 31 00:44:35 Size: 9200, Last changed: May 24 08:33:42 Show recent user logins Size: 934, Last changed: May 22

DNS Y NTP * "Resolvedor" de nombres:

show host www.cisco.com www.cisco.com has address 198.133.219.25

============================================ * NTP

show ntp associations ***Can't find host localhost remote refid st t when poll reach delay offset disp ============================================================================== *gsimadcic8.ri.t .GPS. 1 u 102 256 377 5.07 -0.761 0.63 213.140.34.136 0.0.0.0 16 u - 1024 0 0.00 0.000 16000.0

============================================

show ntp status status=06f4 leap_none, sync_ntp, 15 events, event_peer/strat_chg system="JUNOS", leap=00, stratum=2, rootdelay=5.07, rootdispersion=6.97, peer=47468, refid=gsimadcic8.ri.telefonica-data.net, reftime=bebce4b3.cf3ec000 Mon, May 28 2001 14:52:35.809, poll=8, clock=bebce52e.392a8000 Mon, May 28 2001 14:54:38.223, phase=-0.761, freq=67856.05, error=0.63

15

IS-IS * Vecinos de ISIS

show isis adjacency IS-IS adjacency database: Interface System fe-1/0/1.0 GRTMADPE1 fe-1/0/1.0 GRRMADPE1 ge-6/1/0.0 GRTMADPE1

L 2 2 2

State Up Up Up

Hold (secs) 25 25 29

SNPA 0:2:4a:98:ba:a9 0:3:e3:5e:f3:1 0:2:4a:98:bb:52

============================================ * Tabla de LSPs de ISIS

show isis database IS-IS level 1 link-state database: 0 LSPs IS-IS level 2 link-state database: LSP ID Sequence Checksum Lifetime Attributes GRTHOUGC1.00-00 0x1ad1 0xdfd3 50207 L1 L2 GRTMADRR1.00-00 0x883 0x5aac 61120 L1 L2 GRTMADRR1.01-00 0x45 0x7589 34029 L1 L2 GRTMADRR1.02-00 0x49 0x6693 32424 L1 L2 GRTMADDE1.00-00 0x64c 0xd5ea 23408 L1 L2 GRTMADDE1.01-00 0x48 0x7b6e 38300 L1 L2 GRTMADDE1.02-00 0x4c 0x6c78 45471 L1 L2 GRTMADPE1.00-00 0x586 0xc547 65405 L1 L2 GRTMADPE2.00-00 0x93 0xec53 65415 L1 L2 GRTMADPE2.02-00 0x84 0xc9c1 65415 L1 L2 GRTMADPE2.03-00 0x69 0xd53c 65415 L1 L2 GRTLONTL1.00-00 0x3d5 0xfba5 61116 L1 L2 GRTLONTL1.02-00 0x107 0xd0b9 11037 L1 L2 GRTLONTL2.00-00 0x209e 0x5d24 48788 L1 L2 GRTLONTL2.01-00 0x46 0x9716 4017 L1 L2 GRTLONTL2.02-00 0xadb 0x47c5 23182 L1 L2 GRTROMAC1.00-00 0x164 0x9f84 41949 L1 L2 GRTROMAC1.01-00 0x43 0x164e 15549 L1 L2 GRTROMAC1.02-00 0x48 0x559 31996 L1 L2 GRGMADCIC1.00-00 0xfd 0x604b 52048 L1 L2 GRGMADCIC1.01-00 0xa3 0xef11 4693 L1 L2 GRGMADCIC2.00-00 0x1ae 0xd3a7 38282 L1 L2 GRGMADCIC2.01-00 0x74 0x42e5 4610 L1 L2 GRTNYCCC1.00-00 0x322c 0x5935 37080 L1 L2 GRTNYCCC1.01-00 0x46 0xa94b 44207 L1 L2 GRTNYCCC1.02-00 0x4a 0x9a55 46888 L1 L2

16

GRTNYCNS1.00-00 GRTNYCNS1.03-00 GRTNYCNS2.00-00 GRTNYCNS2.01-00 GRTMTYTE1.00-00 GRTMTYTE1.01-00 GRTBUECI1.00-00 GRTSAOLS2.00-00 GRTSAOLS2.02-00 GRTMIASD1.00-00 GRTMIASD1.01-00 GRTMIASD1.02-00 GRTMIATIC1.00-00 GRRMADRR1.00-00 GRRMADDE1.00-00 GRRMADPE1.00-00 GRRMADPE1.01-00 GRRMADPE1.02-00 GRRLONTL1.00-00 GRRNYCCC1.00-00 GRRNYCNS1.00-00 GRRNYCNS1.01-00 GRRMIASD1.00-00 GRRROMAC1.00-00 GRRMTYTE1.00-00 GRRMTYTE1.01-00 GRRMTYTE1.02-00 53 LSPs

0xcf 0x78 0x100 0x52 0x14ad 0x9 0x82 0x86 0x9 0x1462 0x47 0x45 0x13a 0x58 0x6e 0x58 0x1 0x4b 0x38f 0x58 0x47 0x4d 0x5b 0x56 0xa 0x7 0x9

0xdab7 0x222 0x6cb4 0xdd74 0x3ca4 0x2843 0x1ff1 0xb909 0x847d 0x2fd 0x9274 0x8f78 0xfe5 0x125f 0xdd3c 0x517d 0 0x617d 0xcbee 0x6fcc 0x7c0c 0x2b05 0x4441 0xad8e 0x9bd2 0xd576 0xcabc

18445 41132 4629 62746 40311 63169 39703 6335 58018 23406 8645 14446 39600 26368 49534 65404 0 58514 18035 63292 17192 37186 14164 33506 17449 10168 10062

L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1 L1

L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2 L2

============================================ * Metrica y estado de los interfaces respecto a ISIS

show isis interface IS-IS interface database: Interface L CirID Level 1 DR fe-1/0/1.0 2 0x3 Disabled ge-6/1/0.0 2 0x2 Disabled lo0.0 0 0x1 Disabled so-1/3/0.0 0 0x1 Disabled so-1/3/1.0 0 0x1 Disabled

Level 2 DR GRTMADPE2.03 GRTMADPE2.02 Passive Passive Passive

L1/L2 Metric 10/4000 10/400 0/0 10/10 10/10

============================================

17

* Tabla de rutas de ISIS

show isis route IS-IS routing table Current version: Prefix L Version Metric Type Interface 10.10.10.0/30 2 4201 7100 int ge-6/1/0.0 63.144.131.64/30 2 4201 2900 int ge-6/1/0.0 ... ... ... ...

L1: 658 L2: 4201 Via GRTMADPE1 GRTMA

BGP4 *Sesiones BGP divididas por los grupos

show bgp group Group Type: Internal AS: 12956 Local AS: 12956 Export: [ next-hop-self ] Total peers: 8 Established: 8 213.140.32.1+19589 213.140.32.9+179 213.140.32.17+58368 213.140.32.33+52828 213.140.32.37+45661 213.140.32.69+16080 213.140.32.73+179 213.140.32.77+25854 Route Queue Timer: unset Route Queue: empty Group Type: External Local AS: 12956 Export: [ TDE24 filter-list-1 ] Options: Total peers: 1 Established: 1 213.140.36.74+179 Route Queue Timer: unset Route Queue: empty

============================================

18

* Resumen de sesiones BGP

show bgp summary Groups: 2 Peers: 9 Down peers: 0 Table Tot Paths Act Paths Suppressed History Damp State inet.0 517064 111054 0 0 0 inet.2 0 0 0 0 0 Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn #Active/Received/Dampe d... 213.140.32.1 12956 596106 181605 0 2 4d 12:14:03 0/0/0 213.140.32.9 12956 679741 199554 0 2 4d 12:13:14 0/0/0 213.140.32.17 12956 724491 181920 0 2 4d 12:13:29 0/0/0 213.140.32.33 12956 559039 179914 0 2 4d 12:11:44 0/0/0 213.140.32.37 12956 190835 179543 0 1 4d 12:18:51 0/0/0 213.140.32.69 12956 6522 184716 0 1 4d 12:19:35 0/0/0 213.140.32.73 12956 6527 217522 0 1 4d 12:19:32 0/0/0 213.140.32.77 12956 6498 180928 0 2 4d 12:15:38 0/0/0 213.140.36.74 6813 350921 8680 0 1 4d 12:19:23 0/0/0

Pending 0 0 State|

13379/92076/0 21335/101660/0 5834/99487/0 24504/79253/0 33879/42937/0 2/13/0 1/1/0 0/1/0 12120/101636/0

============================================ * Detalle de la sesion BGP con un vecino

show bgp neighbor Peer: 213.140.32.1+19589 AS 12956 Local: 213.140.32.19+179 AS 12956 Type: Internal State: Established Flags: Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: None Export: [ next-hop-self ] Options: Local Address: 213.140.32.19 Holdtime: 180 Preference: 170 Number of flaps: 2 Peer ID: 213.140.32.1 Local ID: 213.140.32.19 Active Holdtime: 180 Keepalive Interval: 60 NLRI advertised by peer: inet-unicast NLRI for this session: inet-unicast Peer supports Refresh capability (2) Table inet.0 Bit: 10000

19

Send state: not in sync Active prefixes: 13384 Received prefixes: 92079 Suppressed due to damping: 0 Last traffic (seconds): Received 2 Sent 1 Input messages: Total 596280 Updates 596278 Output messages: Total 181651 Updates 181647 Output Queue[0]: 0 ... ...

Checked 18 Refreshes 0 Refreshes 0

Octets 49701870 Octets 11925608

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 AS path: 6453 701 80 I > to 213.140.36.129 via ge-6/1/0.0 [BGP/170] 4d 12:25:34, localpref 80 AS path: 6813 701 701 80 I > to 213.140.36.74 via so-1/3/1.0 [BGP/170] 20:41:41, localpref 80, from AS path: 6813 701 701 80 I > to 213.140.36.129 via ge-6/1/0.0 [BGP/170] 20:41:40, localpref 80, from AS path: 6813 701 701 80 I > to 213.140.36.129 via ge-6/1/0.0 [BGP/170] 20:41:40, localpref 80, from AS path: 6813 701 701 80 I > to 213.140.36.129 via ge-6/1/0.0 4.0.0.0/8 *[BGP/170] 20:41:43, localpref 80, from AS path: 3549 1 I > to 213.140.36.129 via ge-6/1/0.0 [BGP/170] 20:41:43, localpref 80, from AS path: 3549 1 I > to 213.140.36.129 via ge-6/1/0.0 [BGP/170] 4d 10:56:48, localpref 80 AS path: 6813 6453 1 I > to 213.140.36.74 via so-1/3/1.0 [BGP/170] 20:41:41, localpref 80, from AS path: 6813 6453 1 I > to 213.140.36.129 via ge-6/1/0.0 [BGP/170] 20:41:40, local ... ============================================

213.140.32.33

213.140.32.17

213.140.32.1

213.140.32.9

213.140.32.9

213.140.32.33

213.140.32.17

20

* Direcciones locales

show route protocol local inet.0: 111273 destinations, 111273 routes (111245 active, 0 holddown, 28 hidden) + = Active Route, - = Last Active, * = Both 213.140.36.65/32 213.140.36.73/32 213.140.36.130/32 213.140.40.130/32

*[Local/0] Local *[Local/0] Local *[Local/0] Local *[Local/0] Local

5d 17:33:05 5d 17:33:05 5d 17:33:14 5d 03:23:14

iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both

============================================ * Redes directamente conectadas

show route protocol direct inet.0: 111278 destinations, 111278 routes (111250 active, 0 holddown, 28 hidden) + = Active Route, - = Last Active, * = Both 213.140.32.19/32 213.140.36.64/30 213.140.36.72/30 213.140.36.128/30 213.140.40.128/28

*[Direct/0] 5d 17:34:31 > via lo0.0 *[Direct/0] 5d 17:33:36 > via so-1/3/0.0 *[Direct/0] 4d 12:47:53 > via so-1/3/1.0 *[Direct/0] 5d 17:33:44 > via ge-6/1/0.0 *[Direct/0] 5d 03:23:46 > via fe-1/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

show route protocol isis inet.0: 111275 destinations, 111275 routes (111247 active, 0 holddown, 28 hidden) + = Active Route, - = Last Active, * = Both 10.10.10.0/30 63.144.131.64/30 63.209.147.240/30 63.209.150.120/30 63.212.176.228/30 194.69.226.44/30 194.69.226.72/30 194.69.232.1/32 194.69.232.3/32 194.69.232.5/32 194.69.232.64/30

*[IS-IS/18] 20:48:45, metric 7100, tag 2 > to 213.140.36.129 via ge-6/1/0.0 *[IS-IS/18] 20:48:45, metric 2900, tag 2 > to 213.140.36.129 via ge-6/1/0.0 *[IS-IS/18] 11:59:05, metric 6900, tag 2 > to 213.140.36.129 via ge-6/1/0.0 *[IS-IS/18] 11:59:05, metric 6900, tag 2 > to 213.140.36.129 via ge-6/1/0.0 *[IS-IS/18] 11:59:05, metric 6900, tag 2 > to 213.140.36.129 via ge-6/1/0.0 *[IS-IS/18] 20:48:45, metric 2750, tag 2 > to 213.140.36.129 via ge-6/1/0.0 *[IS-IS/18] 20:48:45, metric 400, tag 2 > to 213.140.36.129 via ge-6/1/0.0 *[IS-IS/18] 20:48:45, metric 2700, tag 2 > to 213.140.36.129 via ge-6/1/0.0 *[IS-IS/18] 20:48:45, metric 2750, tag 2 > to 213.140.36.129 via ge-6/1/0.0 *[IS-IS/18] 20:48:45, metric 400, tag 2 > to 213.140.36.129 via ge-6/1/0.0 *[IS-IS/18] 20:48:45, metric 2750, tag 2

... ... ... ============================================ * Redes de la tabla de rutas aprendidas por ISIS ( mas informacion)

show route protocol isis extensive 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 in-kernel 10.10.10.0/30 -> {213.140.36.129} BGP_Sync_Any dest 10.10.10.0/30 MED 7100

22

*IS-IS

Preference: 18 Nexthop: 213.140.36.129 via ge-6/1/0.0, selected State: Local AS: 12956 Age: 20:51:58 Metric: 7100 Tag: 2 Task: IS-IS Announcement bits (2): 0-KRT 4-BGP_Sync_Any AS path: I

63.144.131.64/30 (1 entry, 1 announced) TSI: KRT in-kernel 63.144.131.64/30 -> {213.140.36.129} BGP_Sync_Any dest 63.144.131.64/30 MED 2900 *IS-IS

Preference: 18 Nexthop: 213.140.36.129 via ge-6/1/0.0, selected State: Local AS: 12956 Age: 20:51:58 Metric: 2900 Tag: 2 Task: IS-IS Announcement bits (2): 0-KRT 4-BGP_Sync_Any AS path: I

... ... ... ============================================ * Redes de la tabla de rutas aprendidas por BGP

show route protocol 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 ge-6/1/0.0 [BGP/170] 4d 12:38:34, localpref 80 AS path: 6813 701 701 80 I > to 213.140.36.74 via so-1/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 ge-6/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 ge-6/1/0.0 [BGP/170] 20:54:4

... ============================================

23

* Redes suprimidas por damping

show route protocol bgp damping suppressed 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

show route protocol bgp aspath-regex ".* 12715" inet.0: 111277 destinations, 111277 routes (111249 active, 0 holddown, 28 hidden) + = Active Route, - = Last Active, * = Both 62.14.0.0/15

62.151.32.0/19

*[BGP/170] 00:21:23, localpref 85, from 213.140.32.37 AS path: 1755 702 12715 I > to 213.140.36.129 via ge-6/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 ge-6/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 so-1/3/1.0 *[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 ge-6/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 ge-6/1/0.0 [BGP/170] 12:17:25, localpref 80 AS path: 6813 3561 286 12424 12715 I > to 213.140.36.74 via so-1/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

show route protocol bgp source-gateway 213.140.32.1 inet.0: 111279 destinations, 111279 routes (111251 active, 0 holddown, 28 hidden) + = Active Route, - = Last Active, * = Both 3.0.0.0/8

4.0.0.0/8

6.1.0.0/16

6.2.0.0/22

6.3.0.0/18

6.4.0.0/16

[BGP/170] 21:07:26, localpref 80, from AS path: 6813 701 701 80 I > to 213.140.36.129 via ge-6/1/0.0 [BGP/170] 21:07:26, localpref 80, from AS path: 6813 6453 1 I > to 213.140.36.129 via ge-6/1/0.0 [BGP/170] 21:07:26, localpref 80, from AS path: 6813 6453 1239 7170 1455 I > to 213.140.36.129 via ge-6/1/0.0 [BGP/170] 21:07:26, localpref 80, from AS path: 6813 6453 1239 7170 1455 I > to 213.140.36.129 via ge-6/1/0.0 [BGP/170] 21:07:26, localpref 80, from AS path: 6813 6453 1239 7170 1455 I > to 213.140.36.129 via ge-6/1/0.0 [BGP/170] 21:07:26, localpref 80, from AS path: 6813 6453 1239 7170 1455 I

213.140.32.1

213.140.32.1

213.140.32.1

213.140.32.1

213.140.32.1

213.140.32.1

... ...

============================================ * Rutas aprendidas por BGP desde un vecino (Otra forma)

show route protocol bgp receive-protocol bgp 213.140.32.1 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 6.2.0.0/22 213.140.32.1 80 6813 6453 1239 7170 1455 6.3.0.0/18 213.140.32.1 80 6813 6453 1239 7170 1455 6.4.0.0/16 213.140.32.1 80 6813 6453 1239 7170 1455 6.5.0.0/19 213.140.32.1 80 6813 6453 1239 7170 1455 6.8.0.0/20 213.140.32.1 80 6813 6453 1239 7170 1455 6.9.0.0/20 213.140.32.1 80 6813 6453 1239 7170 1455 6.10.0.0/15 213.140.32.1 80 6813 6453 1239 7170 1455 6.14.0.0/15 213.140.32.1 80 6813 6453 1239 7170 1455 6.133.0.0/21 213.140.32.1 80 6813 6453 1239 7170 1455 6.151.0.0/16 213.140.32.1 80 6813 6453 1239 7170 1455 6.152.0.0/16 213.140.32.1 80 6813 6453 1239 7170 1455

I I I I I I I I I I I I

25

9.2.0.0/16 9.3.4.0/24 9.3.5.0/24 9.141.128.0/24 9.184.112.0/20 9.186.144.0/20 12.0.0.0/8 12.0.252.0/23

213.140.32.1 213.140.32.1 213.140.32.1 213.140.32.1 213.140.32.244 213.140.32.244 213.140.32.1 213.140.32.1

0 0

80 80 80 80 80 80 80 80

6813 6813 6813 6813 3356 3356 6813 6813

701 701 I 6453 1 16779 1221 ? 6453 1 16779 1221 ? 6453 7018 2686 ? 3786 I 3786 I 6453 7018 I 701

... ... ... ============================================

* Rutas propagadas de BGP a otro vecino

show route protocol bgp advertising-protocol bgp 213.140.32.1 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

show route receive-protocol bgp 213.140.39.13 inet.0: 128458 destinations, 128458 routes (127464 active, 0 holddown, 15442 Prefix Nexthop MED Lclpref AS path 3.0.0.0/8 213.140.39.13 12956 6453 701 80 I 3.18.135.0/24 213.140.39.13 12956 701 7018 ? 4.0.0.0/8 213.140.39.13 12956 6453 1 I 6.0.0.0/20 213.140.39.13 12956 701 3549 I 6.1.0.0/16 213.140.39.13 12956 209 7170 1455 6.2.0.0/22 213.140.39.13 12956 209 7170 1455 6.3.0.0/18 213.140.39.13 12956 209 7170 1455 6.4.0.0/16 213.140.39.13 12956 209 7170 1455

hidden)

I I I I

============================================ * Redes inactivas

show route protocol bgp inactive inet.0: 111274 destinations, 111274 routes (111246 active, 0 holddown, 28 hidden) + = Active Route, - = Last Active, * = Both 64.86.14.32/27

64.86.72.160/27

64.86.105.32/27

64.86.105.128/28

64.86.105.192/29

64.86.182.88/29

[BGP] 2d 12:16:30, localpref 100 AS path: 6813 6453 I > to 213.140.36.74 via so-1/3/1.0 [BGP] 2d 12:16:30, localpref 100 AS path: 6813 6453 I > to 213.140.36.74 via so-1/3/1.0 [BGP] 1d 14:02:01, localpref 100 AS path: 6813 6453 I > to 213.140.36.74 via so-1/3/1.0 [BGP] 2d 12:16:30, localpref 100 AS path: 6813 6453 I > to 213.140.36.74 via so-1/3/1.0 [BGP] 2d 12:16:30, localpref 100 AS path: 6813 6453 I > to 213.140.36.74 via so-1/3/1.0 [BGP] 2d 12:16:30, localpref 100 AS path: 6813 6453 I

...

27

MPLS * Para ver todos los interfaces que tienen configurado MPLS

show mpls interface Interface so-0/0/0.0 so-0/0/1.0 so-0/0/2.0 so-0/0/3.0 so-0/1/2.0 so-0/1/3.0 so-1/0/0.0 so-1/0/1.0

State Up Up Up Up Up Dn Up Up

Administrative groups

========================================== * Si queremos ver los túneles de Ingeniería de Tráfico en los que participa este router bien como Ingress, Egress o Transit

show mpls lsp Ingress LSP: 1 sessions To From State Rt ActivePath P 213.0.184.15 213.0.184.227 Up 463 NRAMRRO1-ESTRICTO * ESTRICTO Total 1 displayed, Up 1, Down 0 Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0 Transit LSP: 11 sessions To From State Rt Style Labelin Labelout 213.0.249.49 213.0.184.215 Up 0 1 FF 547051 60 ESTRICTO Total 1 displayed, Up 1, Down 0

LSPname NJTMPEN1-A-NRAMRRO1-

LSPname NJTMDEL1-A-NRAPGCS1-

==========================================

* 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

show mpls path Path name NRAMRRO1-ESTRICTO

Address strict/loose 213.0.251.130 strict 213.0.249.189 strict NRAPGCS1-ESTRICTO 213.0.251.126 strict 213.0.251.154 strict 213.0.249.53 strict 213.0.249.49 strict *NOTA : Para hacer un optimización del túnel lo haremos con “clear mpls lsp optimize name

28

========================================== * Para ver todos los interfaces que tienen configurado LDP

show ldp interface Interface lo0.0 so-0/0/0.0 so-0/0/2.0 so-0/0/3.0 so-0/1/2.0 so-0/1/3.0 so-1/0/0.0 so-1/0/1.0 so-1/0/2.0 so-2/3/0.0

Label space ID 213.0.184.227:0 213.0.184.227:0 213.0.184.227:0 213.0.184.227:0 213.0.184.227:0 213.0.184.227:0 213.0.184.227:0 213.0.184.227:0 213.0.184.227:0 213.0.184.227:0

Nbr count 0 1 1 0 1 0 1 1 1 1

Next hello 0 0 4 1 0 2 3 1 2 1

========================================== * Para ver el número de sesiones que tenemos establecidas y su estado

show ldp session Address 213.0.184.11 213.0.184.14 213.0.184.16 213.0.184.43 213.0.184.49 213.0.184.53 213.0.184.126

State Operational Operational Operational Operational Operational Operational Operational

Connection Open Open Open Open Open Open Open

Hold time 173 173 175 178 175 179 176

* NOTA : Para limpiar una sesión LDP lo haremos con “clear ldp neighbor ”.

29

PING Y TRACEROUTE * Ping "rapido" ( sin esperar el ack para mandar el siguiente) y de 1000 paquetes

ping rapid 213.140.32.1 count 1000 ============================================

* Traceroute desde la loopback

traceroute source 213.140.32.19 62.81.248.1 traceroute to 62.81.248.1 (62.81.248.1) from 213.140.32.19, 30 hops max, 40 byte packets 1 213.140.36.129 (213.140.36.129) 0.560 ms 0.406 ms 0.390 ms 2 A2-0-101.grtmadrr1.ri.telefonica-data.net (213.140.36.2) 0.884 ms 0.743 ms 0.714 ms 3 P1-1.grtlontl2.ri.te ... ...

30

SHELL / MONITOR * Ir a la Shell de linux

start shell % exit % exit

============================================ * "term monitor" o "tail" de un fichero. monitor start ? Possible completions: access.aprobed access.dcd access.sampled aprobed apsd chassisd dcd ilmid install interface.log lastlog lpd-errs maillog mastership messages messages.0.gz messages.1.gz messages.10.gz messages.2.gz messages.3.gz messages.4.gz messages.5.gz messages.6.gz messages.7.gz messages.8.gz messages.9.gz mib2d ppp.log sampled sendmail.st slip.log

Log file to start monitoring Size: 107830, Last changed: May 24 08:33:37 Size: 374351, Last changed: May 24 08:33:41 Size: 478127, Last changed: May 24 08:33:48 Size: 0, Last changed: Mar 31 00:44:54 Size: 24424, Last changed: May 24 08:33:42 Size: 470341, Last changed: May 28 14:30:01 Size: 23675, Last changed: May 24 08:33:42 Size: 1145, Last changed: May 22 21:38:52 Size: 742, Last changed: May 18 15:30:01 Size: 5066, Last changed: May 22 19:12:35 Size: 84028, Last changed: May 28 15:34:11 Size: 0, Last changed: Feb 22 05:59:12 Size: 0, Last changed: Feb 22 05:59:12 Size: 6939, Last changed: May 22 21:38:53 Size: 34591, Last changed: May 28 15:57:45 Size: 7160, Last changed: May 28 15:00:00 Size: 6940, Last changed: May 28 10:00:00 Size: 6378, Last changed: May 26 04:00:00 Size: 5725, Last changed: May 28 04:00:00 Size: 5825, Last changed: May 27 22:00:00 Size: 5626, Last changed: May 27 16:00:00 Size: 5781, Last changed: May 27 10:00:00 Size: 5828, Last changed: May 27 04:00:00 Size: 5688, Last changed: May 26 22:00:00 Size: 5629, Last changed: May 26 16:00:00 Size: 5829, Last changed: May 26 10:00:00 Size: 9705, Last changed: May 24 08:33:42 Size: 0, Last changed: Feb 22 05:59:12 Size: 54550, Last changed: May 24 08:34:18 Size: 0, Last changed: Feb 22 05:58:40 Size: 0, Last changed: Feb 22 05:59:12

31

snapshot snmpd vrrpd wtmp

Size: Size: Size: Size:

1475, Last changed: Mar 31 00:44:35 9200, Last changed: May 24 08:33:42 934, Last changed: May 22 21:38:53 13464, Last changed: May 28 15:35:45

============================================ * Para parar la salida por pantalla

monitor stop

============================================ * Upgrade de JUNOS

request system software add/var/home/javier/jbundle-4.4R1.5-export.tgz

============================================ * Modo configuracion

configure Entering configuration mode [edit] backup@GRTMADPE2#

32

PARADA / RELOAD DEL EQUIPO * "Rebote" del equipo

request system reboot

===========================================

* Parada del equipo

request system halt

USUARIOS * Usuarios conectados:

show system users 2:23PM USER backup

up 5 days, 16:46, 1 user, load averages: 0.03, 0.07, 0.06 TTY FROM LOGIN@ IDLE WHAT p0 gsimadcic1.ri.te 2:20PM - -cli (cli)

============================================ * Forzar un logout de un usuario

request system logout

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 routingengine login x” request routing-engine login ? Possible completions: other-routing-engine Login into the other RE re0 Login into RE0 re1 Login into RE1

- 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 1. Copiamos la JUNOS a la RE de backup.

file copy jbundle-4.3R2-export.tgz re1:/var/home/test

2. Copiamos la configuración actual a la RE de backup

file copy /config/juniper.conf re1:/var/tmp/copied-juniper.conf

3. Accedemos a la RE de backup

request routing-engine login re1

35

4. Activamos la configuración actual en la RE de backup

load replace /var/tmp/copied-juniper.conf

commit and quit

5. Hacemos un backup del sistema de archivos actual.

request system snapshot

6. Activamos la JUNOS en la RE de backup

request system software add /var/home/test/jbundle-4.3R2-export.tgz delay-restart reboot

7. Hacemos un backup del sistema de archivos actual.

request system snapshot

8. Conmutamos de RE para que la de backup pase a ser la master y viceversa.

request chassis routing-engine master switch

36

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF