Performing a general VLAN action

Perform a general VLAN action to initiate a specific function on a VLAN, such as clearing learned MAC addresses or ARP entries from the forwarding database by performing this procedure.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Perform a general VLAN action:

    vlan action <1-4059> {none|flushMacFdb|flushArp|flushIp|flushDynMemb|triggerRipUpdate|all}

Example

Perform a general VLAN action:

Switch(config)# vlan action 1 none

Switch(config)# vlan action 1 flushMacFdb

Switch(config)# vlan action 1 flushIp

Switch(config)# vlan action 1 flushDynMemb

Variable Definitions

Use the data in the following table to use the vlan action command.

Variable

Value

none

Configures action to none. This action performs no updates.

flushMacFdb

Configures action to flushMacFdb. This action removes the learned MAC addresses from the forwarding database for the selected VLAN.

flushArp

Configures action to flushArp. This action removes the ARP entries from the address table for the selected VLAN.

flushIp

Configures action to flushIp. This action removes the learned IP addresses from the forwarding table for the selected VLAN.

flushDynMemb

Configures action to flushDynMemb. This action removes port members not configured as static from the list of active port members of a policy-based VLAN, and removes MAC addresses learned on those ports for this VLAN.

flushDynMemb

Configures action to flushDynMemb. This action removes port members not configured as static from the list of active port members of a policy-based VLAN, and removes MAC addresses learned on those ports for this VLAN.

triggerRipUpdate

Configures action to triggerRipUpdate.

all

Configures action to all and performs all preceding actions.