Home | Mirror | Search

4. 聚合連接埠

trunk 1
 ethernet 1 to 2

vlan 2
 untagged ethernet 1 to 2
 router-interface ve 2

interface ve 2
 ip address 172.16.0.20 255.255.255.0
		

交換機端簡單配置

interface Port-channel4

interface GigabitEthernet1/0/3
 channel-group 4 mode on
 spanning-tree portfast
!
interface GigabitEthernet1/0/4
 channel-group 4 mode on
 spanning-tree portfast
!
		

華為交換機

undo port-group A10
undo port-group A102
45 47;46 48 聚合成一個連接埠
interface eth-trunk 1
port link-type trunk
port trunk allow-pass vlan all
bpdu enable
ntdp enable
ndp enable
quit

interface gi 0/0/45
undo port link-type
undo port default vlan
bpdu disable
undo ntdp enable
undo ndp enable
undo port trunk allow-pass vlan all
eth-trunk 1

interface gi 0/0/47
undo port link-type
undo port default vlan
bpdu disable
undo ntdp enable
undo ndp enable
undo port trunk allow-pass vlan all
eth-trunk 1
		

思科交換機

gz-c3560-1-s61-11f-11#show run inter port-channel 37 Building configuration...

Current configuration : 132 bytes
!
interface Port-channel37
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 2,45,75
 switchport mode trunk
end

gz-c3560-1-s61-11f-11#show run inter g0/37
Building configuration...

Current configuration : 180 bytes
!
interface GigabitEthernet0/37
 description A10
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 2,45,75
 switchport mode trunk
 channel-group 37 mode on
end

gz-c3560-1-s61-11f-11#



ct-c4506-1-s96-2f-i8-n397#show run inter port-channel 4
Building configuration...

Current configuration : 159 bytes
!
interface Port-channel4
 description AX2100-1
 switchport
 switchport trunk allowed vlan 1
 switchport trunk encapsulation dot1q
 switchport mode trunk
end

ct-c4506-1-s96-2f-i8-n397#show run inter g6/3
Building configuration...

Current configuration : 181 bytes
!
interface GigabitEthernet6/3
 description AX2100-1-e10
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1
 switchport mode trunk
 channel-group 4 mode on
end

ct-c4506-1-s96-2f-i8-n397#show run inter g6/4
Building configuration...

Current configuration : 181 bytes
!
interface GigabitEthernet6/4
 description AX2100-1-e11
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1
 switchport mode trunk
 channel-group 4 mode on
end

ct-c4506-1-s96-2f-i8-n397#show run inter g6/5
Building configuration...

Current configuration : 155 bytes
!
interface GigabitEthernet6/5
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1
 switchport mode trunk
 channel-group 4 mode on
end
		
comments powered by Disqus