Prefix lists are used by BGP and OSPF to filter route advertisements.

Syntax   vrouter-prefix-list-modify vrouter-name name-string name name-string action permit|deny prefix ip-address netmask netmask seq number min-prefix-len number max-prefix-len number apply

vrouter-name name-string

Specify the name of the vRouter.

Specify the following prefix-list arguments:

name name-string

Specify a name for the prefix list.

action permit|deny

Specify the type of action, permit or deny.

prefix ip-address

Specify the IP address used as the prefix.

netmask netmask

Specify the netmask of the IP address.

Specify any of the following options:

seq number

Specify a sequence number. This is a number between 1 and 4294967295.

min-prefix-len number

Specify the minimum prefix length. This is a value between 0 and 32.

max-prefix-len number

Specify the maximum prefix length. This is a value between 0 and 32.


Apply to any prefix list.


Apply to any IPv6 prefix list.

Defaults   None

Access   CLI


Version 2.2.3

Command introduced.

Version 2.2.4

The parameter, any, added.

Version 2.5

The parameter, anyv6, added.

Usage   Use this command to modify prefix lists used with BGP and OSPF.

Examples  To modify a prefix list, no-ads, and change the action to permit, use the following syntax:

CLI network-admin@switch > vrouter-prefix-list-modify vrouter-name vrouter-ospf name no-ads action permit

See Also