Huawei s5700 Switch VLAN settings

Source: Internet
Author: User

There is an existing Huawei s5700 switch and a number of ordinary switches, as well as a tp-link router.

The 1.tp-link router connects to the extranet.

The 2.s5700 switch divides the VLAN.

3. Normal switch is connected to VLAN and PC side.

The network topology diagram is as follows:

650) this.width=650; "title=" Initialsample "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; margin-left:0px; border-top-width:0px; margin-right:0px "border=" 0 "alt=" initialsample "src=" http://s3.51cto.com/wyfs02/M00/6F/D5/wKiom1WqCR_ Sxfpiaaeyfzskcck642.jpg "width=" "height=" 460 "/>

Configuration Description:

s5700 default Vlan1 All ports are in Vlan1.

VLANIF1 Configure router segment IP to connect to the router.

Layer three switch to configure a static route that points to the router.

The router configures NAT to correspond to a VLAN IP.

Routers are configured to route to each VLAN segment.

1.s5700 Switch Web Management IP and User configuration.

Use the console cable to connect the computer to the console port of the switch.

Open the terminal emulation software on the computer, create a new connection, set the port for the connection, and communicate the parameters. The communication parameter configuration of the computer terminal is consistent with the default configuration of the switch console port, and the default configuration of the switch console port is as follows:
Transfer rate: 9600
Data bits: 8
Check mode: None
Stop bit: 1
Flow control mode: None

Press ENTER until the emulation terminal appears as shown below prompting the user to configure the authentication password.

Please configure the login password (6-16)
Enter password:123456789
Confirm password:123456789

Configure the management IP for the switch.

System-view
Interface Meth 0/0/1
IP Address 10.255.4.100 24
Quit
Quit
Save

Configure Web login user information.

System-view
Aaa
Local-user admin password cipher [email protected]
Local-user Admin Privilege Level 15
Local-user Admin Service-type http FTP
Local-user admin ftp-directory Flash:
Quit
Quit
Save

Use a network cable to connect the computer to the ETH port of the switch and configure the IP on the computer. Select an IP address, such as 10.255.4.50, within the range of IP addresses that are not yet in use.

Open a Web browser window. In the Address bar, enter 10.255.4.50, which is the switch IP address, and then press ENTER. The login screen will be displayed.

2.s5700vlan partitioning and setting.

Console login switch, press ENTER key to enter the password: 123456789.

Set the port access mode and the VLAN to which it belongs

System-view
Interface Gigabitethernet 0/0/1
Port Link-type Access
Quit
Interface Gigabitethernet 0/0/2
Port Link-type Access
Port default VLAN 2
Quit
Interface Gigabitethernet 0/0/3
Port Link-type Access
Port default VLAN 3
Quit
Interface Gigabitethernet 0/0/4
Port Link-type Access
Port default VLAN 4
Quit
Interface Gigabitethernet 0/0/5
Port Link-type Access
Port default VLAN 5
Quit
Interface Gigabitethernet 0/0/6
Port Link-type Access
Port Default VLAN 6
Quit
Interface Gigabitethernet 0/0/7
Port Link-type Access
Port default VLAN 7
Quit
Interface Gigabitethernet 0/0/8
Port Link-type Access
Port Default VLAN 8
Quit
Interface Gigabitethernet 0/0/9
Port Link-type Access
Port Default VLAN 9
Quit
Interface Gigabitethernet 0/0/10
Port Link-type Access
Port Default VLAN 10
Quit
Interface Gigabitethernet 0/0/11
Port Link-type Access
Port Default VLAN 11
Quit
Interface Gigabitethernet 0/0/12
Port Link-type Access
Port Default VLAN 12
Quit
Interface Gigabitethernet 0/0/13
Port Link-type Access
Port default VLAN 13
Quit
Interface Gigabitethernet 0/0/14
Port Link-type Access
Port default VLAN 14
Quit
Interface Gigabitethernet 0/0/15
Port Link-type Access
Port default VLAN 15
Quit
Interface Gigabitethernet 0/0/16
Port Link-type Access
Port default VLAN 16
Quit
Interface Gigabitethernet 0/0/17
Port Link-type Access
Port default VLAN 17
Quit
Interface Gigabitethernet 0/0/18
Port Link-type Access
Port Default VLAN 18
Quit
Interface Gigabitethernet 0/0/19
Port Link-type Access
Port default VLAN 19
Quit
Interface Gigabitethernet 0/0/20
Port Link-type Access
Port default VLAN 20
Quit
Interface Gigabitethernet 0/0/21
Port Link-type Access
Port default VLAN 21
Quit
Interface Gigabitethernet 0/0/22
Port Link-type Access
Port default VLAN 22
Quit
Interface Gigabitethernet 0/0/23
Port Link-type Access
Port Default VLAN 23
Quit
Interface Gigabitethernet 0/0/24
Port Link-type Access
Port Default VLAN 24
Quit
Quit
Save
Reboot

