ip access-list (session)
To create an IPv4 access control list (ACL) within a configuration session, use the ip access-list command. To remove an ACL from a configuration session, use the no form of this command.
ip access-list ACL-name
no ip access-list ACL-name
Syntax Description
ACL-name |
Name of the IPv4 ACL. The name can be up to 64 alphanumeric characters and cannot contain a space or quotation mark. |
Command Default
No IPv4 ACLs are defined by default.
Command Modes
Global session configuration mode
Command History
Release |
Modification |
---|---|
6.0(2)N1(1) |
This command was introduced. |
Examples
This example shows how to create an IPv4 ACL for a configuration session:
switch# configure session MySession1
switch(config-s)# ip access-list myACL
switch(config-s-acl)#