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 any

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.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.


Display output in ascending order.


Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.


Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.


Display the number of entries in the output. This is useful with vRouter show commands.


Display full values in the output instead of scaled approximate values.


Display integer values instead of mapped values


Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.


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