Adding VLANs and Ports
System-view
VLAN 2
Port Gigabitethernet 0/0/2
VLAN 3
Port Gigabitethernet 0/0/3
VLAN 4
Port Gigabitethernet 0/0/4
VLAN 5
Port Gigabitethernet 0/0/5
VLAN 6
Port Gigabitethernet 0/0/6
VLAN 7
Port Gigabitethernet 0/0/7
VLAN 8
Port Gigabitethernet 0/0/8
VLAN 9
Port Gigabitethernet 0/0/9
VLAN 10
Port Gigabitethernet 0/0/10
VLAN 11
Port Gigabitethernet 0/0/11
VLAN 12
Port Gigabitethernet 0/0/12
VLAN 13
Port Gigabitethernet 0/0/13
VLAN 14
Port Gigabitethernet 0/0/14
VLAN 15
Port Gigabitethernet 0/0/15
VLAN 16
Port Gigabitethernet 0/0/16
VLAN 17
Port Gigabitethernet 0/0/17
VLAN 18
Port Gigabitethernet 0/0/18
VLAN 19
Port Gigabitethernet 0/0/19
VLAN 20
Port Gigabitethernet 0/0/20
VLAN 21
Port Gigabitethernet 0/0/21
VLAN 22
Port Gigabitethernet 0/0/22
VLAN 23
Port Gigabitethernet 0/0/23
VLAN 24
Port Gigabitethernet 0/0/24
Quit
Quit
Save

Enable DHCP

System-view
DHCP Enable
Quit
Save

Configuring the Vlanif Interface IP
System-view
Interface Vlanif 1
IP Address 10.255.40.30 24
Quit
Interface Vlanif 2
IP Address 10.255.2.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 3
IP Address 10.255.3.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 4
IP Address 10.255.5.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 5
IP Address 10.255.6.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 6
IP Address 10.255.7.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 7
IP Address 10.255.8.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 8
IP Address 10.255.9.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 9
IP Address 10.255.10.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 10
IP Address 10.255.11.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 11
IP Address 10.255.12.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 12
IP Address 10.255.13.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 13
IP Address 10.255.14.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 14
IP Address 10.255.15.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 15
IP Address 10.255.16.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 16
IP Address 10.255.17.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 17
IP Address 10.255.18.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 18
IP Address 10.255.19.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 19
IP Address 10.255.20.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Interface Vlanif 20
IP Address 10.255.21.1 24
DHCP Select interface
DHCP server dns-list 114.114.114.114
Quit
Quit
Save

Configure static routes to routers
System-view
IP route-static 0.0.0.0 0.0.0.0 10.255.40.1
Quit
Save

3. Router settings.

Use the default ip192.168.1.1 username Admin Password Admin login router.

650) this.width=650; "title=" 2015-07-15_15-32-17 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" 2015-07-15_15-32-17 "src=" http://s3.51cto.com/wyfs02/M01/6F/D2/ Wkiol1wqcv6zouebaabsihis Q_Q 894.jpg "width=" "height=" 328 "/>

Select the interface settings--wan port settings, according to your own situation to choose the networking method.

650) this.width=650; "title=" 2015-07-15_15-35-09 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" 2015-07-15_15-35-09 "src=" http://s3.51cto.com/wyfs02/M00/6F/D2/ Wkiol1wqcv-tbvqfaafnxgrfgv8917.jpg "width=" "height=" 405 "/>

Select interface settings--lan port settings, set IP to 10.255.40.1 mask 255.255.255.0.

650) this.width=650; "title=" 2015-07-15_15-37-54 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" 2015-07-15_15-37-54 "src=" http://s3.51cto.com/wyfs02/M02/6F/D2/ Wkiol1wqcwcq4ebraafp-fpvikg759.jpg "width=" "height=" 418 "/>

Select interface settings--lan port settings--dhcp service, enable DHCP.

650) this.width=650; "title=" 2015-07-15_15-38-21 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" 2015-07-15_15-38-21 "src=" http://s3.51cto.com/wyfs02/M00/6F/D2/ Wkiol1wqcwcwhrw4aafpqfa7rea682.jpg "width=" "height=" 415 "/>

Select Transport Control--forwarding rule--Multiple network segment NAT, network segment address set IP for each VLAN configuration.

650) this.width=650; "title=" 2015-07-15_15-41-04 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" 2015-07-15_15-41-04 "src=" http://s3.51cto.com/wyfs02/M00/6F/D5/ Wkiom1wqcsogq_glaaihgdtajoo154.jpg "width=" "height=" 430 "/>

Select Transport Control-routing settings, add routes to each VLAN port, and the next hop address is Vlan1 IP.

650) this.width=650; "title=" 2015-07-15_15-42-10 "style=" border-left-0px; border-right-width:0px; border-bottom-width:0px; border-top-width:0px "border=" 0 "alt=" 2015-07-15_15-42-10 "src=" http://s3.51cto.com/wyfs02/M01/6F/D5/ Wkiom1wqcsthekfyaahreivzfkw093.jpg "width=" "height=" 385 "/>

After these settings are complete, each VLAN can be flat, each VLAN can ping through the vlan1, each VLAN can pings the router, each VLAN can ping through www.baidu.com. VLAN partitioning is complete.

Huawei s5700 Switch VLAN settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.