EasyManua.ls Logo

3Com 5500G-EI - If-Match Cost; If-Match Interface

3Com 5500G-EI
530 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
226 CHAPTER 6: USING ROUTING PROTOCOL COMMANDS
if-match cost Syntax
if-match cost
value
undo if-match cost
View
Route Policy view
Parameter
value
Specify 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
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 match sub-statement is defined.
Related commands: if-match interface, if-match acl, if-match ip-prefix,
if-match ip next-hop, if-match tag, route-policy, apply ip next-hop,
apply local-preference, apply cost, apply origin
and apply tag.
Example
A match sub-statement is defined, which allows the routing information with
routing cost 8 to pass this match sub-statement.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]route-policy permit node 1
% New sequence of this list
[SW5500-route-policy]if-match cost 8
if-match interface Syntax
if-match interface {
interface_name
|
interface_type
interface_number
}
undo if-match interface
View
Route Policy view
Parameter
interface_type
Enter interface type.
interface_number
Enter interface number.
interface_name
Enter interface name.
Description
Use the if-match interface command to match the route whose next hop is the
designated interface.

Table of Contents

Related product manuals