Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-17
greater-equal
is used, it denotes the prefix range [
greater-equal
, 32]. When only
less-equal
is used, it denotes the prefix range [
len
,
less-equal
].
Description
Using
ip ip-prefix
command, you can configure an address prefix list or one of its items,
which can also be deleted with
undo ip ip-prefix
command.
By default, there’s no address prefix list.
The address prefix list is used for IP address filtering. An address prefix list may contain
several items, and each item specifies one address prefix range. The inter-item filtering
relation is "OR", i.e. passing an item means passing the filtering of this address prefix
list. Not passing the filtering of any item means not passing the filtration of this prefix
address list.
The address prefix range may contain two parts, which are determined by len and
[
greater-equal
,
less-equal
] respectively. If the prefix ranges of these two parts are both
specified, the IP to be filtered must match the prefix ranges of these two parts.
If you specify
network len
as 0.0.0.0 0, it only matches the default route.
Example
# The prefix address list of this address indicates to match the bits 1 to 8 and the bits 17
to 18 for filtering the IP address with the bits 1 to 8 and the bits 17 to 18 of the specified
IP network segment 10.0.192.0.
[Quidway] ip ip-prefix p1 permit 10.0.192.0 8 greater-equal 17 less-equal 18
6.1.22 route-policy
Syntax
route-policy
route-policy-name
{
permit
|
deny
}
node
{
node-number
}
undo route-policy
route-policy-name
[
permit
|
deny
|
node
node-number
]
View
System view
Parameter
route-policy-name
: Specify the Route-policy name to identify one Route-policy uniquely.
The length of
route-policy-name
parameter ranges from 1 to 16 character string.
permit
: Specify the match mode of the defined Route-policy node as permit mode.
deny
: Specify the match mode of the defined Route-policy node as deny mode.
node
: Node of the route policy.
node-number
: Index of the node in the route-policy. When this route-policy is used for
routing information filtration, the node with smaller
node-number
will be tested first.
Содержание Quidway S6500 Series
Страница 38: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Port ...
Страница 75: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual VLAN ...
Страница 102: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Network Protocol ...
Страница 169: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Routing Protocol ...
Страница 378: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Multicast Protocol ...
Страница 436: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual QoS ACL ...
Страница 499: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual STP ...
Страница 547: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Security ...
Страница 613: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Reliability ...
Страница 630: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual System Management ...
Страница 793: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual PoE ...
Страница 818: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Appendix ...