VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch

VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch

  • Summary:

    Trunk in network parlance usually translated as: "trunk, trunk, long-distance lines," but generally do not have Italian translation, direct English. Routing / switching network, trunk commonly referred to as a "relay (pass-through)." In applications in voice-grade line, generally refers Trunk circuit connection or channel between the "backbone network telephone trunk", i.e., two or exchange switch for switching it between two devices, and a signaling terminal data transmission link device.

  • Practice:
    1. Add the desired well equipment, and two routers set specific settings based VLAN see (a)
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    2. connection function to connect each device, when the connection interface note
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    3. The display interface out, and configure each device mark next to it
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    to open 4. click on the button, turn on all devices
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    5. Double-click sw1 sw1 simulation into the panel, first enter the global mode, disable the routing function, and then create two vlan, check whether the added successfully The results show successfully added
    进入全局模式:conf t
    关闭路由功能:no ip routing
    新建vlan:vlan 10,20
    退出:exit
    查看所有vlan:do show vlan-switch brief

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    6. Enter interface respectively F1 / 0, F1 / 1, the interface mode are set to access, and then were added vlan10, vlan20, and check if successful

    进入F1/0接口:int f1/0
    设置接口模式:switchport mode access
    添加到vlan10:switchport access vlan 10
    退出:exit
    进入F1/1接口:int f1/1
    设置接口模式:switchport mode access
    添加到vlan20:switchport access vlan 20
    查看所有vlan:do show vlan-switch brief

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    7. entering F1 / 2 interface, a trunk interface mode is set, the type is set encapsulation dot1q trunk, and then check the status of the interface, is provided to confirm successful

    退出:exit
    进入F1/2接口:int f1/2
    设置接口模式:switchport mode trunk
    设置封装类型:switchport trunk encapsulation dot1q
    查看接口状态:do show int f1/2 switchport

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    8. The setting for sw2, set SW1 in the same manner, after setting, the setting is successful check

    进入全局模式:conf t
    关闭路由功能:no ip routing
    新建vlan:vlan 10,20
    退出:exit
    进入F1/0接口:int f1/0
    设置接口模式:switchport mode access
    添加到vlan10:switchport access vlan 10
    退出:exit
    进入F1/1接口:int f1/1
    设置接口模式:switchport mode access
    添加到vlan20:switchport access vlan 20
    查看所有vlan:do show vlan-switch brief

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    9. entering F1 / 2 interface, a trunk interface mode is set, the type is set encapsulation dot1q trunk, and then check the status of the interface, is provided to confirm successful

    退出:exit
    进入F1/2接口:int f1/2
    设置接口模式:switchport mode trunk
    设置封装类型:switchport trunk encapsulation dot1q
    查看接口状态:do show int f1/2 switchport

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    10. The PC1 is provided to the IP address
    设置IP地址:ip 192.168.10.10
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    11. The IP address provided to PC2
    设置IP地址:ip 192.168.10.20
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    12. PC3 set to the IP address
    设置IP地址:ip 192.168.10.30
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    13. The IP address provided to PC4
    设置IP地址:ip 192.168.10.40
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    14. Check PC1 and PC2, PC3, PC4 whether interworking showed PC1 and PC3 can communicate because PC1 and PC3 is the same vlan

    检查是否与PC2互通:ping 192.168.10.20
    检查是否与PC3互通:ping 192.168.10.30
    检查是否与PC4互通:ping 192.168.10.40

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    15. Check PC4 and PC1, PC2, PC3 whether interworking showed PC4 can communicate with PC2, PC2 and PC4 are the same as vlan

    检查是否与PC1互通:ping 192.168.10.10
    检查是否与PC2互通:ping 192.168.10.20
    检查是否与PC3互通:ping 192.168.10.30

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    16. A switch sw1 and a switch SW2, and then add a link, the relay link should be general, there will be a backup link to prevent sudden, wherein when a link fails, the other link can still guarantee normal communication
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    17. sw1 enters interfaces F1 / 3, to set the trunk interface mode, set the type of encapsulation dot1q trunk, and then check the status of the interface, is provided to confirm successful, then open interfaces

    退出:exit
    进入F1/3接口:int f1/3
    设置接口模式:switchport mode trunk
    设置封装类型:switchport trunk encapsulation dot1q
    查看接口状态:do show int f1/3 switchport
    开启接口:no shutdown

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    18. sw2 enters interfaces F1 / 3, to set the trunk interface mode, set the type of encapsulation dot1q trunk, and then check the status of the interface, is provided to confirm successful, then open interfaces

    ![](https://s1.51cto.com/images/blog/201908/08/0ca60d9d74e67016de440bda402face2.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)退出:exit
    进入F1/3接口:int f1/3
    设置接口模式:switchport mode trunk
    设置封装类型:switchport trunk encapsulation dot1q
    查看接口状态:do show int f1/3 switchport
    开启接口:no shutdown

    19. F1 / 2 and F1 / 3 into the same group in the interface will sw1 and turned

    退出:exit
    同时进入接口F1/2、F1/3:int range f1/2 -3
    将两个接口放到一个组并接通:channel-group 1 mode on

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    20. F1 / 2 and F1 / 3 into the same group in the interface will sw2, and turns

    退出:exit
    同时进入接口F1/2、F1/3:int range f1/2 -3
    将两个接口放到一个组并接通:channel-group 1 mode on

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    21. Check PC1 and PC3 can communicate with the ping command, can communicate results showed
    检查是否与PC3互通:ping 192.168.10.30
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    22. PC3 for long ping ping command from PC1 can communicate
    长ping:ping 192.168.10.30 -t
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    23. Interface sw1 closed in a F1 / 2

    退出:exit
    进入F1/2接口:int f1/2
    关闭接口:shutdown

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    24. sw2 interfaces in a F1 / 2 off

    退出:exit
    进入F1/2接口:int f1/2
    关闭接口:shutdown

    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    25. PC1 entered, can no longer communicate the ping signal
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch
    26. The re-use of the ping command, check whether the interworking PC1 and PC2, can communicate with the results, since the spare communication link remains normal
    检查互通:ping 192.168.10.30
    VLAN base (B) used in GNS3 1.3.10 Trunk completed VLAN communication across the switch

Guess you like

Origin blog.51cto.com/14449541/2427915