Ip Port Access-Group (Session) - Cisco nexus 3000 series Command Reference Manual

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

Chapter
System Management Commands
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m

ip port access-group (session)

To apply an IPv4 access control list (ACL) to an interface as a port ACL, use the ip port access-group
command. To remove an IPv4 ACL from an interface, use the no form of this command.
Syntax Description
access-list-name
in
out
Command Default
None
Command Modes
Session interface configuration mode
Command History
Release
5.0(3)U1(1)
Examples
This example shows how to apply an IPv4 ACL named ip-acl-01 to the Ethernet interface 1/2 as a port
ACL:
switch# configure session MySession1
switch(config-s)# interface ethernet 1/2
switch(config-s-if)# ip port access-group ip-acl-01 in
switch(config-s-if)#
This example shows how to remove an IPv4 ACL named ip-acl-01 from Ethernet interface 1/2:
switch(config-s)# interface ethernet 1/2
switch(config-s-if)# no ip port access-group ip-acl-01 in
switch(config-s-if)#
Related Commands
Command
show access-lists
show configuration
session
OL-29557-04
ip port access-group access-list-name {in | out}
no ip port access-group access-list-name {in | out}
Name of the IPv4 ACL. The name can be up to 64 alphanumeric,
case-sensitive characters.
Specifies that the ACL applies to inbound traffic.
Specifies that the ACL applies to outbound traffic.
Modification
This command was introduced.
Description
Displays all ACLs.
Displays the contents of the session.
Cisco Nexus 3000 Series NX-OS System Management Command Reference
ip port access-group (session)
-SM-97

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents