EasyManuals Logo

H3C S3600 Series Command Manual

H3C S3600 Series
1277 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #377 background imageLoading...
Page #377 background image
5-6
[Sysname] route-policy policy permit node 1
%New sequence of this list
[Sysname-route-policy] if-match interface Vlan-interface 1
if-match ip next-hop
Syntax
if-match ip next-hop { acl acl-number | ip-prefix ip-prefix-name }
undo if-match ip next-hop [ ip-prefix ]
View
Route policy view
Parameters
acl acl-number: Number of a basic ACL used for filtering, in the range of 2000 to 2999.
ip-prefix ip-prefix-name: Name of the IP address prefix list used for filtering, a string of 1 to 19
characters.
Description
Use the if-match ip next-hop command to match routes with next hops specified in an ACL or IP prefix
list.
Use the undo if-match ip next-hop command to remove the matching rule with an ACL.
Use the undo if-match ip next-hop ip-prefix command to remove the matching rule with an IP prefix
list.
By default, no next hop matching rule is defined.
Related commands: if-match interface, if-match acl, if-match ip-prefix, if-match cost, if-match tag,
route-policy, apply cost, apply tag.
Examples
# Define an if-match clause to match routes with next hops specified in the IP address prefix list p1.
<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 ip next-hop ip-prefix p1
if-match tag
Syntax
if-match tag value
undo if-match tag
View
Route policy view

Table of Contents

Other manuals for H3C S3600 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3600 Series and is the answer not in the manual?

H3C S3600 Series Specifications

General IconGeneral
BrandH3C
ModelS3600 Series
CategorySwitch
LanguageEnglish

Related product manuals