show ip ospf virtual-links
Syntax
show ip ospf [ ] virtual-links [brief] [all-vrfs | vrf ] [vsx-peer]
描述
Displays the current state and parameters of the OSPF virtual links.
Command context
Operator (>
)或经理(#
)
Parameters
-
-
Enter an OSPF process ID to display information on the OSPF virtual links for the particular OSPF process. Range: 1 to 63.
-
brief
-
Select to display brief overview information for the OSPF virtual links.
-
all-vrfs
-
Select to display OSPF virtual links information for all VRFs.
-
vrf
-
Specify the name of a VRF. Default: default.
-
[vsx-peer]
-
Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.
权威
Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Examples
显示OSPFvirtual links information:
switch#show ip ospf virtual-linksVirtual link to router 40.40.40.40 is up ----------------------------------------- Process ID 21 VRF default, Transit area 0.0.0.1 Transit delay 1 sec Timer Intervals: hello 10, dead 40, retransmit 5 No authentication Number of Link LSAs: 0, checksum sum 0 4 state changes
Showing brief overview information for OSPF virtual links:
switch#show ip ospf virtual-links briefOSPF Process ID 1 VRF default ============================== Total Number of Virtual Links: 1 Remote Router Transit Area Status ------------------------------------------ 2.2.2.2 0.0.0.1 down