5-7
Parameters
value
: Tag value, in the range of 0 to 4294967295.
Description
Use the
if-match tag
command to configure the tag matching rule for routing information.
Use the
undo if-match tag
command to remove the matching rule.
By default, no the tag matching rule for routing information is defined.
Related commands:
if-match interface
,
if-match acl
,
if-match ip-prefix
,
if-match ip next-hop
,
if-match cost
,
route-policy
,
apply cost
,
apply tag
.
Examples
# Define an if-match clause to match OSPF routes having the tag value 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 tag 8
ip ip-prefix
Syntax
ip ip-prefix
ip-prefix-name
[
index
index-number
] {
permit
|
deny
}
network len
[
greater-equal
greater-equal
|
less-equal
less-equal
] *
undo ip ip-prefix
ip-prefix-name
[
index
index-number
|
permit
|
deny
]
View
System view
Parameters
ip-prefix-name:
Name of an IP-prefix, a string of up to 19 characters. It identifies an address prefix list
uniquely.
index-number
: Identifier of an entry in the IP address prefix list, in the range 1 to 2047. The entry with a
smaller index-number will be tested first.
permit
: Specifies the match mode of the defined IP-prefix entries as
permit
mode. If the permit mode is
specified and the IP address to be filtered is in the ip-prefix range specified by the entry, the entry is
filtered through and the next entry is not tested. If the IP address to be filtered is not in the ip-prefix
range specified by the entry, the next entry is tested
deny
: Specifies the match mode of the defined IP-prefix entries as
deny
mode. If the deny mode is
specified and the IP address to be filtered is in the ip-prefix range specified by the entry, the entry is not
filtered through and the next entry is not tested; otherwise, the next entry is tested.
network
: IP address prefix (IP address), in dotted decimal notation.
len
: IP address prefix length (mask length), in the range of 0 to 32.
greater-equal, less-equal
: Address prefix range [greater-equal,
less-equal
] to be matched after the
address prefix
network len
has been matched. The meaning of
greater-equal
is "greater than or equal
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...