Adding And Removing Static Address Entries - Cisco Catalyst 9400 System Management Configuration Manual

Cisco ios xe bengaluru 17.4.x
Hide thumbs Also See for Catalyst 9400:
Table of Contents

Advertisement

Adding and Removing Static Address Entries

• It is recommended that you disable MAC address learning only in VLANs with two ports. If you disable
• If you disable MAC address learning on a VLAN that includes a secure port, MAC address learning is
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Adding and Removing Static Address Entries
Follow these steps to add a static address:
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
34
MAC address learning on a VLAN with more than two ports, every packet entering the switch is flooded
in that VLAN domain.
not disabled on that port.
Command or Action
configure terminal
Example:
Device# configure
no mac-address-table learning vlan[vlan-id
|,vlan-id | -vlan-id,]
Example:
Device(config)# no mac-address-table
learning {vlan vlan-id [,vlan-id |
-vlan-id]
end
Example:
Device(config)# end
show mac-address-table learning vlan[vlan-id
]
Example:
Device# show mac-address-table learning
[vlan vlan-id]
copy running-config startup-config
Example:
Device# copy running-config
startup-config
default mac address-table learning
Example:
Device# default mac address-table
Purpose
Enters the global configuration mode.
terminal
Disable MAC address learning on a specified
VLAN or VLANs.
You can specify a single VLAN ID or a range
of VLAN IDs separated by a hyphen or comma.
Valid VLAN IDs range from 2 - 4093. It cannot
be an internal VLAN.
Returns to privileged EXEC mode.
Verify the configuration.
You can display the MAC address learning
status of all VLANs or a specified VLAN by
entering the show mac-address-table learning
[vlan vlan-id] privileged EXEC command.
(Optional) Save your entries in the configuration
file.
(Optional) Reenable MAC address learning on
VLAN in a global configuration mode.
Administering the Device

Advertisement

Table of Contents
loading

Table of Contents