How do I configure access interface of S series switch

14

Example for configuring a VLAN for an access interface For S series switches (except S1700 switches):
An access interface can connect to a user host.
[HUAWEI]vlan 2 //Create a VLAN.
[HUAWEI]interface gigabitethernet0/0/1
[HUAWEI-GigabitEthernet0/0/1]port link-type access //Set the link type of the interface to access.
[HUAWEI-GigabitEthernet0/0/1]port default vlan 2 //Add the interface to VLAN 2.
[HUAWEI-GigabitEthernet0/0/1]quit

Other related questions:
How do I configure hybrid interface of S series switch
Example for configuring a VLAN for a hybrid interface For S series switches (except S1700 switches): A hybrid interface can connect to either a user host or a switch. [HUAWEI]vlan 2 //Create a VLAN. [HUAWEI]interface gigabitethernet0/0/2 [HUAWEI-GigabitEthernet0/0/2]port link-type hybrid //Set the link type of the interface to hybrid. [HUAWEI-GigabitEthernet0/0/2]port hybrid untagged vlan 2 //Configure VLAN 2 to send data in untagged mode. [HUAWEI-GigabitEthernet0/0/2]port hybrid pvid vlan 2 //(Optional) Specify VLAN 2 as the default VLAN (default value: VLAN 1). [HUAWEI-GigabitEthernet0/0/2]port hybrid tagged vlan 3 //Configure VLAN 3 to send data in tagged mode.

How do I configure trunk interface of S series switch
Example for configuring a VLAN for a trunk interface For S series switches (except S1700 switches): A trunk interface can connect other switches and can join multiple VLANs. The interface is added to the PVID VLAN in untagged mode and to other VLANs in tagged mode. [HUAWEI]vlan batch 2 3 //Create a VLAN. [HUAWEI]interface gigabitethernet 0/0/3 [HUAWEI-GigabitEthernet0/0/3]port link-type trunk //Sets the link type of the interface to trunk. [HUAWEI-GigabitEthernet0/0/3]port trunk allow-pass vlan 2 to 10 //Add the interface to VLANs 2 to 10. [HUAWEI-GigabitEthernet0/0/3]port trunk pvid vlan 2 //(Optional) Specify VLAN 2 as the default VLAN (default value: VLAN 1).

SNMP configuration on S series switch
S series switches (except S1700 switches) support three SNMP versions: SNMPv1, SNMPv2c, and SNMPv3. SNMPv1 and SNMPv2c use community names for authentication, resulting in low security, whereas SNMPv3 uses authentication and encryption technologies to enhance security. The following uses SNMPv2c configuration as an example: [HUAWEI] snmp-agent //Enable SNMP. [HUAWEI] snmp-agent sys-info version v2c //Set the SNMP version to SNMPv2c. [HUAWEI] snmp-agent community write adminnms01 //Set the SNMP write community name. For common SNMP configuration information, see "Common SNMP Operations" in S1720&S2700&S3700&S5700&S6700&S7700&S9700 Series Switches Common Operation Guide. For typical SNMP configuration examples, see "Typical SNMP Configuration" in "Typical Network Management and Monitoring Configuration" of S1720&S2700&S3700&S5700&S6700&S7700&S9700 Typical Configuration Examples. Common configuration and typical configuration examples for S9300 and S12700 series switches are the same as those for Sx700 series switches. The Sx700 series switches are used as an example here.

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