Documente Academic
Documente Profesional
Documente Cultură
Table of Contents
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
Huawei Technologies Proprietary
i
Table of Contents
Table of Contents
Ethernet ports
E3/DS3 ports
IMA ports
ADSL ports
ADSL2+ ports
SHDSL ports
VDSL ports
Use
In
port desc
a specified port
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
--------------------------------------------------
Port Description
-------------------------------------------------0/ 7/ 0
description-of-port0
-------------------------------------------------Total: 1
01: 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.
25: The four FE ports used for subtending the slave frame.
67: 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.
Use
In
interface ipm
Enable/Disable an Ethernet
port
[undo] shutdown
duplex
auto-neg portid
enable/disable
speed
mdi
Enable/Disable an Ethernet
ports flow control
[undo] flow-control
Configure/Cancel traffic
suppression
[undo] traffic-suppress
Configure/Cancel Ethernet
port aggregation
[undo] link-aggregation
display link-aggregation
Configure/Cancel Ethernet
port mirroring
display mirror
To
Use
In
Native-vlan
reset statistics
Speed
Port type
Cable type
half
full
auto
10 M
100
M
1000
M
auto
normal
across
auto
FE optical port
GE optical port
FE
port
electrical
Y means that the attribute is supported by the port, and N means that the attribute is not supported by the
port.
There are two types of duplex states: half duplex and full duplex.
z
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 data
simultaneously.
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.
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.
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)
Note:
z
Example
To set the default VLAN of port 1 as 5, do as follows.
huawei(config-if-ipm-0/3)#native-vlan
{ portid<U><0,7>|all<K> }:1
{ vlan<K> }:vlan
{ vlanid<U><1,4000> }:5
Min bandwidth(kbps)
Max bandwidth(kbps)
Package number(pps)
--------------------------------------------------------------------1
12
145
291
12
24
24
582
48
48
1153
95
97
2319
191
195
4639
382
390
9265
763
781
18531
1526
1562
37063
3052
10
3125
74126
6104
11
6249
148241
12207
12
12499
296483
24414
: 7
:--
: 7
Note:
z
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.
Min bandwidth(kbps)
Max bandwidth(kbps)
Package number(pps)
--------------------------------------------------------------------1
145
12
12
291
24
24
582
48
48
1153
95
97
2319
191
195
4639
382
390
9265
763
781
18531
1526
1562
37063
3052
10
3125
74126
6104
11
6249
148241
12207
12
12499
296483
24414
: 6
:--
: 7
Min bandwidth(kbps)
Max bandwidth(kbps)
Package number(pps)
--------------------------------------------------------------------1
145
12
12
291
24
24
582
48
48
1153
95
97
2319
191
195
4639
382
390
9265
763
781
18531
1526
1562
37063
3052
10
3125
74126
6104
11
6249
148241
12207
12
12499
296483
24414
:OFF
:--
: 7
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.
z
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.
Example
To configure an ingress aggregation group consisting of ports 0 and 1, do as follows.
Huawei Technologies Proprietary
7-9
1)
2)
3)
Sub-ports
Mode
----------------------------------------------0
ingress
Note:
z
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.
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<S><1,255> }:2,3
{ dst-portid<U><0,7> }:4
{ mirror-direction<E><ingress,egress,all> }: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
ingress
-----------------------------------------------------------------------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
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.
Use
In
interface aiu
sub-interface optic
AIU mode
To
Use
In
uni-nni-set
Optic mode
tx clock
Optic mode
display resource
Optic mode
vpi-num-for-vcc
Optic mode
display statistic
Optic mode
reset statistic
Optic mode
event-insert
Optic mode
undo event-insert
Optic mode
display event-insert
Optic mode
bip-insert
Optic mode
[undo] loopback
Optic mode
portmode
Optic mode
als
Optic mode
display als
Optic mode
als-startup
Optic mode
display alarm
Optic mode
2)
Example
huawei(config)#interface aiu 0/7
huawei(config-if-aiu-0/7)#sub-interface optic
huawei(config-if-aiu-0/7.optic)#
: H601AIUB
Board Status
: Failed
------------------------------------------------------------------------Subboard[0]: H601O1CNG
Status: Failed
Line
Port
Loop
Optical
Type
Phy
Type
Line
Type
Rate
IF
(Mbps) Type
-------------------------------------------------------------------------0 ATM
Fail
No
System No
Single
Optical
STM-1
155 UNI
--------------------------------------------------------------------------
Note:
z
Delete all PVCs and PVPs associated with the port before you set it as a UNI or NNI.
Set the two interconnected ATM ports with the same port type.
System clock
When the system clock is selected for the transmission port, the signals in the
transmission line will lock the UA5000 system clock. Use the system clock when the
peer network element is synchronized to the UA5000. By default, an ATM port uses the
system clock as the Tx clock.
z
Line clock
When the line clock is selected for the transmission port, UA5000 extracts the clock
from the reception port and uses the clock as the transmission clock. Use the line clock
when the UA5000 is synchronized to the peer network element.
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.
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.
Subcard
Backplane
remote
tx
local
rx
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).
Note:
z
For the ATM optical ports configured with the 1+1 port protection, do not enable the
ALS function.
Use
In
sub-interface e3
AIU mode
sub-interface ds3
AIU mode
uni-nni-set
E3/DS3 mode
linetype
E3/DS3 mode
tx clock
E3/DS3 mode
display resource
E3/DS3 mode
vpi-num-for-vcc
E3/DS3 mode
display statistic
E3/DS3 mode
reset statistics
E3/DS3 mode
To
Use
In
display linestatus
E3/DS3 mode
Set/Delete loopback
[undo] loopback
E3/DS3 mode
display board
Any mode
2)
2)
Example
huawei(config)#interface aiu 0/7
huawei(config-if-aiu-0/7)#sub-interface
{ima<K>|optic<K>|e3/ds3<K> }:e3/ds3
Command:
sub-interface e3/ds3
huawei(config-if-aiu-0/7.e3/ds3)#
Note:
Delete all PVC and PVP configurations associated with the port before you set it as a
UNI or NNI.
G.832 (e3other)
ds3CbitAdm
ds3M32Adm
ds3CbitPlcp
ds3M32Plc
System clock
When 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.
z
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.
The query interval is 15 minutes. So, the query times within 24 hours is 96
(24 60/15=96).
Loopback test is a frequently used troubleshooting method. The E3/DS3 port supports
both local loopback and remote loopback.
z
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.
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 AIU
card.
Figure 72 shows the configuration procedure of the IMA service.
Start
End
Use
In
IMA mode
IMA mode
IMA mode
IMA mode
IMA mode
IMA mode
To
Use
In
IMA mode
Configure loobpack/release
loopback for an IMA group.
IMA mode
IMA mode
IMA mode
IMA mode
IMA mode
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.
z
IMA ID
Transmission clock
The IMA protocol version includes version 1.0 and version 1.1. IMA groups with
different versions cannot communicate with each other.
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:
z
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.
Transmission IMA ID
Receiving IMA ID
Alpha
Beta
Gamma
Test status
Unavailable duration
Note:
Query the performance statistics and statistics status of the IMA group after you
configure the IMA links in the IMA group.
Past seconds
To add IMA links, use the ima link add groupindex linkid command.
In this command, linkid is the IMA link ID, ranging 07. Each IMA group supports up to
eight E1 links. Each E1 link can only belong to one IMA group.
Past seconds
If exceptions occur during the test, you can use the undo ima link test activate
command to deactivate the test.
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.
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 NE
and FE will be inconsistent.
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.
Description
ADLB
ADLF
ADM
CSL
CSMC
z
z
The commands and procedure for configuring the above ADSL cards are the same.
Table 78 lists the commands for configuring an ADSL port.
Use
In
interface adsl
ADSL mode
activate
ADSL mode
deactivate
ADSL mode
display adsl
alarm-profile
alarm-config
ADSL mode
chipset reset
ADSL mode
loopback
ADSL mode
display modem
ADSL mode
display parameter
ADSL mode
display statistics
ADSL mode
display line
ADSL mode
ADSL mode
ADSL mode
reset statistics
ADSL mode
Note:
The ADSL2+ card does not support the reset statistics command.
Channel mode
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.
Parameters in the default profile are only for reference. You can change them if
necessary.
Figure 73 shows the configuration procedure for the ADSL line profile.
Start
Fast
Interleaved or
fast mode?
Interleaved
Set the interleaved delay
0-fixed/1-adaptAtStartup
2-adaptAtRuntime
Set the Modem SNR margin
Press 'Q' to quit the current configuration and new configuration will
be neglected
>
Input a profile index that is unique in the whole system, or press Enter to get a
profile index automatically. In this case, the system allocates the smallest idle
index to the profile.
2)
0: All
(G992.1~5,T1.413)
>
>
4: g.dmt (G992.1/3/5)
>
5: g.hs
>
6: G992.1
>
7: G992.2
>
8: G992.3
>
9: G992.4
>
10:G992.5
Please select
(0~10) [0]:
Standard
G992.1 and T1.413
G992.2 (G.Lite)
G992.3 (G.dmt.bis)
G992.4 (G.lite.bis)
G992.5 (G.dmt.bisplus)
First generation
ADSL
Second generation
ADSL
Description
The connection cannot be created for the ADSL port if the working mode of the
UA5000 is different from that of the ATU-R. In the actual application, the ATU-R
uses any type of G992.15, and T1.413. So, select the 0 for the ADSL port. The
ATU-R decides the specific working mode.
z
Note:
z
The bit swap takes effect only when both the ADSL cards and the RTU support the
bit swap.
Enable this function to test the seamless rate adaptive function of the
ADSL2/ADSL2+.
4)
6)
>
The mode includes fixed, adapt at startup and adapt at runtime. When the default
parameter type is ADSL, only 0 and 1 are available. The downstream rate can be
trained in various situations.
z
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)
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.
z
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.
z
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.
z
8)
[31]:
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.
>
>
>
>
9)
>
>
>
>
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.
z
If the calculated upstream rate is smaller than the minimum upstream rate, the
port is not activated.
z
Maximum
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.
Profile index
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
: All(G992.1~5,T1.413)
Trellions mode
: Enable
: Disable
: Disable
Channel mode
: Interleaved
: 6
: 6
: 6
: 31
: 0
: 6
: 31
: 0
: 0
: 0
: 0
: 0
: 0
: 0
: 0
: Adapting at startup
: 32
: 6144
: 32
: 640
--------------------------------------------------------------------
Example
To query the ADSL2+ default profile (Profile 1002), do as follows:
huawei(config)#display adsl line-profile 1002
-------------------------------------------------------------------Profile index :1002
: All(G992.1~5,T1.413)
Trellions mode
: Enable
: Enable
: Enable
Channel mode
: Interleaved
: 16
: 6
: 6
: 31
: 0
: 6
: 31
: 0
: 0
: 0
: 0
: 0
: 0
: 0
: 0
: Adapting at startup
: 32
: 24544
: 32
: 1024
--------------------------------------------------------------------
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.
Note:
z
You cannot delete the ADSL line profiles 1, 1000, 1001 and 1002.
You can also not delete ADSL line profiles referenced by the port.
Note:
The UA5000 has its own ADSL alarm profile, with an index 1. By default, the ADSL port
is bound with this profile.
Start
Set the alarm profile
index
Set the local alarm
threshold
Set the remote alarm
threshold
End
alarm-profile
add
Provide a profile index or press Enter to enable the system to designate a number
for it. As the profile index is unique, you can delete or modify the alarm profile by
its number.
To configure an ADSL alarm profile, you must configure the ATU-C and the ATU-R
alarm thresholds.
2)
Within 15 minutes, if the loss of frame seconds exceeds the threshold, the system
generates an alarm.
z
Within 15 minutes, if the loss of signal seconds exceeds the threshold, the system
generates an alarm.
z
Within 15 minutes, if the loss of link seconds exceeds the threshold, the system
generates an alarm.
z
Within 15 minutes, if the power-off seconds exceed the threshold, the system
generates an alarm.
z
Within 15 minutes, if the errored seconds exceed the threshold, the system
generates an alarm.
z
Within 15 minutes, if the retraining failure times exceed the threshold, the system
generates an alarm.
z
Within 15 minutes, if the severely error code times exceed the threshold, the
system generates an alarm.
z
Within 15 minutes, if the local end available seconds exceed the threshold, the
system generates an alarm.
z
Set the positive difference threshold between the transmission rate in the fast
mode and the former rate.
>
When the ADSL channel works in the fast mode, compared with the former mode,
if the increased rate within 15 minutes exceeds the threshold, alarms are
reported.
z
Set the positive difference threshold between the transmission rate in interleaved
mode and the former rate.
>
When the ADSL channel works in the interleaved mode, compared with the former
mode, if the increased rate within 15 minutes exceeds the threshold, the system
generates an alarm.
z
Set the negative difference threshold between the transmission rate in fast mode
and the former rate.
When the ADSL channel works in fast mode, compared with the former mode, if
the increased rate within 15 minutes exceeds the threshold, the system generates
an alarm.
z
Set the negative difference threshold between the transmission rate in interleaved
mode and the former rate.
>
When the ADSL channel works in interleaved mode, compared with the former
mode, if the increased rate within 15 minutes exceeds the threshold, the system
generates an alarm.
3)
Set the positive difference threshold between the transmission rate in fast mode
and the former rate.
>
Set the positive difference threshold between the transmission rate in interleaved
mode and the former rate.
>
Set the negative difference threshold between the transmission rate in the fast
mode and the former rate.
>
Set the negative difference threshold between the transmission rate in the
interleaved mode and the former rate.
>
Name: DEFVAL
<ATU-C >
The number of Loss of Frame Seconds
: 0
: 0
: 0
: 0
: 0
: Disable
: 0
: 0
: 0
: 0
: 0
: 0
: 0
<ATU-R >
The number of Loss of Frame Seconds
: 0
: 0
: 0
: 0
: 0
: 0
: 0
: 0
: 0
: 0
--------------------------------------------------------------------
Note:
This profile is the default alarm profile. Its default values are listed above.
Note:
Do not delete the default alarm profile 1.
Note:
z
Example
The following example shows how to add an ADSL extended line profile that masks
sub-carriers 8090 and validate the profile.
huawei(config-if-adsl-0/9)#adsl extline-profile add
{ <cr>|profile-index<L><1,32> }:
Command:
adsl extline-profile add
Start adding profile
Press 'Q' to quit the current configuration and new configuration will be
neglected
>
>
>
>
>
>
Command:
display adsl extline-profile 1
-------------------------------------------------------Profile Index : 1
Value
Section 1
80 - 90
Effective
y
Section 2
Section 3
Section 4
Activate the ADSL port before you use it to transmit services. To activate an ADSL port
is to perform training between the ATU-C and the ATU-R to check the line distance and
state. In the process of training, the system will check the ADSL operating mode,
channel mode, upstream and downstream line rates and SNR margin as specified by
an ADSL line profile. The near end also negotiates with the far end equipment to check
if the equipment can work normally under the above-mentioned conditions.
If the training succeeds, the connection is set up between the near end and far end
equipment, the service transmission is ready, and the port is activated.
If the far end equipment is online, the activation process ends once the training
succeeds.
If the far end equipment is offline, the communication connection set up during the port
activation is disconnected, and then the near end is in the detection state.
Once the far end equipment is online again, the training will be performed automatically.
After the training succeeds, the port is activated.
After the ADSL port is deactivated, the connection between the near end and far end
equipment does not exist any more. Activate the port again before you use it to transmit
services.
Caution:
During the chipset resetting, the services of all ports will be interrupted. Exercise
caution to reset the chipset.
modes: UTOPIA, AFE and HYBRID. The ADM card supports all local loopback modes,
the ADL and CSLA cards support the UTOPIA loopback only. If no loopback mode
supported by the card is inputted, the system will prompt failure. The loopback test can
be started only when the port is in the deactivated state.
In the UTOPIA/AFE/HYBRID loopback, cells from the ADSL card to the chipsets of the
ADSL ports are sent back to the ADSL card.
ADSL Card
UTOPIA
HYBRID
AFE
Backplane
DSP
AFE
HYBRID
III. Querying the line parameters after the ADSL port activation
To query the line parameters, use the display line command. Before the query, make
sure the port is activated.
z
Select operation to query the actual parameters after the port activation.
Select bit-allocation to query the bit distribution of the port. The bit allocation
shows how the line rate is allocated on the 256 ADSL sub-carriers or the 512
ADSL2+ sub-carriers.
Select snr to query the sub-carrier SNR of the port. At present, the ADSL2+ port
does not support this function.
To query the port state, use the display port state command.
Huawei Technologies Proprietary
7-49
To query brief information on all ports, use the display port state all command.
To query information on a port, use the display board command. The results are
the same as the display port state all command.
Use
In
To
Use
In
display shdsl
alarm-profile
interface sdl
chipset reset
SDL mode
activate
SDL mode
deactivate
SDL mode
[undo] loopback
SDL mode
power-backoff
SDL mode
display inventory
SDL mode
SDL mode
SDL mode
display
performance
SDL mode
statistics
Note:
The system default SHDSL line profile is profile 1. By default, this profile is used.
Yes
Use the
default data?
No
4-wire SHDSL
End
line-profile
add
You can specify a profile index or leave it to be allocated by the system. The profile
index will be used for referencing or deleting this profile.
2)
If you choose y, the default line profile 1 will be referenced for creating a new
profile. The link configuration procedure is finished here.
If you choose N, proceed the following steps to create a new line profile.
3)
There are two G.SHDSL interface modes: 2-wire and 4-wire. Select 1 to proceed
with configuring profile for a 2-wire SHDSL port, or 2 for a 4-wire SHDSL port.
Default is to set profile for a 2-wire SHDS port.
Note:
The line rate range of a 2-wire SHDSL port is 1922312 kbit/s. The line rate range of a
4-wire SHDS port is 3844608 kbit/s.
4)
The rate must be multiple of 64. If not, it will be rounded up to a multiple of 64.
Supposing the line rate entered is 280, it will be adjusted to 320 kbps. Meanwhile,
the following prompt will be display: Attention: 280 has been adjusted to 320
<kbps>.
5)
Set the G.SHDSL maximum line rate in the same way as the G.SHDSL minimum
line rate. If the maximum line rate equals the minimum line rate, the line rate is
fixed. If the maximum line rate is larger than the minimum line rate, the line rate
is rate-adaptive.
6)
Enter N, the SHDSL line profile configuration is completed so far. Enter Y, the
following message appears:
> Downstream current target SNR margin(010 db)[0]:0
:2
:PROFILE02
:two wire
:256
:640
PSD
:symmetric
Transmission mode
:G.991.2 Annex B
Remote enable
:enabled
Probe
:disabled
:0
:0
:0
:0x1
Reference status
:not referenced
--------------------------------------------------------z
TransMode
RefStatus
---------------------------------------------------------------------1
2
2048
1024
2048
G.991.2 Annex B
referenced
1024
G.991.2 Annex B
not referenced
----------------------------------------------------------------------
Note:
z
Use the
default data?
Yes
No
Set the loopback
attenuation threshold
Set the SNR
threshold
Set the error second
threshold
Set the CRC
threshold
Set the LOSW
threshold
Set the unavailable
second threshold
End
You can specify a profile index or leave it to be allocated by the system. The profile
index will be used for referencing or deleting this profile.
2)
If you choose Y, the system will use the default alarm profile 1 to create a new
profile. The configuration will complete here.
If you choose N, proceed with the following steps to create a new alarm profile.
3)
When the current alarm count reaches or exceeds this threshold, the system
generates an alarm. The default value is 0 dB, which means to disable the
reporting of this alarm.
4)
6)
The system prompts the successful setting of the SHDSL line profile
Add profile 2 successfully
When an SHDSL alarm profile is configured successfully, the system prompts the
message accordingly. The message contains the profile index. Here, it is profile 2.
The profile index will be used for referencing or deleting the profile.
Example
To query the information on profile 1, do as follows:
huawei(config)#display shdsl alarm-profile
{ <cr>|profile-index<L><1,99> }: 1
:1
:DEFVAL
:0
:0
ES threshold (unit:second)
:0
:0
:0
:0
:0
Reference status
used.
--------------------------------------------------------------------
Note:
z
The default alarm profile, with profile index of 1, must not be deleted.
To modify the alarm profile reference for an SHDS port, use the alarm-config
command. By default, all SHDSL ports reference alarm profile 1.
To query the configuration of all SHDSL ports, use the display port state
command.
To query the configuration details about the alarm profile reference of an SHDSL
port, use the display alarm-config command.
To set the power backoff for a port, you need to deactivate it first.
After resetting one chipset, the system will activate corresponding ports.
Note:
z
To bind the ports, both the master port and the slave port must be in deactivated
state.
Neither the master nor the slave port has PVC configuration reference.
The ports must be applicable for the activation referencing a 4-wire SHDSL line
profile.
After the binding, all operations for the two ports are performed by referencing the ID
of the master port.
To query the binding state of a port, use the display port state command.
huawei(config-if-shl-0/7)#display port state 2
------------------------------------------------------------------Port Running
ID
Status
Control
Status
Line
Alarm
Profile
Running
Config
Profile Operation
Operation
Bind
Status
------------------------------------------------------------------2
Deactivated
Deactive
Normal
None
Bind 2
Deactivated
Deactive
Normal
None
Bind 2
--------------------------------------------------------------------------
Note:
To release the binding of two ports, first you need to deactivate them and delete all
PVC configurations referencing the configuration.
To query the port state, use the display port state command.
To query the link state, use the display line state command.
To query all the information of the SHDSL port, use the display interface shdsl
command.
To query the inventory information, use the display inventory command. The
inventory information includes: Modem vendor identifier, vendor mode, vendor
serial No., vendor EOC version, SHDSL version, vendor list, software code,
transmission mode (G.991.2 Annex A, G.991.2 Annex B, G.991.2 Annex A&B)
and so on.
Use
In
interface vdsl
activate
VDSL mode
deactivate
VDSL mode
alarm-config
VDSL mode
port mode
VDSL mode
mirror
VDSL mode
default-vlanid
VDSL mode
vtu-r mode
VDSL mode
VDSL mode
port reset
VDSL mode
chipset reset
VDSL mode
[undo] loopback
VDSL mode
VDSL mode
display parameter
VDSL mode
To
Use
In
VDSL mode
display modem
VDSL mode
display statistics
ethernet
VDSL mode
display statistics
performance
VDSL mode
Note:
By default, the UA5000 uses profile 1 to activate the VDSL ports.
Start
You can input the profile index, or press Enter key to let the system allocate the
profile index. The profile index must be unique in the system. The profile index will
be used for referencing or deleting this profile.
2)
If the automatic training is enabled, the link will try to reach the preset bit rate while
guaranteeing the SNR margin. The training result is less than or equal to the
expected bit rate. If the system cannot satisfy the requirement of SNR when
working at the lowest bit rate, the link establishment will fail.
If the automatic training is disabled, the link will set its bit rate as the expected bit
rate. If this bit rate cannot be reached, the link establishment will fail, regardless of
the actual SNR.
3)
To keep the stability of the VDSL connection, set the maximum downstream bit
rate as 10000 kbit/s.
z
If the line condition is good enough, and the calculated downstream bit rate is
larger than the set one, the system will use the maximum downstream bit rate to
create the connection. But the downstream SNR margin will be increased.
If the line condition is poor, and the calculated downstream maximum bit rate is
smaller than the set one, the system will use the calculated downstream bit rate to
create the connection. The target downstream SNR margin will not be changed.
4)
Refer to Set the maximum downstream bit rate for the description.
5)
However, the larger the SNR margin, the smaller the traffic flow, and the lower the
transmission rate.
In practical, the upstream/downstream SNR margin should be set according to the
actual conditions of the line. If the line quality is good enough, the SNR margin
should be smaller to get the higher speed. If the line quality is poor, set the SNR
margin greater to make the transmission more stable.
8)
When a VDSL line profile is configured successfully, the system prompts the
message accordingly.
enable
10000
10000
60
60
Disable
----------------------------------------------------------
Example
To query all VDSL line profiles, do as follows.
huawei(config)#display vdsl line-profile
{ <cr>|profile_index<L><1,16> }:
------------------------------------------------------------------Profile Auto
index
Train
Max.Ds
Max.Us
Rate
Rate
Down
Up
Down
InterleaveDepth
SNR
Up
SNR
Notch
Filter
------------------------------------------------------------------1
Yes
10000
10000
60
60
Disable
Yes
10000
10000
60
60
Disable
-------------------------------------------------------------------
Note:
The default VDSL line profile (profile 1) cannot be deleted.
online, the activation process ends once the training succeeds. If the VTU-R is offline,
the established communication connection is released, and the VTU-C is in listening
state. Once the VTU-R is online again, the training starts. If the training succeeds, the
port is activated.
After a VDSL port is deactivated, the communication connection between the VTU-C
and the VTU-R during the activation is released. To start service transmission, you
need to activate this port again.
Note:
Profile 1 is the default VDSL alarm profile of the UA5000.
Start
End
You can enter a profile index, or press Enter to use the profile index allocated by
the system.
2)
4)
If this switch is enabled, the system generates an alarm when the line initiation
fails. If this switch is disabled, the system will not generate any alarm.
11) The system prompts the successful setting of the VDSL alarm profile.
Add profile 2 successfully
: Disable
-------------------------------------------------------------------
Note:
The default alarm profile (profile 1) cannot be deleted.
No matter what the port mode is, if the data packet itself does not contain the
VLAN, this data packet will be added with the default VLAN.
If the data packet itself contains the VLAN, it will not be added with the default
VLAN.
When the port mode is tagged, if the default VLAN of the port is equal to the VLAN
the transmitted data packet contains, the latter will be removed. If they are not
equal, the data packet will be transmitted together with this VLAN, thus realizing
the VLAN transparent transmission.
When the port mode is untagged, the VLAN contained in the data packet itself will
be removed unconditionally.
The mirrored port list is expressed in hexadecimal numbers. For example, there are
three mirrored ports 1, 3 and 5, the mirrored port list is 0x15. The binary digit 1 indicates
that this port is a mirrored port.
Example
In the receiving direction, mirror port 1 to port 0. In the sending direction, mirror ports 1,
3 and 5 to port 0.
huawei(config-if-vdsl-0/12)#mirror
{ portId<U><0,15> }:0
{ in-portList<H><0x...><0x0,0xffff> }::0x2
{ out-portList<H><0x...><0x0,0xffff> }:0x28
Set mirror successfully.
To query the information about the mirrored port, use the display mirror command.
Half-duplex
Transfer rate
10 M/100 M
Transfer rate
10 M/100 M
Whether to support
pause frame (pauseframe/non-pauseframe)
End
Caution:
Resetting chipset will temporarily drop users of all ports on this chipset. Exercise
caution when doing this operation.
To query the configuration of a port, use the display port state command.
To query the configurations of all ports, use the display port state all command.
To query all the information of a port, use the display board command in the
global config mode. The results are the same as that of the display port state
command.
To query the Ethernet statistics of a VDSL port, use the display statistics ethernet
command.
Huawei Technologies Proprietary
7-74
However, the remote Ethernet statistics will be output only when the port is activated.
z
To query the performance statistics of a VDSL port, use the display statistics
performance command. The information includes the statistics in the last 24 hours,
current 15 minutes, last 96 intervals and all statistics. The performance statistics is
available only after the port is activated.
2)
Set a VLAN that contains the testing port and tested VDSL port to avoid affecting
normal services.
3)
Use the loopback command to set the VDSL port into the loopback state. For the
VDSL remote loopback, create the VDSL link.
4)
Query the port setting and reset the port statistical information. For the VDSL
remote loopback, set the VDSL port into the full duplex mode, non-negotiate rate.
5)
Use the auxiliary test instrument to transmit a certain number of broadcast packets,
with the transmitting rate below 10 Mbit/s.
6)
Stop transmitting the packets and query the numbers of packets the port received
and transmitted. If the numbers of packets at all nodes are the same, the link
works normally.
7)
Use
In the
interface eau
speed
EAU mode
duplex
EAU mode
mdi
EAU mode
auto-neg
portid
enable/disable
EAU mode
native-vlan
EAU mode
[undo] flow-control
EAU mode
Activate/deactivate an Ethernet
port
[undo] shutdown
EAU mode
display port
statistics
EAU mode
EAU mode
EAU mode
EAU mode
display mirror
EAU mode
[undo]
link-aggregation
EAU mode
display
link-aggregation
EAU mode
To query the rate of a port, use the display port state command.
Example
To set the rate of port 0 to 100 Mbit/s, do as follows:
Huawei Technologies Proprietary
7-76
huawei(config-if-eau-0/10)#speed 0 100
Note:
If the port is in an aggregation group, its port rate cannot be modified.
To query the duplex mode of a port, use the display port state command.
Example
To set port 3 in the full duplex mode, do as follows:
huawei(config-if--eau-0/10)#duplex 0 full
Note:
The duplex mode of an aggregated port cannot be changed.
To query the MDI type, use the display port state command.
To configure the MDI type, use the mdi command. By default, the MDI type is auto,
that is, the port can be connected with either straight through or crossover cable.
Example
To set the network cable of port 0 as straight through, do as follows:
huawei(config-if-eau-0/10)#mdi 0 normal
Note:
z
The network cable connected with a port must be identical with the MDI setting of
the port.
To set the MDI of a port to auto, set either the port rate or the duplex mode as auto.
To query the default VLAN ID of a port, use the display port state command.
Example
To set the default VLAN ID of port 0 as 1, do as follows:
huawei(config)#vlan 1 smart
huawei(config)#port vlan 0/2 0
huawei(config)#interface eau 0/10
huawei(config-if-eau-0/10)#native-vlan 0 vlan 1
Note:
z
Do not use the default VLAN used by the other ports for setting up a PVC.
Example
To enable the flow control for port 0, do as follows:
Huawei (config-if-eau-0/10) #flow-control 0
To activate a port of the EAU card, use the undo shutdown command.
Note:
z
huawei(config-if-eau-0/10)#mirror port
{ src-port-list<S><1,255> }:1,2,4
{ dst-portid<U><0,7> }:3
{ mirror-direction<E><ingress,egress,all> }:egress
Set port mirror successfully
Note:
z
The EAU card supports up to 4 aggregation groups, and each of the groups
contains 28 ports.
In an aggregation group, the port with the smallest number is the master port. The
operations for the aggregation group are performed through the master port.
The EAU card supports two aggregation modes: ingress and ingress-egress.
z
In the ingress mode, packets are distributed among member ports according to
the source MAC address.
Example
To aggregate ports 3, 4, 5 and 6 in the ingress mode, do as follows:
huawei(config-if-eau-0/10)#link-aggregation 3,4,5,6 ingress
Add aggregation port successfully
Note:
To aggregate multiple ports, make sure that:
z
The port rate must be the same and cannot be auto negotiated.
-----------------------------------------------------------------Master Port
Sub-Ports
Mode
-----------------------------------------------------------------3
4,5,6
ingress
-----------------------------------------------------------------Total: 1 link-aggregation
Note:
z
Before you delete a port aggregation, delete all PVCs of the aggregated ports.
When an aggregated port is deleted, the default VLANs of its sub-ports are deleted.