

While the above will work, it is the equivalent of doing the following.

However, the configuration is not technically an interface command. The IP address configured as the next hop should be on the same subnet as the management vlan (vlan 1 by default). I may not be understanding you completely. It wouldn't make sense to specify a DG value just for vlan1, would it?

This may be normal for the running-config, or just the way the lab works. Doing it in the global mode (not interface specific) results in no default gateway value displayed. Configuring it on vlan1 specifically displays it in the show running-config. The wording on the intial switch setup instructions & the default gateway is a little confusing.įor a switch the ip default-gateway command should be run in the global config mode, correct? The DG value should be for entire switch (any interface), not just vlan1, right? I took some very good advice & signed up for the Cisco Learning Lab.
