Resumo de Comandos Show para OSPF – BSCISummary of Show Commands for OSPF – BSCI

Olá Pessoal,

Mais um resumo da série de comandos show, agora para o protocolo OSPF com foco na prova BSCI.

Este resumo foi feito baseado no lab publicado anteriormente: Laboratório OSPF e IS-IS com Redistribution bidirecional.

Segue abaixo um resumo de cada comando. Cada um deles possui um link para sua saída completa.

COMANDO RELACIONADO A RESULTADO
Show ip ospf [process-id] OSPF – Geral Apresenta detalhes de configuração OSPF. Apresenta informações como: Router ID, timers, última execução do algoritmo SPF e estatísticas.
show ip ospf database [..] OSPF – LSAs Apresenta informações de cada tipo de LSA. Passando o parâmetro do tipo são apresentadas mais informações detalhadas sobre cada uma.
show ip ospf border-routers OSPF – ABR/ASBR Apresenta os ABR e ASBR. Detalhes como: RouterID, interface conectada e área aparecem neste comando.
show ip ospf neighbor [detail] OSPF – Neighbors Apresenta um resumo e status da adjacência com os vizinhos. Este comando apresenta informações como: ID do router vizinho, estado (DR,BDR..), dead time (tempo até a rota se extinguir, ou receber um novo hello), endereço IP do vizinho e interface local do Router no qual se encontra este vizinho.
show ip ospf interface brief OSPF – Resumo Apresenta um resumo do OSPF em cada interface na qual está rodando. Mostra: interface, process ID, área, IP e máscara, custo, estado (DR/BDR…).
show ip ospf virtual-links OSPF – Virtual-Links Apresenta (quando aplicável) os virtual-links e suas estatísticas. Informações contidas: Timers, Router ID, transit Area, estado da adjacência.
show ip route OSPF – Routes Para ilustrar o roteador que está redistribuindo as rotas, é apresentado o comando show ip route que apresenta ambas rotas do protocolo OSPF e IS-IS (e a rota default aprendida pelo IS-IS).

Outputs

R3#show ip ospf ?
<1-65535> Process ID number
border-routers Border and Boundary Router Information
database Database summary
flood-list Link state flood list
interface Interface information
mpls MPLS related information
neighbor Neighbor list
request-list Link state request list
retransmission-list Link state retransmission list
sham-links Sham link information
summary-address Summary-address redistribution Information
virtual-links Virtual link information
| Output modifiers

R3#show ip ospf 1
Routing Process "ospf 1" with ID 10.100.0.1
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
It is an autonomous system boundary router
Redistributing External Routes from,
isis with metric mapped to 120, includes subnets in redistribution
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 0. Checksum Sum 0x000000
Number of opaque AS LSA 0. Checksum Sum 0x000000
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 1. 0 normal 0 stub 1 nssa
External flood list length 0
Area 3
Number of interfaces in this area is 1
It is a NSSA area
generates NSSA default route with cost 1
Area has no authentication
SPF algorithm last executed 00:36:04.468 ago
SPF algorithm executed 4 times
Area ranges are
10.3.0.0/16 Passive Advertise
Number of LSA 8. Checksum Sum 0x041817
Number of opaque link LSA 0. Checksum Sum 0x000000
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0

R3#show ip ospf database ?
adv-router Advertising Router link states
asbr-summary ASBR summary link states
database-summary Summary of database
external External link states
network Network link states
nssa-external NSSA External link states
opaque-area Opaque Area link states
opaque-as Opaque AS link states
opaque-link Opaque Link-Local link states
router Router link states
self-originate Self-originated link states
summary Network summary link states
| Output modifiers

R3#show ip ospf database

OSPF Router with ID (10.100.0.1) (Process ID 1)

Router Link States (Area 3)

Link ID ADV Router Age Seq# Checksum Link count
10.100.0.1 10.100.0.1 220 0x80000003 0x00E547 1
10.255.0.0 10.255.0.0 225 0x80000003 0x00C235 1

