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, and uRPF for security. Ethernet interfaces also support DHCP relay, ICMPv6 (redirects, unreachables), and QoS service policies, along with IPv4/IPv6 addressing, access group filtering, and interface group inheritance for standardized configuration.
The private VLAN values of switchport.mode use the NX-OS CLI keywords:
switchport.modeCLI private-vlan-hostswitchport mode private-vlan hostprivate-vlan-promiscuousswitchport mode private-vlan promiscuousprivate-vlan-trunk-secondaryswitchport mode private-vlan trunk secondaryprivate-vlan-trunk-promiscuousswitchport mode private-vlan trunk promiscuous
The primary, isolated and community VLANs are defined under vlan.vlans. VLAN lists such as mapping_secondary_vlans, trunk_allowed_vlans and secondary_vlans use the same ids / ranges structure as all other VLAN lists.
switchport.vlan_mapping configures VLAN translation (enable and vlans, i.e. switchport vlan mapping enable and switchport vlan mapping <vlan> [inner <vlan>] <translated-vlan> [rx]) on trunk ports and selective QinQ (dot1q_tunnel with dot1q_tunnel_vlans or dot1q_tunnel_all, i.e. switchport vlan mapping <vlan-range>|all dot1q-tunnel <vlan>) on dot1q-tunnel ports. NX-OS 10.5(6) does not apply enable when configured through NX-API (the device keeps no switchport vlan mapping enable), so VLAN translation requires a later release such as NX-OS 10.6(4). Receive-only translation (rx) requires NX-OS 10.6(3) or later.
Interface-level protocol settings are documented on the respective protocol pages: OSPF , OSPFv3 , IS-IS , EIGRP , PIM , BFD , HSRP , VRRP , VRRPv3 , ND , ePBR , Spanning Tree , PTP . Subinterfaces are documented on the Subinterface page.
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, ICMPv6 (redirects, unreachables), 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 configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value interfaces Class interfaces No
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 shutdown_lan Boolean true, falseNo negotiate_auto Choice on, off, 25000No bandwidth Integer min: 0, max: 3200000000 No beacon Boolean true, falseNo buffer_boost 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 flowcontrol_ receive Boolean true, falseNo flowcontrol_ send Boolean true, falseNo 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_ error_ disable Boolean true, falseNo link_ flap_ error_ disable_ count Integer min: 2, max: 30 No link_ flap_ error_ disable_ interval Integer min: 5, max: 420 No logging_ event_ port_ link_ status Boolean true, falseNo link_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 load_ interval_ counter_ 1 Integer min: 5, max: 300 No load_ interval_ counter_ 2 Integer min: 5, max: 300 No load_ interval_ counter_ 3 Integer min: 5, max: 300 No mac_address MAC 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, 25000, 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 lacp_ port_ priority Integer min: 1, max: 65535 No lacp_rate Choice normal, fastNo igmp Class igmp No mpls_ ip_ forwarding Boolean true, falseNo macsec_keychain String No macsec_policy String No macsec_ fallback_ keychain String No vpc_ orphan_ port_ suspend Boolean true, falseNo service_ policy_ type_ qos_ input String No service_ policy_ type_ qos_ input_ statistics Boolean true, falseNo service_ policy_ type_ queuing_ output String No service_ policy_ type_ queuing_ output_ statistics Boolean true, falseNo storm_control Class storm_control No cdp Boolean true, falseNo lldp_receive Boolean true, falseNo lldp_transmit Boolean true, falseNo lldp_ tlv_ set_ management_ address IP No lldp_ tlv_ set_ management_ address_ ipv6 IP No lldp_ tlv_ set_ vlan Integer min: 0, max: 4094 No lldp_ dcbx_ version Choice auto, CEE, IEEENo udld Boolean true, falseNo udld_aggressive Boolean true, falseNo vtp Boolean true, falseNo evpn_ multisite_ dci_ tracking Boolean true, falseNo evpn_ multisite_ fabric_ tracking Boolean true, falseNo evpn_ multihoming_ core_ tracking Boolean true, falseNo ttag Boolean true, falseNo ttag_inner Boolean true, falseNo ttag_marker Boolean true, falseNo ttag_strip Boolean true, falseNo port_ type_ fabric Boolean true, falseNo priority_ flow_ control_ mode Choice auto, on, offNo priority_ flow_ control_ send_ tlv Boolean true, falseNo priority_ flow_ control_ watch_ dog_ interval Boolean true, falseNo priority_ flow_ control_ watch_ dog_ disable_ action Boolean true, falseNo priority_ flow_ control_ watch_ dog_ interface_ multiplier Integer min: 0, max: 40 No power_inline Choice auto, static, neverNo power_ inline_ max Integer min: 4000, max: 60000 No power_ inline_ default_ consumption Integer min: 4000, max: 30000 No power_ inline_ police_ action Choice errdisable, logNo power_ inline_ port_ priority Choice high, lowNo
Name Type Constraint Mandatory Default Value id String Yes interface_ groups List String No shutdown Boolean true, falseNo shutdown_lan Boolean true, falseNo negotiate_auto Choice on, off, 25000No bandwidth Integer min: 0, max: 3200000000 No beacon Boolean true, falseNo buffer_boost 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 flowcontrol_ receive Boolean true, falseNo flowcontrol_ send Boolean true, falseNo 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_ error_ disable Boolean true, falseNo link_ flap_ error_ disable_ count Integer min: 2, max: 30 No link_ flap_ error_ disable_ interval Integer min: 5, max: 420 No logging_ event_ port_ link_ status Boolean true, falseNo link_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 MAC 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, 25000, 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 bfd Class bfd No ptp Class ptp 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 storm_control Class storm_control No cdp Boolean true, falseNo lldp_receive Boolean true, falseNo lldp_transmit Boolean true, falseNo lldp_ tlv_ set_ management_ address IP No lldp_ tlv_ set_ management_ address_ ipv6 IP No lldp_ tlv_ set_ vlan Integer min: 0, max: 4094 No lldp_ dcbx_ version Choice auto, CEE, IEEENo udld Boolean true, falseNo udld_aggressive Boolean true, falseNo evpn_ multisite_ dci_ tracking Boolean true, falseNo evpn_ multisite_ fabric_ tracking Boolean true, falseNo ttag Boolean true, falseNo ttag_inner Boolean true, falseNo ttag_marker Boolean true, falseNo ttag_strip Boolean true, falseNo port_ type_ fabric Boolean true, falseNo priority_ flow_ control_ mode Choice auto, on, offNo priority_ flow_ control_ send_ tlv Boolean true, falseNo priority_ flow_ control_ watch_ dog_ interval Boolean true, falseNo priority_ flow_ control_ watch_ dog_ disable_ action Boolean true, falseNo priority_ flow_ control_ watch_ dog_ interface_ multiplier Integer min: 0, max: 40 No
Name Type Constraint Mandatory Default Value enabled Boolean true, falseNo mode Choice access, trunk, fex-fabric, dot1q-tunnel, private-vlan-host, private-vlan-promiscuous, private-vlan-trunk-secondary, private-vlan-trunk-promiscuous, vntagNo access_vlan Integer min: 1, max: 4094 No autostate_ exclude_ vlans Class autostate_ exclude_ vlans No block List Choice[unicast, multicast] No isolated Boolean true, falseNo mac_learning Boolean true, falseNo trunk_ native_ vlan Integer min: 1, max: 4094 No trunk_ allowed_ vlans Class trunk_ allowed_ vlans No monitor Boolean true, falseNo priority_ extend_ cos Integer min: -1, max: 7 No priority_ extend_ trust Boolean true, falseNo voice_vlan Integer min: 1, max: 4092 No voice_vlan_type Choice none, tagged, dot1p, untaggedNo private_vlan Class private_vlan No vlan_mapping Class vlan_mapping 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 autostate_ exclude_ vlans Class autostate_ exclude_ vlans No block List Choice[unicast, multicast] No isolated Boolean true, falseNo mac_learning Boolean true, falseNo trunk_ native_ vlan Integer min: 1, max: 4094 No trunk_ allowed_ vlans Class trunk_ allowed_ vlans No monitor Boolean true, falseNo priority_ extend_ cos Integer min: -1, max: 7 No priority_ extend_ 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 tag Integer min: 0, max: 4294967295 No secondary_ addresses List secondary_ addresses 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, rx, any, any-allow-default, rx-allow-vni-hostsNo access_group_in String No access_ group_ out String No policy_ route_ map 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 IP No dhcp_ relay_ source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo dhcp_ relay_ source_ interface_ id Any String or Integer[min: 0] No dhcp_ relay_ addresses List dhcp_ relay_ addresses No dhcp_ snooping_ trust Boolean true, falseNo arp_ inspection_ trust Boolean true, falseNo verify_ source_ dhcp_ snooping_ vlan Boolean true, falseNo
Name Type Constraint Mandatory Default Value address IP No tag Integer min: 0, max: 4294967295 No secondary_ addresses List secondary_ addresses 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, rx, any, any-allow-default, rx-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, rx, any, any-allow-default, rx-allow-vni-hostsNo address_ link_ local IP No addresses List addresses No dhcp_ smart_ relay Boolean true, falseNo dhcp_ relay_ source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo dhcp_ relay_ source_ interface_ id Any String or Integer[min: 0] No dhcp_ relay_ addresses List dhcp_ relay_ addresses No redirects Boolean true, falseNo unreachables Boolean true, falseNo policy_ route_ map String 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, rx, any, any-allow-default, rx-allow-vni-hostsNo address_ link_ local IP No addresses List addresses No dhcp_ smart_ relay Boolean true, falseNo dhcp_ relay_ addresses List dhcp_ relay_ addresses No redirects Boolean true, falseNo unreachables Boolean true, falseNo
Name Type Constraint Mandatory Default Value version Choice 2, 3No startup_ query_ interval Integer min: 0, max: 18000 No startup_ query_ count Integer min: 0, max: 10 No robustness_ variable Integer min: 1, max: 7 No querier_timeout Integer min: 1, max: 65535 No query_ max_ response_ time Integer min: 1, max: 8387 No query_interval Integer min: 1, max: 18000 No last_ member_ query_ response_ time Integer min: 1, max: 25 No last_ member_ query_ count Integer min: 1, max: 5 No group_timeout Integer min: 3, max: 65535 No allow_v3_asm Boolean true, falseNo state_limit Integer min: 0, max: 4294967295 No state_ limit_ reserved_ route_ map String No state_ limit_ reserved Integer min: 0, max: 4294967295 No report_policy String No report_ policy_ prefix_ list String No access_group String No access_ group_ prefix_ list String No join_groups List join_groups No join_ group_ route_ map String No static_groups List static_groups No static_oifs List static_oifs No static_ oif_ route_ map String No report_ link_ local_ groups Boolean true, falseNo immediate_leave Boolean true, falseNo suppress_v3_gsq Boolean true, falseNo
Name Type Constraint Mandatory Default Value action List Choice[none, shutdown, trap] No broadcast_level List Number No broadcast_pps Integer min: 0, max: 4294967295 No multicast_level List Number No multicast_pps Integer min: 0, max: 4294967295 No unicast_level List Number No unicast_pps Integer min: 0, max: 4294967295 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 ids List Integer[min: 1, max: 4094] No ranges List ranges No
Name Type Constraint Mandatory Default Value enable Boolean true, falseNo vlans List vlans No dot1q_tunnel Integer min: 1, max: 4094 No dot1q_ tunnel_ vlans Class dot1q_ tunnel_ vlans No dot1q_ tunnel_ all Boolean true, falseNo
Name Type Constraint Mandatory Default Value address IP Yes tag Integer min: 0, max: 4294967295 No
Name Type Constraint Mandatory Default Value address IP Yes vrf String No
Name Type Constraint Mandatory Default Value address IP 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 IP Yes vrf String No
Name Type Constraint Mandatory Default Value group IP Yes source IP No
Name Type Constraint Mandatory Default Value group IP Yes source IP No
Name Type Constraint Mandatory Default Value group IP Yes source IP No
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 4094 Yes to Integer min: 1, max: 4094 Yes
Name Type Constraint Mandatory Default Value ids List Integer[min: 1, max: 4094] No ranges List ranges No
Name Type Constraint Mandatory Default Value primary_vlan Integer min: 1, max: 4094 Yes secondary_vlans Class secondary_vlans No
Name Type Constraint Mandatory Default Value primary_vlan Integer min: 1, max: 4094 Yes secondary_vlan Integer min: 1, max: 4094 No
Name Type Constraint Mandatory Default Value vlan Integer min: 1, max: 4094 Yes inner_vlan Integer min: 1, max: 4094 No translated_vlan Integer min: 1, max: 4094 No rx Boolean true, falseNo
Name Type Constraint Mandatory Default Value ids List Integer[min: 1, max: 4094] No ranges List ranges 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 process String Yes advertise_ secondaries Boolean true, falseNo advertise_ subnet Boolean true, falseNo area Any IP or Integer[min: 0, max: 4294967295] 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 point-to-point, broadcastNo prefix_ attributes_ n_ flag_ clear 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 simple, md5, noneNo
Name Type Constraint Mandatory Default Value process String Yes advertise_ secondaries Boolean true, falseNo area Any IP or Integer[min: 0, max: 4294967295] 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 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 level-1, level-2, level-1-2No ipv4 Boolean true, falseNo ipv6 Boolean true, falseNo network_ point_ to_ point Boolean true, falseNo passive_ interface Choice level-1, level-2, level-1-2, no-level-1, no-level-2, no-level-1-2No 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 prefix_ attributes_ n_ flag_ clear Boolean true, falseNo suppressed 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 interval Integer min: 0, max: 999 No min_rx Integer min: 0, max: 999 No multiplier Integer min: 0, max: 50 No echo Boolean true, falseNo echo_ rx_ interval Integer min: 0, max: 999 No optimize_ subinterface Boolean true, falseNo per_link Boolean true, falseNo source_ip IP No vpc_watch Boolean true, falseNo track_ member_ link Boolean true, falseNo authentication_ type Choice none, keyed-sha1, meticulous-keyed-sha1No authentication_ key_ id Integer min: 1, max: 255 No authentication_ key String No authentication_ interop Boolean true, falseNo
Name Type Constraint Mandatory Default Value admin_state Boolean true, falseNo announce_ interval Integer min: -3, max: 4 No announce_ interval_ profile Choice none, aes67, smpte-2059-2No announce_ timeout Integer min: 2, max: 10 No announce_ timeout_ profile Choice none, aes67, smpte-2059-2No sync_interval Integer min: -7, max: 1 No sync_ interval_ profile Choice none, aes67, smpte-2059-2No delay_ request_ minimum_ interval Integer min: -4, max: 6 No delay_ request_ minimum_ interval_ profile Choice none, aes67, smpte-2059-2No transmission Choice multicast, unicastNo transport Choice ipv4, ipv6, ethernetNo role Choice master, slave, dynamicNo cost Integer min: 0, max: 255 No vlan Integer min: 1, max: 4094 No domain Integer min: 0, max: 127 No profile_ override Boolean true, falseNo destination_mac Choice forwardable, non-forwardableNo receive_ no_ match Choice accept, drop, follow-rxNo transmission_ unicast_ negotiation_ schema String No neighbor_ propagation_ delay_ threshold Integer min: 5, max: 2000000 No asymmetric_ delay_ value Integer min: 0, max: 512000000 No asymmetric_ delay_ direction Choice none, forward-path, reverse-pathNo ucast_source IP No ucast_ source_ ipv6 IP No ucast_ source_ vrf String No ucast_ source_ vrf_ ipv6 String No ipv6_ multicast_ scope_ tx Integer min: 0, max: 65535 No ipv6_ multicast_ scope_ rx Integer min: 0, max: 65535 No ucast_peers List ucast_peers No
Name Type Constraint Mandatory Default Value ra_bootfile_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 dadns_interval Integer min: 1000, max: 6000 No delete_ adj_ on_ mac_ delete Boolean true, falseNo ra_ dns_ search_ list_ suppress Boolean true, falseNo ra_ dns_ server_ 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 ra_ route_ suppress Boolean true, falseNo router_ preference Choice low, medium, highNo
Name Type Constraint Mandatory Default Value id Integer min: 1, max: 4093 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 mac_address MAC No mac_ address_ ipv6_ extract Boolean true, falseNo snmp_ trap_ link_ status Boolean true, falseNo vrf String No ip Class ip No ipv6 Class ipv6 No ospf Class ospf No ospfv3 Class ospfv3 No pim Class pim No isis Class isis No hsrp Class hsrp No bfd Class bfd No nd Class nd 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, point-to-point, sharedNo port_type Choice edge, network, normalNo port_priority Integer min: 0, max: 224 No mst_ pre_ standard Boolean true, falseNo mst_ simulate_ pvst Boolean true, falseNo
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 Integer min: 250, max: 254000 No timers_hold Integer min: 750, max: 255000 No ip IP No mac_address MAC 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 ip IP Yes transmission_ unicast_ negotiation_ schema String No
Example 1: Fabric uplink as routed L3 interface (unnumbered from Loopback0)
description : " FABRIC: SPINE1 Eth1/1 "
Example 2: Host-facing access port (single-attached vPC orphan port) and trunk port for server connectivity
description : " HOST: Web-Server-01 (access) "
vpc_orphan_port_suspend : true
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, QoS and queuing policies
description : " DCI: External-Router Eth0/0 "
- address : 2001:db8:10::1/127
service_policy_type_qos_input : PM-FABRIC-INGRESS
service_policy_type_queuing_output : QM-FABRIC-EGRESS
Example 5: Access port with storm control, flow control, and switchport isolation
description : " HOST: IP-Phone-01 + PC "
priority_extend_trust : true
flowcontrol_receive : true
Example 6: Interface with CDP, LLDP, and UDLD configuration
description : " HOST: Server-02 with discovery protocols "
lldp_tlv_set_management_address : 10.1.1.1
Example 7: PoE access port for an IP phone with a static power allocation, high priority and policing
description : " PHONE: Desk 4.12 "
power_inline_default_consumption : 15400
power_inline_police_action : log
power_inline_port_priority : high
Example 8: Routed interface with IP address tags and secondary addresses
description : " L3: Peering with tag "
Example 9: DCI and fabric uplinks with EVPN multisite interface tracking
description : " DCI: Remote-Site Eth1/49 "
evpn_multisite_dci_tracking : true
description : " FABRIC: Spine1 Eth1/1 "
evpn_multisite_fabric_tracking : true
Example 10: PTP ttag interface configuration for latency measurement
description : " FABRIC: SPINE1 with ttag "
description : " FABRIC: SPINE2 with ttag strip "
Example 11: Fabric-facing interface with port-type fabric designation
description : " FABRIC: Spine1 Eth1/1 "
Example 12: Ethernet interface with Priority Flow Control enabled for lossless traffic
description : " STORAGE: NetApp-01 (PFC enabled) "
priority_flow_control_mode : " on "
priority_flow_control_send_tlv : true
priority_flow_control_watch_dog_interval : true
priority_flow_control_watch_dog_interface_multiplier : 5
Example 13: Private VLAN ports: promiscuous, isolated host, community host, trunk-promiscuous, and trunk-secondary (FEX)
private_vlan_type : primary
private_vlan_association :
private_vlan_type : isolated
private_vlan_type : community
private_vlan_fex_trunk : true
description : " PVLAN promiscuous port (router) "
mode : private-vlan-promiscuous
mapping_primary_vlan : 100
description : " PVLAN isolated host "
host_association_primary_vlan : 100
host_association_secondary_vlan : 101
description : " PVLAN community host "
host_association_primary_vlan : 100
host_association_secondary_vlan : 102
description : " PVLAN trunk-promiscuous uplink "
mode : private-vlan-trunk-promiscuous
trunk_promiscuous_mappings :
description : " PVLAN trunk-secondary (FEX) "
mode : private-vlan-trunk-secondary
trunk_secondary_associations :
Example 14: MACsec-protected uplink with a fallback key chain
description : " Uplink to SPINE1 "
macsec_keychain : MACSEC-KC1
macsec_policy : MACSEC-POLICY1
macsec_fallback_keychain : MACSEC-FALLBACK
Example 15: VLAN translation on a trunk port and selective QinQ on a dot1q-tunnel port (VLAN translation requires a release later than NX-OS 10.5(6), rx requires NX-OS 10.6(3) or later)
description : " Trunk to provider edge with VLAN translation "
description : " Selective QinQ customer port "
Example 16: Fabric uplink with custom load-interval counters (load-interval counter {1|2|3} <seconds>)
description : " Uplink to SPINE1 "
load_interval_counter_1 : 30
load_interval_counter_2 : 60
load_interval_counter_3 : 300
Example 17: Fabric uplinks with EVPN ESI multihoming core tracking (requires NX-OS 10.6(1) or later)
description : " FABRIC: Spine1 Eth1/1 "
evpn_multihoming_core_tracking : true
description : " FABRIC: Spine2 Eth1/1 "
evpn_multihoming_core_tracking : true
Example 18: Routed core link with MPLS forwarding (mpls ip forwarding, requires feature mpls segment-routing or feature mpls l3vpn)
mpls_segment_routing : true
description : " CORE: P1 Eth1/1 "
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
Example 5: Access port with storm control, flow control, and switchport isolation
description : " HOST: IP-Phone-01 + PC "
priority_extend_trust : true
flowcontrol_receive : true
Example 6: Routed interface with subinterfaces using dot1q encapsulation and IP addressing
description : " EXTERNAL: Firewall Eth1 "
description : " VRF-A Transit "
- address : 2001:db8:100::1/126
description : " VRF-B Transit "
Example 7: Interface with CDP, LLDP, and UDLD configuration
description : " HOST: Server-02 with discovery protocols "
lldp_tlv_set_management_address : 10.1.1.1
Example 9: Routed interface with IP address tags and secondary addresses
description : " L3: Peering with tag "
Example 10: DCI and fabric uplinks with EVPN multisite interface tracking
description : " DCI: Remote-Site Eth1/49 "
evpn_multisite_dci_tracking : true
description : " FABRIC: Spine1 Eth1/1 "
evpn_multisite_fabric_tracking : true
Example 11: PTP ttag interface configuration for latency measurement
description : " FABRIC: SPINE1 with ttag "
description : " FABRIC: SPINE2 with ttag strip "
Example 12: Fabric-facing interface with port-type fabric designation
description : " FABRIC: Spine1 Eth1/1 "
Example 13: Ethernet interface with Priority Flow Control enabled for lossless traffic
description : " STORAGE: NetApp-01 (PFC enabled) "
priority_flow_control_mode : " on "
priority_flow_control_send_tlv : true
priority_flow_control_watch_dog_interval : true
priority_flow_control_watch_dog_interface_multiplier : 5