Cisco Nexus 7000 Series Configuration Manual page 32

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring a Static MAC Address on a Layer 3 Interface
SUMMARY STEPS
1. config t
2. interface [ethernet slot/port | ethernet slot/port.number | port-channel number | vlan vlan-id]
3. mac-address mac-address
4. exit
5. (Optional) show interface [ethernet slot/port | ethernet slot/port.number | port-channel number |
vlan vlan-id]
6. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
interface [ethernet slot/port | ethernet slot/port.number |
port-channel number | vlan vlan-id]
Example:
switch(config)# interface ethernet 7/3
Step 3
mac-address mac-address
Example:
switch(config-if)# mac-address 22ab.47dd.ff89
switch(config-if)#
Step 4
exit
Example:
switch(config-if)# exit
switch(config)#
Step 5
show interface [ethernet slot/port | ethernet
slot/port.number | port-channel number | vlan vlan-id]
Example:
switch# show interface ethernet 7/3
Step 6
copy running-config startup-config
Example:
switch# copy running-config startup-config
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
16
Configuring Layer 2 Switching
Purpose
Enters global configuration mode.
Specifies the Layer 3 interface and enters interface
configuration mode.
You must create the Layer 3 interface before
Note
you can assign the static MAC address.
Specified a static MAC address to add to the Layer 3
interface.
Exits interface configuration mode.
(Optional)
Displays information about the Layer 3 interface.
(Optional)
Copies the running configuration to the startup
configuration.

Advertisement

Table of Contents
loading

Table of Contents