show active-gateway

Syntax

show active-gateway [vsx-peer]

Description

Displays the gateway information configured on SVIs, such as:
  • Number of active-gateway interface VLANs

  • Number of IPv4 active-gateway interface VLANs

  • Number of IPv6 active-gateway interface VLANs

  • Per virtual MAC address

    • IPv4 reference count and its interface VLANs

    • IPv6 reference count and its interface VLANs

Command context

Operator (>) or Manager (#)

Parameters

[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

primary# show active-gateway
Number of active-gateway interface VLANs           : 265
Number of IPv4 active-gateway interface VLANs      : 264
Number of IPv6 active-gateway interface VLANs      : 1
VMAC 00:00:00:01:01:16 :
     IPv4 ref count        : 32
     IPv4 interface VLANs  : vlan192-223
     IPv6 ref count        : 0
     IPv6 interface VLANs  : none
VMAC 00:00:00:01:01:11 :
     IPv4 ref count        : 32
     IPv4 interface VLANs  : vlan32-63
     IPv6 ref count        : 0
     IPv6 interface VLANs  : none
VMAC 00:00:00:01:01:17 :
     IPv4 ref count        : 32
     IPv4 interface VLANs  : vlan224-255
     IPv6 ref count        : 0
     IPv6 interface VLANs  : none
VMAC 00:00:00:01:01:18 :
     IPv4 ref count        : 6
     IPv4 interface VLANs  : vlan256-259,300-301
     IPv6 ref count        : 0
     IPv6 interface VLANs  : none
VMAC 00:00:00:01:01:13 :
     IPv4 ref count        : 32
     IPv4 interface VLANs  : vlan96-127
     IPv6 ref count        : 0
     IPv6 interface VLANs  : none
VMAC 00:00:00:01:01:12 :
     IPv4 ref count        : 32
     IPv4 interface VLANs  : vlan64-95
     IPv6 ref count        : 0
     IPv6 interface VLANs  : none
VMAC 00:00:00:01:01:20 :
     IPv4 ref count        : 1
     IPv4 interface VLANs  : vlan4040
     IPv6 ref count        : 0
     IPv6 interface VLANs  : none
VMAC 00:00:00:01:01:14 :
     IPv4 ref count        : 32
     IPv4 interface VLANs  : vlan128-159
     IPv6 ref count        : 0
     IPv6 interface VLANs  : none
VMAC 00:00:00:01:01:10 :
     IPv4 ref count        : 31
     IPv4 interface VLANs  : vlan1-31
     IPv6 ref count        : 0
     IPv6 interface VLANs  : none
VMAC 00:00:00:01:01:15 :
     IPv4 ref count        : 32
     IPv4 interface VLANs  : vlan160-191
     IPv6 ref count        : 0
     IPv6 interface VLANs  : none
VMAC 00:00:00:03:00:12 :
     IPv4 ref count        : 1
     IPv4 interface VLANs  : vlan2000
     IPv6 ref count        : 1
     IPv6 interface VLANs  : vlan4000
VMAC 00:00:00:01:01:19 :
     IPv4 ref count        : 1
     IPv4 interface VLANs  : vlan4000
     IPv6 ref count        : 0
     IPv6 interface VLANs  : none