![Cisco Catalyst 2350 Скачать руководство пользователя страница 155](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583155.webp)
2-131
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
mac address-table static
mac address-table static
Use the
mac address-table static
global configuration command to add static addresses to the MAC
address table. Use the
no
form of this command to remove static entries from the table.
mac address-table static
mac-addr
vlan
vlan-id
interface
interface-id
no mac address-table static
mac-addr
vlan
vlan-id
[
interface
interface-id
]
Syntax Description
Defaults
No static addresses are configured.
Command Modes
Global configuration
Command History
Examples
This example shows how to add the static address c2f3.220a.12f4 to the MAC address table. When a
packet is received in VLAN 4 with this MAC address as its destination, the packet is forwarded to the
specified interface:
Switch(config)#
mac address-table static c2f3.220a.12f4 vlan 4 interface
gigabitethernet0/1
You can verify your setting by entering the
show mac address-table
privileged EXEC command.
Related Commands
mac-addr
Destination MAC address (unicast or multicast) to add to the address
table. Packets with this destination address received in the specified
VLAN are forwarded to the specified interface.
vlan
vlan-id
Specify the VLAN for which the packet with the specified MAC address
is received. The range is 1 to 4094.
interface
interface-id
Interface to which the received packet is forwarded. Valid interfaces
include physical ports and port channels.
Release
Modification
12.2(46)EY
This command was introduced.
Command
Description
show mac address-table static
Displays static MAC address table entries only.
Содержание Catalyst 2350
Страница 14: ...Contents xiv Catalyst 2350 Switch Command Reference OL 19055 01 ...
Страница 18: ...xviii Catalyst 2350 Switch Command Reference OL 19055 01 Preface ...
Страница 606: ...B 66 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix B Catalyst 2350 Debug Commands debug vqpc ...
Страница 636: ...D 2 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix D Acknowledgments for Open Source Software ...
Страница 652: ...Index IN 16 Catalyst 2350 Switch Command Reference OL 19055 01 ...