Huawei Quidway S5600 Series Operation Manual page 397

Hide thumbs Also See for Quidway S5600 Series:
Table of Contents

Advertisement

Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510
6.4 ip-prefix Configuration
ip-prefix plays a role similar to ACL and but is more flexible and easier to understand.
When ip-prefix is applied to filtering routing information, its matching object is the
destination address information field of routing information.
6.4.1 Configuration Prerequisites
Before configuring a filter list, prepare the following data:
ip-prefix name
Range of addresses to be matched
Extended community attribute list number
6.4.2 Configuring an ip-prefix list
An ip-prefix list is identified by its ip-prefix list name. Each ip-prefix list can comprise
multiple items. Each item can independently specify a match range in the form of
network prefix and is identified by an index-number. For example, the following is an
ip-prefix list named abcd:
ip ip-prefix abcd index 10 permit 1.0.0.0 8
ip ip-prefix abcd index 20 permit 2.0.0.0 8
During the matching of a route, the router checks the items in the ascending order of
index-number. Once the route match an item, the route passes the filtering of the
ip-prefix list and no other item will be matched.
Table 6-4 Configure an IPv4 ip-prefix list
Operation
Enter system view
Configure
ip-prefix list
Command
system-view
ip ip-prefix ip-prefix-name
[ index index-number ]
an
IPv4
{ permit | deny } network
len
[
greater-equal | less-equal
less-equal ]
Huawei Technologies Proprietary
6-7
Chapter 6 IP Routing Policy Configuration
Required
By default, no ip-prefix list
is specified. If all the list
items are in deny mode, all
routing information will be
denied by the filter list. You
are
greater-equal
define the item permit
0.0.0.0 0 greater-equal 0
less-equal
multiple items in the deny
mode so as to permit all
other IPv4 routes.
Description
recommended
to
32
after

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents