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 configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value line Class line 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