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.
Name Type Constraint Mandatory Default Value line Class [line]No
Name Type Constraint Mandatory Default Value consoles List [consoles]No vtys List [vtys]No auxes List [auxes]No
Name Type Constraint Mandatory Default Value number Integer min: 0, max: 17 Yes exec_timeout_minutes Integer min: 0, max: 35791 No exec_timeout_seconds Integer min: 0, max: 2147483 No login_local Boolean true, falseNo login_authentication String No privilege_level Integer min: 0, max: 15 No stopbits Choice 1, 1.5, 2No password_level Integer min: 0, max: 255 No password_type Choice 0, 6, 7No password String No session_timeout Integer min: 0, max: 2147483647 No monitor Boolean true, falseNo escape_character String No logging_synchronous Boolean true, falseNo transport_output List Choice[all, acercon, lat, mop, nasi, none, pad, rlogin, ssh, telnet, udptn] No
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, 7No password String No login_authentication String No transport_preferred_protocol Choice acercon, lat, mop, nasi, none, pad, rlogin, ssh, telnet, udptnNo authorization_exec String No authorization_exec_default Boolean true, falseNo transport_input_all Boolean true, falseNo transport_input_none Boolean true, falseNo transport_input List String No session_timeout Integer min: 0, max: 2147483647 No monitor Boolean true, falseNo escape_character String No logging_synchronous Boolean true, falseNo transport_output List Choice[all, acercon, lat, mop, nasi, none, pad, rlogin, ssh, telnet, udptn] No
Name Type Constraint Mandatory Default Value number Integer min: 0, max: 17 Yes exec_timeout_minutes Integer min: 0, max: 35791 No exec_timeout_seconds Integer min: 0, max: 2147483 No monitor Boolean true, falseNo escape_character String No logging_synchronous Boolean true, falseNo transport_output List Choice[none] No
Name Type Constraint Mandatory Default Value direction Choice in, outYes access_list String No vrf_also Boolean true, falseNo
logging_synchronous : true
password : encryptedPassword123
login_authentication : default
transport_preferred_protocol : ssh
logging_synchronous : true
transport_input_all : false
logging_synchronous : false