Line configuration manages device access control for both console (CON) and virtual terminal (VTY) connections, defining authentication methods, timeout values, transport protocols, and access restrictions. Console lines provide direct physical access to devices while VTY lines enable remote access via protocols such as SSH and Telnet, with configurable access control lists to restrict connections by source IP address or network range. Line configuration also controls session parameters including privilege levels, password authentication, exec timeouts, and logging settings to ensure secure and manageable device access.
Diagram
Classes
configuration (iosxe.devices)
Name
Type
Constraint
Mandatory
Default Value
line
Class
[line]
No
line (iosxe.devices.configuration)
Name
Type
Constraint
Mandatory
Default Value
consoles
List
[consoles]
No
vtys
List
[vtys]
No
consoles (iosxe.devices.configuration.line)
Name
Type
Constraint
Mandatory
Default Value
exec_timeout_minutes
Integer
min: 0, max: 35791
No
exec_timeout_seconds
Integer
min: 0, max: 2147483
No
login_local
Boolean
true, false
No
login_authentication
String
No
privilege_level
Integer
min: 0, max: 15
No
stopbits
Choice
1, 1.5, 2
No
password_level
Integer
min: 0, max: 255
No
password_type
Choice
0, 6, 7
No
password
String
No
vtys (iosxe.devices.configuration.line)
Name
Type
Constraint
Mandatory
Default Value
number_from
Integer
min: 0, max: 1869
Yes
number_to
Integer
min: 1, max: 1869
No
access_classes
List
[access_classes]
No
exec_timeout_minutes
Integer
min: 0, max: 35791
No
exec_timeout_seconds
Integer
min: 0, max: 2147483
No
password_level
Integer
min: 0, max: 255
No
password_type
Choice
0, 6, 7
No
password
String
No
login_authentication
String
No
transport_preferred_protocol
Choice
acercon, lat, mop, nasi, none, pad, rlogin, ssh, telnet, udptn