3com 3031 Instruccion De Instalación
412
C
HAPTER
33: IP U
NICAST
P
OLICY
R
OUTING
C
ONFIGURATION
sequence-num
, the higher the priority is, so the defined policy will be executed
first. The policy can be used to redistribute route and perform policy routing when
IP packets are forwarded. The contents of the policy will be specified by the
IP packets are forwarded. The contents of the policy will be specified by the
if-match
and
apply
clauses.
Perform the following task in system view.
permit
means applying policy routing for the packets meeting the conditions, and
deny
means not applying policy routing for the packets meeting the conditions.
By default, no route-policy and the related node configuration is defined.
Defining the if-match
clause of policy routing
IP unicast policy routing provides two
if-match
clauses,
if-match
packet-length
clause and
if-match acl
clause, i.e. determing which policy to
be used according to IP packet length and IP address. One policy can include
multiple if-match clauses, which can be used in combination.
multiple if-match clauses, which can be used in combination.
Perform the following task in ROUTE-POLICY view.
By default, no if-match clause is defined.
Defining the apply
Clause of Policy Routing
IP unicast policy routing provides 5 apply clauses. One strategy can include
multiple apply clauses, which can be used in combination.
multiple apply clauses, which can be used in combination.
Perform the following task in route-policy view.
Table 464 Establishing a route-policy
Operation
Command
Establish a route-policy or a policy node
route-policy policy-name { permit |
deny } node sequence-number
deny } node sequence-number
Delete a route-policy or a policy node
undo route-policy policy-name [
permit | deny ]
permit | deny ]
Table 465 Defining if-match clause of policy routing
Operation
Command
Specify matching to be IP packet
the length
the length
if-match packet-length min-len max-len
Specify matching to be IP address
if-match acl acl-number
Table 466 Defining apply clause of policy routing
Operation
Command
Set packet precedence
apply ip-precedence precedence
Set packet transmitting
interface
interface
apply output-interface interface-type
interface-number [ ... interface-type
interface-number ]
interface-number [ ... interface-type
interface-number ]
Set packet next-hop
apply ip-address next-hop ip-address [ ...
ip address ]
ip address ]
Set packet default transmitting
interface
interface
apply default output-interface
interface-type interface-number [ ...
interface-type interface-number ]
interface-type interface-number [ ...
interface-type interface-number ]