Skip to content

Hardware

Hardware configuration controls platform forwarding resources and hardware behavior on NX-OS devices. It covers TCAM region carving for ACL, QoS and other forwarding tables, user-defined TCAM resource templates, user-defined fields (UDFs) used as TCAM qualifiers, hardware profile options such as uRPF and multicast RPF check optimization, global hardware QoS settings (hardware qos) for ingress priority-group buffers, lossless no-drop thresholds, AFD and ETRAP, and extended hardware settings for counters, atomic ACL updates, PBR and multicast. It also includes the system forwarding (routing) template, switch and fabric modes, ECMP hash tuning, IPv4 load sharing, and hardware rate-limiters for supervisor-bound traffic (hardware rate-limiter). CoPP profiles and policies are documented in Control Plane Policing.

Changing TCAM regions, the forwarding template, or the switch and fabric modes typically requires a reload of the device to take effect.

Diagram
NameTypeConstraintMandatoryDefault Value
devicesListdevicesNo
device_groupsListdevice_groupsNo
globalClassglobalNo
templatesListtemplatesNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
systemClasssystemNo

NameTypeConstraintMandatoryDefault Value
hardwareClasshardwareNo
hardware_profileClasshardware_profileNo
hardware_qosClasshardware_qosNo
hardware_access_list_tcam_regionClasshardware_access_list_tcam_regionNo
hardware_ecmp_hash_offset_concatenationBooleantrue, falseNo
hardware_ecmp_hash_offset_valueIntegermin: 0, max: 63No
hardware_ecmp_hash_polynomialChoicecrc16, crc32hiNo
ip_load_sharingClassip_load_sharingNo
routingChoicenon-hierarchical-routing, non-hierarchical-routing-max-l3-mode, max-mode-host, max-mode-tor-l3, mode-hierarchical-64b-alpm, non-hierarchical-max-mode-l3-nh-64b-alpm-nh, hierarchical-def-max-mode-l3-64b-alpm, max-mode-tor-l2, max-mode-tor-l2-l3, template-overlay-host-scale, template-lpm-heavy, template-lpm-scale-v6-64, template-dual-stack-host-scale, template-service-provider, template-multicast-heavy, template-vxlan-scale, template-mpls-heavy, template-internet-peering, template-multicast-ext-heavy, template-l3-heavy, template-dual-stack-mcast, template-l2-heavy, template-l2-scale, template-security-groupsNo
switch_modeChoicedefault, n3k, n9kNo
fabric_modeChoicefull-rate, defaultNo
udfsListudfsNo

hardware (nxos.devices.configuration.system)

Section titled “hardware (nxos.devices.configuration.system)”
NameTypeConstraintMandatoryDefault Value
acl_redirect_share_disableBooleantrue, falseNo
counter_feature_bfdIntegermin: 0, max: 4294967295No
counter_bfd_feature_scaleIntegermin: 0, max: 4294967295No
counter_feature_ecnIntegermin: 0, max: 4294967295No
counter_ecn_feature_scaleIntegermin: 0, max: 4294967295No
counter_feature_egr_aclIntegermin: 0, max: 4294967295No
counter_egr_acl_feature_scaleIntegermin: 0, max: 4294967295No
counter_feature_ingr_aclIntegermin: 0, max: 4294967295No
counter_ingr_acl_feature_scaleIntegermin: 0, max: 4294967295No
counter_feature_l2vniIntegermin: 0, max: 4294967295No
counter_l2vni_feature_scaleIntegermin: 0, max: 4294967295No
counter_feature_l3vniIntegermin: 0, max: 4294967295No
counter_l3vni_feature_scaleIntegermin: 0, max: 4294967295No
counter_feature_siIntegermin: 0, max: 4294967295No
counter_si_feature_scaleIntegermin: 0, max: 4294967295No
counter_feature_sviIntegermin: 0, max: 4294967295No
counter_svi_feature_scaleIntegermin: 0, max: 4294967295No
counter_feature_tunnelIntegermin: 0, max: 4294967295No
counter_tunnel_feature_scaleIntegermin: 0, max: 4294967295No
counter_feature_vlanIntegermin: 0, max: 4294967295No
counter_vlan_feature_scaleIntegermin: 0, max: 4294967295No
counter_feature_voqIntegermin: 0, max: 4294967295No
counter_voq_feature_scaleIntegermin: 0, max: 4294967295No
dme_load_intervalIntegermin: 0, max: 4294967295No
egr_l2_qos_ifacl_label_sizeBooleantrue, falseNo
gpe_5_timer_enableBooleantrue, falseNo
ing_ifacl_label_sizeBooleantrue, falseNo
vrf_nat_label_widthIntegermin: 0, max: 6No
mpls_qos_pipe_modeBooleantrue, falseNo
multicast_nlb_port_channelBooleantrue, falseNo
multicast_priorityIntegermin: 0, max: 15No
multicast_stats_disableBooleantrue, falseNo
pbr_ecmp_pathsIntegermin: 1, max: 64No
pbr_next_hop_fast_convergenceBooleantrue, falseNo
pbr_match_default_routeBooleantrue, falseNo
access_list_tcam_per_entry_stats_templateChoicel3qos, racl, span-acl, pbrNo
storm_control_priorityChoicedefault, drop-l3, drop-l2, drop-allNo
sub_interface_flex_statsChoicedisable, l3, l2No
access_list_update_atomicBooleantrue, falseNo
access_list_update_atomic_strictBooleantrue, falseNo
access_list_update_default_resultBooleantrue, falseNo
vrf_aware_nat_enableBooleantrue, falseNo
rate_limiterClassrate_limiterNo

