System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Line templates

Want to summarize with AI?

Log in

This section explains line templates, which simplify the configuration and management of multiple terminal lines in Cisco IOS XR software.


A line template is a configuration mechanism that

  • defines a standard set of attribute settings for terminal lines,

  • enables consistent application of those settings to multiple physical and virtual terminal lines, and

  • simplifies configuration management by reducing repetitive commands.

These line template types are available in Cisco IOS XR software:

  • Default line template: Applies to all physical and virtual terminal lines.

  • Console line template: Applies to the console line.

  • User-defined line template: Applies to designated virtual terminal line ranges.


Line Templates Types

The following line templates are available in the Cisco IOS XR software.


Default Line Template

The default line template that applies to a physical and virtual terminal lines.


Console Line Template

The line template that applies to the console line.


User-defined Line Template

User-defined line templates that can be applied to a range of virtual terminal lines.


Line template guidelines

Line templates on a router define the configuration for physical terminal lines such as the console port and virtual terminal lines such as vty lines used for remote access. The following information outlines how to configure these templates and the default values applied.
  • To configure the console line template, enter line template configuration mode using the line console command from Global Configuration mode.

  • To configure a virtual line template, create a user-defined template with the line template-name command. Set terminal attributes within the template, and apply the template to virtual terminal lines using the vty pool command.

  • The default session-limit for line template is applicable to Telnet sessions only. It is not applicable for SSH sessions.

Table 1. Default template values

Attribute

Default Value

Notes

EXEC timeout

10 minutes

Applies to default line template

Width

80 characters

Applies to default line template

Length

24 lines

Applies to default line template

session-limit

Default applies

Only applicable to Telnet sessions; not SSH

Attribute Inheritance

Attributes that are not defined in the console template or any virtual template inherit values from the default template.