Specifications

2-405
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
passive-interface
You cannot specify both a macro and an interface range in the same command. After creating a macro,
you can enter additional ranges. I f you have already entered an inter face range, the CLI does not al low
you to enter a macro.
You can specify a single interface in the range range value. This makes the command similar to the
passive-interface interface-number command.
Note The range keyword is on ly supported in OSPF, EIGRP, RIP, and ISIS router mode .
If you disable the sending of routing updates on an interface, t he particular subnet wi ll continue to be
advertised to other interfaces, and updates from other routers on that interface continue to be received
and processed.
The defa ult keyword sets all inte rfaces as passive by default. You can then configure individual
interfaces where adjacencies are desired using the no passive-interface command. T he default keyword
is useful in Internet service provider (ISP) and large enterprise networks where many of the distribution
routers have more than 200 interfaces.
For the Open Shortest Path First (OSPF) protocol, OSPF routing information is neither sent nor received
through the specified router inter face. The specified inte rface address appea rs as a stub network in the
OSPF domain.
For the Intermediate System-to-Intermediate System (IS-IS) protocol, this command instructs IS-IS to
advertise the IP addresses for the specified interface without actually running IS-IS on that interface. The
no form of this command for IS-IS disables advertising IP addresses for the specified address.
Note For IS-IS you must keep at least one active interface and configure the interface with the ip router isis
command .
Enhanced Interior Gateway Routing Protocol (EIGRP) is disa bled on an interface th at is configured as
passive although it advertises the ro ute.
Examples The following exam ple sends EIGRP update s to all interfaces on netwo rk 10.108.0.0 except
GigabitEthernet interface 1/1:
Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# router eigrp 109
Switch(config-router)# network 10.108.0.0
Switch(config-router)# passive-interface gigabitethernet 1/1
Switch(config-router)#
The following configuration enable s IS-IS on Ethernet inte rface 1 and serial inter face 0 and advertises
the IP addresses of Ethernet interface 0 in its link-state protocol data units (PDUs):
Switch(config-if)# router isis Finance
Switch(config-router)# passive-interface Ethernet 0
Switch(config-router)# interface Ethernet 1
Switch(config-router)# ip router isis Finance
Switch(config-router)# interface serial 0
Switch(config-router)# ip router isis Finance
Switch(config-router)#
The following example sets all interfaces as passive, then activates Ethernet interface 0:
Switch(config-if)# router ospf 100
Switch(config-router)# passive-interface default