How to determine whether an S series switch is a Layer 2 or Layer 3 switch

2

All models of the S600, S1720, and S2700 are Layer 2 switches.
All models of the S3700 and S6700 are Layer 3 switches.
The S5700-LI, S5700S-LI, S5710-LI, S5720-LI, and S5720S-LI series are Layer 2 switches. The S5700-EI, S5700-SI, and S5700-HI series are Layer 3 switches.
All models of the S9300, S7700, S9700, and S12700 are Layer 3 switches.

Other related questions:
Do Ethernet interfaces on CE series switches support switching between Layer 2 and Layer 3 modes
Ethernet interfaces on all CE series switches, except the CE6810LI, support switching between Layer 2 and Layer 3 modes. By default, Ethernet interfaces on CE series switches work in Layer 2 mode. 1. Switching Layer 2 interface to Layer 3 mode: Run the undo portswitch command in the interface view to switch a Layer 2 interface to Layer 3 mode. Before switching, delete all non-default configurations from the interface. 2. Switching Layer 3 interface to Layer 2 mode: Run the portswitch command in the interface view to switch a Layer 3 interface to Layer 2 mode. Before switching, delete all Layer 3 service configurations from the interface.

Configuring Layer 2/Layer 3 switchover on the firewall
Perform as follows to configure Layer 2/Layer 3 interface switching on the USG2000&5000&6000: system-view [USG] interface GigabitEthernet 1/0/1 [USG-GigabitEthernet1/0/1] undo portswitch //Switch the interface from Layer 2 mode to Layer 3 mode. [USG-GigabitEthernet1/0/1] portswitch //Switch the interface from Layer 3 to Layer 2. Note: 1. If the device interface attribute specifies that the interface is a Layer 2 interface, the interface cannot be switched to Layer 3 mode. This command applies only to interfaces that support Layer 2/Layer 3 switching. 2. When you use this command to perform Layer 2/Layer 3 mode switching, the interface can contain only the attribute information (such as shutdown and description configurations) so that the mode switching can take effect. If the interface already has service configurations (such as port link-type trunk), clear all these configurations of the interface and then run this command.

How to configure a Layer 2 interface as a Layer 3 interface on a switch
By default, Ethernet interfaces on switches work as Layer 2 interfaces.Run the undo portswitch command to configure the Ethernet interfaces as Layer 3 interfaces. For switches in V200R003C00 and earlier versions: Only Layer 2 Ethernet interfaces on the S5700HI, S5710EI, and S5710HI can be configured as Layer 3 interfaces. After an Ethernet interface is configured as a Layer 3 interface, the interface cannot be configured with an IP address. For switches in V200R005C00 and later versions: Only Layer 2 Ethernet interfaces on the S5700HI, S5710EI, S5710HI, S5700EI, S5720EI, S5720HI, S6700EI, and S6720EI can be configured as Layer 3 interfaces. After an Ethernet interface is configured as a Layer 3 interface, the interface can be configured with an IP address.

Can S series switches deliver ACL rules at Layer 2 and Layer 3 simultaneously
You can match the fields of ACL rules at Layer 2 and Layer 3 in the classifier at the same time. After the configuration, an S series switch can deliver ACL rules at Layer 2 and Layer 3 simultaneously.

IP address configuration on S series switch
An S series switch, except S1700, supports primary and sub IP addresses on interfaces. Each Layer 3 interface can have multiple IP addresses, including one primary IP addresses and multiple sub IP addresses. (Note: Sub IP addresses become invalid when the primary address is deleted.)Each interface on the modular switch supports 255 sub IP addresses, and each interface on the fixed switch supports 8 sub IP addresses. For example, configure a primary IP address 10.1.0.1 and a sub IP address 10.2.0.1 for VLANIF10, with subnet mask 255.255.255.0. [HUAWEI] interface vlanif 10 [HUAWEI-Vlanif10] ip address 10.1.0.1 255.255.255.0 [HUAWEI-Vlanif10] ip address 10.2.0.1 255.255.255.0 sub (Note: After IP addresses are configured for a VLANIF interface, the clients connected to the switch use one of the IP addresses as gateway address. After sub IP addresses are configured, users can change them as required, but the new IP addresses must be on the same subnet as the primary or one sub IP address; otherwise, the subnets cannot communicate with each other.)For most models in V200R005C00 and later versions, run the undo portswitch command to switch a Layer 2 interface to a Layer 3 interface, and then configure an IP address for the interface. For example, configure a primary IP address 10.1.0.1 and a sub IP address 10.2.0.1 for GE1/0/1, with subnet mask 255.255.255.0. [HUAWEI] interface gigabitethernet 1/0/1 [HUAWEI-GigabitEthernet1/0/1] undo portswitch [HUAWEI-GigabitEthernet1/0/1] ip address 10.1.0.1 255.255.255.0 [HUAWEI-GigabitEthernet1/0/1] ip address 10.2.0.1 255.255.255.0 sub

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