Chapter 34 Protocol-independent Configuration Commands
DES-7200 CLI Reference Guide
34-48
Command
mode
Route map configuration mode
Usage
guideline
Multiple interfaces may follow the
set default interface
command.
Policy-based routing is a packet forwarding mechanism
more flexible than the routing based on the target network.
If policy-based routing is used, the device will determine
how to process the packets to be routed according to the
route map, which determines the next-hop device of the
packets.
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.
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 and
the route is not defined through fastEthernet 1/0 interface.
interface serial 1/0
ip policy route-map smallpak
route-map smallpak permit 10
match length 0 500
set default interface fastethernet 1/0
Related
commands
Command
Description
route-map
Define a route map.
match ip address
Match the IP address.
match length
Match the packet length.
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: ......