Net Link States (Area 3)

Link ID ADV Router Age Seq# Checksum
10.3.0.1 10.255.0.0 225 0x80000002 0x009D07

Summary Net Link States (Area 3)

Link ID ADV Router Age Seq# Checksum
10.0.0.0 10.255.0.0 225 0x80000002 0x005AC6
10.1.0.0 10.255.0.0 225 0x80000002 0x0058C6
10.2.0.0 10.255.0.0 225 0x80000002 0x0056C6

Type-7 AS External Link States (Area 3)

Link ID ADV Router Age Seq# Checksum Tag
0.0.0.0 10.100.0.1 220 0x80000002 0x001C2B 0
10.100.0.0 10.100.0.1 223 0x80000002 0x00AD17 0

R0#show ip ospf border-routers

OSPF Process 1 internal Routing Table

Codes: i - Intra-area route, I - Inter-area route

i 10.255.2.2 [2] via 10.0.0.2, FastEthernet0/0, ABR, Area 0, SPF 8
i 10.100.0.1 [1] via 10.3.0.2, FastEthernet1/0, ASBR, Area 3, SPF 6
i 10.255.1.1 [1] via 10.0.0.2, FastEthernet0/0, ABR, Area 0, SPF 8

R0#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
10.255.1.1 1 FULL/DR 00:00:37 10.0.0.2 FastEthernet0/0
10.100.0.1 1 FULL/BDR 00:00:39 10.3.0.2 FastEthernet1/0

R3#show ip ospf interface
FastEthernet1/0 is up, line protocol is up
Internet Address 10.3.0.2/30, Area 3
Process ID 1, Router ID 10.100.0.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 10.255.0.0, Interface address 10.3.0.1
Backup Designated router (ID) 10.100.0.1, Interface address 10.3.0.2
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:05
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 2, maximum is 2
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 10.255.0.0 (Designated Router)
Suppress hello for 0 neighbor(s)

R0#show ip ospf interface brief
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Fa0/0 1 0 10.0.0.1/30 1 BDR 1/1
Fa1/0 1 3 10.3.0.1/30 1 DR 1/1

R2#show ip ospf virtual-links
Virtual Link OSPF_VL0 to router 10.255.1.1 is up
Run as demand circuit
DoNotAge LSA allowed.
Transit area 1, via interface FastEthernet0/0, Cost of using 1
Transmit Delay is 1 sec, State POINT_TO_POINT,
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:09
Adjacency State FULL (Hello suppressed)
Index 1/2, retransmission queue length 0, number of retransmission 1
First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
Last retransmission scan length is 1, maximum is 1
Last retransmission scan time is 0 msec, maximum is 0 msec

R3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.100.0.2 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 9 subnets, 4 masks
O IA 10.2.0.0/16 [110/4] via 10.3.0.1, 00:43:28, FastEthernet1/0
C 10.3.0.0/30 is directly connected, FastEthernet1/0
O IA 10.0.0.0/16 [110/2] via 10.3.0.1, 00:43:48, FastEthernet1/0
i su 10.0.0.0/14 [115/84] via 0.0.0.0, Null0
O IA 10.1.0.0/16 [110/3] via 10.3.0.1, 00:43:48, FastEthernet1/0
i L2 10.100.8.0/21 [115/15] via 10.100.0.2, Serial2/0
i L2 10.100.0.4/30 [115/15] via 10.100.0.2, Serial2/0
C 10.100.0.0/30 is directly connected, Serial2/0
O 10.100.0.0/16 is a summary, 00:43:55, Null0
i*L2 0.0.0.0/0 [115/15] via 10.100.0.2, Serial2/0

Um abração pessoal e sucesso.

Maurício Bento Ghem.Hello Guys,

More a summary of the series of commands show, now for the OSPF protocol with focus on the proof BSCI.

This summary was based on previously published lab: Laboratory OSPF and IS-IS with bidirectional Redistribution.

