1-7
z
If a route policy node has the
permit
keyword specified, routing information matching all the
if-match
clauses of the node will be handled using the
apply
clauses of this node, without needing
to match against the next node. If routing information does not match the node, it will go to the next
node for a match.
z
If a route policy node has the
deny
keyword specified, the
apply
clauses of the node will not be
executed. When routing information matches all the
if-match
clauses of the node, it cannot pass
the node, or go to the next node. If route information cannot match all the
if-match
clauses of the
node, it will go to the next node for a match.
z
When a route policy has more than one node, at least one node should be configured with the
permit
keyword. If the route policy is used to filter routing information, routing information that does
not meet any node cannot pass the route policy. If all nodes of the route policy are set with the
deny
keyword, no routing information can pass it.
Defining if-match Clauses
Follow these steps to define if-match clauses for a route-policy node:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter route policy node view
route-policy
route-policy-name
{
deny
|
permit
}
node
node-number
Required
Match IPv4 routing
information
specified in the
ACL
if-match
acl acl-number
Match IPv4 routing
information
specified in the IP
prefix list
if-match ip-prefix
ip-prefix-name
Optional
Not configured by
default.
Define match
criteria for IPv4
routes
Match IPv4 routing
information whose
next hop or source
is specified in the
ACL or IP prefix list
if-match ip
{
next-hop
|
route-source
}
{
acl acl-number
|
ip-prefix
ip-prefix-name
}
Optional
Not configured by
default.
Match IPv6 routing information whose
next hop or source is specified in the ACL
or IP prefix list
if-match ipv6
{
address
|
next-hop
|
route-source
} {
acl
acl-number |
prefix-list
ipv6-prefix-name
}
Optional
Not configured by
default.
Match BGP routing information whose AS
path attribute is specified in the AS path
list (s)
if-match as-path
AS-PATH-number
&<1-16>
Optional
Not configured by
default.
Содержание S7902E
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45 ...
Страница 598: ...ii ...
Страница 1757: ...4 9 ...
Страница 1770: ...6 4 ...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface ...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2 ...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20 ...