How to configure the default gateway on an S series switches

11

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

Other related questions:
How does the S-series switch configure the default gateway
[Quidway]ip route-static 0.0.0.0 0.0.0.0 192.168.1.1

How to configure a gateway address in the IPv6 address pool on S series switches
When configuring the IPv6 address pool on S series switches (excluding the S1700), you do not need to configure a gateway address.

Enable and disable PoE on an S series switch
Enable or disable the PoE function on S series switches:

1. By default, the PoE function is enabled on an interface
2. Enable or disable PoE power supply.
<HUAWEI>system-view
[HUAWEI]interface gigabitethernet 1/0/0
[HUAWEI-GigabitEthernet1/0/0]undo poe enable  //Disable PoE power supply.
[HUAWEI-GigabitEthernet1/0/0]poe enable       //Enable PoE power supply.

The downlink electrical interfaces of PoE switches support PoE power supply, with up to 30 W power on each interface. The maximum power supply distance is 100 m.
Only ES0D0G48VA00 (S7700)/LE0DG48VEA00 (S9300) cards of modular switches (S7700/S9700/S9300/S12700) support PoE power supply.

If the switch connects to 48 V standard PoE powered devices but cannot negotiate power supply capabilities with the devices, you can run poe force-power on the interfaces to forcibly power on the devices.


Is STP enabled on S series switches by default
For Sx700 series switches (except the S1700) running V100R005 or an earlier version, STP is disabled globally by default, and STP on interfaces is enabled by default. For Sx700 series switches (except the S1700) running V100R006 or a later version, STP is enabled globally and on interfaces by default. For E series switches, STP is enabled globally and on interfaces by default. For S9300 series switches, STP is disabled globally by default, and STP on interfaces is enabled by default. For S5700 switches running V100R005, BPDU is disabled by default, and an interface discards received BPDUs by default. To enable BPDU, run the following commands: [HUAWEI] stp enable [HUAWEI] interface GigabitEthernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] bpdu enable

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top