View IP Source Guard Configuration on a Port

About this task

View IP Source Guard (IPSG) configuration on a port, with filters for IPv4 addresses.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. View IPSG configuration:

    show ip source verify interface gigabitEthernet [{slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}]

Example

Switch:1>show ip source verify interface gigabitEthernet 4/1

====================================================================================
                             Source Guard Port Info
====================================================================================
PORT
NUM        ENABLE
------------------------------------------------------------------------------------
4/1        true
------------------------------------------------------------------------------------

All 1 out of 1 Total Num of Ip Source Guard entries displayed

Variable Definitions

The following table defines parameters for the show ip source verify interface gigabitEthernet command.

Variable

Value

{slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.