Configuring Unicast Mac Address Filtering - Cisco Catalyst 9200 Configuration Manual

Hide thumbs Also See for Catalyst 9200:
Table of Contents

Advertisement

Configuring Unicast MAC Address Filtering

Command or Action
Step 2
configure terminal
Example:
Device# configure terminal
Step 3
mac address-table static mac-addr vlan vlan-id interface
interface-id
Example:
Device(config)# mac address-table
static c2f3.220a.12f4 vlan 4 interface
gigabitethernet 1/0/1
Step 4
show running-config
Example:
Device# show running-config
Step 5
copy running-config startup-config
Example:
Device# copy running-config startup-config
Configuring Unicast MAC Address Filtering
Follow these steps to configure the Device to drop a source or destination unicast static address:
SUMMARY STEPS
1. enable
2. configure terminal
3. mac address-table static mac-addr vlan vlan-id drop
4. end
5. show running-config
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
38
Purpose
Enters the global configuration mode.
Adds a static address to the MAC address table.
• mac-addr Specifies the destination MAC unicast
address to add to the address table. Packets with this
destination address received in the specified VLAN
are forwarded to the specified interface.
• vlan-id Specifies the VLAN for which the packet
with the specified MAC address is received. Valid
VLAN IDs are 1 to 4094.
• interface-id Specifies the interface to which the
received packet is forwarded. Valid interfaces include
physical ports or port channels. For static multicast
addresses, you can enter multiple interface IDs. For
static unicast addresses, you can enter only one
interface at a time, but you can enter the command
multiple times with the same MAC address and VLAN
ID.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Administering the Device

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents