OSPFv3 Interface Commands
Use these commands to configure OSPFv3 settings on an interface.
ipv6 ospf area
M4350
This command sets the OSPF area to which the specified router interface or range of interfaces belongs. It also enables OSPF on the specified router interface or range of interfaces.
The area-id is a 32-bit integer, formatted either as a 4-digit dotted-decimal number or a decimal value in the range of 0-4294967295. The area-id uniquely identifies the area to which the interface connects. Assigning an area ID for an area that does not yet exist, causes the area to be created with default values.
| Format | ipv6 ospf area area-id |
| Mode | Interface Config |
ipv6 ospf cost
M4350
This command configures the cost on an OSPF interface or range of interfaces. The cost parameter is in the range of 1 to 65535.
| Default | 10 |
| Format | ipv6 ospf cost cost |
| Mode | Interface Config |
no ipv6 ospf cost
This command configures the default cost on an OSPF interface.
| Format | no ipv6 ospf cost |
| Mode | Interface Config |
ipv6 ospf dead-interval
M4350
This command sets the OSPF dead interval for the specified interface or range of interfaces. The value for seconds is a valid positive integer, which represents the length of time in seconds that a router's Hello packets have not been seen before its neighbor routers declare that the router is down. The value for the length of time must be the same for all routers attached to a common network. This value should be some multiple of the Hello Interval (that is, 4). A valid value for seconds is in the range from 1-65535.
| Default | 40 |
| Format | ipv6 ospf dead-interval seconds |
| Mode | Interface Config |
no ipv6 ospf dead-interval
This command sets the default OSPF dead interval for the specified interface or range of interfaces.
| Format | no ipv6 ospf dead-interval |
| Mode | Interface Config |
ipv6 ospf hello-interval
M4350
This command sets the OSPF hello interval for the specified interface. The value for seconds is a valid positive integer, which represents the length of time in seconds. The value for the length of time must be the same for all routers attached to a network. A valid value for seconds is in the range from 1 to 65535.
| Default | 10 |
| Format | ipv6 ospf hello-interval seconds |
| Mode | Interface Config |
no ipv6 ospf hello-interval
This command sets the default OSPF hello interval for the specified interface.
| Format | no ipv6 ospf hello-interval |
| Mode | Interface Config |
ipv6 ospf link-lsa-suppression
M4350
Use this command to enable Link LSA Suppression on an interface. When Link LSA Suppression is enabled on a point-to-point (P2P) interface, no Link LSA protocol packets are originated (transmitted) on the interface. This configuration does not apply to non-P2P interfaces.
| Default | False |
| Format | ipv6 ospf link-lsa-suppression |
| Mode | Privileged EXEC |
no ipv6 ospf link-lsa-suppression
This command returns Link LSA Suppression for the interface to disabled. When Link LSA Suppression is disabled, Link LSA protocol packets are originated (transmitted) on the P2P interface.
| Format | no ipv6 ospf link-lsa-suppression |
| Mode | Privileged EXEC |
ipv6 ospf mtu-ignore
M4350
This command disables OSPF maximum transmission unit (MTU) mismatch detection on an interface or range of interfaces. OSPF Database Description packets specify the size of the largest IP packet that can be sent without fragmentation on the interface. When a router receives a Database Description packet, it examines the MTU advertised by the neighbor. By default, if the MTU is larger than the router can accept, the Database Description packet is rejected and the OSPF adjacency is not established.
| Default | enabled |
| Format | ipv6 ospf mtu-ignore |
| Mode | Interface Config |
no ipv6 ospf mtu-ignore
This command enables the OSPF MTU mismatch detection.
| Format | no ipv6 ospf mtu-ignore |
| Mode | Interface Config |
ipv6 ospf network
M4350
This command changes the default OSPF network type for the interface or range of interfaces. Normally, the network type is determined from the physical IP network type. By default, all Ethernet networks are OSPF type broadcast. When an Ethernet port is used as a single large bandwidth IP network between two routers, the network type can be point-to-point since there are only two routers.
Using point-to-point as the network type eliminates the overhead of the OSPF designated router election.
| Default | broadcast |
| Format | ipv6 ospf network {broadcast | point-to-point} |
| Mode | Interface Config |
no ipv6 ospf network
This command sets the interface type to the default value.
| Format | no ipv6 ospf network {broadcast | point-to-point} |
| Mode | Interface Config |
ipv6 ospf prefix-suppression
M4350
This command suppresses the advertisement of the IPv6 prefixes that are associated with an interface, except for those associated with secondary IPv6 addresses. This command takes precedence over the global configuration. If this configuration is not specified, the global prefix-suppression configuration applies.
prefix-suppression can be disabled at the interface level by using the disable option. The disable option is useful for excluding specific interfaces from performing prefix-suppression when the feature is enabled globally.
Note that the disable option is not equivalent to not configuring the interface specific prefix-suppression. If prefix-suppression is not configured at the interface level, the global prefix-suppression configuration is applicable for the IPv6 prefixes associated with the interface.
| Default | prefix-suppression is not configured. |
| Format | ipv6 ospf prefix-suppression [disable] |
| Mode | Interface Config |
no ipv6 ospf prefix-suppression
This command removes prefix-suppression configurations at the interface level. When the no ipv6 ospf prefix-suppression command is used, global prefix-suppression applies to the interface. However, entering the no ipv6 ospf prefix-suppression command is not the same as disabling interface level prefix-suppression.
| Format | no ipv6 ospf prefix-suppression |
| Mode | Interface Config |
ipv6 ospf priority
M4350
This command sets the OSPF priority for the specified router interface or range of interfaces. For the priority argument, the priority of the interface is an integer in the range from 0 to 255. A value of 0 indicates that the router is not eligible to become the designated router on this network.
| Default | 1, which is the highest router priority |
| Format | ipv6 ospf priority priority |
| Mode | Interface Config |
no ipv6 ospf priority
This command sets the default OSPF priority for the specified router interface.
| Format | no ipv6 ospf priority |
| Mode | Interface Config |
ipv6 ospf retransmit-interval
M4350
This command sets the OSPF retransmit interval for the specified interface or range of interfaces. The retransmit interval is specified in seconds. The value for seconds is the number of seconds between link-state advertisement retransmissions for adjacencies belonging to this router interface. This value is also used when retransmitting database description and link-state request packets. For the seconds argument, a valid value is in the range from 0 to 3600 seconds (1 hour).
| Default | 5 |
| Format | ipv6 ospf retransmit-interval seconds |
| Mode | Interface Config |
no ipv6 ospf retransmit-interval
This command sets the default OSPF retransmit interval for the specified interface.
| Format | no ipv6 ospf retransmit-interval |
| Mode | Interface Config |
ipv6 ospf transmit-delay
M4350
This command sets the OSPF transmit delay for the specified interface or range of interfaces. The transmit delay is specified in seconds. In addition, it sets the estimated number of seconds it takes to transmit a link state update packet over this interface. For the seconds argument, a valid value is in the range from 0 to 3600 seconds (1 hour).
| Default | 1 |
| Format | ipv6 ospf transmit-delay seconds |
| Mode | Interface Config |
no ipv6 ospf transmit-delay
This command sets the default OSPF transmit delay for the specified interface.
| Format | no ipv6 ospf transmit-delay |
| Mode | Interface Config |