Example for Configuring an IMA Group
Networking Requirements
As shown in Figure 20-3, RouterA and RouterB are connected by two E1-IMA links.
On a large enterprise network, a single link fails to support transmission of a large number of services. To ensure data transmission, users require high bandwidth.
Configuration Roadmap
- Add the E1-IMA links to an IMA group.
- Configure the E1-IMA interface on RouterA to work in master clock mode and the E1-IMA interface on RouterB to work in slave clock mode and use default values for other attributes so that RouterA and RouterB on the E1-IMA link can communicate.
- Configure RouterA' to use Common Transmit Clock Configuration (CTC) of link 0, and RouterB to use Independent Transmit Clock Configuration (ITC) to meet higher bandwidth requirement.
Procedure
- Configure RouterA.
# Create an IMA group.
<Huawei> system-view [Huawei] sysname RouterA [RouterA] interface ima-group 2/0/0 [RouterA-Ima-group2/0/0] quit
# Add E1-IMA interfaces to the IMA group.
[RouterA] interface atm 2/0/0 [RouterA-ATM2/0/0] ima ima-group 2/0/0 [RouterA-ATM2/0/0] clock master [RouterA-ATM2/0/0] quit [RouterA] interface atm 2/0/1 [RouterA-ATM2/0/1] ima ima-group 2/0/0 [RouterA-ATM2/0/1] clock master [RouterA-ATM2/0/1] quit
# Configure attributes of the IMA group.
[RouterA] interface ima-group 2/0/0 [RouterA-Ima-group2/0/0] ima-clock ctc link-number 0 [RouterA-Ima-group2/0/0] quit
- Configure RouterB.
# Create an IMA group.
<Huawei> system-view [Huawei] sysname RouterB [RouterB] interface ima-group 2/0/0 [RouterB-Ima-group2/0/0] quit
# Add E1-IMA interfaces to the IMA group.
[RouterB] interface atm 2/0/0 [RouterB-ATM2/0/0] ima ima-group 2/0/0 [RouterB-ATM2/0/0] clock slave [RouterB-ATM2/0/0] quit [RouterB] interface atm 2/0/1 [RouterB-ATM2/0/1] ima ima-group 2/0/0 [RouterB-ATM2/0/1] clock slave [RouterB-ATM2/0/1] quit
# Configure attributes of the IMA group.
[RouterB] interface ima-group 2/0/0 [RouterB-Ima-group2/0/0] ima-clock itc [RouterB-Ima-group2/0/0] quit
- Verify the Configuration
# Run the display interface ima-group command on RouterA to check the IMA binding information.
[RouterA] display interface Ima-group 2/0/0 Ima-group2/0/0 current state : UP Line protocol current state : UP Last line protocol up time : 2016-01-10 06:00:46 UTC-05:13 Description:HUAWEI, AR Series, Ima-group2/0/0 Interface Route Port,The Maximum Transmit Unit is 1500 Internet protocol processing : disabled AAL enabled: AAL5, Maximum PVCs: 8 PVCs on main-interface: 0 (Total PVCs: 0) Current system time: 2016-01-10 06:11:17-05:13 Physical layer is ATM over IMA Maximum allowed differential delay is: 25ms, Minimum required active links num: 1 Tx frame length: 128, symmetry: symmetrical configuration and operation Ne Tx clock mode CTC, configured timing reference link is Atm2/0/0 Ima protocol version: Version 1.1 Ima group near-end state is: operational Ima group far-end state is: operational LinkName Atm2/0/0 NeLink TxLid 0, Tx Link state is active NeLink RxLid 0, Rx link state is active FeLink TxLid 0, Tx Link state is active FeLink RxLid 0, Rx link state is active Defect: NONE LinkName Atm2/0/1 NeLink TxLid 1, Tx Link state is active NeLink RxLid 1, Rx link state is active FeLink TxLid 1, Tx Link state is active FeLink RxLid 1, Rx link state is active Defect: NONE Last 10 seconds input rate 0 bytes/sec 0 bits/sec 0 packets/sec Last 10 seconds output rate 0 bytes/sec 0 bits/sec 0 packets/sec Input: 0 packets, 0 bytes Output: 0 packets, 0 bytes Input bandwidth utilization : 0% Output bandwidth utilization : 0%
Configuration Files
Configuration file of RouterA
# sysname RouterA # interface atm 2/0/0 ima ima-group 2/0/0 clock master # interface atm 2/0/1 ima ima-group 2/0/0 clock master # interface ima-group 2/0/0 ima-clock ctc link-number 0 # return
Configuration file of RouterB
# sysname RouterB # interface atm 2/0/0 ima ima-group 2/0/0 # interface atm 2/0/1 ima ima-group 2/0/0 # interface ima-group 2/0/0 ima-clock itc # return