07-Chapter 7 Configuring Ports
-
Upload
nicoloh2002 -
Category
Documents
-
view
224 -
download
0
Transcript of 07-Chapter 7 Configuring Ports
-
8/20/2019 07-Chapter 7 Configuring Ports
1/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Table of Contents
Huawei Technologies Proprietary
i
Table of Contents
Chapter 7 Configuring Ports ........................................................................................................ 7-1
7.1 Overview of Port Types ..................................................................................................... 7-1
7.2 Configuring the Port Description........................................................................................ 7-1
7.2.1 Describing a Port..................................................................................................... 7-2
7.2.2 Querying the Port Description................................................................................. 7-2
7.3 Configuring the Ethernet Port on the IPM Card................................................................. 7-3
7.3.1 Command List ......................................................................................................... 7-3
7.3.2 Entering the IPM mode ........................................................................................... 7-4
7.3.3 Enabling/Disabling an Ethernet Port ....................................................................... 7-4
7.3.4 Configuring the Attributes of a Port ......................................................................... 7-4
7.3.5 Configuring the Default VLAN of a Port .................................................................. 7-5
7.3.6 Configuring the Traffic Suppression........................................................................ 7-6
7.3.7 Aggregating Ethernet Ports..................................................................................... 7-9
7.3.8 Configuring Ethernet Port Mirroring ...................................................................... 7-10
7.3.9 Querying Port Information..................................................................................... 7-11
7.4 Configuring the ATM Port ................................................................................................ 7-11
7.4.1 Entering the Port Mode ......................................................................................... 7-12
7.4.2 Querying the State of an ATM Port ....................................................................... 7-12
7.4.3 Setting the ATM Port Type.................................................................................... 7-13
7.4.4 Setting the Tx Clock of a Port ............................................................................... 7-13
7.4.5 Querying VP/VC Resources of an ATM Port ........................................................ 7-14
7.4.6 Setting the maximum VPI Number for a VC Connection...................................... 7-14
7.4.7 Setting the Port Mode ........................................................................................... 7-14
7.4.8 Querying the Port Statistics................................................................................... 7-14
7.4.9 Clearing the Port Statistics.................................................................................... 7-14
7.4.10 Inserting an Alarm Event..................................................................................... 7-14
7.4.11 Inserting a BIP Bit Error Event ............................................................................ 7-15
7.4.12 Setting the Loopback of an ATM Port ................................................................. 7-15
7.4.13 Configuring the ALS Switch of an Optical Port ................................................... 7-16
7.4.14 Querying the Port Alarm State ............................................................................ 7-17
7.5 Configuring the E3/DS3 Port ........................................................................................... 7-17
7.5.1 Entering the E3/DS3 Port Mode............................................................................ 7-18
7.5.2 Setting a Port as UNI or NNI ................................................................................. 7-18
7.5.3 Setting the Port Line Type..................................................................................... 7-18
7.5.4 Setting the Port Tx Clock ...................................................................................... 7-19
7.5.5 Querying the Port Resources................................................................................ 7-19
7.5.6 Setting the maximum VPI Number for a VC Connection...................................... 7-19
7.5.7 Querying the Port Statistics................................................................................... 7-19
-
8/20/2019 07-Chapter 7 Configuring Ports
2/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Table of Contents
Huawei Technologies Proprietary
ii
7.5.8 Clearing the Port Statistics.................................................................................... 7-19
7.5.9 Querying the Port Line State................................................................................. 7-20
7.5.10 Querying the Interval Statistics ........................................................................... 7-20
7.5.11 Setting the Loopback .......................................................................................... 7-20
7.5.12 Querying the Configuration of a Card and Its Ports............................................ 7-20
7.6 Configuring the IMA Port ................................................................................................. 7-20
7.6.1 Entering the IMA Mode ......................................................................................... 7-22
7.6.2 Adding an IMA Group............................................................................................ 7-22
7.6.3 Querying an IMA Group ........................................................................................ 7-23
7.6.4 Deleting an IMA Group.......................................................................................... 7-25
7.6.5 Setting the IMA Group Mode................................................................................. 7-26
7.6.6 Blocking/Unblocking an IMA Group ...................................................................... 7-26
7.6.7 Enabling/Disabling IMA Group Loopback ............................................................. 7-26
7.6.8 Adding an IMA Link............................................................................................... 7-26
7.6.9 Querying an IMA Link............................................................................................ 7-27
7.6.10 Setting the IMA Link Test .................................................................................... 7-27
7.6.11 Blocking/Unblocking an IMA Link........................................................................ 7-28
7.6.12 Deleting an IMA Link........................................................................................... 7-28
7.6.13 Querying the IMA Configuration.......................................................................... 7-28
7.6.14 Configuring the PVC ........................................................................................... 7-28
7.6.15 Setting the Maximum Number of VPI for the VC Connections ........................... 7-28
7.7 Configuring the ADSL Port .............................................................................................. 7-29
7.7.1 Querying the ADSL Port State .............................................................................. 7-31
7.7.2 Setting the ADSL Line Profile................................................................................ 7-31
7.7.3 Setting the ADSL Alarm profile ............................................................................. 7-40
7.7.4 Binding the ADSL Alarm Profile............................................................................ 7-46
7.7.5 Setting the ADSL Extended Line Profile ............................................................... 7-46
7.7.6 Binding the ADSL Extended Line Profile .............................................................. 7-47
7.7.7 Activating/Deactivating an ADSL Port................................................................... 7-47
7.7.8 Resetting an ADSL Chipset .................................................................................. 7-48
7.7.9 Setting the Loopback of an ADSL Port ................................................................. 7-48
7.7.10 Querying an ADSL Port....................................................................................... 7-49
7.8 Configuring the SHDSL Port............................................................................................ 7-50
7.8.1 Command List ....................................................................................................... 7-50
7.8.1 Querying the SHDSL Port State............................................................................ 7-51
7.8.2 Setting an SHDSL Line Profile.............................................................................. 7-51
7.8.3 Activating/Deactivating an SHDSL Port ................................................................ 7-56
7.8.4 Setting an SHDSL Alarm Profile ........................................................................... 7-57
7.8.5 Modifying the Alarm Profile Reference for an SHDSL Port .................................. 7-59
7.8.6 Setting the Power Backoff of an SHDSL Port ....................................................... 7-59
7.8.7 Resetting an SHDSL Chipset................................................................................ 7-60
7.8.8 Setting the Loopback Test of an SHDSL Port....................................................... 7-60
-
8/20/2019 07-Chapter 7 Configuring Ports
3/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Table of Contents
Huawei Technologies Proprietary
iii
7.8.9 Binding an SHDSL Port......................................................................................... 7-60
7.8.10 Querying an SHDSL Port.................................................................................... 7-61
7.9 Configuring the VDSL Port .............................................................................................. 7-62
7.9.1 Querying the VDSL Port State .............................................................................. 7-63
7.9.2 Setting a VDSL Line Profile................................................................................... 7-63
7.9.3 Deleting a VDSL line profile .................................................................................. 7-67
7.9.4 Activating/Deactivating a VDSL Port..................................................................... 7-67
7.9.5 Setting a VDSL Alarm Profile................................................................................ 7-68
7.9.6 Binding the VDSL Alarm Profile............................................................................ 7-71
7.9.7 Setting the VDSL Port Mode................................................................................. 7-71
7.9.8 Setting the Default VLAN of a VDSL Port ............................................................. 7-72
7.9.9 Setting the VDSL Port Mirroring............................................................................ 7-72
7.9.10 Managing a VTU-R ............................................................................................. 7-73
7.9.11 Resetting a VDSL Port and Chipset.................................................................... 7-73
7.9.12 Querying a VDSL Port......................................................................................... 7-74
7.9.13 Setting the Loopback .......................................................................................... 7-75
7.10 Configuring the Ethernet Port on the EAU Card............................................................ 7-76
7.10.1 Configuring the Port Rate.................................................................................... 7-76
7.10.2 Configuring the Port Working Mode.................................................................... 7-77
7.10.3 Configuring the Port Network Cable.................................................................... 7-77
7.10.4 Configuring the Default VLAN............................................................................. 7-78
7.10.5 Configuring the Flow Control............................................................................... 7-78
7.10.6 Activating/Deactivating a Port ............................................................................. 7-79
7.10.7 Configuring the Port Mirroring............................................................................. 7-79
7.10.8 Configuring the Port Aggregation........................................................................ 7-80
7.10.9 Querying the Port Information............................................................................. 7-81
-
8/20/2019 07-Chapter 7 Configuring Ports
4/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-1
Chapter 7 Configuring Ports
This chapter introduces the following:
Overview of Port Types
Configuring the Port Description
Configuring the Ethernet Port on the IPM Card
Configuring the ATM Port
Configuring the E3/DS3 Port
Configuring the IMA Port
Configuring the ADSL Port
Configuring the SHDSL Port Configuring the VDSL Port
Configuring the Ethernet Port on the EAU Card
7.1 Overview of Port Types
The UA5000 provides abundant ports, including:
Ethernet ports
ATM upstream ports
E3/DS3 ports
IMA ports
ADSL ports
ADSL2+ ports
SHDSL ports
VDSL ports
7.2 Configuring the Port Description
You can configure the description for all kinds of ports on the UA5000 to ease the
maintenance.
Table 7–1 lists the commands for configuring the port description.
Table 7–1 Commands for configuring the port description
To… Use… In…
Configure the port description port desc Global config mode
Query the port description display port desc Global config mode
-
8/20/2019 07-Chapter 7 Configuring Ports
5/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-2
7.2.1 Describing a Port
To describe a port or to modify the description of a port, use the port desc command. A
description cannot exceed 33 bytes. By default, a port has no description.
Example
huawei(config)#port desc 0/7/0 description
{ description }: description_of_port0
7.2.2 Querying the Port Description
To query the description of a port, or to query a port by its description, use the display
port desc command.
I. Querying the port description
You can query the description of:
a specified port
all ports on a specified card
all ADSL, SHDSL and VDSL ports
Example
To query the description of port 0/7/0, do as follows:
huawei(config)#display port desc 0/7/0
--------------------------------------------------
F/ S/ P Port Description
--------------------------------------------------
0/ 7/ 0 description-of-port0
--------------------------------------------------
II. Querying the physical position of a port by description
Example
To query the physical position of a port by its description, do as follows:
huawei(config)#display port desc bydesc description
{ description }: description_of_port0
--------------------------------------------------
F/ S/ P Port Description
--------------------------------------------------
0/ 7/ 0 description-of-port0
--------------------------------------------------
Total: 1
-
8/20/2019 07-Chapter 7 Configuring Ports
6/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-3
7.3 Configuring the Ethernet Port on the IPM Card
In the backplane, the IPM card provides four FE ports to cascade the slave frame. In
the front panel, the IPM card provides one FE optical port, two FE electrical/optical
ports, and one or two GE optical ports to connect the upstream equipment.
Ethernet ports on the IPM card are numbered as follows.
0–1: The two ports on the Ethernet subcard. The upper port is numbered as 0, and
the lower port as 1. If the subcard offers only one FE or GE port, the port number is
0.
2–5: The four FE ports used for subtending the slave frame.
6–7: Two internal FE ports used to connect the PVM card. The port attributes must
be consistent with those of the ports of the PVM card. These two FE ports are
configured together. Use the default value in general.
7.3.1 Command List
Table 7–2 lists the commands for configuring an Ethernet port on the IPM card.
Table 7–2 Commands for configuring an Ethernet port
To… Use… In…
Enter the IPM mode interface ipm Global config mode
Enable/Disable an Ethernet
port
[undo] shutdown IPM card mode
Configure the duplex mode ofan Ethernet port
duplex IPM card mode
Enable/Disable the autonegotiation mode of the port
auto-neg portidenable/disable
IPM card mode
Set the bit rate of an Ethernetport
speed IPM card mode
Set the network cable type ofan Ethernet port
mdi IPM card mode
Enable/Disable an Ethernetport’s flow control [undo] flow-control IPM card mode
Configure/Cancel trafficsuppression
[undo] traffic-suppress IPM card mode
Configure/Cancel Ethernetport aggregation
[undo] link-aggregation IPM card mode
Query Ethernet portaggregation information
display link-aggregation IPM card mode
Configure/Cancel Ethernetport mirroring
[undo] mirror port IPM card mode
Query Ethernet port mirroring display mirror IPM card mode
-
8/20/2019 07-Chapter 7 Configuring Ports
7/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-4
To… Use… In…
Set the VLAN ID of the port Native-vlan IPM card mode
display port state IPM card mode
Query the state of anEthernet port display board frame/slot All command modes
Query the current traffic of anEthernet port
display port traffic IPM card mode
Query the statistics collectedon an Ethernet port
display port statistics IPM card mode
Clear the statistics collectedon an Ethernet port
reset statistics IPM card mode
7.3.2 Entering the IPM mode
To enter the IPM mode, use the interface ipm command. In this mode, you can
configure and manage the Ethernet ports on the IPM card.
7.3.3 Enabling/Disabling an Ethernet Port
To enable or disable an Ethernet port, use the [undo] shutdown command.
You can use an enabled Ethernet port. By default, the port is enabled.
7.3.4 Configuring the Attributes of a Port
Table 7–3 shows the Ethernet port attributes.
Table 7–3 Ethernet port attributes
Duplex Speed Cable type
Port typehalf full auto 10 M
100M
1000M
auto normal across auto
FE electricalport
Y Y Y Y Y N Y Y Y Y
FE optical port N Y N N Y N N N N N
GE optical port N Y N N N Y N N N N
“Y” means that the attribute is supported by the port, and “N” means that the attribute is not supported by the
port.
Follow the steps below to configure an Ethernet port.
I. Setting the duplex mode of an Ethernet port
To set the duplex mode of an Ethernet port, use the duplex command.
-
8/20/2019 07-Chapter 7 Configuring Ports
8/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-5
There are two types of duplex states: half duplex and full duplex.
In the half duplex mode, a port is allowed to transmit or receive data in only one
direction.
In the full duplex mode, a port is allowed to transmit and receive datasimultaneously.
When you configure the duplex mode, keep two connected ports consistent, and avoid
half duplex at one end but full duplex at the other.
Do not configure the duplex mode for an aggregation port.
II. Setting the line type of an Ethernet port
To set the line type of an Ethernet port, use the mdi command. The line types of
interconnected ports must be set consistently.
This setting is applicable to FE electrical ports, and not to FE/GE optical ports.
The network cable type of an FE electrical port can be either straight through or
cross-over cable. By default, the MDI type of the FE electrical port is auto (auto
sensing).
III. Setting the bit rate of an Ethernet port
Use the speed command to set the bit rate of an Ethernet port. The bit rate of two
interconnected ports must be consistent.
An FE electrical port supports both 10 Mbit/s and 100 Mbit/s. Its default setting is auto
(auto negotiation), and 100 Mbit/s is recommended.
An FE optical port supports only 100 Mbit/s, and a GE optical port supports only 1000
Mbit/s.
IV. Enabling/Disabling the flow control of an Ethernet port
Use the flow-control command to enable the flow control. Use the undo flow-control
command to disable it. By default, the flow control of an Ethernet port is disabled.
If congestion occurs, the system performs flow control only when it is enabled.
7.3.5 Configuring the Default VLAN of a Port
For the system to be compatible with terminals that do not support VLAN, configure a
default VLAN for the Ethernet ports on the IPM card. To configure a default VLAN for an
Ethernet port, use the native-vlan command.
When a port receives packets:
If the packets do not contain any VLAN tag, assign the default VLAN tags to them.
If the packets already contain VLAN tags, do not add the information.
When a port transmits packets:
-
8/20/2019 07-Chapter 7 Configuring Ports
9/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-6
If the default VLAN of the port is the same as the VLAN included in the transmitted
packets, the system removes the VLAN tag from these packets.
If not, the port keeps the VLAN tag with these packets for transparent VLAN
transmission.By default, the ID of the default VLAN (PVID) is 1. To modify the default VLAN of a port,
do as follows:
1) Create a standard VLAN, and then assign the port to the VLAN.
2) Define the created VLAN as the default VLAN.
Note:
A port can be configured with only one default VLAN.
Different ports can have the same default VLAN.
Example
To set the default VLAN of port 1 as 5, do as follows.
huawei(config-if-ipm-0/3)#native-vlan
{ portid|all }:1
{ vlan }:vlan
{ vlanid }:5
7.3.6 Configuring the Traffic Suppression
You can limit the throughput of broadcast packets, multicast packets and unknown
unicast packets passing through a port by discarding the packets that exceed the set
limit. This prevents the system from malicious attacks from unknown users and avoids
network congestion.
The UA5000 provides 12 traffic suppression levels.
To query the 12 traffic suppression levels, use the display traffic-suppress command.
Example
To query the traffic suppression level of port 0/3/2 on the IPM card, do as follows:
huawei(config-if-ipm-0/3)#display traffic-suppress
{ portid|all }:2
Traffic suppression ID definition:
---------------------------------------------------------------------
NO. Min bandwidth(kbps) Max bandwidth(kbps) Package number(pps)
---------------------------------------------------------------------
1 6 145 12
2 12 291 24
-
8/20/2019 07-Chapter 7 Configuring Ports
10/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-7
3 24 582 48
4 48 1153 95
5 97 2319 191
6 195 4639 382
7 390 9265 763
8 781 18531 1526
9 1562 37063 3052
10 3125 74126 6104
11 6249 148241 12207
12 12499 296483 24414
---------------------------------------------------------------------
Current traffic suppression ID of broadcast : 7
Current traffic suppression ID of multicast :--
Current traffic suppression ID of unicast : 7
Note:
The default traffic suppression level for broadcast and unknown unicast packets is
7.
The IGMP proxy is enabled by default. In this case, do not configure traffic
suppression levels for the multicast packets. Hence, disable the IGMP proxy before
configuring a traffic suppression level.
I. Setting a traffic suppression level
To set the traffic suppression level for a packet type, use the traffic-suppress
command.
Example
To set the traffic suppression level for broadcast packets on port 0/3/2 on the IPM card
as 6, do as follows:
huawei(config-if-ipm-0/3)#traffic-suppress
{ portid|all }:2
{ broadcast|multicast|unicast }:broadcast
{ value }:value
{ value }:6
Query the configuration result using the display traffic-suppress command.
huawei(config-if-ipm-0/3)#display traffic-suppress 2
Traffic suppression ID definition:
---------------------------------------------------------------------
NO. Min bandwidth(kbps) Max bandwidth(kbps) Package number(pps)
-
8/20/2019 07-Chapter 7 Configuring Ports
11/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-8
---------------------------------------------------------------------
1 6 145 12
2 12 291 24
3 24 582 48
4 48 1153 95
5 97 2319 191
6 195 4639 382
7 390 9265 763
8 781 18531 1526
9 1562 37063 3052
10 3125 74126 6104
11 6249 148241 12207
12 12499 296483 24414
---------------------------------------------------------------------
Current traffic suppression ID of broadcast : 6
Current traffic suppression ID of multicast :--
Current traffic suppression ID of unicast : 7
II. Cancelling the traffic suppression
To cancel the traffic suppression of a specified packet type, use the undo
traffic-suppress command.
Example
huawei(config-if-ipm-0/3)#undo traffic-suppress
{ portid|all }:2
{ broadcast|multicast|unicast }:broadcast
To query the configuration result, use the display traffic-suppress command.
huawei(config-if-ipm-0/3)#display traffic-suppress
{ portid|all }:2
Traffic suppression ID definition:
---------------------------------------------------------------------
NO. Min bandwidth(kbps) Max bandwidth(kbps) Package number(pps)
---------------------------------------------------------------------
1 6 145 12
2 12 291 24
3 24 582 48
4 48 1153 95
5 97 2319 191
6 195 4639 382
7 390 9265 763
8 781 18531 1526
9 1562 37063 3052
-
8/20/2019 07-Chapter 7 Configuring Ports
12/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-9
10 3125 74126 6104
11 6249 148241 12207
12 12499 296483 24414
---------------------------------------------------------------------
Current traffic suppression ID of broadcast :OFF
Current traffic suppression ID of multicast :--
Current traffic suppression ID of unicast : 7
7.3.7 Aggregating Ethernet Ports
To aggregate Ethernet ports, use the link-aggregation command. To delete the
aggregated Ethernet port, use the undo link-aggregation command.
Port aggregation is intended to bundle multiple ports together so that the incoming and
outgoing load can be distributed among member ports. Meanwhile, to increase thesecurity of a link, ports within an aggregation group can serve as a backup for each
other.
Up to four aggregation groups can be configured for one IPM card, with each group
containing up to eight ports.
Note:
The operations on the master port take effect on all ports in the aggregation group.
Two aggregation modes are available: ingress and ingress-egress. The ingress mode
means that packets are distributed among member ports according to the source MAC
address. The ingress-egress mode means that packets are distributed among member
ports according to both the source and destination MAC addresses.
To aggregate multiple physical ports, make sure that the following preconditions are
met.
All physical ports are located in the same slot.
All these ports work in the full duplex mode.
The network cable of these ports cannot be in the auto negotiation mode.
These ports work at the same bit rate and the bit rate cannot be in the auto
negotiation mode.
These ports have the same default VLAN (PVID) and VLAN attributes.
A port belongs to only one aggregation group.
None of these ports is a member of an aggregation group
None of these ports is a mirror destination port.
Example
To configure an ingress aggregation group consisting of ports 0 and 1, do as follows.
-
8/20/2019 07-Chapter 7 Configuring Ports
13/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-10
1) Configure the port aggregation parameters.
The ports to be aggregated must work at the same bit rate and in full duplex mode.
huawei(config-if-ipm-0/3)# mdi 0 normal
huawei(config-if-ipm-0/3)# mdi 1 normal
huawei(config-if-ipm-0/3)#duplex 0 full
huawei(config-if-ipm-0/3)#duplex 1 full
huawei(config-if-ipm-0/3)#speed 0 100
huawei(config-if-ipm-0/3)#speed 1 100
2) Configure the port aggregation.
huawei(config-if-ipm-0/2)#link-aggregation
{ port-list }:0,1
{ mode }:ingress
3) Query the port aggregation information.Use the display link-aggregation command to view the information about an
aggregation group, including master port, member ports and aggregation mode.
huawei(config-if-ipm-0/2)#display link-aggregation
-----------------------------------------------
Master port Sub-ports Mode
-----------------------------------------------
0 1 ingress
-----------------------------------------------
Total: 1 link-aggregation set(s)
7.3.8 Configuring Ethernet Port Mirroring
The IPM card has the port-based mirroring function. It can duplicate the packets
passing one or multiple ports (source port) to the monitor port (destination port) for
analysis and monitoring. With the port mirroring function, you can monitor all source
ports by analysing the packets of the destination port, greatly facilitating the fault
location.
To configure port mirroring, use the mirror port command. To eliminate port mirroring,
use the undo mirror port command.
Note:
Do not define an aggregated port as the mirror destination port. You can define it as
the mirror source port.
The switchover of the control card clears all port mirroring settings.
-
8/20/2019 07-Chapter 7 Configuring Ports
14/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-11
Example
1) Establish a port mirroring which mirrors source ports 2 and 3 to destination port 4
in the transmitting direction:
huawei(config-if-ipm-0/3)# mirror port { src-port-list }:2,3
{ dst-portid }:4
{ mirror-direction }:ingress
Add port 2,3 ingress direction as mirror source port successfully
2) After the port mirroring is established, use the display mirror command to query
the port mirroring.
huawei(config-if-ipm-0/3)#display mirror
------------------------------------------------
Source port Direction Destination port
------------------------------------------------
2 ingress 4
3 ingress 4
------------------------------------------------------------------------
3) If the port mirroring is established, use the mirror port command to add new
source ports to it.
huawei(config-if-ipm-0/2)# mirror port 0x2 3 egress
Add port 1 egress direction as mirror source port successfully
7.3.9 Querying Port Information
The related commands are as follows.
To query the configurations of an Ethernet port, use the display board
frameid /slotid command.
To query the state of an Ethernet port, use the display port state command.
To query the current traffic of an Ethernet port, use the display port traffic
command.
To query the statistics of an Ethernet port, use the display port statistics
command.
7.4 Configuring the ATM Port
Table 7–4 lists the commands for configuring an ATM port.
Table 7–4 Commands for configuring an ATM port
To… Use… In…
Enter the AIU mode interface aiu Global config mode
Enter the optic mode sub-interface optic AIU mode
-
8/20/2019 07-Chapter 7 Configuring Ports
15/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-12
To… Use… In…
Set the port type uni-nni-set Optic mode
Set the port Tx clock tx clock Optic mode
Query the available port resources display resource Optic mode
Set the available VPI number for theVC connection
vpi-num-for-vcc Optic mode
Query the port statistics display statistic Optic mode
Reset the port statistics reset statistic Optic mode
Insert an alarm event to a port event-insert Optic mode
Stop inserting an alarm event to aport
undo event-insert Optic mode
Query the inserted alarm event display event-insert Optic mode
Insert a BIP bit error event to a port bip-insert Optic mode
Set/Cancel the loopback [undo] loopback Optic mode
Set the port mode portmode Optic mode
Set the ALS switch als Optic mode
Query the state of the ALS switch display als Optic mode
Manually start an optical port tosend the optical detection signal
als-startup Optic mode
Query the alarm state of a port display alarm Optic mode
7.4.1 Entering the Port Mode
You must enter the optic mode to configure the 155M ATM port on the AIU card.
1) Enter the AIU mode using the interface aiu command.
2) Enter the optic mode using the sub-interface optic command.
Example
huawei(config)#interface aiu 0/7
huawei(config-if-aiu-0/7)#sub-interface optic
huawei(config-if-aiu-0/7.optic)#
7.4.2 Querying the State of an ATM Port
To query the state of an ATM port, use the display board command.
huawei(config-if-aiu-0/7.optic)#display board 0/7
---------------------------------------
Board Name : H601AIUB
-
8/20/2019 07-Chapter 7 Configuring Ports
16/84
-
8/20/2019 07-Chapter 7 Configuring Ports
17/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-14
7.4.5 Querying VP/VC Resources of an ATM Port
To query the application resources of an ATM port, use the display resource
command. Port resources include the maximum number of VP and VC connections,
and so on.
Example
To query the VP/VC resources of ATM port 0/7/0, do as follows:
huawei(config-if-aiu-0/7.optic)#display resource 0
The total VPIs supported by the port is 256
The number of available VPIs of VC connection supported by the port is 8
Max VP connection support on this port is 248
Max VC connection support on this port is 7936
Available VPI scope is {0,255}
Available VCI scope is {32,1023}
The port is configured as UNI
Port speed 155Mbps
Port of 155M does not support SD alarm
7.4.6 Setting the maximum VPI Number for a VC Connection
To set the maximum VPI number for a VC connection, use the vpi-num-for-vcc
command. The vpi number must be 2n, such as 1, 2, 4, 8…128.
7.4.7 Setting the Port Mode
To set the working mode of an ATM port, use the port mode command. To query the
working mode, use the display board command.
The 155 Mbit/s port can work in the OC-3c/STS-3c or STM-1 mode. By default, the port
works in the STM-1 mode.
7.4.8 Querying the Port Statistics
To query the statistics of an ATM port, use the display statistic command. The
statistical information includes receiving/transmitting cells and bit error events of the
ATM port.
7.4.9 Clearing the Port Statistics
To clear all the statistics of an ATM port, use the clear statistic command.
7.4.10 Inserting an Alarm Event
To insert an alarm event into an ATM port, use the event-insert command.
You can insert the following alarm event into the ATM port:
-
8/20/2019 07-Chapter 7 Configuring Ports
18/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-15
Line alarm indication signal (LAIS)
Loss of frame (LOF)
Loss of signal (LOS)
Line remote defect indication (LRDI) Path alarm indication signal (PAIS)
Example
To insert the LOS alarm event into ATM port 0, do as follows.
huawei(config-if-aiu-0/7.optic)#event-insert 0 los
huawei(config-if-aiu-0/7.optic)#display event-insert 0
Inserted LOS event
To stop inserting alarm events into an ATM port, use the undo event-insert command.
To query the inserted alarm event, use the display event-insert command.
7.4.11 Inserting a BIP Bit Error Event
To insert a BIP bit error event, use the bip-insert command.
You can insert the following BIP bit error events into the ATM port:
Line BIP bit error (LBIP)
Path BIP error event (PBIP)
Section BIP bit error event (SBIP)
7.4.12 Setting the Loopback of an ATM Port
To set the loopback test, use the loopback command.
The ATM port supports local loopback and remote loopback.
In the local loopback, the system duplicates cells transmitted from the AIU card to
the port. The duplicated cells will be sent back to the AIU card.
In the remote loopback, the system duplicates the cells sent to the backplane. The
duplicated cells will be sent back to the ATM port.
Figure 7–1 shows the loopback.
-
8/20/2019 07-Chapter 7 Configuring Ports
19/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-16
Subcard
tx
rx
AIU
remote
local
B a c k pl an e
Figure 7–1 Loopback diagram
To disable the loopback after the loopback test is completed, use the undo loopback
command.
7.4.13 Configuring the ALS Switch of an Optical Port
When a communication link fails, the Automatic Laser Shutdown (ALS) function can
shut down the optical sources automatically at both ends of the link. After that, the
devices on both sides send optical signals regularly to detect the link state until the link
resumes. After the link resumes, the optical ports on both sides work normally.
I. Enabling/Disabling the ALS function
To enable or disable the ALS function, use the als enable/disable command. By
default, the function is disabled. When the ALS function is disable, the optical port on
the device does not shut down even when the link fails.
Example
Assume that:
The delay time of sending the optical detection signal is 100s (delaytime).
The port sends the optical detection signal at the interval of 50s (txontime).
To enable the ALS function, do as follows:
huawei(config-if-aiu-0/7.optic)#als enable
{ portid }:0
{ |delaytime }:100
{ txontime }:50
-
8/20/2019 07-Chapter 7 Configuring Ports
20/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-17
Note:
By default, the delay time is 90s and the txontime is 10s.
For the ATM optical ports configured with the 1+1 port protection, do not enable the
ALS function.
II. Querying the ALS switch state
To query the state of the ALS switch, use the display als command.
huawei(config-if-aiu-0/7.optic)#display als
{ portid }:0
ALS is enable
Current ALS TxOn time: 50(second)
Current ALS delaytime: 100(second)
III. Manually sending optical detection signals
To manually send the optical detection signal, use the als-startup command.
7.4.14 Querying the Port Alarm State
When a port fails, use the display alarm command to query its alarm state. Based on
the alarm information, you can locate the fault.
7.5 Configuring the E3/DS3 Port
UA5000 provides E3 and DS3 ports through the AIUB card. Table 7–5 lists the
commands for configuring the E3/DS3 port.
Table 7–5 Configuration commands for the E3/DS3 port
To… Use… In…
Enter the E3 mode sub-interface e3 AIU mode
Enter the DS3 mode sub-interface ds3 AIU modeConfigure the port type uni-nni-set E3/DS3 mode
Configure the port line type linetype E3/DS3 mode
Configure the port Tx clock tx clock E3/DS3 mode
Query port resources display resource E3/DS3 mode
Set available VPI number for VCconnection
vpi-num-for-vcc E3/DS3 mode
Query port statistical information display statistic E3/DS3 mode
Reset port statistical information reset statistics E3/DS3 mode
-
8/20/2019 07-Chapter 7 Configuring Ports
21/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-18
To… Use… In…
Query the port line state display linestatus E3/DS3 mode
Set/Delete loopback [undo] loopback E3/DS3 mode
Query configurations of card and port display board Any mode
7.5.1 Entering the E3/DS3 Port Mode
To enter the E3 mode, do as follows:
1) Use the interface aiu command to enter the AIU mode.
2) Use the sub-interface e3 command to enter the E3 mode.
To enter the DS3 mode, do as follows:
1) Use the interface aiu command to enter the AIU mode.
2) Use the sub-interface ds3 command to enter the DS3 mode.
Example
huawei(config)#interface aiu 0/7
huawei(config-if-aiu-0/7)#sub-interface
{ima|optic|e3/ds3 }:e3/ds3
Command:
sub-interface e3/ds3
huawei(config-if-aiu-0/7.e3/ds3)#
7.5.2 Setting a Port as UNI or NNI
To set a port as UNI or NNI, use the uni-nni-set command. By default, it is a UNI. When
two E3/DS3 ports are interconnected, their properties must be consistent.
The setting will take effect after the card is reset.
Note:
Delete all PVC and PVP configurations associated with the port before you set it as a
UNI or NNI.
7.5.3 Setting the Port Line Type
To specify the line type of an E3/DS3 port, use the linetype command.
Line types supported by both the E3 and DS3 ports are:
G.751 with PLCP encapsulation (e3Plcp)
-
8/20/2019 07-Chapter 7 Configuring Ports
22/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-19
G.751 without PLCP encapsulation (e3Framed)
G.832 (e3other )
Line types supported only by the DS3 port are:
ds3CbitAdm
ds3M32Adm
ds3CbitPlcp
ds3M32Plc
7.5.4 Setting the Port Tx Clock
To set the Tx clock of the E3/DS3 port, use the tx clock port { system | line} command.
The port Tx clock includes system clock and line clock.
System clockWhen the system clock is selected for the transmission port, the signals in the
transmission line will lock the TDM or SDH clock of the system. Use the system clock
when the peer network element is synchronized to the UA5000.
Line clock
When the line clock is selected for the transmission port, the clock extracted from the
receiving port will be sent back to the Tx clock. Use the line clock when the UA5000 is
synchronized to the peer network element.
7.5.5 Querying the Port Resources
To query the application resources of an E3/DS3 port, use the display resource
command. Port resources include the maximum number of VP and VC connections,
and so on.
7.5.6 Setting the maximum VPI Number for a VC Connection
To set the maximum VPI number for a VC connection, use the vpi-num-for-vcc
command.
7.5.7 Querying the Port Statistics
To query the statistics of an E3/DS3 port, use the display statistic command. The
statistics include Rx/Tx cells and bit error events of the E3/DS3 port.
7.5.8 Clearing the Port Statistics
To clear the statistics of an E3/DS3 port, use the clear statistic command.
-
8/20/2019 07-Chapter 7 Configuring Ports
23/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-20
7.5.9 Querying the Port Line State
To query the line state of an E3/DS3 port, use the display linestatus command. The
state can be basic line state or extended line state.
7.5.10 Querying the Interval Statistics
To query the statistics within different intervals for an E3/DS3 port, use the command
below:
display interval-statistics port { current-15minutes | last-24hours |
15minutes-Interval 15minutes-IntervalNo }
The parameters are described below:
current-15minutes means to query the statistics of current 15 minutes.
last-24hours means to query the statistics of current 24 hours.
15minutes-Interval means to query the statistics by the time interval (15
minutes).
15minutes-InvervalNo is the interval index (1–96).
The query interval is 15 minutes. So, the query times within 24 hours is 96
(24 × 60/15=96).
7.5.11 Setting the Loopback
To carry out the loopback test, use the loopback command.
To stop the loopback, use the undo loopback command.
Loopback test is a frequently used troubleshooting method. The E3/DS3 port supports
both local loopback and remote loopback.
In the local loopback, cells from the AIU card to the E3/DS3 port are sent back to
the AIUB card directly.
In the remote loopback, cells received by the E3/DS3 port are sent out directly and
do not pass through the AIUB card.
7.5.12 Querying the Configuration of a Card and Its Ports
To query the details of a card and its ports, use the display board command.
7.6 Configuring the IMA Port
The Inverse Multiplexing for ATM (IMA) de-multiplexes the ATM cell flow into multiple
low-speed links, and multiplexes them at the far end to reassemble the original ATM
cell flow. The IMA enables transmitting ATM cells over existing links (especially 2 Mbit/s
links).
-
8/20/2019 07-Chapter 7 Configuring Ports
24/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-21
The IMA technology includes multiplexing and demultiplexing ATM cells. The functional
group that performs the multiplexing and demultiplexing is called an IMA group. An IMA
group terminates at the end of each IMA virtual connection.
The UA5000 provides IMA interfaces through the E8IA subcard attached to the AIUcard.
Figure 7–2 shows the configuration procedure of the IMA service.
Start
Configure the IMA group mode
Configure the IMA group
Configure the IMA link
Configure the PVC
End
QuerytheIMAconfiguration
Figure 7–2 IMA service configuration procedure
Table 7–6 lists the commands for IMA configuration.
Table 7–6 Commands for IMA configuration
To… Use… In…
Add an IMA group. ima group add IMA mode
Query the settings of IMA groups. display ima group IMA mode
Delete an IMA group. ima group delete IMA mode
Configure the clock mode of an IMAgroup.
ima group modeclockmode
IMA mode
Configure the CRC4 status of anIMA group.
ima group modecrc4-multiframe
IMA mode
Configure the scramble setting ofan IMA group.
ima group modescramble
IMA mode
-
8/20/2019 07-Chapter 7 Configuring Ports
25/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-22
To… Use… In…
Block/unblock an IMA group.[undo] ima groupblock
IMA mode
Configure loobpack/releaseloopback for an IMA group.
[undo] ima grouploopback
IMA mode
Add an IMA link. ima link add IMA mode
Query the settings of IMA links. display ima link IMA mode
Block/unblock an IMA link. [undo] ima link block IMA mode
Delete an IMA link. ima link delete IMA mode
Query the IMA configurations. display ima config IMA mode
Before you configure the IMA service, confirm the configuration scheme of
interconnection data.
The following parameters shall be negotiated with the peer equipment.
IMA ID
IMA protocol version
IMA frame length
Whether to enable CRC4
IMA group scramble
IMA group clock mode
Transmission clock
7.6.1 Entering the IMA Mode
Before configuration, enter the IMA mode.
Example
To enter the IMA mode of the AIU card at frame 0 slot 6, do as follows:
huawei(config-if-aiu-0/6)#sub-interface ima
huawei(config-if-aiu-0/6.ima)#
7.6.2 Adding an IMA Group
Use the following command to add an IMA group:
ima group add groupindex version mintxlinks minrxlinks { itc | ctc } imaid framelength
alpha_value beta_value gamma_value
In this command:
The IMA protocol version includes version 1.0 and version 1.1. IMA groups with
different versions cannot communicate with each other.
-
8/20/2019 07-Chapter 7 Configuring Ports
26/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-23
minTxLinks and minRxLinks indicate the minimum numbers of transmitted links
and received links respectively. One IMA group shall have at least one link. So, the
minimum link number shall be configured. These two parameter values are the
same. CTC and ITC refer to two types of clock modes. Common Transmit Clock (CTC)
means that the transmitting clocks of all links in the group lock the same clock
source. Independent Transmit Clock (ITC) means that the transmitting clocks of
links in the group lock different clock sources. When the IMA uses the system
clock, configure the CTC mode for the group clock. When the IMA uses the line
clock, configure the ITC mode for the group clock.
Framelength indicates the length of an IMA frame, that is, the number of cells one
IMA frame contains. The values include 32, 64, 128, and 256. Usually select 128.
alpha, beta and gamma are the status machine parameters of the IMA. When the
IMA link receives consecutively a certain number of frames of the specified type
(the number is specified by alpha_value, beta_value, and gamma_value
respectively), the status of IMA group will transfer.
The settings of an IMA group shall be consistent at both near end and far end. The links
of an IMA group at near end cannot be configured to two IMA groups at far end.
For example, to add an IMA group, do as follows:
huawei((config-if-aiu-0/6.ima)#ima group add 0 version1.1 2 2 ctc 0 128 2 2
1
Note:
One IMA subcard supports four IMA groups. Each group can be configured with one
to eight E1 links. Each E1 link can belong to only one IMA group.
One IMA group has one group index and one IMA ID. These two values are often
set to be the same.
7.6.3 Querying an IMA Group
To query the information about an IMA group, use the display ima group command.
I. Querying failure status of an IMA group
To query the failure status of an IMA group, use the display ima group fail-status
command. The queried information includes: failure status, near-end failure number
and far-end failure number.
-
8/20/2019 07-Chapter 7 Configuring Ports
27/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-24
II. Querying IMA group parameters
To show the parameters of an IMA group, use the display ima group parameter
command.
The queried parameters include:
Near end symmetry
Far end symmetry
Minimum transmitted links
Minimum received links
Near end clock mode
Far end clock mode
Transmission reference link
Receiving reference link
Transmission IMA ID
Receiving IMA ID
Transmission frame length
Transmission frame length
Maximum inter-link delay cells
Alpha
Beta
Gamma
Transmission protocol version
Receiving protocol version
III. Querying running status of an IMA group
To query the running status of an IMA group, use the display ima group run-status
command.
The queried information includes:
Near end group status
Far end group status
Available transmission bandwidth
Available receiving bandwidth Tx config link count
Rx config link count
Tx active link count
Rx active link count
Test status
IV. Querying performance statistics of an IMA group
To query the performance statistics of an IMA group, use the following command:
display ima group performance-statistics groupId { total | current | interval
intervalIndex }
-
8/20/2019 07-Chapter 7 Configuring Ports
28/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-25
The queried information includes:
Unavailable duration
Near end failure number
Far end failure number
The following describes the parameters of this command.
total: to query the total performance statistics.
current: to query the current performance statistics.
interval: to query the performance statistics by time interval.
intervalIndex : interval index (0–95). The performance statistics interval is 15 minutes,
so, the measuring times in 24 hours is 96 (24 × 60/15 = 96). Therefore, the interval
index ranges 0–95.
Note:
Query the performance statistics and statistics status of the IMA group after you
configure the IMA links in the IMA group.
V. Querying the statistics status of an IMA group
To show the statistics status of an IMA group, use the display ima group
performance-status command.
The queried information includes:
Valid interval number
Invalid interval number
Past seconds
7.6.4 Deleting an IMA Group
To delete an unused group, use the ima group delete command.
If the deleted IMA group has IMA links, the links will also be deleted at the same time.
When the IMA group has loopback or PVC connection, this IMA group cannot be
deleted.
After an IMA group is created, to modify the IMA ID or IMA frame length, you have to
delete this IMA group and then create a new one. At this time, the peer IMA group has
recorded the data of the previous IMA group, and cannot update it automatically. In this
case, use the ima group reset command at the peer end to reset the IMA group.
-
8/20/2019 07-Chapter 7 Configuring Ports
29/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-26
7.6.5 Setting the IMA Group Mode
I. Setting the clock mode
To set the clock mode of an IMA group, use the ima group mode clockmode{ groupindex | all } { line |system } command.
The clock of an IMA group can lock the line clock or system clock. By default, it locks
the system clock. When two IMA subcards are interconnected, the clock modes at both
sides shall be different.
II. Setting the CRC4 function
To set the CRC4 function of an IMA group, use the ima group mode crc4-multiframe
groupindex {off|on} command. By default, the CRC4 function is disabled.
The CRC4 function is to perform the CRC for E1 frame. Note the CRC4 setting whenthe UA5000 is interconnected with equipment of other manufacturers.
III. Setting the scramble function
To set the scramble function, use the ima group mode scramble groupindex {off|on}
command. By default, the scramble function is disabled.
Use the scramble function to avoid that the payload of ATM cell has the same digital
string as the cell header.
The settings of CRC4 and scramble functions shall be consistent at both ends of the
lines.
7.6.6 Blocking/Unblocking an IMA Group
To block an IMA group, use the ima group block groupId command. You cannot block
an IMA group if it has no link.
To unblock an IMA group, use the undo ima group block groupId command.
7.6.7 Enabling/Disabling IMA Group Loopback
To enable the loopback to an IMA group, use the ima group loopback command. Theloopback type includes local loopback and remote loopback.
To disable the loopback, use the undo ima group loopback command.
When the transmission clock of an IMA group is the line clock, do not configure the local
loopback for this group. When the IMA ID, IMA frame length and minimum link number
of two interconnected IMA groups are different, you cannot activate the IMA group after
the loopback.
7.6.8 Adding an IMA Link
The IMA service only supports the symmetrical working mode.
-
8/20/2019 07-Chapter 7 Configuring Ports
30/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-27
To add IMA links, use the ima link add groupindex linkid command.
In this command, linkid is the IMA link ID, ranging 0–7. Each IMA group supports up to
eight E1 links. Each E1 link can only belong to one IMA group.
7.6.9 Querying an IMA Link
To query the information about an IMA link, use the display ima link command.
I. Querying IMA link parameters
To query the IMA link parameters, use the display ima link parameter command.
II. Querying running status of an IMA link
To query the running status of an IMA link, use the display ima link run-status
command.
III. Querying performance statistics of an IMA link
To query the performance statistics about an IMA link, use the command bellow:
display ima link performance-statistics linkId {total | current | interval
intervalIndex }
The following describes the parameters of this command.
total: to query the total performance statistics.
current: to query the current performance statistics.
interval: to query the performance statistics by time interval.
intervalIndex : interval index (0–95).
IV. Querying the statistics status of an IMA link
To query the statistics status of an IMA link, use the display ima link
performance-status command.
The queried information includes:
Valid interval number
Invalid interval number
Past seconds
7.6.10 Setting the IMA Link Test
Use the ima link test activate command to test:
the transmitting/receiving status of the specified link
the receiving status of other links in the same group.
The relevant information is shown in alarms.
After the link test completes, the system will deactivate the test.
-
8/20/2019 07-Chapter 7 Configuring Ports
31/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-28
If exceptions occur during the test, you can use the undo ima link test activate
command to deactivate the test.
7.6.11 Blocking/Unblocking an IMA Link
You can block the IMA link in the transmitting or receiving direction or both directions.
To block the IMA link, use the ima link block linkid {tx | rx} command. To unblock the
IMA link, use the undo ima link block linkid {tx | rx } command.
7.6.12 Deleting an IMA Link
To delete links from an IMA group, use the ima link delete command.
However, you cannot delete a link if:
The IMA group of the link has loopback. The IMA group has PVC connection, and the bandwidth of the group is less than
the allocated bandwidth after the link is deleted.
The IMA group has PVC connection, and the number of links of this group is less
than the minimum numbers of received/transmitted links.
The link to be deleted is the last link in the IMA group.
To delete the last link in an IMA group, use the ima group delete command to delete it
together with the group.
To add a link to a new group after it is deleted from one group, both this NE link and FE
link in this group must be deleted and then added to the new group. Otherwise, the NEand FE will be inconsistent.
7.6.13 Querying the IMA Configuration
To query the IMA configuration, use the display ima config command.
The queried information includes the configurations and status of the IMA group and
link.
7.6.14 Configuring the PVC
Use the pvc command to create the PVC connection between the IMA group and other
ports.
When the PVC is created, the parameter frame/slot refers to the frame number/slot
number of the AIU board. The IMA group number is also needed.
7.6.15 Setting the Maximum Number of VPI for the VC Connections
Use the vpi-num-for-vcc command to modify the maximum number of VPI for the VC
connections of the IMA group. The number must be 2 to the power of n such as 1, 2,
4, …, 256.
-
8/20/2019 07-Chapter 7 Configuring Ports
32/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-29
Use the display resource command to show the existing maximum number of VPIs.
Example
To set the maximum number of VPI to 4, do as follows:
huawei(config-if-aiu-0/6.ima)#vpi-num-for-vcc 0 4
This operation may result in board reset, whether to continue? (y/n)[n]:y
Board resetting is under way...
Caution:
Modifying the maximum number of VPIs will result in the card reset.
7.7 Configuring the ADSL Port
The UA5000 supports multiple cards that can provide different types of ADSL ports and
ADSL services. See Table 7–7.
Table 7–7 The relation between ADSL cards and ADSL ports
ADSL Cards Description
ADLB Provides 16 ADSL ports and the ADSL over POTS service
ADLF Provides 16 ADSL ports and the ADSL over ISDN service
ADM Provides 16 ADSL2+ ports and the ADSL over POTS service
CSL Provides 16 ADSL ports and the ADSL over POTS service
Provides 16 POTS ports and the voice service
CSMCProvides 16 ADSL2+ ports, 16 POTS ports, and the ADSL2+over POTS service, and the voice service
The commands and procedure for configuring the above ADSL cards are the same.
Table 7–8 lists the commands for configuring an ADSL port.
-
8/20/2019 07-Chapter 7 Configuring Ports
33/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-30
Table 7–8 Commands for configuring the ADSL port
To… Use… In…
Enter the ADSL mode interface adsl Global config mode
Query the ADSL port state display port state ADSL mode
Activate an ADSL port activate ADSL mode
Deactivate an ADSL port deactivate ADSL mode
Configure an ADSL lineprofile
adsl line-profile { add |delete | modify }
ADSL mode and theglobal config mode
Query the settings of an ADSL line profile
display adsl line-profile ADSL mode and theglobal config mode
Configure an ADSL alarm
profile
adsl alarm-profile { add
| delete | modify }
ADSL mode and the
global config mode
Query the ADSL alarm profileconfiguration
display adslalarm-profile
ADSL mode and theglobal config mode
Bind the ADSL alarm profilewith an ADSL port
alarm-config ADSL mode
Reset the ADSL chipset chipset reset ADSL mode
Set the ADSL port loopback loopback ADSL mode
Query the modem version display modem ADSL mode
Query the ADSL lineconfiguration display parameter ADSL mode
Query the statistics about an ADSL port
display statistics ADSL mode
Query the line parametersafter port activation
display line ADSL mode
Query the current alarm stateof the ADSL port
display alarm state ADSL mode
Query the threshold idmeanings in the threshold
alarm
display thresholdid info ADSL mode
Clear the port statistics reset statistics ADSL mode
Note:
The ADSL2+ card does not support the reset statistics command.
-
8/20/2019 07-Chapter 7 Configuring Ports
34/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-31
7.7.1 Querying the ADSL Port State
To query the ADSL port state, use the display port state command.
The state includes: activating, activated, deactivating and deactivated. Among them,the activating and deactivating states are transitional states.
By default, the ADSL port uses the default line profile 1, and the ADSL2+ port uses the
default line profile 1002. Once a port is connected with an ATU-R and the link between
ATU-R and ATU-C is normal, the port is activated.
7.7.2 Setting the ADSL Line Profile
Set the following parameters when you activate the ADSL port:
ADSL working mode
Channel mode
Upstream and downstream line rates
Signal to noise ratio (SNR) margin
Most of these parameters are the same for all the ATM ports. The ADSL line profile sets
these parameters. So, after the profile is configured successfully, the port can reference
it in the activation.
I. Adding the ADSL line profile
Use the adsl line-profile add command to add an ADSL line profile.
The UA5000 has four default profiles, with the profile indexes 1, 1000, 1001 and 1002.
Their functions are as follows:
Use profile 1 to activate the common ADSL port.
Use profile 1000 to activate the common ADSL port quickly.
Use profile 1001 to activate the long-distance ADSL port.
Use profile 1002 to activate ports on the ADSL2+ cards.
Parameters in the default profile are only for reference. You can change them if
necessary.
Figure 7–3 shows the configuration procedure for the ADSL line profile.
-
8/20/2019 07-Chapter 7 Configuring Ports
35/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-32
Start
Set the upstream and downstreamrates
Set the line profile index/name
Select the ADSL lineparameter type
Set the trellis coding
Set the bit swap function
Interleaved or
fast mode?
Set the interleaved delay
Set the downstreamadaptation mode
Set the Modem SNR margin
Set the adaptAtRuntimeparameters
Set the shift time to enable theadaptAtRuntime function
End
Interleaved
Fast
0-fixed/1-adaptAtStartup
2-adaptAtRuntime
Set the Modem SNR margin
Figure 7–3 Configuration procedure of the ADSL line profile
There are two kinds of ADSL line parameters: one is ADSL and the other is ADSL2+.
The following takes the ADSL2+ port as example for how to configure the ADSL profile.
1) Set the index and name of an ADSL line profile.
huawei(config)#adsl line-profile
{ add|modify|delete }:add
{ |profile-index }:
Start adding profile
-
8/20/2019 07-Chapter 7 Configuring Ports
36/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-33
Press 'Q' to quit the current configuration and new configuration will
be neglected
> Do you want to name the profile (y/n) [n]:
Input a profile index that is unique in the whole system, or press Enter to get aprofile index automatically. In this case, the system allocates the smallest idle
index to the profile.
2) Select the line parameter type.
> Please choose default value type 0-adsl 1-adsl2+ (0~1) [0]: 1
Input “1” here to select the ADSL2+ line profile.
3) Perform the basic configuration.
> Will you set basic configuration for modem? (y/n)[n]:Y
Input “Y” to perform the basic configuration.
The basic configuration sets:
— The ADSL working mode
— The trellis coding
— The downstream channel bit swap
— The upstream channel bit swap
The following describes these settings.
Set the ADSL working mode.
Note: Setting to these mode of G992.3~5 will lead that the adsl ports that
are not support adsl2+ not be activated
ADSL transmission mode:
> 0: All (G992.1~5,T1.413)
> 1: Full rate(G992.1/3/5 or T1.413)
> 2: g.lite(G992.2/4) (ADLI board doesn't support g.lite operating mode)
> 3: T1.413(ADLI board doesn't support T1.413 operating mode)
> 4: g.dmt (G992.1/3/5)
> 5: g.hs (G992.1~5, G992.5 is prior)
> 6: G992.1
> 7: G992.2
> 8: G992.3
> 9: G992.4
> 10:G992.5
Please select (0~10) [0]:
The UA5000 supports multiple ADSL standards, as shown in Table 7–9.
-
8/20/2019 07-Chapter 7 Configuring Ports
37/84
-
8/20/2019 07-Chapter 7 Configuring Ports
38/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-35
> Upstream channel bit swap 0-disable 1-enable (0~1) [1]:
4) Select the channel working mode.
> Please select channel mode 0-interleaved 1-fast (0~1) [0]:0
Input 0 to enable the interleaved mode, or 1 to enable the fast mode.
There are two channel modes: interleaved mode and fast mode. By default, the
interleaved mode is enabled. In the fast mode, the transmission delay of the ADSL
data is smaller than that in the interleaved mode, but the fast mode is less stable
than the interleaved mode. For the Internet access service, use the interleaved
mode. For delay sensitive services such as VOD, use the fast mode.
If you select the fast mode, you must set the SNR and the upstream and
downstream rate of the modem. If you select the interleaved mode, you must set
the interleaved parameters as follows.
5) Set the interleaved delay.
> Will you set interleaved delay? (y/n)[n]: y
Set the maximum downstream interleaving delay.
> Maximum downstream interleaved delay(0~255 ms) [16]:
Set the maximum upstream interleaving delay.
> Maximum upstream interleaved delay(0~255 ms) [6]:
6) Set the downstream rate adaptation mode.
> Please select form of transmit rate adaptation in downstream:
> 0-fixed 1-adaptAtStartup 2-adaptAtRuntime (0~2) [1]: 2
The mode includes fixed, adapt at startup and adapt at runtime. When the defaultparameter type is ADSL, only 0 and 1 are available. The downstream rate can be
trained in various situations.
Fixed: In this mode, the ADSL port is activated at the fixed downstream rate. The
rate must be the same as the maximum/minimum downstream rate set in the line
profile.
Adapt at startup: In this mode, the ADSL port sets up a connection at the best rate
based on the result of its training with the ATU-R. The rate falls in the range of the
maximum and minimum rates set in the profile.
Adapt at runtime: In this mode, the line rate is adjusted according to the line state.
If the line state deteriorates, lower the rate to enhance the stability of the
connection. If the line state is good, increase the line rate.
Note:
Only the ADSL2 or ADSL2+ supports adaptation at runtime. The ADSL does not
support this function.
7) Set the modem SNR margin.
-
8/20/2019 07-Chapter 7 Configuring Ports
39/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-36
> Will you set SNR margin for modem? (y/n)[n]: y
Select the default value generally. Input “N” to ignore the SNR margin of the
modem. Input “Y” to set the modem SNR margin.
In the line parameters, the SNR margin includes target SNR margin, maximum
SNR margin and minimum SNR margin.
SNR margin for a modem is directly proportional to the stability of the ADSL
connection. That is to say, the larger the SNR margin for the modem, the more
stable is the ADSL connection. However, the SNR margin is inversely proportional
to the bit rate of an activated physical connection. That is to say, the larger the
SNR margin, the lower is the activated physical connection rate.
To set the SNR margin, the system prompts the following information.
Set the target downstream SNR margin.
> Target SNR margin in downstream(0~15dB) [6]:
The target SNR margin refers to the noise margin reserved when the data
communication is normal. It is used to keep the communication normal if the line
noise deteriorates. The larger the SNR margin, the smaller is the possibility of a
system transmission error, and the safer is the system. However, the larger the
SNR margin, the smaller is the traffic flow, and the lower is the data transmission
rate.
After the target SNR margin is set, the ADSL creates the connection and
determine the physical rate of the connection based on this SNR margin.
Set the minimum downstream SNR margin.
> Minimum SNR margin in downstream (0~6 dB) [0]:
If the SNR margin is smaller than the minimum SNR margin, the system increases
the transmission power. After that, if the problem persists, reactivate the line.
Set the maximum downstream SNR margin.
> Maximum SNR margin in downstream (6~31 dB) [31]:
Use the default value 31 dB.
If the line SNR margin is larger than the maximum SNR margin, the system lowers
the transmission power.
Set the target upstream SNR margin.
> Target SNR margin in upstream (0~15 dB) [6]:
Set the minimum upstream SNR margin.
> Min. SNR margin in upstream (0–12 dB) [0]:
Set the maximum upstream SNR margin.
> Maximum SNR margin in upstream (6~31 dB) [31]:
8) Set the parameters for adaptation at runtime.
This step applies to only the ADSL2/ADSL2+ and the adaptation mode must be
adaptAtRuntime.
-
8/20/2019 07-Chapter 7 Configuring Ports
40/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-37
Set the SNR margin threshold for enabling the adaptAtRuntime function.
When the SNR margin reaches the limit for lowering or increasing the rates, the
adaptAtRuntime function is enabled.
> DownStream SNR margin for rate downshift (0~5 dB) [3]:
> DownStream SNR margin for rate upshift (7~31 dB) [9]:
> UpStream SNR margin for rate downshift (0~5 dB) [0]:
> UpStream SNR margin for rate upshift (7~31 dB) [12]:
Set the shift time for enabling the adaptAtRuntime function.
The system adjusts the line rate only when the SNR margin reaches the threshold
for enabling the adaptAtRuntime function and keeps the state for a period. The
period of time is the shift time.
> Will you set shifttime? (y/n)[n]: y
> Minimum Downshift time in downstream (0~16383 second) [60]:
> Minimum Upshift time in downstream (0~16383 second) [60]:
> Minimum Downshift time in upstream (0~16383 second) [0]:
> Minimum Upshift time in upstream (0~16383 second) [0]:
9) Set the rate parameters.
> Will you set parameters for rate? (y/n)[n]:Y
Input N to ignore the setting, or input Y to set the rate parameters.
The rate settings are related to the stability of the connection. Under the same
conditions, a very high rate results in an unstable connection. In general, the
default settings are recommended.
To set the rate parameters, the system prompts the following information.
Set the minimum downstream bit rate.
> Minimum bit rate in downstream (32~32000 Kbps) [32]:
If the calculated downstream rate is smaller than the minimum downstream rate,
the port is not activated.
To specify the fixed rate, set the minimum value the same as the maximum value.
Set the maximum downstream bit rate.
> Maximum bit rate in downstream (32~32000 Kbps) [24544]:
Set the minimum upstream bit rate.
> Minimum bit rate in upstream (32~3000 Kbps) [32]:
If the calculated upstream rate is smaller than the minimum upstream rate, the
port is not activated.
Set the maximum upstream bit rate.
> Maximum bit rate in upstream (32~3000 Kbps) [1024]:
10) Prompt the successful setting of the ADSL line profile.
After you set the upstream maximum bit rate and the ADSL line profile, the system
prompts the following message.
-
8/20/2019 07-Chapter 7 Configuring Ports
41/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-38
Add profile 2 successfully
The message contains the ADSL line profile index. Here, it is 2. The referencing
and deleting of this profile will be based on the profile index.
II. Querying the ADSL line profile
Use the display adsl line-profile command to query the ADSL line profile.
If you do not specify a profile index, the system lists the brief information about profiles.
The information contains:
Profile index
ADSL working mode
Channel working mode
Maximum and minimum upstream/downstream rates
If you specify a profile index, the system lists its detailed information. The information
includes interleaving delay, SNR margins and so on.
Example
To query the ADSL default profile (Profile 1), do as follows:
huawei(config)# display adsl line-profile 1
--------------------------------------------------------------------
Profile index :1 Name: DEFVAL
ADSL transmission mode : All(G992.1~5,T1.413)
Trellions mode : Enable
Upstream channel bit swap : Disable
Downstream channel bit swap : Disable
Channel mode : Interleaved
Maximum downstream interleaved delay(ms) : 6
Maximum upstream interleaved delay(ms) : 6
Target downstream SNR margin(dB) : 6
Maximum acceptable downstream SNR margin(dB) : 31
Minimum acceptable downstream SNR margin(dB) : 0
Target upstream SNR margin(dB) : 6
Maximum acceptable upstream SNR margin(dB) : 31Minimum acceptable upstream SNR margin(dB) : 0
Downstream SNR margin for rate downshift(dB) : 0
Downstream SNR margin for rate upshift(dB) : 0
Upstream SNR margin for rate downshift(dB) : 0
Upstream SNR margin for rate upshift(dB) : 0
Minimum upshift time in downstream(seconds) : 0
Minimum downshift time in downstream(seconds) : 0
Minimum upshift time in upstream(seconds) : 0
Minimum downshift time in upstream(seconds) : 0
Downstream Form of transmit rate adaptation : Adapting at startup
-
8/20/2019 07-Chapter 7 Configuring Ports
42/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-39
Minimum transmit rate downstream(Kbps) : 32
Maximum transmit rate downstream(Kbps) : 6144
Minimum transmit rate upstream(Kbps) : 32
Maximum transmit rate upstream(Kbps) : 640
--------------------------------------------------------------------
Example
To query the ADSL2+ default profile (Profile 1002), do as follows:
huawei(config)#display adsl line-profile 1002
--------------------------------------------------------------------
Profile index :1002 Name: ADSL LINE PROFILE 1002
ADSL transmission mode : All(G992.1~5,T1.413)
Trellions mode : Enable
Upstream channel bit swap : EnableDownstream channel bit swap : Enable
Channel mode : Interleaved
Maximum downstream interleaved delay(ms) : 16
Maximum upstream interleaved delay(ms) : 6
Target downstream SNR margin(dB) : 6
Maximum acceptable downstream SNR margin(dB) : 31
Minimum acceptable downstream SNR margin(dB) : 0
Target upstream SNR margin(dB) : 6
Maximum acceptable upstream SNR margin(dB) : 31
Minimum acceptable upstream SNR margin(dB) : 0
Downstream SNR margin for rate downshift(dB) : 0
Downstream SNR margin for rate upshift(dB) : 0
Upstream SNR margin for rate downshift(dB) : 0
Upstream SNR margin for rate upshift(dB) : 0
Minimum upshift time in downstream(seconds) : 0
Minimum downshift time in downstream(seconds) : 0
Minimum upshift time in upstream(seconds) : 0
Minimum downshift time in upstream(seconds) : 0
Downstream Form of transmit rate adaptation : Adapting at startupMinimum transmit rate downstream(Kbps) : 32
Maximum transmit rate downstream(Kbps) : 24544
Minimum transmit rate upstream(Kbps) : 32
Maximum transmit rate upstream(Kbps) : 1024
--------------------------------------------------------------------
III. Modifying the ADSL line profile
To modify the ADSL line profile, use the adsl profile modify command.
-
8/20/2019 07-Chapter 7 Configuring Ports
43/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-40
After you modify the ADSL line profile, the system displays the message that the new
configuration will take effect immediately.
Note:
If the modified profile has already been referenced by the port, the system uses the
modified parameters to activate the port again.
IV. Deleting the ADSL line profile
To delete the ADSL line profile, use the adsl profile delete command.
Note:
You cannot delete the ADSL line profiles 1, 1000, 1001 and 1002.
You can also not delete ADSL line profiles referenced by the port.
7.7.3 Setting the ADSL Alarm profile
You can use the ADSL alarm profile to set alarm thresholds, to count and supervise the
performances of an active ADSL line. Once the threshold exceeds the limit, the
UA5000 informs the equipment of the event, and sends alarms to the log host and the
NMS.
In practice, as most of the ports share the same settings, the UA5000 system provides
the ADSL alarm profile. After the profile is set successfully, use the alarm-config
command to bundle a port.
I. Adding an ADSL alarm profile
To add an ADSL alarm profile, use the adsl alarm-profile add command.
Note:
The UA5000 has its own ADSL alarm profile, with an index 1. By default, the ADSL port
is bound with this profile.
-
8/20/2019 07-Chapter 7 Configuring Ports
44/84
Operation Manual – IPM VolumeUA5000 Universal Access Unit Chapter 7 Configuring Ports
Huawei Technologies Proprietary
7-41
S