Line configuration controls the behavior of console, default (VTY), and named template terminal lines on Cisco IOS-XR routers. Console is the physical out-of-band management interface. Default applies to all VTY lines for remote access via SSH or Telnet. Templates define named, reusable terminal line profiles that can be applied to VTY lines.
Name Type Constraint Mandatory Default Value line Class [line]No
Name Type Constraint Mandatory Default Value console Class [console]No default Class [default]No templates List [templates]No
Name Type Constraint Mandatory Default Value absolute_timeout Integer min: 0, max: 10000 No access_class_egress String No access_class_ingress String No accounting_commands String No accounting_exec String No authorization_commands String No authorization_eventmanager String No authorization_exec String No cli_whitespace_completion Boolean true, falseNo disconnect_character String No escape_character String No exec_timeout_minutes Integer min: 0, max: 35791 No exec_timeout_seconds Integer min: 0, max: 2147483 No length Integer min: 0, max: 512 No login_authentication String No pager Choice less, more, noneNo password String No password_type Choice 0, 7No secret String No secret_type Choice 0, 5No session_limit Integer min: 0, max: 20 No session_timeout Integer min: 0, max: 35791 No session_timeout_output Boolean true, falseNo telnet_transparent Boolean true, falseNo timeout_login_response Integer min: 0, max: 300 No timestamp_disable Boolean true, falseNo transport_input Any List[Choice[all, none, ssh, telnet]] No transport_output Any List[Choice[all, none, ssh, telnet]] No transport_preferred Choice none, ssh, telnetNo user_groups List [user_groups]No width Integer min: 0, max: 512 No
Name Type Constraint Mandatory Default Value absolute_timeout Integer min: 0, max: 10000 No access_class_egress String No access_class_ingress String No accounting_commands String No accounting_exec String No authorization_commands String No authorization_eventmanager String No authorization_exec String No autocommand String No cli_whitespace_completion Boolean true, falseNo disconnect_character String No escape_character String No exec_timeout_minutes Integer min: 0, max: 35791 No exec_timeout_seconds Integer min: 0, max: 2147483 No length Integer min: 0, max: 512 No login_authentication String No pager Choice less, more, noneNo password String No password_type Choice 0, 7No secret String No secret_type Choice 0, 5No session_limit Integer min: 0, max: 20 No session_timeout Integer min: 0, max: 35791 No session_timeout_output Boolean true, falseNo telnet_transparent Boolean true, falseNo timeout_login_response Integer min: 0, max: 300 No timestamp_disable Boolean true, falseNo transport_input Any List[Choice[all, none, ssh, telnet]] No transport_output Any List[Choice[all, none, ssh, telnet]] No transport_preferred Choice none, ssh, telnetNo user_groups List [user_groups]No width Integer min: 0, max: 512 No
Name Type Constraint Mandatory Default Value name String Yes absolute_timeout Integer min: 0, max: 10000 No access_class_egress String No access_class_ingress String No accounting_commands String No accounting_exec String No authorization_commands String No authorization_eventmanager String No authorization_exec String No autocommand String No cli_whitespace_completion Boolean true, falseNo disconnect_character String No escape_character String No exec_timeout_minutes Integer min: 0, max: 35791 No exec_timeout_seconds Integer min: 0, max: 2147483 No length Integer min: 0, max: 512 No login_authentication String No pager Choice less, more, noneNo password String No password_type Choice 0, 7No secret String No secret_type Choice 0, 5No session_limit Integer min: 0, max: 20 No session_timeout Integer min: 0, max: 35791 No session_timeout_output Boolean true, falseNo telnet_transparent Boolean true, falseNo timeout_login_response Integer min: 0, max: 300 No timestamp_disable Boolean true, falseNo transport_input Any List[Choice[all, none, ssh, telnet]] No transport_output Any List[Choice[all, none, ssh, telnet]] No transport_preferred Choice none, ssh, telnetNo user_groups List [user_groups]No width Integer min: 0, max: 512 No
Name Type Constraint Mandatory Default Value name String Yes
Name Type Constraint Mandatory Default Value name String Yes
Name Type Constraint Mandatory Default Value name String Yes
access-class ingress ACL1
session-timeout 1440 output
timeout login response 60
transport output ssh telnet
cli-whitespace-completion
users group cisco-support
access-class ingress ACL1
session-timeout 1440 output
timeout login response 60
transport output ssh telnet
cli-whitespace-completion
users group cisco-support
access-class ingress ACL1
session-timeout 1440 output
timeout login response 60
transport output ssh telnet
cli-whitespace-completion
users group cisco-support
Example-1: Configure line console timeouts, session limits, and secret.
session_timeout_output : true
timeout_login_response : 60
secret : " $1$UgkY$I2SEocww.URG7gvDI7oz01 "
Example-2: Configure line console terminal display settings.
cli_whitespace_completion : true
Example-3: Configure a line template with password.
access_class_ingress : ACL1
access_class_egress : ACL1
session_timeout_output : true
timeout_login_response : 60