Below is a summary of each command. Each contains a link to its full output.

COMMAND A RELATED RESULT
Show ip ospf [process-id] OSPF – General Displays details of configuring OSPF. Displays information such as: Router ID, timers, last performance of the SPF algorithm and statistics.
show ip ospf database [..] OSPF – LSAS Displays information of each type of LSA. Passing the parameter type is presented more detailed information on each.
show ip ospf border-routers OSPF – ABR / ASBR Shows the ABR and ASBR. Details as RouterID, interface connected and appear in this area command.
show ip ospf neighbor [detail] OSPF – Neighbors Presents a summary and status of the adjacency with its neighbors. This command displays information such as neighbor router ID, state (DR, BDR ..), dead time (time until the route goes out, or receives a new hello),IP address of the neighbor and the local router interface which is this neighbor.
show ip ospf interface brief OSPF – Summary Presents a summary of OSPF on each interface on which it is running.Shows: interface, process ID, area, and IP mask, cost, status (DR / BDR …).
show ip ospf virtual-links OSPF – Virtual-Links Displays (if applicable) the virtual-links and statistics. Information contained: Timers, Router ID, Area transit, state of the adjacency.
show ip route OSPF – Routes To illustrate that the router is redistributing the routes, is shown the command show ip route shows that both routes of Protocol OSPF and IS-IS (and the default route learned by the IS-IS).

Outputs

R3#show ip ospf ?
<1-65535> Process ID number
border-routers Border and Boundary Router Information
database Database summary
flood-list Link state flood list
interface Interface information
mpls MPLS related information
neighbor Neighbor list
request-list Link state request list
retransmission-list Link state retransmission list
sham-links Sham link information
summary-address Summary-address redistribution Information
virtual-links Virtual link information
| Output modifiers

R3#show ip ospf 1
Routing Process “ospf 1? with ID 10.100.0.1
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
It is an autonomous system boundary router
Redistributing External Routes from,
isis with metric mapped to 120, includes subnets in redistribution
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 0. Checksum Sum 0×000000
Number of opaque AS LSA 0. Checksum Sum 0×000000
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 1. 0 normal 0 stub 1 nssa
External flood list length 0
Area 3
Number of interfaces in this area is 1
It is a NSSA area
generates NSSA default route with cost 1
Area has no authentication
SPF algorithm last executed 00:36:04.468 ago
SPF algorithm executed 4 times
Area ranges are
10.3.0.0/16 Passive Advertise
Number of LSA 8. Checksum Sum 0×041817
Number of opaque link LSA 0. Checksum Sum 0×000000
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0

R3#show ip ospf database ?
adv-router Advertising Router link states
asbr-summary ASBR summary link states
database-summary Summary of database
external External link states
network Network link states
nssa-external NSSA External link states
opaque-area Opaque Area link states
opaque-as Opaque AS link states
opaque-link Opaque Link-Local link states
router Router link states
self-originate Self-originated link states
summary Network summary link states
| Output modifiers

R3#show ip ospf database

OSPF Router with ID (10.100.0.1) (Process ID 1)

Router Link States (Area 3)

Link ID ADV Router Age Seq# Checksum Link count
10.100.0.1 10.100.0.1 220 0x80000003 0x00E547 1
10.255.0.0 10.255.0.0 225 0x80000003 0x00C235 1

Net Link States (Area 3)

Link ID ADV Router Age Seq # Checksum
10.3.0.1 10.255.0.0 225 0x80000002 0x009D07

Summary Net Link States (Area 3)

Link ID ADV Router Age Seq # Checksum
10.0.0.0 10.255.0.0 225 0x80000002 0x005AC6
10.1.0.0 10.255.0.0 225 0x80000002 0x0058C6
10.2.0.0 10.255.0.0 225 0x80000002 0x0056C6

Type-7 AS External Link States (Area 3)

Link ID ADV Router Age Seq# Checksum Tag
0.0.0.0 10.100.0.1 220 0x80000002 0x001C2B 0
10.100.0.0 10.100.0.1 223 0x80000002 0x00AD17 0

