IPv6 Prefix List Commands
OL-32830-01 Command Line Interface Reference Guide
602
26
switchxxxxxx(config)#
ipv6 prefix-list abc permit
5F00::/48 le 64
Example 4. The following example denies prefix lengths greater than 64 bits in
routes that have the prefix 2001:0DB8::/64:
switchxxxxxx(config)#
ipv6 prefix-list abc permit
2001:0DB8::/64 le 128
Example 5. The following example permits mask lengths from 32 to 64 bits in all
address space:
switchxxxxxx(config)#
ipv6 prefix-list abc permit
::/0 ge 32 le 64
Example 6. The following example denies mask lengths greater than 32 bits in all
address space:
switchxxxxxx(config)#
ipv6 prefix-list abc deny
::/0 ge 32
Example 7. The following example denies all routes with a prefix of 2002::/128:
switchxxxxxx(config)#
ipv6 prefix-list abc deny
2002::/128
Example 8. The following example permits all routes with a prefix of ::/0:
switchxxxxxx(config)#
ipv6 prefix-list abc permit
::/0
26.3 show ipv6 prefix-list
Use the show ipv6 prefix-list command in user EXEC or privileged EXEC mode. to
display information about an IPv6 prefix list or IPv6 prefix list entries.
Syntax
show ipv6 prefix-list [detail [
list-name
] | summary [
list-name
]]
show ipv6 prefix-list
list-name
ipv6-prefix
/
prefix-length
[longer | first-match]
Содержание 300 Series
Страница 2: ......