permit (role-based access control list)
To configure a permit action in a security group access control list (SGACL), use the permit command. To
remove the action, use the no form of this command.
permit {all| icmp| igmp| ip| {tcp| udp} [{src| dst} {eq| gt| lt| neq} port-number| range port-number1
port-number2]} [log]
nopermit {all| icmp| igmp| ip| {tcp| udp} [{src| dst} {eq| gt| lt| neq} port-number| range port-number1
port-number2]} [log]
Syntax Description
Specifies all traffic.all
Specifies Internet Control Message Protocol (ICMP)
traffic.
icmp
Specifies Internet Group Management Protocol
(IGMP) traffic.
igmp
Specifies IP traffic.ip
Specifies TCP traffic.tcp
Specifies User Datagram Protocol (UDP) traffic.udp
Specifies the source port number.src
Specifies the destination port numberdst
Specifies equal to the port number.eq
Specifies greater than the port number.gt
Specifies less than the port number.lt
Specifies not equal to the port number.neq
Port number for TCP or UDP. The range is from 0 to
65535.
port-number
Specifies a port range for TCP or UDP.range
First port in the range. The range is from 0 to 65535.
port-number1
Last port in the range. The range is from 0 to 65535.
port-number2
(Optional) Specifies that packets matching this
configuration be logged.
log
Cisco Nexus 7000 Series Security Command Reference
575
P Commands
permit (role-based access control list)