Active gateway configurations

Task Command Example

Configuring a virtual IPv4 and IPv6 address for an interface VLAN.

active-gateway {ip | ipv6} <IP-ADDRESS> mac <VMAC-ADDRESS>

switch(config)# vlan 2
switch(config)# interface vlan 2 
switch(config-if-vlan)# ip address 10.0.0.1/24
switch(config-if-vlan)# active-gateway ip 10.0.0.2 mac 00:00:00:00:00:01
switch(config-if-vlan)# ipv6 address aa:bb::cc:dd/24
switch(config-if-vlan)# active-gateway ipv6 2001:DB8::/32 mac 00:00:00:01:00:01

Unconfiguring active gateway for active-active routing.

no active-gateway {ip | ipv6}

switch(config-if-vlan)# no active-gateway ip