Difference between revisions of "3-tier design/Etherchannel"
From Teknologisk videncenter
m (Created page with "{{Source cli}}") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <source lang=cli> | ||
+ | HQD1D1(config)#<input>interface range gi 0/1 - 2</input> | ||
+ | HQD1D1(config-if-range)#<input>channel-group 1 mode active</input> | ||
+ | HQD1D1(config-if-range)# | ||
+ | <notice>Creating a port-channel interface Port-channel 1</notice> | ||
+ | |||
+ | %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down | ||
+ | |||
+ | %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up | ||
+ | |||
+ | %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to down | ||
+ | |||
+ | %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up | ||
+ | |||
+ | HQD1D1(config-if-range)#<input>interface Port-channel 1</input> | ||
+ | HQD1D1(config-if)#<input>switchport trunk encapsulation dot1q</input> | ||
+ | HQD1D1(config-if)#<input>switchport mode trunk</input> | ||
+ | HQD1D1(config-if)#<input>end</input> | ||
+ | HQD1D1#<input>show etherchannel summary</input> | ||
+ | Flags: D - down P - in port-channel | ||
+ | I - stand-alone s - suspended | ||
+ | H - Hot-standby (LACP only) | ||
+ | R - Layer3 S - Layer2 | ||
+ | U - in use f - failed to allocate aggregator | ||
+ | u - unsuitable for bundling | ||
+ | w - waiting to be aggregated | ||
+ | d - default port | ||
+ | |||
+ | |||
+ | Number of channel-groups in use: 1 | ||
+ | Number of aggregators: 1 | ||
+ | |||
+ | Group Port-channel Protocol Ports | ||
+ | ------+-------------+-----------+---------------------------------------------- | ||
+ | |||
+ | <notice>1 Po1(SD) LACP Gig0/1(P) Gig0/2(P)</notice> | ||
+ | HQD1D1# | ||
+ | </source> | ||
+ | <source lang=cli> | ||
+ | HQD1D2(config)#<input>interface range fastethernet 0/1 - 2</input> | ||
+ | HQD1D2(config-if-range)#<input>channel-group 1 mode active</input> | ||
+ | HQD1D2(config-if-range)# | ||
+ | <notice>Creating a port-channel interface Port-channel 1</notice> | ||
+ | <input>int po 1</input> | ||
+ | HQD1D2(config-if)#<input>switchport trunk encapsulation dot1q</input> | ||
+ | HQD1D2(config-if)#<input>switchport mode trunk</input> | ||
+ | HQD1D2(config-if)#<input>end</input> | ||
+ | HQD1D2# | ||
+ | HQD1D2#<input>show etherchannel summary</input> | ||
+ | Flags: D - down P - in port-channel | ||
+ | I - stand-alone s - suspended | ||
+ | H - Hot-standby (LACP only) | ||
+ | R - Layer3 S - Layer2 | ||
+ | U - in use f - failed to allocate aggregator | ||
+ | u - unsuitable for bundling | ||
+ | w - waiting to be aggregated | ||
+ | d - default port | ||
+ | |||
+ | |||
+ | Number of channel-groups in use: 1 | ||
+ | Number of aggregators: 1 | ||
+ | |||
+ | Group Port-channel Protocol Ports | ||
+ | ------+-------------+-----------+---------------------------------------------- | ||
+ | |||
+ | <notice>1 Po1(SU) LACP Gig0/1(P) Gig0/2(P)</notice> | ||
+ | HQD1D2# | ||
+ | </source> | ||
{{Source cli}} | {{Source cli}} |
Latest revision as of 15:19, 2 June 2015
HQD1D1(config)#<input>interface range gi 0/1 - 2</input>
HQD1D1(config-if-range)#<input>channel-group 1 mode active</input>
HQD1D1(config-if-range)#
<notice>Creating a port-channel interface Port-channel 1</notice>
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up
HQD1D1(config-if-range)#<input>interface Port-channel 1</input>
HQD1D1(config-if)#<input>switchport trunk encapsulation dot1q</input>
HQD1D1(config-if)#<input>switchport mode trunk</input>
HQD1D1(config-if)#<input>end</input>
HQD1D1#<input>show etherchannel summary</input>
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------
<notice>1 Po1(SD) LACP Gig0/1(P) Gig0/2(P)</notice>
HQD1D1#
HQD1D2(config)#<input>interface range fastethernet 0/1 - 2</input>
HQD1D2(config-if-range)#<input>channel-group 1 mode active</input>
HQD1D2(config-if-range)#
<notice>Creating a port-channel interface Port-channel 1</notice>
<input>int po 1</input>
HQD1D2(config-if)#<input>switchport trunk encapsulation dot1q</input>
HQD1D2(config-if)#<input>switchport mode trunk</input>
HQD1D2(config-if)#<input>end</input>
HQD1D2#
HQD1D2#<input>show etherchannel summary</input>
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------
<notice>1 Po1(SU) LACP Gig0/1(P) Gig0/2(P)</notice>
HQD1D2#