If-Match Interface - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

View
Route policy view
Parameters
value: Route cost, in the range of 0 to 4294967295.
Description
Use the if-match cost command to configure a cost matching rule for routing information.
Use the undo if-match cost command to remove the configuration.
By default, no cost matching rule 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 cost, apply tag.
Examples
# Define an if-match clause to match routes with the cost of 8.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] route-policy policy permit node 1
%New sequence of this list
[Sysname-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
Parameters
interface-type interface-number: Specifies the interface type and interface number.
Description
Use the if-match interface command to match routes having the specified outgoing interface.
Use the undo if-match interface command to remove the match rule.
By default, no such a matching rule is configured.
This command matches routes having next hops pass through the specified interface.
Related commands: if-match acl, if-match ip-prefix, if-match ip next-hop, if-match cost, if-match
tag, route-policy, apply cost, apply tag.
Examples
# Define an if-match clause to match routes with the outbound interface VLAN-interface 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
5-5

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the s3600 series and is the answer not in the manual?

Questions and answers

Table of Contents