SlideShare a Scribd company logo
Configuring the MAC Address Table
This chapter contains the following sections:
• Information About MAC Addresses, page 1
• Configuring MAC Addresses, page 1
• Verifying the MAC Address Configuration, page 3
Information About MAC Addresses
To switch frames between LAN ports, the switch maintains an address table. When the switch receives a
frame, it associates the media access control (MAcC) address of the sending network device with the LAN
port on which it was received.
The switch dynamically builds the address table by using the MAC source address of the frames received.
When the switch receives a frame for a MAC destination address not listed in its address table, it floods the
frame to all LAN ports of the same VLAN except the port that received the frame. When the destination
station replies, the switch adds its relevant MAC source address and port ID to the address table. The switch
then forwards subsequent frames to a single LAN port without flooding all LAN ports.
You can also enter a MAC address, which is termed a static MAC address, into the table. These static MAC
entries are retained across a reboot of the switch.
In addition, you can enter a multicast address as a statically configured MAC address. A multicast address
can accept more than one interface as its destination.
The address table can store a number of unicast and multicast address entries without flooding any frames.
The switch uses an aging mechanism, defined by a configurable aging timer, so if an address remains inactive
for a specified number of seconds, it is removed from the address table.
Configuring MAC Addresses
Configuring a Static MAC Address
You can configure MAC addresses for the switch. These addresses are static MAC addresses.
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U2(1)
OL-26508 -01 1
You can also configure a static MAC address in interface configuration mode or VLAN configuration
mode.
Note
SUMMARY STEPS
1. switch# configure terminal
2. switch(config-)# mac-address-table static mac_address vlan vlan-id {drop | interface {type slot/port}
| port-channel number} [auto-learn]
3. (Optional) switch(config-)# no mac-address-table static mac_address vlan vlan-id
DETAILED STEPS
PurposeCommand or Action
Enters configuration mode.switch# configure terminalStep 1
Specifies a static address to add to the MAC address table.switch(config-)# mac-address-table static mac_address
vlan vlan-id {drop | interface {type slot/port} |
port-channel number} [auto-learn]
Step 2
If you enable the auto-learn option, the switch will update
the entry if the same MAC address is seen on a different
port.
(Optional)
Deletes the static entry from the MAC address table.
switch(config-)# no mac-address-table static
mac_address vlan vlan-id
Step 3
This example shows how to put a static entry in the MAC address table:
switch# configure terminal
switch(config)# mac-address-table static 12ab.47dd.ff89 vlan 3 interface ethernet 2/1
You can use the mac-address-table static command to assign a static MAC address to a virtual interface.
Configuring the Aging Time for the MAC Table
You can configure the amount of time that an entry (the packet source MAC address and port that packet
ingresses) remain in the MAC table. MAC aging time can be configured in either interface configuration mode
or in VLAN configuration mode.
If the Cisco Nexus 3000 switch is used as a Layer 2 or Layer 3 termination switch, Cisco recommends
that you set the mac-address-table aging-time to 1800 (higher than the default ARP aging time of 1500
seconds) on all VLANs.
Cisco Nexus 3000 switch does not support per-VLAN cam aging timers.
Note
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U2(1)
2 OL-26508 -01
Configuring the MAC Address Table
Configuring the Aging Time for the MAC Table
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# mac-address-table aging-time seconds [vlan vlan_id]
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.switch# configure terminalStep 1
Specifies the time before an entry ages out and is discarded from the
MAC address table.
switch(config)# mac-address-table
aging-time seconds [vlan vlan_id]
Step 2
The seconds range is from 0 to 1000000. The default is 1800 seconds.
Entering the value 0 disables the MAC aging. If a VLAN is not specified,
the aging specification applies to all VLANs.
This example shows how to set the aging time for entries in the MAC address table to 1800 seconds (30
minutes):
switch# configure terminal
switch(config) # mac-address-table aging-time 1800
switch(config) #
Clearing Dynamic Addresses from the MAC Table
You can clear all dynamic entries in the MAC address table.
PurposeCommand
Clears the dynamic address entries from the MAC
address table.
switch(config)# clear mac-address-table dynamic
{address mac-addr} {interface [type slot/port |
port-channel number} {vlan vlan-id}
This example shows how to clear the dynamic entries in the MAC address table:
switch# clear mac-address-table dynamic
Verifying the MAC Address Configuration
To display MAC address configuration information, perform one of these tasks:
PurposeCommand
Displays the MAC address aging time for all VLANs
defined in the switch.
switch# show mac-address-table aging-time
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U2(1)
OL-26508 -01 3
Configuring the MAC Address Table
Clearing Dynamic Addresses from the MAC Table
PurposeCommand
Displays the contents of the MAC address table.switch# show mac-address-table
This example shows how to display the MAC address table:
switch# show mac-address-table
VLAN MAC Address Type Age Port
---------+-----------------+-------+---------+------------------------------
1 0018.b967.3cd0 dynamic 10 Eth1/3
1 001c.b05a.5380 dynamic 200 Eth1/3
Total MAC Addresses: 2
This example shows how to display the current aging time:
switch# show mac-address-table aging-time
Vlan Aging Time
----- ----------
1 300
13 300
42 300
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U2(1)
4 OL-26508 -01
Configuring the MAC Address Table
Verifying the MAC Address Configuration

More Related Content

What's hot

Spanning Tree Bridge Root Priority value & Extended System ID
Spanning Tree Bridge Root Priority value & Extended System IDSpanning Tree Bridge Root Priority value & Extended System ID
Spanning Tree Bridge Root Priority value & Extended System ID
NetProtocol Xpert
 
Lab view the switch mac address table lab - view the switch
Lab   view the switch mac address table lab - view the switchLab   view the switch mac address table lab - view the switch
Lab view the switch mac address table lab - view the switch
ADDY50
 
Layer 2 switching
Layer 2 switchingLayer 2 switching
Layer 2 switching
NetProtocol Xpert
 
Chapter 14 - Sw Conf
Chapter 14 - Sw ConfChapter 14 - Sw Conf
Chapter 14 - Sw Confphanleson
 
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID ConfusionHuawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
IPMAX s.r.l.
 
Layer 2 switching loop
Layer 2 switching loopLayer 2 switching loop
Layer 2 switching loop
NetProtocol Xpert
 
Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration
3Anetwork com
 
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatchHuawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
IPMAX s.r.l.
 
CCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and TrunkingCCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and Trunking
Rafat Khandaker
 
ccna (vlanning exam)
ccna (vlanning  exam) ccna (vlanning  exam)
ccna (vlanning exam)
Mina Firoozgohar
 
Expl sw chapter_02_switches_part_1
Expl sw chapter_02_switches_part_1Expl sw chapter_02_switches_part_1
Expl sw chapter_02_switches_part_1aghacrom
 
Managed switches
Managed switchesManaged switches
Managed switchesdwight4
 
Uplink fast
Uplink fastUplink fast
Pt topology-switch block-vla-ns
Pt topology-switch block-vla-nsPt topology-switch block-vla-ns
Pt topology-switch block-vla-nsKhaled Qureshi
 
Configuring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup programConfiguring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup program
3Anetwork com
 
Sandbox network sketch
Sandbox network sketchSandbox network sketch
Sandbox network sketch
Salvatore Saeli
 
Odl010024 qin q laboratory exercise guide issue1
Odl010024 qin q laboratory exercise guide issue1Odl010024 qin q laboratory exercise guide issue1
Odl010024 qin q laboratory exercise guide issue1jcbp_peru
 

What's hot (20)

Rtr config
Rtr configRtr config
Rtr config
 
Spanning Tree Bridge Root Priority value & Extended System ID
Spanning Tree Bridge Root Priority value & Extended System IDSpanning Tree Bridge Root Priority value & Extended System ID
Spanning Tree Bridge Root Priority value & Extended System ID
 
Lab view the switch mac address table lab - view the switch
Lab   view the switch mac address table lab - view the switchLab   view the switch mac address table lab - view the switch
Lab view the switch mac address table lab - view the switch
 
Layer 2 switching
Layer 2 switchingLayer 2 switching
Layer 2 switching
 
Chapter 14 - Sw Conf
Chapter 14 - Sw ConfChapter 14 - Sw Conf
Chapter 14 - Sw Conf
 
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID ConfusionHuawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
 
Layer 2 switching loop
Layer 2 switching loopLayer 2 switching loop
Layer 2 switching loop
 
Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration
 
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatchHuawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
 
lecciones ccna3
lecciones ccna3lecciones ccna3
lecciones ccna3
 
CCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and TrunkingCCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and Trunking
 
ccna (vlanning exam)
ccna (vlanning  exam) ccna (vlanning  exam)
ccna (vlanning exam)
 
Expl sw chapter_02_switches_part_1
Expl sw chapter_02_switches_part_1Expl sw chapter_02_switches_part_1
Expl sw chapter_02_switches_part_1
 
VLAN
VLANVLAN
VLAN
 
Managed switches
Managed switchesManaged switches
Managed switches
 
Uplink fast
Uplink fastUplink fast
Uplink fast
 
Pt topology-switch block-vla-ns
Pt topology-switch block-vla-nsPt topology-switch block-vla-ns
Pt topology-switch block-vla-ns
 
Configuring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup programConfiguring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup program
 
Sandbox network sketch
Sandbox network sketchSandbox network sketch
Sandbox network sketch
 
Odl010024 qin q laboratory exercise guide issue1
Odl010024 qin q laboratory exercise guide issue1Odl010024 qin q laboratory exercise guide issue1
Odl010024 qin q laboratory exercise guide issue1
 

Similar to B cisco n3k_layer2_config_gd_503_u2_1_chapter_01101

tep 2 Display the switch MAC address .pdf
tep 2 Display the switch MAC address .pdftep 2 Display the switch MAC address .pdf
tep 2 Display the switch MAC address .pdf
furqanfazl2
 
Cap2 configuring switch
Cap2   configuring switchCap2   configuring switch
Cap2 configuring switch
Hector Camba Lainez
 
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and ConfigurationLAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
Abdelkhalik Mosa
 
Switch security
Switch securitySwitch security
Switch security
nullowaspmumbai
 
Ccnpswitch
CcnpswitchCcnpswitch
Security Concerns in LANs.pptx
Security Concerns in LANs.pptxSecurity Concerns in LANs.pptx
Security Concerns in LANs.pptx
joko
 
Switching
SwitchingSwitching
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutionsSwitching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutionsMike McLain
 
Vlan lab
Vlan labVlan lab
Vlan lab
tmim8
 
CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2alan moreno
 
Lan switching technologies
Lan switching technologiesLan switching technologies
Lan switching technologies
Mohammedseleim
 
CCNA 1 Chapter 5 v5.0 2014
CCNA 1 Chapter 5 v5.0 2014CCNA 1 Chapter 5 v5.0 2014
CCNA 1 Chapter 5 v5.0 2014
Đồng Quốc Vương
 
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
abdenour boussioud
 
Switching
SwitchingSwitching
Dc fabric path
Dc fabric pathDc fabric path
Dc fabric path
ASHISH SEHGAL
 
ENCOR_Capitulo 1.pptx
ENCOR_Capitulo 1.pptxENCOR_Capitulo 1.pptx
ENCOR_Capitulo 1.pptx
ManuelRojas960410
 
Ccna 3 chapter 2 v4.0 answers 2011
Ccna 3 chapter 2 v4.0 answers 2011Ccna 3 chapter 2 v4.0 answers 2011
Ccna 3 chapter 2 v4.0 answers 2011Dân Chơi
 
Exam viewer2
Exam viewer2Exam viewer2
Exam viewer2
Jorgito Leal
 

Similar to B cisco n3k_layer2_config_gd_503_u2_1_chapter_01101 (20)

tep 2 Display the switch MAC address .pdf
tep 2 Display the switch MAC address .pdftep 2 Display the switch MAC address .pdf
tep 2 Display the switch MAC address .pdf
 
Cap2 configuring switch
Cap2   configuring switchCap2   configuring switch
Cap2 configuring switch
 
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and ConfigurationLAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
 
Switch security
Switch securitySwitch security
Switch security
 
Ch6
Ch6Ch6
Ch6
 
Ccnpswitch
CcnpswitchCcnpswitch
Ccnpswitch
 
Security Concerns in LANs.pptx
Security Concerns in LANs.pptxSecurity Concerns in LANs.pptx
Security Concerns in LANs.pptx
 
Switching
SwitchingSwitching
Switching
 
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutionsSwitching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
 
Vlan lab
Vlan labVlan lab
Vlan lab
 
CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2CCN3Switching_lab_5_5_2
CCN3Switching_lab_5_5_2
 
Lan switching technologies
Lan switching technologiesLan switching technologies
Lan switching technologies
 
CCNA 1 Chapter 5 v5.0 2014
CCNA 1 Chapter 5 v5.0 2014CCNA 1 Chapter 5 v5.0 2014
CCNA 1 Chapter 5 v5.0 2014
 
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
 
Switching
SwitchingSwitching
Switching
 
Dc fabric path
Dc fabric pathDc fabric path
Dc fabric path
 
ENCOR_Capitulo 1.pptx
ENCOR_Capitulo 1.pptxENCOR_Capitulo 1.pptx
ENCOR_Capitulo 1.pptx
 
Ccna 3 chapter 2 v4.0 answers 2011
Ccna 3 chapter 2 v4.0 answers 2011Ccna 3 chapter 2 v4.0 answers 2011
Ccna 3 chapter 2 v4.0 answers 2011
 
Exam viewer2
Exam viewer2Exam viewer2
Exam viewer2
 
Lab6.4.1
Lab6.4.1Lab6.4.1
Lab6.4.1
 

More from Jörgen Gade

Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Jörgen Gade
 
Ts 123501v150300p
Ts 123501v150300pTs 123501v150300p
Ts 123501v150300p
Jörgen Gade
 
5g tsn-integration-for-industrial-automation
5g tsn-integration-for-industrial-automation5g tsn-integration-for-industrial-automation
5g tsn-integration-for-industrial-automation
Jörgen Gade
 
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328
Jörgen Gade
 
Tsn nfinn-control-and-config-0515-v03
Tsn nfinn-control-and-config-0515-v03Tsn nfinn-control-and-config-0515-v03
Tsn nfinn-control-and-config-0515-v03
Jörgen Gade
 
Iec 62439 3.4-prp_kirrmann
Iec 62439 3.4-prp_kirrmannIec 62439 3.4-prp_kirrmann
Iec 62439 3.4-prp_kirrmann
Jörgen Gade
 
Tsn farkas-intro-0318-v01
Tsn farkas-intro-0318-v01Tsn farkas-intro-0318-v01
Tsn farkas-intro-0318-v01
Jörgen Gade
 

More from Jörgen Gade (7)

Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
 
Ts 123501v150300p
Ts 123501v150300pTs 123501v150300p
Ts 123501v150300p
 
5g tsn-integration-for-industrial-automation
5g tsn-integration-for-industrial-automation5g tsn-integration-for-industrial-automation
5g tsn-integration-for-industrial-automation
 
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328
Iic tsn testbed_char_mapping_of_converged_traffic_types_whitepaper_20180328
 
Tsn nfinn-control-and-config-0515-v03
Tsn nfinn-control-and-config-0515-v03Tsn nfinn-control-and-config-0515-v03
Tsn nfinn-control-and-config-0515-v03
 
Iec 62439 3.4-prp_kirrmann
Iec 62439 3.4-prp_kirrmannIec 62439 3.4-prp_kirrmann
Iec 62439 3.4-prp_kirrmann
 
Tsn farkas-intro-0318-v01
Tsn farkas-intro-0318-v01Tsn farkas-intro-0318-v01
Tsn farkas-intro-0318-v01
 

Recently uploaded

Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
nhiyenphan2005
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
fovkoyb
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
Trish Parr
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
harveenkaur52
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
Laura Szabó
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
cuobya
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
hackersuli
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
zoowe
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
vmemo1
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
cuobya
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
Danica Gill
 

Recently uploaded (20)

Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
 

B cisco n3k_layer2_config_gd_503_u2_1_chapter_01101

  • 1. Configuring the MAC Address Table This chapter contains the following sections: • Information About MAC Addresses, page 1 • Configuring MAC Addresses, page 1 • Verifying the MAC Address Configuration, page 3 Information About MAC Addresses To switch frames between LAN ports, the switch maintains an address table. When the switch receives a frame, it associates the media access control (MAcC) address of the sending network device with the LAN port on which it was received. The switch dynamically builds the address table by using the MAC source address of the frames received. When the switch receives a frame for a MAC destination address not listed in its address table, it floods the frame to all LAN ports of the same VLAN except the port that received the frame. When the destination station replies, the switch adds its relevant MAC source address and port ID to the address table. The switch then forwards subsequent frames to a single LAN port without flooding all LAN ports. You can also enter a MAC address, which is termed a static MAC address, into the table. These static MAC entries are retained across a reboot of the switch. In addition, you can enter a multicast address as a statically configured MAC address. A multicast address can accept more than one interface as its destination. The address table can store a number of unicast and multicast address entries without flooding any frames. The switch uses an aging mechanism, defined by a configurable aging timer, so if an address remains inactive for a specified number of seconds, it is removed from the address table. Configuring MAC Addresses Configuring a Static MAC Address You can configure MAC addresses for the switch. These addresses are static MAC addresses. Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U2(1) OL-26508 -01 1
  • 2. You can also configure a static MAC address in interface configuration mode or VLAN configuration mode. Note SUMMARY STEPS 1. switch# configure terminal 2. switch(config-)# mac-address-table static mac_address vlan vlan-id {drop | interface {type slot/port} | port-channel number} [auto-learn] 3. (Optional) switch(config-)# no mac-address-table static mac_address vlan vlan-id DETAILED STEPS PurposeCommand or Action Enters configuration mode.switch# configure terminalStep 1 Specifies a static address to add to the MAC address table.switch(config-)# mac-address-table static mac_address vlan vlan-id {drop | interface {type slot/port} | port-channel number} [auto-learn] Step 2 If you enable the auto-learn option, the switch will update the entry if the same MAC address is seen on a different port. (Optional) Deletes the static entry from the MAC address table. switch(config-)# no mac-address-table static mac_address vlan vlan-id Step 3 This example shows how to put a static entry in the MAC address table: switch# configure terminal switch(config)# mac-address-table static 12ab.47dd.ff89 vlan 3 interface ethernet 2/1 You can use the mac-address-table static command to assign a static MAC address to a virtual interface. Configuring the Aging Time for the MAC Table You can configure the amount of time that an entry (the packet source MAC address and port that packet ingresses) remain in the MAC table. MAC aging time can be configured in either interface configuration mode or in VLAN configuration mode. If the Cisco Nexus 3000 switch is used as a Layer 2 or Layer 3 termination switch, Cisco recommends that you set the mac-address-table aging-time to 1800 (higher than the default ARP aging time of 1500 seconds) on all VLANs. Cisco Nexus 3000 switch does not support per-VLAN cam aging timers. Note Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U2(1) 2 OL-26508 -01 Configuring the MAC Address Table Configuring the Aging Time for the MAC Table
  • 3. SUMMARY STEPS 1. switch# configure terminal 2. switch(config)# mac-address-table aging-time seconds [vlan vlan_id] DETAILED STEPS PurposeCommand or Action Enters global configuration mode.switch# configure terminalStep 1 Specifies the time before an entry ages out and is discarded from the MAC address table. switch(config)# mac-address-table aging-time seconds [vlan vlan_id] Step 2 The seconds range is from 0 to 1000000. The default is 1800 seconds. Entering the value 0 disables the MAC aging. If a VLAN is not specified, the aging specification applies to all VLANs. This example shows how to set the aging time for entries in the MAC address table to 1800 seconds (30 minutes): switch# configure terminal switch(config) # mac-address-table aging-time 1800 switch(config) # Clearing Dynamic Addresses from the MAC Table You can clear all dynamic entries in the MAC address table. PurposeCommand Clears the dynamic address entries from the MAC address table. switch(config)# clear mac-address-table dynamic {address mac-addr} {interface [type slot/port | port-channel number} {vlan vlan-id} This example shows how to clear the dynamic entries in the MAC address table: switch# clear mac-address-table dynamic Verifying the MAC Address Configuration To display MAC address configuration information, perform one of these tasks: PurposeCommand Displays the MAC address aging time for all VLANs defined in the switch. switch# show mac-address-table aging-time Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U2(1) OL-26508 -01 3 Configuring the MAC Address Table Clearing Dynamic Addresses from the MAC Table
  • 4. PurposeCommand Displays the contents of the MAC address table.switch# show mac-address-table This example shows how to display the MAC address table: switch# show mac-address-table VLAN MAC Address Type Age Port ---------+-----------------+-------+---------+------------------------------ 1 0018.b967.3cd0 dynamic 10 Eth1/3 1 001c.b05a.5380 dynamic 200 Eth1/3 Total MAC Addresses: 2 This example shows how to display the current aging time: switch# show mac-address-table aging-time Vlan Aging Time ----- ---------- 1 300 13 300 42 300 Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U2(1) 4 OL-26508 -01 Configuring the MAC Address Table Verifying the MAC Address Configuration