An NFS datastore that mounts is not proof the network is right. A 1500-byte NFS lookup gets through a path where one hop still runs at 1500 MTU; a 9000-byte write does not, and it does not fail cleanly either. The write stalls, retransmits, and shows up in vCenter as datastore latency that nobody can explain. On a VMware cluster running on Cisco UCS and Tintri VMstore the frame crosses eight places where MTU is set, owned by three teams, in three different tools. This part configures every one of them, from the vSphere admin’s point of view: what vSphere needs from the network underneath it, and exactly how to ask for it.
Series: VMware vSphere with Tintri and Cisco, part 2 of 6 · Level: advanced · Stack: vSphere 8 / VCF 9 with vDS, Cisco UCS Fabric Interconnects in Intersight Managed Mode (UCS Manager equivalents included), Nexus 9000 NX-OS in vPC, Tintri VMstore NFSv3 · Build time: 2 to 4 hours, plus a maintenance window for failover tests
Contents
- What this part builds, and the MTU decision
- VLAN and addressing plan
- MTU end to end: the hop map
- Nexus 9000: the complete NX-OS configuration
- Cisco UCS: Intersight Managed Mode policies
- UCS Manager equivalents
- vSphere: vDS, port groups and vmkernel ports
- VMstore data interface
- QoS: keep it boring
- End-to-end MTU verification workflow
- Troubleshooting
- What’s next
01. What this part builds, and the MTU decision
The target is the topology from Part 1: a UCS domain with two Fabric Interconnects, each uplinked by a vPC to a Nexus 9000 pair, and a Tintri VMstore whose controllers each have one data port on each Nexus. On top sits a vSphere cluster with two distributed switches and four vNICs per host. Every template below uses the same example values, so you can search and replace them in one pass.
Make the MTU decision before touching anything. There are two valid end states:
- Standard frames. vmkernel ports and the VMstore data interface at 1500. The fabric (UCS system class, Nexus interfaces) can still run at 9216, which costs nothing and leaves the door open.
- Jumbo frames. vmkernel ports and the VMstore data interface at 9000, every hop in between at 9216. The VMstore’s supported MTU is 9000 according to Tintri’s public best-practices guide, which also says switches should be configured with at least 9000 and typically 9216.
Read this before you enable jumbo frames. Tintri’s own public guide (revision 3.1) says that because of how often misconfigured jumbo frames cause problems in customer deployments, Tintri recommends against them unless you have a specific reason. That is not an argument against jumbo frames; it is an argument against half-configured ones. If you enable them, do every hop in this post and run the verification workflow in section 10 from every host to every data IP, on both fabrics. If you cannot commit to that, stay at 1500 on the endpoints.
The rest of this post assumes jumbo frames, because that is the configuration with the most places to get wrong. For standard frames, skip the endpoint MTU steps and keep everything else.
02. VLAN and addressing plan
Example values used throughout. Every VLAN is tagged on every trunk; the native VLAN is a parking VLAN that carries nothing. The NFS and vMotion networks are non-routed on purpose: no gateway means no chance of NFS traffic taking a routed path through a firewall.
| VLAN | Name | Subnet | Gateway | Carried on | Used by |
|---|---|---|---|---|---|
| 2 | native-unused | none | none | All trunks as native | Nothing (parking VLAN) |
| 10 | ib-mgmt | 10.0.10.0/24 | 10.0.10.1 (on your core) | FI uplinks, infra vNICs, VMstore admin ports | ESXi vmk0, vCenter, VMstore admin IP |
| 20 | nfs-data | 10.0.20.0/24 | none (non-routed) | FI uplinks, infra vNICs, VMstore data ports | ESXi vmk1, VMstore data IP 10.0.20.50 |
| 30 | vmotion | 10.0.30.0/24 | none (non-routed) | FI uplinks, infra vNICs | ESXi vmk2 |
| 40 | vmstore-repl | 10.0.40.0/24 | 10.0.40.1 (routed to DR) | VMstore replication ports, core uplink | VMstore replication IP |
| 100-110 | vm-* | per application | on your core | FI uplinks, VM vNICs | Guest VMs |
| Host | vmk0 ib-mgmt | vmk1 nfs-data | vmk2 vmotion |
|---|---|---|---|
| esx01.lab.local | 10.0.10.21 | 10.0.20.21 | 10.0.30.21 |
| esx02.lab.local | 10.0.10.22 | 10.0.20.22 | 10.0.30.22 |
| esx03.lab.local | 10.0.10.23 | 10.0.20.23 | 10.0.30.23 |
| esx04.lab.local | 10.0.10.24 | 10.0.20.24 | 10.0.30.24 |
03. MTU end to end: the hop map
This is the map to keep open while you work. The blue boxes are endpoints: they decide how big a packet is. The green boxes are the fabric: they only have to be big enough. A jumbo NFS write from vmk1 is a 9000-byte IP packet; on the wire it is 9000 + 14 bytes of Ethernet header + 4 bytes of FCS, plus a 4-byte 802.1Q tag wherever it is tagged, so 9022 bytes. Every fabric hop must pass that, which is why the fabric runs at 9216 and not at 9000.
| Hop | Where it is set | Value | Owner | How to read it back |
|---|---|---|---|---|
| ESXi vmk1 | vmkernel adapter settings | 9000 | vSphere | esxcli network ip interface list |
| vDS | vDS settings, Advanced, MTU | 9000 | vSphere | esxcli network vswitch dvs vmware list |
| UCS vNIC | Ethernet QoS policy (IMM) or vNIC template MTU (UCSM) | 9000 | Compute | Intersight server profile, vNIC details; esxcli network nic list on the host |
| Fabric Interconnect | System QoS policy, Best Effort class MTU | 9216 | Compute | Intersight domain profile, System QoS policy |
| Nexus port-channel to each FI | mtu 9216 on the port-channel | 9216 | Network | show interface port-channel11 | include MTU |
| vPC peer-link | Managed by vPC, not configurable | 9216 (verify) | Network | show interface port-channel10 | include MTU |
| Nexus port to VMstore | mtu 9216 on the interface | 9216 | Network | show interface ethernet1/11 | include MTU |
| VMstore data interface | VMstore network settings | 9000 | Storage | VMstore UI |
04. Nexus 9000: the complete NX-OS configuration
How MTU works on Nexus 9000
Older Nexus platforms (3000, 5000, 6000) set Layer 2 MTU through a policy-map type network-qos applied under system qos. Nexus 9200, 9300 and 9500 switches do not; per Cisco’s MTU configuration document they use per-port MTU. Two rules follow from that:
system jumbomtudefaults to 9216, and a Layer 2 interface can only be set to that value or to 1500. Tryingmtu 9000on a Layer 2 port returnsERROR: MTU can only be default or system jumbo MTU. That is why the fabric uses 9216.- MTU goes on the port-channel interface (members inherit it) and on every standalone port in the path. A vPC member port-channel whose MTU differs between the two peers is a type 1 vPC inconsistency, so set it identically on both switches.
The vPC peer-link is the exception: its MTU is managed by the vPC process and NX-OS rejects a manual mtu on it. Do not configure it; verify that it reports 9216 in step 5 of the workflow.
Nexus A: complete configuration
Interface numbering in the template: Eth1/1-2 to FI-A, Eth1/3-4 to FI-B, Eth1/11 and Eth1/12 to VMstore controller A and B data ports, Eth1/13-14 to the admin ports, Eth1/15-16 to the replication ports, Eth1/53-54 as the peer-link. Adjust to your cabling. The design uses Option A for the VMstore (active/standby pairs, no LACP); Option B follows.
! ================= Nexus 9000 A =================
hostname <N9K_A_HOSTNAME>
feature lacp
feature vpc
feature lldp
feature udld
! feature interface-vlan <- only if this pair hosts SVIs
! Spanning tree: network ports by default, edge ports guarded
spanning-tree port type network default
spanning-tree port type edge bpduguard default
spanning-tree port type edge bpdufilter default
! With peer-switch, both peers must use the same priority if this pair is root:
! spanning-tree vlan 2,10,20,30,40,100-110 priority <STP_PRIORITY>
port-channel load-balance src-dst l4port
! Jumbo MTU: 9216 is the default; stated so it shows in a plain show run
system jumbomtu 9216
vlan 2
name native-unused
vlan 10
name ib-mgmt
vlan 20
name nfs-data
vlan 30
name vmotion
vlan 40
name vmstore-repl
vlan 100-110
interface mgmt0
vrf member management
ip address <N9K_A_MGMT0_IP>/<MASK_LEN>
! ---------- vPC domain ----------
vpc domain 10
peer-switch
role priority 10
peer-keepalive destination <N9K_B_MGMT0_IP> source <N9K_A_MGMT0_IP> vrf management
delay restore 150
peer-gateway
auto-recovery
ip arp synchronize
! ---------- vPC peer-link (no mtu: vPC manages it) ----------
interface port-channel10
description vPC peer-link
switchport mode trunk
switchport trunk native vlan 2
switchport trunk allowed vlan 2,10,20,30,40,100-110
spanning-tree port type network
vpc peer-link
interface Ethernet1/53-54
description vPC peer-link member
switchport mode trunk
switchport trunk native vlan 2
switchport trunk allowed vlan 2,10,20,30,40,100-110
channel-group 10 mode active
no shutdown
! ---------- Uplinks from Fabric Interconnect A (vPC 11) ----------
interface port-channel11
description <FI_A_HOSTNAME> uplinks
switchport mode trunk
switchport trunk native vlan 2
switchport trunk allowed vlan 2,10,20,30,100-110
spanning-tree port type edge trunk
mtu 9216
vpc 11
interface Ethernet1/1-2
description <FI_A_HOSTNAME> uplink
switchport mode trunk
switchport trunk native vlan 2
switchport trunk allowed vlan 2,10,20,30,100-110
mtu 9216
udld enable
channel-group 11 mode active
no shutdown
! ---------- Uplinks from Fabric Interconnect B (vPC 12) ----------
interface port-channel12
description <FI_B_HOSTNAME> uplinks
switchport mode trunk
switchport trunk native vlan 2
switchport trunk allowed vlan 2,10,20,30,100-110
spanning-tree port type edge trunk
mtu 9216
vpc 12
interface Ethernet1/3-4
description <FI_B_HOSTNAME> uplink
switchport mode trunk
switchport trunk native vlan 2
switchport trunk allowed vlan 2,10,20,30,100-110
mtu 9216
udld enable
channel-group 12 mode active
no shutdown
! ---------- VMstore ports, Option A: active/standby pairs, no LACP ----------
! Each controller has one data port here and its twin on Nexus B.
! These are orphan ports: suspend them if the vPC peer-link fails.
interface Ethernet1/11
description <VMSTORE_NAME> ctrl-A data port 1
switchport mode access
switchport access vlan 20
spanning-tree port type edge
mtu 9216
vpc orphan-port suspend
no shutdown
interface Ethernet1/12
description <VMSTORE_NAME> ctrl-B data port 1
switchport mode access
switchport access vlan 20
spanning-tree port type edge
mtu 9216
vpc orphan-port suspend
no shutdown
interface Ethernet1/13
description <VMSTORE_NAME> ctrl-A admin port 1
switchport mode access
switchport access vlan 10
spanning-tree port type edge
vpc orphan-port suspend
no shutdown
interface Ethernet1/14
description <VMSTORE_NAME> ctrl-B admin port 1
switchport mode access
switchport access vlan 10
spanning-tree port type edge
vpc orphan-port suspend
no shutdown
interface Ethernet1/15
description <VMSTORE_NAME> ctrl-A replication port 1
switchport mode access
switchport access vlan 40
spanning-tree port type edge
mtu 9216
vpc orphan-port suspend
no shutdown
interface Ethernet1/16
description <VMSTORE_NAME> ctrl-B replication port 1
switchport mode access
switchport access vlan 40
spanning-tree port type edge
mtu 9216
vpc orphan-port suspend
no shutdown
! ---------- Uplink to core / distribution (routes mgmt, repl, VM VLANs) ----------
! interface port-channel100 ... vpc 100 <- per your core design; carry 10,40,100-110, not 20 or 30
Nexus B: what changes
! ================= Nexus 9000 B: differences from A =================
hostname <N9K_B_HOSTNAME>
interface mgmt0
vrf member management
ip address <N9K_B_MGMT0_IP>/<MASK_LEN>
vpc domain 10
peer-switch
role priority 20
peer-keepalive destination <N9K_A_MGMT0_IP> source <N9K_B_MGMT0_IP> vrf management
delay restore 150
peer-gateway
auto-recovery
ip arp synchronize
! Port-channels 10, 11, 12 and their members: identical to Nexus A
! (same vpc numbers, same allowed VLANs, same mtu 9216 on Po11 and Po12)
! VMstore ports: same config, the other leg of each pair
interface Ethernet1/11
description <VMSTORE_NAME> ctrl-A data port 2
interface Ethernet1/12
description <VMSTORE_NAME> ctrl-B data port 2
interface Ethernet1/13
description <VMSTORE_NAME> ctrl-A admin port 2
interface Ethernet1/14
description <VMSTORE_NAME> ctrl-B admin port 2
interface Ethernet1/15
description <VMSTORE_NAME> ctrl-A replication port 2
interface Ethernet1/16
description <VMSTORE_NAME> ctrl-B replication port 2
Why the VMstore ports need orphan-port suspend
With Option A, each VMstore port is connected to one switch only, which makes it an orphan port in vPC terms. Orphan ports are not suspended when the peer-link fails, and that creates the failure in the left half of the figure below. The VMstore keeps its active port up because the link is fine; the hosts reach only the vPC primary because the secondary has suspended its FI-facing ports; and with the peer-link gone there is no path between them. vpc orphan-port suspend makes the secondary take the VMstore port down with its vPC ports, and the VMstore does exactly what Tintri documents: it activates the standby port when the active port loses link.
The command is configured on physical interfaces only, not on port-channels. Two related timers matter during recovery: delay restore (vPC member ports, 150 seconds here) and the separate orphan-port delay restore timer in the vPC domain. Check show vpc brief after a peer-link recovery and make sure the VMstore ports come back before you declare the test passed.
Option B: LACP per VMstore controller
If one data port per controller does not give enough bandwidth, Tintri supports LACP on the VMstore ports, including a port-channel split across two switches that run multi-chassis link aggregation (vPC). Two rules from the Tintri guide: a port-channel must contain the ports of one controller only, never span both controllers; and the VMstore does not support mixing link speeds in a port-channel. On the Nexus side each controller becomes its own vPC, configured identically on both switches:
! ===== Option B: one vPC per VMstore controller (same on Nexus A and B) =====
interface port-channel21
description <VMSTORE_NAME> ctrl-A data LACP
switchport mode access
switchport access vlan 20
spanning-tree port type edge
mtu 9216
vpc 21
interface Ethernet1/11
description <VMSTORE_NAME> ctrl-A data
switchport mode access
switchport access vlan 20
mtu 9216
channel-group 21 mode active
no shutdown
interface port-channel22
description <VMSTORE_NAME> ctrl-B data LACP
switchport mode access
switchport access vlan 20
spanning-tree port type edge
mtu 9216
vpc 22
interface Ethernet1/12
description <VMSTORE_NAME> ctrl-B data
switchport mode access
switchport access vlan 20
mtu 9216
channel-group 22 mode active
no shutdown
! vPC members are suspended with the secondary automatically; no orphan-port command needed.
Before choosing Option B, confirm with Tintri how the standby controller’s ports present themselves to LACP on your TxOS release, so you know what show port-channel summary should show for the standby controller’s port-channel before you go live. The data IP lives on the active controller either way.
05. Cisco UCS: Intersight Managed Mode policies
In IMM the network configuration is split between the UCS domain profile (applies to the FIs) and the server profile (applies to each server’s vNICs). Names below follow the Intersight UI. The vNIC design is the one from Part 1: four vNICs per host, an infra pair (management, NFS, vMotion) and a VM pair, each pair split across fabric A and B.
Domain profile policies
| Policy | Setting | Value | Why |
|---|---|---|---|
| VLAN policy | VLANs | 10, 20, 30, 100-110 (plus 2 if you want it defined) | Every VLAN a vNIC uses must exist on the FIs |
| VLAN policy | Auto Allow on Uplinks | Enabled | Allows each VLAN on the Ethernet uplink port-channels; the CVDs use this setting |
| VLAN policy | Multicast policy | Required per VLAN; defaults are fine | IMM requires one to be attached |
| Port policy (FI-A / FI-B) | Ethernet uplink port channel | ID 11 on FI-A, 12 on FI-B; members to both Nexus switches | One port-channel per FI, terminated as a vPC on the Nexus pair |
| Port policy | Link control policy | UDLD enabled, to match udld enable on the Nexus | Detects one-way links on the uplinks |
| System QoS policy | Best Effort, MTU | 9216 | The FI forwards jumbo frames only if the class carrying them allows it |
| System QoS policy | Other classes | Leave disabled unless you design a CoS scheme end to end | See section 09 |
Server profile policies
| Policy | Setting | Value | Why |
|---|---|---|---|
Ethernet Network Group policy eng-infra | Allowed VLANs | 10,20,30 | Infra vNICs carry management, NFS and vMotion only |
Ethernet Network Group policy eng-vm | Allowed VLANs | 100-110 | VM vNICs carry guest VLANs only |
Ethernet Network Control policy enc-cdp-lldp | CDP | Enabled | vSphere shows the FI and port each vmnic lands on |
| LLDP Transmit / Receive | Both enabled | Same, for vDS set to LLDP | |
| MAC Register Mode | Only Native VLAN (default) | Default is correct for this design | |
| Action on Uplink Fail | Link Down (default) | If an FI loses all uplinks, its vNICs go down and ESXi fails over. Never set this to Warning on an ESXi host. | |
| MAC Security, Forge | Allow (default) | Default | |
Ethernet QoS policy eqos-jumbo | MTU | 9000 | The vNIC’s maximum frame size; range is 1500 to 9000 |
| Priority | Best Effort | Matches the System QoS class at 9216 | |
| Rate limit / CoS / Burst / Trust Host CoS | 0 / 0 / 10240 / off (defaults) | No shaping on the vNIC | |
| Ethernet Adapter policy | Infra and VM vNICs | Start from the predefined VMware template | Queue tuning is a host-build topic; see Part 4 |
| LAN Connectivity policy | Target platform / placement | FI-attached, manual (simple) placement | Fixed PCI order gives predictable vmnic numbering |
| vNICs | See next table | One pair per function, A and B |
| vNIC | Switch ID | PCI order | Network group | Failover | ESXi sees | vDS uplink |
|---|---|---|---|---|---|---|
| 00-infra-A | A | 0 | eng-infra | Disabled | vmnic0 | vds-infra uplink 1 |
| 01-infra-B | B | 1 | eng-infra | Disabled | vmnic1 | vds-infra uplink 2 |
| 02-vm-A | A | 2 | eng-vm | Disabled | vmnic2 | vds-vm uplink 1 |
| 03-vm-B | B | 3 | eng-vm | Disabled | vmnic3 | vds-vm uplink 2 |
Fabric failover stays disabled. UCS can fail a single vNIC over from fabric A to fabric B inside the adapter, invisibly to the OS. Cisco’s teaming guidance for FI-attached servers is to use either fabric failover or OS teaming, and not both concurrently. With vSphere, teaming is the better choice: the failover is visible in vCenter, you control which port group prefers which fabric, and the FlexPod CVDs for vSphere on IMM disable failover on their vNICs. Cisco’s same document lists IP hash among the teaming modes not supported on FI-attached servers, which is why nothing in this design uses a LAG toward the FIs.
Pinning vMotion to fabric B has a useful side effect. In end-host mode an FI switches traffic between servers on its own fabric locally, so host-to-host vMotion inside the domain never touches the Nexus uplinks while fabric B is healthy. NFS prefers fabric A, so the two heaviest flows do not share an FI unless one fabric is down.
The same policies as code
If you manage Intersight with Ansible, the cisco.intersight collection has a module for each policy. The playbook below was written against the collection’s 2.23.0 documentation. Authentication comes from the environment: the modules read INTERSIGHT_API_KEY_ID and INTERSIGHT_API_PRIVATE_KEY when the parameters are not set, so no secret appears in the file. MAC pools and the multicast policy are prerequisites; create them first.
# imm-network-policies.yml
# Requires: ansible-galaxy collection install cisco.intersight
# Auth: export INTERSIGHT_API_KEY_ID=... INTERSIGHT_API_PRIVATE_KEY=/path/to/SecretKey.txt
- name: Intersight network policies for vSphere on UCS with Tintri NFS
hosts: localhost
gather_facts: false
vars:
org: "<INTERSIGHT_ORG>"
mcast_policy: "<MULTICAST_POLICY_NAME>"
mac_pool_a: "<MAC_POOL_A>"
mac_pool_b: "<MAC_POOL_B>"
tasks:
- name: VLAN policy (domain profile)
cisco.intersight.intersight_vlan_policy:
organization: "{{ org }}"
name: vlan-vsphere
vlans:
- { prefix: ib-mgmt, vlan_id: "10", auto_allow_on_uplinks: true, multicast_policy_name: "{{ mcast_policy }}" }
- { prefix: nfs-data, vlan_id: "20", auto_allow_on_uplinks: true, multicast_policy_name: "{{ mcast_policy }}" }
- { prefix: vmotion, vlan_id: "30", auto_allow_on_uplinks: true, multicast_policy_name: "{{ mcast_policy }}" }
- { prefix: vm, vlan_id: "100-110", auto_allow_on_uplinks: true, multicast_policy_name: "{{ mcast_policy }}" }
- name: System QoS policy, Best Effort at 9216 (domain profile)
cisco.intersight.intersight_system_qos_policy:
organization: "{{ org }}"
name: sysqos-jumbo
classes:
- { name: "Best Effort", mtu: 9216, weight: 5 }
- { name: "FC", mtu: 2240, weight: 5 }
- name: Ethernet network control policy, CDP + LLDP, link down on uplink fail
cisco.intersight.intersight_ethernet_network_control_policy:
organization: "{{ org }}"
name: enc-cdp-lldp
cdp_enabled: true
lldp_transmit_enabled: true
lldp_receive_enabled: true
mac_registration_mode: nativeVlanOnly
uplink_fail_action: linkDown
forge_mac: allow
- name: Ethernet QoS policy, vNIC MTU 9000
cisco.intersight.intersight_ethernet_qos_policy:
organization: "{{ org }}"
name: eqos-jumbo
mtu: 9000
priority: "Best Effort"
rate_limit: 0
burst: 10240
trust_host_cos: false
- name: Ethernet network group policies
cisco.intersight.intersight_ethernet_network_group_policy:
organization: "{{ org }}"
name: "{{ item.name }}"
allowed_vlans: "{{ item.vlans }}"
loop:
- { name: eng-infra, vlans: "10,20,30" }
- { name: eng-vm, vlans: "100-110" }
- name: LAN connectivity policy, four vNICs, fabric failover off
cisco.intersight.intersight_lan_connectivity_policy:
organization: "{{ org }}"
name: lcp-vsphere-4vnic
target_platform: FIAttached
placement_mode: custom
vnics:
- { name: 00-infra-A, order: 0, switch_id: A, failover_enabled: false, mac_pool_name: "{{ mac_pool_a }}",
fabric_eth_network_group_policy_name: eng-infra, fabric_eth_network_control_policy_name: enc-cdp-lldp,
eth_qos_policy_name: eqos-jumbo, eth_adapter_policy_name: "<ETH_ADAPTER_POLICY>",
auto_slot_id: true, auto_pci_link: true, cdn_source: vnic }
- { name: 01-infra-B, order: 1, switch_id: B, failover_enabled: false, mac_pool_name: "{{ mac_pool_b }}",
fabric_eth_network_group_policy_name: eng-infra, fabric_eth_network_control_policy_name: enc-cdp-lldp,
eth_qos_policy_name: eqos-jumbo, eth_adapter_policy_name: "<ETH_ADAPTER_POLICY>",
auto_slot_id: true, auto_pci_link: true, cdn_source: vnic }
- { name: 02-vm-A, order: 2, switch_id: A, failover_enabled: false, mac_pool_name: "{{ mac_pool_a }}",
fabric_eth_network_group_policy_name: eng-vm, fabric_eth_network_control_policy_name: enc-cdp-lldp,
eth_qos_policy_name: eqos-jumbo, eth_adapter_policy_name: "<ETH_ADAPTER_POLICY>",
auto_slot_id: true, auto_pci_link: true, cdn_source: vnic }
- { name: 03-vm-B, order: 3, switch_id: B, failover_enabled: false, mac_pool_name: "{{ mac_pool_b }}",
fabric_eth_network_group_policy_name: eng-vm, fabric_eth_network_control_policy_name: enc-cdp-lldp,
eth_qos_policy_name: eqos-jumbo, eth_adapter_policy_name: "<ETH_ADAPTER_POLICY>",
auto_slot_id: true, auto_pci_link: true, cdn_source: vnic }
Attach the VLAN, port and System QoS policies to the domain profile and deploy it; attach the LAN connectivity policy to the server profile template and deploy the derived profiles. Deploying a changed LAN connectivity policy to a running server can require a reboot, so schedule it like any other host change: maintenance mode first.
MTU is a ceiling at each layer, not a setting that propagates. The Ethernet QoS policy caps what the vNIC will pass. ESXi sets its vmnic MTU from the vDS, not from UCS. If the vDS is 9000 and the vNIC is 1500, ESXi happily builds jumbo frames that the VIC will not carry. Every layer has to be set; none of them inherits from another.
06. UCS Manager equivalents
If the domain runs UCS Manager instead of IMM, the same design maps onto UCSM objects. The concepts are identical; the names and locations differ.
| IMM policy | UCS Manager equivalent | Setting for this design |
|---|---|---|
| System QoS policy, Best Effort MTU | LAN > LAN Cloud > QoS System Class, Best Effort | MTU 9216 |
| VLAN policy | LAN > LAN Cloud > VLANs (global VLANs) | VLANs 10, 20, 30, 100-110 |
| Port policy, Ethernet uplink port channel | LAN > LAN Cloud > Fabric A / Fabric B > Port Channels | Port-channel 11 on A, 12 on B, VLANs allowed on the uplinks |
| Ethernet Network Control policy | LAN > Policies > Network Control Policies | CDP Enabled, LLDP Transmit and Receive Enabled, Action on Uplink Fail Link Down, MAC Register Mode Only Native VLAN |
| Ethernet QoS policy (MTU) | MTU field on the vNIC template (plus an optional QoS policy for priority) | MTU 9000, no QoS policy needed for Best Effort |
| Ethernet Network Group policy | VLANs selected on the vNIC template | Infra templates: 10, 20, 30. VM templates: 100-110 |
| LAN Connectivity policy, vNIC Switch ID | vNIC template Fabric ID, with Enable Failover unchecked; redundancy pair templates (Primary / Secondary) for A and B | infra-A primary on Fabric A, infra-B secondary on Fabric B; same for vm-A / vm-B |
| Ethernet Adapter policy | Adapter Policy on the vNIC (predefined VMWare policy) | VMWare, or a tuned copy |
Use updating templates for the vNIC templates so a VLAN added to the primary template reaches every service profile, and use the redundancy pair feature so fabric A and fabric B templates cannot drift apart. The site’s older post on validating all the service profiles in Cisco UCS is a useful audit for this.
07. vSphere: vDS, port groups and vmkernel ports
The vSphere side is where the vSphere admin has full control, and where most MTU problems are created by hand edits on one host. Build it from a script, once, and audit it with the same data.
| Object | Setting | Value |
|---|---|---|
| vds-infra | MTU / uplinks / discovery | 9000 / 2 / LLDP, Listen (or CDP to match what the FIs send) |
| pg-mgmt (VLAN 10) | Teaming | Explicit failover order: uplink 1 active, uplink 2 standby |
| pg-nfs (VLAN 20) | Teaming | Explicit failover order: uplink 1 active, uplink 2 standby |
| pg-vmotion (VLAN 30) | Teaming | Explicit failover order: uplink 2 active, uplink 1 standby |
| All infra port groups | Failure detection / notify switches / failback | Link status only / Yes / Yes |
| vds-vm | MTU / uplinks | 9000 / 2 |
| pg-vm-* (VLAN 100-110) | Teaming | Route based on originating virtual port, both uplinks active |
| vmk1 (NFS) | MTU / services | 9000 / no services ticked; NFS uses the vmk in the datastore subnet |
| vmk2 (vMotion) | MTU / services | 9000 / vMotion |
Two notes. Beacon probing is pointless with two uplinks, and UCS already brings vNICs down when an FI loses its uplinks, so link status is the right detection method. And because NFSv3 picks its vmkernel port from the routing table, vmk1 must be the only vmk in 10.0.20.0/24 on each host; a second vmk in that subnet makes the choice unpredictable. From vSphere 8.0 Update 1 you can bind an NFSv3 datastore to a specific vmkernel adapter; validate that with Tintri support for your TxOS before relying on it, and see Part 3 for mounting.
For VCF 9 workload domains, the vDS and its MTU come from the VCF deployment and network profile. Put the same values there and use the script below only as an audit; do not hand-build a vDS that VCF expects to own.
# Build-VdsInfra.ps1 : vds-infra, port groups, teaming and vmkernel ports
# Credentials from the environment: $env:VCENTER_SERVER, $env:VCENTER_USER, $env:VCENTER_PASSWORD
# hosts.csv columns: Host,NfsIp,VmotionIp
param(
[string]$Datacenter = '<DATACENTER>',
[string]$HostsCsv = './hosts.csv',
[string]$Mask = '255.255.255.0'
)
$ErrorActionPreference = 'Stop'
Connect-VIServer -Server $env:VCENTER_SERVER -User $env:VCENTER_USER `
-Password $env:VCENTER_PASSWORD | Out-Null
$vds = Get-VDSwitch -Name 'vds-infra' -ErrorAction SilentlyContinue
if (-not $vds) {
$vds = New-VDSwitch -Name 'vds-infra' -Location (Get-Datacenter $Datacenter) `
-NumUplinkPorts 2 -Mtu 9000 `
-LinkDiscoveryProtocol LLDP -LinkDiscoveryProtocolOperation Listen
}
$pgs = @(
@{ Name='pg-mgmt'; Vlan=10; Active='dvUplink1'; Standby='dvUplink2' },
@{ Name='pg-nfs'; Vlan=20; Active='dvUplink1'; Standby='dvUplink2' },
@{ Name='pg-vmotion'; Vlan=30; Active='dvUplink2'; Standby='dvUplink1' }
)
foreach ($p in $pgs) {
$pg = Get-VDPortgroup -VDSwitch $vds -Name $p.Name -ErrorAction SilentlyContinue
if (-not $pg) { $pg = New-VDPortgroup -VDSwitch $vds -Name $p.Name -VlanId $p.Vlan }
$pg | Get-VDUplinkTeamingPolicy | Set-VDUplinkTeamingPolicy `
-LoadBalancingPolicy ExplicitFailover `
-ActiveUplinkPort $p.Active -StandbyUplinkPort $p.Standby `
-FailoverDetectionPolicy LinkStatus -NotifySwitches $true -EnableFailback $true | Out-Null
}
foreach ($row in Import-Csv $HostsCsv) {
$h = Get-VMHost -Name $row.Host
if (-not (Get-VDSwitch -VMHost $h | Where-Object Name -eq 'vds-infra')) {
Add-VDSwitchVMHost -VDSwitch $vds -VMHost $h
# vmnic0 = 00-infra-A (fabric A), vmnic1 = 01-infra-B (fabric B): verify by MAC first
$pnics = Get-VMHostNetworkAdapter -VMHost $h -Physical -Name vmnic0, vmnic1
Add-VDSwitchPhysicalNetworkAdapter -DistributedSwitch $vds `
-VMHostPhysicalNic $pnics -Confirm:$false
}
New-VMHostNetworkAdapter -VMHost $h -VirtualSwitch $vds -PortGroup 'pg-nfs' `
-IP $row.NfsIp -SubnetMask $Mask -Mtu 9000 | Out-Null
New-VMHostNetworkAdapter -VMHost $h -VirtualSwitch $vds -PortGroup 'pg-vmotion' `
-IP $row.VmotionIp -SubnetMask $Mask -Mtu 9000 -VMotionEnabled $true | Out-Null
}
# Audit: uplink-to-vmnic mapping and vmk MTU on every host
Get-VDPort -VDSwitch $vds -Uplink |
Select-Object ProxyHost, Name, ConnectedEntity | Sort-Object ProxyHost, Name | Format-Table -AutoSize
Get-VMHostNetworkAdapter -VMKernel -VirtualSwitch $vds |
Select-Object VMHost, Name, PortGroupName, IP, Mtu | Sort-Object VMHost, Name | Format-Table -AutoSize
Disconnect-VIServer -Confirm:$false
The mapping comment matters more than the script. ESXi numbers vmnics in PCI order, and the LAN connectivity policy fixes that order, but confirm it once per host model: compare the MAC address of each vmnic (esxcli network nic list) with the MAC Intersight assigned to each vNIC. If vmnic0 turns out to be the fabric B vNIC, the teaming above silently puts NFS on fabric B and vMotion on fabric A. It still works; it is just not the design you documented.
08. VMstore data interface
The VMstore end of the path is the shortest list, but it is the end most often configured by a different person on a different day. The values for this design, from Tintri’s public best-practices guide where stated:
- One data IP (10.0.20.50) in the NFS VLAN, in the same subnet as every host’s vmk1. Tintri allows up to 64 and recommends one.
- VLAN field. 802.1Q tagging is supported on all VMstore interfaces. Because the Nexus ports in Option A are access ports in VLAN 20, the VLAN field on the VMstore data interface must be left empty. If you make the Nexus ports trunks instead, set the VLAN ID on the VMstore and allow that VLAN on the trunk.
- MTU. 9000 if you chose jumbo frames (the VMstore’s supported maximum per the guide); otherwise the default. It is set in the VMstore’s network settings alongside the VLAN ID.
- Port pairs. Data ports and management ports on each controller are internal active/standby pairs; you cannot split a pair into two separately usable interfaces. Cable both ports of each pair, one to each Nexus.
- Management (admin) IP in VLAN 10. It does not have to share the ESXi management subnet, but it must be routable to vCenter.
- Replication on its own ports and VLAN 40 where the model has replication ports. Async replication uses TCP 1304 and sync replication TCP 1338 by default.
TxOS has a built-in network diagnostics utility (since Tintri OS 4.2, per the guide) that can send a do-not-fragment test from the VMstore side. Tintri’s guide points out its limitation: it tests only the currently active data path. It is a useful second opinion, not a replacement for testing from every host on both fabrics.
09. QoS: keep it boring
The temptation is to give NFS its own UCS system class with a higher priority. It only helps if three things line up: the Ethernet QoS policy on the NFS vNICs selects that class, the class is enabled in the System QoS policy with MTU 9216, and the Nexus pair classifies and queues on the same CoS end to end. Get one wrong and the result is worse than no QoS: a class left at MTU 1500 drops every jumbo frame mapped into it while Best Effort traffic sails through.
For most clusters the right answer is the default: everything in Best Effort at 9216, NFS isolated by VLAN and by its own vNIC pair, and contention handled by vSphere Network I/O Control on the host (covered in Part 4) and by per-VM QoS on the VMstore (Part 3). If you do build a CoS design, document it as a decision in the Part 1 checklist and test it with the same workflow below.
10. End-to-end MTU verification workflow
Run this after the build, after every change to any hop, and as part of the failure tests from Part 1. Each step says what to run and what a pass looks like. Steps 1 to 6 are read-only. Step 8 changes the fabric path, so run it in a maintenance window.
Step 1: vPC health on both Nexus switches
N9K-A# show vpc brief
vPC domain id : 10
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : success
Per-vlan consistency status : success
...
vPC status
Id Port Status Consistency Reason
---- ------------ ------ ----------- ------
11 Po11 up success success
12 Po12 up success success
N9K-A# show vpc consistency-parameters interface port-channel 11
! check that the mtu row shows 9216 on both Local and Peer
N9K-A# show vpc orphan-ports
! expect Eth1/11-16 (Option A VMstore ports) to be listed
Pass: peer adjacency formed, keepalive alive, consistency success on both vPCs, and the VMstore ports listed as orphan ports. Option B shows Po21 and Po22 as vPCs instead.
Step 2: MTU on every Nexus interface in the path
N9K-A# show interface port-channel 11 | include MTU
MTU 9216 bytes, BW ...
N9K-A# show interface port-channel 12 | include MTU
N9K-A# show interface ethernet 1/11 | include MTU
N9K-A# show interface ethernet 1/12 | include MTU
N9K-A# show running-config all | include jumbomtu
system jumbomtu 9216
Pass: every line reads MTU 9216 bytes, on both switches.
Step 3: port-channels and neighbours
N9K-A# show port-channel summary
! Po10, Po11, Po12 flagged (SU) with members (P)
N9K-A# show lldp neighbors
N9K-A# show cdp neighbors
! FI-A and FI-B on Eth1/1-4, the peer switch on Eth1/53-54
FI-A# connect nxos
FI-A(nx-os)# show port-channel summary
FI-A(nx-os)# show lldp neighbors
! the uplink port-channel up, each member seeing a Nexus port
Pass: every port-channel up with all members bundled, and the neighbours match your cabling sheet. A member in (I) or (s) state is a cabling or LACP problem to fix before going further. On the FI, do not judge MTU by the interface MTU field; the System QoS class governs what the FI forwards, and the vmkping test in step 6 is the real proof.
Step 4: UCS and vSphere settings read back
# On each ESXi host (SSH), or through the PowerCLI audit at the end of section 07
esxcli network nic list
# vmnic0..3 up, MTU 9000 on the vmnics attached to vds-infra and vds-vm
esxcli network ip interface list
# vmk1: MTU 9000, Portgroup pg-nfs ; vmk2: MTU 9000, Portgroup pg-vmotion
esxcli network vswitch dvs vmware list
# vds-infra: MTU 9000, Uplinks vmnic0, vmnic1
Pass: vmnics, vmks and both vDS at 9000. In Intersight, the server profile shows each vNIC with the expected Switch ID, failover disabled, and the eqos-jumbo policy (MTU 9000). In vCenter, each vmnic’s CDP or LLDP view shows the FI it lands on: vmnic0 on FI-A, vmnic1 on FI-B.
Step 5: peer-link MTU
N9K-A# show interface port-channel 10 | include MTU
MTU 9216 bytes, ...
Pass: 9216. You cannot configure this value; if it reads anything else, open a case rather than trying to set it.
Step 6: vmkping from every host to every VMstore data IP
The test that proves the path. 8972 bytes of ICMP payload plus 8 bytes of ICMP header plus 20 bytes of IP header is exactly a 9000-byte packet, and -d sets do-not-fragment so nothing along the way can quietly split it.
# On one host, by hand
vmkping -I vmk1 -d -s 8972 -c 3 10.0.20.50
# PASS: 3 packets transmitted, 3 packets received, 0% packet loss
vmkping -I vmk1 -d -s 8973 -c 3 10.0.20.50
# EXPECTED FAIL: 8973 + 28 = 9001 bytes exceeds the vmk MTU, so ESXi refuses to send it.
# If 8973 succeeds, the vmk MTU is larger than 9000 somewhere and the endpoints disagree.
vmkping -I vmk1 -s 1472 -d -c 3 10.0.20.50
# Standard-frame sanity check; if this fails too, the problem is not MTU at all.
Doing that by hand on forty hosts is how hosts get skipped. This PowerCLI script runs the matrix: every host in the cluster, every data IP, both packet sizes, through vmk1 only. It does not change anything.
# Test-NfsMtuMatrix.ps1 : DF ping from every host's NFS vmk to every VMstore data IP
# Credentials from the environment: $env:VCENTER_SERVER, $env:VCENTER_USER, $env:VCENTER_PASSWORD
param(
[string] $Cluster = '<CLUSTER_NAME>',
[string[]]$DataIps = @('10.0.20.50'),
[string] $Vmk = 'vmk1',
[int[]] $Sizes = @(1472, 8972)
)
$ErrorActionPreference = 'Stop'
Connect-VIServer -Server $env:VCENTER_SERVER -User $env:VCENTER_USER `
-Password $env:VCENTER_PASSWORD | Out-Null
$results = foreach ($h in Get-Cluster $Cluster | Get-VMHost | Where-Object ConnectionState -eq 'Connected' | Sort-Object Name) {
$esx = Get-EsxCli -VMHost $h -V2
foreach ($ip in $DataIps) {
foreach ($size in $Sizes) {
try {
$r = $esx.network.diag.ping.Invoke(@{
host = $ip; interface = $Vmk; size = $size; df = $true; count = 3 })
$lost = [int]$r.Summary.PacketLost
$status = if ($lost -eq 0) { 'PASS' } else { 'FAIL' }
} catch {
$lost = 100; $status = 'ERROR'
}
[pscustomobject]@{ Host = $h.Name; Vmk = $Vmk; Target = $ip; Size = $size;
LostPct = $lost; Result = $status }
}
}
}
$results | Format-Table -AutoSize
$bad = $results | Where-Object Result -ne 'PASS'
if ($bad) { Write-Warning "$($bad.Count) failing combinations"; $bad | Format-Table -AutoSize }
else { Write-Host 'All hosts pass at every size.' }
Disconnect-VIServer -Confirm:$false
Pass: every row PASS at both sizes. A host that passes 1472 and fails 8972 has an MTU problem between its vmk1 and the VMstore; a host that fails both has a VLAN, addressing or teaming problem. The site’s jumbo frame check across every ESXi host post extends this into a scheduled report.
Step 7: watch the counters while the test runs
N9K-A# clear counters interface port-channel 11
! run Test-NfsMtuMatrix.ps1, then:
N9K-A# show interface port-channel 11 | include jumbo
! RX jumbo packets should have increased
N9K-A# show interface ethernet 1/11 | include jumbo
! TX jumbo packets toward the active VMstore data port should have increased
N9K-A# show interface counters errors
! no new input errors, CRC, giants or discards on Po11, Po12, Eth1/11, Eth1/12
Pass: jumbo counters move on the expected ports and the error counters do not. This also tells you which Nexus is carrying the active VMstore port: only that switch’s VMstore-facing port shows TX jumbo packets. For the CRC side of error counters, see how to check CRC errors on Cisco switches.
Step 8: test the standby paths (maintenance window)
Steps 6 and 7 only test the paths in use right now: vmk1 on fabric A and whichever VMstore port is active. Jumbo frame problems love the standby path because nobody exercises it until a failure. Test it deliberately, one path at a time:
- Fabric B for NFS. On one host in maintenance mode, edit pg-nfs teaming to make uplink 2 active and uplink 1 standby (or create a temporary test port group with only uplink 2 active and a temporary vmk in VLAN 20). Run the matrix for that host. Pass: PASS at 8972. Revert.
- The other VMstore data port. In the window, shut the Nexus port carrying the active VMstore data port (
interface ethernet 1/11,shutdownon the switch that showed TX jumbo packets in step 7). The VMstore activates the standby port on the other switch. Run the full matrix. Pass: every host PASS at 8972.no shutdownthe port afterwards. - The peer-link scenario. Only on a non-production pair, or with explicit sign-off: shut the peer-link members and confirm the VMstore ports on the secondary go suspended (
show interface statusshows them down) and the matrix still passes. Restore the peer-link and confirm inshow vpc briefthat everything returns to success.
Record the results with the golden versions table from Part 1. They are the evidence that the design works on every path, not only on the one that happened to be active on the day of the build.
11. Troubleshooting
Network symptoms as the vSphere admin sees them, mapped to the hop that usually causes them. For the MTU background on Cisco switches see troubleshooting MTU issues on Cisco switches; the full multi-layer runbook is Part 5.
| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Datastore mounts, browsing works, VM I/O stalls and latency spikes | A hop below 9000 on the active path; small NFS operations pass, large writes do not | vmkping -I vmk1 -d -s 8972 vs -s 1472 from the affected host | Walk the hop map; the usual suspects are the vNIC Ethernet QoS policy and a Nexus port without mtu 9216 |
| Every host fails 8972, passes 1472 | VMstore data interface or the Nexus ports facing it at 1500, or System QoS Best Effort left at 1500 | show interface ethernet 1/11 | include MTU; VMstore network settings; Intersight System QoS policy | Set 9216 on the Nexus ports, 9216 on Best Effort, 9000 on the VMstore |
| Only hosts in one chassis or one profile template fail | Ethernet QoS policy at 1500 on that template, or a different LAN connectivity policy | Intersight server profile vNIC details | Attach eqos-jumbo and redeploy in maintenance mode |
| NFS fails only after an FI reboot or fabric A failure | Fabric B vNIC missing VLAN 20, or pg-nfs has no standby uplink | Intersight network group on 01-infra-B; pg-nfs teaming | Add VLAN 20 to eng-infra; set uplink 2 as standby |
| NFS lost when an FI loses its Nexus uplinks, though the FI stays up | Action on Uplink Fail set to Warning, so vNICs stay up with no uplink | Ethernet Network Control policy | Set Link Down; redeploy |
| NFS lost on every host during a peer-link outage | VMstore active port on the secondary is an orphan port that was not suspended | show vpc orphan-ports, show running-config interface ethernet 1/11 | Add vpc orphan-port suspend to every VMstore-facing physical port |
| vPC 11 or 12 down with a type 1 inconsistency | MTU or allowed VLANs differ between the two Nexus peers | show vpc consistency-parameters interface port-channel 11 | Make the port-channel config identical on both switches |
ERROR: MTU can only be default or system jumbo MTU | Tried mtu 9000 on a Layer 2 port | The command you typed | Use mtu 9216 (the system jumbo MTU) on Layer 2 ports |
| MAC flapping logs on the Nexus for host MACs | Teaming set to IP hash or a LAG on the vDS toward the FIs, or fabric failover plus ESXi teaming | vDS teaming policy, vNIC failover setting | Explicit failover or originating port; fabric failover off |
| vmkping to the data IP leaves through the wrong vmk | Two vmks in the NFS subnet on one host | esxcli network ip interface ipv4 get, esxcli network ip route ipv4 list | One vmk per host in 10.0.20.0/24 |
| Matrix passes, but NFS breaks after a VMstore port failover | Standby VMstore port’s Nexus interface missing mtu 9216 or in the wrong VLAN | show running-config interface on both switches, compare the pair | Configure both legs identically; rerun step 8 |
| FI port-channel members suspended | LACP not active on one side, or members cabled to the wrong vPC | show port-channel summary on Nexus and via connect nxos on the FI | Fix cabling to match the port policy; both sides LACP active |
12. What’s next
With the network proven from every host to the VMstore data IP on both fabrics, the next step is the storage itself. Part 3 configures the VMstore for vSphere: admin, data and replication networking from the array side, registering vCenter, mounting the NFS datastore identically on every host, the VAAI-NAS plugin, the ESXi NFS advanced settings, per-VM QoS, snapshots and replication, and Tintri Global Center. Part 4 then builds the ESXi host to match: vmkernel design, NIOC, HA heartbeating and a vLCM image with the Cisco VIC drivers and the Tintri VAAI component. Go back to Part 1 for the decisions checklist this post implements. Related reading on the site: the NFS datastore health sweep across a VCF fleet, correlating vSphere and VMstore latency in one table, and, for catching path problems before vCenter does, catching NFS APD with OpenTelemetry logs.
Leave a Reply