Basic configuration: cisco switch configuration vlan (3)

Source: Internet
Author: User

How to perform port aggregation-Trunk connection

If you want to configure a Trunk connection between two 6509 sets, First connect the second 6509 with a gigabit optical fiber, and then configure the trunk of the two connected ports separately, you can use only one pair of optical fiber, or use two pairs of Optical Fiber port channels. The configuration is as follows:

When one pair of optical fiber cables are connected, the following configurations are performed on two 65 optical fiber cables:

 
 
  1. interface GigabitEthernet1/1  
  2.  
  3. no ip address  
  4.  
  5. switchport  
  6.  
  7. switchport trunk encapsulation dot1q  
  8.  
  9. switchport trunk native vlan 1 

When connecting two pairs of optical fiber cables, you must configure port Channels on two 65 pairs respectively:

 
 
  1. interface port-channe1  
  2.  
  3. no ip address  
  4.  
  5. switchport  
  6.  
  7. switchport trunk encapsulation dot1q  
  8.  
  9. switchport trunk native vlan 1  
  10.  
  11. !  
  12.  
  13. interface GigabitEthernet1/1  
  14.  
  15. no ip address  
  16.  
  17. duplex full  
  18.  
  19. speed 1000  
  20.  
  21. switchport mode trunk  
  22.  
  23. switchport trunk encapsulation dot1q  
  24.  
  25. switchport trunk native vlan 1  
  26.  
  27. channel-group 1 mode on  
  28.  
  29. !  
  30.  
  31. interface GigabitEthernet1/2  
  32.  
  33. no ip address  
  34.  
  35. duplex full  
  36.  
  37. speed 1000  
  38.  
  39. switchport mode trunk  
  40.  
  41. switchport trunk encapsulation dot1q  
  42.  
  43. switchport trunk native vlan 1  
  44.  
  45. channel-group 1 mode on 

VTP Cropping

1) configure the VTP mode on the IOS-based switch:

 
 
  1. switch# vlan database  
  2.  
  3. switch(vlan)# vtp domain domain-name  
  4.  
  5. switch(vlan)# vtp {sever|cilent|transparent}  
  6.  
  7. switch(vlan)# vtp password password 

Configure the VTP mode on a CLI-based switch:

 
 
  1. switch(enable) set vtp [domain domain-name] [mode{ sever|cilent|transparent }][password password] 

2) configure the VTP version on the IOS-based switch:

 
 
  1. switch# vlan database  
  2.  
  3. switch(vlan)# vtp v2-mode 

Configure the VTP version on the CLI-based switch:

 
 
  1. switch(enable) set vtp v2 enable 

3) Enable VTP tailoring on the IOS-based switch:

 
 
  1. switch# vlan database  
  2.  
  3. switch(vlan)# vtp pruning 

Start VTP tailoring on a CLI-based switch:

 
 
  1. switch(enable) set vtp pruning enable 

The configurations of Trunk and VTP have been described.

  1. Typical VLAN-VPN Configuration
  2. Typical configurations of multicast VLAN
  3. Port-based VLAN Configuration Guide
  4. Basic configuration: cisco switch configuration vlan1)
  5. Basic configuration: cisco switch configuration vlan2)

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.