Table of Contents
8.6 Commands for OSPFv3
8.6.1 area default cost
no area <id> default-cost
Function: Configure the cost to send to the default summary route in the stub or NSSA area. The no command restores the default value.
Parameters:
-
<id>: area number. The value could be shown as digits 0 to 4294967295 or as an IP address.
-
<cost>: cost. The valid range is between 0 and 16777215.
Command mode: OSPFv3 protocol mode
Default: Default OSPFv3 cost is 1.
Usage guide: The command is only used for the ABR router connected to the stub area.
Example: Set the default-cost of area 1 to 10.
active500EM(config-router)#area 1 default-cost 10
8.6.2 area range
Function:Aggregate OSPF route on the area border. The no command cancels this function.
Parameters:
-
<id>: area number. The value could be shown as digits 0 to 4294967295 or as an IP address.
-
<ipv6address>=<X:X::X:X/M>: specifies the area IPv6 network prefix and its length.
-
advertise: advertise this area.
-
not-advertise: do not advertise this area.
-
If both are not set, this area is defaulted to advertising.
Command mode: OSPFv3 Protocol Mode
Default: Function not configured.
Usage guide: Use this command to aggregate routes inside an area. If the
network IDs in this area are not configured sequentially, a summary route can be advertised by configuring this command on ABR. This route consists of all single networks belonging to a specific range.
Example: Aggregate an OSPF route on the area border.
active500EM#config terminal active500EM(config)#router ipv6 ospf active500EM(config-router)#area 1 range 2000::/3
8.6.3 area stub
Parameters:
-
<id>: area number. The valid value could be digits ranging between 0 and 4294967295 or an IPv4 address.
-
no-summary: the area border routes stop sending link summary announcements to the stub area.
Command mode: OSPFv3 Protocol Mode
Default: Not defined.
Usage guide: Configure the area stub on all routes in the stub area. There are two configuration commands for the routers in the stub area: stub and default-cost. All routers connected to the stub area should be configured with the area stub command. As for area border routers connected to the stub area, the introduced cost is defined via the area default-cost command.
Example: Define an area to a stub area.
active500EM#config terminal active500EM(config)#router ipv6 ospf active500EM(config-router)#area 1 stub
Related Command: area default-cost
8.6.4 area virtual-link
Parameters:
-
<id>: area number: The valid value is digits ranging between 0 and 4294967295 or an IP address.
-
<instance-id>: interface instance ID. The valid range is between 0 and 255. The default is 0.
-
INTERVAL= [dead-interval|hello-interval|retransmit-interval|transmit-delay]
-
<value>:delay or interval seconds. The valid range is between 1 and 6553.
-
<dead-interval>: a neighbor is considered offline based on a specified dead interval. The default is 40 seconds.
-
<hello-interval>: time interval before the router sends a hello group message. The default is 10 seconds.
-
<retransmit-interval>: time interval before a router retransmits a group message. The default is 5 seconds.
-
<transmit-delay>: time delay before a router sends a group messages. The default is 1 second.
Command mode: OSPFv3 Protocol Mode
Default: No default configuration.
Usage guide: In the OSPF, all non-backbone areas will be connected to a backbone area. If the connection to the backbone area is lost, virtual link will repair this connection. Virtual links can be configured between any two backbone areas routers connected with the public non-backbone area. The protocol treats routers connected by virtual links as a point-to-point network.
Example: Configure a logical link between two backbone areas physically divided by a non-backbone area.
active500EM#config terminal active500EM(config)#router ipv6 ospf active500EM(config-router)#area 1 virtual-link 10.10.11.50 hello 5 dead 20 active500EM(config-router)#area 1 virtual-link 10.10.11.50 instance-id 1
8.6.5 abr-type
no abr-type [cisco|ibm| standard] Function: Configure an OSPF ABR type with this command. The no command restores the default.
Parameters:
-
cisco: realize by Cisco ABR.
-
ibm: realize by IBM ABR.
-
shortcut: specify a shortcut-ABR.
-
standard: realize with standard?RFC2328?ABR.
Command mode: OSPFv3 protocol mode
Default: Cisco configured.
Usage guide: This command specifies the realized ABR type. This command is good for interactive operation among different OSPF realized methods and is especially useful in multiple host environments.
Example: Configure ABR as standard.
active500EM#config terminal active500EM(config)#router ipv6 ospf active500EM(config-router)#abr-type standard
8.6.6 default-metric
no default-metric
Function: Set the default OSPF routing protocol metric value. The no command returns to the default state.
Parameters:
-
<value>: metric value. The valid range is between 1 and 16777214.
Command mode: OSPF Protocol Mode
Default: Metric value is set to auto translate.
Usage guide: When the default metric value is incompatible, the introduced route will still go through. If the metric value can not be translated, the default value provides an alternative option to carry the introduced route. This command sets all introduced routes to the same metric value. This command should be used with the redistribute command.
Example: Set the default OSPF routing protocol metric value.
active500EM#config terminal active500EM(config)#router ipv6 ospf active500EM(config-router)#default-metric 100
8.6.7 debug ipv6 ospf events
Parameters:
-
abr: OSPFv3 ABR events
-
asbr: OSPFv3 ASBR events
-
os: OS events
-
router: Other router events
-
vlink: Virtual-Link event
Command mode: Admin Mode
Default: Closed.
Usage guide: Opens debug switches to show OSPF events.
Example: Open debug switches to show OSPF events.
active500EM#debug ipv6 ospf events 1970/01/01 01:10:35 IMI: ROUTER[Process:(null)]: GC timer expire
8.6.8 debug ipv6 ospf ifsm
Parameters:
-
events: IFSM Event Information
-
status: IFSM Status Information
-
timers: IFSM Timer Information
Command mode: Admin Mode
Default: Closed.
Usage guide: Opens debug switches to show the OSPF interface states.
Example: Open debug switches to show the OSPF interface states.
active500EM#debug ipv6 ospf ifsm 1970/01/01 01:11:44 IMI: IFSM[Vlan1]: Hello timer expire 1970/01/01 01:11:44 IMI: IFSM[Vlan2]: Hello timer expire
8.6.9 debug ipv6 ospf lsa
Parameters:
-
flooding: LSA FloodingLSA
-
generate: LSA Generation
-
install: LSA Installation
-
maxage: LSA MaxAge processing
-
refresh: LSA Refreshment
Command mode: Admin Mode
Default: Closed.
Usage guide: Open debug switches to show link state announcements.
Example: Open debug switches to show link state announcements.
active500EM#debug ipv6 ospf lsa
8.6.10 debug ipv6 ospf nfsm
Parameters:
-
events: IFSM Event Information
-
status: IFSM Status Information
-
timers: IFSM Timer Information
Command mode: Admin Mode
Default: Closed.
Usage guide: Open debug switches to show the OSPF neighbor state.
Example: Open debug switches to show the OSPF neighbor state.
active500EM#debug ipv6 ospf nfsm 1970/01/01 01:14:07 IMI: NFSM[192.168.2.3-000007d4]: LS update timer expire 1970/01/01 01:14:07 IMI: NFSM[192.168.2.1-000007d3]: LS update timer expire 1970/01/01 01:14:08 IMI: NFSM[192.168.2.1-000007d3]: Full (HelloReceived) 1970/01/01 01:14:08 IMI: NFSM[192.168.2.1-000007d3]: nfsm-ignore called 1970/01/01 01:14:08 IMI: NFSM[192.168.2.1-000007d3]: Full (2-WayReceived)
8.6.11 debug ipv6 ospf nsm
Parameters:
-
interface: NSM interface
-
redistribute: NSM redistribute
Command mode: Admin Mode
Default: Closed.
Usage guide: Open debug switches to show OSPF NSM.
Example: Open debug switches to show OSPF NSM.
active500EM#debug ipv6 ospf nsm
8.6.12 debug ipv6 ospf packet
Parameters:
-
dd: OSPFv3 Database Description
-
detail: Detail information
-
hello: OSPFv3 Hello
-
ls-ack: OSPFv3 Link State Acknowledgment
-
ls-request: OSPFv3 Link State Request
-
ls-update: OSPFv3 Link State Update
-
recv: Packet received
-
send: Packet sent
Command mode: Admin Mode.
Default: Closed.
Usage guide: Open debug switches to show OSPF packet messages.
Example: Open debug switches to show OSPF packet messages.
active500EM#debug ipv6 ospf packet
8.6.13 debugipv6 ospf redistribute message send
no debug ipv6 ospf redistribute message send
Function:Enable/disable the send debug command from IPv6 OSPF processes redistributed to other IPv6 OSPF process routes.
Parameters:None.
Command mode: Admin Mode.
Default: Disabled.
Usage guide: Enables/disables the send debug command from IPv6 OSPF processes redistributed to other IPv6 OSPF process routes.
Example: Enable/disable the send debug command from IPv6 OSPF processes redistributed to other IPv6 OSPF process routes.
active500EM#debug ipv6 ospf redistribute message send
8.6.14 debug ipv6 ospfredistribute route receive
no debug ipv6 ospfredistribute route receive
Function: Enable/disable received debug routing messages from NSM for IPv6 OSPF processes.
Parameters: None.
Command mode: Admin Mode.
Default: Disabled.
Usage guide: Enables/disables received debug routing messages from NSM for IPv6 OSPF processes.
Example: Enable/disable received debug routing messages from NSM for IPv6 OSPF processes.
active500EM#debug ipv6 ospf redistribute route receive
8.6.15 debug ipv6 ospf route
Parameters:
-
ase: External route calculation information
-
ia: Inter-Area route calculation information
-
install: Route installation information
-
spf: SPF calculation information
Command mode: Admin Mode
Default: Closed.
Usage guide: Open debug switches to show OSPF related routes.
Example: Open debug switches to show OSPF related routes.
active500EM#debug ipv6 ospf route
8.6.16 ipv6 ospf cost
Parameters:
-
<cost>: OSPF protocol cost. The valid range is between 1 and 65535.
-
<id>: interface instance ID. The valid range is between 0 and 255. The default is 0.
Command mode: Interface Configuration Mode
Default: Default OSPF cost on the interface is 10.
Usage guide: The command can configure an IPv6 tunnel interface.
Example: Specify the cost required to run OSPF protocols on the interface.
active500EM#config terminal active500EM(config)#interface vlan 1 active500EM(Config-if-Vlan1)#ipv6 ospf cost 3
8.6.17 ipv6 ospf dead-interval
Parameters:
-
<id>: interface instance ID. The valid range is between 0 and 255. The default is 0.
-
<time>: length of the adjacent Layer 3 switch. The value is seconds and the valid range is between 1 and 65535.
Command mode: Interface Configuration Mode
Default: The default dead interval is 40 seconds (normally 4 times the hello-interval).
Usage guide: If no Hello data packet is received after the dead-interval period then the Layer 3 switch is considered inaccessible and invalid. This command modifies the neighboring Layer 3 switch dead interval value according to the actual link state. The set dead-interval value is written into the Hello packet and transmitted. To ensure normal operation of the OSPF protocol, the dead-interval between adjacent Layer 3 switches should be in accordance or at least 4 times of the hello-interval value. The command can configure a IPv6 tunnel interface.
Example: Specify the dead interval for a neighboring Layer 3 switch.
active500EM#config terminal active500EM(config)#interface vlan 1 active500EM(Config-if-Vlan1)#ipv6 ospf dead-interval 80
8.6.18 ipv6 ospf display route single-line
no ipv6 ospf display route single-line
Function: Change the display results of the ?show ipv6 ospf route? command. The no command restores to the default display mode.
Parameters: None.
Command mode: Global Mode
Default: Not configured.
Usage guide: The ?show ipv6 ospf route? command displays the same route in several lines. This command will display one route on one line.
Example: Change the display results of the ?show ipv6 ospf route? command.
active500EM#config terminal active500EM(config)#ipv6 ospf display route single-line
8.6.19 ipv6 ospf hello-interval
Parameters:
-
<id>: interface instance ID. The valid range is between 0 and 255. The default is 0.
-
<time>: length of the adjacent layer 3 switch. The valid value is seconds with a range between 1 and 65535.
Command mode: Interface Configuration Mode
Default: Default Hello packet sending interval is 10 seconds.
Usage guide: Hello data packet is the most common packet which is periodically sent to adjacent Layer 3 switches to discover and maintain adjacent relationships (elect DR and BDR). The user sets the hello-interval value to be written into the Hello packet which is then transmitted. The lower the hello-interval value, the sooner the network topology structure is discovered and the larger the cost. To ensure the normal operation of the OSPF protocol, the hello-interval parameter between the Layer 3 switches adjacent to the interface must be relative to each other. This command can configure an IPv6 tunnel interface.
Example: Specify the hello-interval on the interface.
active500EM#config terminal active500EM(config)#interface vlan 1 active500EM(Config-if-Vlan1)#ipv6 ospf hello-interval 20
Related Command: ipv6 ospf dead-interval
8.6.20 ipv6 ospf priority
Parameters:
-
<id>: interface instance ID. The valid range is between 0 and 255. The default is 0.
-
<priority>: priority. The valid range is between 0 and 255.
Command mode: Interface Configuration Mode
Default: The default priority when electing DR is 1.
Usage guide: When two Layer 3 switches connected to the same segments both want to be the ?Defined layer 3 switch?. The priority will determine which is chosen. Normally, the switch with the higher priority will be elected. Alternatively, the switch with the larger router-id number will be selected if the priorities of both switches are the same. A Layer 3 switch with a priority equal to 0 will not be elected as the ?Defined Layer 3 switch? or ?Backup Defined Layer 3 switch?. This command can configure a IPv6 tunnel interface.
Example: Configure the DR elect priority. Configure the interface VLAN 1 to no election right, namely set the priority to 0.
active500EM#config terminal active500EM(config)#interface vlan 1 active500EM(Config-if-Vlan1)#ipv6 ospf priority 0
8.6.21 ipv6 ospf retransmit-interval
Parameters:
-
<id>: interface instance ID. The valid range is between 0 and 255. The default is 0.
-
<time>: retransmit interval of link state announcements between the interface and adjacent Layer 3 switches. The value is shown in seconds with a range between 1 and 65535.
Command mode: Interface Configuration Mode
Default: The default retransmit interval is 5 seconds.
Usage guide: When a Layer 3 switch transmits LSA to its neighbor, it will maintain the link state announcements until a confirmation is received from the object side. If the confirmation packet is not received within the interval, the LSA will be retransmitted. The retransmit interval must be larger than the time it takes to make a round between two Layer 3 switches. The command can configure an IPv6 tunnel interface.
Example: Configure the LSA retransmit interval of interface vlan 1 to 10 seconds.
active500EM#config terminal active500EM(config)#interface vlan 1 active500EM(Config-if-Vlan1)#ipv6 ospf retransmit-interval 10
8.6.22 ipv6 ospf transmit-delay
Parameters:
-
<id>: instance ID. The valid range is between 0 and 255. The default is 0.
-
<time>: sending LSA delay time on the interface. The valid value is seconds with a range between 1 and 65535.
Command mode: Interface Configuration Mode
Default: The send LSA default delay time on the interface is 1 second.
Usage guide: The LSA ages over time in the layer 3 switches but not in the transmission process. By increasing the transmit-delay before sending LSA it will be sent out. The command can configure an IPv6 tunnel interface.
Example: Set the interface VLAN 1 LSA sending delay to 3 seconds.
active500EM#config terminal active500EM(config)#interface vlan 1 active500EM(Config-if-Vlan1)#ipv6 ospf transmit-delay 3
8.6.23 ipv6 router ospf
no ipv6 router ospf {area <area-id> [instance-id <instance-id>]| tag <tag>[instance-id <instance-id>]}|tag <tag> area <area-id> [instance-id <instance-id>]}
Function: Enable an OSPF route on the interface. The no command cancels this configuration.
Parameters:
-
<area-id>: area ID. The valid value is digits ranging between 0 and 4294967295 or an IPv4 address.
-
<instance-id>: interface instance ID. The valid range is between 0 and 255. The default is 0.
-
<tag>: OSPFv3 process identifier.
Command mode: Interface Configuration Mode
Default: Not configured.
Usage guide: To enable this command on the interface the area ID must be configured. The instance ID and instance tag are optional. The OSPFv3 process allows one routing instance for each instance ID. The route can be enabled on an interface with an instance ID. If the instance IDs are different, several OSPF processes can be run on one interface. However, different OSPF processes should not use the same instance ID. The command can configure an IPv6 tunnel interface.
Example: Enable an OSPF route on the interface.
active500EM#config terminal active500EM(config)#interface vlan 1 active500EM(Config-if-Vlan1)#ipv6 router ospf area 1 tag IPI instance-id 1
8.6.24 max-concurrent-dd
no max-concurrent-dd
Function:Configure the dd maximum concurrent number for OSPF processing. The no command restores the default.
Parameters:
-
<value>: value. The valid range is between 1 and 65535 (the concurrent dd data packet processing capacity).
Command mode: OSPFv3 Protocol Mode
Default: No default configuration. No dd concurrent limit.
Usage guide: Specify the dd maximum concurrent number for OSPF processing.
Example: Set the max concurrent dd to 20.
active500EM#config terminal active500EM(config)#router ipv6 ospf active500EM(config-router)#max-concurrent-dd 20
8.6.25 passive-interface
no passive-interface{<ifname>|vlan <vlan-id>}
Function: Configure the Hello group to not be sent on specific interfaces. The no command cancels this function.
Parameter:
-
<ifname>: interface name
-
<vlan-id>: VLAN ID, range <1-4094>
Command mode: OSPFv3 protocol mode
Default: Not configured.
Usage guide: Configure the Hello group to not be sent on specific interfaces.
Example: Configure the Hello group to not be sent on specific interfaces.
active500EM#config terminal active500EM(config)#router ipv6 ospf active500EM(config-router)#passive-interface vlan1
8.6.26 redistribute
Parameters:
-
kernel: introduce from kernel route.
-
connected: introduce from direct route.
-
static: introduce from static route.
-
rip: introduce from the RIP route.
-
isis: introduce from ISIS route.
-
bgp: introduce from BGP route.
-
metric <value>: introduced metric value. The valid range is between 0 and 16777214.
-
metric-type {1|2}: introduced external route metric value. The value can be 1 or 2. The default is 2.
-
route-map<word>: specifies the route map probe to introducethe route.
Command mode: OSPFv3 Protocol Mode
Default: None.
Usage guide: Learn and introduce other routing protocols into the OSPFv3 area to generate AS-external-LSAs.
Example: Introduce the route learned from other routing protocols into OSPFv3.
active500EM#config terminal active500EM(config)#router ipv6 ospf active500EM(config-router)#redistribute bgp metric 12 metric-type 1
8.6.27 redistribute ospf
Parameters:
-
<process-tag>: IPv6 OSPF process ID, NULL.
-
metric <value>: metric for redistributed routing. The valid range is between 0 and 16777214.
-
metric-type {1|2}: metric type for redistributed routing. Valid values are 1 or 2. The default is 2.
-
route-map <word>: pointer to the introduced routing map.
Command mode: Router IPv6 OSPF Configuration Mode
Default: OSPFfv3 routing not redistributed.
Usage guide: When process-id is not entered, OSPFv3 routing will be redistributed by default (process-tag is NULL). When no optional parameters are entered, the redistributed routing information is deleted.
Example: Redistribute routing information form process-tag.
active500EM(config)#router ipv6 ospf active500EM(config-router)#redistribute ospf
8.6.28 router-id
no router-id
Function: Configure the OSPFv3 router ID. The no command restores the ID to 0.0.0.0.
Parameter:
-
<router-id>: router ID. The valid format is the IPv4 format.
Command mode: OSPFv3 Protocol Mode
Default: 0.0.0.0.
Usage guide: If the router-id is 0.0.0.0, the OSPFv3 process can not be enabled normally. The router-id must be configured for OSPFv3.
Example: Configure the OSPFv3 router ID.
active500EM#config terminal active500EM(config)#router ipv6 ospf active500EM(config-router)#router-id 192.168.2.1
8.6.29 router ipv6 ospf
Parameter:
-
<tag>: OSPFv3 is the process tag which could be random strings made up of characters and digits.
Command mode: Global Mode
Default: None.
Usage guide: For the OSPFv3 routing process to function correctly, this command must be configured and OSPFv3 must be enabled on at least one interface. When the tag configured by the IPV6 router OSPF area command under interface mode matches with the OSPF process tag, the OSPFv3 process is enabled on this interface.
Example: This command initializes the OSPFv3 routing process and enters OSPFv3 mode to configure the OSPFv3 routing process.
active500EM#config terminal active500EM(config)#router ipv6 ospf IPI
8.6.30 show ipv6 ospf
Parameter:
-
<tag>: process tag. The valid format is a character string.
Command mode: All modes
Default: Not displayed.
Usage guide: Displays OSPF global and area messages.
Example: Display OSPF global and area messages.
active500EM#show ipv6 ospf Routing Process "OSPFv3 (*null*)" with ID 192.168.2.2 SPF schedule delay 5 secs, Hold time between SPFs 10 secs Minimum LSA interval 5 secs, Minimum LSA arrival 1 secs Number of external LSA 0. Checksum Sum 0x0000 Number of AS-Scoped Unknown LSA 0 Number of LSA originated 6 Number of LSA received 14 Number of areas in this router is 1 Area BACKBONE(0) Number of interfaces in this area is 2 SPF algorithm executed 6 times Number of LSA 8. Checksum Sum 0x43D52 Number of Unknown LSA 0
8.6.31 show ipv6 ospf database
[ router [adv-router <advertiser-router>] | network [adv-router <advertiser-router>] | intra-prefix [adv-router <advertiser-router>] | link [adv-router <advertiser-router>] | external [adv-router <advertiser-router>] | inter-prefix [adv-router <advertiser-router>] | inter-router [adv-router <advertiser-router>]] Function: Display the OSPF link state database message.
Parameters:
-
<tag>: process tag. The valid format is a character string.
-
<advertiser-router>: advertising router ID. The valid format is IPv4 address format.
Command mode: All Modes
Default: Not displayed.
Usage guide: According to the output messages of this command, the OSPF link state database messages can be viewed.
Example: Display OSPF routing protocol LSA messages.
active500EM#show ipv6 ospf database OSPFv3 Router with ID (192.168.2.2) (Process *null*) Link-LSA (Interface Vlan1) LinkState ID ADV Router Age Seq# CkSum Prefix 0.0.7.211 192.168.2.2 1409 0x80000001 0x6dda 1 0.0.7.212 192.168.2.3 1357 0x80000001 0x248e 1 Link-LSA (Interface Vlan2) LinkState ID ADV Router Age Seq# CkSum Prefix 0.0.7.211 192.168.2.1 1450 0x80000001 0xa565 1 0.0.7.212 192.168.2.2 1399 0x80000001 0x4305 1 Router-LSA (Area 0.0.0.0) LinkState ID ADV Router Age Seq# CkSum Link 0.0.0.0 192.168.2.1 1390 0x80000006 0x9fe2 1 0.0.0.0 192.168.2.2 1354 0x80000007 0x4af5 2 0.0.0.0 192.168.2.3 1308 0x80000004 0xbbc4 1 Network-LSA (Area 0.0.0.0) LinkState ID ADV Router Age Seq# CkSum 0.0.7.211 192.168.2.1 1390 0x80000001 0x897e 0.0.7.211 192.168.2.2 1354 0x80000001 0x9b69 Intra-Area-Prefix-LSA (Area 0.0.0.0) LinkState ID ADV Router Age Seq# CkSum Prefix Reference 0.0.0.1 192.168.2.1 1389 0x80000005 0x7e2e 1 Router-LSA 0.0.0.2 192.168.2.1 1389 0x80000001 0x22cb 1 Network-LSA 0.0.0.1 192.168.2.3 1306 0x80000002 0xd0d7 1 Router-LSA
Displayed information | Explanation |
Link-LSA (Interface Vlan1) | Link LSA messages of interface VLAN1 |
Router-LSA (Area 0.0.0.0) | Router LSA messages in Area 0 |
Network-LSA (Area 0.0.0.0) | Network LSA in Area 0 |
Intra-Area-Prefix-LSA (Area 0.0.0.0) | Intra-domain Prefix LSA in Area 0 |
8.6.32 show ipv6 ospf interface
Function: Display the OSPF interface messages.
Parameter:
-
<ifname>: name of the interface.
-
<vlan-id>: VLAN ID, range <0-4094>
Command mode: All Modes
Default: Not displayed.
Usage guide: Display the OSPF interface messages.
Example: Display the OSPF interface messages.
active500EM#show ipv6 ospf interface Loopback is up, line protocol is up OSPFv3 not enabled on this interface Vlan1 is up, line protocol is up Interface ID 2003 IPv6 Prefixes fe80::203:fff:fe01:257c/64 (Link-Local Address) 2001:1:1::1/64 OSPFv3 Process (*null*), Area 0.0.0.0, Instance ID 0 Router ID 192.168.2.2, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 192.168.2.2 Interface Address fe80::203:fff:fe01:257c Backup Designated Router (ID) 192.168.2.3 Interface Address fe80::203:fff:fe01:d28 Timer interval configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:10 Neighbor Count is 1, Adjacent neighbor count is 1 Vlan2 is up, line protocol is up Interface ID 2004 IPv6 Prefixes fe80::203:fff:fe01:257c/64 (Link-Local Address) 2000:1:1::1/64 OSPFv3 Process (*null*), Area 0.0.0.0, Instance ID 0 Router ID 192.168.2.2, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State Backup, Priority 1 Designated Router (ID) 192.168.2.1 Interface Address fe80::203:fff:fe01:429e Backup Designated Router (ID) 192.168.2.2 Interface Address fe80::203:fff:fe01:257c Timer interval configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:10 Neighbor Count is 1, Adjacent neighbor count is 1
Displayed information | Explanations |
Vlan1 is up, line protocol is up | The interface is up both logically and physically |
IPv6 Prefixes fe80::203:fff:fe01:257c/64 (Link-Local Address), 2001:1:1::1/64 | IPv6 address of the interface and the length of the prefix |
OSPFv3 Process (*null*) | OSPFv3 process the interface belongs to |
Area 0.0.0.1 | Area the interface belongs to |
Instance ID 0 | Instance ID is 0 |
Router ID 192.168.2.2, Network Type BROADCAST, Cost: 10 | Process ID; Router ID; Network Type; Cost |
Transmit Delay is 1 sec, State DR, Priority 1 | LAS transmission delay on the interface; state; electing the priority of the layer 3 switch. |
Designated Router (ID) 192.168.2.2, Interface Address fe80::203:fff:fe01:257c | Specifying Layer 3 switch |
Backup Designated Router (ID) 192.168.2.3, Interface Address fe80::203:fff:fe01:d28 | Back up designated Layer 3 switch |
Timer interval configured, Hello 10, Dead 40, Wait 40, Retransmit 5, Hello due in 00:00:10 | OSPF protocol timer; including hello packet, poll interval packets, router dead, router retransmission. |
Neighbor Count is 1, Adjacent neighbor count is 1 | Numbers of the adjacent Layer 3 switch; number of the Layer 3 switches established in relation to the neighbor |
8.6.33 show ipv6 ospf neighbor
Parameters:
-
<tag>: process tag. The valid format is a character string.
-
<neighbor-id>: neighbor ID. The valid format is in IPv4 address format.
-
detail: neighbor details.
-
<ifname>: name of the interface.
Command mode: All Modes
Default: Not displayed.
Usage guide: OSPF neighbor state can be checked by viewing the output of this command.
Example: Show OSPF adjacent point messages.
active500EM#show ipv6 ospf neighbor OSPFv3 Process (*null*) Neighbor ID Pri State Dead Time Interface Instance ID 192.168.2.3 1 Full/Backup 00:00:29 Vlan1 0 192.168.2.1 1 Full/DR 00:00:38 Vlan2 0
Displayed information | Explanation |
Neighbor ID | Neighbor ID |
Address | IP address of neighboring layer 3 switch |
Pri | Priority |
State | Neighbor relationship state |
Interface | Interface the neighbor belongs to |
Instance ID | Instance ID |
8.6.34 show ipv6 ospf route
Function: Show the OSPF route table messages.
Parameter:
-
<tag>: processes tag. The valid format is a character string.
Command mode: All Modes
Default: Not displayed.
Usage guide: Show the OSPF route table messages.
Example: Show the OSPF route table messages.
active500EM#show ipv6 ospf route Codes: C - connected, D - Discard, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2 Destination Metric Next-hop O 2000:1:1::/64 10 directly connected, Vlan2 O 2001:1:1::/64 10 directly connected, Vlan1 O 3000:1:1::/64 20 via fe80::203:fff:fe01:429e, Vlan2 O 3003:1:1::/64 20 via fe80::203:fff:fe01:d28, Vlan1
8.6.35 show ipv6 ospf redistribute
Function: Display the routing message redistributed from OSPF external processes.
Parameter:
-
<process-tag>: IPv6 OSPF is the tag ID. If no parameter is entered all routing messages redistributed from IPv6 OSPF external processes will be displayed.
Command mode: Admin Mode and Configuration Mode
Default: None.
Usage guide: Displays the routing message redistributed from OSPF external processes.
Example: Display the routing message redistributed from OSPF external processes.
active500EM#show ipv6 ospf redistribute ospf process abc redistribute information? ospf process def bgp ospf process def redistribute information? ospf process abc
active500EM#show ipv6 ospf abc redistribute ospf process abc redistribute information? ospf process def bgp
8.6.36 show ipv6 ospf topology
Parameters:
-
<tag>: processes tag. The valid format is a character string.
-
<area-id>: area ID. The valid value could be shown in digits ranging between 0 and 4294967295 or an IPv4 address.
Command mode: All Modes
Default: Not displayed.
Usage guide: Show OSPF topology messages.
Example: Show OSPF topology messages.
active500EM#show ipv6 ospf topology OSPFv3 Process (*null*) OSPFv3 paths to Area (0.0.0.0) routers Router ID Bits Metric Next-Hop Interface 192.168.2.1 10 192.168.2.1 Vlan2 192.168.2.2 -- 192.168.2.3 10 192.168.2.3 Vlan1
8.6.37 show ipv6 ospf virtual-links
Function: Show OSPF virtual link messages.
Parameter:
-
<tag>: processes tag. The valid format is a character string.
Command mode: All Modes
Default: Not displayed.
Usage guide: Show OSPF virtual link messages.
Example: Show OSPF virtual link messages.
active500EM#show ipv6 ospf virtual-links Virtual Link VLINK1 to router 5.6.7.8 is up Transit area 0.0.0.1 via interface Vlan1, instance ID 0 Local address 3ffe:1234:1::1/128 Remote address 3ffe:5678:3::1/128 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:01 Adjacency state Up
8.6.38 show ipv6 route process-detail
Function: Display the IP routing table with a specific process ID or Tag.
Parameter:
-
database: display all routers. If no parameter is entered only effective routers will be displayed.
Command mode: Admin Mode and Configure Mode
Default: None.
Usage guide: Display the IP routing table with a specific process ID or Tag.
Example: Display the IP routing table with a specific process ID or Tag.
active500EM#show ipv6 route database process-detail IPv6 Routing Table Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP > - selected route, * - FIB route, p - stale info Timers: Uptime C*> ::1/128 via ::, Loopback, 00:29:53 O 2001::/64 [110/10] via ::, Vlan1, 00:01:07 ,process aaa C*> 2001::/64 via ::, Vlan1, 00:02:54 O*> 2006::/64 [110/10] via ::, Vlan1, 00:01:07, process aaa O*> 2008::/64 [110/20] via fe80::203:fff:fe01:2542, Vlan1, 00:00:54, process bbb
8.6.39 timers spf
no timers spf
Function: Adjust the route calculation timer value. The no command restores the relevant value to default.
Parameters:
-
<spf-delay>: delay time between receiving a topology change and SPF calculation; 5 seconds by default.
-
<spf-holdtime>: hold time between two discontinuous SPF calculations; 10 seconds by default.
Command mode: OSPFv3 Protocol Mode
Default: None.
Usage guide: This command configures the delay time between receiving a topology change and SPF calculation. The hold time between two discontinuous SPF calculations can also be configured.
Example: Adjust the route calculation timer value.
active500EM#config terminal active500EM(config)#router ipv6 ospf active500EM(config-router)#timers spf 5 10
Return to Controller Wired CLI Table of Contents