show active-gateway
<IFNAME>
Syntax
show active-gateway <IFNAME> [vsx-peer]
Description
Displays the gateway information per SVI, such as:
Active-Gateway IPV4 and its MAC address
Active-Gateway IPV6 and its MAC address
Command context
Operator (>
) or Manager (#
)
Parameters
<IFNAME>
Specifies the VSX interface name.
[vsx-peer]
Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Examples
switch# show active-gateway vlan2000 Active-gateway IPv4 MAC address : 00:00:00:01:01:18 Active-gateway IPv4 address 173.6.1.10 173.7.1.10 Active-gateway IPv6 MAC address : 00:00:00:03:00:12 Active-gateway IPv6 address 173::2 173::3