Skip to content

Management Interface

Management interface configuration controls out-of-band (OOB) management port settings on NX-OS devices. It allows tuning speed, duplex, MTU, auto-negotiation, shutdown state, and SNMP trap link-status for the mgmt0 (and additional management) interfaces.

NameTypeConstraintMandatoryDefault Value
devicesListdevicesNo
device_groupsListdevice_groupsNo
globalClassglobalNo
templatesListtemplatesNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
interfacesClassinterfacesNo

NameTypeConstraintMandatoryDefault Value
managementListmanagementNo

management (nxos.devices.configuration.interfaces)

Section titled “management (nxos.devices.configuration.interfaces)”
NameTypeConstraintMandatoryDefault Value
idStringYes
shutdownBooleantrue, falseNo
descriptionStringNo
vrfStringNo
duplexChoiceauto, full, halfNo
mtuIntegermin: 576, max: 9216No
speedChoiceauto, 10M, 100M, 1G, 10G, 40G, 100G, 25G, 50G, 200G, 400G, 2.5G, 5G, 800GNo
negotiate_autoChoiceon, off, 25GNo
snmp_trap_link_statusBooleantrue, falseNo
ipClassipNo
ipv6Classipv6No
cdpBooleantrue, falseNo
lldp_receiveBooleantrue, falseNo
lldp_transmitBooleantrue, falseNo
lldp_tlv_set_management_addressIPNo
lldp_tlv_set_management_address_ipv6IPNo
lldp_tlv_set_vlanIntegermin: 0, max: 4094No
lldp_dcbx_versionChoiceauto, CEE, IEEENo

management (nxos.devices.configuration.interfaces)

Section titled “management (nxos.devices.configuration.interfaces)”
NameTypeConstraintMandatoryDefault Value
idStringYes
shutdownBooleantrue, falseNo
descriptionStringNo
vrfStringNo
duplexChoiceauto, full, halfNo
mtuIntegermin: 576, max: 9216No
speedChoiceauto, 10M, 100M, 1G, 10G, 40G, 100G, 25G, 50G, 200G, 400G, 2.5G, 5G, 800GNo
negotiation_autoChoiceon, off, 25GNo
snmp_trap_link_statusBooleantrue, falseNo
ipClassipNo
ipv6Classipv6No
cdpBooleantrue, falseNo
lldp_receiveBooleantrue, falseNo
lldp_transmitBooleantrue, falseNo
lldp_tlv_set_management_address_v4StringNo
lldp_tlv_set_management_address_v6StringNo
lldp_tlv_set_vlanIntegermin: 0, max: 4094No
lldp_dcbx_versionChoiceauto, CEE, IEEENo

ip (nxos.devices.configuration.interfaces.management)

Section titled “ip (nxos.devices.configuration.interfaces.management)”
NameTypeConstraintMandatoryDefault Value
addressIPNo
tagIntegermin: 0, max: 4294967295No
secondary_addressesListsecondary_addressesNo
forwardBooleantrue, falseNo
drop_gleanBooleantrue, falseNo
unnumberedStringNo
directed_broadcastBooleantrue, falseNo
directed_broadcast_aclStringNo
redirectsBooleantrue, falseNo
unreachablesBooleantrue, falseNo
port_unreachableBooleantrue, falseNo
verify_unicast_source_reachable_viaChoicedisabled, rx, any, any-allow-default, rx-allow-vni-hostsNo
access_group_inStringNo
access_group_outStringNo
dhcp_relay_information_trustedBooleantrue, falseNo
dhcp_relay_smart_relayBooleantrue, falseNo
dhcp_relay_subnet_broadcastBooleantrue, falseNo
dhcp_relay_information_optionBooleantrue, falseNo
dhcp_relay_source_subnetStringNo
dhcp_relay_addressesListdhcp_relay_addressesNo

ip (nxos.devices.configuration.interfaces.management)

Section titled “ip (nxos.devices.configuration.interfaces.management)”
NameTypeConstraintMandatoryDefault Value
addressIPNo
tagIntegermin: 0, max: 4294967295No
secondary_addressesListsecondary_addressesNo
forwardBooleantrue, falseNo
drop_gleanBooleantrue, falseNo
unnumberedStringNo
directed_broadcastBooleantrue, falseNo
directed_broadcast_aclStringNo
redirectsBooleantrue, falseNo
unreachablesBooleantrue, falseNo
port_unreachableBooleantrue, falseNo
verify_unicast_source_reachable_viaChoicedisabled, strict, loose, loose-allow-default, strict-allow-vni-hostsNo
access_group_inStringNo
access_group_outStringNo
dhcp_relay_information_trustedBooleantrue, falseNo
dhcp_relay_smart_relayBooleantrue, falseNo
dhcp_relay_subnet_broadcastBooleantrue, falseNo
dhcp_relay_information_optionBooleantrue, falseNo
dhcp_relay_source_subnetStringNo
dhcp_relay_addressesListdhcp_relay_addressesNo

ipv6 (nxos.devices.configuration.interfaces.management)

