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 }
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.
|
None
Line configuration mode
Release
|
Modification
|
---|---|
5.0(2)N1(1)
|
This command was introduced.
|
This example shows how to configure an IPv6 access class on a VTY line to restrict inbound packets:
This example shows how to remove an IPv6 access class that restricts inbound packets:
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.
|
show line
|
Displays the access lists for a particular terminal line.
|
show running-config aclmgr
|
Displays the running configuration of ACLs.
|
show startup-config aclmgr
|
Displays the startup configuration for ACLs.
|
ssh6
|
Starts an SSH session using IPv6.
|
telnet6
|
Starts a Telnet session using IPv6.
|