918
Configuring IP Unicast Routing
Configuring Protocol-Independent Features
DETAILED STEPS
Command
Purpose
1.
configure terminal
Enter global configuration mode.
2.
route-map
map-tag
[
permit
] [
sequence
number
]
Define any route maps used to control where packets are
output, and enter route-map configuration mode.
map-tag
—A meaningful name for the route map. The
ip policy route-map
interface configuration command
uses this name to reference the route map. Multiple
route maps might share the same map tag name.
(Optional) If
permit
is specified and the match criteria
are met for this route map, the route is policy-routed
as controlled by the set actions.
Note:
The
route-map deny
statement is not supported in
PBR route maps to be applied to an interface.
sequence number
(Optional)— Number that shows the
position of a new route map in the list of route maps
already configured with the same name.
3.
match ip address
{
access-list-number
|
access-list-name
}
[.
..access-list-number
|
...access-list-name
]
Match the source and destination IP address that is
permitted by one or more standard or extended access
lists.
Note:
Do not enter an ACL with a deny ACE or an ACL that
permits a packet destined for a local address.
If you do not specify a
match
command, the route map
applies to all packets.
4.
set ip next-hop
ip-address
[.
..ip-address
]
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).
5.
exit
Return to global configuration mode.
6.
interface
interface-id
Enter interface configuration mode, and specify the
interface to configure.
7.
no shutdown
Enable the interface if necessary. By default, UNIs and ENIs
are disabled and NNIs are enabled.
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.
Note:
If the IP policy route map contains a
deny
statement,
the configuration fails.
9.
ip route-cache policy
(Optional) Enable fast-switching PBR. You must first enable
PBR before enabling fast-switching PBR.
10.
exit
Return to global configuration mode.
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.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...