138
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter       I Commands
ipv6 access-class
ipv6 access-class
To create or configure an IPv6 access class to restrict incoming or outgoing traffic on a virtual terminal 
line (VTY), use the ipv6 access-class command. To remove the access class, use the no form of this 
command.
ipv6 access-class access-list-name {in | out}
no ipv6 access-class access-list-name {in | out}
Syntax Description
Command Default None
Command Modes Line configuration mode
Command History
Examples This example shows how to configure an IPv6 access class on a VTY line to restrict inbound packets:
switch# configure terminal 
switch(config)# line vty 
switch(config-line)# ipv6 access-class VTY_I6ACCESS in 
switch(config-line)# 
This example shows how to remove an IPv6 access class that restricts inbound packets:
switch(config)# line vty 
switch(config-line)# no ipv6 access-class VTY_I6ACCESS in 
switch(config-line)# 
Related Commands
access-list-name Name of the IPv6 ACL class. The name can be a maximum of 64 characters. 
The name can contain characters, numbers, hyphens, and underscores. The 
name cannot contain a space or quotation mark.
in Specifies that incoming connections be restricted between a particular 
Cisco Nexus 5000 Series switch and the addresses in the access list.
out Specifies that outgoing connections be restricted between a particular Cisco 
Nexus 5000 Series switch and the addresses in the access list. 
Release Modification
5.2(1)N1(1) This command was introduced.
Command Description
access-class Configures an access class for VTY.
copy running-config 
startup-config
Copies the running configuration to the startup configuration file.
show ipv6 access-class Displays IPv6 access classes.