ip ospf vlan (for a VLAN)
Configure OSPF on a VLAN.
Syntax
-
default ip ospf vlan <1-4059>
-
ip ospf vlan <1-4059> advertise-when-down enable
-
ip ospf vlan <1-4059> area {A.B.C.D}
-
ip ospf vlan <1-4059> authentication-key WORD<0-8>
-
ip ospf vlan <1-4059> authentication-type message-digest
-
ip ospf vlan <1-4059> authentication-type none
-
ip ospf vlan <1-4059> authentication-type simple
-
ip ospf vlan <1-4059> cost <0-65535>
-
ip ospf vlan <1-4059> dead-interval <0-2147483647>
-
ip ospf vlan <1-4059> enable
-
ip ospf vlan <1-4059> hello-interval <1-65535>
-
ip ospf vlan <1-4059> mtu-ignore enable
-
ip ospf vlan <1-4059> network { broadcast | nbma | passive | p2p}
-
ip ospf vlan <1-4059> poll-interval <0-2147483647>
-
ip ospf vlan <1-4059> primary-md5-key <1-255>
-
ip ospf vlan <1-4059> priority <0-255>
-
ip ospf vlan <1-4059> retransmit-interval <0-3600>
-
ip ospf vlan <1-4059> transit-delay <0-3600>
-
no ip ospf vlan <1-4059>
Command Parameters
- <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.
- advertise-when-down enable
- Enables or disables
AdvertiseWhenDown. If enabled, the network on this interface is advertised as up,
even if the port is down. When you configure a VLAN with no link and enable
advertise-when-down, the route is not advertised until the VLAN is active. Then
the route is advertised even when the link is down. To disable advertising based
on link status, this parameter must be disabled. The default is disabled.
- area {A.B.C.D}
- Configures OSPF parameters on a
VLAN to control how OSPF behaves.
- authentication-key WORD<0-8>
- Configures the eight-character
simple password authentication key for the VLAN.
- authentication-type
- Configures the OSPF authentication
type for the VLAN. If simple, all OSPF updates the interface receives must contain
the authentication key specified by the area authentication-key command. If MD5,
they must contain the MD5 key. The default is none.
- cost <0-65535>
- Configures the OSPF cost
associated with this interface and advertised in router link advertisements. The
default is 0.
- dead-interval <0-2147483647>
- Configures the router OSPF dead
interval-the number of seconds the OSPF neighbors of a switch must wait before
assuming that the OSPF router is down. The value must be at least four times the
Hello interval. The default is 40.
- enable
- Enables OSPF on the VLAN. The
default is disabled.
- hello-interval <1-65535>
- Configures the OSPF Hello
interval, which is the number of seconds between Hello packets sent on this
interface. The default is 10.
- mtu-ignore enable
- Enables maximum transmission unit
(MTU) ignore. To allow the switch to accept OSPF database description (DBD)
packets with a different MTU size, enable mtu-ignore. Incoming OSPF DBD packets
are dropped if their MTU is greater than 1500 bytes.
- network { broadcast | nbma | passive | p2p}
- Specifies the type of OSPF
interface.
- poll-interval <0-2147483647>
- Configures the OSPF poll interval
in seconds. The default is 120.
- primary-md5-key <1-255>
- Changes the primary key used to
encrypt outgoing packets. <1-255> is the ID for the new message digest
key.
- priority <0-255>
- Configures the OSPF priority for
the VLAN during the election process for the designated router. The VLAN with the
highest priority number is the best candidate for the designated router. If you
configure the priority to 0, the VLAN cannot become either the designated router
or a backup designated router. The default is 1.
- retransmit-interval <0-3600>
- Configures the retransmit interval
for the virtual interface, the number of seconds between link-state advertisement
retransmissions.
- transit-delay <0-3600>
- Configures the transit delay for
the virtual interface, which is the estimated number of seconds required to
transmit a link-state update over the interface.
Command Mode
VLAN Interface Configuration
Usage Guideline
The p2p parameter
does not apply to VSP 8600
Series.