Huawei S3700 Switches - shawfdong/hyades GitHub Wiki

Huawei Quidway S3700 switches are the backbone of the BMC subnet of the Huawei Universal Distributed Storage. There are 3 S3700 switches in the Huawei Universal Distributed Storage, one on each cabinet. The model appears to be Quidway S3700-28TP-EI-MC-AC Routing Switch, according to:

display version

Each S3700 switch has 24 Fast Ethernet (10/100Base-T) ports, 2 Gigabit Ethernet SFP ports and 2 Gigabit Ethernet Combo ports, according to:

display interface brief
display interface Ethernet0/0/1
display interface GigaEthernet0/0/1

Note A Gigabit Ethernet Combo port is a 1000Base-T port and a Mini-GBIC port (also called SFP) that share the same switch fabric and port number. A Combo port is a way to provide different types of connectivity without taking up unused switch fabric. These Combo ports can also be labeled as tied, meaning two different physical ports that can only be used one at a time. NOTE: If a Mini-GBIC port is being used, then the corresponding 1000BASE-T copper port is automatically disabled; and vice versa.

Table of Contents

Cabinet01_LSW3700

Cabinet01_LSW3700 is on cabinet 1. Its IP address is 172.16.0.2. Use SSH to access the switch:

ssh [email protected]

Switch Configuration

#
 sysname Cabinet01_LSW3700
#
 vlan batch 3076 to 3078 3080
#
 cluster enable
 ntdp enable
 ntdp hop 16
 ndp enable
#
 dhcp enable
#
 undo http server enable
#
 drop illegal-mac alarm
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password simple xxxxxxxx
 local-user admin service-type http
 local-user client001 password cipher xxxxxxxx
 local-user client001 service-type ssh
#
interface Vlanif1
 ip address dhcp-alloc
#
interface Vlanif3080
 ip address 172.16.0.2 255.255.255.0
#
interface Eth-Trunk10
 port link-type trunk
 port trunk allow-pass vlan 3076 to 3078 3080
 load-balance src-dst-ip
#
interface Ethernet0/0/1
 port link-type access
 port default vlan 3077
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/2
 port link-type access
 port default vlan 3077
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/3
 port link-type access
 port default vlan 3077
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/4
 port link-type access
 port default vlan 3077
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/9
 port link-type access
 port default vlan 3078
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/10
 port link-type access
 port default vlan 3078
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/11
 port link-type access
 port default vlan 3078
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/12
 port link-type access
 port default vlan 3078
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/17
 port link-type access
 port default vlan 3080
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/18
 port link-type access
 port default vlan 3080
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/19
 port link-type access
 port default vlan 3080
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/20
 port link-type access
 port default vlan 3080
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/21
 port link-type access
 port default vlan 3076
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/22
 port link-type access
 port default vlan 3076
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/23
 port link-type access
 port default vlan 3076
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/24
 port link-type access
 port default vlan 3076
 ntdp enable
 ndp enable
 bpdu enable
#
interface GigabitEthernet0/0/1
 eth-trunk 10
 undo ntdp enable
 undo ndp enable
#
interface NULL0
#
 ip route-static 0.0.0.0 0.0.0.0 172.16.0.254
#
 snmp-agent
 snmp-agent local-engineid 000007DB7F00000100003DBA
 snmp-agent sys-info version v3
 snmp-agent group v3 uds6200 authentication
 snmp-agent usm-user v3 uds6200 uds6200  authentication-mode md5 xxxxxxxx
#
 sftp server enable
 stelnet server enable
 ssh user client001
 ssh user client001 authentication-type password
 ssh user client001 service-type all
 ssh client first-time enable
#
user-interface con 0
 authentication-mode password
 set authentication password cipher xxxxxxxx
 idle-timeout 0 0
user-interface vty 0 4
 authentication-mode aaa
 user privilege level 3
 protocol inbound ssh
#
return

Note that Eth-Trunk 10, which is made up of a single link at GigabitEthernet0/0/1, seem unnecessary.

Cabinet02_LSW3700

Cabinet02_LSW3700 is on cabinet 2. Its IP address is 172.16.1.2. Use SSH to access the switch:

ssh [email protected]

Switch Configuration

#
!Software Version V100R005C01SPC100
 sysname Cabinet02_LSW3700
