CISCO Switch 設定
設定 Port-channel 時最好
不要接網路線或者
把一個 Port shutdown,以免造成 loop
#
config terminal
(config)#
interface gi1/0/1
(config-if)#
channel-group 1 mode on
(config-if)#
switchport mode trunk
(config-if)#
interface gi1/0/2
(config-if)#
channel-group 1 mode on
(config-if)#
switchport mode trunk
(config-if)#
interface po1
(config-if)#
switchport mode trunk
檢查 Switch witch 設定,確認 interface gi1/0/1、interface gi1/0/2 和 Port-channel1 是否為 up
#
show ip interface brief
#
show etherchannel summary
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) - Gi1/0/1(P) Gi1/0/2(P)
#
show interface po1
Port-channel1 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 2222.3333.4444 (bia 2222.3333.4444)
Description: VM_LAB
MTU 1500 bytes, BW 2000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, link type is auto, media type is unknown
input flow-control is off, output flow-control is unsupported
Members in this channel: Gi1/0/1 Gi1/0/2
VMware ESXi vSwitch 設定
新增 vSwitch 設定,按【
新增上行】可加入多張網路介面到 vSwitch
負載平衡 欄位需選擇【根據 IP 雜湊進行路由】
VMware ESXi VLAN ID 設定
新增 VLAN 連接群組
要新增多個連接埠,重複上圖步驟即可加入多個VLAN到Trunk_vSwitch裡。
設定好的 VLAN 欄位值
如果沒有其他設備的問題,依上面步驟就可設定好 VMWare ESXi VLAN 串接 CISCO Port-channel
我自己是遇到 CISCO Switch 的 VTP mode 被設定為 Server,找了好久才找到問題!!!!!!!!!