You can configure an IS-IS passive interface. A passive interface only advertises its IP address in its LSPs; it does not send or receive IS-IS packets.
Optionally, you can set a route tag for an IS-IS passive interface by including the tag keyword and a numeric tag value in the passive-interface command.
Passive interfaces have a metric of zero by default. You can set a different metric for a particular passive interface by specifying the value along with the metric keyword. A global default metric set with the metric command does not affect any passive interface. Similarly, configuring a reference bandwidth for IS-IS has no effect on passive interfaces. Metrics specified for a passive interface apply to both level 1 and level 2 interfaces unless you restrict the metric to a single level.
passive-interface
- host1(config)#router isis floor12
- host1(config-router)#net 47.0010.0000.0000.0000.0001.0001.1111.1111.1111.00
- host1(config-router)#passive-interface loopback
0
- host1(config-router)#exit
- host1(config)#interface atm 2/0.1
- host1(config-subif)#ip router isis floor12
- host1(config-subif)#exit
- host1(config)#interface atm 2/1.1
- host1(config-subif)#ip router isis floor12
You can override the passive-interface configuration simply by issuing the complementary command. For example, suppose you issue the following commands after the previous configuration:
- host1(config-router)#passive-interface atm
2/0.1
- host1(config-router)#exit
- host1(config)#interface loopback 0
- host1(config-if)#ip router isis floor12
Now IS-IS advertises the IP address of ATM 2/0.1 in its link-state PDUs, but runs only on loopback 0 and ATM 2/1.1.
- host1(config)#router isis floor12
- host1(config-router)#passive-interface loopback
0 tag 12
- host1(config)#router isis floor12
- host1(config-router)#passive-interface loopback
0 metric 45 level-2