ACL Commands
permit (IP)
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
79
4
Parameters
•
value
—Sequence name of the ACL. The acceptable range is from 1 to
2147483547.
Command Mode
IP Access-List Configuration mode, IPv6 Access-List Configuration mode, and
MAC Access-List Configuration mode
Example
switchxxxxxx(config)#
mac access-list extended macac11
switchxxxxxx(config-mac-acl)#
show access-list
MAC access list macac11
....sequence 1 permit any any
switchxxxxxx(config-mac-acl)#
no sequence 1
permit (IP)
To set permit conditions for an IPv4-based ACL, use the permit IP Access-List
Configuration mode command.
To remove an IPv4-based ACE, use the no sequence command.
Syntax
[sequence
value
] permit
protocol
{any |
source source-wildcard
} {any
|
destination
destination-wildcard
} [dscp
number
| precedence
number
]
[sequence
value
] permit
icmp
{any
|
source source-wildcard
} {any |
destination
destination-wildcard
} [any
|
icmp-type
] [any
|
icmp-code
] [dscp
number
|
precedence
number
]
[sequence
value
] permit
tcp
{any |
source source-wildcard
} {any |
source-port/
port-range
} {any |
destination destination-wildcard
} {any |
destination-port
/
port-
range
} [dscp
number
| precedence
number
] [match-all
list-of-flags
]
[sequence
value
] permit
udp
{any
|
source source-wildcard
} {any |
source-port/
port-range
} {any
|
destination destination-wildcard
} {any |
destination-port
/
port-
range
} [dscp
number
| precedence
number
]
no sequence
value