Command Reference
Protocol-independent Configuration Commands
6.8 ipv6 prefix-list
Use this command to create an IPv6 prefix list or add an entry in the prefix list. Use the
no
form of this
command to delete an IPv6 prefix list or an entry in the prefix list.
Ipv6 prefix-list
prefix-list-name
[ seq
seq-number
] { deny | permit}
ipv6-prefix
[ge
minimum-prefix-length
][ le
maximum-prefix- length
]
no ipv6 prefix-list
prefix-list-name
[ seq
seq-number
] { deny | permit}
ipv6-prefix
[ge
minimum-prefix-
length
][ le
maximum-prefix- length
]
Parameter
description
Parameter
Description
prefix-list-name
Name of the prefix list
seq-number
Sequence number of an entry in the prefix list. Its range is 1 to
4294967294. If the sequence number is not specified in this
command, the system will allocate a default one for the entry. The
default sequence number of the first entry is 5, and that of each
subsequent one is the product of adding 5 to the sequence number
of the proceeding entry.
permit
Permit the access to the matching result.
deny
Deny the access to the matching result.
ipv6-prefix
Network address and its mask. The network address can be any
valid IP address. The mask can be 0 to 32 characters.
minimum-prefix-length
(Optional) Minimum length of the prefix (the starting length)
Note:
“ge” indicates the operation of “larger than” and “equivalent to”.
maximum-prefix- length
(Optional) Maximum length of the prefix (the ending length)
Note:
“le” indicates the operation of “less than” and “equivalent to”.
Default
configuration
No prefix list is created.
Command
mode
Global configuration mode
Usage
guideline
The ipv6 prefix-list command configures the prefix list, with the permit or deny keyword to determine the
action in case of matching.
You can execute this command to define an exact match, or use
“ge” or “le” to define a range match for
a prefix for flexible configuration.
“ge” indicates the range of minimum-prefix-length to 128; “le” indicates
the range of the mask length of the IP prefix to maximum-prefix-length;
“ge” and “le” indicates the range
of minimum-prefix-length to maximum-prefix-length, namely, Ipv6-prefix mask length
<
minimum-prefix-length
<
maximum-prefix-length
<=
128
Examples
The following example filters the RIP routes the OSPF redistributes by the destination IP address
following the rule defined in the associated IP prefix list, for example, redistribute the routes whose
destination IP address is in the range 2222::/64.
Ruijie# configure terminal
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...