Skip to content

VTY Pool

Virtual Terminal (VTY) line pools are used to manage remote access sessions. VTY pools provide logical grouping of terminal lines with customizable ranges and line templates for different services including default sessions, Embedded Event Manager (EEM), and user-defined pools. This enables granular control over concurrent remote access sessions and their configurations.

Diagram
NameTypeConstraintMandatoryDefault Value
vty_poolsClass[vty_pools]No

NameTypeConstraintMandatoryDefault Value
defaultClass[default]No
eemClass[eem]No
user_definedList[user_defined]No

default (iosxr.devices.configuration.vty_pools)

Section titled “default (iosxr.devices.configuration.vty_pools)”
NameTypeConstraintMandatoryDefault Value
from_numberIntegermin: 0, max: 0No
line_templateStringNo
to_numberIntegermin: 4, max: 99No

eem (iosxr.devices.configuration.vty_pools)

Section titled “eem (iosxr.devices.configuration.vty_pools)”
NameTypeConstraintMandatoryDefault Value
from_numberIntegermin: 100, max: 100No
line_templateStringNo
to_numberIntegermin: 105, max: 105No

user_defined (iosxr.devices.configuration.vty_pools)

Section titled “user_defined (iosxr.devices.configuration.vty_pools)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
from_numberAnyInteger[min: 5, max: 99] or Integer[min: 200, max: 299] or String[Regex: ^.*[\$\%]\{.*$]No
line_templateStringNo
to_numberAnyInteger[min: 5, max: 99] or Integer[min: 200, max: 299] or String[Regex: ^.*[\$\%]\{.*$]No

Example-1: Configure default VTY pool with line template.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
vty_pools:
default:
from_number: 0
to_number: 10
line_template: default

Example-2: Configure EEM VTY pool for Embedded Event Manager.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
vty_pools:
eem:
from_number: 100
to_number: 105
line_template: EEM_TEMPLATE

Example-3: Configure user-defined VTY pools.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
vty_pools:
user_defined:
- name: USER_POOL
from_number: 20
to_number: 30
line_template: USER_TEMPLATE