! PermitANY — Cisco NX-OS Base / Day-0 Config ! Day-zero configuration for Cisco Nexus switches: hostname, features, users, management interface, NTP, DNS, syslog, and SSH. ! Generated: 2026-09-20 ! These are EXAMPLE values. Replace with your actual config before deploying. ! hostname NXOS-LEAF-01 ip domain-name dc.corp.com ! ! ── Features ──────────────────────────────────────────────────────── feature ospf ! ! ── Users ─────────────────────────────────────────────────────────── username admin password Admin@2024! role network-admin username admin passphrase lifetime 99999 warntime 14 gracetime 3 ! ! ── Banner ────────────────────────────────────────────────────────── banner motd @ AUTHORIZED ACCESS ONLY. @ ! ! ── NTP ────────────────────────────────────────────────────────────── clock timezone UTC 0 0 ntp server 10.0.0.100 use-vrf {{../mgmt_vrf}} ! ! ── DNS ────────────────────────────────────────────────────────────── ip name-server 8.8.8.8 ip name-server 8.8.4.4 ! ! ── SSH ────────────────────────────────────────────────────────────── feature ssh crypto key generate rsa modulus 4096 ip ssh version 2 ! ! ── Management Interface ──────────────────────────────────────────── vrf context management ip route 0.0.0.0/0 10.0.0.1 ! interface mgmt0 vrf member management ip address 10.0.0.10/24 no shutdown ! ! ── Syslog ─────────────────────────────────────────────────────────── logging server 10.0.0.200 6 use-vrf management logging timestamp milliseconds logging level all 6 ! ! ── Hardening ─────────────────────────────────────────────────────── no cdp enable no feature telnet cli alias name wr copy run start !