Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
PurposeCommand or Action
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 4
Related Topics
• Rules, page 280
Applying a MAC ACL as a Port ACL
You can apply a MAC ACL as a port ACL to any of the following interface types:
• Ethernet interfaces
• EtherChannel interfaces
Be sure that the ACL that you want to apply exists and is configured to filter traffic as necessary for this
application.
Some configuration parameters when applied to an EtherChannel are not reflected on the configuration
of the member ports.
Note
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enters interface configuration mode for the
Ethernet specified interface.
switch(config)# interface {ethernet
[chassis/]slot/port | port-channel
channel-number}
Step 2
Applies a MAC ACL to the interface.switch(config-if)# mac port access-group
access-list
Step 3
(Optional)
Displays ACL configuration.
switch# show running-config
Step 4
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config startup-config
Step 5
Related Topics
• Creating an IP ACL, page 283
Verifying MAC ACL Configurations
To display MAC ACL configuration information, perform one of the following tasks:
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
290 OL-16597-01
Configuring MAC ACLs
Applying a MAC ACL as a Port ACL