Configuring Link Aggregation Group and Link Aggregation Control Protocol
Configuring Link Aggregation Group and Link Aggregation Control Protocol
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 1
Configuring Link Aggregation Group and Link Aggregation Control Protocol
Link Aggregation Group and Link Aggregation Control Protocol Configuration Procedures
• Cost savings resulting from use of existing hardware and software for additional functions.
• A standard solution that enables interoperability of network devices.
• Port redundancy without user intervention when an operational port fails.
The following procedures can be performed using CTC to configure LAG and LACP:
• DLP-J9 Set LACP System Priority Using CTC, on page 9
• DLP-J15 Create a Channel Group Using CTC, on page 19
• DLP-J16 Edit a Channel Group Using CTC, on page 20
• DLP-J18 Configure Manual Load Balancing Using CTC, on page 25
Understanding LACP
The LACP is part of the IEEE802.3ad standard that enables you to bundle several physical ports together to
form a single logical channel. LACP enables a network device, such as a switch, to negotiate an automatic
bundling of links by sending LACP packets to the peer device. The LACP is a control protocol over LAG to
check for any LAG misconfigurations.
LACP enables you to form a single Layer 2 link automatically from two or more Ethernet links. This protocol
ensures that both ends of the Ethernet link are functional and agree to be members of the aggregation group.
LACP must be enabled at both ends of the link to be operational.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
2 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
NTP-J2 Manage LACP
LACP Advantages
LACP provides high reliability and redundancy. If a port fails, traffic continues on the remaining ports.
LACP Functions
LACP performs the following functions in the system:
• Maintains configuration information to control aggregation.
• Exchanges configuration information with other peer devices.
• Attaches or detaches ports from the LAG based on the exchanged configuration information.
LACP Modes
LACP can be configured in the following modes:
• Active—In this mode, the ports send LACP packets at regular intervals to the partner ports.
• Passive—In this mode, the ports do not send LACP packets until the partner port sends LACP packets.
After receiving the LACP packets from the partner port, the ports send LACP packets to the partner
port.
Note When you enable LACP on the channel group, LACP exchanges Protocol Data Units (PDU) of size 128
bytes. Hence, if the Maximum Transmission Unit (MTU) size of the channel group is set to a value less
than 128 bytes, the protocol data units are dropped and the channel group interface goes down.
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Procedure
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 3
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J5 Configure and Retrieve a Port Channel Using Cisco IOS Commands
• DLP-J5 Configure and Retrieve a Port Channel Using Cisco IOS Commands, on page 4
• DLP-J6 Configure LACP over Port Channel Using Cisco IOS Commands, on page 5
• DLP-J7 Monitor LACP Status Using Cisco IOS Commands, on page 6
DLP-J5 Configure and Retrieve a Port Channel Using Cisco IOS Commands
Purpose This procedure configures and retrieves a port channel
using Cisco IOS commands.
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Note You must manually create a port channel logical interface. Configuring the IP address on the port channel
interface is not supported.
Procedure
Example:
Router# configure terminal
Step 3 interface port-channel channel-number Identifies the interface port channel and
enters interface configuration mode.
Example:
Router(config)# interface port-channel 10
Step 4 end Returns to privileged EXEC mode.
Example:
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
4 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J6 Configure LACP over Port Channel Using Cisco IOS Commands
Example:
Router# show running-config interface
port-channel 10
Step 6 end Ends the current configuration session.
Example:
Router# end
Step 7 Return to your originating procedure (NTP). —
Building configuration...
DLP-J6 Configure LACP over Port Channel Using Cisco IOS Commands
Purpose This procedure configures LACP using port channel
using Cisco IOS commands.
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 5
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J7 Monitor LACP Status Using Cisco IOS Commands
Procedure
Example:
Router# configure terminal
Step 3 interface port-channel channel-number Identifies the interface port channel and
enters interface configuration mode.
Example:
Router(config)# interface port-channel 10
Step 4 exit Returns to interface configuration mode.
Example:
Router(config-if)# exit
Step 5 interface type number Specifies the interface to configure and
enters interface configuration mode.
Example:
Router(config)# interface TenGigabitEthernet
4/1
Step 6 channel-group channel-number mode {active Configures the interface in a channel group
| passive} and sets the lacp mode.
Example:
Router(config-if)# channel-group 10 mode active
Step 7 exit Returns to privileged EXEC mode.
Example:
Router(config-if)# exit
Step 8 Return to your originating procedure (NTP). —
Tools/Equipment None
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
6 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
Understanding LACP Priority
For examples of show lacp commands, see Show Commands, on page 26.
Procedure
Example:
Router# show lacp internal
Step 3 end Ends the current configuration session.
Example:
Router# end
Step 4 Return to your originating procedure (NTP). —
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 7
Configuring Link Aggregation Group and Link Aggregation Control Protocol
NTP-J3 Set LACP Priority
◦Port physical characteristics such as data rate, duplex capability, and point-to-point or shared
medium.
◦Configuration restrictions that you establish.
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Procedure
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
8 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J9 Set LACP System Priority Using CTC
Procedure
Example:
Router# configure terminal
Step 3 lacp system–priority priority Sets the system priority. The range of the
LACP system priority is from 0 to 65535.
Example: The default value is 32768.
Router(config)# lacp system-priority 200
Step 4 end Returns to privileged EXEC mode.
Example:
Router(config)# end
Step 5 show lacp {channel-group-number | counters Displays the LACP information.
| internal [detail] | neighbor [detail] | sys-id}
Example:
Router# show lacp sys-id
Step 6 end Ends the current configuration session.
Example:
Router# end
Step 7 Return to your originating procedure (NTP). —
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 9
Configuring Link Aggregation Group and Link Aggregation Control Protocol
Understanding LACP 1:1 Redundancy
Procedure
Step 1 Complete the NTP-J22 Log into CTC procedure at a node where you want to set the LACP system priority.
Step 2 From the View menu, choose Go to Home View.
Step 3 Right–click the fabric or line card and choose Open Packet Transport System View. The Packet Transport
System View dialog box appears.
Step 4 Click the Provisioning tab.
Step 5 From the left pane, click LACP.
Step 6 Enter the priority in the System Priority field.
The range of the LACP system priority is from 0 to 65535. The default value is 32768.
NTP-J4 Configure LACP 1:1 Redundancy with Fast Switchover Using Cisco
IOS Commands
Purpose This procedure configures LACP 1:1 redundancy with
fast switchover using Cisco IOS commands.
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
10 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
NTP-J4 Configure LACP 1:1 Redundancy with Fast Switchover Using Cisco IOS Commands
For the LACP 1:1 redundancy feature, the channel group must contain two links, of which only one is active.
The link with the lower port priority number (and therefore a higher priority) will be the active link, and the
other link will be in a hot standby state. The maximum number of active member ports (lacp max–bundle)
must be set to 1.
Procedure
Example:
Router# configure terminal
Step 3 interface port-channel channel-number Identifies the interface port channel and
enters interface configuration mode.
Example:
Router(config)# interface port-channel 10
Step 4 lacp fast-switchover Enables the fast switchover feature for this
channel group.
Example:
Router(config-if)# lacp fast-switchover
Step 5 lacp max-bundle number Sets the maximum number of active member
ports in the channel group to 1.
Example:
Router(config-if)# lacp max-bundle 1
Step 6 end Returns to privileged EXEC mode.
Example:
Router(config-if)# end
Step 7 show running-config interface port-channel Displays the port channel configuration.
channel-number
Example:
Router# show running-config interface
port-channel 10
Step 8 end Ends the current configuration session.
Example:
Router# end
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 11
Configuring Link Aggregation Group and Link Aggregation Control Protocol
Understanding LAG
Router> enable
Router# configure terminal
Router(config)# lacp system-priority 33000
Router(config)# interface TenGigabitEthernet4/1
Router(config-if)# channel-group 1 mode active
Router(config)# interface TenGigabitEthernet4/1
Router(config-if)# lacp port-priority 33000
Router(config)# interface port-channel 1
Router(config-if)# lacp fast-switchover
Router(config-if)# lacp max-bundle 1
Router(config-if)# end
Router(config)# show run interface port-channel 1
Understanding LAG
The LAG or an EtherChannel, bundles individual Ethernet links into a single logical link that provides the
aggregate bandwidth of up to eight physical links. When an Ethernet Flow Point is configured on LAG, the
EFP is protected against link failures.
When a link within an EtherChannel fails, the traffic previously carried over the failed link switches to the
remaining links within that EtherChannel.
LAG supports manual load balancing and platform default load balancing. LAG supports Ethernet services.
LAG can be an attachment circuit for MPLS services.
The LACP is a control protocol that is supported on the LAG.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
12 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J11 Configure a Channel Group with LACP Using Cisco IOS Commands
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Procedure
DLP-J11 Configure a Channel Group with LACP Using Cisco IOS Commands
Purpose This procedure configures a channel group with
LACP using Cisco IOS commands.
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Procedure
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 13
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J12 Configure a Channel Group Without LACP Using Cisco IOS Commands
Example:
Router# configure terminal
Step 3 interface port-channel channel-number Identifies the interface port channel.
Example:
Router(config)# interface port-channel 5
Step 4 interface type number Configures a member interface and enters
interface configuration mode.
Example:
Router(config)# interface TenGigabitEthernet 4/1
Step 5 channel-group channel-number mode {active | Configures the channel group with the
passive} LACP.
Example:
Router(config-if)# channel-group 5 mode active
Step 6 exit Returns to privileged EXEC mode.
Example:
Router(config-if)# exit
Step 7 Return to your originating procedure (NTP). —
Router> enable
Router# configure terminal
Router(config)# interface port-channel5
Router(config)# interface TenGigabitEthernet 7/1
Router(config-if)# channel-group 5 mode active
Router(config-if)# exit
DLP-J12 Configure a Channel Group Without LACP Using Cisco IOS Commands
Purpose This procedure configures a channel group without
LACP using Cisco IOS commands.
Tools/Equipment None
Prerequisite Procedures None
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
14 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J12 Configure a Channel Group Without LACP Using Cisco IOS Commands
Procedure
Example:
Router# configure terminal
Step 3 interface port-channel channel-number Identifies the interface port channel.
Example:
Router(config)# interface port-channel 5
Step 4 interface type number Configures a member interface and enters
interface configuration mode.
Example:
Router(config)# interface TenGigabitEthernet 4/1
Step 5 channel-group channel-number link link-id Configures the channel group without
using LACP.
Example:
Router(config-if)# channel-group 5 link 1
Step 6 exit Returns to privileged EXEC mode.
Example:
Router(config-if)# exit
Step 7 Return to your originating procedure (NTP). —
Router> enable
Router# configure terminal
Router(config)# interface port-channel5
Router(config)# interface TenGigabitEthernet 7/1
Router(config-if)# channel-group 5 link 1
Router(config-if)# exit
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 15
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J13 Add and Remove Interfaces from a Channel Group Using Cisco IOS Commands
DLP-J13 Add and Remove Interfaces from a Channel Group Using Cisco IOS
Commands
Purpose This procedure adds and removes interfaces from a
channel group using Cisco IOS commands.
Tools/Equipment None
Prerequisite Procedures DLP-J5 Configure and Retrieve a Port Channel Using
Cisco IOS Commands, on page 4
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Procedure
Example:
Router# configure terminal
Step 3 interface type number Configures a member interface and enters
the interface configuration mode.
Example:
Router(config)# interface TenGigabitEthernet
4/1
Step 4 channel-group channel-group-number mode Adds a Ten Gigabit Ethernet interface to a
{active | passive} channel group.
Example:
Router(config-if)# channel-group 5 mode active
Step 5 no channel-group Removes the Ten Gigabit Ethernet interface
from the channel group.
Example:
Router(config-if)# no channel-group
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
16 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J14 Set a Minimum and Maximum Threshold of Active Links Using Cisco IOS Commands
Example:
Router(config-if)# exit
Step 7 Return to your originating procedure (NTP). —
Router> enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 5/0
Router(config-if)# channel-group 5 mode active
Router(config-if)# exit
The following example shows how to remove an interface from a channel group using Cisco IOS commands:
Router> enable
Router# configure terminal
Router(config)# interface TenGigabitEthernet 5/0
Router(config-if)# no channel-group
Router(config-if)# exit
DLP-J14 Set a Minimum and Maximum Threshold of Active Links Using Cisco
IOS Commands
Purpose This procedure sets a minimum and maximum
threshold of active links allowed in the LACP bundle
using Cisco IOS commands.
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 17
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J14 Set a Minimum and Maximum Threshold of Active Links Using Cisco IOS Commands
Procedure
Example:
Router# configure terminal
Step 3 interface port-channel channel-number Creates a port channel virtual interface and enters
interface configuration mode.
Example:
Router(config)# interface port-channel 1
Step 4 lacp min-bundle min-bundle-number Sets the minimum threshold of active member
links allowed in the LACP bundle. The range is
Example: 1 to 8.
Router(config-if)# lacp min-bundle 5
Step 5 lacp max-bundle max-bundle-number Sets the maximum threshold of active member
links allowed in the LACP bundle. The range is
Example: 1 to 8. The maximum threshold value must be
Router(config-if)# lacp max-bundle 7 greater than or equal to the minimum threshold
value.
Example:
Router(config-if)# end
Step 7 Return to your originating procedure (NTP). —
Router> enable
Router# configure terminal
Router(config)# interface port-channel 1
Router(config-if)# lacp min-bundle 5
Router(config-if)# end
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
18 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J15 Create a Channel Group Using CTC
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Procedure
Step 1 Complete the NTP-J22 Log into CTC procedure at a node where you want to create a channel group.
Step 2 From the View menu, choose Go to Home View.
Step 3 Right-click the fabric or line card and choose Open Packet Transport System View. The Packet Transport
System View dialog box appears.
Step 4 Click the Provisioning tab.
Step 5 In the left pane, click Channel Groups.
Step 6 Click Create. The Channel Group Creation dialog box appears.
Step 7 Enter the name of the channel group in the Name field.
Step 8 From the ID drop-down list, choose an ID for this channel group. The IDs range from 1 to 128.
Step 9 From the Standalone list, choose the ports that will belong to this channel group and click the right arrow
button to move the selected ports to the Bundled list.
Step 10 To create a channel group by configuring LACP:
a) Check the LACP check box to configure the channel group using LACP.
b) Enter the MTU value in the MTU field. The default value is 9600.
c) Check the Remote Link Failure Notify check box to enable the remote link failure notify feature for this
channel group.
d) Enter the minimum number of ports that need to be active for the channel group in the Minimum bundle
field. The default value is 1.
e) Enter the maximum number of ports to be bundled in a channel group in the Maximum bundle field. The
default value is 8.
f) Check the Fast Switchover check box to enable the fast switchover feature for this channel group.
g) Click Configure/Edit in the Port LACP area of the port to configure the LACP mode for each port. The
LACP Configuration dialog box appears.
The Port column lists all the ports that are added to the channel group.
• From the LACP Config drop-down list, choose Active or Passive for each port.
• Enter the LACP priority in the Priority field for each port. The default value is 32768. The range of
LACP port priority is from 0 to 65535.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 19
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J16 Edit a Channel Group Using CTC
• Click Apply.
h) Click Configure/Edit in the Layer 2 action area to configure the actions for each Layer 2 protocol. The
L2 Protocol Config dialog box appears.
• From the Action drop-down list, choose Drop, Forward, or Peer for each Layer 2 protocol.
• Click Apply.
i) Click Create. A new channel group is added in the Channel Group table.
Step 11 To create a channel group without configuring LACP:
a) Enter the MTU value in the MTU field. The default value is 9600.
b) Click Configure/Edit in the Layer 2 action area to configure the actions for each Layer 2 protocol. The
L2PT Config dialog box appears.
• From the Action drop-down list, choose Drop, Forward, or Peer for each Layer 2 protocol.
• Click Apply.
c) Click Create. A new channel group is added in the Channel Group table.
Step 12 To delete a channel group, choose a channel group and click Delete.
Step 13 Return to your originating procedure (NTP).
Tools/Equipment None
Prerequisite Procedures DLP-J15 Create a Channel Group Using CTC, on
page 19
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
20 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
Understanding Load Balancing
Procedure
Step 1 Complete the NTP-J22 Log into CTC procedure at a node where you want to edit a channel group.
Step 2 From the View menu, choose Go to Home View.
Step 3 Right-click the fabric or line card and choose Open Packet Transport System View. The Packet Transport
System View dialog box appears.
Step 4 Click the Provisioning tab.
Step 5 In the left pane, click Channel Groups.
Step 6 Choose a channel group from the existing channel groups.
Step 7 Click Edit. The Edit Channel Group dialog box appears.
You can modify all the parameters of the channel group except the name and ID.
Step 8 To add ports to an existing channel group, choose the required ports from the Standalone list. Click the right
arrow button to move the selected ports to the Bundled list.
Step 9 To remove ports from an existing channel group, choose the required ports from the Bundled list. Click the
left arrow button to move the selected ports to the Standalone list.
Step 10 Modify the other parameters of the channel group, such as LACP mode of the channel group, soak time,
minimum bundle, maximum bundle, LACP mode of ports, and Layer 2 action configuration as required.
Step 11 Click Apply to edit the channel group.
Step 12 Return to your originating procedure (NTP).
Note The ingress traffic for any EFP can arrive on any member link of the LAG. All the egress traffic for the
EFP must use only one of the member links.
EFPs can be configured on a channel group. The traffic, carried by the EFPs, is load balanced across the
member links. Ingress traffic for a single EVC can arrive on any member of the bundle. All egress traffic for
an EFP uses only one of the member links. The load balancing is achieved by distributing EFPs between the
member links. The EFPs on a channel group are grouped and each group is associated with a member link.
The manual load balancing mechanism can be used to control the EFP grouping.
Note CPT supports manual load balancing and platform default load balancing. CPT does not support weighted
load balancing in this release. When manual load balancing is not configured and applied to the service
instance, the default platform load balancing mechanism is used.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 21
Configuring Link Aggregation Group and Link Aggregation Control Protocol
NTP-J6 Configure Manual Load Balancing
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
22 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J17 Configure Manual Load Balancing Using Cisco IOS Commands
Procedure
Procedure
Example:
Router# configure terminal
Step 3 interface type number Creates a port channel virtual interface and
enters interface configuration mode.
Example:
Router(config)# interface port-channel 10
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 23
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J17 Configure Manual Load Balancing Using Cisco IOS Commands
Example:
Router(config-if-srv)# exit
Step 8 port-channel load-balance {link link-id} Configures the primary load balanced link.
Example:
Router(config-if)# port-channel load-balance
link 1
Step 9 backup link link-id Configures the back up links under the primary
link.
Example:
Router(config-if-lb)#backup link 2,3,4
Step 10 service-instance id Assigns a service instance to a member link
for manual load balancing
Example:
Router(config-if-lb)#service-instance 100
Step 11 exit Returns to interface configuration mode.
Example:
Router(config-if-lb)#exit
Step 12 end Returns to privileged EXEC mode.
Example:
Router(config-if)# end
Step 13 Return to your originating procedure (NTP). —
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
24 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
DLP-J18 Configure Manual Load Balancing Using CTC
Tools/Equipment None
Prerequisite Procedures DLP-J15 Create a Channel Group Using CTC, on
page 19
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 25
Configuring Link Aggregation Group and Link Aggregation Control Protocol
Show Commands
Procedure
Step 1 Complete the NTP-J22 Log into CTC procedure at a node where you want to configure manual load balancing.
Step 2 From the View menu, choose Go to Home View.
Step 3 Right-click the fabric or line card and choose Open Packet Transport System View. The Packet Transport
System View dialog box appears.
Step 4 Click the Provisioning tab.
Step 5 From the left pane, click Channel Groups.
Step 6 Click the Load Balancing tab.
Step 7 From the LAG drop-down list, choose a channel group.
Step 8 Click Create to configure manual load balancing on the ports of the channel group. The Manual Load Balancing
dialog box appears.
Step 9 From the Primary Loadbalanced Link list, choose a port.
Step 10 From the Available Ports list, choose the required ports and click the right arrow button to move the ports to
the Selected Ports list.
The selected ports serve as the backup ports for the primary load balanced port.
Show Commands
Display Port Channel Statistics
The following example shows how to view port channel statistics.
Router# show interfaces stats
GigabitEthernet0/1
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 108470 31042570 82259 14255449
Route cache 0 0 0 0
Total 108470 31042570 82259 14255449
GigabitEthernet0/2
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 15979 19073260 15192 1325713
Route cache 0 0 0 0
Total 15979 19073260 15192 1325713
Port-channel15
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 0 0 0 0
Route cache 0 0 0 0
Total 0 0 0 0
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
26 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
Show Commands
Port-channel2
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 570546645 295127854241 557694541 291427545417
Route cache 0 0 0 0
Total 570546645 295127854241 557694541 291427545417
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 27
Configuring Link Aggregation Group and Link Aggregation Control Protocol
Show Commands
Note The show ethernet service instance stats command does not display the EFP statistics for a pseudowire.
Use the show mpls l2transport vc [vcid] [detail] command to view the EFP statistics for a pseudowire.
Channel group 20
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Te4/2 SA bndl 32768 0x5 0x5 0x42 0x3D
Router# show lacp 20 counters
---------------------------------------------------------------------
Channel group 20
Te4/2 21 18 0 0 0 0 0
Router# show lacp 20 internal
Channel group 20
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Te4/2 SA bndl 32768 0x5 0x5 0x42 0x3D
Router# show lacp 20 neighbor
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
28 78-20205-02
Configuring Link Aggregation Group and Link Aggregation Control Protocol
Show Commands
Partner's information:
32768,0005.9b2e.18e0
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
78-20205-02 29
Configuring Link Aggregation Group and Link Aggregation Control Protocol
Interactions of LAG with Other Features
Router# enable
Router# configure terminal
Router(config)# interface port-channel 10
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# xconnect 10.0.0.2 999 encapsulation MPLS
Router(config-if-srv)# exit
Cisco CPT Configuration Guide–CTC and Documentation Release 9.3 and Cisco IOS Release 15.1(01)SA
30 78-20205-02