hardware_profile (nxos.devices.configuration.system)

Section titled “hardware_profile (nxos.devices.configuration.system)”
NameTypeConstraintMandatoryDefault Value
access_list_match_inner_headerBooleantrue, falseNo
acl_tap_aggregationBooleantrue, falseNo
disable_parse_errorBooleantrue, falseNo
dlbClassdlbNo
flow_redirect_forward_pduBooleantrue, falseNo
front_portmodeChoicesfp-plus, qsfpNo
forwarding_modeStringNo
global_tx_spanBooleantrue, falseNo
high_multicast_priorityBooleantrue, falseNo
hardware_lou_resource_thresholdIntegermin: 1, max: 50No
ingress_bd_ifacl_label_optimizationBooleantrue, falseNo
ingress_racl_sizeBooleantrue, falseNo
ingress_replication_round_robinBooleantrue, falseNo
ip_statisticsBooleantrue, falseNo
ipv6_alpm_carve_valueIntegermin: 0, max: 4096No
ipv6_lpm_max_entriesIntegermin: 0, max: 6144No
lpm_max_limitIntegermin: 0, max: 4096No
multicast_dcs_checkBooleantrue, falseNo
multicast_flex_statsBooleantrue, falseNo
multicast_lpm_max_entriesIntegermin: 0, max: 4096No
multicast_max_limitIntegermin: 0, max: 8000No
multicast_nlbBooleantrue, falseNo
multicast_racl_bridgeBooleantrue, falseNo
multicast_rpf_check_optimizationBooleantrue, falseNo
multicast_service_reflect_portIntegermin: 0, max: 48No
multicast_syslog_thresholdIntegermin: 1, max: 100No
mld_snoopingBooleantrue, falseNo
mpls_adjacency_stats_modeChoicepackets, bytesNo
mpls_ecmpBooleantrue, falseNo
mrouting_disable_l2_updateBooleantrue, falseNo
mrouting_disable_second_route_updateBooleantrue, falseNo
mrouting_performance_modeBooleantrue, falseNo
pbr_skip_self_ipBooleantrue, falseNo
pic_coreBooleantrue, falseNo
portmode_tupleBooleantrue, falseNo
pstatBooleantrue, falseNo
qos_min_bufferChoiceall, none, defaultNo
service_template_nameStringNo
svi_and_si_flex_stats_enableBooleantrue, falseNo
svi_flex_statsBooleantrue, falseNo
tcam_syslog_thresholdIntegermin: 1, max: 100No
tcam_resource_templatesListtcam_resource_templatesNo
unicast_max_limitIntegermin: 0, max: 8000No
unicast_syslog_thresholdIntegermin: 1, max: 100No
unicast_traceBooleantrue, falseNo
unknown_unicast_floodBooleantrue, falseNo
urpfBooleantrue, falseNo
wrr_unicast_bandwidthIntegermin: 0, max: 100No

hardware_qos (nxos.devices.configuration.system)

Section titled “hardware_qos (nxos.devices.configuration.system)”
NameTypeConstraintMandatoryDefault Value
buffer_peak_monitor_counter0_classesListInteger[min: 0, max: 7]No
buffer_input_peakChoiceport, class1, class2, class3, class4, class5, class6, class7No
burst_detect_max_recordsIntegermin: 200, max: 2000No
burst_detect_rise_thresholdIntegermin: 0, max: 13319072No
burst_detect_rise_threshold_unitChoicebytes, percentNo
burst_detect_fall_thresholdIntegermin: 0, max: 13319072No
burst_detect_fall_threshold_unitChoicebytes, percentNo
classify_ns_onlyBooleantrue, falseNo
cpu_pg_sizeIntegermin: 0, max: 1500No
lcpu_pg_sizeIntegermin: 0, max: 10000No
span_pg_sizeIntegermin: 0, max: 10000No
dynamic_buffer_sharingBooleantrue, falseNo
dynamic_packet_prioritization_age_periodIntegermin: 5000, max: 1000000No
dynamic_packet_prioritization_max_num_pktsIntegermin: 1, max: 1023No
eoq_stats_class_qos_groupAnyInteger[min: 0, max: 3] or Choice[all] or String[Regex: ^.*[\$\%]\{.*$]No
etrap_age_periodIntegermin: 1, max: 1000000No
etrap_bandwidth_thresholdIntegermin: 1, max: 1073741824No
etrap_byte_countIntegermin: 1, max: 1048575No
include_ipgBooleantrue, falseNo
ing_pg_hdrm_reserve_percentIntegermin: 20, max: 100No
ing_pg_no_minBooleantrue, falseNo
ing_pg_no_min_pgminIntegermin: 0, max: 32No
ing_pg_shareBooleantrue, falseNo
mac_ipgIntegermin: 12, max: 63No
nodrop_pause_dynamic_q_limitIntegermin: 0, max: 4294967295No
nodrop_pause_resume_offsetIntegermin: 0, max: 4294967295No
nodrop_pg_thresholds_pg_sizeIntegermin: 0, max: 4294967295No
nodrop_pg_thresholds_red_thresholdIntegermin: 0, max: 4294967295No
nodrop_pg_thresholds_yellow_thresholdIntegermin: 0, max: 4294967295No
nodrop_pg_thresholds_green_thresholdIntegermin: 0, max: 4294967295No
nodrop_pg_thresholds_fx_pg_sizeIntegermin: 0, max: 4294967295No
nodrop_queue_thresholds_queue_yellowIntegermin: 0, max: 4294967295No
nodrop_queue_thresholds_queue_greenIntegermin: 0, max: 4294967295No
nodrop_queue_thresholds_fx_queue_greenIntegermin: 0, max: 4294967295No
ns_buffer_profileChoicemesh, burst, ultra-burstNo
afd_profileChoicemesh, burst, ultra-burstNo
ns_mcq3_alias_qos_groupIntegermin: 0, max: 3No
oq_drops_typeChoiceoccupancy, aqm, bothNo
pfc_mc_dropBooleantrue, falseNo
pfc_staticBooleantrue, falseNo
pool_nodrop_sizeIntegermin: 1, max: 256No
pool_drop_sizeIntegermin: 1, max: 256No
pool_headroom_sizeIntegermin: 1, max: 256No
q_noise_percentIntegermin: 0, max: 100No

hardware_access_list_tcam_region (nxos.devices.configuration.system)

Section titled “hardware_access_list_tcam_region (nxos.devices.configuration.system)”
NameTypeConstraintMandatoryDefault Value
arp_acl_sizeIntegermin: 0, max: 2147483647No
copp_sizeIntegermin: 0, max: 2147483647No
e_hw_telemetry_sizeIntegermin: 0, max: 2147483647No
e_ifacl_all_per_port_statsBooleantrue, falseNo
e_ifacl_all_sizeIntegermin: 0, max: 2147483647No
e_ipv6_racl_per_port_statsBooleantrue, falseNo
e_racl_per_port_statsBooleantrue, falseNo
egr_copp_sizeIntegermin: 0, max: 2147483647No
egr_flow_sizeIntegermin: 0, max: 2147483647No
egr_ifacl_sizeIntegermin: 0, max: 2147483647No
egr_l2_qos_sizeIntegermin: 0, max: 2147483647No
egr_l3_vlan_qos_sizeIntegermin: 0, max: 2147483647No
egr_racl_sizeIntegermin: 0, max: 2147483647No
egr_sup_sizeIntegermin: 0, max: 2147483647No
e_ipv6_qos_sizeIntegermin: 0, max: 2147483647No
e_ipv6_racl_sizeIntegermin: 0, max: 2147483647No
e_mac_qos_sizeIntegermin: 0, max: 2147483647No
e_qos_lite_sizeIntegermin: 0, max: 2147483647No
e_qos_sizeIntegermin: 0, max: 2147483647No
e_racl_sizeIntegermin: 0, max: 2147483647No
egress_vacl_sizeIntegermin: 0, max: 2147483647No
fcoe_egress_sizeIntegermin: 0, max: 2147483647No
fcoe_ingress_sizeIntegermin: 0, max: 2147483647No
fhs_sizeIntegermin: 0, max: 2147483647No
hw_telemetry_sizeIntegermin: 0, max: 2147483647No
ifacl_all_per_port_statsBooleantrue, falseNo
ifacl_all_profileIntegermin: 0, max: 15No
ifacl_all_sizeIntegermin: 0, max: 2147483647No
ifacl_lite_sizeIntegermin: 0, max: 2147483647No
ifacl_per_port_statsBooleantrue, falseNo
ifacl_sizeIntegermin: 0, max: 2147483647No
ifacl_udf_sizeIntegermin: 0, max: 2147483647No
ing_dacl_sizeIntegermin: 0, max: 2147483647No
ing_flow_redirect_sizeIntegermin: 0, max: 2147483647No
ing_flow_sizeIntegermin: 0, max: 2147483647No
ing_ifacl_sizeIntegermin: 0, max: 2147483647No
ing_ifacl_wide_sizeIntegermin: 0, max: 2147483647No
ing_ipv6_ifacl_lite_sizeIntegermin: 0, max: 2147483647No
ing_l2_l3_qos_sizeIntegermin: 0, max: 2147483647No
ing_l2_qos_sizeIntegermin: 0, max: 2147483647No
ing_l2_span_filter_sizeIntegermin: 0, max: 2147483647No
ing_l3_span_filter_sizeIntegermin: 0, max: 2147483647No
ing_pacl_sb_sizeIntegermin: 0, max: 2147483647No
ing_racl_sizeIntegermin: 0, max: 2147483647No
ing_rbacl_sizeIntegermin: 0, max: 2147483647No
ing_redirect_sizeIntegermin: 0, max: 2147483647No
ing_storm_control_sizeIntegermin: 0, max: 2147483647No
ing_sup_sizeIntegermin: 0, max: 2147483647No
ing_vacl_nh_sizeIntegermin: 0, max: 2147483647No
ing_vlan_qos_sizeIntegermin: 0, max: 2147483647No
ipsg_sizeIntegermin: 0, max: 2147483647No
ipv6_ifacl_per_port_statsBooleantrue, falseNo
ipv6_ifacl_sizeIntegermin: 0, max: 2147483647No
ipv6_l3_qos_sizeIntegermin: 0, max: 2147483647No
ipv6_pbr_sizeIntegermin: 0, max: 2147483647No
ipv6_qos_sizeIntegermin: 0, max: 2147483647No
ipv6_racl_per_port_statsBooleantrue, falseNo
ipv6_racl_sizeIntegermin: 0, max: 2147483647No
ipv6_span_l2_sizeIntegermin: 0, max: 2147483647No
ipv6_span_sizeIntegermin: 0, max: 2147483647No
ipv6_sup_sizeIntegermin: 0, max: 2147483647No
ipv6_vacl_sizeIntegermin: 0, max: 2147483647No
ipv6_vqos_sizeIntegermin: 0, max: 2147483647No
l3qos_intra_lite_sizeIntegermin: 0, max: 2147483647No
mac_ifacl_per_port_statsBooleantrue, falseNo
mac_ifacl_sizeIntegermin: 0, max: 2147483647No
mac_l3_qos_sizeIntegermin: 0, max: 2147483647No
mac_qos_sizeIntegermin: 0, max: 2147483647No
mac_vacl_sizeIntegermin: 0, max: 2147483647No
mac_vqos_sizeIntegermin: 0, max: 2147483647No
mcast_bidir_sizeIntegermin: 0, max: 2147483647No
mcast_nat_sizeIntegermin: 0, max: 2147483647No
mcast_nbm_sizeIntegermin: 0, max: 2147483647No
mpls_double_wideBooleantrue, falseNo
mpls_sizeIntegermin: 0, max: 2147483647No
mvpn_sizeIntegermin: 0, max: 10No
arp_ether_sizeIntegermin: 0, max: 2147483647No
nat_sizeIntegermin: 0, max: 2147483647No
openflow_double_wideBooleantrue, falseNo
openflow_lite_sizeIntegermin: 0, max: 2147483647No
openflow_sizeIntegermin: 0, max: 2147483647No
pbr_sizeIntegermin: 0, max: 2147483647No
qos_intra_lite_sizeIntegermin: 0, max: 2147483647No
qos_sizeIntegermin: 0, max: 2147483647No
racl_all_per_port_statsBooleantrue, falseNo
racl_all_profileIntegermin: 0, max: 15No
racl_all_sizeIntegermin: 0, max: 2147483647No
racl_lite_sizeIntegermin: 0, max: 2147483647No
racl_per_port_statsBooleantrue, falseNo
racl_sizeIntegermin: 0, max: 2147483647No
racl_udf_sizeIntegermin: 0, max: 2147483647No
redirect_sizeIntegermin: 0, max: 2147483647No
span_sizeIntegermin: 0, max: 2147483647No
sup_sizeIntegermin: 0, max: 2147483647No
svi_sizeIntegermin: 0, max: 2147483647No
tcp_nat_sizeIntegermin: 0, max: 100No
vacl_lite_sizeIntegermin: 0, max: 2147483647No
vacl_sizeIntegermin: 0, max: 2147483647No
vpc_convergence_sizeIntegermin: 0, max: 2147483647No
vqos_intra_lite_sizeIntegermin: 0, max: 2147483647No
vqos_sizeIntegermin: 0, max: 2147483647No
vxlan_p2p_sizeIntegermin: 0, max: 2147483647No

ip_load_sharing (nxos.devices.configuration.system)

Section titled “ip_load_sharing (nxos.devices.configuration.system)”
NameTypeConstraintMandatoryDefault Value
addressChoicesource, destination-port, source-destination, source-destination-gre, source-destination-gre-outer, source-destination-gtpu, source-destination-ipv6-flowlabel, source-destination-ttl, source-destination-udf, source-destination-port, source-destination-port-symmetric, source-destination-port-inner-all, source-destination-port-inner-all-infra-mode, source-destination-port-inner-greheader, source-destination-port-inner-greheader-symmetric, source-destination-port-rocev2-opcode, source-destination-port-rocev2-queuepair, source-destination-port-rocev2-psn, source-destination-port-rocev2-opcode-queuepair, source-destination-port-rocev2-opcode-psn, source-destination-port-rocev2-queuepair-psn, source-destination-port-rocev2-opcode-queuepair-psnNo
udf_offsetIntegermin: 0, max: 127No
udf_lengthIntegermin: 0, max: 32No
exclude_l3_protoBooleantrue, falseNo
rotateIntegermin: 1, max: 63No
concatenationBooleantrue, falseNo
universal_idIntegermin: 0, max: 4294967295No
hardware_lb_keyshiftIntegermin: 1, max: 10No
hardware_lb_2nd_hier_keyshiftIntegermin: 1, max: 10No

NameTypeConstraintMandatoryDefault Value
nameStringYes
offset_baseChoicepacket-start, header-outer-l3, header-outer-l4, header-inner-l3, header-inner-l4No
offsetIntegermin: 0, max: 127No
lengthIntegermin: 1, max: 2No
netflow_rtpBooleantrue, falseNo
mplsChoicestack1, stack2No
qualify_ifaclBooleantrue, falseNo
qualify_ipv6_raclBooleantrue, falseNo
qualify_raclBooleantrue, falseNo
qualify_racl_allBooleantrue, falseNo
qualify_spanBooleantrue, falseNo
qualify_span_allBooleantrue, falseNo
qualify_spanv6Booleantrue, falseNo
qualify_spanv6_l2Booleantrue, falseNo
qualify_vaclBooleantrue, falseNo

rate_limiter (nxos.devices.configuration.system.hardware)

Section titled “rate_limiter (nxos.devices.configuration.system.hardware)”
NameTypeConstraintMandatoryDefault Value
access_list_logIntegermin: 0, max: 40000No
bfdIntegermin: 0, max: 8000000No
fexIntegermin: 0, max: 8000000No
layer_3_gleanIntegermin: 0, max: 8000000No
layer_3_multicast_local_groupsIntegermin: 0, max: 8000000No
sflowIntegermin: 0, max: 8000000No
spanIntegermin: 0, max: 8000000No
span_egressIntegermin: 0, max: 100000000No
burstIntegermin: 0, max: 10000No
arpIntegermin: 0, max: 40000No
arp_burstIntegermin: 0, max: 1023No
bpduIntegermin: 0, max: 40000No
bpdu_burstIntegermin: 0, max: 1023No
errorsIntegermin: 0, max: 40000No
errors_burstIntegermin: 0, max: 1023No
fwd_missIntegermin: 0, max: 40000No
fwd_miss_burstIntegermin: 0, max: 1023No
ip_localIntegermin: 0, max: 40000No
ip_local_burstIntegermin: 0, max: 1023No
mac_learnedIntegermin: 0, max: 40000No
mac_learned_burstIntegermin: 0, max: 1023No
mac_localIntegermin: 0, max: 40000No
mac_local_burstIntegermin: 0, max: 1023No
sw_fwdIntegermin: 0, max: 40000No
sw_fwd_burstIntegermin: 0, max: 1023No
modulesListmodulesNo

dlb (nxos.devices.configuration.system.hardware_profile)

Section titled “dlb (nxos.devices.configuration.system.hardware_profile)”
NameTypeConstraintMandatoryDefault Value
enabledBooleantrue, falseNo
dlb_interfacesListdlb_interfacesNo
dlb_interface_allBooleantrue, falseNo
modeChoiceflowlet, per-packet, policy-driven-flowlet, policy-driven-per-packet, policy-driven-mixed-default-flowlet, policy-driven-mixed-default-per-packet, policy-driven-mixed-default-ecmpNo
flowlet_agingIntegermin: 0, max: 2000000No
dre_thresholds_level_1Integermin: 0, max: 100No
dre_thresholds_level_2Integermin: 0, max: 100No
dre_thresholds_level_3Integermin: 0, max: 100No
dre_thresholds_level_4Integermin: 0, max: 100No
dre_thresholds_level_5Integermin: 0, max: 100No
dre_thresholds_level_6Integermin: 0, max: 100No
dre_thresholds_level_7Integermin: 0, max: 100No
mac_addressMACNo
decay_factorIntegermin: 0, max: 15No
sampling_intervalChoice512, 1000, 2000, 4000, 8000, 16000, 32000, 64000, 128000, 256000, 512000, 1024000, 2048000, 4096000, 8192000, 16384000No
load_awarenessBooleantrue, falseNo
static_pinningBooleantrue, falseNo
static_pinningsListstatic_pinningsNo

tcam_resource_templates (nxos.devices.configuration.system.hardware_profile)

Section titled “tcam_resource_templates (nxos.devices.configuration.system.hardware_profile)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
ref_templateChoicel3, l2-l3, nfe, nfe2Yes
regionsListregionsNo

modules (nxos.devices.configuration.system.hardware.rate_limiter)

Section titled “modules (nxos.devices.configuration.system.hardware.rate_limiter)”
NameTypeConstraintMandatoryDefault Value
moduleIntegermin: 1, max: 4294967295Yes
access_list_logIntegermin: 0, max: 40000No
bfdIntegermin: 0, max: 8000000No
fexIntegermin: 0, max: 8000000No
layer_3_gleanIntegermin: 0, max: 8000000No
layer_3_multicast_local_groupsIntegermin: 0, max: 8000000No
sflowIntegermin: 0, max: 8000000No
spanIntegermin: 0, max: 8000000No
span_egressIntegermin: 0, max: 100000000No
burstIntegermin: 0, max: 10000No
port_startIntegermin: 1, max: 48No
port_endIntegermin: 1, max: 48No

dlb_interfaces (nxos.devices.configuration.system.hardware_profile.dlb)

Section titled “dlb_interfaces (nxos.devices.configuration.system.hardware_profile.dlb)”
NameTypeConstraintMandatoryDefault Value
interface_typeChoiceethernetYes
interface_idAnyString or Integer[min: 0]Yes

static_pinnings (nxos.devices.configuration.system.hardware_profile.dlb)

Section titled “static_pinnings (nxos.devices.configuration.system.hardware_profile.dlb)”
NameTypeConstraintMandatoryDefault Value
source_interface_typeChoiceethernetYes
source_interface_idAnyString or Integer[min: 0]Yes
destination_interface_typeChoiceethernetYes
destination_interface_idAnyString or Integer[min: 0]Yes

regions (nxos.devices.configuration.system.hardware_profile.tcam_resource_templates)

Section titled “regions (nxos.devices.configuration.system.hardware_profile.tcam_resource_templates)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
qualify_udfsListStringNo

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

nxos:
devices:
- name: SPINE1
configuration:
system:
hardware_ecmp_hash_polynomial: crc32hi
hardware_ecmp_hash_offset_concatenation: true
hardware_ecmp_hash_offset_value: 32

Example 2: IPv4 ECMP load sharing with L4 ports, custom rotation and hash seed (ip load-sharing address source-destination port source-destination rotate <rotate> universal-id <random-seed>)

nxos:
devices:
- name: LEAF1
configuration:
system:
ip_load_sharing:
address: source-destination-port
rotate: 43
universal_id: 12345

Example 3: Hardware rate-limiters for supervisor-bound traffic, globally and for module 1 (hardware rate-limiter {access-list-log | bfd | layer-3 glean | layer-3 multicast local-groups | sflow | span} <pps> [module <module>], hardware rate-limiter span-egress <kbps>)

nxos:
devices:
- name: LEAF1
configuration:
system:
hardware:
rate_limiter:
access_list_log: 200
bfd: 9000
layer_3_glean: 150
layer_3_multicast_local_groups: 2000
sflow: 30000
span: 100
span_egress: 1000
modules:
- module: 1
layer_3_glean: 200
span: 50

Example 4: System routing template for security groups

nxos:
devices:
- name: LEAF1
configuration:
system:
routing: template-security-groups

Example 5: Hardware profile for VXLAN leaf

nxos:
devices:
- name: LEAF1
configuration:
system:
hardware_profile:
multicast_rpf_check_optimization: true
ingress_replication_round_robin: true
urpf: true

Example 6: Extended hardware profile with counter management and PBR tuning

nxos:
devices:
- name: LEAF1
configuration:
system:
hardware:
dme_load_interval: 300
access_list_update_atomic: true
access_list_update_atomic_strict: false
pbr_ecmp_paths: 16
pbr_next_hop_fast_convergence: true
pbr_match_default_route: false
counter_feature_bfd: 7
counter_bfd_feature_scale: 256
counter_feature_svi: 10
counter_svi_feature_scale: 1024
multicast_nlb_port_channel: true
multicast_stats_disable: false
storm_control_priority: drop-l3
sub_interface_flex_stats: l3
vrf_aware_nat_enable: true

Example 7: TCAM region carving for VXLAN leaf

nxos:
devices:
- name: LEAF1
configuration:
system:
hardware_access_list_tcam_region:
ifacl_size: 256
vacl_size: 256
qos_size: 256
racl_size: 512
ipv6_racl_size: 256
e_racl_size: 256
ing_flow_size: 512
ing_racl_size: 512
ifacl_all_size: 256
racl_all_size: 256

Example 8: User-defined fields (UDFs) qualified for the RACL TCAM region (udf <name> {packet-start | header {outer | inner} {l3 | l4}} <offset> <length>, udf <name> netflow-rtp, udf <name> mpls {stack1 | stack2}, hardware access-list tcam region racl qualify udf <name>)

nxos:
devices:
- name: LEAF1
configuration:
system:
udfs:
- name: UDF1
offset_base: header-outer-l3
offset: 10
length: 2
qualify_racl: true
- name: UDF2
offset_base: packet-start
offset: 0
length: 1
qualify_ifacl: true
- name: RTP
netflow_rtp: true
- name: MPLS1
mpls: stack1

Example 9: User-defined TCAM resource template with UDF qualifiers (hardware profile tcam resource template <name> ref-template <template>, <region> qualify udf <name> ...)

nxos:
devices:
- name: LEAF1
configuration:
system:
udfs:
- name: UDF1
offset_base: header-outer-l4
offset: 4
length: 2
hardware_profile:
tcam_resource_templates:
- name: TPL1
ref_template: l3
regions:
- name: racl
qualify_udfs:
- UDF1

Example 10: Global hardware QoS tuning for a lossless (RoCEv2) leaf (hardware qos ...)

nxos:
devices:
- name: LEAF1
configuration:
system:
hardware_qos:
include_ipg: true
classify_ns_only: true
ing_pg_share: false
ing_pg_hdrm_reserve_percent: 50
ing_pg_no_min_pgmin: 5
nodrop_pause_resume_offset: 10
nodrop_pause_dynamic_q_limit: 10
burst_detect_max_records: 500
burst_detect_rise_threshold: 60
burst_detect_rise_threshold_unit: percent
burst_detect_fall_threshold: 40
burst_detect_fall_threshold_unit: percent
buffer_peak_monitor_counter0_classes: [3, 4]

Example 11: AFD and ETRAP elephant-flow tuning with dynamic buffer sharing on a Cloud Scale switch (hardware qos dynamic-buffer-sharing)

nxos:
devices:
- name: LEAF1
configuration:
system:
hardware_qos:
afd_profile: ultra-burst
ns_buffer_profile: burst
etrap_age_period: 100
etrap_byte_count: 2000
etrap_bandwidth_threshold: 1000
dynamic_packet_prioritization_age_period: 10000
dynamic_packet_prioritization_max_num_pkts: 100
q_noise_percent: 30
oq_drops_type: both
eoq_stats_class_qos_group: all
dynamic_buffer_sharing: true

Example 12: Dynamic load balancing (DLB) in flowlet mode with static pinning on a Cloud Scale switch (hardware profile dlb, dlb-interface <list>, mode flowlet, flowlet-aging <usec>, dre-thresholds level-1 <pct> ... level-7 <pct>, mac-address <mac>, static-pinning, source ethernet <id> destination ethernet <id>). Enabling DLB and changing the DLB interface list require a reload.

nxos:
devices:
- name: LEAF1
configuration:
system:
hardware_profile:
dlb:
enabled: true
dlb_interfaces:
- interface_type: ethernet
interface_id: 1/49
- interface_type: ethernet
interface_id: 1/50
- interface_type: ethernet
interface_id: 1/51
mode: flowlet
flowlet_aging: 500
dre_thresholds_level_1: 30
dre_thresholds_level_2: 20
dre_thresholds_level_3: 15
dre_thresholds_level_4: 10
dre_thresholds_level_5: 10
dre_thresholds_level_6: 10
dre_thresholds_level_7: 5
mac_address: 00:cc:cc:cc:cc:cc
static_pinning: true
static_pinnings:
- source_interface_type: ethernet
source_interface_id: 1/1
destination_interface_type: ethernet
destination_interface_id: 1/49

Example 13: Policy-driven DLB on a Silicon One switch with all Layer 3 ports and port-load tuning (dlb-interface all, mode policy-driven mixed default ecmp, decay-factor <0-15>, sampling-interval <nsecs>, no load-awareness). The classes that use DLB are selected with set dlb mode in a QoS policy map (see QoS).

nxos:
devices:
- name: LEAF1
configuration:
system:
hardware_profile:
dlb:
enabled: true
dlb_interface_all: true
mode: policy-driven-mixed-default-ecmp
flowlet_aging: 255
decay_factor: 4
sampling_interval: 64000
load_awareness: false