Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-19
prefix list, the route is denied without further check. If otherwise, the IP address is
checked against the next address prefix entry.
network
: The IP address prefix range (IP address). If it is 0.0.0.0 0, all the IP addresses
are matched.
len
: The IP address prefix range (mask length). If it is 0.0.0.0 0, all the IP addresses are
matched.
greater-equal, less-equal
: The 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 "larger than or equal to", and the meaning of
less-equal
is "less than
or equal to". The range is
len
<=
greater-equal
<=
less-equal
<= 32. When only
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
Use the
ip ip-prefix
command to configure an address prefix list or one of its items.
Use the
undo ip ip-prefix
command to delete an address prefix list or one of its items.
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.
If you specify
network len
as 0.0.0.0 0
less-equal
32, it matches all routes.
Example
# Define an address prefix list named “p1”, permitting the routes of the network
segment 10.0.192.0 8 with a mask length of 17 or 18 to pass.
[Quidway] ip ip-prefix p1 permit 10.0.192.0 8 greater-equal 17 less-equal 18
6.1.24 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
Содержание Quidway S8500 Series
Страница 53: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Port Huawei Technologies Proprietary ...
Страница 145: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual VLAN QinQ Huawei Technologies Proprietary ...
Страница 184: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Network Protocol Huawei Technologies Proprietary ...
Страница 276: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Routing Protocol Huawei Technologies Proprietary ...
Страница 493: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Multicast Protocol Huawei Technologies Proprietary ...
Страница 622: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual QoS ACL Huawei Technologies Proprietary ...
Страница 706: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual MPLS Huawei Technologies Proprietary ...
Страница 816: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual STP Huawei Technologies Proprietary ...
Страница 867: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Security Huawei Technologies Proprietary ...
Страница 953: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Reliability Huawei Technologies Proprietary ...
Страница 972: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual System Management Huawei Technologies Proprietary ...
Страница 1180: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual PoE Huawei Technologies Proprietary ...
Страница 1198: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual NAT URPF VPLS Huawei Technologies Proprietary ...
Страница 1238: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Integrated Management Huawei Technologies Proprietary ...
Страница 1300: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Appendix Huawei Technologies Proprietary ...