User Guide
608
Configuring ACL
ACL Configuration
Step 7
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to create MAC ACL 50 and configure Rule 5 to permit
packets with source MAC address 00:34:A2:D4:34:B5:
Switch#configure
Switch(config)#access-list create
50
Switch(config-mac-acl)#access-list mac
50
rule
5
permit logging
disable
smac
00:34:A2:D4:34:B5
smask
FF:FF:FF:FF:FF:FF
Switch(config-mac-acl)#exit
Switch(config)#show access-list
50
MAC access list 50 name: ACL_50
rule 5 permit logging disable smac 00:34:a2:d4:34:b5 smask ff:ff:ff:ff:ff:ff
Switch(config)#end
Switch#copy running-config startup-config
■
IP ACL
Step 1
configure
Enter global configuration mode.
Step 2
access-list create
acl-id
[name
acl-name
]
Create an IP ACL.
acl-id:
Enter an ACL ID. The ID ranges from 500 to 999.
acl-name:
Enter a name to identify the ACL.
Downloaded from