How to configure the default gateway on an S series switches

In the routing table, the default route is a special route with destination network 0.0.0.0 and subnet mask 0.0.0.0. If the destination IP address of a packet does not match any specific entry in the routing table, the default route is selected for packet forwarding. Generally, for low-end S series switches, a default route to the management gateway is configured. The configuration details are as follows:
[Quidway]ip route-static 0.0.0.0 0.0.0.0 192.168.1.1

Scroll to top