Section titled “ipv6 (nxos.devices.configuration.interfaces.management)”
NameTypeConstraintMandatoryDefault Value
address_autoconfigBooleantrue, falseNo
nd_default_routeBooleantrue, falseNo
forwardBooleantrue, falseNo
link_local_use_biaBooleantrue, falseNo
address_use_link_local_onlyBooleantrue, falseNo
verify_unicast_source_reachable_viaChoicedisabled, rx, any, any-allow-default, rx-allow-vni-hostsNo
address_link_localIPNo
addressesListaddressesNo
dhcp_smart_relayBooleantrue, falseNo
dhcp_relay_addressesListdhcp_relay_addressesNo
redirectsBooleantrue, falseNo
unreachablesBooleantrue, falseNo

ipv6 (nxos.devices.configuration.interfaces.management)

Section titled “ipv6 (nxos.devices.configuration.interfaces.management)”
NameTypeConstraintMandatoryDefault Value
address_autoconfigBooleantrue, falseNo
nd_default_routeBooleantrue, falseNo
forwardBooleantrue, falseNo
link_local_use_biaBooleantrue, falseNo
address_use_link_local_onlyBooleantrue, falseNo
verify_unicast_source_reachable_viaChoicedisabled, strict, loose, loose-allow-default, strict-allow-vni-hostsNo
address_link_localStringNo
addressesListaddressesNo
dhcp_smart_relayBooleantrue, falseNo
dhcp_relay_addressesListdhcp_relay_addressesNo
redirectsBooleantrue, falseNo
unreachablesBooleantrue, falseNo

secondary_addresses (nxos.devices.configuration.interfaces.management.ip)

Section titled “secondary_addresses (nxos.devices.configuration.interfaces.management.ip)”
NameTypeConstraintMandatoryDefault Value
addressIPYes
tagIntegermin: 0, max: 4294967295No

dhcp_relay_addresses (nxos.devices.configuration.interfaces.management.ip)

Section titled “dhcp_relay_addresses (nxos.devices.configuration.interfaces.management.ip)”
NameTypeConstraintMandatoryDefault Value
addressIPYes
vrfStringNo

dhcp_relay_addresses (nxos.devices.configuration.interfaces.management.ip)

Section titled “dhcp_relay_addresses (nxos.devices.configuration.interfaces.management.ip)”
NameTypeConstraintMandatoryDefault Value
addressStringYes
vrfStringNo

addresses (nxos.devices.configuration.interfaces.management.ipv6)

Section titled “addresses (nxos.devices.configuration.interfaces.management.ipv6)”
NameTypeConstraintMandatoryDefault Value
addressIPYes
typeChoiceprimary, secondaryNo
tagIntegermin: 0, max: 4294967295No
eui64Booleantrue, falseNo
route_preferenceIntegermin: 0, max: 255No

addresses (nxos.devices.configuration.interfaces.management.ipv6)

Section titled “addresses (nxos.devices.configuration.interfaces.management.ipv6)”
NameTypeConstraintMandatoryDefault Value
addressStringYes
typeChoiceprimary, secondaryNo
tagIntegermin: 0, max: 4294967295No
eui64Booleantrue, falseNo
route_preferenceIntegermin: 0, max: 255No

dhcp_relay_addresses (nxos.devices.configuration.interfaces.management.ipv6)

Section titled “dhcp_relay_addresses (nxos.devices.configuration.interfaces.management.ipv6)”
NameTypeConstraintMandatoryDefault Value
addressIPYes
vrfStringNo

dhcp_relay_addresses (nxos.devices.configuration.interfaces.management.ipv6)

Section titled “dhcp_relay_addresses (nxos.devices.configuration.interfaces.management.ipv6)”
NameTypeConstraintMandatoryDefault Value
addressStringYes
vrfStringNo

Example 1: Basic management interface with speed and duplex

nxos:
devices:
- name: LEAF1
configuration:
interfaces:
management:
- id: "0"
shutdown: false
description: "OOB Management"
speed: 1G
duplex: auto
snmp_trap_link_status: true

Example 2: Management interface with VRF membership and IP addressing

nxos:
devices:
- name: LEAF1
configuration:
interfaces:
management:
- id: "0"
shutdown: false
description: "OOB Management"
vrf: management
mtu: 1500
speed: 1G
duplex: auto
negotiate_auto: "on"
snmp_trap_link_status: true
ip:
address: 10.0.0.1/24
ipv6:
addresses:
- address: 2001:db8::1/64
type: primary

Example 3: Management interface with CDP and LLDP configuration

nxos:
devices:
- name: LEAF1
configuration:
interfaces:
management:
- id: "0"
shutdown: false
description: "OOB Management"
vrf: management
cdp: true
lldp_receive: true
lldp_transmit: true

Example 1: Basic management interface with speed and duplex

nxos:
devices:
- name: LEAF1
configuration:
interfaces:
management:
- id: "0"
shutdown: false
description: "OOB Management"
speed: 1G
duplex: auto
snmp_trap_link_status: true

Example 2: Management interface with VRF membership and IP addressing

nxos:
devices:
- name: LEAF1
configuration:
interfaces:
management:
- id: "0"
shutdown: false
description: "OOB Management"
vrf: management
mtu: 1500
speed: 1G
duplex: auto
negotiation_auto: "on"
snmp_trap_link_status: true
ip:
address: 10.0.0.1/24
ipv6:
addresses:
- address: 2001:db8::1/64
type: primary

Example 3: Management interface with CDP and LLDP configuration

nxos:
devices:
- name: LEAF1
configuration:
interfaces:
management:
- id: "0"
shutdown: false
description: "OOB Management"
vrf: management
cdp: true
lldp_receive: true
lldp_transmit: true