Switch Trunk link configuration, switch trunk Link

Source: Internet
Author: User

Switch Trunk link configuration, switch trunk Link

Experiment process:

1. Configure the PC

PC1: PC2:

PC3: PC4:

2. Configure Switch (SW1 is used as an example)

SW1 (config) # vlan13

SW1 (config-vlan) # namePC1PC3

SW1 (config-vlan) # exit

SW1 (config) # vlan24

SW1 (config-vlan) # namePC2PC4

SW1 (config-vlan) # exit

SW1 (config) # interf0/1

SW1 (config-if) # noshutdown

SW1 (config-if) # switchportmodeaccess

SW1 (config-if) # switchportaccessvlan13

SW1 (config-if) # exit

SW1 (config) # interf0/2

SW1 (config-if) # noshutdown

SW1 (config-if) # switchportmodeaccess

SW1 (config-if) # switchportaccessvlan24

SW1 (config-if) # exit

SW1 (config) # interf0/13

SW1 (config-if) # noshutdown

SW1 (config-if) # switchportmodetrunk

Experiment results:

PC1 and PC3, PC2 and PC4 can communicate with each other.

Different vlan hosts, such as PC1 and pc2.

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.