DES-7200 CLI Reference Guide
Chapter 34 Protocol-independent Configuration Commands
34-51
To use the policy-based routing, you must specify the
route map for it and create the route map. A route map
contains multiple policies, and each policy defines one or
more match rules and the corresponding operations. After
policy-based routing is applied to an interface, the packets
received by the interface will be checked. The packets that
do not match any policy in the route map will be forwarded
to the usual route. The packets that match a policy in the
route map will be processed according to the operation
defined in the policy.
If the first defined interface becomes
down
, the interface
set by the second
set
command will be attempted. A
route-map policy may contain multiple
set
operations.
If the interface is set as null 0, the packets will be
discarded.
Examples
In the example below, the policy-based routing is enabled on serial
1/0 to send the traffic whose packet size is less than 500 bytes
through fastethernet 0/0 interface.
interface serial 1/0
ip policy route-map smallpak
route-map smallpak permit 10
match length 0 500
set interface fastethernet 0/0
Related
commands
Command
Description
route-map
Define a route map.
match ip address
Match the IP address.
match length
Match the packet length.
set default interface
Set the default outgoing
interface when there is no
route in the routing table.
set ip default next-hop
Set the default next hop of the
packets when there is no
route in the routing table.
set ip next-hop
Set the next-hop IP address
of the packets.
set ip precedence
Set the priority of the packets.
Содержание 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: ......