4
Command Line Interface
Command Groups
IP ACLs
MAC ACLs
ACL Information
IP ACLs
Command
access-list ip
permit, deny
permit, deny
show ip access-list
ip access-group
show ip access-group
map access-list ip
show map access-list ip
access-list ip
This command adds an IP access list and enters configuration mode for standard or
extended IP ACLs. Use the no form to remove the specified ACL.
Syntax
[no] access-list ip {standard | extended} acl_name
• standard – Specifies an ACL that filters packets based on the source IP
address.
• extended – Specifies an ACL that filters packets based on the source or
destination IP address, and other more specific criteria.
• acl_name – Name of the ACL. (Maximum length: 16 characters)
Default Setting
None
Command Mode
Global Configuration
4-86
Table 4-32. Access Control Lists
Function
Configures ACLs based on IP addresses, TCP/UDP port number,
protocol type, and TCP control code
Configures ACLs based on hardware addresses, packet format, and
Ethernet type
Displays ACLs and associated rules; shows ACLs assigned to each port
Table 4-33. IP ACLs
Function
Creates an IP ACL and enters configuration mode
Filters packets matching a specified source IP address
Filters packets meeting the specified criteria, including
source and destination IP address, TCP/UDP port number,
protocol type, and TCP control code
Displays the rules for configured IP ACLs
Adds a port to an IP ACL
Shows port assignments for IP ACLs
Sets the CoS value and corresponding output queue for
packets matching an ACL rule
Shows CoS value mapped to an access list for an interface PE
Page
4-86
4-93
4-98
Mode
Page
GC
4-86
STD-ACL
4-87
EXT-ACL
4-88
PE
4-90
IC
4-90
PE
4-90
IC
4-91
4-92
Need help?
Do you have a question about the 100BASE-TX and is the answer not in the manual?