
Chapter 35 PBR Configuration Commands
DES-7200 CLI Reference Guide
35-2
on the switch, the route map will have a restriction used by
policy-based routing: the configured ACL must be a type of numerical
value in stead of name-configured ACL. There is no this restriction on
the device.
Note that up to one route map can be configured on an interface.
When you configure a route map on the interface for many times, the
latter will overwrite the former.
Examples
In the example below, when the fast Ethernet interface FE0 receives
datagram, if the source address of the datagram is 10.0.0.1, it sets
the next-hop as 196.168.4.6; if the source address is 20.0.0.1, it sets
the next-hop as 196.168.5.6; otherwise, otherwise, the general
forwarding will be performed.
access-list 1 permit 10.0.0.1
access-list 2 permit 20.0.0.1
route-map lab1 permit 10
match ip address 1
set ip next-hop 196.168.4.6
exit
route-map lab1 permit 20
match ip address 2
set ip next-hop 196.168.5.6
exit
interface FastEthernet 0/0
ip policy route-map lab1
exit
Related
commands
Command
Description
access-list
Define the access list rule.
route-map
Define the route map.
set ip next-hop
Set the next hop of the policy-based
routing.
set ip default
next-hop
Set the default next hop of the
policy-based routing.
set ip dscp
Set the DSCP of the IP packet.
match
ip
address
Set the IP address.
match length
Match the packet length.
Note: For the commands on route-map, refer to
Protccol Independent Commands
.
Summary of Contents for DES-7200
Page 1: ...DES 7200 CLI Reference Guide Version 10 3 5 ...
Page 40: ......
Page 70: ......
Page 76: ......
Page 80: ......
Page 114: ......
Page 128: ...Chapter 11 Protocol VLAN Configuration Commands DES 7200 CLI Reference Guide 11 4 ...
Page 142: ......
Page 166: ......
Page 180: ......
Page 216: ......
Page 244: ......
Page 306: ......
Page 312: ......
Page 332: ......
Page 352: ......
Page 360: ......
Page 400: ......
Page 474: ......
Page 710: ......
Page 738: ......
Page 776: ......
Page 854: ......
Page 864: ...Chapter 43 Port based Flow Control Configuration Commands DES 7200 CLI Reference Guide 43 10 ...
Page 936: ......
Page 960: ......
Page 970: ......
Page 976: ......
Page 986: ......
Page 990: ......
Page 1100: ......
Page 1108: ......
Page 1118: ......
Page 1126: ......
Page 1134: ......
Page 1172: ......