Filtering Routing Information - Cisco Catalyst 3750 Software Configuration Manual

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Configuring Protocol-Independent Features
Command
Step 3
match ip address {access-list-number |
access-list-name} [...access-list-number
| ...access-list-name]
Step 4
set ip next-hop ip-address
[...ip-address]
Step 5
exit
Step 6
interface interface-id
Step 7
ip policy route-map map-tag
Step 8
ip route-cache policy
Step 9
exit
Step 10
ip local policy route-map map-tag
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
Catalyst 3750 Metro Switch Software Configuration Guide
28-96
Purpose
Match the source and destination IP address that is permitted by one or
more standard or extended access lists.
If you do not specify a match command, the route map applies to all
packets.
Specify the action to take on the packets that match the criteria. Set next
hop to which to route the packet (the next hop must be adjacent).
Return to global configuration mode.
Enter interface configuration mode, and specify the interface to
configure.
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.
(Optional) Enable fast-switching PBR. You must first enable PBR before
enabling fast-switching PBR.
Return to global configuration mode.
(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.
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.
Chapter 28
Configuring IP Unicast Routing
78-15870-01

Advertisement

Table of Contents
loading

Table of Contents