Cisco Systems ME3400G2CSA Switch User Manual


 
32-79
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
78-17058-01
Chapter 32 Configuring IP Unicast Routing
Configuring Protocol-Independent Features
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.
Note When routes are redistributed between OSPF processes, no OSPF metrics are preserved.
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.
Step 8
ip policy route-map map-tag Enable PBR on a Layer 3 interface, and identify the route map
to use. You can configure only one route map on an interface.
However, you can have multiple route map entries with
different sequence numbers. These entries are evaluated in
sequence number order until the first match. If there is no
match, packets are routed as usual.
Step 9
ip route-cache policy (Optional) Enable fast-switching PBR. You must first enable
PBR before enabling fast-switching PBR.
Step 10
exit Return to global configuration mode.
Step 11
ip local policy route-map map-tag (Optional) Enable local PBR to perform policy-based routing
on packets originating at the switch. This applies to packets
generated by the switch and not to incoming packets.
Step 12
end Return to privileged EXEC mode.
Step 13
show route-map [map-name] (Optional) Display all route maps configured or only the one
specified to verify configuration.
Step 14
show ip policy (Optional) Display policy route maps attached to interfaces.
Step 15
show ip local policy (Optional) Display whether or not local policy routing is
enabled and, if so, the route map being used.
Step 16
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose