DHCP configuration manages both IPv4 and IPv6 relay, snooping, and related services on NX-OS devices, enabling centralized IP address assignment and security enforcement across network segments. Global settings are organized under hierarchical sub-sections: ip_dhcp_relay controls relay enablement, information options, VPN awareness, trust, server ID override, circuit ID customization, sub-option formatting, DHCPv4-over-v6, and the relay source interface; ipv6_dhcp_relay controls IPv6 relay enablement, option79, VPN awareness, smart relay, IAPD route addition, and the relay source interface; ip_dhcp_snooping controls snooping enablement, MAC address verification, information options, the VLANs with DHCP snooping enabled (optionally extended to EVPN), and the VLANs excluded from IP Source Guard; ip_source_bindings defines static IP source bindings. DHCP interface-level relay configuration provides per-interface control over relay addresses with VRF support, trusted information options, smart relay, subnet broadcast, relay source interfaces, and IPv6 relay addresses across loopback, VLAN, Ethernet, and port-channel interfaces. Layer 2 Ethernet and port-channel interfaces can be marked as DHCP snooping trusted and can enable IP Source Guard (verify_source_dhcp_snooping_vlan), which requires the ipsg TCAM region.
DHCP configuration manages both IPv4 and IPv6 relay, snooping, and related services on NX-OS devices, enabling centralized IP address assignment and security enforcement across network segments. Global settings are organized under hierarchical sub-sections: ip_dhcp_relay controls relay enablement, information options, VPN awareness, trust, server ID override, circuit ID customization, sub-option formatting, and DHCPv4-over-v6; ipv6_dhcp_relay controls IPv6 relay enablement, option79, VPN awareness, smart relay, and IAPD route addition; ip_dhcp_snooping controls snooping enablement, MAC address verification, and information options. DHCP interface-level relay configuration provides per-interface control over relay addresses with VRF support, trusted information options, smart relay, subnet broadcast, and IPv6 relay addresses across loopback, VLAN, Ethernet, and port-channel interfaces.
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 dhcp Class dhcp No
Name Type Constraint Mandatory Default Value interfaces Class interfaces No dhcp Class dhcp No
Name Type Constraint Mandatory Default Value enabled Boolean true, falseNo information_ option Boolean true, falseNo information_ option_ trust Boolean true, falseNo information_ option_ vpn Boolean true, falseNo information_ trust_ all Boolean true, falseNo information_ option_ server_ id_ override Boolean true, falseNo sub_ option_ circuit_ id_ customized Boolean true, falseNo sub_ option_ circuit_ id_ format_ string String No sub_ option_ type_ cisco Boolean true, falseNo sub_ option_ format_ non_ tlv Boolean true, falseNo v4_over_v6 Boolean true, falseNo source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo source_ interface_ id Any String or Integer[min: 0] No enabled Boolean true, falseNo information_ option Boolean true, falseNo information_ option_ trust Boolean true, falseNo information_ option_ vpn Boolean true, falseNo information_ trust_ all Boolean true, falseNo information_ option_ server_ id_ override Boolean true, falseNo sub_ option_ circuit_ id_ customized Boolean true, falseNo sub_ option_ circuit_ id_ format_ string String No sub_ option_ type_ cisco Boolean true, falseNo sub_ option_ format_ non_ tlv Boolean true, falseNo v4_over_v6 Boolean true, falseNo source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo source_ interface_ id Any String or Integer[min: 0] No
Name Type Constraint Mandatory Default Value enabled Boolean true, falseNo information_ option Boolean true, falseNo information_ option_ trust Boolean true, falseNo information_ option_ vpn Boolean true, falseNo information_ trust_ all Boolean true, falseNo information_ option_ server_ id_ override Boolean true, falseNo sub_ option_ circuit_ id_ customized Boolean true, falseNo sub_ option_ circuit_ id_ format_ string String No sub_ option_ type_ cisco Boolean true, falseNo sub_ option_ format_ non_ tlv Boolean true, falseNo v4_over_v6 Boolean true, falseNo enabled Boolean true, falseNo information_ option Boolean true, falseNo information_ option_ trust Boolean true, falseNo information_ option_ vpn Boolean true, falseNo information_ trust_ all Boolean true, falseNo information_ option_ server_ id_ override Boolean true, falseNo sub_ option_ circuit_ id_ customized Boolean true, falseNo sub_ option_ circuit_ id_ format_ string String No sub_ option_ type_ cisco Boolean true, falseNo sub_ option_ format_ non_ tlv Boolean true, falseNo v4_over_v6 Boolean true, falseNo
Name Type Constraint Mandatory Default Value enabled Boolean true, falseNo information_ option_ vpn Boolean true, falseNo option_ type_ cisco Boolean true, falseNo option79 Boolean true, falseNo iapd_route_add Boolean true, falseNo smart_ relay_ global Boolean true, falseNo source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo source_ interface_ id Any String or Integer[min: 0] No enabled Boolean true, falseNo information_ option_ vpn Boolean true, falseNo option_ type_ cisco Boolean true, falseNo option79 Boolean true, falseNo iapd_route_add Boolean true, falseNo smart_ relay_ global Boolean true, falseNo source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo source_ interface_ id Any String or Integer[min: 0] No
Name Type Constraint Mandatory Default Value enabled Boolean true, falseNo information_ option_ vpn Boolean true, falseNo option_ type_ cisco Boolean true, falseNo option79 Boolean true, falseNo iapd_route_add Boolean true, falseNo smart_ relay_ global Boolean true, falseNo enabled Boolean true, falseNo information_ option_ vpn Boolean true, falseNo option_ type_ cisco Boolean true, falseNo option79 Boolean true, falseNo iapd_route_add Boolean true, falseNo smart_ relay_ global Boolean true, falseNo
Name Type Constraint Mandatory Default Value enabled Boolean true, falseNo information_ option Boolean true, falseNo verify_ mac_ address Boolean true, falseNo sub_ option_ format_ non_ tlv Boolean true, falseNo sub_ option_ circuit_ id_ format_ string String No vlans List vlans No ipsg_ excluded_ vlans Class ipsg_ excluded_ vlans No enabled Boolean true, falseNo information_ option Boolean true, falseNo verify_ mac_ address Boolean true, falseNo sub_ option_ format_ non_ tlv Boolean true, falseNo sub_ option_ circuit_ id_ format_ string String No vlans List vlans No ipsg_ excluded_ vlans Class ipsg_ excluded_ vlans No
Name Type Constraint Mandatory Default Value enabled Boolean true, falseNo information_ option Boolean true, falseNo verify_ mac_ address Boolean true, falseNo sub_ option_ format_ non_ tlv Boolean true, falseNo sub_ option_ circuit_ id_ format_ string String No enabled Boolean true, falseNo information_ option Boolean true, falseNo verify_ mac_ address Boolean true, falseNo sub_ option_ format_ non_ tlv Boolean true, falseNo sub_ option_ circuit_ id_ format_ string String No
Name Type Constraint Mandatory Default Value ip IP Yes mac MAC Yes vlan Integer min: 1, max: 4094 Yes interface_type Choice ethernet, port-channelYes interface_id Any String or Integer[min: 0] Yes
Name Type Constraint Mandatory Default Value vlans Class vlans Yes evpn Boolean true, falseNo vlans Class vlans Yes evpn Boolean true, falseNo
Name Type Constraint Mandatory Default Value ids List Integer[min: 1, max: 4094] No ranges List ranges No 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 ids List Integer[min: 1, max: 4094] No ranges List ranges No
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 4094 Yes to Integer min: 1, max: 4094 Yes from Integer min: 1, max: 4094 Yes to Integer min: 1, max: 4094 Yes
Name Type Constraint Mandatory Default Value loopbacks List loopbacks No
Name Type Constraint Mandatory Default Value vlans List vlans No
Name Type Constraint Mandatory Default Value ethernets List ethernets No
Name Type Constraint Mandatory Default Value port_channels List port_channels No
Name Type Constraint Mandatory Default Value id Integer min: 0 Yes interface_ groups List String No shutdown Boolean true, falseNo description String No logging_ event_ port_ 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 bfd Class bfd No nd Class nd No
Name Type Constraint Mandatory Default Value id Integer min: 1, max: 4094 Yes interface_ groups List String No shutdown Boolean true, falseNo autostate Boolean true, falseNo bandwidth Integer min: 1, max: 400000000 No carrier_delay Integer min: 0, max: 60000 No delay Integer min: 1, max: 16777215 No description String No management Boolean true, falseNo load_ interval_ counter_ 1 Integer min: 60, max: 600 No load_ interval_ counter_ 2 Integer min: 60, max: 600 No load_ interval_ counter_ 3 Integer min: 60, max: 600 No mac_address MAC No medium Choice broadcast, p2pNo mtu Integer min: 64, max: 9216 No snmp_ trap_ link_ status Boolean true, falseNo vrf String No ip Class ip No ipv6 Class ipv6 No fabric_ forwarding_ mode Choice anycast-gw, proxy-gwNo ospf Class ospf No ospfv3 Class ospfv3 No pim Class pim No isis Class isis No hsrp Class hsrp No bfd Class bfd No service_ policy_ type_ qos_ input String No service_ policy_ type_ qos_ input_ statistics Boolean true, falseNo nd Class nd No evpn_ multisite_ dci_ tracking Boolean true, falseNo evpn_ multisite_ fabric_ tracking Boolean true, falseNo
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 id Integer min: 1, max: 4096 Yes interface_ groups List String No lacp_min_links Integer min: 1, max: 32 No lacp_max_bundle Integer min: 1, max: 32 No lacp_ suspend_ individual Boolean true, falseNo lacp_ graceful_ convergence Boolean true, falseNo port_ channel_ hash_ distribution Choice none, adaptive, fixedNo lacp_mode_delay Boolean true, falseNo lacp_ vpc_ convergence Boolean true, falseNo port_ channel_ load_ defer Boolean true, falseNo shutdown Boolean true, falseNo shutdown_lan Boolean true, falseNo negotiate_auto Choice on, off, 25000No bandwidth Integer min: 0, max: 3200000000 No buffer_boost Boolean true, falseNo delay Integer min: 1, max: 16777215 No description String No dot1q_ethertype Integer min: 1536, max: 65535 No duplex Choice auto, full, halfNo flowcontrol_ receive Boolean true, falseNo flowcontrol_ send Boolean true, falseNo itu_channel Integer min: 1, max: 96 No link_ debounce_ time Integer min: 0, max: 20000 No logging_ event_ port_ link_ status Boolean true, falseNo mdix Choice auto, mdi, mdi-xNo medium Choice broadcast, p2pNo mtu Integer min: 576, max: 9216 No mac_address MAC No 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 squelch Boolean true, falseNo logging_ event_ port_ trunk_ status Boolean true, falseNo vrf String No switchport Class switchport 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 ptp Class ptp No nd Class nd No vpc_id Integer min: 1, max: 16384 No service_ policy_ type_ qos_ input String No service_ policy_ type_ qos_ input_ statistics Boolean true, falseNo 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 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 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_ addresses List dhcp_ relay_ addresses No redirects Boolean true, falseNo unreachables Boolean true, falseNo
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 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 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 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 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 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 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 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 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 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 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 ip IP Yes transmission_ unicast_ negotiation_ schema String No
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 4094 Yes to Integer min: 1, max: 4094 Yes
Example 1: Basic DHCP relay with option 82 insertion for a leaf switch
information_option_vpn : true
Example 2: DHCP snooping with MAC verification for access layer security
information_option_trust : true
Example 3: Full DHCP configuration with IPv6 relay, smart relay, and custom circuit ID
information_option_vpn : true
information_option_trust : true
information_option_server_id_override : true
sub_option_circuit_id_customized : true
sub_option_circuit_id_format_string : " %p:%v "
sub_option_type_cisco : true
ip_dhcp_packet_strict_validation : true
Example 4: Interface-level DHCP relay with IPv4 and IPv6 relay addresses on a VLAN SVI
Example 5: DHCP relay with global and per-interface IPv4 and IPv6 relay source interfaces
source_interface_type : loopback
source_interface_type : loopback
dhcp_relay_source_interface_type : loopback
dhcp_relay_source_interface_id : 1
dhcp_relay_source_interface_type : loopback
dhcp_relay_source_interface_id : 1
Example 6: DHCP snooping on access VLANs with trusted uplinks, IP Source Guard and a static IP source binding
verify_source_dhcp_snooping_vlan : true
dhcp_snooping_trust : true
Example 1: Basic DHCP relay with option 82 insertion for a leaf switch
information_option_vpn : true
Example 2: DHCP snooping with MAC verification for access layer security
information_option_trust : true
Example 3: Full DHCP configuration with IPv6 relay, smart relay, and custom circuit ID
information_option_vpn : true
information_option_trust : true
information_option_server_id_override : true
sub_option_circuit_id_customized : true
sub_option_circuit_id_format_string : " %p:%v "
sub_option_type_cisco : true
ip_dhcp_packet_strict_validation : true
Example 4: Interface-level DHCP relay with IPv4 and IPv6 relay addresses on a VLAN SVI
ipv6_dhcp_relay_addresses :