R0#show ip ospf border-routers

OSPF Process 1 internal Routing Table

Codes: i - Intra-area route, I - Inter-area route

i 10.255.2.2 [2] via 10.0.0.2, FastEthernet0/0, ABR, Area 0, SPF 8
i 10.100.0.1 [1] via 10.3.0.2, FastEthernet1/0, ASBR, Area 3, SPF 6
i 10.255.1.1 [1] via 10.0.0.2, FastEthernet0/0, ABR, Area 0, SPF 8

R0#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
10.255.1.1 1 FULL/DR 00:00:37 10.0.0.2 FastEthernet0/0
10.100.0.1 1 FULL/BDR 00:00:39 10.3.0.2 FastEthernet1/0

R3#show ip ospf interface
FastEthernet1/0 is up, line protocol is up
Internet Address 10.3.0.2/30, Area 3
Process ID 1, Router ID 10.100.0.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 10.255.0.0, Interface address 10.3.0.1
Backup Designated router (ID) 10.100.0.1, Interface address 10.3.0.2
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:05
Index 1/1, flood queue length 0
Next 0×0(0)/0×0(0)
Last flood scan length is 2, maximum is 2
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 10.255.0.0 (Designated Router)
Suppress hello for 0 neighbor(s)

R0#show ip ospf interface brief
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Fa0/0 1 0 10.0.0.1/30 1 BDR 1/1
Fa1/0 1 3 10.3.0.1/30 1 DR 1/1
10.0.0.1/30 R0#show ip ospf interface brief
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Fa0/0 1 0 10.0.0.1/30 1 BDR 1/1
Fa1/0 1 3 10.3.0.1/30 1 DR 1/1
10.3.0.1/30 R0#show ip ospf interface brief
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Fa0/0 1 0 10.0.0.1/30 1 BDR 1/1
Fa1/0 1 3 10.3.0.1/30 1 DR 1/1

R2#show ip ospf virtual-links
Virtual Link OSPF_VL0 to router 10.255.1.1 is up
Run as demand circuit
DoNotAge LSA allowed.
Transit area 1, via interface FastEthernet0/0, Cost of using 1
Transmit Delay is 1 sec, State POINT_TO_POINT,
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:09
Adjacency State FULL (Hello suppressed)
Index 1/2, retransmission queue length 0, number of retransmission 1
First 0×0(0)/0×0(0) Next 0×0(0)/0×0(0)
Last retransmission scan length is 1, maximum is 1
Last retransmission scan time is 0 msec, maximum is 0 msec

R3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.100.0.2 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 9 subnets, 4 masks
O IA 10.2.0.0/16 [110/4] via 10.3.0.1, 00:43:28, FastEthernet1/0
C 10.3.0.0/30 is directly connected, FastEthernet1/0
O IA 10.0.0.0/16 [110/2] via 10.3.0.1, 00:43:48, FastEthernet1/0
i su 10.0.0.0/14 [115/84] via 0.0.0.0, Null0
O IA 10.1.0.0/16 [110/3] via 10.3.0.1, 00:43:48, FastEthernet1/0
i L2 10.100.8.0/21 [115/15] via 10.100.0.2, Serial2/0
i L2 10.100.0.4/30 [115/15] via 10.100.0.2, Serial2/0
C 10.100.0.0/30 is directly connected, Serial2/0
O 10.100.0.0/16 is a summary, 00:43:55, Null0
i*L2 0.0.0.0/0 [115/15] via 10.100.0.2, Serial2/0

Abrasive and a personal success.

Maurício Bento Ghem.

(Visitado 1.363 times, 1 visitas hoje)

Autor: Maurício Bento Ghem

Administrador do blog de estudos www.bentow.com.br Para maiores informações, www.bentow.com.br/sobre

2 comentários em “Resumo de Comandos Show para OSPF – BSCISummary of Show Commands for OSPF – BSCI”

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *