Wednesday, 7 May 2014

Port channel configuration on H3C switches


This document explains the port-channel configuration on H3c 5920 switch.

To explain the configuration we have  configured two interfaces Ten-GigabitEthernet1/0/1 and Ten-GigabitEthernet1/0/2 in port-channel 1.

Step1.  Login to Switch with admin access.

< H3C-Switch>

Step2. To make configuration changes you must enter in Systemview.

<H3C-Switch>system-view
System View: return to User View with Ctrl+Z.
[H3C-Switch]

Step3. Go to interface Ten-GigabitEthernet1/0/1. Make sure that member port and bridge port (if already exist) will have same configuration. 

[H3C-Switch]interface Ten-GigabitEthernet1/0/1
[H3C-Switch-Ten-GigabitEthernet1/0/1]port link-aggregation group 1
[H3C-Switch-Ten-GigabitEthernet1/0/1]quit
[H3C-Switch]

 Step4. Configure the link-aggregation command in Ten-GigabitEthernet1/0/2 as well. 

[H3C-Switch]interface Ten-GigabitEthernet1/0/2
[H3C-Switch-Ten-GigabitEthernet1/0/2]port link-aggregation group 1
[H3C-Switch-Ten-GigabitEthernet1/0/2]quit
[H3C-Switch]

Step5. It will create an interface Bridge-Aggregation1 automatically. All the configuration command done in bridge aggregation port will be reflected in member ports.  

Configuration will vary as per the requirement. Configuration done on the Bridge aggregation will be replicated on the member ports automatically.

Note: Description command will not replicated to member ports. It has to be separately configured on member ports.

[H3C-Switch]interface Bridge-Aggregation11
[H3C-Switch-Bridge-Aggregation1]description  Node1
[H3C-Switch-Bridge-Aggregation1]port access vlan 100
[H3C-Switch-Bridge-Aggregation1]link-aggregation mode dynamic
[H3C-Switch-Bridge-Aggregation1]stp edged-port
[H3C-Switch-Bridge-Aggregation2]quit

[H3C-Switch]quit
<H3C-Switch>

Step6. Check the Bridge-Aggregation port status. 

<H3C-Switch>display interface Bridge-Aggregation1
Bridge-Aggregation1 current state: UP  ------<<<<<<<<<<<<<<<<<<<<<<<<
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: b8af-67b0-62df
Description: ### c-r15-04-01 prod ###
20Gbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
PVID: 44
Port link-type: access
 Tagged Vlan:   none
 UnTagged Vlan: 44      ------<<<<<<<<<<<<<<<<<<<<<<<<
Last clearing of counters: Never
Last 300 seconds input:  0 packets/sec 483 bytes/sec    0%
Last 300 seconds output:  15 packets/sec 13967 bytes/sec    0%
Input (total):  5593180175 packets, 3023094095318 bytes
            5589605028 unicasts, 435264 broadcasts, 3139675 multicasts
Input (normal):  5593179967 packets, - bytes
            5589605028 unicasts, 435264 broadcasts, 3139675 multicasts
Input:  0 input errors, 0 runts, 0 giants, 0 throttles
            0 CRC, 0 frame, - overruns, 0 aborts
            - ignored, - parity errors
Output (total): 9287004120 packets, 12729511609083 bytes
            9222258418 unicasts, 23921148 broadcasts, 40824554 multicasts, 0 pauses
Output (normal): 9287004120 packets, - bytes
        9222258418 unicasts, 23921148 broadcasts, 40824554 multicasts, 0 pauses
Output: 0 output errors, - underruns, - buffer failures
            0 aborts, 0 deferred, 0 collisions, 0 late collisions
            0 lost carrier, - no carrier
<H3C-Switch>display interface Bridge-Aggregation1 brief ---<<<<<<<<<<<<<<<<<
The brief information of interface(s) under bridge mode:
Link: ADM - administratively down; Stby - standby
Speed or Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface            Link Speed   Duplex Type PVID Description               
BAGG1                UP   20G(a)  F(a)   A    44   Node1 ### 


No comments:

Post a Comment