Viewing OSPFv3 Information
View information about OSPF to view the current configuration.
Procedure
Example
Switch:1#show ipv6 ospf ================================================================================= OSPFv3 Global Information - GlobalRouter ================================================================================= router-id : 170.76.84.0 admin-state : DISABLE version : 3 area-bdr-rtr-state : FALSE as-bdr-rtr-state : FALSE helper-mode : ENABLED as-scope-lsa-count : 0 lsa-checksum : 0 originate-new-lsas : 0 rx-new-lsas : 0 ext-lsa-count : 0 default-metric : ethernet - 100 fast-ethernet - 10 gig-ethernet - 1 ten-gig-ethernet - 1 forty-gig-ethernet - 1 vlan - 10
Switch:1>show ipv6 ospf area ================================================================================ OSPF Area - GlobalRouter ================================================================================ AREA_ID STUB_AREA NSSA IMPORT_SUM TRANS_ROLE TRANS_STATE -------------------------------------------------------------------------------- 0.0.0.0 false false true always disabled STUB_METRIC STUB_METRIC_TYPE SPF_RUNS BDR_RTR_CNT ASBDR_RTR_CNT LSA_CNT LSACK_SUM -------------------------------------------------------------------------------- 10 ospfV3Metric 0 0 0 0 0
Switch:1#show ipv6 ospf interface Total ospf areas: 1 Total ospf interfaces: 2 =============================================================================== OSPF Interface - GlobalRouter =============================================================================== IFINDX(VID/BRT) AREAID ADM IFSTATE METRIC PRI DR/BDR IFTYPE -------------------------------------------------------------------------------- 331 (5/12 ) 0.0.0.0 ena DOWN 1 1 0.0.0.0 PT-PT 0.0.0.0 lnklsaSup 2078 (30 ) 0.0.0.0 ena DR 1 1 197.146.128.0 BROADCAST 0.0.0.0 2 out of 2 Total Num of ospf interfaces displayed Total ospf virtual interfaces: 0 ================================================================================ OSPF Virtual Interface - GlobalRouter ================================================================================ AREAID NBRIPADDR STATE --------------------------------------------------------------------------------- 0 out of 0 Total Num of ospf virtual interfaces displayed
Switch:1#show ipv6 ospf int-timers ================================================================================ OSPF Interface Timers - GlobalRouter ================================================================================ TRANSIT RETRANS HELLO DEAD POLL IFINDX(VID/BRT) AREAID DELAY INTERVAL INTERVAL INTERVAL INTERVAL -------------------------------------------------------------------------------- 2059 (11 ) 0.0.0.0 1 5 10 40 120 2060 (12 ) 0.0.0.0 1 5 10 40 120 ================================================================================ OSPF Virtual Interface Timers - GlobalRouter ================================================================================ TRANSIT RETRANS HELLO DEAD AREAID NBRIPADDR DELAY INTERVAL INTERVAL INTERVAL --------------------------------------------------------------------------------
Switch:1#show ipv6 ospf neighbor ================================================================================ OSPF Neighbor - GlobalRouter ================================================================================ IFINDX(VID/BRT) NBRROUTERID NBRIPADDR STATE TTL -------------------------------------------------------------------------------- 331 (10/19) 97.146.128.0 fe80:0:0:0:2ef4:c5ff:fe92:8a00 Restart 120 1 out of 1 Total Num of Neighbor Entries displayed. ================================================================================ OSPF Virtual Neighbor - GlobalRouter ================================================================================ NBRAREAID NBRROUTERID VIRTINTFID NBRIPV6ADDR STATE -------------------------------------------------------------------------------- 0 out of 0 Total Num of Virtual Neighbor Entries displayed. ================================================================================ OSPF NBMA Neighbor - GlobalRouter ================================================================================ INTERFACE NBRROUTERID NBRIPADDR STATE -------------------------------------------------------------------------------- 0 out of 0 Total Num of NBMA Neighbor Entries displayed. ================================================================================
Variable Definitions
Use the data in the following table to use the show ipv6 ospf commands.
Variable |
Value |
---|---|
adv-rtr <A.B.C.D> |
Shows information for the specified advertising router. |
area <A.B.C.D> |
Shows information for the specified area. |
detail |
Shows information beyond the basic information. |
{slot/port[/sub-port]} |
Identifies a single slot and port. If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port. |
lsa-type <1-11> |
Shows information for the specified LSA type. |
lsid <0-4294967295> |
Shows information for the specified link-state ID. |
scope <1-3> |
Shows information for the specified scope:
|
tunnel <1-2000> |
Specifies the ID number of the tunnel. |
vlan <1-4059> |
Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1. |
vrf WORD<1-16> |
Specifies the VRF name. |
vrfids WORD<0-512> |
Specifies VRF IDs. |