Skip to content

Control Plane

Control plane management defines which protocols are allowed to access the device through specific interfaces. It supports both inband (data-plane) and out-of-band (management-plane) interface configurations with per-protocol access control lists using IPv4 and IPv6 prefixes and host addresses.

Diagram
NameTypeConstraintMandatoryDefault Value
control_planeClass[control_plane]No

control_plane (iosxr.devices.configuration)

Section titled “control_plane (iosxr.devices.configuration)”
NameTypeConstraintMandatoryDefault Value
management_planeClass[management_plane]No

management_plane (iosxr.devices.configuration.control_plane)

Section titled “management_plane (iosxr.devices.configuration.control_plane)”
NameTypeConstraintMandatoryDefault Value
inbandClass[inband]No
out_of_bandClass[out_of_band]No

inband (iosxr.devices.configuration.control_plane.management_plane)

Section titled “inband (iosxr.devices.configuration.control_plane.management_plane)”
NameTypeConstraintMandatoryDefault Value
interfacesList[interfaces]No
interfaces_allClass[interfaces_all]No

out_of_band (iosxr.devices.configuration.control_plane.management_plane)

Section titled “out_of_band (iosxr.devices.configuration.control_plane.management_plane)”
NameTypeConstraintMandatoryDefault Value
inband_behaviorBooleantrue, falseNo
interfacesList[interfaces]No
interfaces_allClass[interfaces_all]No
vrfStringNo

interfaces (iosxr.devices.configuration.control_plane.management_plane.inband)

Section titled “interfaces (iosxr.devices.configuration.control_plane.management_plane.inband)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
allList[all]No
httpList[http]No
netconfList[netconf]No
snmpList[snmp]No
sshList[ssh]No
telnetList[telnet]No
tftpList[tftp]No
xmlList[xml]No

interfaces_all (iosxr.devices.configuration.control_plane.management_plane.inband)

Section titled “interfaces_all (iosxr.devices.configuration.control_plane.management_plane.inband)”
NameTypeConstraintMandatoryDefault Value
allList[all]No
httpList[http]No
netconfList[netconf]No
snmpList[snmp]No
sshList[ssh]No
telnetList[telnet]No
tftpList[tftp]No
xmlList[xml]No

all (iosxr.devices.configuration.control_plane.management_plane.inband.interfaces)

Section titled “all (iosxr.devices.configuration.control_plane.management_plane.inband.interfaces)”
NameTypeConstraintMandatoryDefault Value
addressAnyIP or Choice[any] or String[Regex: ^.*[\$\%]\{.*$]Yes
lengthAnyInteger[min: 0, max: 128] or Choice[any] or String[Regex: ^.*[\$\%]\{.*$]Yes

Protocol Entries

Each protocol is configured as a list of entries with address and length fields. The address type is automatically detected and routes entries to the appropriate attributes (IPv4 or IPv6 prefixes).

  • address: any with length: any enables the protocol on the device without ACL restrictions.

Example-1: Enable SSH and SNMP on an inband interface with IPv4 prefix restrictions.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
control_plane:
management_plane:
inband:
interfaces:
- name: GigabitEthernet0/0/0/0
ssh:
- address: 10.0.0.0
length: 8
- address: 10.1.1.1
length: 32
snmp:
- address: 172.16.0.0
length: 12

Example-2: Enable SSH and NETCONF with out-of-band management with VRF and any hosts.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
control_plane:
management_plane:
out_of_band:
vrf: MGMT
interfaces:
- name: MgmtEth0/RP0/CPU0/0
ssh:
- address: any
length: any
netconf:
- address: any
length: any