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:
- interface GigabitEthernet1/1
-
- no ip address
-
- switchport
-
- switchport trunk encapsulation dot1q
-
- switchport trunk native vlan 1
When connecting two pairs of optical fiber cables, you must configure port Channels on two 65 pairs respectively:
- interface port-channe1
-
- no ip address
-
- switchport
-
- switchport trunk encapsulation dot1q
-
- switchport trunk native vlan 1
-
- !
-
- interface GigabitEthernet1/1
-
- no ip address
-
- duplex full
-
- speed 1000
-
- switchport mode trunk
-
- switchport trunk encapsulation dot1q
-
- switchport trunk native vlan 1
-
- channel-group 1 mode on
-
- !
-
- interface GigabitEthernet1/2
-
- no ip address
-
- duplex full
-
- speed 1000
-
- switchport mode trunk
-
- switchport trunk encapsulation dot1q
-
- switchport trunk native vlan 1
-
- channel-group 1 mode on
VTP Cropping
1) configure the VTP mode on the IOS-based switch:
- switch# vlan database
-
- switch(vlan)# vtp domain domain-name
-
- switch(vlan)# vtp {sever|cilent|transparent}
-
- switch(vlan)# vtp password password
Configure the VTP mode on a CLI-based switch:
- switch(enable) set vtp [domain domain-name] [mode{ sever|cilent|transparent }][password password]
2) configure the VTP version on the IOS-based switch:
- switch# vlan database
-
- switch(vlan)# vtp v2-mode
Configure the VTP version on the CLI-based switch:
- switch(enable) set vtp v2 enable
3) Enable VTP tailoring on the IOS-based switch:
- switch# vlan database
-
- switch(vlan)# vtp pruning
Start VTP tailoring on a CLI-based switch:
- switch(enable) set vtp pruning enable
The configurations of Trunk and VTP have been described.
- Typical VLAN-VPN Configuration
- Typical configurations of multicast VLAN
- Port-based VLAN Configuration Guide
- Basic configuration: cisco switch configuration vlan1)
- Basic configuration: cisco switch configuration vlan2)