Sample virtual active gateway configuration

A virtual active gateway configuration is created in this example and shown in the following figure.
switch(config)# vlan 3
switch(config-vlan-3)# interface vlan 3
switch(config-if-vlan)# ip address 10.0.0.1/24
switch(config-if-vlan)# active-gateway ip 10.0.0.1 mac 00:00:00:00:aa:aa

See the Command-Line Interface Guide for your switch and software version for more information about the CLI commands.

Sample virtual active gateway configurationSample virtual active gateway configuration