Ethernet interfaces provide the fundamental physical connectivity for NX-OS devices, supporting various speeds from 100m to 800g with comprehensive Layer 2 switching and Layer 3 routing capabilities including access/trunk modes, VLAN assignment, and FEX fabric connectivity. They offer extensive configuration options including auto-negotiation, FEC mode, duplex, MTU, link debounce, carrier delay, beacon, storm control, dot1q tagging, voice VLAN, load intervals, and advanced features such as port channels with LACP, VPC membership, subinterfaces, and uRPF for security. Ethernet interfaces support protocol sub-sections for OSPF, OSPFv3, PIM, IS-IS, HSRP, DHCP relay, IPv6 ND, spanning tree, and QoS service policies, along with IPv4/IPv6 addressing, access group filtering, and interface group inheritance for standardized configuration.
Name Type Constraint Mandatory Default Value ethernets List [ethernets]No
Name Type Constraint Mandatory Default Value id String Yes interface_groups List String No shutdown Boolean true, falseNo negotiate_auto Choice on, off, 25gNo bandwidth Integer min: 0, max: 3200000000 No beacon Boolean true, falseNo delay Integer min: 1, max: 16777215 No description String No dfe_adaptive_tuning Boolean true, falseNo dfe_tuning_delay Integer min: 100, max: 10000 No dot1q_ethertype Integer min: 1536, max: 65535 No duplex Choice auto, full, halfNo fec Choice fc-fec, rs-fec, fec-off, auto, rs-ieee, rs-cons16, kp-fecNo itu_channel Integer min: 1, max: 96 No link_active_jitter_management Boolean true, falseNo link_debounce_time Integer min: 0, max: 20000 No link_debounce_link_up Integer min: 0, max: 20000 No link_flap_err_disable Boolean true, falseNo link_flap_err_disable_max Integer min: 2, max: 30 No link_flap_err_disable_interval Integer min: 5, max: 420 No logging_event_port_link_status Boolean true, falseNo loopback Boolean true, falseNo link_mac_up_timer Integer min: 0, max: 120 No link_max_bring_up_timer Integer min: 0, max: 120 No link_transmit_reset Boolean true, falseNo mac_address String No mdix Choice auto, mdi, mdi-xNo media_type Choice none, 10g-txNo medium Choice broadcast, p2pNo mtu Integer min: 576, max: 9216 No packet_timestamp_egress_source_id Integer min: 0, max: 8388606 No packet_timestamp_ingress_source_id Integer min: 0, max: 8388606 No packet_timestamp Choice disable, enable-ingress, enable-egress, enable-bothNo snmp_trap_link_status Boolean true, falseNo speed Choice unknown, 100m, 1g, 10g, 40g, auto, auto-100m, auto-100m-1g, 100g, 25g, 10m, 50g, 200g, 400g, 2.5g, 5g, auto-2.5g-5g-10g, auto-100m-1g-2.5g-5g, 800gNo speed_group Choice unknown, 1000, 10000, 40000, auto, 25000No squelch Boolean true, falseNo logging_event_port_trunk_status Boolean true, falseNo uni_directional_ethernet Choice disable, send-only, receive-onlyNo vrf String No switchport Class [switchport]No ip Class [ip]No ipv6 Class [ipv6]No channel_group Integer min: 1, max: 4096 No channel_group_mode Choice on, static, active, passive, mac-pinNo channel_group_force Boolean true, falseNo ospf Class [ospf]No ospfv3 Class [ospfv3]No pim Class [pim]No isis Class [isis]No hsrp Class [hsrp]No service_policy_type_qos_input String No service_policy_type_qos_input_statistics Boolean true, falseNo nd Class [nd]No subinterfaces List [subinterfaces]No spanning_tree Class [spanning_tree]No
Name Type Constraint Mandatory Default Value enabled Boolean true, falseNo mode Choice access, trunk, fex-fabric, dot1q-tunnel, promiscuous, host, trunk-secondary, trunk-promiscuous, vntagNo access_vlan Integer min: 1, max: 4094 No trunk_native_vlan Integer min: 1, max: 4094 No trunk_allowed_vlans Class [trunk_allowed_vlans]No transparent_mode Boolean true, falseNo voice_cos Integer min: -1, max: 7 No voice_trust Boolean true, falseNo voice_vlan Integer min: 1, max: 4092 No voice_vlan_type Choice none, tagged, dot1p, untaggedNo
Name Type Constraint Mandatory Default Value address IP No secondary_addresses List IP No forward Boolean true, falseNo drop_glean Boolean true, falseNo unnumbered String No directed_broadcast Boolean true, falseNo directed_broadcast_acl String No redirects Boolean true, falseNo unreachables Boolean true, falseNo port_unreachable Boolean true, falseNo verify_unicast_source_reachable_via Choice disabled, strict, loose, loose-allow-default, strict-allow-vni-hostsNo access_group_in String No access_group_out String No dhcp_relay_information_trusted Boolean true, falseNo dhcp_relay_smart_relay Boolean true, falseNo dhcp_relay_subnet_broadcast Boolean true, falseNo dhcp_relay_information_option Boolean true, falseNo dhcp_relay_source_subnet String No dhcp_relay_addresses List [dhcp_relay_addresses]No
Name Type Constraint Mandatory Default Value address_autoconfig Boolean true, falseNo nd_default_route Boolean true, falseNo forward Boolean true, falseNo link_local_use_bia Boolean true, falseNo address_use_link_local_only Boolean true, falseNo verify_unicast_source_reachable_via Choice disabled, strict, loose, loose-allow-default, strict-allow-vni-hostsNo address_link_local String No addresses List [addresses]No dhcp_smart_relay Boolean true, falseNo dhcp_relay_addresses List [dhcp_relay_addresses]No
Name Type Constraint Mandatory Default Value process String Yes advertise_secondaries Boolean true, falseNo advertise_subnet Boolean true, falseNo area String No bfd Boolean true, falseNo cost Integer min: 0, max: 65535 No dead_interval Integer min: 0, max: 65535 No hello_interval Integer min: 0, max: 65535 No mtu_ignore Boolean true, falseNo network Choice unspecified, p2p, bcastNo prefix_attribute_n_flag Choice unspecified, clearNo passive_interface Boolean true, falseNo priority Integer min: 0, max: 255 No retransmit_interval Integer min: 1, max: 65535 No transmit_delay Integer min: 1, max: 450 No authentication_key String No message_digest_key_id Integer min: 0, max: 255 No authentication_key_secure_mode Boolean true, falseNo authentication_key_chain String No message_digest_key String No message_digest_key_secure_mode Boolean true, falseNo authentication Choice unspecified, simple, md5, noneNo
Name Type Constraint Mandatory Default Value process String Yes advertise_secondaries Boolean true, falseNo area String No bfd Boolean true, falseNo cost Integer min: 0, max: 65535 No dead_interval Integer min: 0, max: 65535 No hello_interval Integer min: 1, max: 65535 No network Choice none, p2p, bcastNo passive_interface Boolean true, falseNo priority Integer min: 0, max: 255 No instance_id Integer min: 0, max: 255 No mtu_ignore Boolean true, falseNo retransmit_interval Integer min: 1, max: 65535 No transmit_delay Integer min: 1, max: 450 No
Name Type Constraint Mandatory Default Value bfd_instance Boolean true, falseNo dr_priority Integer min: 1, max: 4294967295 No passive Boolean true, falseNo sparse_mode Boolean true, falseNo border Boolean true, falseNo dr_delay Integer min: 1, max: 65535 No jp_policy String No neighbor_policy_route_map String No neighbor_policy_prefix_list String No strict_rfc_compliant Boolean true, falseNo
Name Type Constraint Mandatory Default Value instance_name String Yes circuit_type Choice l1, l2, l12No ipv4 Boolean true, falseNo ipv6 Boolean true, falseNo network_point_to_point Choice off, on, use-all-is-macNo passive_interface Choice l1, l2, l12, no-l1, no-l2, no-l12, inherit-defNo metric_level_1 Integer min: 0, max: 16777216 No metric_level_2 Integer min: 0, max: 16777216 No ipv6_metric_level_1 Integer min: 0, max: 16777216 No ipv6_metric_level_2 Integer min: 0, max: 16777216 No priority_level_1 Integer min: 0, max: 127 No priority_level_2 Integer min: 0, max: 127 No hello_interval Integer min: 1, max: 65535 No hello_interval_level_1 Integer min: 1, max: 65535 No hello_interval_level_2 Integer min: 1, max: 65535 No hello_multiplier Integer min: 3, max: 1000 No hello_multiplier_level_1 Integer min: 3, max: 1000 No hello_multiplier_level_2 Integer min: 3, max: 1000 No hello_padding Choice always, transient, neverNo authentication_check Boolean true, falseNo authentication_check_level_1 Boolean true, falseNo authentication_check_level_2 Boolean true, falseNo authentication_key_chain String No authentication_key_chain_level_1 String No authentication_key_chain_level_2 String No authentication_type Choice clear, md5, unknownNo authentication_type_level_1 Choice clear, md5, unknownNo authentication_type_level_2 Choice clear, md5, unknownNo mtu_check Boolean true, falseNo mtu_check_level_1 Boolean true, falseNo mtu_check_level_2 Boolean true, falseNo bfd Boolean true, falseNo ipv6_bfd Boolean true, falseNo csnp_interval_level_1 Integer min: 1, max: 65535 No csnp_interval_level_2 Integer min: 1, max: 65535 No lsp_interval Integer min: 10, max: 65535 No retransmit_interval Integer min: 1, max: 65535 No retransmit_throttle_interval Integer min: 20, max: 65535 No mesh_group Integer min: 0, max: 4294967295 No mesh_group_blocked Boolean true, falseNo n_flag_clear Boolean true, falseNo suppress_prefix Boolean true, falseNo
Name Type Constraint Mandatory Default Value version Integer min: 1, max: 2 No bfd Boolean true, falseNo use_bia Boolean true, falseNo use_bia_scope Choice global, localNo delay_minimum Integer min: 0, max: 10000 No delay_reload Integer min: 0, max: 10000 No mac_refresh Integer min: 0, max: 10000 No groups List [groups]No
Name Type Constraint Mandatory Default Value ra_boot_file_url String No suppress_ra Boolean true, falseNo suppress_ra_mtu Boolean true, falseNo managed_config_flag Boolean true, falseNo other_config_flag Boolean true, falseNo redirects Boolean true, falseNo dad_attempts Integer min: 0, max: 15 No dad_ns_interval Integer min: 1000, max: 6000 No delete_adjacency_on_mac_delete Boolean true, falseNo dns_search_list_suppress Boolean true, falseNo dns_suppress Boolean true, falseNo hop_limit Integer min: 0, max: 255 No mac_extract Choice none, nud-phase, exclude-nud-phaseNo mtu Integer min: 1280, max: 65535 No ns_interval Integer min: 1000, max: 3600000 No ra_interval Integer min: 4, max: 1800 No ra_interval_minimum Integer min: 3, max: 1350 No ra_lifetime Integer min: 0, max: 9000 No reachable_time Integer min: 0, max: 3600000 No retrans_timer Integer min: 0, max: 4294967295 No suppress_ra_route Boolean true, falseNo router_preference Choice unspecified, low, medium, highNo
Name Type Constraint Mandatory Default Value id Integer Yes interface_groups List String No shutdown Boolean true, falseNo bandwidth Integer min: 0, max: 3200000000 No delay Integer min: 1, max: 16777215 No description String No encapsulation String No logging_event_port_link_status Boolean true, falseNo medium Choice broadcast, p2pNo mtu Integer min: 576, max: 9216 No mtu_inherit Boolean true, falseNo mac_address String No mac_ipv6_extract Boolean true, falseNo snmp_trap_link_status Boolean true, falseNo vrf String No hsrp Class [hsrp]No
Name Type Constraint Mandatory Default Value bpdufilter Boolean true, falseNo bpduguard Boolean true, falseNo cost Integer min: 0, max: 200000000 No guard Choice root, loop, noneNo link_type Choice auto, p2p, sharedNo port_type Choice edge, network, normalNo port_priority Integer min: 0, max: 224 No
Name Type Constraint Mandatory Default Value ids List Integer[min: 1, max: 4094] No ranges List [ranges]No
Name Type Constraint Mandatory Default Value address String Yes vrf String No
Name Type Constraint Mandatory Default Value address String Yes type Choice primary, secondaryNo tag Integer min: 0, max: 4294967295 No eui64 Boolean true, falseNo route_preference Integer min: 0, max: 255 No
Name Type Constraint Mandatory Default Value address String Yes vrf String No
Name Type Constraint Mandatory Default Value id Integer min: 0, max: 4095 Yes address_family Choice ipv4, ipv6Yes authentication_md5_compatibility Boolean true, falseNo authentication_md5_key_chain String No authentication_md5_key_string String No authentication_md5_key_string_type Choice unencrypted, hiddenNo authentication_md5_timeout Integer min: 0, max: 32767 No authentication_md5_type Choice key-chain, key-stringNo authentication_text String No authentication_type Choice simple, md5No follow String No forwarding_threshold_lower Integer min: 0, max: 255 No timers_hello_interval Integer min: 250, max: 254000 No timers_hold_interval Integer min: 750, max: 255000 No ip String No mac_address String No name String No preempt Boolean true, falseNo preempt_delay_minimum Integer min: 0, max: 3600 No preempt_delay_reload Integer min: 0, max: 3600 No preempt_delay_sync Integer min: 0, max: 3600 No priority Integer min: 0, max: 255 No
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 4094 Yes to Integer min: 1, max: 4094 Yes
Example 1: Fabric uplink as routed L3 interface with OSPF and PIM (unnumbered from Loopback0)
description : " FABRIC: SPINE1 Eth1/1 "
Example 2: Host-facing access port and trunk port for server connectivity
description : " HOST: Web-Server-01 (access) "
description : " HOST: ESXi-Host-01 (trunk) "
Example 3: vPC member interface with LACP and host port-channel to server
description : " vPC: Host-PO10 member to Server-Rack-A "
channel_group_mode : active
Example 4: Routed interface with dual-stack addressing, OSPF authentication, and QoS policy
description : " DCI: External-Router Eth0/0 "
- address : 2001:db8:10::1/127
authentication_key_chain : OSPF-UNDERLAY-AUTH
service_policy_type_qos_input : PM-FABRIC-INGRESS