Skip to content

System

System configuration encompasses fundamental device-level settings that define core operational behavior including hostname identification, global MTU, NV overlay VXLAN UDP port settings, and SVI autostate behavior. It includes global IPv4 settings (IP routing, ECMP hash tuning, ICMP redirect logging, source route control), and global IPv6 settings (IPv6 routing, access list local match behavior). System configuration also manages Ethernet defaults for switchport mode, shutdown behavior, transceiver support, storm control, link-status syslog levels, and interface syslog info, establishing the foundational operational baseline for NX-OS devices.

Diagram
NameTypeConstraintMandatoryDefault Value
systemClass[system]No

NameTypeConstraintMandatoryDefault Value
hostnameStringNo
mtuIntegermin: 576, max: 9216No
nv_overlay_vxlan_udp_portIntegermin: 1024, max: 65535No
nv_overlay_vxlan_udp_source_port_modeChoicelow, high, rfcNo
interface_vlan_autostateBooleantrue, falseNo
hsrp_bfdBooleantrue, falseNo
hsrp_timers_extended_holdIntegermin: 10, max: 255No
ip_routingBooleantrue, falseNo
ip_access_list_match_local_trafficBooleantrue, falseNo
logging_level_ipChoiceemergency, alert, critical, error, warning, notification, informational, debugNo
ip_redirect_syslogBooleantrue, falseNo
ip_redirect_syslog_intervalIntegermin: 30, max: 1800No
ip_source_routeBooleantrue, falseNo
hardware_ecmp_hash_offset_concatenationBooleantrue, falseNo
hardware_ecmp_hash_offset_valueIntegermin: 0, max: 63No
hardware_ecmp_hash_polynomialChoicecrc16, crc32hiNo
ipv6_routingBooleantrue, falseNo
ipv6_access_list_match_local_trafficBooleantrue, falseNo
ethernetClass[ethernet]No

ethernet (nxos.devices.configuration.system)

Section titled “ethernet (nxos.devices.configuration.system)”
NameTypeConstraintMandatoryDefault Value
default_switchport_shutdownBooleantrue, falseNo
service_unsupported_transceiverBooleantrue, falseNo
default_switchportChoicelayer2, layer3No
logging_event_portChoicelink-status-default, link-status-enable, none, trunk-status-default, trunk-status-enableNo
default_interface_shutdownChoicedown, down-exclude-fabric, upNo
link_failure_laser_onBooleantrue, falseNo
storm_control_multicastBooleantrue, falseNo
dot1q_tag_nativeBooleantrue, falseNo
admin_link_down_syslog_levelIntegermin: 0, max: 7No
admin_link_up_syslog_levelIntegermin: 0, max: 7No
interface_syslog_infoChoicedefault, info-1No

Example 1: VXLAN leaf switch with system and Ethernet defaults

nxos:
devices:
- name: LEAF1
configuration:
system:
hostname: LEAF1
mtu: 9216
ip_routing: true
ipv6_routing: true
ethernet:
default_switchport: layer2
default_switchport_shutdown: false
service_unsupported_transceiver: true

Example 2: Spine switch with ECMP hash tuning for VXLAN fabric load balancing

nxos:
devices:
- name: SPINE1
configuration:
system:
hostname: SPINE1
mtu: 9216
ip_routing: true
ip_source_route: false
hardware_ecmp_hash_polynomial: crc32hi
hardware_ecmp_hash_offset_concatenation: true
hardware_ecmp_hash_offset_value: 32
ethernet:
default_switchport: layer3
default_switchport_shutdown: false

Example 3: Border leaf with IP/IPv6 routing, ICMP redirect logging, and Ethernet security

nxos:
devices:
- name: BORDER-LEAF1
configuration:
system:
hostname: BORDER-LEAF1
mtu: 9216
ip_routing: true
ip_source_route: false
ip_access_list_match_local_traffic: true
ip_redirect_syslog: true
ip_redirect_syslog_interval: 300
logging_level_ip: warning
ipv6_routing: true
ipv6_access_list_match_local_traffic: true
ethernet:
default_switchport: layer2
default_switchport_shutdown: true
dot1q_tag_native: true
logging_event_port: link-status-enable

Example 4: Ethernet defaults with link-status syslog tuning

nxos:
devices:
- name: LEAF1
configuration:
system:
hostname: LEAF1
ethernet:
default_switchport: layer2
default_switchport_shutdown: false
logging_event_port: link-status-enable
admin_link_down_syslog_level: 4
admin_link_up_syslog_level: 4
interface_syslog_info: info-1