Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
Chapter 3 IPv6 OSPFv3 Configuration Commands
3-26
ipv6-prefix
ipv6-prefix-name
: Specifies the name of an IPv6 prefix list, a string of up to
19 characters.
Description
Use the
filter-policy import
command to filter received routes.
Use the
undo filter-policy import
command to remove the configuration.
No received routes are filtered by default.
Note:
Using the
filter-policy
import
command only filters routes computed by OSPFv3. The
routes that fail to pass are not added to the routing table.
Examples
# Filter received routes using the IPv6 prefix list abc.
<Sysname> system-view
[Sysname] ip ipv6-prefix abc permit 2002:1:: 64
[Sysname] ospfv3 1
[Sysname-ospfv3-1] filter-policy ipv6-prefix abc import
3.1.20 import-route
Syntax
import-route
{
isisv6 process-id
|
ospfv3 process-id
|
ripng process-id
|
bgp4+
[
allow-ibgp
] |
direct
|
static
} [
cost
value
|
type
type
|
route-policy
route-policy-name
]*
undo import-route
{
isisv6 process-id
|
ospfv3 process-id
|
ripng process-id
|
bgp4+
|
direct
|
static
}
View
OSPFv3 view
Parameters
isisv6
process-id
: Redistributes IPv6 ISIS routes from an IPv6 IS-IS process. The
process ID is in the range 1 to 65535.
ospfv3
process-id
: Redistributes OSPFv3 routes from an OSPFv3 process. The
process ID is in the range 1 to 65535.
ripng
process-id
: Redistributes RIPng routes from a RIPng process. The process ID is
in the range 1 to 65535.