Specifically, here's the part of the config I am asking about. Does the gateway statement conflict with the routing statement?
ip default-gateway 10.124.50.1
name-server 10.96.30.47 10.10.31.245
ip route-cache express
Ahh Man, what's Tim gotta do to get some love around here?! Tim! Tim! Tim!
IP default gateway is primarily used when the switch is operating in layer 2 mode, with IP routing disabled. It is similar to the gateway command when setting up a computer interface.
If you use the "ip default-gateway" command, and there is only one interface (typically a VLAN interface) assigned an IP address, it really doesn't matter if you have IP routing enabled or not. The egress point is unambiguous whether you use "ip default-gateway" or "ip route 0.0.0.0 0.0.0.0". "IP default-gateway" defines the dsfault whether or not routing is enabled. "ip route 0.0.0.0 0.0.0.0", however, requires routing to be enabled to work.
Where it gets confusing is if you have more than one IP-enabled interface. Here, the "ip default-gateway" command may not reliably work to route subnets not including the gateway address to the default if IP routing is enabled.
General rule is that when IP routing is enabled, use the all-zeros ip route command to specify the default route. If IP routing is not enabled, use the ip default-gateway command.
If you have IP routing enabled, one IP-enabled interface, and you specify both a default-gateway and an all-zeros route to different destinations, I don't know where the off-net packets will go. I'd bet on the all-zeros taking priority. But that's just a guess, so please don't do that unless you are doing it in the name of science.