H3C inter-VLAN routing Experiment 1

Source: Internet
Author: User

H3C inter-VLAN routing Experiment 1

On vro1 1, set <H3C> sysSystem View: return to User View with Ctrl + Z. [H3C] user-interface vty 0 63 [H3C-line-vty0-63] authentication-mode password [H3C-line-vty0-63] set authentication password simple wudi [H3C-line-vty0-63] exit [H3C] dis ip int B * down: administratively down (s): spoofing (l): loopbackInterface Physical Protocol IP Address DescriptionGE0/0 up -- GE0/1 down -- GE0/2 down -- GE5/ 0 down -- GE5/1 down -- GE6/0 down -- GE6/1 down -- Ser1/0 down -- Ser2/0 down ---- ser3/0 down -- Ser4/0 down -- [H3C] int g0/0.1 [H3C-GigabitEthernet0/0.1] vlan-type dot1q vid 2 [H3C-GigabitEthernet0/0.1] ip address 192.168.10.1 255.255.255.0 [H3C-GigabitEthernet0/0.1] int g0/0.2 [H3C-GigabitEthernet0/0.2] vlan-type dot1q vid 3 [H3C-GigabitEthernet0/ 0.2] ip add 192.168.20.1 255.255.255.0 [H3C-GigabitEthernet0/0.2] exit [H3C] dis history-command int g0/0 quit int g0/0.1 vlan-type dot1q vid 2 ip address 192.168.10.1 255.255.255.0 int g0 /0.2 vlan-type dot1q vid 3 ip add 192.168.20.1 255.255.0 quit dis curr [H3C] dis ip int B * down: administratively down (s): spoofing (l): loopbackInterface Physical Protocol IP Address DescriptionGE0/0 up -- GE0/ 0.1 up 192.168.10.1 -- GE0/0.2 up 192.168.20.1 -- vswitch 2 Settings: [H3C] int g1/0/10 [H3C-GigabitEthernet1/0/10] port link-type trunk [H3C-GigabitEthernet1/0/10] port trunk permit vlan all [H3C-GigabitEthernet1/0/10] exit [H3C] vlan 2 [H3C-vlan2] port g1/0/12 [H3C-vlan2] vlan 3 [H3C-vlan3] port g1/0/13 [H3C-vlan3] exit [H3C] int g1/0/11 [H3C-GigabitEthernet1/0/11] port link-type trunk [H3C-GigabitEthernet1 /0/11] port trunk Settings on permit vlan all vswitch 3: <H3C> sysSystem View: return to User View with Ctrl + Z. [H3C] int g1/0/11 [H3C-GigabitEthernet1/0/11] port link-type trunk [H3C-GigabitEthernet1/0/11] port trunk permit vlan all [H3C-GigabitEthernet1/0/11] exit [H3C] vlan 2 [H3C-vlan2] port g1/0/12 [H3C-vlan2] vlan 3 [H3C-vlan3] port g1/0/13 verification: after vro1 1 is configured, different VLANs can communicate with each other. Otherwise, only the same VLAN can communicate with each other.

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.