Operation Manual – IPv6 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 6 Routing Policy Configuration
6-3
6.1.3 Routing Policy Application
A routing policy is applied in two ways:
z
When redistributing routes from other routing protocols, a routing protocol accepts
only routes passing the routing policy.
z
When receiving or advertising routing information, a routing protocol uses the
routing policy to filter routing information.
6.2 Defining Filtering Lists
6.2.1 Prerequisites
Before configuring this task, you need to decide on:
z
IP-prefix list name
z
Matching address range
z
Extcommunity list sequence number
6.2.2 Defining an IPv6 Prefix List
Identified by name, each IPv6 prefix list can comprise multiple items. Each item
specifies a matching address range in the form of network prefix, which is identified by
index number.
During matching, the system compares the route to each item in the ascending order of
index number. If one item is matched, the route passes the IP-prefix list, without
needing to match the next item.
Follow these steps to define an IPv6 prefix list:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Define an IPv6 prefix
list
ip ipv6-prefix ipv6-prefix-name
[
index
index-number
] {
deny
|
permit
}
ipv6-address prefix-length
[
greater-equal min-prefix-length
]
[
less-equal max-prefix-length
]
Required
Not defined by
default
Note:
If all items are set to the
deny
mode, no routes can pass the IPv6 prefix list. Therefore,
you need to define the
permit
:: 0
less-equal
128 item following multiple
deny
mode
items to allow other IPv6 routing information to pass.