Notes - VTY lines (IOS-XR)
Last updated
Last updated
By default, VTY lines 0-4 are available for access for virtual terminal sessions (i.e. telnet and SSH). The default line template applies to these lines.
You have the ability to control three lines:
console
custom (named and applied to the vty-pool)
default
Attributes not defined in line console or line template <name> are taken from line default
You will typically use the default line template. This does not need to be applied to the vty lines, because they use the default line template already.
To create your own custom line template use line template <name> and apply it to the specified vty lines via the vty-pool statement. You can either apply the template to the default pool (which must begin at 0), or to a user-defined pool name (which must start at vty number 5 or higher).
The line console template will only apply to the physical console port.
Note that SSH and/or telnet must be explicitly enabled:
By default, there are 5 vty lines defined. This limits the max number of simulataneous vty sessions to five. To increase this, you can increase the default vty-pool: