Professional Documents
Culture Documents
Commissioning Guide (V600R001C00 - 03) PDF
Commissioning Guide (V600R001C00 - 03) PDF
V600R001C00
Commissioning Guide
Issue
03
Date
2010-03-31
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information,
and recommendations in this document are provided "AS IS" without warranties, guarantees or representations
of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute the warranty of any kind, express or implied.
Website:
http://www.huawei.com
Email:
support@huawei.com
Issue 03 (2010-03-31)
Product Version
The following table lists the product version involved in this document.
Product Name
Product Version
HUAWEI NetEngine80E/40E
V600R001C00
Intended Audience
This document is intended for:
l
Organization
This document is organized as follows.
Issue 03 (2010-03-31)
Chapter
Description
1 Commissioning Flow
2 Preparations for
Commissioning
iii
Chapter
Description
3 Basic Commissioning
A Appendix
Conventions
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol
Description
DANGER
WARNING
CAUTION
TIP
Indicates a tip that may help you solve a problem or save your
time.
NOTE
General Conventions
iv
Format
Description
Boldface
Italic
Courier New
Issue 03 (2010-03-31)
Command Conventions
Format
Description
Boldface
Italic
[]
{ x | y | ... }
[ x | y | ... ]
{ x | y | ... } *
[ x | y | ... ] *
&<1-n>
GUI Conventions
Format
Description
boldface
>
Keyboard Operation
Issue 03 (2010-03-31)
Format
Description
Key
Press the key. For example, press Enter, Tab, Backspace, and
a.
Key 1+Key 2
Key 1, Key 2
Press the keys in turn. For example, press Alt and F in turn.
Mouse Operations
Format
Description
Click
Select and release the primary mouse button without moving the
pointer.
Double-click
Drag
Press and hold the primary mouse button and move the pointer
to a certain position.
Update History
Updates between document versions are cumulative. Therefore, the latest document version
contains all updates made to previous versions.
vi
Issue 03 (2010-03-31)
Contents
Contents
About This Document...................................................................................................................iii
1 Commissioning Flow.................................................................................................................1-1
2 Preparations for Commissioning............................................................................................2-1
2.1 Hardware Preparation......................................................................................................................................2-2
2.2 Software Preparation.......................................................................................................................................2-2
2.3 Tool Preparation..............................................................................................................................................2-3
2.4 Data Preparation..............................................................................................................................................2-4
3 Basic Commissioning................................................................................................................3-1
3.1 Logging in to a Device Through the Console Interface..................................................................................3-2
3.2 Checking a Device..........................................................................................................................................3-4
3.2.1 Checking Software Versions..................................................................................................................3-5
3.2.2 Checking the Health Status of a Device.................................................................................................3-6
3.2.3 Checking License Files..........................................................................................................................3-6
3.2.4 Checking the Status of Boards...............................................................................................................3-7
3.2.5 Checking the Status of the FAN.............................................................................................................3-8
3.2.6 Checking the Status of the Power..........................................................................................................3-9
3.3 (Optional) Specifying a Device Name............................................................................................................3-9
3.4 Setting System Time.....................................................................................................................................3-10
3.5 Configuring a Management User to Remotely Log in to a Device...............................................................3-12
3.5.1 Configuring a User to Log in to a Device Through Telnet..................................................................3-12
3.5.2 (Operational) Configuring ACLs to Filter Login Users.......................................................................3-14
3.5.3 (Optional) Configuring a User to Log in to a Device Through FTP....................................................3-16
3.5.4 (Optional) Configuring a User to Log in to a Device Through SSH...................................................3-18
3.6 Commissioning the Link Layer.....................................................................................................................3-21
3.6.1 Commissioning the Link Layer of an Ethernet Interface.....................................................................3-22
3.6.1.1 Commissioning the Link Layer of an Ethernet Interface on an LPU................................................3-22
3.6.1.2 Commissioning the Link Layer of an Ethernet Interface on an MPU...............................................3-26
3.6.1.3 Configuring Layer 2 Parameters for an Ethernet Interface...............................................................3-27
3.6.2 Commissioning the Link Layer of a POS Interface.............................................................................3-27
3.6.3 Commissioning the Link Layer of a CPOS Interface..........................................................................3-31
3.6.3.1 Configuring an STM-1 CPOS Interface............................................................................................3-31
3.6.3.2 Configuring the E1 Channel of a CPOS Interface............................................................................3-33
Issue 03 (2010-03-31)
vii
Contents
A Appendix...................................................................................................................................A-1
A.1 clock (ATM interface view)..........................................................................................................................A-3
A.2 clock (CPOS interface view).........................................................................................................................A-4
A.3 clock (POS interface view)............................................................................................................................A-4
A.4 crc (POS interface view)...............................................................................................................................A-5
A.5 display power.................................................................................................................................................A-6
A.6 e1 channel-set (CPOS interface view)...........................................................................................................A-7
A.7 e1 set clock (CPOS interface view).............................................................................................................A-10
A.8 e1 set frame-format (CPOS interface view)................................................................................................A-11
A.9 e1 unframed (CPOS interface view)............................................................................................................A-12
A.10 e3 set clock (CPOS interface view)...........................................................................................................A-13
A.11 flag (atm interface view)............................................................................................................................A-14
A.12 flag (cpos interface view)..........................................................................................................................A-15
A.13 flag (pos interface view)............................................................................................................................A-16
A.14 fr dlci.........................................................................................................................................................A-17
A.15 fr interface-type.........................................................................................................................................A-18
A.16 frame-format (ATM OC/STM).................................................................................................................A-19
A.17 frame-format (CPOS interface view)........................................................................................................A-20
A.18 frame-format (POS interface view)...........................................................................................................A-21
A.19 link-protocol fr...........................................................................................................................................A-21
A.20 link-protocol (POS interface view)...........................................................................................................A-22
A.21 ppp authentication-mode...........................................................................................................................A-23
A.22 rule (ACL view)........................................................................................................................................A-24
A.23 scramble (ATM interface view)................................................................................................................A-30
A.24 scramble (POS interface view)..................................................................................................................A-31
A.25 snmp-agent community.............................................................................................................................A-32
viii
Issue 03 (2010-03-31)
Contents
Issue 03 (2010-03-31)
ix
Figures
Figures
Figure 1-1 Commissioning flow...........................................................................................................................1-2
Figure 3-1 Networking diagram of logging in to the NE80E/40E through the console interface........................3-2
Figure 3-2 Setting up a connection.......................................................................................................................3-3
Figure 3-3 Setting a connection port....................................................................................................................3-3
Figure 3-4 Setting communication parameters.....................................................................................................3-4
Figure 3-5 Networking diagram in out-band management mode......................................................................3-48
Figure 3-6 Networking diagram in in-band management mode (a Layer 3 interface accessing the NMS).......3-49
Figure 3-7 Networking diagram in in-band management mode (a Layer 2 interface accessing the NMS).......3-49
Figure 3-8 Networking for applying out-band NMS..........................................................................................3-55
Figure 3-9 Networking diagram of configuring OSPF......................................................................................3-56
Figure 3-10 Networking diagram of configuring IS-IS......................................................................................3-58
Figure 3-11 Networking for applying in-band NMS..........................................................................................3-61
Issue 03 (2010-03-31)
xi
Tables
Tables
Table 1-1 Introduction to the procedures involved in the commissioning flow...................................................1-2
Table 2-1 Hardware checklist...............................................................................................................................2-2
Table 2-2 Software checklist................................................................................................................................2-3
Table 2-3 Tool checklist.......................................................................................................................................2-3
Table 2-4 Data checklist.......................................................................................................................................2-4
Table 3-1 Data planning.....................................................................................................................................3-10
Table 3-2 Data planning.....................................................................................................................................3-10
Table 3-3 Data preparation.................................................................................................................................3-12
Table 3-4 Data preparation.................................................................................................................................3-15
Table 3-5 ACL classification..............................................................................................................................3-15
Table 3-6 Data preparation.................................................................................................................................3-17
Table 3-7 Data preparation.................................................................................................................................3-19
Table 3-8 Data Preparation.................................................................................................................................3-51
Table A-1 Description of the display power command output..........................................................................A-7
Table A-2 Description of the display interface serial command output...........................................................A-9
Table A-3 Relationship between icmp-name, icmp-type and icmp-code..........................................................A-28
Issue 03 (2010-03-31)
xiii
1 Commissioning Flow
Commissioning Flow
This chapter describes the basic flow of commissioning the NE80E/40E. Users can thus know
the entire process of device commissioning in site deployment.
You can follow the procedure to complete the commissioning. This document only describes
the preparations for commissioning and the basic commissioning of NE80E/40E.
Issue 03 (2010-03-31)
1-1
1 Commissioning Flow
Hardware
preparation
Software preparation
Typical service
commissioning
Basic commissioning
Log in to a device
through a console
interface
Check the device
Tool preparation
Specify a device
name
Data preparation
Configure system
time
Configure a user to
log in to a device
remotely
Commissioning the
Link Layer
Commissioning the
Network Layer
Connect a device to
the NMS
Save configurations
1-2
Commissioning Procedure
Description
Basic Commissioning
Issue 03 (2010-03-31)
Issue 03 (2010-03-31)
1 Commissioning Flow
Commissioning Procedure
Description
1-3
Issue 03 (2010-03-31)
2-1
Description
Downstream devices
NOTE
The hardware installation engineers have already checked Item 1 and Item 2 listed in Table 2-1. To ensure
the proper and reliable connection of the hardware, you can recheck the preceding items.
2-2
Issue 03 (2010-03-31)
Description
System software
package
GTL License
A user that purchases a new device needs to apply for and purchase
a GTL license to obtain authorization of related service modules.
Software
commissioning tools
Issue 03 (2010-03-31)
Item
Description
Check that cables connecting devices are complete and correct, and
interface types are consistent with cable types according to network
deployment.
l
Maintenance terminal
Optical power meter: used for checking the actual input power,
receiver sensibility, and overload optical power of optical
interfaces.
2-3
2-4
Item
Description
Hardware configuration
Networking mode
IP address allocation
VLAN division
Issue 03 (2010-03-31)
3 Basic Commissioning
Basic Commissioning
Issue 03 (2010-03-31)
3-1
3 Basic Commissioning
Prerequisite
Figure 3-1 Networking diagram of logging in to the NE80E/40E through the console interface
PC
Router
Before logging in to the NE80E/40E through the console interface, make sure that the NE80E/
40E is properly powered on.
Procedure
Step 1 Use a serial cable to connect the serial interface on the PC and the console interface on the
NE80E/40E.
For details on the console interface, see HUAWEI NetEngine80E/40E Router - Hardware
Description.
Step 2 Start the HyperTerminal on the PC.
Choose Start > Programs > Accessories > Communications > HyperTerminal to start the
HyperTerminal in Windows.
Step 3 Set up a connection.
As shown in Figure 3-2, enter the name of the new connection in the Name text box, and then
select an icon. Click OK.
3-2
Issue 03 (2010-03-31)
3 Basic Commissioning
3-3
3 Basic Commissioning
----End
Operation Result
After the preceding configurations are complete, press Enter. If the prompt <HUAWEI> is
displayed on the screen, it indicates that logging in to the NE80E/40E through the console
interface is successful. Then, you can run commands to configure or manage the NE80E/40E.
If the login fails, click Disconnect and then Call. If the login still fails, repeat Step 1 to check
whether the parameters or physical connections are correct. If they are correct, log in to the
device again.
Issue 03 (2010-03-31)
3 Basic Commissioning
You need to check whether all boards are in position and work normally.
3.2.5 Checking the Status of the FAN
You need to check whether the fan works normally.
3.2.6 Checking the Status of the Power
You need to check whether the power works normally.
Prerequisite
3.1 Logging in to a Device Through the Console Interface is complete.
Procedure
Step 1 Run the display version [ | slot slot-id ] command to view the version information. You can
enter [ | slot slot-id ] to view the command output that is filtered through regular expressions or
the version information of the board in a specified slot.
<HUAWEI> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (NE40E&80E V600R001C00)
Copyright (C) 2000-2009 Huawei Technologies Co., Ltd.
HUAWEI NetEngine 40E uptime is 0 day, 0 hours, 15 minute
---- More ---Step 2 Run the display startup command to view the system software and configuration files for the
current and next startup.
<HUAWEI> display startup
MainBoard:
Configured startup system software:
Startup system software:
Next startup system software:
Startup saved-configuration file:
Next startup saved-configuration file:
Startup paf file:
Next startup paf file:
Startup license file:
Next startup license file:
Startup patch package:
Next startup patch package:
cfcard:/V600R001C00.cc
cfcard:/V600R001C00.cc
cfcard:/V600R001C00.cc
cfcard:/vrpcfg.cfg
cfcard:/vrpcfg.cfg
cfcard:/paf-V600R001C00.txt
cfcard:/paf-V600R001C00.txt
cfcard:/license-V600R001C00.txt
cfcard:/license-V600R001C00.txt
cfcard:/patch.bat
cfcard:/patch.bat
----End
Operation Result
l
If the software version meets the deployment requirement, that is, the current version that
is displayed in bold characters in the preceding information on the NE80E/40E is consistent
with the version for deployment, you can go on with the subsequent stand-alone
commissioning.
If the software version does not meet the deployment requirement, it needs to be upgraded.
NOTE
Before upgrading the software version, contact Huawei technical support personnel or visit http://
support.huawei.com to download the reference documents and system software that may be used
during the upgrade, including the Version Upgrade Guide, Release Notes, Patch Operation Guide,
Paf&License Selection Guide, and Version Configuration Table.
Issue 03 (2010-03-31)
3-5
3 Basic Commissioning
Prerequisite
3.1 Logging in to a Device Through the Console Interface is complete.
Context
You can check the following items to see whether a device is normal.
l
CPU usage
Memory usage
Procedure
Step 1 Run the display health command to view the health status of the NE80E/40E.
<HUAWEI> display health
Slot
CPU Usage Memory Usage(Used/Total)
--------------------------------------------------------9 MPU(System Master)
9%
72% 627MB/863MB
2 LPU
8%
32% 130MB/405MB
3 LPU
9%
42% 386MB/917MB
6 LPU
15%
31% 128MB/405MB
----End
Operation Result
In normal situations, CPU or memory usage should be lower than 80%.
If CPU or memory usage remains high before services are deployed on a large scale, contact
Huawei technical support personnel.
Prerequisite
Before checking license files, complete the following tasks: is complete.
l
Context
WARNING
The extension of the GTL license is .dat, which is different from that of the system license file.
3-6
Issue 03 (2010-03-31)
3 Basic Commissioning
A user that purchases a new device needs to apply for and purchase a GTL license to obtain
authorization of related service modules. After activating the license, the user can apply related
service modules.
When the activated GTL license file expires on a device, the user needs to reapply, upgrade and
activatea new GTL license file. Otherwise, the GTL license file becomes invalid on expiryand
function modules are closed and services are interrupted.
Procedure
Step 1 Run the display license { all | { resource | service } item-name } command to view the license
files of the master and slave Main Processing Units (MPUs).
<HUAWEI> display license
Active License on master board: cfcard:/or6219.dat
Huawei Technologies Co., Ltd.
All rights reserved.
Product name
: NetEngine 80E
Product version
: V600R001C00
License Serial No : LIC20070205001010
Creator
: Huawei Technologies Co., Ltd.
Created Time
: 2007-02-05 02:55:48
Feature name
: CRFEA1
Authorize type : COMM
Expired date
: 2007-04-30
Trial days
: 60
Expired date of software maintenance : 0000-00-00
Expired date of hardware maintenance : 0000-00-00
Expired date of free software update : 0000-00-00
Configure items :
Item name : RPR
value : 1
Item name : IPV6
value : 1
Item name : L3VPN
value : 1
Item name : NETSTREAM
value : 1
Item name : LAYER2
value : 1
----End
Operation Result
l
If GTL license files are all correctly loaded, that is, Authorize type, Expired date, Item
name, and value displayed in the preceding information are consistent with those actually
applied for, you can go on with the subsequent stand-alone commissioning.
If a license file is incorrectly loaded, you need to run the license active filename command
to activate the GTL license file to obtain the corresponding authority.
NOTE
When you activate or upgrade a license file, the new license file must exist on both the master MPU
and slave MPU.
# Activate the license file GTL.dat on the master and slave MPUs.
<HUAWEI> license active GTL.dat
Info: Please wait for a while...
Info: Succeeded in activating the License file on the master board.
Prerequisite
3.1 Logging in to a Device Through the Console Interface is complete.
Issue 03 (2010-03-31)
3-7
3 Basic Commissioning
Procedure
Step 1 Run the display device [ pic-status | slot-id ] command to view information about the devices
in position. You can enter [ pic-status | slot-id ] to view information about the Physical Interface
Cards (PICs) on all LPUs and information about a specified slot, including the LPU, MPU, SFU,
clock board, power module, or fan module.
<HUAWEI> display device
NE40E's Device status:
Slot #
Type
Online
Register
Status
Primary
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2
LPU
Present
Registered
Normal
NA
3
LPU
Present
Registered
Normal
NA
6
LPU
Present
Registered
Normal
NA
9
MPU
Present
NA
Normal
Master
11
SFU
Present
Registered
Normal
NA
12
SFU
Present
Registered
Normal
NA
13
SFU
Present
Registered
Normal
NA
15
CLK
Present
Registered
Normal
Master
17
PWR
Present
Registered
Normal
NA
18
PWR
Present
Registered
Abnormal
NA
19
FAN
Present
Registered
Normal
NA
20
FAN
Present
Registered
Normal
NA
21
LCD
Present
Registered
Normal
NA
----End
Operation Result
l
Run the display alarm all or display trapbuffer command to check whether alarms
of faulty boards are generated.
If so, go to Step 2.
If not, go to Step 3.
2.
3.
For example, if you run the display device command and find that the Hub Power Supply Unit
(PWR) in slot 18 is in the Abnormal state, you can run the display trapbuffer command to view
the alarm information.
Refer to the Alarm Reference according to preceding alarm information to locate the fault and
seek solutions.
Prerequisite
3.1 Logging in to a Device Through the Console Interface is complete.
3-8
Issue 03 (2010-03-31)
3 Basic Commissioning
Procedure
Step 1 Using the display fan command, you can view the status of FAN.
<HUAWEI> display fan
Slotid
: 19
Present : YES
Registered: YES
Status
: AUTO
FanSpeed : [No.]Speed
[1]30% [2]30%
Slotid
: 20
Present
: YES
Registered: YES
Status
: AUTO
FanSpeed : [No.]Speed
[1]30% [2]30%
----End
Commissioning Results
The status of the fan may be different. For details, please refer to display fan.
Prerequisite
3.1 Logging in to a Device Through the Console Interface is complete.
Procedure
Step 1 Using the command display power, you can view the status of the power
<HUAWEI> display power
No Present mode State
Num
------------------------------------------------------------------------------17 Yes
*
Abnormal(failure)
1
18 Yes
AC
Normal
1
Power monitor cable state:
Plug
----End
Commissioning Results
The status of the power may be different. For details, please refer to display power.
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Issue 03 (2010-03-31)
3-9
3 Basic Commissioning
Data Planning
Table 3-1 Data planning
Item
Data
Remarks
Device name
NE40E-1
Procedure
Step 1 Run the system-view command to enter the system view.
<HUAWEI> system-view
----End
Operation Result
After the configuration is complete, the system name is displayed as [NE40E-1].
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Data Planning
Table 3-2 Data planning
3-10
Item
Data
Remarks
00:00:00 2009-01-01
Issue 03 (2010-03-31)
3 Basic Commissioning
Item
Data
Remarks
Time zone
01:00 (HH:MM)
NOTE
The preceding takes the data of the daylight saving time at a certain site as an example. The start time, end
time, and offset of the daylight saving time are regulated by the country where the site is located.
Procedure
Step 1 Set the UTC.
<HUAWEI> clock datetime 00:00:00 2009-01-01
The NE80E/40E obtains the current system time by subtracting (add) an offset from or adding (minus) an
offset to the UTC.
The obtained system time is 19:00:00 2008-12-31.
----End
Operation Result
Run the display clock command to view the configuration.
<HUAWEI> dispaly clock
2008-12-31 19:16:14
Wednesday
Time Zone : z5 add 05:00:00
Issue 03 (2010-03-31)
3-11
3 Basic Commissioning
Daylight saving time
Name
Repeat mode
Start year
End year
Start time
End time
Saving time
:
:
:
:
:
:
:
:
gmt
repeat
2000
2099
last Sunday March 01:00:00
last Sunday October 02:00:00
01:00:00
Prerequisite
The configuration 3.2 Checking a Device is complete and the device is running normally.
Data Preparation
Table 3-3 Data preparation
3-12
Item
Data
Remarks
Issue 03 (2010-03-31)
3 Basic Commissioning
Item
Data
Remarks
User name
huawei
Password
huawei
telnet
Idle-cut traffic
10
It is used to determine
whether a user is idle. It is
expressed in bytes. In this
case, when the user traffic is
less than 10 bytes, the user is
in the idle state.
Idle-cut time
30
Command Level
System commands are hierarchical. By default, the following commands ranging from level 0
to level 3 are registered.
l
Commands of level 0, the visit level: includes diagnostic tools (such as the ping and
tracert commands) and the commands that are used to access a remote device (such as
Telnet and SSH). The commands of level 0 cannot be used to save configuration files.
Commands of level 1, the monitoring level: are used for system maintenance, including
display commands. The commands of level 1 cannot be used to save configuration files.
Commands of level 2, the configuration level: are used for service configuration, including
routing commands and commands at each network layer to provide network services to
users.
Commands of level 3, the management level: are used for system basic operation to support
services, including file system, FTP, Trivial File Transfer Protocol (TFTP), and
configuration file switching commands, slave board control commands, user management
commands, command level configuration commands, system parameter configuration
commands, and debugging commands.
Issue 03 (2010-03-31)
3-13
3 Basic Commissioning
Procedure
Step 1 Set the maximum number of users that can log in to the device at the same time.
<HUAWEI> system-view
[HUAWEI] user-interface maximum-vty 5
Step 2 Create a user, configure the user name and user password, and specify the user level.
[HUAWEI] aaa
[HUAWEI-aaa]
[HUAWEI-aaa]
[HUAWEI-aaa]
[HUAWEI-aaa]
NOTE
Step 3 Configure the authentication mode, default user level, and idle-cut time.
[HUAWEI] user-interface vty 0 4
[HUAWEI-ui-vty0-4] user privilege level 1
[HUAWEI-ui-vty0-4] authentication-mode aaa
[HUAWEI-ui-vty0-4] idle-timeout 30 10
[HUAWEI-ui-vty0-4] quit
----End
Commissioning Results
After the preceding configurations are complete, run the following command to check the result.
<HUAWEI> telnet 127.0.0.1
Trying 127.0.0.1 ...
Press CTRL+K to abort
Connected to 127.0.0.1 ...
***********************************************************
*
Copyright (C) 2000-2009 Huawei Technologies Co., Ltd. *
*
Without the owner's prior written consent,
*
* no decompiling or reverse-engineering shall be allowed. *
* Notice:
*
*
This is a private communication system.
*
*
Unauthorized access or use may lead to prosecution.
*
***********************************************************
Login authentication
Username:huawei
Password:
Info: huawei logs in through VTY4 from 127.0.0.1.
Info: The max number of VTY users is 20, and the number
of current VTY users on line is 1.
<HUAWEI>
Prerequisite
The following configurations are complete and the device is running normally:
3-14
Issue 03 (2010-03-31)
3 Basic Commissioning
Background Information
You can use different methods to filter the users that log in to the NE80E/40E. For example,
you can configure Quality of Service (QoS) or attack defense. This section describes only how
to filter login users by configuring ACLs in the user interface view.
If you configure ACLs in the user interface view, the device can filter only the packets of login
users rather than attack packets.
Data Preparation
Table 3-4 Data preparation
Item
Data
Remarks
ACL number
3001
100.100.1.1
100.100.1.2
ACL Type
Remarks
Interface-based ACL
1000 to 1999
Basic ACL
2000 to 2999
ACL Classification
Table 3-5 ACL classification
Issue 03 (2010-03-31)
3-15
3 Basic Commissioning
ACL Type
Remarks
Advanced ACL
3000 to 3999
4000 to 4099
Procedure
Step 1 Create an ACL.
<HUAWEI> system-view
[HUAWEI] acl 3001
[HUAWEI-acl-adv-3001]
[HUAWEI-acl-adv-3001]
[HUAWEI-acl-adv-3001]
[HUAWEI-acl-adv-3001]
NOTE
You can specify other parameters to further match login users. For details on other parameters, see rule
(ACL view).
----End
Commissioning Results
A terminal can access the NE80E/40E only when the terminal is assigned a specified IP address.
Otherwise, the terminal cannot access the NE80E/40E.
Prerequisite
The configuration 3.2 Checking a Device is complete and the device is running normally.
3-16
Issue 03 (2010-03-31)
3 Basic Commissioning
Data Preparation
Table 3-6 Data preparation
Item
Data
Remarks
User name
ftp
Password
huawei
User path
cfcard:/
telnet
ACL number
2001
100.100.1.3
Procedure
Step 1 Enable FTP on the NE80E/40E.
<HUAWEI> system-view
[HUAWEI] ftp server enable
Info: Succeeded in starting the FTP server
Step 2 Create a user, configure the user name and user password, and specify the user path.
[HUAWEI] aaa
[HUAWEI-aaa]
[HUAWEI-aaa]
[HUAWEI-aaa]
[HUAWEI-aaa]
NOTE
----End
Issue 03 (2010-03-31)
3-17
3 Basic Commissioning
Commissioning Results
The following takes an example of logging in to the NE80E/40E through FTP from a PC.
1.
2.
3.
Upload a file.
ftp> put d:\test.txt
200 Port command okay.
150 Opening ASCII mode data connection for test.txt.
226 Transfer complete.
ftp> dir
200 Port command okay.
150 Opening ASCII mode data connection for *.
drwxrwxrwx
1 noone
nogroup
0 May 22 11:04 log
-rwxrwxrwx
1 noone
nogroup
4 May 22 09:48 snmpnotilog.txt
-rwxrwxrwx
1 noone
nogroup
12579 Oct 31 2008 license-b201.txt
-rwxrwxrwx
1 noone
nogroup 163730936 Jan 16 08:38 v300r003c02b670smk1.cc
-rwxrwxrwx
1 noone
nogroup
66846 Jan 16 08:45 670paf.txt
-rwxrwxrwx
1 noone
nogroup
0 May 22 14:30 test.txt
226 Transfer complete.
FTP: 416 byte(s) received in 0.042 second(s) 9.90Kbyte(s)/sec.
4.
Delete a file.
ftp> delete test.txt
250 DELE command successful.
5.
Prerequisite
The configuration 3.2 Checking a Device is complete and the device is running normally.
3-18
Issue 03 (2010-03-31)
3 Basic Commissioning
Data Preparation
Table 3-7 Data preparation
Item
Data
Remarks
client001
huawei
password
Procedure
Step 1 Generate a local key pair.
<HUAWEI> system-view
[HUAWEI] rsa local-key-pair create
The key name will be: HUAWEI_Host
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Input the bits in the modulus[default = 512]:512
Generating keys...
....++++++++++++
..........++++++++++++
....++++++++
......................................++++++++
If SSH is configured as the login protocol, the NE80E/40E automatically disables Telnet.
Step 3 Create an SSH user and configure the user authentication mode as the password authentication.
[HUAWEI] ssh user client001 authentication-type password
Issue 03 (2010-03-31)
3-19
3 Basic Commissioning
[HUAWEI-aaa] local-user client001 level 3
[HUAWEI-aaa] local-user client001 service-type ssh
Step 5 Enable STelnet and configure the service type of the user as STelnet.
[HUAWEI] stelnet server enable
[HUAWEI] ssh user client001 service-type stelnet
----End
Commissioning Results
Log in to a device through SSH. This section only describes how to log in to a device through
the software putty.
3-20
1.
As shown in the following figure, the IP address of the device is 192.168.1.1 and the login
protocol is SSH.
2.
Issue 03 (2010-03-31)
3 Basic Commissioning
3-21
3 Basic Commissioning
Perform this task to commission the power of an optical interface of the NE80E/40E.
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Data Preparation
No.
Data
Procedure
l
2.
3.
Run the mtu mtu command to configure the MTU for IPv4 packets on the Ethernet
interface.
The MTU is in bytes. The value range of the MTU of an Ethernet interface depends
on the device. By default, the MTU is 1500.
3-22
Issue 03 (2010-03-31)
3 Basic Commissioning
CAUTION
If IPv6 runs on an Ethernet interface and the MTU set through the mtu mtu command
on the interface is smaller than 1280, IPv6 works abnormally on this interface. To
avoid this problem, when IPv6 runs on an Ethernet interface, set the value of the MTU
of the interface to greater than or equal to 1280.
Configure the MTU for IPv6 packets on the Ethernet interface.
1.
2.
3.
Run the ipv6 enable command to enable IPv6 on the Ethernet interface.
4.
Run the ipv6 mtu mtu command to configure the MTU for IPv6 packets on the
Ethernet interface.
The MTU is in bytes. The value range of the MTU of an Ethernet interface depends
on the device. By default, the MTU is 1500.
2.
3.
Run the duplex { full | half | auto } command to set the working mode for the
Ethernet interface.
Run the negotiation auto command to configure the Ethernet interface to work in
auto-negotiation mode.
NOTE
When connecting to a hub, the Ethernet electrical interface on the router should work in
half-duplex because hubs can work only in half-duplex mode. When connecting to a LAN
switch, the Ethernet electrical interface on the router can work in either full-duplex mode
or half-duplex mode. Note that the working mode of the Ethernet interface and that of the
peer must be the same.
For a GE electrical interface, the working rate 1000 Mbit/s and half-duplex working mode
are mutually exclusive; therefore, they cannot be configured simultaneously.
For a GE electrical interface enabled with auto-negotiation and working at 1000 Mbit/s, it
cannot be configured with simplex mode or duplex mode. In addition, the auto-negotiation
mode cannot be canceled.
For a GE electrical interface working at 10 Mbit/s or 100 Mbit/s, you can configure it to
work in simplex mode, duplex mode, or auto-negotiation mode.
For a GE optical interface enabled with auto-negotiation, you must configure both ends of
the link to work in auto-negotiation mode.
Issue 03 (2010-03-31)
3-23
3 Basic Commissioning
2.
3.
Run the speed { 10 | 100 | auto } command to configure the rate for the Ethernet
electrical interface.
NOTE
By default, a GE electrical interface works at 1000 Mbit/s in auto-negotiation mode. You can
forcibly change the rate, ensuring that the rates of both ends are the same. When you set the
rate to 10 Mbit/s or 100 Mbit/s, the auto-negotiation mode is canceled.
2.
3.
Run the port-type { copper | fiber-100 | fiber-1000 } command to set the interface
mode.
As long as the router can recognize the type of the SFP module, according to which
the system automatically sets the working mode for the interface, no configuration is
required.
If the router cannot recognize the type of the SFP module that works normally, you
need to forcibly set the working mode for the interface.
NOTE
Before configuring the working mode for the GE/FE optical/electrical interface, you need to
delete all the configurations on the interface.
2.
3.
4.
Run the set transfer-mode { lan | wan } command to configure the LAN/WAN
transmission mode for the 10GE interface.
5.
Before configuring the transmission mode of an interface to WAN, you need to clear all
LAN configurations on the interface and shut down the interface.
Before configuring the transmission mode of an interface to LAN, you need to clear all
WAN configurations on the interface and shut down the interface.
----End
Commissioning Results
# Run the display interface { ethernet | gigabitethernet } command. If information about the
Ethernet interface, such as the MTU, IP address, mask, working rate, and working mode, is
displayed, it means that the configuration succeeds. For example:
<HUAWEI> display interface gigabitethernet 2/0/0
GigabitEthernet2/0/0 current state : UP
Line protocol current state : UP
Last line protocol up time : 2009-12-17 14:38:21
3-24
Issue 03 (2010-03-31)
3 Basic Commissioning
# Run the display interface ethernet brief command. If the physical status, auto-negotiation
method, duplex mode, interface rate, and latest average inbound and outbound bandwidth
utilization are displayed, it means that the configuration succeeds. For example:
<HUAWEI> display interface ethernet brief
PHY: Physical
*down: administratively down
^down: standby
(l): loopback
(b): BFD down
InUti/OutUti: input utility/output utility
Interface
PHY
Auto-Neg
GigabitEthernet0/0/0
up
enable
GigabitEthernet2/0/0
up
disable
GigabitEthernet2/0/1
*down disable
GigabitEthernet2/0/2
*down disable
GigabitEthernet2/0/3
*down disable
GigabitEthernet2/0/4
*down disable
GigabitEthernet2/0/5
*down disable
GigabitEthernet2/0/6
*down disable
GigabitEthernet2/0/7
up
disable
GigabitEthernet2/0/8
down disable
GigabitEthernet2/0/9
*down disable
GigabitEthernet4/1/0
down disable
GigabitEthernet4/1/1
down disable
GigabitEthernet4/1/1.7
down disable
GigabitEthernet4/1/2
down disable
GigabitEthernet4/1/3
down disable
GigabitEthernet4/1/4
down disable
GigabitEthernet4/1/5
down disable
GigabitEthernet4/1/6
down disable
GigabitEthernet4/1/7
down disable
GigabitEthernet4/1/7.7
down disable
Issue 03 (2010-03-31)
3-25
3 Basic Commissioning
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Data Preparation
No.
Data
Procedure
l
2.
3.
Run the duplex { full | half | auto } command to set the working mode for the Ethernet
interface.
Ethernet electrical interfaces can work in either full-duplex mode or half-duplex mode.
By default, auto is adopted. That is, the system automatically negotiates with the peer
to work out the optimal duplex mode.
NOTE
When connecting to a hub, the Ethernet interface on the router should be work in halfduplex because hubs can work only in half-duplex mode. When connecting to a LAN
switch, the Ethernet interface on the router can work in either full-duplex mode or halfduplex mode. Note that the working mode of the Ethernet interface and that of the peer
must be the same.
2.
3.
Run the speed { 10 | 100 | auto } command to set the rate of the Ethernet electrical
interface.
NOTE
Ethernet electrical interfaces on a router can work at 10 Mbit/s, 100 Mbit/s, or 1000 Mbit/s.
By default, auto is adopted. That is, the system automatically negotiates with the peer and
works out the optimal working rate.
You can forcibly set the rate, ensuring that the rate of the interface is the same as the rate of
the interface on the peer.
3-26
Issue 03 (2010-03-31)
3 Basic Commissioning
2.
3.
Run the promode { on | off } command to configure the hybrid mode for the Ethernet
interface.
By default, the hybrid mode of an Ethernet interface on the MPU is off.
----End
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Data Preparation
No.
Data
Procedure
Step 1 Run the system-view command to enter the system view.
Step 2 Run the interface { ethernet | gigabitethernet } interface-number command to enter the view
of a specified Ethernet interface.
Step 3 Run the portswitch command to switch the Ethernet interface to a Layer 2 interface.
Step 4 Run the port link-type { access | hybrid | trunk | dot1q-tunnel } command to set the interface
type.
By default, the interface type is hybrid.
----End
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Issue 03 (2010-03-31)
3-27
3 Basic Commissioning
Data Preparation
No.
Data
Procedure
l
Configuring the same C2/J0/J1 for the POS interfaces that are connected to each other
especially when the router and a non-Huawei device interconnect
1.
Run the system-view command on the router to enter the system view.
2.
Run the interface pos interface-number command to enter the view of a specified
POS interface.
3.
Run the A.13 flag (pos interface view) command to configure the overhead byte for
the POS interface.
Configuring the same scrambling mode for the POS interfaces that are connected to each
other (That is, both POS interfaces are enabled with or disabled from the scrambling
function.)
1.
Run the system-view command on the router to enter the system view.
2.
Run the interface pos interface-number command to enter the view of a specified
POS interface.
3.
Run the A.24 scramble (POS interface view) command to enable the scrambling
function.
Configuring the same link layer protocol for the POS interfaces that are connected to each
other (HDLC or PPP is preferred)
1.
Run the system-view command on the router to enter the system view.
2.
Run the interface pos interface-number command to enter the view of a specified
POS interface.
3.
Run the A.20 link-protocol (POS interface view) command to configure the link
layer protocol for the POS interface.
NOTE
POS interfaces support only the basic functions of FR P2P sub-interfaces and do not support
other FR functions.
If PPP is adopted, it is recommended that CHAP and PAP authentication modes be configured
on the interface at the same time. The CHAP authentication mode is preferentially used. For
details, see A.21 ppp authentication-mode.
3-28
Configuring the same physical layer protocol for the POS interfaces that are connected to
each other (SONET or SDH is preferred)
Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd.
Issue 03 (2010-03-31)
3 Basic Commissioning
1.
Run the system-view command on the router to enter the system view.
2.
Run the interface pos interface-number command to enter the view of a specified
POS interface.
3.
Run the A.18 frame-format (POS interface view) command to configure the frame
format for the POS interface.
Configuring the same CRC field for the POS interfaces that are connected to each other
(CRC32 or CRC16 is preferred)
1.
Run the system-view command on the router to enter the system view.
2.
Run the interface pos interface-number command to enter the view of a specified
POS interface.
3.
Run the A.4 crc (POS interface view) command to configure the CRC field for the
POS interface.
Configuring the clock modes for the POS interfaces that are connected to each other
A POS interface supports two clock modes:
Similar to the synchronous serial interface that works in either data terminal equipment
(DTE) mode or data circuit-terminating equipment (DCE) mode, a POS interface works in
either master clock mode or slave clock mode.
When the POS interfaces on two routers are connected directly or through Wavelength
Division Multiplexing (WDM), set one POS interface to the master clock mode and the
other to the slave clock mode. Otherwise, link flapping may occur.
When a POS interface on the router is connected to a switch, which functions as DCE
using the internal clock signal, and the POS interface on the router functions as DTE,
you should set the POS interface to work in slave clock mode.
1.
2.
Run the interface pos interface-number command to enter the view of a specified
POS interface.
3.
Run the A.3 clock (POS interface view) command to configure the clock mode for
the POS interface.
Configuring the next hop of a static route as the outgoing interface if route iteration is not
expected on the POS link
----End
Commissioning Results
# After the configuration is complete, run the display interface pos command. If information
about the POS interface, such as the physical status, link protocol status, and clock mode, is
displayed, it means that the configuration succeeds. For example:
<HUAWEI> display interface pos 1/0/0
Pos1/0/0 current state : UP
Line protocol current state : UP
Last line protocol up time : 2009-12-17 11:51:12
Description : Pos1/0/0 Interface
Route Port,The Maximum Transmit Unit is 4470 bytes, Hold timer is 10(sec)
Issue 03 (2010-03-31)
3-29
3 Basic Commissioning
# Run the display interface brief [ | { begin |include |exclude } regular-expression ] command.
If the brief information about the POS interface, such as the physical status, link protocol status,
bandwidth utilization, and number of error packets, is displayed, it means that the configuration
succeeds. For example:
<HUAWEI> display interface brief | include Pos
PHY: Physical
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(b): BFD down
(e): EFM down
(d): Dampening Suppressed
InUti/OutUti: input utility/output utility
Interface
PHY
Protocol
outErrors
Pos1/0/0
up
up
0
Pos1/0/1
down
down
0
Pos1/0/2
down
down
0
Pos1/0/3
down
down
0
InUti OutUti
inErrors
0.01%
0.01%
3795064053
0%
0%
343911292
0%
0%
343913408
0%
0%
343915353
# Run the display pos interface command. If information about the physical layer of the POS
interface is displayed, it means that the configuration succeeds. For example:
<HUAWEI> display pos interface pos 6/0/0
Pos6/0/0 current state:UP
Line protocol current state:UP
Physical layer is Packet Over SDH
Scramble enabled, clock master, CRC-32, loopback: none
SDH alarm:
section layer: OOF LOF LOS
line
layer: none
path
layer: PAIS PRDI
SDH error:
section layer: B1 306207965
3-30
Issue 03 (2010-03-31)
3 Basic Commissioning
line
layer: B2 39944626237 REI 9861843785
path
layer: B3 1641810669
Last 30 seconds input rate 0 Bits/sec, 0 packets/sec
Last 30 seconds output rate 0 Bits/sec, 0 packets/sec
Input: 0 packets, 75870759 bytes
Input error: 0 shortpacket, 3 longpacket, 48 CRC, 0 lostpacket
Output: 0 packets, 0 bytes
Output error: 0 lostpackets
SFP Transp Infomation:
The Vendor PN is FTRJ1321P1BTL
The Vendor name is FINISAR CORP.
address
: 3 4 5 6 7 8 9 10 12 14 15 16 17 18 60 61
value(hex): 0 1 22 2 12 10 1 5 19 5 32 0 0 0 5 1e
Port BW: 2.5G, Transceiver max BW: 2.5G, Transceiver Mode: SingleMode
WaveLength: 1310nm, Transmission Distance: 5km
PIC Packet Statics Per Sencond:
Rxd:
0x0
Packets
0x0
FCS
0x0
Receiv Abort Packets
0x0
Long Packets
0x0
Short Packets
Txd:
0x0 Packets
0x0 Send Abort Packets
SDH OverHead:
Rx C2 Flag : Unknown, Tx C2 Flag : 0x16.
Rx J0 ASCII :
Rx J0 Flag: Unknown
Rx J1 ASCII :
Rx
Tx
f8
Tx
Tx
f8
Tx
J1 Flag: Unknown
J0 ASCII :
4e 65 74 45 6e 67
J0 String :NetEngine
J1 ASCII :
4e 65 74 45 6e 67
J1 String :NetEngine
69
6e
65
20
20
20
20
20
20
69
6e
65
20
20
20
20
20
20
3-31
3 Basic Commissioning
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Data Preparation
No.
Data
Procedure
Step 1 Configuring the same C2/J0/J1 for the CPOS interfaces that are connected to each other
especially when the router and a non-Huawei device interconnect.
1.
Run the system-view command on the router to enter the system view.
2.
Run the controller cpos interface-number command to enter the view of a specified CPOS
interface.
3.
Step 2 Configuring the same physical layer protocol for the CPOS interfaces that are connected to each
other (SONET or SDH is preferred)
1.
2.
Run the controller cpos interface-number command to enter the view of a specified CPOS
interface.
3.
Run the frame-format { sdh | sonet } command to configure the frame format for the
CPOS interface. For details, see A.17 frame-format (CPOS interface view).
Step 3 Configuring the clock mode for the CPOS interfaces that are connected to each other
A CPOS interface supports two clock modes:
l
When connecting to an SDH/SONET device, the CPOS interface should be configured with the
slave mode because the clock accuracy on an SONET/SDH network is higher than the accuracy
of the internal clock source on a CPOS interface.
When CPOS interfaces are connected through optical fibers or Wavelength Division
Multiplexing (WDM), you should set one CPOS interface to the master mode and the other to
the slave mode.
Do as follows on the router:
3-32
1.
2.
Run the controller cpos interface-number command to enter the view of a specified CPOS
interface.
Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd.
Issue 03 (2010-03-31)
3.
3 Basic Commissioning
Run the clock { master | slave } command to set the clock mode for the CPOS interface.
For details, see A.2 clock (CPOS interface view).
----End
Commissioning Results
# Run the display controller cpos [ cpos-number ] command. If information about all the
channels of the CPOS interface is displayed, it means that the configuration succeeds. For
example:
<HUAWEI> display controller cpos 1/0/0
Cpos1/0/0 current state : UP
Description : Cpos1/0/0 Interface
The Vendor Name is AGILENT
The Vendor PN is QFCT-5736TP
Port BW: 155M, Transceiver max BW: 155M, Transceiver Mode: SingleMode
WaveLengh: 1310nm, Transmission Distance: 15km
Physical layer is Packet Over SDH
clock master, Multiplex AU-4, loopback none
TX:Flag J0: "NetEngine
", Flag J1: "NetEngine
RX:Flag J0: "NetEngine
", Flag J1: "NetEngine
section layer:
alarm: none
error: B1 0
line layer:
alarm: none
error: B2 0 REI 0
path layer:
alarm: none
error: B3 0 REI 0
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Data Preparation
No.
Data
Number of the channels or timeslots that are bound to form a channel-set on the CE1
interface
Procedure
Step 1 Configuring a synchronous serial interface of the E1 channel
1.
Issue 03 (2010-03-31)
Run the system-view command on the router to enter the system view.
Huawei Proprietary and Confidential
Copyright Huawei Technologies Co., Ltd.
3-33
3 Basic Commissioning
2.
Run the controller cpos interface-number command to enter the view of a specified CPOS
interface.
3.
Run the following commands to create synchronous serial interfaces working in different
modes:
l
2.
Run the controller cpos interface-number command to enter the view of a specified CPOS
interface.
3.
Run the e1 e1-number set frame-format { crc4 | no-crc4 } command t set the frame format
for the CPOS interface. For details, see A.8 e1 set frame-format (CPOS interface
view).
When connecting to an SONET/SDH device, the E1 channel should be configured with the
slave mode.
If two routers are connected through optical fibers, you should configure one end to the master
mode and the other end to the slave mode.
2.
Run the controller cpos interface-number command to enter the view of a specified CPOS
interface.
3.
Run the e1 e1-number set clock { master | slave } command to configure the clock mode
for the E1 channel. For details, see A.7 e1 set clock (CPOS interface view).
----End
3-34
Issue 03 (2010-03-31)
3 Basic Commissioning
Commissioning Results
# Run the display interface serial command. If information about the serial interface on the E1
channel of the CPOS interface, such as the interface status, link layer protocol, and traffic
statistics, is displayed, it means that the configuration succeeds. For example:
<HUAWEI> display interface serial 1/0/0/1:1
Serial1/0/0/1:1 current state : UP
Line protocol current state : UP
Last line protocol up time : 2009-01-20 15:55:16
Description : Serial1/0/0/1:1 Interface
Route Port, The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Derived from Cpos1/0/0 e1 1, Timeslot(s) Used: 1-24, baudrate is 1536000 bps
Internet protocol processing : disabled
Link layer protocol is PPP
LCP opened
clock master, loopback none
CRC: CRC-32
Scramble disabled
Alarm: None
Statistics last cleared:2009-01-20 15:55:04
Traffic statistics:
Last 300 seconds input rate 16 bits/sec, 0 packets/sec
Last 300 seconds output rate 16 bits/sec, 0 packets/sec
Input: 33 packets, 426 bytes
Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket
Output: 30 packets, 372 bytes
Output error: 0 lostpackets
Output error: 0 overrunpackets, 0 underrunpackets
# Run the display controller cpos command. If information about the CPOS interface, such the
interface status and clock mode, is displayed, it means that the configuration succeeds. For
example:
<HUAWEI> display controller cpos 1/0/0
Cpos1/0/0 current state : UP
Description : Cpos1/0/0 Interface
The Vendor Name is SumitomoElectric
The Vendor PN is SCP6828-H1-BNE
Port BW: 155M, Transceiver max BW: 2.5G, Transceiver Mode: SingleMode
WaveLengh: 1310nm, Transmission Distance: 2km
Physical layer is Packet Over SDH
clock master, Multiplex AU-3, loopback none
TX:Flag J0: "NetEngine
", Flag J1: "NetEngine
", Flag C2: 2(0x2)
RX:Flag J0: "", Flag J1: "NetEngine
section layer:
alarm: none
error: B1 0
line layer:
alarm: none
error: B2 0
path layer:
alarm: none
error: B3 0
REI 27
REI 24
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Issue 03 (2010-03-31)
3-35
3 Basic Commissioning
Data Preparation
No.
Data
Number of the channels or timeslots that are bound to form a channel-set on the
CT1 interface
Procedure
Step 1 Configuring a synchronous serial interface of the T1 channel
1.
2.
Run the controller cpos cpos-number command to enter the view of a specified CPOS
interface.
3.
Run the following commands to create synchronous serial interfaces working at different
rates.
l
The default rate of the synchronous serial interface formed by binding the timeslots of a T1
channel is calculated as N x 56 kbit/s, N indicating the number of timeslots.
2.
Run the controller cpos cpos-number command to enter the specified CPOS interface view.
3.
Run the t1 t1-number set frame-format { esf | sf } command to configure the frame format
for the T1 channel. For details, see A.30 t1 set frame-format (CPOS interface view).
Issue 03 (2010-03-31)
3 Basic Commissioning
1.
2.
Run the controller cpos cpos-number command to enter the specified CPOS interface view.
3.
Run the t1 t1-number set clock { master | slave } command to configure the clock mode
for the T1 channel. For details, see A.29 t1 set clock (CPOS interface view).
----End
Commissioning Results
# Run the display interface serial command. If information about the serial interface on the T1
channel of the CPOS interface, such as the interface status, link layer protocol, and traffic
statistics, is displayed, it means that the configuration succeeds.
<HUAWEI> display interface serial 1/0/0/1:0
Serial1/0/0/1:0 current state : UP
Line protocol current state : UP
Last line protocol up time : 2009-01-20 15:55:16
Description: Serial1/0/0/1:0 Interface
Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Derived from Cpos1/0/0 t1 1, Timeslot(s) Used: 0-23, baudrate is 1536000 bps
Internet protocol processing : disabled
Link layer protocol is PPP
LCP opened
Physical layer is Packet Over ESF
clock master, loopback none
CRC: CRC-32
Scramble disabled
Alarm: none
Statistics last cleared:2009-01-13 19:03:08
Traffic statistics:
Last 300 seconds input rate 0 bits/sec, 0 packets/sec
Last 300 seconds output rate 0 bits/sec, 0 packets/sec
Input: 0 packets, 0 bytes
Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket
Output: 0 packets, 0 bytes
Output error: 0 lostpackets
Output error: 0 overrunpackets, 0 underrunpackets
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Data Preparation
No.
Data
Procedure
Step 1 Configuring a synchronous serial interface of the E3 channel
Issue 03 (2010-03-31)
3-37
3 Basic Commissioning
1.
2.
Run the controller cpos cpos-number command to enter the view of a specified CPOS
interface.
3.
Run the e3 e3-number framed command to create a synchronous serial interface of the
E3 channel in unchannelized mode.
The created synchronous serial interface is named in the format of slot number/card number/
interface number/0:0.
Step 2 Configuring the clock mode for the E3 channel
Different E3 channels can be separately configured with the clock mode. Whether to use the
master mode or the slave mode is determined by the peer. For example, when connecting to an
SONET/SDH device, the E3 channel should be configured with the slave mode.
If two routers are connected through optical fibers, you should configure one end to the master
mode and the other end to the slave mode.
By default, an E3 channel works in master mode.
Do as follows on the router:
1.
2.
Run the controller cpos cpos-number command to enter the view of a specified CPOS
interface.
3.
Run the e3 e3-number set clock { master | slave } command to configure the clock mode
for the E3 channel. For details, see A.10 e3 set clock (CPOS interface view).
----End
Commissioning Results
# Run the display controller cpos command. If information about the CPOS interface, such as
the clock mode, frame format, and multiplexing path, is displayed, it means that the configuration
succeeds.
<HUAWEI> display controller cpos 1/0/0
Cpos1/0/0 current state : Administratively DOWN
Description : Cpos1/0/0 Interface
The Vendor Name is AGILENT
The Vendor PN is HFBR-5710LP-H3C
Port BW: 155M, Transceiver max BW: 1G, Transceiver Mode: MultiMode
WaveLengh: 850nm, Transmission Distance: 550m
Physical layer is Packet Over SDH
clock master, Multiplex AU-3, loopback none
TX:Flag J0: "NetEngine
", Flag J1: "NetEngine
", Flag C2: 2(0x2)
RX:Flag J0: unknown, Flag J1: unknown, Flag C2: 255(0xff)
section layer:
alarm: LOS
error: B1 306431763
line layer:
alarm: LAIS LREI SF
error: B2 511275881 REI 1175934524
path layer:
alarm: PPLM
error: B3 2711 REI 1451
3-38
Issue 03 (2010-03-31)
3 Basic Commissioning
# Run the display interface serial command. If information about the synchronous serial
interface formed by binding timeslots of the E3 channel, such as the interface status and clock
mode, is displayed, it means that the configuration succeeds.
<HUAWEI> display interface serial 2/0/0/1:0
Serial2/0/0/1:0 current state : UP
Line protocol current state : UP
Last line protocol up time : 2009-01-20 15:55:16
Description: Serial2/0/0/1:0 Interface
Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Derived from Cpos2/0/0 e3 1, Unframed mode, baudrate is 34368000 bps
Internet protocol processing : disabled
Link layer protocol is PPP
LCP opened
clock master, loopback none
CRC: CRC-32
Scramble disabled
Alarm: None
Statistics last cleared:2009-01-23 10:56:33
Traffic statistics:
Last 300 seconds input rate 0 bits/sec, 0 packets/sec
Last 300 seconds output rate 0 bits/sec, 0 packets/sec
Input: 0 packets, 0 bytes
Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket
Output: 0 packets, 0 bytes
Output error: 0 lostpackets
Output error: 0 overrunpackets, 0 underrunpackets
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Data Preparation
No.
Data
Procedure
Step 1 Configuring a synchronous serial interface of the T3 channel
1.
2.
Run the controller cpos cpos-number command to enter the view of a specified CPOS
interface.
3.
Issue 03 (2010-03-31)
Run the t3 t3-number framed command to create a synchronous serial interface of the
T3 channel in unchannelized mode.
3-39
3 Basic Commissioning
The created synchronous serial interface is named in the format of slot number/card number/
interface number/0:0.
Step 2 Configuring the clock mode for the E3 channel
Different T3 channels can be separately configured with the clock mode. Whether to use the
master mode or the slave mode is determined by the peer. For example, when connecting to an
SONET/SDH device, the E3 channel should be configured with the slave mode.
If two routers are connected through optical fibers, you should configure one end to the master
mode and the other end to the slave mode.
By default, a T3 channel works in master mode.
Do as follows on the router:
1.
2.
Run the controller cpos cpos-number command to enter the view of a specified CPOS
interface.
3.
Run the t3 t3-number set clock { master | slave } command to configure the clock mode
for the T3 channel. For details, see A.31 t3 set clock (CPOS interface view).
----End
Commissioning Results
# Run the display controller cpos command. If information about the CPOS interface, such as
the clock mode, frame format, and multiplexing path, is displayed, it means that the configuration
succeeds.
<HUAWEI> display controller cpos 1/0/0
Cpos1/0/0 current state : Administratively DOWN
Description : Cpos1/0/0 Interface
The Vendor Name is AGILENT
The Vendor PN is HFBR-5710LP-H3C
Port BW: 155M, Transceiver max BW: 1G, Transceiver Mode: MultiMode
WaveLengh: 850nm, Transmission Distance: 550m
Physical layer is Packet Over SDH
clock master, Multiplex AU-3, loopback none
TX:Flag J0: "NetEngine
", Flag J1: "NetEngine
", Flag C2: 2(0x2)
RX:Flag J0: unknown, Flag J1: unknown, Flag C2: 255(0xff)
section layer:
alarm: LOS
error: B1 306431763
line layer:
alarm: LAIS LREI SF
error: B2 511275881 REI 1175934524
path layer:
alarm: PPLM
error: B3 2711 REI 1451
# Run the display interface serial command. If information about the synchronous serial
interface formed by binding timeslots of the T3 channel, such as the interface status and clock
mode, is displayed, it means that the configuration succeeds.
<HUAWEI> display interface serial 2/0/0/1:0
Serial2/0/0/1:0 current state : UP
Line protocol current state :UP
Last line protocol up time : 2009-01-20 15:55:16
Description: Serial2/0/0/1:0 Interface
Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Derived from Cpos2/0/0 t3 1, Unframed mode, baudrate is 44736000 bps
Internet protocol processing : disabled
3-40
Issue 03 (2010-03-31)
3 Basic Commissioning
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Data Preparation
Item
Data
Configue CE1
Interfaces
Number of the timeslots that are bound to form a channel-set on the CE1
interface
Number of the timeslots that are bound to form a channel-set on the CT1
interface
Configue CT1
Interfaces
Configue E3
Interfaces
Configue CT3
Interfaces
Context
For detailed procedure for commissioning the link layer of the E1/T1 interface, see "Configuring
an E-Carrier Interface and a T-Carrier Interface" in the HUAWEI HUAWEI NetEngine80E/
40E Router Configuration Guide - WAN Access.
When configuring the clock mode for the E1/T1 interface, note the following:
Issue 03 (2010-03-31)
3-41
3 Basic Commissioning
l
Different E1/T1 channels are separately configured with the clock mode. Which clock mode
is used depends on the peer.
When the commissioned device is directly connected to a router through optical fibers
or is connected to a router on a dense wavelength division multiplexing (DWDM)
network, both the commissioned device and the router are configured with the master
mode.
When the CT1 interface functions as a DCE, it is configured with the master mode; when
the CT1 interface functions as a DTE, it is configured with the slave mode.
When the CT1 interfaces of two routers are directly connected, one interface is configured
with the master mode and the other interface is configured with the slave mode.
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
Data Preparation
No.
Data
Procedure
l
Configuring the same C2/J0/J1 for the ATM interfaces that are connected to each other
especially when the router and a non-Huawei device interconnect.
1.
Run the system-view command on the router to enter the system view.
2.
Run the interface atm interface-number command to enter the view of a specified
ATM interface.
3.
Run the A.11 flag (atm interface view) command to configure the overhead byte for
the ATM interface.
Configuring the same scrambling mode for the ATM interfaces that are connected to each
other (Both ATM interfaces are enabled with or disabled from the scrambling function.)
1.
2.
Run the interface atm interface-number command to enter the view of a specified
ATM interface.
3.
Run the A.23 scramble (ATM interface view) command to enable the scrambling
function.
Configuring the same physical layer protocol for both ATM interfaces that are connected
to each other (SONET or SDH is preferred)
1.
3-42
Issue 03 (2010-03-31)
3 Basic Commissioning
2.
Run the interface atm interface-number command to enter the view of a specified
ATM interface.
3.
Run the A.16 frame-format (ATM OC/STM) command to configure the frame
format for the ATM interface.
A user's device is called a DTE, and the type of the corresponding interface is DTE.
The device that provides access services for users' devices belongs to the network device
and is called a DCE, and the type of the corresponding interface is DCE.
2.
Run the interface atm interface-number command to enter the view of a specified
ATM interface.
3.
Run the A.1 clock (ATM interface view) command to configure the clock mode for
the ATM interface.
By default, an ATM interface works in master mode.
An ATM interface serving as a DTE should be configured with the slave mode; an
ATM interface serving as a DCE should be configured with the master mode.
In the scenario where two routers are directly connected through ATM interfaces or
through Wavelength Division Multiplexing (WDM), you need to configure the master
mode for one end and the slave mode for the other end.
When connecting to an SDH/SONET device, the router should be configured with the
slave mode.
----End
Commissioning Results
# Run the display interface atm command. If the configuration of the ATM interface, such as
the scrambling function ,frame format, clock mode, and statistical period, is displayed, it means
that the configuration succeeds. For example:
<HUAWEI> display interface atm 1/0/0
Atm1/0/0 current state : UP
Line protocol current state : UP
Last line protocol up time: 2008-11-03, 17:24:24
Description : Atm1/0/0 Interface
Route Port, The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
AAL enabled: AAL5, Maximum VCs: 2048
VCs on main-interface: 1 (Total VCs: 1)
VPs on main-interface: 0 (Total VPs: 1 )
The Vendor Name is FINISAR CORP.
, The Vendor PN is FTRJ1321P1BTL
Transceiver BW: 2.5G, Transceiver Mode: Single Mode
WaveLength: 1310nm, Transmission Distance: 5km
Rx Optical Power: -24.95dBm, Tx Optical Power: -1.99dBm
Physical layer is Packet Over SDH
Issue 03 (2010-03-31)
3-43
3 Basic Commissioning
# Run the display interface brief [ | { begin | include | exclude } regular-expression ] command.
If the brief information about the ATM interface, such as the physical status, link protocol status,
bandwidth utilization, and number of error packets, is displayed, it means that the configuration
succeeds. For example:
<HUAWEI> display interface brief | include 1/0/
PHY: Physical
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(b): BFD down
(e): EFM down
(d): Dampening Suppressed
InUti/OutUti: input utility/output utility
Interface
PHY
Protocol
InUti
OutUti
outErrors
Atm1/0/1
up
up
0.08%
0.08%
0
Atm1/0/1.1
up
up
0.03%
0.03%
0
Atm1/0/1.2
up
up
0.03%
0.03%
0
inErrors
0
0
0
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
3-44
Issue 03 (2010-03-31)
3 Basic Commissioning
Data Preparation
No.
Data
Number of the Multilink Frame Relay (MFR) interface that is formed by bundling
physical links
Procedure
Step 1 Run the system-view command to enter the system view.
Step 2 Run the interface interface-type interface-number command to enter the interface view.
Step 3 Run the link-protocol fr [ ietf | nonstandard ] command to configure FR as the link layer
protocol of the interface. For details, see A.19 link-protocol fr.
An FR sub-interface can be created only after an FR interface is created.
By default, frames are encapsulated in the IETF format.
NOTE
After the FR encapsulation format on an interface is changed, the system automatically deletes all the
FR configurations on the interface. At this time, you need to delete all the sub-interfaces and reconfigure FR on the interface.
After the configuration of the link layer of the interface is changed, you need to run the shutdown
command to shut down the interface, and then run the undo shutdown command to start the interface
to validate the new configuration.
Step 4 (Optional) Run the fr interface-type { dte |dce } command to set the type of the FR interface
to DTE or DCE. For details, see A.15 fr interface-type.
An FR main interface can be configured with sub-interfaces regardless of whether the interface
type is DTE or DCE.
By default, the type of an FR interface is DTE.
Step 5 Run the quit command to return to the system view.
Step 6 Run the interface interface-type interface-number.subnumber command to create an FR subinterface.
NOTE
The type of FR sub-interfaces must be the same as the type of the FR main interface.
When an interface is configured with a sub-interface, the interval for consecutively running the
shutdown and undo shutdown commands on the main interface must be 15 seconds or longer.
3-45
3 Basic Commissioning
Before configuring the Data Link Connection Identifier (DLCI) on a sub-interface, you need to
shut down the sub-interface.
Step 8 Run the fr dlci dlci command to configure the DLCI for an FR sub-interface. For details, see
A.14 fr dlci.
FR sub-interfaces must be configured with DLCIs, and the DLCIs of the sub-interfaces at both
ends of a transmission device must be the same.
Step 9 Run the quit command to return to the view of the FR sub-interface.
Step 10 Run the ip address ip-address { mask | mask-length } command to assign an IP address to the
sub-interface.
Step 11 Run the undo shutdown command to start the sub-interface.
----End
Commissioning Results
# Run the display fr interface command. If information about the interface and the status of the
FR protocol is displayed, it means that the configuration succeeds. For example:
<HUAWEI> display fr interface
Pos1/0/0, DTE, physical up, protocol up
Pos1/0/0.1, point-to-point, protocol up
Pos1/0/0.2, point-to-point, protocol up
# Run the display fr map-info command. If information about the protocol address and address
mapping table is displayed, it means that the configuration succeeds. Address mapping
information is not displayed for P2P sub-interfaces. For example:
<HUAWEI> display fr map-info
Map Statistics for interface Pos2/1/0 (DCE)
DLCI 20, Point-to-Point DLCI, Pos2/1/0.1
created at: 2009/02/12 11:17:37, status: ACTIVE
Context
If the output optical power of the SFP optical module on the NE80E/40E is insufficient, packets
may be lost or the communication may be interrupted at the network layer. Therefore, it is
recommended that you measure the optical power of interfaces before using the NE80E/40E.
When measuring the optical power, pay attention to the following points:
3-46
Clean the fiber splice and the optical connector on the panel of the optical interface LPU
and connect them properly.
Do not look strictly into the laser transmitter on the LPU or the fiber splice.
Measure the attenuation of the fiber jumper in advance to ensure accurate location of the
faulty point.
Use different fiber jumpers for single mode and multi-mode optical modules.
Issue 03 (2010-03-31)
3 Basic Commissioning
Procedure
Step 1 Check whether the optical modules at both ends are matched.
NOTE
You can run the display interface interface-type interface-number command to check whether the
maximum transmission distance and the central wavelength of the optical modules at both ends are
consistent. If so, the optical modules are matched.
Step 2 Set the working wavelength of the optical power meter to the wavelength of the tested fiber.
Step 3 Pull out the fiber jumper from the sending interface on the NE80E/40E.
Step 4 Connect one end of the fiber jumper to the sending interface on the NE80E/40E and the other
end to the optical power meter.
Step 5 Record the optical power when the optical power becomes stable.
Step 6 Look up the List of Interface Attributes to check whether the output optical power of the interface
is in the normal range.
NOTE
For the List of Interface Attributes, see the HUAWEI NetEngine80E/40E Hardware Description.
The optical module at the local end is available only when the following conditions are met:
l
The minimum output optical power of the optical module must be greater than the value of the receiver
sensitivity; otherwise, the peer cannot receive the optical signal.
The maximum output optical power of the optical module must be smaller than the overload optical
power; otherwise, the optical module is probably burnt.
----End
3-47
3 Basic Commissioning
Background Information
Figure 3-5 Networking diagram in out-band management mode
NMS
Network
NMS
192.167.1.10 / 24
Router A
192.168.1.1 / 24
Console
GE0/0/0
PC
NE
GE1/0/0
192.168.1.2 / 24
Switch
GE0/0/0
192.168.1.3 / 24
Router B
Figure 3-5 shows the networking in out-band management mode. The commissioned device
accesses the Layer 3 network through the management network interface GE 0/0/0. As the
management network interface cannot participate in dynamic routing calculation, if the IP
addresses of the management network interface and the NMS server are not in the same network
segment, you can configure static routes. For details, see 3.7.3 Configuring a Static Route.
The IP addresses of all interfaces are shown in Figure 3-5.
3-48
Issue 03 (2010-03-31)
3 Basic Commissioning
Figure 3-6 Networking diagram in in-band management mode (a Layer 3 interface accessing
the NMS)
NMS
Network
NMS
192.167.1.10 / 24
Router B
GE1/0/1
192.167.2.2 / 24
GE1/0/1
192.167.2.1 / 24
192.168.1.1 / 24
Console
POS1/0/0
PC
NE
POS2/0/0
192.168.1.2 / 24
Router A
Figure 3-6 shows the networking in in-band management mode. The commissioned device
accesses the network through a Layer 3 interface POS 1/0/0. You can implement the commission
by configuring dynamic routes to make the management channel between the device and the
NMS server routable.
You can configure dynamic routes through the methods provided in 3.7.4 Configuring OSPF
and 3.7.5 Configuring IS-IS according to the network service planning. In addition, 3.7.3
Configuring a Static Route is acceptable.
The IP addresses of all interfaces are shown in Figure 3-6.
Figure 3-7 Networking diagram in in-band management mode (a Layer 2 interface accessing
the NMS)
NMS
Network
NMS
192.167.1.10 / 24
Router B
GE2/0/0
VLANIF100
192.168.1.1 / 24
Console
VLAN 100
PC
Issue 03 (2010-03-31)
NE
GE1/0/1
192.167.2.2 / 24
GE1/0/1
192.167.2.1 / 24
Router A
GE2/0/0
VLANIF100
192.168.1.2 / 24
3-49
3 Basic Commissioning
Figure 3-7 shows the networking in in-band management mode. The commissioned device
accesses the network through a Layer 2 interface. You can switch a Layer 3 Ethernet interface
to a Layer 2 Ethernet interface, and then add the Layer 2 Ethernet interface to a VLAN and create
a VLANIF interface.
You can configure dynamic routes through the methods provided in 3.7.4 Configuring OSPF
and 3.7.5 Configuring IS-IS according to the network service planning. In addition, 3.7.3
Configuring a Static Route is acceptable.
The IP addresses of all interfaces are shown in Figure 3-7.
Prerequisite
3.2 Checking a Device is complete and the device is running normally.
3-50
Issue 03 (2010-03-31)
3 Basic Commissioning
Data Preparation
Table 3-8 Data Preparation
Item
Data
Interface name
Remarks
Before assigning an IP
address to an interface, you
need to confirm the interface
type and the protocol type.
This section describes only
the IP address configuration
of POS interfaces. For the IP
address configuration of
Ethernet interfaces and ATM
interfaces, see the HUAWEI
NetEngine80E/40E Router
Configuration Guide WAN
Access.
NOTE
This section describes how to
assign IP addresses to POS
interfaces and VLANIF
interfaces. Assigning IP
addresses to management
network interfaces and Layer 3
Ethernet interfaces is the same
as assigning IP addresses to
POS interfaces.
Issue 03 (2010-03-31)
100
IP address/mask
192.168.1.1 / 24
3-51
3 Basic Commissioning
Procedure
l
If a device is connected to another device through a Layer 3 interface, you can assign an
IP address to the interface according to the following procedure.
# Configure POS 1/0/0 by using the default values of all physical parameters.
<HUAWEI> system-view
[HUAWEI] interface pos 1/0/0
[HUAWEI-Pos1/0/0] undo shutdown
[HUAWEI-Pos1/0/0] ip address 192.168.1.1 24
[HUAWEI-Pos1/0/0] quit
If a device is connected to another device through a Layer 2 interface, you can assign an
IP address to the interface according to the following procedure.
# Assign an IP address to VLANIF 100. Switch the Layer 3 Ethernet interface to a Layer
2 Ethernet interface.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 2/0/0
[HUAWEI-GigabitEthernet2/0/0] portswitch
[HUAWEI-GigabitEthernet2/0/0] quit
----End
Commissioning Results
# After the configuration is complete, you can run the display interface interface-type interfacenumber command on NE80E/40E to check whether the configuration is correct.
For example, check whether the status of the interface POS 1/0/0 is correct.
<HUAWEI> display interface pos 1/0/0
POS1/0/0 current state : UP
Line protocol current state : UP
Last line protocol up time : 2009-10-09 15:03:02
Description:HUAWEI, Pos6/0/0 Interface
Route Port,The Maximum Transmit Unit is 4470, Hold timer is 10(sec)
Internet Address is 192.168.1.1/24
Link layer protocol is PPP
LCP opened, IPCP opened
The Vendor PN is FTRJ8519P1BNL-HW
Port BW: 2.5G, Transceiver max BW: 1G, Transceiver Mode: MultiMode
WaveLength: 850nm, Transmission Distance: 550m
Rx Power: -6.05dBm, Tx Power: -5.76dBm
Physical layer is Packet Over SDH
Scramble enabled, clock master, CRC-32, loopback: none
Flag J0 "NetEngine
"
Flag J1 "NetEngine
"
Flag C2 22(0x16)
SDH alarm:
section layer: none
line
layer: none
path
layer: none
3-52
Issue 03 (2010-03-31)
3 Basic Commissioning
SDH error:
section layer: B1 0
line
layer: B2 0 REI 1318004
path
layer: B3 0 REI 54250
Statistics last cleared:never
Last 300 seconds input rate 24 bits/sec, 0 packets/sec
Last 300 seconds output rate 24 bits/sec, 0 packets/sec
Input: 1631 packets, 26118 bytes
Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket
Output: 1631 packets, 26112 bytes
Output error: 0 lostpackets
Output error: 0 overrunpackets, 0 underrunpackets
l
If the physical status of the interface is Up, which indicates that the interface is in the normal
state, you can go on with the subsequent stand-alone commissioning.
Run the display this command in the interface view on the local and peer devices to
view whether the interfaces are shut down.
If so, go to Step 2.
If not, go to Step 3.
2.
Run the undo shutdown command and then the display this interface command in
the interface view to check whether the interface is in the Up state.
If so, go to Step 11.
If not, go to Step 3.
3.
4.
Configure the rate and duplex mode on the interface of the NE80E/40E according to
the rate and duplex mode configured on the peer device. Then, run the display this
interface command to check whether the interface is in the Up state.
Reference commands:
Using the duplex { full | half | auto } command sets the half-duplex mode for an
Ethernet interface.
Using the speed { 10 | 100 | 1000 | auto } } command sets the operation rate of an
Ethernet interface.
For details on how to check the optical power of an optical interface, see 3.6.7 Commissioning
the Power of an Optical Interface.
6.
Replace the optical module with a matched one, and then run the display this
interface command to check whether the interface is in the Up state.
If so, go to Step 11.
Issue 03 (2010-03-31)
3-53
3 Basic Commissioning
If not, go to Step 7.
7.
Replace network cables or optical fibers, and then run the display this interface
command to check whether the interface is in the Up state.
If so, go to Step 11.
If not, go to Step 8.
8.
Run the display trapbuffer command to check whether alarms of interfaces are
generated.
If so, go to Step 9.
If not, go to Step 10.
9.
Prerequisite
The following configurations are complete and the device is running normally:
3-54
Issue 03 (2010-03-31)
3 Basic Commissioning
Background Information
Figure 3-8 Networking for applying out-band NMS
NMS
Network
NMS
192.167.1.10 / 24
Router A
192.168.1.1 / 24
Console
GE0/0/0
NE
PC
GE1/0/0
192.168.1.2 / 24
Switch
GE0/0/0
192.168.1.3 / 24
Router B
As shown in Figure 3-8, the NE80E/40E to be commissioned is connected to the NMS through
the management network interface GE 0/0/0. The IP address of the management network
interface and the IP address of the NMS are not on the same network segment.
The management network interface does not participate in dynamic route calculation. Thus, you
need to configure static routes to enable the Layer 3 communication between the NE80E/40E
and the NMS.
Procedure
Step 1 Configure a static route on the NE80E/40E to be commissioned.
<HUAWEI> system-view
[HUAWEI] ip route-static 192.167.1.10 24 gigabitethernet 0/0/0 192.168.1.2
----End
Commissioning Results
# After the configuration is complete, run the display ip routing-table command on NE80E/
40E to check whether there is a static route in the routing table.
<HUAWEI> display ip routing-table
Route Flags: R - relay, D - download to fib
-----------------------------------------------------------------------------Routing Tables: Public
Destinations : 9
Routes : 9
Destination/Mask
Proto
1.1.1.1/32 Direct
192.168.1.0/24 Direct
GigabitEthernet0/0/0
100.1.1.200/32 Direct
100.1.1.255/32 Direct
Issue 03 (2010-03-31)
Pre
Cost
Flags NextHop
0
0
0
0
D
D
127.0.0.1
192.168.1.1
InLoopBack0
0
0
0
0
D
D
127.0.0.1
127.0.0.1
InLoopBack0
InLoopBack0
Interface
3-55
3 Basic Commissioning
127.0.0.0/8
Direct 0
0
127.0.0.1/32 Direct 0
0
127.255.255.255/32 Direct 0
0
192.167.1.0/24 Static 60
0
GigabitEthernet0/0/0
255.255.255.255/32 Direct 0
0
D
D
D
D
127.0.0.1
127.0.0.1
127.0.0.1
D 192.168.1.2
127.0.0.1
InLoopBack0
InLoopBack0
InLoopBack0
InLoopBack0
time=60
time=65
time=36
time=93
time=23
ms
ms
ms
ms
ms
Prerequisite
The following configurations are complete and the device is running normally:
l
Data Preparation
Figure 3-9 Networking diagram of configuring OSPF
NMS
Network
NMS
192.167.1.10 / 24
Router B
GE1/0/1
192.167.2.2 / 24
192.168.1.1 / 24
Console
POS1/0/0
PC
3-56
NE
GE1/0/1
192.167.2.1 / 24
POS2/0/0
192.168.1.2 / 24
Router A
Issue 03 (2010-03-31)
3 Basic Commissioning
Item
Data
Remarks
Router ID of NE80E/40E
1.1.1.1
Router ID of RouterA
2.2.2.2
OSPF process ID
Procedure
Step 1 Enable OSPF and enter the OSPF view.
# Configure NE80E/40E.
<HUAWEI> system-view
[HUAWEI] router id 1.1.1.1
[HUAWEI] ospf
# Configure RouterA.
<HUAWEI> system-view
[HUAWEI] router id 2.2.2.2
[HUAWEI] ospf
Step 2 Enter the OSPF area view of an interface and configure the network segments contained in the
area.
NOTE
OSPF can run on the interface only when the following conditions are met:
l
The IP address mask length of the interface is equal to or longer than the mask length specified in the
network command.
The primary IP address of the interface must be within the network segment specified by the
network command.
----End
Postrequisite
# Use the display ospf peer command on NE80E/40E to view neighbors in each area of OSPF
<HUAWEI> display ospf peer
OSPF Process 1 with Router ID 1.1.1.1
Neighbors
Issue 03 (2010-03-31)
3-57
3 Basic Commissioning
Area 0.0.0.0
interface 192.168.1.1(POS1/0/0)'s neighbors
Router ID: 2.2.2.2
Address: 192.168.1.2
State: Full Mode:Nbr is Slave Priority: 1
DR: 2.2.2.2 BDR: None
MTU: 0
Dead timer due in 35 sec
Retrans timer interval: 5
Neighbor is up for 00:00:05
Authentication Sequence: [ 0 ]
GR State: Normal
# Ping the remote device on NE80E/40E to check whether the ping succeeds.
<HUAWEI> ping 192.167.1.10
PING 192.167.1.10: 56 data bytes, press CTRL_C to break
Reply from 192.167.1.10: bytes=56 Sequence=1 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=2 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=3 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=4 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=5 ttl=254
time=60
time=65
time=36
time=93
time=23
ms
ms
ms
ms
ms
Prerequisite
The following configurations are complete and the device is running normally:
l
Data Preparation
Figure 3-10 Networking diagram of configuring IS-IS
NMS
Network
NMS
192.167.1.10 / 24
Router B
GE1/0/1
192.167.2.2 / 24
192.168.1.1 / 24
Console
POS1/0/0
PC
3-58
NE
GE1/0/1
192.167.2.1 / 24
POS2/0/0
192.168.1.2 / 24
Router A
Issue 03 (2010-03-31)
3 Basic Commissioning
Item
Data
Remarks
10.0000.0000.0001.00
20.0000.0000.0002.00
POS 1/0/0
None.
Level of NE80E/40E is
Level-2
Level of RouterA is
Level-1-2
Procedure
Step 1 On RouterA and the NE80E/40E, start the IS-IS process and enter the IS-IS view.
<HUAWEI> system-view
[HUAWEI] isis 1
Issue 03 (2010-03-31)
3-59
3 Basic Commissioning
----End
Postrequisite
# After the configuration is complete, run the display isis peer command on NE80E/40E, and
you can view information about the IS-IS neighbors on the device.
<HUAWEI> display isis peer
Peer information for ISIS(1)
System Id
Interface
Circuit Id
State HoldTime Type
PRI
------------------------------------------------------------------------------0000.0000.0001 GigabitEthernet1/0/0 0000.0000.0001.01 Up
24s
L1(L1L2) 64
0000.0000.0001 GigabitEthernet1/0/0 0000.0000.0001.01 Up
24s
L2(L1L2) 64
Total Peer(s): 2
# Ping the remote device on NE80E/40E to check whether the ping succeeds.
<HUAWEI> ping 192.167.1.10
PING 192.167.1.10: 56 data bytes, press CTRL_C to break
Reply from 192.167.1.10: bytes=56 Sequence=1 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=2 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=3 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=4 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=5 ttl=254
time=70
time=65
time=64
time=90
time=25
ms
ms
ms
ms
ms
Prerequisite
The following configurations are complete and the device is running normally:
l
Context
As shown in Figure 3-11, BGP is configured to enable the Layer 3 communication between the
device to be commissioned and the NMS. This section only describes how to configure BGP.
3-60
Issue 03 (2010-03-31)
3 Basic Commissioning
NMS
Network
NMS
192.167.1.10 / 24
Router B
GE1/0/1
192.167.2.2 / 24
192.168.1.1 / 24
Console
POS1/0/0
NE
PC
GE1/0/1
192.167.2.1 / 24
POS2/0/0
192.168.1.2 / 24
Router A
AS 65008
AS 65009
Procedure
Step 1 Configure EBGP.
# Configure NE80E/40E.
<HUAWEI> system-view
[HUAWEI] bgp 65008
[HUAWEI-bgp] router-id 1.1.1.1
[HUAWEI-bgp] peer 192.168.1.2 as-number 65009
# Configure RouterA.
<HUAWEI> system-view
[HUAWEI] bgp 65009
[HUAWEI-bgp] router-id 2.2.2.2
[HUAWEI-bgp] peer 192.168.1.1 as-number 65008
----End
Postrequisite
# After the configuration is complete, run the display bgp peer command on NE80E/40E, and
you can view information about the BGP neighbors on the device.
BGP local router ID : 1.1.1.1
Local AS number : 65008
Issue 03 (2010-03-31)
3-61
3 Basic Commissioning
Total number of peers : 1
Peer
AS
MsgRcvd
MsgSent
192.168.1.2
4 65009
274
207
OutQ
Up/Down
State PrefRcv
0 03:07:01 Established
# Ping the remote device on NE80E/40E to check whether the ping succeeds.
<HUAWEI> ping 192.167.1.10
PING 192.167.1.10: 56 data bytes, press CTRL_C to break
Reply from 192.167.1.10: bytes=56 Sequence=1 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=2 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=3 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=4 ttl=254
Reply from 192.167.1.10: bytes=56 Sequence=5 ttl=254
time=70
time=65
time=64
time=90
time=25
ms
ms
ms
ms
ms
Prerequisite
The route between the NE80E/40E and the NMS is reachable.
Data preparation
3-62
Item
Data
Remarks
V1/V2C/V3
192.167.1.10
None.
Parameters of SNMPv1,
including SNMP read and
write community names and
the ACL number.
Parameters of SNMPv2c,
including SNMP read and
write community names and
the ACL number.
Parameters of SNMPv3,
including SNMP group and
user names and the ACL
number.
None.
None.
None.
Issue 03 (2010-03-31)
3 Basic Commissioning
Procedure
l
Configure SNMPv1.
1.
# Set the SNMP community name: the read community name of NE80E/40E is
comaccess and the write community name is mgr. For details, please refer to A.25
snmp-agent community.
[HUAWEI] snmp-agent community read comaccess acl 2000
[HUAWEI] snmp-agent community write mgr acl 2000
2.
Configure access control in SNMPv1. For details, please refer to A.22 rule (ACL
view).
[HUAWEI] acl 2000
[HUAWEI-acl-basic-2000] rule permit source 192.167.1.10 0
[HUAWEI-acl-basic-2000] quit
3.
Configure trap functions and set the IP address of the trap server to be the IP address
of the NMS, 192.167.1.10.
[HUAWEI] snmp-agent trap enable
[HUAWEI] snmp-agent target-host trap address udp-domain 192.167.1.10
params securityname comaccess v1 private-netmanager
Configure SNMPv2c.
1.
# Set the SNMP community name: the read community name of NE80E/40E is
comaccess and the write community name is mgr. For details, please refer to A.25
snmp-agent community.
[HUAWEI] snmp-agent community read comaccess acl 2001
[HUAWEI] snmp-agent community write mgr acl 2001
2.
3.
Configure trap functions and set the IP address of the trap server to be the IP address
of the NMS, 192.167.1.10. For details, please refer to A.26 snmp-agent target-host
trap.
[HUAWEI] snmp-agent trap enable
[HUAWEI] snmp-agent target-host trap address udp-domain 192.167.1.10
params securityname comaccess v1 private-netmanager
Configure SNMPv3.
1.
Issue 03 (2010-03-31)
3-63
3 Basic Commissioning
<HUAWEI> system-view
[HUAWEI] snmp-agent
[HUAWEI] snmp-agent sys-info version v3
2.
# Configure user information. For example, Add a user named John to the SNMP
group named Johngroup, with the security level being authentication, the
authentication protocol being HMAC-MD5-96 and the password being hello. For
details, please refer to the command A.28 snmp-agent usm-user.
[HUAWEI] snmp-agent usm-user v3 John Johngroup authentication-mode md5
hello
# Configure a basic ACL. For details, please refer to the command A.22 rule (ACL
view).
[HUAWEI] acl 2002
[HUAWEI-acl-basic-2002] rule permit source 192.167.1.10 0
[HUAWEI-acl-basic-2002] quit
# Apply the ACL based on the user. For details, please refer to the command A.28
snmp-agent usm-user.
[HUAWEI] snmp-agent usm-user v3 John NMS acl 2002
3.
Configure trap functions and set the IP address of the trap server to be the IP address
of the NMS, 192.167.1.10. For details, please refer to the command A.26 snmp-agent
target-host trap.
[HUAWEI] snmp-agent trap enable
[HUAWEI] snmp-agent target-host trap address udp-domain 192.167.1.10
params securityname comaccess v3 private-netmanager
----End
Commissioning Results
After the configurations of the NE80E/40E and the NMS are complete, you can access the
NE80E/40E through the NMS.
Install the Huawei iManager N2000 DMS Compound Package on the NM station and configure
SNMP in the network management software.
For configuring and using the iManager N2000 DMS, refer to HUAWEI iManager N2000
DMS - Compound Package User Manual Volume II.
3-64
Issue 03 (2010-03-31)
3 Basic Commissioning
Data Preparation
Item
Data
Remarks
comm.cfg
None.
Procedure
Step 1 Run the save [ configuration-file ] command in the user view to save the configuration file.
<HUAWEI> save comm.cfg
NOTE
Step 2 Specify the configuration file as the configuration file for the next startup of the device.
<HUAWEI> startup saved-configuration comm.cfg
----End
Postrequisite
None.
Issue 03 (2010-03-31)
3-65
A Appendix
Appendix
A-1
A Appendix
A-2
Issue 03 (2010-03-31)
A Appendix
Format
clock { master | slave }
undo clock
Parameters
master: sets an ATM interface work in master clock mode.
slave: sets an ATM interface work in slave clock mode.
Views
ATM interface view
Default Level
2: Configuration level
Usage Guidelines
NOTE
Although this command can be applied to ATM main interfaces and sub-interfaces, you can use this
command only in the ATM main interface view. This command cannot be run in the ATM sub-interface
view.
l
When the ATM interfaces of two routers are directly connected through the optical fiber
or Wavelength Division Multiplexing (WDM), one end should work in master clock mode
and the other in slave clock mode.
When an ATM interface is connected to an SDH/SONET device, the ATM interface should
work in slave clock mode.
Example
# Set ATM 4/0/0 to work in master clock mode.
<HUAWEI> system-view
[HUAWEI] interface atm 4/0/0
[HUAWEI-Atm4/0/0] clock master
Issue 03 (2010-03-31)
A-3
A Appendix
Format
clock { master | slave }
undo clock
Parameters
master: sets a CPOS interface to work in master clock mode.
slave: sets a CPOS interface to work in slave clock mode.
Views
CPOS interface view
Default Level
2: Configuration level
Usage Guidelines
When the CPOS interfaces of two routers are directly connected, one end should work in master
clock mode and use internal clock signals, and the other work in slave clock mode and use line
clock signals.
Example
# Set CPOS 1/0/0 to work in master clock mode.
<HUAWEI> system-view
[HUAWEI] controller cpos 1/0/0
[HUAWEI-Cpos1/0/0] clock master
Issue 03 (2010-03-31)
A Appendix
Format
clock { master | slave }
undo clock
Parameters
master: sets a POS interface to work in master clock mode.
slave: sets a POS interface to work in slave clock mode.
Views
POS interface view
Default Level
2: Configuration level
Usage Guidelines
When the POS interfaces of two routers are directly connected, one end should work in master
clock mode and use internal clock signals, and the other works in slave clock mode and use line
clock signals.
Example
# Set POS 1/0/0 on the router to work in slave clock mode.
<HUAWEI> system-view
[HUAWEI] interface pos 1/0/0
[HUAWEI-Pos1/0/0] clock slave
Format
crc { 16 | 32 }
undo crc
Parameters
16: indicates that the CRC field is 16 bits.
32: indicates that the CRC field is 32 bits.
Issue 03 (2010-03-31)
A-5
A Appendix
Views
POS interface view
Default Level
2: Configuration level
Usage Guidelines
A POS interface supports the 16-bit and 32-bit CRC.
The length of the CRC field of the local end and remote end must be the same.
Example
# Set the length of the CRC field on POS 1/0/0 to 16 bits.
<HUAWEI> system-view
[HUAWEI] interface pos 1/0/0
[HUAWEI-Pos1/0/0] crc 16
Format
display power [{environment-info |manufacture-info}slot slot-id |slot[slot-id]]
Parameters
environment-info: displays the environment information of the specified power that is in
position.
manufacture-info: displays the manufacturing information of the specified power that is in
position.
slot [ slot-id]: displays the power status of the specified LPU that is in position.
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
None
A-6
Issue 03 (2010-03-31)
A Appendix
Example
# Display the status of the power.
<HUAWEI>display power
No
Present
mode
State
Num
--------------------------------------------------------------25
No
*
*
1
26
Yes
*
Normal
1
Power monitor cable state:
Plug
Description
No
Present
mode
State
Format
e1 e1-number channel-set set-number timeslot-list { ts0 | slot-list [ ts0 ] }
undo e1 e1-number channel-set set-number
Issue 03 (2010-03-31)
A-7
A Appendix
Parameters
e1-number: specifies the E1 channel number of CPOS. The value ranges from 1 to 63.
set-number: specifies the number of the channel-set. The value ranges from 0 to 30.
ts0: is used to bind timeslot 0. After the channel-set set-number timeslot-list ts0 command is
run, timeslot 0 alone is bound to form a synchronous serial interface. After the channel-set setnumber timeslot-list slot-list ts0 command is run, timeslot 0 and the timeslots specified by slotlist are bound together to form a synchronous serial interface.
slots-list: specifies the timeslot number or the timeslot range. The value rages from 1 to 31. It
can be separate timeslot or time ranges. Time slots are separated by ","; while the range is
expressed by "-".
Views
CPOS interface view
Default Level
2: Configuration level
Usage Guidelines
In channelized mode, timeslot 0 alone can be bound to form a serial interface; timeslots 0 to 31
can also be randomly bound to form one or multiple serial interfaces. In this case, timeslot 0
needs to be specified in the command as the parameter ts0.
Example
# Bind timeslots of the E1 channel 63.
<HUAWEI> system-view
[HUAWEI] controller cpos 1/0/0
[HUAWEI-Cpos1/0/0] e1 63 channel-set 1 timeslot-list 1-31 tso
# View the information of the serial interface generated after the binding.
<HUAWEI> display interface serial 1/0/0/63:1
Serial1/0/0/63:1 current state : DOWN
Line protocol current state : DOWN
Description:HUAWEI, HUAWEI Series, Serial1/0/0/63:1 Interface
Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Derived from Cpos1/0/0 e1 63, Timeslot(s) Used: 1-31, baudrate is 1984000 bps
Internet protocol processing : disabled
Link layer protocol is PPP
LCP initial
Physical layer is Packet Over NO-CRC4,clock master, loopback none
CRC: CRC-32
Scramble disabled
Alarm: OOF PAIS
Statistics last cleared:2009-03-18 15:30:13
Traffic statistics:
Last 300 seconds input rate 0 bits/sec, 0 packets/sec
A-8
Issue 03 (2010-03-31)
A Appendix
Description
Serial1/0/0/63:1 current
state
Issue 03 (2010-03-31)
Description
As for the serial interface, the default value is 1500 bytes. The
packet larger than the MTU is fragmented before being sent. If
the non-fragmentation is configured, the packet is discarded.
Hold timer is
Indicates the interval for sending the hold packets. If the packet
is not sent out during the life cycle, it is discarded. By default, it
is 10 seconds.
Derived from
Timeslot(s) Used:
Indicates the number of the time slot that forms the serial
interface.
Baudrate is
Internet protocol
processing : disabled
LCP initial
Physical layer is
clock
loopback
CRC
A-9
A Appendix
Item
Description
Scramble
Indicates the rate of the byte and the packet that pass through the
interface in the last 300 seconds.
Output
Indicates the total number of the packets and bytes sent on the
interface.
shortpacket
longpacket
lostpacket
overrunpackets
underrunpackets
Format
e1 e1-number set clock { master | slave }
undo e1 e1-number set clock
Parameters
e1-number: specifies the E1 channel number of CPOS. The value ranges from 1 to 63 in integer.
master: indicates the master clock.
slave: indicates the slave clock.
A-10
Issue 03 (2010-03-31)
A Appendix
Views
CPOS interface view
Default Level
2: Configuration level
Usage Guidelines
The clock modes of different E1 channels on the same CPOS port are independent of each other.
NOTE
Example
# Set the clock mode of the E1 channel 1 to slave.
<HUAWEI> system-view
[HUAWEI] controller cpos 1/0/0
[HUAWEI-Cpos1/0/0] e1 1 set clock slave
Format
e1 e1-number set frame-format { crc4 | no-crc4 }
undo e1 e1-number set frame-format
Parameters
e1-number: specifies the E1 channel number of CPOS. The value ranges from 1 to 63 in integer.
crc4: indicates the frame format is CRC4.
no-crc4: indicates the frame format is no-CRC4.
Views
CPOS interface view
Default Level
2: Configuration level
Issue 03 (2010-03-31)
A-11
A Appendix
Usage Guidelines
The frame format on the local end must be the same as that on the remote end.
NOTE
Example
# Set the frame format of the E1 channel 1 to CRC4.
<HUAWEI> system-view
[HUAWEI] controller cpos 1/0/0
[HUAWEI-Cpos1/0/0] e1 1 set frame-format crc4
Format
e1 e1-number unframed
undo e1 e1-number unframed
Parameters
e1-number: specifies the E1 channel number of CPOS. The value is an integer that ranges from
1 to 63.
Views
CPOS interface view
Default Level
2: Configuration level
Usage Guidelines
When the E1 channel is set to work in unframed mode, the E1 channel does not include frame
control information and cannot be divided into timeslots or perform timeslot binding.
Example
# Configure E1 channel 3 of CPOS 1/0/0 to operate in unframed mode.
<HUAWEI> system-view
A-12
Issue 03 (2010-03-31)
A Appendix
Format
e3 e3-number set clock { master | slave }
undo e3 e3-number set clock
Parameters
e3-number: specifies the sequence number of the E3 channel. The value is an integer that ranges
from 1 to 3.
master: indicates that the E3 channel is set to the master clock.
slave: indicates that the E3 channel is set to the slave clock.
Views
CPOS interface view
Default Level
2: Configuration level
Usage Guidelines
It is recommended that the clock modes of the E3 channel and the CPOS interface be the same.
Example
# Set the Number 3 E3 channel on CPOS 1/0/0 to the slave clock, which uses the line clock
signal.
<HUAWEI> system-view
[HUAWEI] controller cpos 1/0/0
[HUAWEI-Cpos1/0/0] e3 3 set clock slave
Issue 03 (2010-03-31)
A-13
A Appendix
Format
flag c2 c2-value
flag j0 { 64byte-or-null-mode j0-value | 16byte-mode j0-value | 1byte-mode j0-value |
peer }
flag j1 { 64byte-or-null-mode j1-value | 16byte-mode j1-value | 1byte-mode j1-value |
peer }
undo flag
Parameters
c2 c2-value: specifies the path signal label byte, which belongs to the higher-order path overhead.
It indicates the multiplex structure of VC frame and the property of information payload. The
value ranges from 0 to 255.
j0: specifies the regeneration section trace message.
j1: indicates the higher-order VC-N path trace byte, which belongs to higher-order path
overhead. It tests the whether two ports are in the continuous connection.
The values of j0-value and j1-value are different in the following cases:
l
peer: specifies the match with the Flag on the peer end.
By default, the value of c2 is 19 (0x13), and the values of j1 and j0 are "NetEngine".
Views
ATM interface view
Default Level
2: Configuration level
Usage Guidelines
C2 and J1 on the sending end must be the same as that on the receiving end.
A-14
Issue 03 (2010-03-31)
A Appendix
J0 can any character in the same carrier network. However, on the border between different
carriers, J0 on the sending end must be the same as that on the receiving end. J0 helps the carrier
to discover the fault early.
Example
# Set the path trace byte j1 of ATM 1/0/0 as the character string HUAWEI.
<HUAWEI> system-view
[HUAWEI] interface atm 1/0/0
[HUAWEI-Atm1/0/0] flag j1 16byte-mode HUAWEI
Format
flag { j0 { sdh | sonet } j0 | j1 j1 | c2 c2 }
undo flag
Parameters
j0: specifies the regeneration section trace byte. It is used to test the continuous connection of
the two ports on the section level.
j1: specifies the path trace byte. It is a string ranges from 1 to 15 characters. The default is
"NetEngine".
c2: specifies the signal label byte. The value is an integer. The value ranges from 0 to 255. The
default value is 0x02.
sdh: specifies J0 as the 16 bytes.
sonet: specifies J0 as the 1 byte.
j0: specifies the regenerator section trace byte.
l
In the 1-byte mode (sonet), j0 is an integer ranging from 1 to 127. By default, the value
of J0 is 1
In the 16-byte mode (sdh), j0 is a string ranging from 1 to 15. By default, the value of J0
is "NetEngine"
Views
CPOS interface view
Default Level
2: Configuration level
Issue 03 (2010-03-31)
A-15
A Appendix
Usage Guidelines
SONET or SDH frame has a variety of overhead bytes and can implement Operation and
Maintenance (OAM) such as management of layers on the transmission network. j1, j0 and c2
are mainly used to provide interworking to devices from different countries, areas or
manufacturers.
Example
# Set the path trace byte j1 of CPOS 1/0/0 as the character string HUAWEI.
<HUAWEI> system-view
[HUAWEI] controller cpos 1/0/0
[HUAWEI-Cpos1/0/0] flag j1 HUAWEI
Format
flag j0 { 64byte-or-null-mode j0-value | 16byte-mode j0-value | 1byte-mode j0-value |
peer }
flag j1 { 64byte-or-null-mode j1-value | 16byte-mode j1-value | 1byte-mode j1-value |
peer }
flag c2 c2-value
undo flag
Parameters
j0 j0-value: specifies the regeneration section trace message, which belongs to the section
overhead. It tests the continuity of the connection between two ports on the section level.j1 j1value: indicates the higher-order VC-N path trace byte, which belongs to higher-order path
overhead. It tests the whether two ports are in the continuous connection.
For j0-value and j1-value:
l
peer: specifies the match with the Flag on the peer end.
A-16
Issue 03 (2010-03-31)
A Appendix
c2 c2-value: specifies the path signal label byte, which belongs to the higher-order path overhead.
It indicates the multiplex structure of VC frame and the property of information payload.The
value ranges from 0 to 255 in integer.
Views
POS interface view
Default Level
2: Configuration level
Usage Guidelines
C2 and J1 on the sending end must be the same as that on the receiving end.
The values of J0s on the two ends can be inconsistent in the network of the same carrier. However,
on the border between different carriers, J0 on the sending end must be the same as that on the
receiving end. J0 helps the carrier to discover the fault early.
Example
# Configure the overhead byte J1
<HUAWEI> system-view
[HUAWEI] interface pos 1/0/0
[HUAWEI-Pos1/0/0] flag j1 16byte-mode HUAWEI
A.14 fr dlci
Function
Using the fr dlci command, you can configure the VC for an FR interface.
Using the undo fr dlci command, you can remove the configuration.
Format
fr dlci dlci-number
undo fr dlci [ dlci-number ]
Parameters
dlci-number: specifies the VC number allocated for an FR interface. The value ranges from 16
to 1007. If dlci-number is not specified in the undo fr dlci command, all the local DLCIs are
deleted.
Views
FR interface view, FR sub-interface view, MFR interface view
Issue 03 (2010-03-31)
A-17
A Appendix
Default Level
2: Configuration level
Usage Guidelines
When the FR interface type is DCE or NNI, it is necessary to manually configure the VC for
both a main interface and a sub-interface interface.
When the FR interface type is DTE:
l
If the interface is a main interface, the system automatically determines the VC according
to the peer device.
If the interface is a sub-interface, the VC should be manually specified for the interface at
both DCE and DTE sides.
Example
# Allocate a VC with DLCI 100 for the FR sub-interface Serial 1/0/0:0.1.
<HUAWEI> system-view
[HUAWEI] interface serial 1/0/0:0.1
[HUAWEI-Serial1/0/0:0.1] fr dlci 100
[HUAWEI-fr-dlci-Serial1/0/0:0.1-100]
A.15 fr interface-type
Function
Using the fr interface-type command, you can set the FR interface type.
Using the undo fr interface-type command, you can restore the default type.
By default, the FR interface type is DTE.
Format
fr interface-type { dce | dte | nni }
undo fr interface-type
Parameters
dte, dce and nni: indicates three types of FR interfaces.
Views
FR interface view, MFR interface view
Default Level
2: Configuration level
A-18
Issue 03 (2010-03-31)
A Appendix
Usage Guidelines
In FR, there are two communicating parties:
l
In an FR network, the interface between the FR switches is NNI and works in the NNI mode.
If the device is used for FR switching, the FR interface should operate in the NNI mode or the
DCE mode.
Example
# Set the type of the FR interface Serial 1/0/0:0 as DCE.
<HUAWEI> system-view
[HUAWEI] interface serial 1/0/0:0
[HUAWEI-Serial1/0/0:0] link-protocol fr
[HUAWEI-Serial1/0/0:0] fr interface-type dce
Format
frame-format { sdh | sonet }
Parameters
sdh: indicates the frame format is SDH STM-1.
sonet: indicates the frame format is SONET OC-3.
Views
ATM interface view
Default Level
2: Configuration level
Usage Guidelines
ATM interface uses SDH frame format when the optical interface is STM-1 . The ATM interface
uses SONET frame format when the interface is OC-3.
The frame format on an ATM interface should be consistent with that on the transmitting device.
Issue 03 (2010-03-31)
A-19
A Appendix
Example
# Set the frame format of an ATM interface as SONET.
<HUAWEI> system-view
[HUAWEI] interface atm 4/0/0
[HUAWEI-Atm4/0/0] frame-format sonet
For the CPOS interface that can be channelized to E1 or E3, the default frame format is
SDH.
For the CPOS interface that can be channelized to T1 or T3, the default frame format is
SONET.
Format
frame-format { sdh | sonet }
undo frame-format
Parameters
sdh: indicates the frame type is SDH.
sonet: indicates the frame type is SONET.
Views
CPOS interface view
Default Level
2: Configuration level
Usage Guidelines
The frame format of the local end must be the same as that on the remote end.
Example
# Configure the specified CPOS physical port to operate in the SONET mode.
<HUAWEI> system-view
[HUAWEI] controller cpos 1/0/0
[HUAWEI-Cpos1/0/0] frame-format sonet
A-20
Issue 03 (2010-03-31)
A Appendix
Format
frame-format { sdh | sonet }
undo frame-format
Parameters
sdh: indicates the frame format is Synchronous Digital Hierarchy (SDH).
sonet: indicates the frame format is Synchronous Optical Network (SONET).
Views
POS interface view
Default Level
2: Configuration level
Usage Guidelines
The frame format on the receiving end must be the same as that on the sending end.
Example
# Set the frame format of the POS interface to SDH.
<HUAWEI> system-view
[HUAWEI] interface pos 1/0/0
[HUAWEI-Pos1/0/0] frame-format sdh
A.19 link-protocol fr
Function
Using the link-protocol fr command, you can configure the link layer protocol as FR.
By default, the link-layer protocol encapsulated on the interface is PPP. The default FR frame
format is IETF.
Issue 03 (2010-03-31)
A-21
A Appendix
Format
link-protocol fr [ ietf | nonstandard ]
Parameters
ietf: specifies the IETF standard encapsulation according to the format defined in the RFC1490.
It is the default encapsulation format.
nonstandard: specifies the nonstandard compatible encapsulation format.
Views
FR interface view, MFR interface view
Default Level
2: Configuration level
Usage Guidelines
To configure the FR network, you must configure the encapsulation protocol of the interfaces
to FR.
NOTE
After the FR encapsulation format of the interface is changed, the system automatically deletes all the FR
configurations on the interface. Then, you need to re-configure the FR.
Example
# Configure the FR encapsulation on Serial 1/0/0:0 and select the nonstandard encapsulation.
<HUAWEI> system-view
[HUAWEI] interface serial 1/0/0:0
[HUAWEI-Serial1/0/0:0] link-protocol fr nonstandard
Format
link-protocol { fr [ ietf | nonstandard ] | hdlc | ppp }
Parameters
fr: indicates the link layer protocol is FR.
ietf: indicates the Internet Engineering Task Force (IETF) standard encapsulation. It is
performed according to the format specified in RFC1490. It is the default encapsulation format.
A-22
Issue 03 (2010-03-31)
A Appendix
Views
POS interface view
Default Level
2: Configuration level
Usage Guidelines
Interface parameters must be configured in the interface view. The protocol related parameters
can be configured only after the correct link layer protocol is configured.
A POS interface supports only the basic functions of FR P2P sub-interfaces instead of other FR
functions.
Example
# Specify HDLC as the link layer protocol for POS 1/0/0.
<HUAWEI> system-view
[HUAWEI] interface pos 1/0/0
[HUAWEI-Pos1/0/0] link-protocol hdlc
Format
ppp authentication-mode { chap [ pap ] | pap } [ call-in ]
undo ppp authentication-mode
Parameters
chap: indicates the CHAP authentication.
pap: indicates the PAP authentication.
call-in: authenticates the peer only when the remote user calls in.
Issue 03 (2010-03-31)
A-23
A Appendix
Views
Interface view
Default Level
2: Configuration level
Usage Guidelines
Using the ppp authentication-mode chap pap command, you can perform the CHAP
authentication first in the LCP negotiation.
If the authenticated part does not support this mode, perform the PAP authentication.
If the authenticated part does not support the two modes, the negotiation fails.
There are two PPP authentication methods:
l
PAP is a 2-way handshake authentication, which sends the password in plain text.
CHAP is a 3-way handshake authentication, which sends the password in encrypted text.
Example
# Authenticate the peer router by PAP on POS 1/0/0.
<HUAWEI> system-view
[HUAWEI] interface pos 1/0/0
[HUAWEI-Pos1/0/0] ppp authentication-mode pap
Format
# Create or delete a rule in a basic ACL.
rule [ rule-id ] { deny | permit } [ fragment-type fragment-type-name | source { source-ipaddress source-wildcard | any } | time-range time-name | vpn-instance vpn-instance-name ] *
undo rule rule-id [ fragment-type |source | time-range | vpn-instance ] *
# Create or delete a rule in an advanced ACL.
A-24
Issue 03 (2010-03-31)
A Appendix
When protocol is TCP or UDP, the command format of the advanced ACL is as follows:
rule [ rule-id ] { deny | permit } protocol [ destination { destination-ip-address destinationwildcard | any } | destination-port operator port | fragment-type fragment-type-name |
source { source-ip-address source-wildcard | any } | source-port operator port | syn-flag synflag | time-range time-name | vpn-instance vpn-instance-name | dscp dscp ] *
rule [ rule-id ] { deny | permit } protocol [ destination { destination-ip-address destinationwildcard | any } | destination-port operator port | fragment-type fragment-type-name |
source { source-ip-address source-wildcard | any } | source-port operator port | syn-flag synflag | time-range time-name | vpn-instance vpn-instance-name | precedence precedence |tos
tos ] *
syn-flag syn-flag is applied only when TCP is specified.
l
When protocol is ICMP, the command format of the advanced ACL is as follows:
rule [ rule-id ] { deny | permit } protocol [ destination { destination-ip-address destinationwildcard | any } | fragment-type fragment-type-name | icmp-type { icmp-name | icmp-type
icmp-code } | source { source-ip-address source-wildcard | any } | time-range time-name |
vpn-instance vpn-instance-name | dscp dscp ] *
rule [ rule-id ] { deny | permit } protocol [ destination { destination-ip-address destinationwildcard | any } | fragment-type fragment-type-name | icmp-type { icmp-name |icmp-type
icmp-code } |source { source-ip-address source-wildcard | any } | time-range time-name | vpninstance vpn-instance-name | precedence precedence | tos tos ] *
l
When protocol is other protocols, the command format of the advanced ACL is as follows:
rule [ rule-id ] { deny | permit } protocol [ destination { destination-ip-address destinationwildcard | any } | fragment-type fragment-type-name | source { source-ip-address sourcewildcard | any } | time-range time-name | vpn-instance vpn-instance-name | dscp dscp ] *
rule [ rule-id ] { deny | permit } protocol [ destination { destination-ip-address destinationwildcard | any } | fragment-type fragment-type-name | source { source-ip-address sourcewildcard | any } | time-range time-name | vpn-instance vpn-instance-name | precedence
precedence | tos tos ] *
l
undo rule rule-id [ destination | destination-port | dscp | fragment-type fragment-typename | icmp-type | precedence | source | source-port | time-range | vpn-instance | tos ] *
# Create or delete a rule in an interface-based ACL.
rule [ rule-id ] { deny | permit } interface { interface-type interface-number | any }
[ logging | time-range time-name ] *
undo rule rule-id [ logging | time-range ] *
# Create or delete a rule of ACL based on the Ethernet frame header.
rule [ rule-id ] { deny | permit } [ type type type-mask | source-mac source-mac sourcemacmask | dest-mac dest-mac destmac-mask ]
undo rule rule-id
# Create or delete a rule of UCL.
Issue 03 (2010-03-31)
A-25
A Appendix
l
Parameters
Use the rule command to add a rule. Parameters are describes as follows
rule-id: specifies the number of an ACL rule. The value ranges from 0 to 4294967294.
l
If the rule corresponding to the ACL number exists, the new rule overwrites the old one.
If the rule corresponding to the ACL number does not exist, create new rule for the ACL
number and order the rules based on the ACL number.
If the ACL number is not specified, the system automatically assigns one when you create
a new rule. The number is in an order from a bigger value to a smaller value. The system
automatically reserves a certain range between two ACL rules. The step command is used
to define the range.
NOTE
The rule ID automatically generated by the system begins with the step value so that a new rule can be
inserted in front of the first rule. For instance, if the step value is 5, the rule ID begins with 5 and if the step
value is 2, the rule ID begins with 2.
A-26
Issue 03 (2010-03-31)
A Appendix
The default action defined in the ACL rule is deny. Therefore, to allow the subsequent flows to pass, you
need to specify the action in the ACL rule to permit.
protocol: specifies the protocol type over IP. It can be an integer ranging from 1 to 255 or a
character string, such as gre,icmp, igmp, ip, ipinip, ospf, tcp and udp.
The combination of parameters used varies with the protocol type. For example, both TCP and
UDP use the parameter [ source-port operator port ] [ destination-port operator port ], but
the other protocols do not.
destination: indicates the destination address information of an ACL rule. It is optional. If it is
not configured, it indicates that any destination address matches.
destination-ip-address: specifies the destination IP address of a packet in dotted decimal format.
The parameter any represents any destination address.
destination-wildcard: specifies the destination address wildcard in dotted decimal format. The
destination address wildcard can be 0.0.0.0, indicating that the destination address is a host
address.
destination-port: indicates the destination port information of UDP or TCP packets, optional,
valid in UDP or TCP. If it is not specified, it indicates any destination port information of TCP/
UDP packets matches.
operator: compares the port operators of source or destination address. Their names and
meanings are as follows: lt (lower than), gt (greater than), eq (equal to), and range (between).
If the operator is range, two port numbers should follow it. Others only need one port number.
port: specifies the port number of TCP or UDP. It is expressed by name or number. The number
ranges from 0 to 65535. For the usage of the mnemonic, refer to the chapter "ACL Configuration"
in the HUAWEI NetEngine80E/40E Router Configuration Guide - IP Services.
dscp dscp: specifies the value of Differentiated Services CodePoint. The value ranges from 0 to
63.
fragment-type fragment-type-name: indicates that this rule is only valid for the non-first
fragment packets.fragment-type-name includes:
l
A-27
A Appendix
source: indicates the source address information of an ACL rule, optional. If it is not configured,
it indicates that any source address matches.
source-ip-address: specifies the source IP address of a data packet in dotted decimal format. The
parameter any represents the source address 0.0.0.0 with the wildcard 255.255.255.255.
source-wildcard: specifies the source address wildcard in dotted decimal format. The source
address wildcard can be 0.0.0.0, indicating that the source address is a host address.
time-range time-name: specify a time range of the rule of an ACL.
source-port: indicates the source port information of UDP or TCP packets. It is optional, and
valid in UDP or TCP. If it is not specified, it indicates any source port information of TCP/UDP
packets matches.
tos: filters packets based on the service type field. It is optional.
tos: filters packets according to type of service, optional. It can be an integer ranging from 0 to
15 or a name such as normal, min-monetary-cost, max-reliability, max-throughput, and mindelay.
vpn-instance vpn-instance-name: This parameter is optional. It indicates that packets are filtered
based on the names of VPN instances. If the inbound interface is bound to a VPN, vpn-instancename must be specified in the ACL rule so that users can log in to the device.
icmp-type: indicates the ICMP packet type and ICMP message code, optional, only valid in
ICMP. If it is not configured, it indicates any ICMP packet matches.
icmp-name: filters ICMP packets according to the ICMP message name.
icmp-type: filters ICMP packets according to the ICMP message type. The value ranges from 0
to 255.
icmp-code: filters ICMP packets according to the message code. The value ranges from 0 to 255.
Table A-3 Relationship between icmp-name, icmp-type and icmp-code
A-28
icmp-name
icmp-type
icmp-code
Echo
Echo-reply
Parameter-problem
12
Port-unreachable
Protocol-unreachable
Reassembly-timeout
11
Source-quench
Source-route-failed
Timestamp-reply
14
Timestamp-request
13
Ttl-exceeded
11
Issue 03 (2010-03-31)
A Appendix
icmp-name
icmp-type
icmp-code
Fragmentneed-DFset
Host-redirect
Host-tos-redirect
Host-unreachable
Information-reply
16
Information-request
15
Net-redirect
Net-tos-redirect
Net-unreachable
# Use the undo rule command to delete a rule. Parameters are described as follows:
rule-id: specifies the ID of an ACL rule. It should be ACL number containing rules. If the
parameter after rule-id is not specified, this ACL rule is deleted completely; otherwise, only the
partial information of this rule is deleted.
source: This parameter is optional, indicating that only the information about the source IP of
specified ACL rule is deleted.
destination: This parameter is optional, indicating that only the information about the
destination IP of specified ACL rule is deleted.
source-port: This parameter is optional, indicating that only the information about the source
port of specified ACL rule is deleted. This parameter is valid only when the protocol type of the
rule is TCP or UDP.
destination-port: This parameter is optional, indicating that only the information about the
destination port of specified ACL rule is deleted. This parameter is valid only when the protocol
type of the rule is TCP or UDP.
precedence: This parameter is optional, indicating that the information about precedence of the
specified rule is deleted.
tos: deletes the tos configuration of the specified rule. This parameter is optional.
time-range: deletes the time range configuration of the specified rule. This parameter is optional.
logging: deletes the logging configuration of the specified rule. This parameter is optional.
fragment-type: deletes the fragment configuration of the specified rule. This parameter is
optional.
icmp-type: This parameter is optional. The ACL rule that contains the settings of the specified
type of ICMP messages and message codes is deleted.
Views
The first group of commands is used in the basic ACL view.
Issue 03 (2010-03-31)
A-29
A Appendix
Default Level
2: Configuration level
Usage Guidelines
Different applications require differentiated configurations about the ACL rules. ACL rules may
vary with types of routing protocols.
Example
# Create an ACL 3101 and add a rule to prohibit receiving or sending of RIP packets.
<HUAWEI> system-view
[HUAWEI] acl number 3101
[HUAWEI-acl-adv-3101] rule deny udp destination-port eq rip
# Add a rule to permit hosts at 129.9.0.0 to send WWW packets to hosts at 202.38.160.0.
[HUAWEI-acl-adv-3101] rule permit tcp source 129.9.0.0 0.0.255.255 destination
202.38.160.0 0.0.0.255 destination-port eq www
# Add a rule to prohibit all hosts from establishing Telnet (23) connection to the host with the
IP address 202.38.160.1.
[HUAWEI-acl-adv-3101] rule deny tcp destination 202.38.160.1 0 destination-port eq
telnet
# Add a rule to prohibit creating UDP connections with the port number greater than 128 from
the host in network segment 129.9.8.0 to the host in network segment 202.38.160.0.
[HUAWEI-acl-adv-3101] rule deny udp source 129.9.8.0 0.0.0.255 destination
202.38.160.0 0.0.0.255 destination-port gt 128
Format
scramble
undo scramble
A-30
Issue 03 (2010-03-31)
A Appendix
Parameters
None
Views
ATM interface view
Default Level
2: Configuration level
Usage Guidelines
The scramble command scrambles and descrambles only the payload, and exerts no influence
on the cell header.
The scrambling can effectively avoid continuous "0"s or "1"s.
Uniform configuration at two ends when configuring the scrambling.
Example
# Disable the scrambling of the ATM interface.
<HUAWEI> system-view
[HUAWEI] interface atm 4/0/0
[HUAWEI-Atm4/0/0] undo scramble
Format
scramble
undo scramble
Parameters
None
Views
POS interface view
Issue 03 (2010-03-31)
A-31
A Appendix
Default Level
2: Configuration level
Usage Guidelines
The scrambling mode on the receiving end must be consistent with that on the sending end.
Example
# Disable the scrambling of the payload on the POS interface.
<HUAWEI> system-view
[HUAWEI] interface pos 1/0/0
[HUAWEI-Pos1/0/0] undo scramble
Format
snmp-agent community { read | write } { community-name | cipher community-name } [ mibview view-name | acl acl-number ] *
undo snmp-agent community community-name
Parameters
read: indicates that the community name has the read-only authority in the specified view.
write: indicates that the community name has the read and write authority in the specified view.
community-name: specifies the character string of community name. The value is in the range
of 1 to 32 characters.
cipher community-name: indicates the community name in cipher text. The value is in the range
of 1 to 32 characters.
mib-view view-name: sets the MIB view names that the community name can have access to.
The value is in the range of 1 to 32 characters.
acl acl-number: sets the ACL corresponding to the community name. The value is in the range
of 2000 to 2999.
Views
System view
A-32
Issue 03 (2010-03-31)
A Appendix
Default Level
2: Configuration level
Usage Guidelines
Using the snmp-agent community command, you can set the read and write authority of the
community name in the MIB view as to control the user access to the MIB view.
An SNMP community name can be set to either a plain-text name or a cipher-text name.
Example
# Set the community name as comaccess and allow read-only access using this community name.
[HUAWEI] snmp-agent community read comaccess
# Set the community name to mgr and allow read and write access.
[HUAWEI] snmp-agent community write mgr
# Set the community name to be a cipher-text name that can be read only.
[HUAWEI] snmp-agent community read cipher public
Format
snmp-agent target-host trap [ ipv6 ] address udp-domain ip-address [ udp-port portnumber ] [ vpn-instance vpn-instance-name ] params securityname security-string [ v1 |
v2c | v3 [ authentication | privacy ] ]
undo snmp-agent target-host ip-address securityname security-string [ vpn-instance vpninstance-name ]
Parameters
address: specifies the address of the destination host that receives the SNMP message.
udp-domain: specifies that the transmission domain of the destination host is based on UDP.
ip-address: specifies the IP address of the host.
udp-port port-number: specifies the number of the port that receives the trap packet. The value
is in the range of 0 to 65535. By default, it is 162.
vpn-instance vpn-instance-name: indicates the name of a VPN instance. It is in the range of 1
to31 characters.
Issue 03 (2010-03-31)
A-33
A Appendix
params: indicates the information of the login host that generates SNMP messages.
securityname security-string: specifies the community name of SNMPv1, SNMPv2C or the
user name of SNMPv3. The value is in the range of 1 to 32 bytes.
v1 | v2c | v3: specifies the version of alarm messages. By default, it is v1.
authentication: authenticates but not encrypts the packet.
privacy: authenticates and encrypts the packet.
private-netmanager: sets the Huawei NMS to receive alarm messages. After the Huawei NMS
is used, the alarm message sent to the Huawei NMS can contain more detailed information, such
as the alarm type, alarm ID, and send time of the alarm message.
Views
System view
Default Level
2: Configuration level
Usage Guidelines
Use this command to specify the destination host that receives the alarm messages.
l
Using the snmp-agent trap enable command, you can enable the device to send alarm
messages. To enable a host to send notifications, you need to run the snmp-agent targethost command and the A.27 snmp-agent trap enable command on the host.
In the situation that SNMP alarm is enabled, to enable SNMPv3 to send alarm messages
normally, you need to ensure that the user name in the securityname command is added
to the corresponding group and the notification view is configured in the group.
Example
# Configure the Huawei NMS as the destination host for alarm messages.
<HUAWEI> system-view
[HUAWEI] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname comaccess v2c private-netmanager
Format
snmp-agent trap enable [ trap-type [ trap-list ] ]
A-34
Issue 03 (2010-03-31)
A Appendix
Parameters
trap-type: enables a specified type of trap packets.
trap-list: specifies the parameter list corresponding to the specified type of trap packets.
Views
System view
Default Level
2: Configuration level
Usage Guidelines
If no parameter is specified in the snmp-agent trap enable command, it indicates allowing all
the modules to send any type of SNMP trap packets.
The snmp-agent trap enable command should be used together with the snmp-agent targethost command.
The snmp-agent target-host command applies to specify the destination host of the trap packet.
In the NE80E/40E system, alarms generated by the interface-name-change, port and
standard are enabled through the snmp-agent trap enable command.
Example
# Allow sending the trap packets notifying failing SNMP authentication to 10.1.1.1. The trap
packets are in the form of v2c with the security name as public.
<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable standard authentication
[HUAWEI] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname public v2c
Format
snmp-agent usm-user v3 user-name group-name [ authentication-mode { md5 | sha }
password [ privacy-mode des56 password ] ] [ acl acl-number ]
undo snmp-agent usm-user v3 user-name group-name { engineid engineid-string | local }
Issue 03 (2010-03-31)
A-35
A Appendix
Parameters
v3: specifies the V3 security mode the user uses.
user-name: specifies the user name. It is a string of 1 to 32 characters.
group-name: specifies the name of the group the user belongs to. It is a string of 1 to 32 characters.
authentication-mode: specifies the authentication mode.
md5: specifies the authentication protocol as HMAC-MD5-96.
sha: specifies the authentication protocol as HMAC-SHA-96.
privacy-mode: specifies the encryption mode.
des56: specifies the encryption protocol as DES.
password: specifies the authentication password. It is a string of 1 to 64 characters.
acl: sets the ACL for the access view.
acl-number: specifies the basic ACL. The value is in the range of 2000 to 2999.
engineid: specifies the engine ID associated with the user.
engineid-string: specifies the character string of the engine ID. It is in the range of 10 to 64
characters.
local: indicates the local entity user.
Views
System view
Default Level
2: Configuration level
Usage Guidelines
After a remote user is configured for the agent, when the agent communicates with the remote
user, engineID is used for verification. If the engine ID changes after the user is configured, the
user corresponding to the original engine ID becomes ineffective.
Example
# Add a user named John to the SNMP group named Johngroup, with the security level being
authentication, the authentication protocol being HMAC-MD5-96 and the password being hello.
<HUAWEI> system-view
[HUAWEI] snmp-agent usm-user v3 John Johngroup authentication-mode md5 hello
Issue 03 (2010-03-31)
A Appendix
Using the undo t1 set clock command, you can restore the default setting.
By default, the clock mode of the T1 channel is master.
Format
t1 t1-number set clock { master | slave }
undo t1 t1-number set clock
Parameters
t1-number: specifies the T1 channel number. The value ranges from 1 to 84 in integer.
master: indicates the master clock.
slave: indicates the slave clock.
Views
CPOS interface view
Default Level
2: Configuration level
Usage Guidelines
The clock modes of the different T1 channels of the same CPOS interface are independent from
each other.
NOTE
Example
# Configure T1 channel 1 to use the slave clock mode.
<HUAWEI> system-view
[HUAWEI] controller cpos 1/0/0
[HUAWEI-Cpos1/0/0] t1 1 set clock slave
Format
t1 t1-number set frame-format { esf | sf }
Issue 03 (2010-03-31)
A-37
A Appendix
Parameters
t1-number: specifies the T1 channel number. The value ranges from 1 to 84.
esf: indicates the ESF format.
sf: indicates the SF format.
Views
CPOS interface view
Default Level
2: Configuration level
Usage Guidelines
The frame format on the local end must be the same as that on the remote end.
Example
# Configure the frame format of T1 channel 1 as SF.
<HUAWEI> system-view
[HUAWEI] controller cpos 1/0/0
[HUAWEI-Cpos1/0/0] t1 1 set frame-format sf
Format
t3 t3-number set clock { master | slave }
undo t3 t3-number set clock
Parameters
t3-number: specifies the sequence number of the T3 channel. The value is an integer that ranges
from 1 to 3.
master: indicates that the T3 channel is set as the master clock.
slave: indicates that the T3 channel is set as the slave clock.
A-38
Issue 03 (2010-03-31)
A Appendix
Views
CPOS interface view
Default Level
2: Configuration level
Usage Guidelines
It is recommended that the clock modes of the T3 channel and the CPOS interface be the same.
Example
# Set the Number 3 T3 channel on the CPOS 1/0/0 as the master clock, which uses the internal
clock signal.
<HUAWEI> system-view
[HUAWEI] controller cpos 1/0/0
[HUAWEI-Cpos1/0/0] t3 3 set clock master
Issue 03 (2010-03-31)
A-39