3com 3CRUS2475 Manuale Utente

Pagina di 522
mac access-list
47
Default Configuration
This command has no default configuration
Command Mode
IP-Access List Configuration mode
User Guidelines
Use the ip access-list Global Configuration mode command to enable 
the IP-Access List Configuration mode.
Before an Access Control Element (ACE) is added to an ACL, all packets 
are permitted. After an ACE is added, an implied deny-any-any 
condition exists at the end of the list and those packets that do not match 
the defined conditions are denied.
Example
The following example shows how to define a permit statement for an IP 
ACL.
mac access-list 
The mac access-list Global Configuration mode command enables the 
MAC-Access List Configuration mode and creates Layer 2 ACLs. To delete 
an ACL, use the no form of this command.
Syntax
mac access-list name 
no mac access-list name 
Parameters
name — Specifies the name of the ACL. (Range: 0-32 characters)
Default Configuration
The default for all ACLs is deny all.
Command Mode
Global Configuration mode
Console(config)# ip access-list ip-acl1
Console(config-ip-al)# deny rsvp 192.1.1.1 0.0.0.255 any