#
 vlan batch 3077 3081
#
 cluster enable
 ntdp enable
 ntdp hop 16
 ndp enable
#
 dhcp enable
#
 undo http server enable
#
 drop illegal-mac alarm
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password simple xxxxxxxx
 local-user admin service-type http
 local-user client001 password cipher xxxxxxxx
 local-user client001 service-type ssh
#
interface Vlanif1
 ip address dhcp-alloc
#
interface Vlanif3081
 ip address 172.16.1.2 255.255.255.0
#
interface Eth-Trunk11
 port link-type trunk
 port trunk allow-pass vlan 3077 3081
 load-balance src-dst-ip
#
interface Ethernet0/0/1
 port link-type access
 port default vlan 3077
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/2
 port link-type access
 port default vlan 3077
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/3
 port link-type access
 port default vlan 3077
 ntdp enable
 ndp enable
 bpdu enable
#
interface GigabitEthernet0/0/1
 eth-trunk 11
 undo ntdp enable
 undo ndp enable
#
interface NULL0
#
 ip route-static 0.0.0.0 0.0.0.0 172.16.1.254
#
 snmp-agent
 snmp-agent local-engineid 000007DB7F00000100004426
 snmp-agent sys-info version v3
 snmp-agent group v3 uds6200 authentication
 snmp-agent usm-user v3 uds6200 uds6200  authentication-mode md5 xxxxxxxx
#
 sftp server enable
 stelnet server enable
 ssh user client001
 ssh user client001 authentication-type password
 ssh user client001 service-type all
 ssh client first-time enable
#
user-interface con 0
 authentication-mode password
 set authentication password cipher xxxxxxxx
 idle-timeout 0 0
user-interface vty 0 4
 authentication-mode aaa
 user privilege level 3
 protocol inbound ssh
#
return

Note that Eth-Trunk 11, which is made up of a single link at GigabitEthernet0/0/1, seem unnecessary.

Cabinet03_LSW3700

Cabinet03_LSW3700 is on cabinet 3. Its IP address is 172.16.2.2. Use SSH to access the switch:

ssh [email protected]

Switch Configuration

#
 sysname Cabinet03_LSW3700
#
 vlan batch 3077 3082
#
 cluster enable
 ntdp enable
 ntdp hop 16
 ndp enable
#
 dhcp enable
#
 undo http server enable
#
 drop illegal-mac alarm
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password simple xxxxxxxx
 local-user admin service-type http
 local-user client001 password cipher xxxxxxxx
 local-user client001 service-type ssh
#
interface Vlanif1
 ip address dhcp-alloc
#
interface Vlanif3082
 ip address 172.16.2.2 255.255.255.0
#
interface Eth-Trunk12
 port link-type trunk
 port trunk allow-pass vlan 3077 3082
 load-balance src-dst-ip
#
interface Ethernet0/0/1
 port link-type access
 port default vlan 3077
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/2
 port link-type access
 port default vlan 3077
 ntdp enable
 ndp enable
 bpdu enable
#
interface Ethernet0/0/3
 port link-type access
 port default vlan 3077
 ntdp enable
 ndp enable
 bpdu enable
#
interface GigabitEthernet0/0/1
 eth-trunk 12
 undo ntdp enable
 undo ndp enable
#
interface NULL0
#
 ip route-static 0.0.0.0 0.0.0.0 172.16.2.254
#
 snmp-agent
 snmp-agent local-engineid 000007DB7F00000100002835
 snmp-agent sys-info version v3
 snmp-agent group v3 uds6200 authentication
 snmp-agent usm-user v3 uds6200 uds6200  authentication-mode md5 xxxxxxxx
#
 sftp server enable
 stelnet server enable
 ssh user client001
 ssh user client001 authentication-type password
 ssh user client001 service-type all
 ssh client first-time enable
#
user-interface con 0
 authentication-mode password
 set authentication password cipher xxxxxxxx
 idle-timeout 0 0
user-interface vty 0 4
 authentication-mode aaa
 user privilege level 3
 protocol inbound ssh
#
return

Note that Eth-Trunk 12, which is made up of a single link at GigabitEthernet0/0/1, seem unnecessary.

See Also

⚠️ **GitHub.com Fallback** ⚠️