clear mac-address

Syntax

clear mac-address {port(vlan< vlan id >] | vlan< vlan id >[port]}

描述

Clears the dynamic learned MAC addresses on the specified port, VLAN, or combination of port and VLAN.

Command context

Manager (#)

Parameters

Specifies a physical port on the switch. Format:会员/ slot/port.

< vlan id >

Specifies the number of a VLAN.

权威

Administrators or local user group members with execution rights for this command.

Examples

On the 6400 Switch Series, interface identification differs.

Clearing the learned MAC addresses on a port:

switch#clear mac-address port 1/1/1

Clearing the learned MAC addresses on a combination of a VLAN and a port:

switch#clear mac-address port 1/1/1 vlan 20
switch#clear mac-address vlan 2 port 1/1/3