Flushing routing tables by VLAN or port

About this task

For administrative and troubleshooting purposes, flush the routing tables.

To flush tables on a VRF instance for a port or VLAN, ensure that the VRF is associated with the port or VLAN.

Procedure

  1. Enter GigabitEthernet Interface Configuration mode:

    enable

    configure terminal

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

    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. Flush the routing tables:

    action flushIp

Example

Flush the routing tables:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#interface gigabitethernet 3/6
Switch:1(config-if)#action flushIp