Huawei s5700 switch vlan settings

Source: Internet
Author: User

Huawei s5700 switch vlan settings
Currently, there are several Huawei s5700 switches, common switches, and tp-link routers. 1. The tp-link router connects to the Internet. 2. The s5700 switch divides vlan. 3. Common switches are connected to VLANs and PCs. The following figure shows the network topology. The s5700 has all vlan1 ports in vlan1. Vlanif1 configures the ip address of the vro CIDR block to connect to the vro. A layer-3 switch must be configured with a static route pointing to the router. The router needs to configure the corresponding vlan ip address for nat. The router must configure the route to each vlan CIDR block. 1. s5700 Switch web management ip address and user configuration. Use the Console cable to connect your computer to the Console port of the vswitch. Open the terminal simulation software on your computer, create a connection, and set the connection port and communication parameters. The communication parameter configuration of the computer terminal must be consistent with the default configuration of the Console port of the switch. The default configuration of the Console port of the switch is as follows: transmission rate: 9600 data bit: 8 Check Mode: no stop bit: 1 Traffic Control Mode: Do not press Enter until the simulation terminal displays the following display, prompting the user to configure the verification password. Please configure the login password (6-16) Enter Password: 123456789 Confirm Password: 123456789 configure the management IP address of the switch. System-view interface meth 0/0/1 ip address 10.20.4.100 24 quit save configure web login user information. System-view aaa local-user admin password cipher pioneer @ 2015 local-user admin privilege level 15 local-user admin service-type http ftp local-user admin ftp-directory flash: quit save uses a network cable to connect the computer to the ETH port of the switch and configure the IP address on the computer. Select an IP address from the IP address range that is not in use, for example, 10.20.4.50. Open a Web browser window. Enter 10.20.4.50 in the address bar, that is, the IP address of the switch, and press Enter. The logon page is displayed. 2. s5700vlan division and settings. Log on to the vswitch on the console and press enter to enter the password 123456789. Set the port access mode and the vlan 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 q Uit 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 vl An 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 save reboot Add vlan and port 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 por T 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 save start Use dhcpsystem-view dhcp enable quit save to configure the vlanif interface ip system-view interface vlanif 1 ip address 10.20.40.30 24 quit interface vlanif 2 ip address 10.20.2.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 3 ip address 10.20.3.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 4 ip address 10.20.5.1 24 dhcp select interface dhcp Server dns-list 114.114.114.114 quit interface vlanif 5 ip address 10.20.6.1 24 dhcp select interface dhcp server dns-list multicast quit interface vlanif 6 ip address 10.20.7.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 7 ip address 10.20.8.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 8 ip address 10.20.9. 1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 9 ip address 10.20.10.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 10 ip address 10.20.11.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 11 ip address 10.20.12.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit I Nterface vlanif 12 ip address 10.20.13.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 13 ip address 10.20.14.1 24 dhcp select interface dhcp server dns-list multicast quit interface vlanif 14 ip address 10.20.15.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 15 ip address 10.20.16.1 24 dhcp select interface dhc P server dns-list 114.114.114.114 quit interface vlanif 16 ip address 10.20.17.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 17 ip address 10.20.18.1 24 dhcp select interface dhcp server dns-list Parameters quit interface vlanif 18 ip address 10.20.19.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 19 ip address 10.20.20.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit interface vlanif 20 ip address 10.20.21.1 24 dhcp select interface dhcp server dns-list 114.114.114.114 quit save configure static routes to the system-view ip address of the router route-static 0.0.0.0 0.0.0.0 10.20.40.1 quit save3. Use the default ip192.168.1.1 username and password admin to log on to the vro. Select "interface settings"> "wan Port Settings", and select a network connection mode based on your needs. Select interface settings-lan port settings, and set the ip address to 10.20.40.1 mask 255.255.255.0. Select interface settings-lan port settings-dhcp service to enable dhcp. Select "Transport Control"> "forwarding rule"> "Multi-network segment NAT", and set the ip addresses configured for each vlan.
Select Transmission Control-route settings, and add a route to each vlan port. The next hop address is vlan1 ip. After these settings are complete, each vlan can be pinged, each vlan can be pinged to vlan1, each vlan can be pinged to a vro, and each vlan can be pinged to www.baidu.com. Vlan division is complete.

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.