Virtual Router and Prefix Lists


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

Syntax   vrouter-prefix-list-add 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 anyv6

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 specify prefix lists used with BGP and OSPF.

Examples  To configure a prefix list, no-ads, with the action, deny, prefix,, and minimum prefix length 15, use the following syntax:

CLI network-admin@switch > vrouter-prefix-list-add vrouter-name vrouter-ospf name no-ads action deny prefix netmask min-prefix-len 15

See Also