C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Terminal Services Commands on Cisco IOS XR Software
access-class
SMR-667
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
access-class
To restrict incoming and outgoing connections using an IPv4 or IPv6 access list, use the
access-class
command in line template configuration mode. To remove the
access-class
command from the
configuration file and restore the system to its default condition, use the
no
form of this command.
access-class
list-name
{
in
|
out
}
no
access-class
list-name
{
in
|
out
}
Syntax Description
Defaults
No access class is set.
Command Modes
Line template configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the
access-class
command to restrict incoming or outgoing connections to addresses defined in an
access list. Use the
ipv4 access-list
or
ipv6 access-list
command to define an access list by name.
Note
To restrict access of incoming or outgoing connections over IPv4 and IPv6, the IPv4 access list and IPv6
access list must share the same name.
Task ID
Examples
The following example shows how to specify an access class assigned to outgoing connections for the
default line template:
RP/0/RP0/CPU0:router(config)#
line default
RP/0/RP0/CPU0:router(config-line)#
access-class vtyacl out
list-name
IPv4 or IPv6 access list name.
in
Filters incoming connections.
out
Filters outgoing connections.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
tty-access
read, write