ipv6 prefix-group
Use this command to create an entry for an IPv6 prefix group.
A dynamic and static prefix-group with a set of IPv6 prefixes can be created. No actions or other attributes associated with the prefix-group can be defined.
The match-xpath entry can be used for dynamic configuration. An Xpath can be configured by pointing to a valid XPath on OcNOS, and a set of prefixes related to this path will be added to the prefix group.
Command Syntax
ipv6 prefix-group WORD
description LINE
X:X::X:X/M
match-xpath WORD
no description
no X:X::X:X/M
no match-xpath WORD
no ipv6 prefix-group WORD
Parameters
WORD
Name of the prefix group (Maximum length 64)
LINE
Description for the prefix group (Maximum length 80)
X:X::X:X/M
IPv6 address type
WORD
X-path expressions pointing to a set of prefixes
Default
None
Command Mode
Configure mode and IPv6 prefix group mode.
Applicability
Introduced in OcNOS version 6.6.1
Examples
OcNOS(config)#ip prefix-group mygroup
OcNOS(config-ipv6-prefix-group)#3ffe:345::/16
OcNOS(config-ipv6-prefix-group)#commit
OcNOS(config-ipv6-prefix-group)#exit
OcNOS(config)#
OcNOS(config)#ip prefix-group ge
OcNOS(config-ip-prefix-group)#match-xpath interfaces/interface/name=ge*/ipv6/addresses/config/=*
OcNOS(config)#commit