Mypower
S4100
Troubleshooting
Maipu Confidential & Proprietary Information
Page
87
of
124
originate|adv-router
ip-addr|link-state-
id
]
show ip ospf interface [interface-
name [detail]|all]
Display the OSPF interface information to view the
interfaces running OSPF.
show ip ospf [process-id] neighbor
[all|detail|
neighbor-id
|interface
interface-addr
]
Display the related information about the OSPF
neighbor.
show ip ospf [process-id] route
Display the routing information about the OSPF.
show ip ospf [process-id] virtual-links Display the OSPF virtual link information.
show ip route ospf
Display the OSPF route information in the core
routing table.
show run router ospf
Display the current running OSPF process.
The application of the show tools is as follows.
As shown in the preceding figure, VLAN500 interface (129.255.19.20/16)
of switch A is connected with VLAN500 interface (129.255.19.10/16) of
switch B. The link layer is connected through the Ethernet protocol,
2.2.2.1 is the IP address of the switch A loopback interface. The
configuration is as follows:
Switch_A
router ospf 64
log-adjacency-changes
network 2.2.2.1 0.0.0.0 area 0
network 129.255.0.0 0.0.255.255 area 0
exit
interface vlan500
ip address 129.255.19.20 255.255.0.0
exit
interface loopback0
ip address 2.2.2.1 255.255.255.255
exit
Switch_B
router ospf 64
log-adjacency-changes