! PermitANY — Cisco NX-OS VLAN & Switchport Config ! VLAN database, SVI interfaces, trunk and access switchport configuration for Cisco Nexus switches. ! Generated: 2026-09-20 ! These are EXAMPLE values. Replace with your actual config before deploying. ! hostname NXOS-LEAF-01 ! feature hsrp feature interface-vlan ! ! ── VLAN Database ──────────────────────────────────────────────────── vlan 10 name PROD-SERVERS ! ! ── SVI Interfaces ─────────────────────────────────────────────────── interface Vlan10 description Gateway-VLAN10-PROD-SERVERS ip address 10.10.10.1/24 no shutdown {{/if}} ! ! ── Trunk Interfaces ───────────────────────────────────────────────── interface Ethernet1/1 description Uplink to SPINE-01 switchport mode trunk switchport trunk allowed vlan 10,20,30 switchport trunk native vlan 999 speed auto no shutdown ! ! ── Access Ports ───────────────────────────────────────────────────── interface Ethernet1/10 description Server-01 switchport mode access switchport access vlan 10 spanning-tree port type edge no shutdown !