show ip anycast-gateway interfaces

Displays an entry for each local routing interface.

Syntax

Command Parameters

i-sid <1-15999999>
Filters the output by I-SID.
vlan <1-4059>
Filters the output by VLAN.
vrf WORD<1-16>
Filters the output by VRF name.
vrfids WORD<0-512>
Filters the output by VRF ID.

Default

None

Command Mode

User EXEC

Command Output

The show ip anycast-gateway interfaces command displays the following information:

Output field

Description

L2VSN

Displays the Layer 2 VSN I-SID associated with the interface.

VLAN GW IPv4

Displays the IPv4 gateway address.

GW MAC

Displays the gateway MAC.

VRID

Displays the virtual router ID.

ADMIN STATUS

Displays if Anycast IP Gateway is enabled on the interface.

OPER STATE

Displays the operational state of the interface.

ONE-IP

Displays if the interface is a One IP interface, meaning the VLAN IP and gateway IP are the same.

VRF ID

Displays the VRF ID, if one is associated with the interface.

VRF Name

Displays the VRF name, if one is associated with the interface.

Example

The following example displays Anycast IP Gateway interfaces.

Switch:1>show ip anycast-gateway interfaces
=================================================================================
                          Anycast interfaces
=================================================================================
                                                  ADMIN    OPER           VRF     VRF
L2VSN  VLAN GW IPv4      GW MAC             VRID  STATUS   STATE  ONE-IP  ID      Name
---------------------------------------------------------------------------------
10     10   192.0.2.254  00:00:5e:00:01:27  39  enable     up     false   0    GlobalRouter
11     11   198.0.2.254  00:00:5e:00:01:27  39  enable     up     true    0    GlobalRouter
2 out of 2 total number of interfaces displayed

---------------------------------------------------------------------------------