兩個Cisco 2950 Switch , 第一台與第二台的Port 1 與 Port 2 對連,設定EtherChannel
第一台Switch
up#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
up(config)#interface range fastEthernet 0/1 - 2
up(config-if-range)#no ip address
up(config-if-range)#channel-group 1 mode desirable
Creating a port-channel interface Port-channel 1
查看Etherchannel
up#show etherchannel port-channel
Channel-group listing:
----------------------
Group: 1
----------
Port-channels in the group:
---------------------------
Port-channel: Po1
------------
Age of the Port-channel = 0d:00h:26m:38s
Logical slot/port = 1/0 Number of ports = 2
GC = 0x00010001 HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = PAgP
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/1 Desirable-Sl 0
0 00 Fa0/2 Desirable-Sl 0
Time since last port bundled: 0d:00h:24m:35s Fa0/2
第一台Switch
up#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
up(config)#interface range fastEthernet 0/1 - 2
up(config-if-range)#no ip address
up(config-if-range)#channel-group 1 mode desirable
Creating a port-channel interface Port-channel 1
第二台Switch
down#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
down(config)#interface range fastEthernet 0/1 - 2
down(config-if-range)#no ip address
down(config-if-range)#channel-group 1 mode desirable
Creating a port-channel interface Port-channel 1
down(config-if-range)#
00:34:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
00:34:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
00:34:33: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
00:34:33: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
00:34:34: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
00:34:35: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to upchannel-group 1 mode desirable
查看Etherchannel
up#show etherchannel port-channel
Channel-group listing:
----------------------
Group: 1
----------
Port-channels in the group:
---------------------------
Port-channel: Po1
------------
Age of the Port-channel = 0d:00h:26m:38s
Logical slot/port = 1/0 Number of ports = 2
GC = 0x00010001 HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = PAgP
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/1 Desirable-Sl 0
0 00 Fa0/2 Desirable-Sl 0
Time since last port bundled: 0d:00h:24m:35s Fa0/2
留言
張貼留言