Huawei switch knowledge [IP vlan Division]

Source: Internet
Author: User

Huawei switch knowledge [IP vlan Division] task: Configure vlan division based on IP address Description: 1. IP vlan division can only be performed on the hybrid port. IP vlan division only applies to untagged packets. the vlan division function is not enabled for the interface by default. 4. in the simulation experiment, the two clients first connect to a vswitch, which then connects to the 0/0/1 interface on the S5700. Operation: 1. go to system view system-view 2. create two vlan batch 100 200 3. go to vlan 100 view vlan 100 4. set IP subnet vlan address ip-subnet-vlan 1 ip 192.168.2.2 24 5. go to vlan 200 view vlan 200 6. set another IP subnet vlan address ip-subnet-vlan 1 ip 192.168.3.2 24 7. go to interface giga 0/0/1 8. set the interface to hybrid type port link-type hybrid 9. the Set interface allows two vlan packets to port hybird untagged vlan 100 200 10. enable the interface ip subnet vlan division function ip-subnet-vlan enable 11. exit the quit interface 12. view IP subnet vlan information disp ip-subnet-vlan all command on eNSP simulator <Huawei> system-viewEnter system view, return user view with Ctrl + Z. [Huawei] undo info-center enableInfo: Information center is disabled. [Huawei] vlan batch 100 200 Info: This operation may take a few seconds. please wait for a moment... done. [Huawei] vlan 100 [Huawei-vlan100] ip-subnet-vlan 1 ip 192.168.2.2 24 [Huawei-vlan100] quit [Huawei] vlan 200 [Huawei-vlan200] ip-subnet-vlan 1 ip 192.168.3.2 24 [Huawei-vlan200] quit [Huawei] interface giga 0/0/1 [Huawei-GigabitEthernet0/0/1] port link-type hybrid [Huawei-GigabitEthernet0/0/1] port hybrid untagged vlan 100 200 [Huawei-GigabitEthernet0/0/1] ip-subnet- vlan enable [Huawei-GigabitEthernet0/0/1] quit [Huawei] disp ip-subnet-vlan all Vlan Index IpAddress SubnetMask Priority limit 100 1 192.168.2.2 255.255.255.0 0 200 1 192.168.3.2 255.255.0 0 255.ip-subnet -vlan count: 2 total count: 2

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.