Dell OS10 Default Gateway: Management Routes after Reset - 夜莺博客

Dell OS10 Default Gateway: Management Routes after Reset

After a Dell PowerSwitch OS10 box comes out of the box or out of a factory reset, the first job is restoring management access - and this is where OS10 differs from Cisco habits: there is no ip default-gateway command. On OS10, management reachability is built from two pieces: an IP on the mgmt 1/1/1 interface and a management route (the OS10 equivalent of a default gateway for the management plane), configured with its own command. This guide covers the post-reset bootstrap: static management IP, default management route, admin user, and verification.

Step 1: Log In and Check the Management Interface

After a factory reset the switch has the default credentials (user admin, password admin - change it immediately) and the management interface defaults to DHCP. See what it is doing:

OS10# show running-configuration interface mgmt 1/1/1

interface mgmt1/1/1
 no shutdown
 ip address dhcp
 ipv6 address autoconfig

Step 2: Static IP on the Management Interface

OS10# configure terminal
OS10(config)# interface mgmt 1/1/1
OS10(conf-if-ma-1/1/1)# no ip address dhcp
OS10(conf-if-ma-1/1/1)# ip address 10.0.0.1/24
OS10(conf-if-ma-1/1/1)# exit

Step 3: The Default Gateway - a Management Route

OS10 keeps the management plane separate: instead of a global default route you create a management route, with the next hop on the management subnet:

OS10(config)# management route 0.0.0.0/0 10.0.0.254
OS10(config)# end

Rules that bite people:

  • The next hop must be within the management interface's subnet.
  • The management route prefix cannot be the exact subnet of the management IP (a management route for the directly-connected subnet makes no sense).
  • Do NOT configure the same prefix as both a static route and a management route - if the same prefix must exist in both places, use the management VRF instead (the default-VRF static route would shadow the management route).

Step 4: Create an Admin-Level User

OS10(config)# username test password P@ssw0rd!123 role sysadmin
OS10(config)# end

OS10 roles: sysadmin (full), netadmin, secadmin, netoperator. Use a sysadmin account for day-to-day management and keep the default admin account disabled or re-passworded.

Step 5: Verification

OS10# show running-configuration interface mgmt 1/1/1
OS10# show running-configuration management-route
OS10# show ip interface brief | grep man
OS10# show ip management-route

Expected: the mgmt interface shows the static address (no more ip address dhcp) and the management route is listed. Ping the gateway, then ping a host beyond it to confirm the management route actually forwards.

Going Further: Management VRF

Larger deployments put management in the management VRF so the data-plane routing table cannot interfere with management traffic:

OS10(config)# ip vrf management
OS10(conf-vrf)# interface management
OS10(conf-vrf)# exit

Remove all existing management interface settings before moving it into the VRF, then reconfigure IP and route inside it - full steps are in Dell KB 000184302 and summarized in our OS10 OOB management/VRF guide. The whole bootstrap usually follows a wipe, so pair this article with the OS10 factory reset procedure; once management is up, redundancy features like VLT peer routing are the next step for a resilient pair.

原文链接:https://www.dell.com/support/kbdoc/en-us/000201924/dell-emc-networking-os10-basic-switch-management-configuration