To suppress routing updates on an interface and make the interface passive, use the command passive-interface in OSPF Router Configuration Mode. The no form of the command enables routing updates on an interface. OSPF routing information is neither sent nor received through the specified router interface.
Parameter | Type | Description |
---|---|---|
vlan
|
Enter to configure specified VLAN / VFI ID as passive interface. | |
<vlan-id/vfi-id>
|
Enter a value for the VLAN ID or VFI-ID for which the
passive interface will be configured. This value ranges from 1 to
65535. The options are as follow:
Note:
The VLAN ID 4095 is reserved and may be used to indicate a wildcard match for the VID in management operations or Filtering Database entries. Note:
VFI IDs 4096 and 4097 are reserved identifiers used in MPLS PW Note:
The theoretical maximum for the maximum number of VFI is 65535 but the actual number of VFI supported is a sizing constant. Based on this, the maximum number of VFI ID accepted in the management interface is restricted. For example if 100 VFIs are supported, the maximum number of VFI supported will be restricted to maximum number of VLANs + 100. An error message is displayed for any value beyond this range. |
|
switch
|
Enter to configure a switch context. | |
<switch-name>
|
Enter default for switch name. | |
<interface-type>
|
Enter interface type to configure the passive interface.
The interface types are:
|
|
<interface-id>
|
Enter a value interface number to configure the network type. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example, 0/1 represents that the slot number is 0 and port number is 1. | |
<IP-interface-type>
|
Enter to configure the network type for the specified L3 Pseudo wire interface in the system. | |
<IP interface-num>
|
Enter a value to configure the network type for the specified
L3 Pseudo wire interface in the system. Network type for the specified L3
Pseudo wire interface identifier. This is a unique value that represents
the specific interface. This value ranges from 1 to 65535 for Pseudowire
interface.
Note:
Maximum number of PseudoWire interfaces supported in the system is 100. |
|
default
|
Enter to configure the passive interface to be default i.e. all OSPF interfaces created after the execution of this command will be passive. This is useful in Internet service provider (ISP) and large enterprise networks where many of the distribution routers have more than 200 interfaces. |
OSPF Router Configuration Mode
iS5Comm(config)# router ospf
iS5Comm(config-router)# passive-interface gigabitethernet 0/2
iS5Comm(config-router)# passive-interface default