Removing Static Addresses - Cisco WS-C2950-24 Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C2950-24:
Table of Contents

Advertisement

Managing the MAC Address Tables
Note
Command
Step 1
configure terminal
Step 2
mac-address-table static
hw-addr in-port out-port-list
vlan vlan-id
Step 3
end
Step 4
show mac-address-table static

Removing Static Addresses

Command
Step 1
configure terminal
Step 2
no mac-address-table static
hw-addr in-port in-port
out-port-list out-port-list vlan
vlan-id
Step 3
end
Step 4
show mac-address-table static
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
6-60
If the in-port-list and out-port-list parameters are all access ports in a single
VLAN, you can omit the VLAN ID. In this case, the switch recognizes the
VLAN as that associated with the in-port VLAN. Otherwise, you must supply
the VLAN ID.
Beginning in privileged EXEC mode, follow these steps to add a static address:
Purpose
Enter global configuration mode.
Enter the MAC address, the input port, the ports to which
it can be forwarded, and the VLAN ID of those ports.
Return to privileged EXEC mode.
Verify your entry.
Beginning in privileged EXEC mode, follow these steps to remove a static
address:
Purpose
Enter global configuration mode.
Enter the static MAC address, the input port, the ports to
which it can be forwarded, and the VLAN ID to be
removed.
Return to privileged EXEC mode.
Verify your entry.
You can remove all secure addresses by using the clear mac-address-table static
command in privileged EXEC mode.
Chapter 6
Configuring the System
78-6511-05

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960g-8tc-l

Table of Contents