show ip ospf virtual-links
SecureStack C2 Configuration Guide 17-29
Syntax
show ip ospf neighbor [detail] [ip-address] [vlan vlan-id]
Parameters
Defaults
Ifdetailisnotspecified,summaryinformationwillbedisplayed.
Ifip‐addressisnotspecified,OSPFneighborswillbedisplayedforallIPaddressesconfiguredfor
routing.
Ifvlan‐idisnotspecified,OSPFneighborswillbedisplayedforallVLANsconfiguredforrouting.
Mode
Anyroutermode.
Example
Thisexampleshowshowtousetheshowospfneighborcommand:
C2(su)->router#show ip ospf neighbor
ID Pri State Dead-Int Address Interface
182.127.62.1 1 FULL 40 182.127.63.1 vlan1
Table 17‐5providesanexplanationofthecommandoutput.
show ip ospf virtual-links
Usethiscommandtodisplayinformationaboutthevirtuallinksconfiguredonarouter.Avirtual
linkrepresentsalogicalconnectionbetweenthebackboneandanon‐backboneOSPFarea.
detail (Optional)Displaysdetailedinformationabouttheneighbors,includingthe
areainwhichtheyareneighbors,whothedesignatedrouter/backup
designatedrouter
isonthesubnet,ifapplicable,andthedecimalequivalent
oftheE‐bitvaluefromthehellopacketoptionsfield.
ip‐address (Optional)DisplaysOSPFneighborsforaspecificIPaddress.
vlanvlan‐id (Optional)DisplaysOSPFneighborsforaspecificVLAN.ThisVLANmust
beconfiguredforIProutingasdescribed
in“Pre‐RoutingConfiguration
Tasks”onpage15‐1.
Table 17-5 show ip ospf neighbor Output Details
Output What It Displays...
ID Neighbor’s router ID of the OSPF neighbor.
Pri Neighbor’s priority over this interface.
State Neighbor’s OSPF communication state.
Dead-Int Interval (in seconds) this router will wait without receiving a Hello packet from a
neighbor before declaring the neighbor is down.
Address Neighbor’s IP address.
Interface Neighbor’s interface (VLAN).