Linux-managed interfaces allow standard Linux automation tools to configure and manage IOS XR interfaces, enabling IP address changes, MTU settings, and state management to propagate bidirectionally between Linux and IOS XR.
A Linux-managed interface is an IOS XR exposed XR interface (EXI) that is configured to accept management input from Linux rather than from the IOS XR configuration. Key characteristics include:
-
By default, all IOS XR interfaces are managed through IOS XR configuration (CLI or YANG models), with attributes such as IP address, MTU, and state inherited from the IOS XR configuration and interface state.
-
When an interface is set to Linux-managed mode, standard Linux automation tools on Linux servers can manage IOS XR interfaces directly, and configuration changes made from Linux propagate back to IOS XR.
-
Secondary IPv4 addresses cannot be managed from Linux; only primary addresses are supported in Linux-managed mode.
Linux-managed interface capabilities
Each network namespace in the Linux system contains a set of interfaces that map to IOS XR interfaces. When an interface is Linux-managed, you can:
-
Configure new IP addresses on the interface from Linux using the ip addr add command.
-
Configure a custom MTU using the ip link set mtu command, which propagates the change back to the IOS XR configuration.
-
Bring the interface up or down using ifconfig commands, with state changes reflected in IOS XR.