address

Syntax

address  [ primary | secondary ] no address  [ primary | secondary ]

Description

Configures a primary or secondary IPv4 or IPv6 address for the VRRP group. To use secondary IP addresses in a VRRP group, you must first configure a primary IP address on the same group. A maximum of 16 IP addresses per IPv4 VRRP group and 8 IPv6 addresses per IPv6 VRRP group are supported.
NOTE:

Do not configure an IPv4 VRRP group using addresses from the /30, /31, and /32 subnets of the interface IP address.

NOTE:

16 Virtual IP addresses per IPv4 VR and 8 Virtual IP addresses per IPv6 VR are supported.

The total number of VIPs supported by a switch is:
  • 1024 VIPs for IPv4 VRs

  • 512 VIPs for IPv6 VRs

The没有form of this command deletes a primary or secondary IPv4 or IPv6 address from the VRRP group.

Command context

config

Parameters

Configures the IPv4 or IPv6 address.

primary

Configures a primary address.

secondary

配置自ry address.

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch(config)#interface 1/1/1switch(config-if)#vrrp 1 ipv4地址系列switch(config-if-vrrp)#address 10.0.0.1 primaryswitch(config)#interface 1/1/1switch(config-if)#vrrp 1 address-family ipv6switch(config-if-vrrp)#address fe80::1 primaryswitch(config)#interface 1/1/1switch(config-if)#vrrp 1 ipv4地址系列switch(config-if-vrrp)#没有address 10.0.0.1 primaryswitch(config)#interface 1/1/1switch(config-if)#vrrp 1 address-family ipv6switch(config-if-vrrp)#没有address fe80::1 primary