Clear IP Source Guard Overflow Counters

About this task

Overflow counters consist of IPv6 addresses that are not added to IP Source Guard (IPSG) due to lack of filter resources. Use this procedure to clear the overflow counters for an IPSG port.

Procedure

  1. Enter GigabitEthernet Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Clear the overflow counters:

    ipv6 source-guard overflow-count clear

  3. Verify the configuration on the port:

    show ipv6 source-guard interface gigabitEthernet [{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}]

  4. Optional: View the overflow counters on all IPSG enabled ports:

    show ipv6 source-guard interface enabled

Example

Clear overflow counters on the IPSG port 1/1.

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#interface gigabitEthernet 1/1
Switch:1(config-if)#ipv6 source-guard overflow-count clear

Verify the configuration on port 1/1.

Switch:1(config-if)#show ipv6 source-guard interface gigabitEthernet 1/1
Slot/Port  Source Guard  Number of  IPv6  Address
             Mode        address allowed  overflow count
==========================================================
1/1          Enabled           10          0

Optionally, view the overflow counters on all IPSG enabled ports.

Switch:1(config-if)#show ipv6 source-guard interface enabled
Slot/Port  Source Guard  Number of  IPv6  Address
             Mode        address allowed  overflow count
==========================================================
1/1          Enabled            4           0
1/2          Enabled            9           0