Olá Pessoal,
Prosseguindo a série de Comandos Show, apresento-lhes para o protocolo IS-IS.
Este protocolo é bastante diferente da maioria, pois se baseia no endereçamento OSI. Numa primeira análise parece ser complicado, mas entendendo a teoria por trás do protocolo fica tudo descomplicado.
Segue abaixo.
| COMANDO | RELACIONADO A | RESULTADO |
| show clns | IS-IS – Geral | Apresenta resumo, contêm: número de interfaces que está rodando, NET address e timers. |
| show clns neighbors | IS-IS – Neighbors | Resumo dos vizinhos. Contêm: ID do router remoto, interface, SNPA (endereço da camada de enlace), estado, holdtime e tipo de adjacência (Level-1, Level-2). |
| show clns neighbors detail | IS-IS – Neighbors | Apresenta detalhes dos vizinhos. Além das informações anteriores apresenta ainda: IP address, uptime e área (extraído do NET). |
| show clns route | IS-IS – Routes | Apresenta todos os NSAP (Network Service Access Point) é possível rotear dados. |
| show isis topology [..] | IS-IS – Routes | Apresenta uma lista de caminhos para todos os routers dentro do domínio de roteamento. Pode-se passar parâmetros para filtrar (apenas Level-1, por exemplo.) |
| show isis database [..] | IS-IS – LSPs | Apresenta cada uma das LSPs na base de dados. Contêm informações como: router que gerou a LSP (LSPID), sequence numbers, checksum, holdtime e bits para controle. Pode-se passar parâmetros para filtrar (apenas Level-1, por exemplo.) |
| show isis spf-log | IS-IS – SPF | Apresenta informações pertinentes a execução do algoritmo SPF. Se houverem muitas execuções suspeite de problemas de configuração. |
OUTPUTS:
R4#show clns
Global CLNS Information:
3 Interfaces Enabled for CLNS
NET: 49.0020.0000.0000.000b.00
Configuration Timer: 60, Default Holding Timer: 300, Packet Lifetime 64
ERPDU's requested on locally generated packets
Running IS-IS in IP-only mode (CLNS forwarding not allowed)
R4#show clns neighbors
System Id Interface SNPA State Holdtime Type Protocol
R3 Se1/0 *HDLC* Up 28 L2 IS-IS
R5 Se1/1 *HDLC* Up 25 L2 IS-IS
R4#show clns neighbors detail
System Id Interface SNPA State Holdtime Type Protocol
R3 Se1/0 *HDLC* Up 25 L2 IS-IS
Area Address(es): 49.0020
IP Address(es): 10.100.0.1*
Uptime: 00:42:23
NSF capable
R5 Se1/1 *HDLC* Up 23 L2 IS-IS
Area Address(es): 49.0030
IP Address(es): 10.100.0.6*
Uptime: 00:42:23
NSF capable
R4#show clns route
Codes: C - connected, S - static, d - DecnetIV
I - ISO-IGRP, i - IS-IS, e - ES-IS
B - BGP, b - eBGP-neighbor
C 49.0020.0000.0000.000b.00 [1/0], Local IS-IS NET
C 49.0020 [2/0], Local IS-IS Area
R3#show isis topology ?
WORD Hostname or NSAP of a router
l1 Paths to all level-1 routers in the area
l2 Paths to all level-2 routers in the domain
level-1 Paths to all level-1 routers in the area
level-2 Paths to all level-2 routers in the domain
| Output modifiers
R3#show isis topology
IS-IS paths to level-1 routers
System Id Metric Next-Hop Interface SNPA
R3 --IS-IS paths to level-2 routers
System Id Metric Next-Hop Interface SNPA
R3 --
R4 5 R4 Se2/0 *HDLC*
R5 15 R4 Se2/0 *HDLC*
R3#show isis database ?
WORD LSPID in the form of xxxx.xxxx.xxxx.xx-xx or name.xx-xx
detail Detailed link state database information
l1 IS-IS Level-1 routing link state database
l2 IS-IS Level-2 routing link state database
level-1 IS-IS Level-1 routing link state database
level-2 IS-IS Level-2 routing link state database
verbose Verbose database information
| Output modifiers
R3#show isis database
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000005 0xB7E2 1057 1/0/0
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000006 0x4207 1005 0/0/0
R4.00-00 0x00000005 0x9CAF 942 0/0/0
R5.00-00 0x00000005 0x63ED 795 0/0/0
R3#show isis spf-log
level 1 SPF log
When Duration Nodes Count First trigger LSP Triggers
00:43:43 0 1 4 R3.00-00 PERIODIC RTCLEARED NEWMETRI
C NEWLSP
00:43:27 0 1 2 R3.00-00 ATTACHFLAG LSPHEADER
00:28:52 0 1 1 PERIODIC
00:13:52 0 1 1 PERIODIC
level 2 SPF log
When Duration Nodes Count First trigger LSP Triggers
00:43:44 0 1 4 R3.00-00 PERIODIC RTCLEARED NEWMETRI
C NEWLSP
00:43:34 8 3 4 R3.00-00 NEWADJ LSPHEADER TLVCONTENT
00:28:54 4 3 1 PERIODIC
00:13:53 4 3 1 PERIODIC
Um abração,
Maurício Bento Ghem.Hello Guys,
Continuing the series of commands Show, presenting them to the IS-IS protocol.
This protocol is quite different from most because it is based on the OSI address. At first sight appears to be complicated, but understanding the theory behind the protocol is all uncomplicated.
Below.
| COMMAND | A RELATED | RESULT |
| show clns | IS-IS – General | Displays summary, include: number of interfaces that are running, NET timers and address. |
| show clns neighbors | IS-IS – Neighbors | Overview of neighbors. Include: remote router ID, interface, SNPA (link-layer address), status, and type of adjacency holdtime (Level-1, Level-2). |
| show clns neighbors detail | IS-IS – Neighbors | Presents details of the neighbors. Besides the above information still shows: IP address, uptime and area (from the NET). |
| show clns route | IS-IS – Routes | Displays all NSAP (Network Service Access Point) you can route data. |
| show isis topology [..] | IS-IS – Routes | Displays a list of paths to all routers within the area of routing. You can pass parameters to filter (only Level-1, for example.) |
| show isis database [..] | IS-IS – LSPs | Displays each of the LSPs in the database. Contain information such as router that generated the LSP (LSPID), sequence numbers, checksum, holdtime and bits for control. You can pass parameters to filter (only Level-1, for example.) |
| show isis spf-log | IS-IS – SPF | Presents relevant information to the application of SPF algorithm. If there are many executions of suspected problems with configuration. |
OUTPUTS:
R4#show clns
Global CLNS Information:
3 Interfaces Enabled for CLNS
NET: 49.0020.0000.0000.000b.00
Configuration Timer: 60, Default Holding Timer: 300, Packet Lifetime 64
ERPDU's requested on locally generated packets
Running IS-IS in IP-only mode (CLNS forwarding not allowed)
R4#show clns neighbors
System Id Interface SNPA State Holdtime Type Protocol
R3 Se1/0 *HDLC* Up 28 L2 IS-IS
R5 Se1/1 *HDLC* Up 25 L2 IS-IS
R4#show clns neighbors detail
System Id Interface SNPA State Holdtime Type Protocol
R3 Se1/0 *HDLC* Up 25 L2 IS-IS
Area Address(es): 49.0020
IP Address(es): 10.100.0.1*
Uptime: 00:42:23
NSF capable
R5 Se1/1 *HDLC* Up 23 L2 IS-IS
Area Address(es): 49.0030
IP Address(es): 10.100.0.6*
Uptime: 00:42:23
NSF capable
R4#show clns route
Codes: C - connected, S - static, d - DecnetIV
I - ISO-IGRP, i - IS-IS, e - ES-IS
B - BGP, b - eBGP-neighbor
C 49.0020.0000.0000.000b.00 [1/0], Local IS-IS NET
C 49.0020 [2/0], Local IS-IS Area
R3#show isis topology ?
WORD Hostname or NSAP of a router
l1 Paths to all level-1 routers in the area
l2 Paths to all level-2 routers in the domain
level-1 Paths to all level-1 routers in the area
level-2 Paths to all level-2 routers in the domain
| Output modifiers
R3#show isis topology
IS-IS paths to level-1 routers
System Id Metric Next-Hop Interface SNPA
R3 --IS-IS paths to level-2 routers
System Id Metric Next-Hop Interface SNPA
R3 —
R4 5 R4 SE2 / 0 * HDLC *
R5 15 R4 SE2 / 0 * HDLC *
R3#show isis database ?
WORD LSPID in the form of xxxx.xxxx.xxxx.xx-xx or name.xx-xx
detail Detailed link state database information
l1 IS-IS Level-1 routing link state database
l2 IS-IS Level-2 routing link state database
level-1 IS-IS Level-1 routing link state database
level-2 IS-IS Level-2 routing link state database
verbose Verbose database information
| Output modifiers
R3#show isis database
IS-IS Level-1 Link State Database:1/0/0
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000005 0xB7E2 1057 1/0/0
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000006 0x4207 1005 0/0/0
R4.00-00 0x00000005 0x9CAF 942 0/0/0
R5.00-00 0x00000005 0x63ED 795 0/0/0IS-IS Level-1 Link State Database:0/0/0
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000005 0xB7E2 1057 1/0/0
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000006 0x4207 1005 0/0/0
R4.00-00 0x00000005 0x9CAF 942 0/0/0
R5.00-00 0x00000005 0x63ED 795 0/0/0IS-IS Level-1 Link State Database:0/0/0
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000005 0xB7E2 1057 1/0/0
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000006 0x4207 1005 0/0/0
R4.00-00 0x00000005 0x9CAF 942 0/0/0
R5.00-00 0x00000005 0x63ED 795 0/0/0IS-IS Level-1 Link State Database:0/0/0
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000005 0xB7E2 1057 1/0/0
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000006 0x4207 1005 0/0/0
R4.00-00 0x00000005 0x9CAF 942 0/0/0
R5.00-00 0x00000005 0x63ED 795 0/0/0IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000005 0xB7E2 1057 1/0/0
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R3.00-00 * 0x00000006 0x4207 1005 0/0/0
R4.00-00 0x00000005 0x9CAF 942 0/0/0
R5.00-00 0x00000005 0x63ED 795 0/0/0
R3#show isis spf-log
level 1 SPF log
When Duration Nodes Count First trigger LSP Triggers
00:43:43 0 1 4 R3.00-00 PERIODIC RTCLEARED NEWMETRI
C NEWLSP
00:43:27 0 1 2 R3.00-00 ATTACHFLAG LSPHEADER
00:28:52 0 1 1 PERIODIC
00:13:52 0 1 1 PERIODIC
level 2 SPF log
When Duration Nodes Count First trigger LSP Triggers
00:43:44 0 1 4 R3.00-00 PERIODIC RTCLEARED NEWMETRI
C NEWLSP
00:43:34 8 3 4 R3.00-00 NEWADJ LSPHEADER TLVCONTENT
00:28:54 4 3 1 PERIODIC
00:13:53 4 3 1 PERIODIC
A Abrasive,
Maurício Bento Ghem.
Gente estou estudando para o BSCI com material oficial fazendo labs no dynamips, e a pouco tempo baixei aqui no blog a colação p4s para praticar as provas
alguem pode me diser alguma esperiencia na prova com o uso dos p4s …
Olá Marcos,
Os P4s são uma ótima maneira para você ter um feedback do seu conhecimento e poder estudar mais o conteúdo que você percebeu não estar dominando por completo.
É fato que algumas questões são parecidas com as da prova, mas de qualquer maneira, não vai atrás do pessoal que diz para você focar a maior parte do teu estudo no P4S, porque você poderá se sentir frustrado, não vai adquirir o conhecimento necessário para o mercado e de certa maneira estará ‘colando’.
Um grande abraço,
Maurício.