3com 8807 참조 가이드

다운로드
페이지 1099
558
C
HAPTER
 28: IP R
OUTING
 P
OLICY
 C
ONFIGURATION
 C
OMMANDS
Related command: route-policyip community-list.
Example
# First define a community-list numbered 1, allowing it to contain the routing 
information of AS 100 and AS 200. Then, define a route-policy named "test". An 
if-match sub-statement is defined for Node 10 of the route-policy, which quotes 
the definition of the community-list.
[SW8800] ip community-list 1 permit 100:200
 
[SW8800] route-policy test permit node 10
 
[3Com-route-policy] if-match community 1 
if-match cost
Syntax
if-match cost value
undo if-match cost
View
Route policy view
Parameter
value: Specifies the required route metric value, ranging from 0 to 4294967295.
Description
Use the if-match cost command to configure one of the match rules of the 
route-policy to match the cost of the routing information.
Use the undo if-match cost command to cancel the configuration of the match 
rule.
By default, no if-match sub-statement is defined.
This is an if-match sub-statement of Route-policy, used to specify the cost of a 
route matches the specified condition.
Related command: if-match interfaceif-match aclif-match ip-prefix
if-match ip next-hopif-match tagroute-policyapply ip next-hopapply 
local-preference
apply costapply originapply tag.
Example
# Define an if-match sub-statement, allowing the routing information with routing 
cost of 8 to pass this if-match sub-statement.
[3Com-route-policy] if-match cost 8 
if-match interface
Syntax
if-match interface interface-type interface-number
undo if-match interface
View
Route policy view