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
.
Содержание DES-7200
Страница 1: ...DES 7200 CLI Reference Guide Version 10 3 5 ...
Страница 40: ......
Страница 70: ......
Страница 76: ......
Страница 80: ......
Страница 114: ......
Страница 128: ...Chapter 11 Protocol VLAN Configuration Commands DES 7200 CLI Reference Guide 11 4 ...
Страница 142: ......
Страница 166: ......
Страница 180: ......
Страница 216: ......
Страница 244: ......
Страница 306: ......
Страница 312: ......
Страница 320: ...Chapter 26 SNTP Configuration Commands DES 7200 CLI Reference Guide 26 4 show sntp Show the SNTP configuration ...
Страница 332: ......
Страница 352: ......
Страница 360: ......
Страница 400: ......
Страница 474: ......
Страница 710: ......
Страница 738: ......
Страница 776: ......
Страница 854: ......
Страница 864: ...Chapter 43 Port based Flow Control Configuration Commands DES 7200 CLI Reference Guide 43 10 ...
Страница 936: ......
Страница 960: ......
Страница 970: ......
Страница 976: ......
Страница 986: ......
Страница 990: ......
Страница 1099: ...DES 7200 CLI Reference Guide Chapter 58 RERP Configuration Commands 58 9 Command mode Privileged EXEC mode ...
Страница 1100: ......
Страница 1108: ......
Страница 1114: ...Chapter 60 RLDP Configuration Command DES 7200 CLI Reference Guide 60 6 Command mode Privileged EXEC mode ...
Страница 1118: ......
Страница 1126: ......
Страница 1134: ......
Страница 1172: ......