Filtering Routing Information - Cisco Catalyst 3560-X Software Configuration Manual

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

Chapter 1
Configuring IP Unicast Routing
Command
Step 11
end
Step 12
show route-map [map-name]
Step 13
show ip policy
Step 14
show ip local policy
Step 15
copy running-config startup-config
Use the no route-map map-tag global configuration command or the no match or no set route-map
configuration commands to delete an entry. Use the no ip policy route-map map-tag interface
configuration command to disable PBR on an interface. Use the no ip route-cache policy interface
configuration command to disable fast-switching PBR. Use the no ip local policy route-map map-tag
global configuration command to disable policy-based routing on packets originating on the switch.

Filtering Routing Information

You can filter routing protocol information by performing the tasks described in this section.
When routes are redistributed between OSPF processes, no OSPF metrics are preserved.
Note
Setting Passive Interfaces
To prevent other routers on a local network from dynamically learning about routes, you can use the
passive-interface router configuration command to keep routing update messages from being sent
through a router interface. When you use this command in the OSPF protocol, the interface address you
specify as passive appears as a stub network in the OSPF domain. OSPF routing information is neither
sent nor received through the specified router interface.
In networks with many interfaces, to avoid having to manually set them as passive, you can set all
interfaces to be passive by default by using the passive-interface default router configuration command
and manually setting interfaces where adjacencies are desired.
Beginning in privileged EXEC mode, follow these steps to configure passive interfaces:
Command
Step 1
configure terminal
Step 2
router {bgp | rip | ospf | eigrp}
Step 3
passive-interface interface-id
Step 4
passive-interface default
Step 5
no passive-interface interface type
Step 6
network network-address
OL-25303-03
Purpose
Return to privileged EXEC mode.
(Optional) Display all route maps configured or only the one
specified to verify configuration.
(Optional) Display policy route maps attached to interfaces.
(Optional) Display whether or not local policy routing is
enabled and, if so, the route map being used.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Enter router configuration mode.
Suppress sending routing updates through the specified Layer 3
interface.
(Optional) Set all interfaces as passive by default.
(Optional) Activate only those interfaces that need to have
adjacencies sent.
(Optional) Specify the list of networks for the routing process. The
network-address is an IP address.
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
Configuring Protocol-Independent Features
1-103

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents