Você está na página 1de 43

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

List of Test Items


Item No.

Test Items

Result

T01

Basic Configurations

Pass Fail N/A

T02

LAN

Pass Fail N/A

T03

IP Routing

Pass Fail N/A

T04

MPLS

Pass Fail N/A

T05

VPN

Pass Fail N/A

T06

Security

Pass Fail N/A

T07

Reliability

Pass Fail N/A

T08

Performance

Pass Fail N/A

Complement part - QoS

Pass Fail N/A

Complement part -MPLS TE

Pass Fail N/A

Remark

T09
Remarks:

Customer Representative

Huawei Representative

Signature:__________________

Signature:__________________

Date:______________________

Date:______________________

Huawei Technologies Proprietary

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Table of Contents
List of Test Items ..........................................................................................................................................i
Table of Contents ........................................................................................................................................ ii
T01 Basic Configurations ........................................................................................................................... 1
T01-01 Basic Configurations............................................................................................................... 1
T01-02 System logon .......................................................................................................................... 5
T02 LAN ..................................................................................................................................................... 6
T02-01 LAN ......................................................................................................................................... 6
T03 IP Routing...........................................................................................................................................10
T03-01 Static route.............................................................................................................................10
T03-02 OSPF .....................................................................................................................................12
T03-03 BGP .......................................................................................................................................14
T03-04 Unicast Routing support ........................................................................................................16
T03-05 Routing Policies .....................................................................................................................18
T04 MPLS ..................................................................................................................................................19
T04-01 MPLS LDP .............................................................................................................................19
T05 VPN ....................................................................................................................................................22
T05-01 L3VPN ...................................................................................................................................22
T06 Security ..............................................................................................................................................25
T06-01 Mirror .....................................................................................................................................25
T07 Reliability ............................................................................................................................................26
T07-01 Master/Slave Switchover of the MPU ....................................................................................26
T07-02 Power Redundancy Test .......................................................................................................28
T07-03 Resetting of the LPU .............................................................................................................28
T08 Performance .......................................................................................................................................29
T08-01 NQA .......................................................................................................................................29
T09 Complement part................................................................................................................................32
T09-01 Check the redundancy of the router (Node) in the network ..................................................32
T09-02 MPLS TE ...............................................................................................................................33
T09-03 QoS ........................................................................................................................................36
T09-04 Check the redundancy of the router (Node) in the network ..................................................38

Huawei Technologies Proprietary

ii

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

T01

Table of Contents

Basic Configurations

T01-01 Basic Configurations


T01-0101 File System
Objective
Networking diagram

To test the file system of a router.


Port1

GE1/0/0
10.1.1.1/24

10.1.1.2/24

Router A

Prerequisites
Test procedure

PC1

PC1 logs in to Router A through Telnet.


1. After PC1 logs in to Router A through Telnet, run the dir command to view the files in
the current directory, and expected result 1 is displayed. Then, enter the directory
cfcard2:/log/ to view log files, and expected result 1 is displayed.
2. Copy files from cfcard:/ hyj.zip to slave#cfcard:/ hyj.zip, and expected result 2 is
displayed.

Expected results

1. The file system is displayed as follows:


<RouterA> dir
Directory of cfcard:/
Idx

Attr

Size(Byte)

-rw-

14,562

Sep 15 2009 19:00:08

-rw-

81,986

Sep 15 2009 19:02:08

3 -rw4

-rw-

Date

Time(LMT)

241,957,705 Sep 24 2009 11:58:10


837

FileName
license183.txt
paf183.txt

ne40e&80ev300r006c01.cc

Sep 28 2009 15:54:46

hyj.zip

506,368 KB total (269,344 KB free)


<RouterA> dir cfcard2:/log/
Directory of cfcard2:/log/
Idx

Attr

Size(Byte)

-rw-

4,654,024

Sep 29 2009 09:57:12

log.log

-rw-

4,808,564

Sep 29 2009 09:57:12

log.dblg

-rw-

367,185

Sep 29 2009 10:07:16

logpkt.per

-rw-

262,144

Sep 26 2009 10:30:10

logfilebuf.dat

26 -rw-

Date

Time(LMT)

990,082 Sep 25 2009 11:13:36

FileName

2009-09-25.11-25-21.dblg

27 -rw-

8,390,447 Sep 25 2009 11:55:20

28 -rw-

2,927,910 Sep 26 2009 03:00:28

2009-09-26.03-09-48.dblg

2009-09-25.12-25-30.log

29 -rw-

636,822 Sep 26 2009 10:20:52

2009-09-26.10-29-28.dblg

506,880 KB total (460,528 KB free)

2. Files are successfully copied. After the dir slave#cfcard:/hyj.zip command is run,
the corresponding files are displayed.
<RouterA> copy cfcard:/hyj.zip slave#cfcard:/hyj.zip
Copy cfcard:/hyj.zip to slave#cfcard:/hyj.zip?[Y/N]:y
The file slave#cfcard:/hyj.zip exists. Overwrite it?[Y/N]:y

Huawei Technologies Proprietary

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Warning: The file slave#cfcard:/hyj.zip is a system resource file that is


in use
, overwrite it?[Y/N]:y
100%

complete

Info: Copied file cfcard:/hyj.zip to slave#cfcard:/hyj.zip...Done.


<RouterA> dir slave#cfcard:/hyj.zip
Directory of slave#cfcard:/
Idx

Attr

Size(Byte)

-rw-

837

Date

Time(LMT)

Sep 29 2009 10:31:52

FileName
hyj.zip

506,880 KB total (269,840 KB free)

Pass Fail N/A

Result
Internal number

T01-0101

Remark

T01-0102 Device Status Monitoring


Objective
Networking diagram

To test the device status monitoring function of a router.


Port1

GE1/0/0
10.1.1.1/24

10.1.1.2/24

Router A

Prerequisites
Test procedure

PC1

PC1 logs in to Router A through Telnet.


1. After PC1 logs in to Router A, run the display version command to view the device
version. Expected result 1 is displayed.
2. Run the display device [ pic-status | slot-id ] command to view the basic device
information. Expected result 2 is displayed.
3. Run the display memory-usage [ slave | slot slot-id ] command to view the memory
usage of an MPU or an LPU. Expected result 3 is displayed.
4. Run the display cpu-usage [ entry-number [ offset ] ] [ verbose ] [ slave | slot
slot-id ] [ history ] command to view the CPU usage of an MPU or an LPU.
Expected result 4 is displayed.
5. Run the display alarm [ slot-id | all ] command to view the alarm information.
Expected result 5 is displayed.
6. Run the display temperature[ slot slot-id ] command to view the working
temperature of a module. Expected result 6 is displayed.
7. Run the display voltage [ slot slot-id ] command to view the voltage status of a board.
Expected result 7 is displayed.

Expected results

1. The device version is partially correct.


<RouterA> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (NE40E&80E V600R001C00)

Huawei Technologies Proprietary

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Copyright (C) 2000-2009 Huawei Technologies Co., Ltd.


HUAWEI NE80E uptime is 0 day, 0 hour, 26 minutes
NE80E version information:

2. The basic device information is correct.


3. The registration statuses of boards are displayed.
<RouterA> display device
NE40E's Device status:
Slot #

Type

Online

Register

Status

Primary

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1

LPU

Present

Registered

Normal

NA

LPU

Present

Registered

Normal

NA

LPU

Present

Registered

Normal

NA

LPU

Present

Registered

Normal

NA

MPU

Present

Registered

Normal

Slave

10

MPU

Present

NA

Normal

Master

11

SFU

Present

Registered

Normal

NA

12

SFU

Present

Registered

Normal

NA

13

SFU

Present

Registered

Normal

NA

14

SFU

Present

Registered

Normal

NA

15

CLK

Present

Registered

Normal

Slave

16

CLK

Present

Registered

Normal

Master

17

PWR

Present

Registered

Normal

NA

19

FAN

Present

Registered

Normal

NA

4. The PIC statuses are displayed.


<RouterA> display device pic-status
Pic-status information in Chassis 1:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SLOT PIC Status

Type

Port_count Init_result

Logic

down
1

Registered ETH_48XGE_SFP

48

SUCCESS

SUCCESS

Registered ETH_24XGE_CARD

24

SUCCESS

SUCCESS

Registered POS_10G_CARD

SUCCESS

SUCCESS

Registered FLEX_ETH_8XGE_CARD

SUCCESS

SUCCESS

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

5. The memory usage of slot 1 is displayed.


<RouterA> display memory-usage slot 1
Slot 1 Memory utilization Info:
Memory utilization statistics at 2009-09-29 11:53:30 940 ms
System Total Memory Is: 536870912 bytes
Total Memory Used Is: 334371856 bytes
Memory Using Percentage Is: 62%

6. The CPU usage of slot 1 is displayed.


<RouterA> display cpu-usage slot 1
CPU Usage Stat. Cycle: 60 (Second)
CPU Usage

: 14% Max: 97%

CPU Usage Stat. Time : 2009-09-29

11:54:03

CPU utilization for five seconds: 14%: one minute: 14%: five minutes: 14%.

7. The alarm information is displayed.

Huawei Technologies Proprietary

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

<RouterA> display alarm all


--------------------------------------------------------------------------Index
1

Level
Error

Date

Time

Info

09-09-29 11:19:01

The CFcard storage media of MPU9(Entit


y)

exceeded

the

prealarm

threshold
2

Critical

09-09-29 11:17:29

Emergency 09-09-29 11:15:54

CLK 15 is failed, 38.8M Apll Unlock


Slot6 is failed, The input voltage(48V
_1) of LPU is Failed

Alert

Error

09-09-29

11:15:41

09-09-29

power SlotID:18 is failed, absent

11:15:29

Because of VRP Command,resetting

or be
ing pulled out etc., the entity of
MPU
9 changed to standby

8. The temperatures of the modules in a specified slot are displayed.


<RouterA> display temperature slot 1
Base-Board, Unit:C, Slot1
PCB

I2C Addr Chl

Status

Minor Major Fatal Adj_speed Temp


TMin Tmax (C)

----------------------------------------------------------------FADB

NORMAL

70

76

85

54

67

40

LPUB

NORMAL

63

69

80

48

60

37

LPUB

NORMAL

63

69

80

48

60

35

EMGF

NORMAL

65

71

90

50

62

28

9. The voltages of the modules in a specified slot are displayed.


<RouterA> display voltage slot 1
Base-Board, Unit: Volt, Slot1
PCB

I2C Addr Chl Status Required LowAlmThreshold HighAlmThreshold Vol

Ratio
Major

Fatal

Major

Fatal

------------------------------------------------------------------------------

Result

FADB

NORMAL 1.50

1.20

1.05

1.80

1.95

1.51 1.00

FADB

NORMAL 1.80

1.44

1.26

2.16

2.34

1.86 1.00

FADB

NORMAL 2.50

2.00

1.75

3.00

3.25

2.77 0.68

FADB

NORMAL 5.00

4.05

3.55

6.07

6.57

5.10 0.38

LPUB

NORMAL 1.50

1.20

1.05

1.80

1.95

1.53 1.00

LPUB

NORMAL 1.50

1.20

1.05

1.80

1.95

1.51 1.00

LPUB

NORMAL 2.50

2.00

1.73

2.97

3.23

2.47 0.34

EMGF

NORMAL 1.20

1.10

1.00

1.30

1.40

1.23 1.00

EMGF

NORMAL 1.80

1.62

1.44

1.98

2.16

1.87 1.00

EMGF

NORMAL 2.50

2.25

2.00

2.73

2.98

2.50 0.76

EMGF

NORMAL 1.80

1.62

1.44

1.98

2.16

1.86 1.00

EMGF

NORMAL 3.30

3.00

2.67

3.67

4.00

3.46 0.58

EMGF

NORMAL 2.50

2.25

2.00

2.73

2.98

2.50 0.76

EMGF

NORMAL 3.30

3.00

2.67

3.67

4.00

3.32 0.58

Pass Fail N/A

Huawei Technologies Proprietary

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Internal number

Table of Contents

T01-0102

Remark

T01-02 System logon


T01-0201 Telnet Connection
Objective

To test the Telnet function of the router.

Networking diagram

GE1/0/0
1.1.1.1/24

GE1/0/0
1.1.1.2/24

RouterA

Prerequisites
Test procedure

RouterB

IP addresses are assigned to interfaces on Router A and Router B according to


the networking diagram. Router A and Router B can ping through each other.
1.

Assign IP addresses to interfaces.

# Configure Router A.
<RouterA> system-view
[RouterA] interface gigabitethernet1/0/0
[RouterA-GigabitEthernet1/0/0] ip address 1.1.1.1 24

# Configure Router B.
<RouterB> system-view
[RouterB] interface gigabitethernet1/0/0
[RouterB-GigabitEthernet1/0/0] ip address 1.1.1.2 24

2.

Configure the Telnet authentication mode and password on Router B.


<RouterB> system-view
[RouterB] user-interface vty 0 4
[RouterB-ui-vty0-4] authentication-mode password
[RouterB-ui-vty0-4] set authentication password simple 123456
[RouterB-ui-vty0-4] quit

3.

Log in to Router B from Router A through Telnet.


<RouterA> telnet 1.1.1.2

The expected results are displayed.


Expected results

Trying 1.1.1.2 ...


Press CTRL+K to abort
Connected to 1.1.1.2 ...
***********************************************************
*
All rights reserved (2000-2008)
*
*
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
Password:123456
Info: The max number of VTY users is 5, and the number
of current VTY users on line is 1.

Result
Internal number

Pass Fail N/A


T01-0201

Huawei Technologies Proprietary

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Remark

T01-0202 FTP upload/download files function


Objective

To test the FTP function of the router.

Networking diagram
1.1.1.1/24

1.1.1.2/24
Router A

PC

Prerequisites
Test procedure

The PC connected the router with management (console) interface.


1.

On Router A, configure the FTP server to upload files to the CF card, with
the username and password both as hwftp.

# Configure Router A.
<RouterA> system-view
[RouterA] ftp server enable
[RouterA] aaa
[RouterA-aaa] localuser password simple hwftp
[RouterA-aaa] localuser hwftp service-type ftp
[RouterA-aaa] localuser hwftp ftp-directory cfcard:/

The expected results are displayed.


The PC can use hwftp as the username and password to log in to Router A, and
the files on the CF card of RTA can be displayed.

Expected results
Result
Internal number

Pass Fail N/A


T01-0202

Remark
Customer Representative

Huawei Representative

Signature:__________________
Signature:__________________
Date:______________________
Date:______________________

T02

LAN

T02-01 LAN
T02-0101 Connectivity of Ethernet Interfaces
Objective

To test connectivity of Ethernet interfaces and sub-interfaces.

Huawei Technologies Proprietary

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Networking diagram

GE1/0/0
1.1.1.1/24

Table of Contents

GE1/0/0
1.1.1.2/24

RouterA

Prerequisites
Test procedure

RouterB

None.
1. Detect connectivity of Ethernet interfaces.
(1) Assign an IP address to the main interface on each router.
# Configure Router A.
<Quidway> system-view
[Quidway] sysname RouterA
[RouterA] interface GigabitEthernet 1/0/0
[RouterA-GigabitEthernet1/0/0] ip address 1.1.1.1 24
[RouterA-GigabitEthernet1/0/0] quit

# Configure Router B.
<Quidway>
[Quidway]

system-view
sysname RouterB

[RouterB] interface GigabitEthernet 1/0/0


[RouterB-GigabitEthernet1/0/0] ip address 1.1.1.2 24
[RouterB-GigabitEthernet1/0/0] quit

(2) Run the ping 1.1.1.2 command on Router A, and run the ping 1.1.1.1
command on Router B. Expected result 1 is displayed.

Expected results

1.

Router A can successfully ping Router B.


[RouterA] ping 1.1.1.2
PING 1.1.1.2: 56

data bytes, press CTRL_C to break

Reply from 1.1.1.2: bytes=56 Sequence=1 ttl=255 time=1 ms


Reply from 1.1.1.2: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 1.1.1.2: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 1.1.1.2: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 1.1.1.2: bytes=56 Sequence=5 ttl=255 time=1 ms
--- 1.1.1.2 ping statistics --5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms

In addition, Router B can successfully ping Router A.


Result

Pass Fail N/A

Internal number

T02-0101

Remark

The IP addresses of the two GE main interfaces and the two GE sub-interfaces
must be in the same network segment.

T02-0102 Connectivity of POS Interfaces


Objective

To test the connectivity of POS interfaces.

Huawei Technologies Proprietary

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Networking diagram

Table of Contents

1.1.1.1/24

1.1.1.2/24

POS 10/0/0

POS 6/0/0
Router B

Router A

Prerequisites

Test procedure

1.

Router A and Router B are connected according to the networking


diagram.

2.

Router A and Router B are directly connected through a POS link, and the
POS interfaces are Up.

1.

Configure the IP addresses of the POS interfaces on Router A and Router


B to be in the same network segment.

# Configure Router A.
[RouterA] interface pos

10/0/0

[RouterA-Pos10/0/0] ip address

1.1.1.1 24

[RouterA-Pos10/0/0] quit

# Configure Router B.
[RouterB] interface pos

6/0/0

[RouterB-Pos6/0/0] ip address

1.1.1.2 24

[RouterB-Pos6/0/0] quit

Expected results

2.

Run the ping command on Router A and Router B. Expected result 1 is


displayed.

1.

Router A and Router B can ping through each other through the POS
interfaces.
[RouterA] ping 1.1.1.2
PING 1.1.1.2: 56

data bytes, press CTRL_C to break

Reply from 1.1.1.2: bytes=56 Sequence=1 ttl=255 time=7 ms


Reply from 1.1.1.2: bytes=56 Sequence=2 ttl=255 time=8 ms
Reply from 1.1.1.2: bytes=56 Sequence=3 ttl=255 time=14 ms
Reply from 1.1.1.2: bytes=56 Sequence=4 ttl=255 time=7 ms
Reply from 1.1.1.2: bytes=56 Sequence=5 ttl=255 time=8 ms

--- 1.1.1.2 ping statistics --5 packet(s) transmitted


5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 7/8/14 ms
[RouterB] ping 1.1.1.1
PING 1.1.1.1: 56

data bytes, press CTRL_C to break

Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=7 ms


Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=8 ms

Huawei Technologies Proprietary

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=8 ms


Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=8 ms
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=7 ms
--- 1.1.1.1 ping statistics --5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 7/7/8 ms

Pass Fail N/A

Result
Internal number

T02-0102

Remark

T02-0103 Support IP-Trunk function


Objective

To test the IP-Trunk link protect and traffic load-sharing functions.

Networking diagram

Prerequisites

Test procedure

1.

Router A and Router B are connected according to the networking


diagram.

2.

Router A and Router B are directly connected through 2*STM-1 Link. And
the IP-trunk interfaces are up.

1.

Configure the IP addresses of the IP-Trunk on Router A and Router B to be


in the same network segment.

# Configure Router A.
[RouterA] interface pos

1/0/0

[RouterA-Pos1/0/0] ip-trunk 0
[RouterA-Pos1/0/0] quit
[RouterA] interface pos

1/1/0

[RouterA-Pos1/1/0] ip-trunk 0
[RouterA-Pos1/1/0] quit
[RouterA] interface ip-trunk 0
[RouterA-ip-trunk 0] ip address 20.1.1.1 24
[RouterA- ip-trunk 0] quit

# Configure Router B.
[RouterB] interface pos

1/0/0

Huawei Technologies Proprietary

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

[RouterB-Pos1/0/0] ip-trunk 0
[RouterB-Pos1/0/0] quit
[RouterB] interface pos

1/1/0

[RouterB-Pos1/1/0] ip-trunk 0
[RouterB-Pos1/1/0] quit
[RouterB] interface ip-trunk 0
[RouterB-ip-trunk 0] ip address 20.1.1.1 24
[RouterB- ip-trunk 0] quit

Expected results

2.

Run the Display interface ip-trunk 0 command on Router A and Router


B. Expected result 1 is displayed.

3.

When interrupt one STM-1 fiber, the ip-trunk 0 interface state is up on


Router A and Router B. Expected result 2 is displayed.

4.

Run the Display interface POS 1/0/0 and POS1/1/0 on Router A and
Router B. Expected result 3 is displayed

1.

Router A and Router B IP-Trunk state is up.

2.

Router A and Router B IP-Trunk state is up.

3.

Router A and Router B POS 1/0/0 and POS1/1/0 is up.

Pass Fail N/A

Result
Internal number

T02-0103

Remark

T03

IP Routing

T03-01 Static route


T03-0101 Static route Functions
Objective

To test static route functions.

Networking diagram

Prerequisites
Test procedure

None
1.

Configure the IPv4 address of each interfaces on each router to make them
connected with each other.

Huawei Technologies Proprietary

10

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

2.

Table of Contents

Configure the IPv4 static route to the destination address and the default
route on the PC and Router A.

Router A:
ip route-static 202.1.1.2 24 20.1.1.1

3.

Configure the IPv4 default gateway on the CX600-1.

Router B:
ip route-static 0.0.0.0 0 20.1.1.2

1.
Expected results

Use the display ip routing-table command, the expected result is displayed.

Display the IP routing table of Router A.


[Router A] display ip routing-table
Route Flags: R - relied, D - download to fib
-----------------------------------------------------------------------------Routing Tables: Public
Destinations : 8

Destination/Mask

Routes : 8

Proto Pre Cost

0.0.0.0/0 Static 60 0
202.1.1.0/24 Direct 0

Flags

RD

202.1.1.1/32 Direct 0

NextHop

20.1.1.2 GigabitEthernet1/0/0
202.1.1.1

Interface

GigabitEthernet2/0/0

127.0.0.1

InLoopBack0

20.1.1.0/24 Direct 0

20.1.1.1

20.1.1.1/32 Direct 0

127.0.0.1

InLoopBack0

127.0.0.0/8 Direct 0

127.0.0.1

InLoopBack0

127.0.0.1/32 Direct 0

127.0.0.1

InLoopBack0

D
D

GigabitEthernet1/0/0

# Verify connectivity with the ping command.


[Router A] ping 2.2.2.2
PING 2.2.2.2: 56 data bytes, press CTRL_C to break
Reply from 2.2.2.2: bytes=56 Sequence=1 ttl=254 time=2 ms
Reply from 2.2.2.2: bytes=56 Sequence=2 ttl=254 time=3 ms
Reply from2.2.2.2: bytes=56 Sequence=3 ttl=254 time=3 ms
Reply from 2.2.2.2: bytes=56 Sequence=4 ttl=254 time=2 ms
Reply from 2.2.2.2: bytes=56 Sequence=5 ttl=254 time=2 ms

Huawei Technologies Proprietary

11

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

--- 2.2.2.2 ping statistics --5 packet(s) transmitted


5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/2/3 ms

# Verify connectivity with the tracert command.


[Router A] tracert 2.2.2.2
traceroute to 2.2.2.2 (2.2.2.2) 30 hops max,40 bytes packet

1 20.1.1.2 1 ms 2 ms 1 ms
Pass Fail N/A

Result
Internal number

T03-0101

Remark

T03-02 OSPF
T03-0201 Basic OSPF Functions
Objective

To test basic OSPF functions.

Networking diagram

1.1.1.1/32

2.2.2.2/32

GE2/0/0
15.1.1.1 24

RouterA

Prerequisites
Test procedure

GE2/0/0
15.1.1.2 24

RouterB

As shown in the preceding networking diagram, IP addresses and masks are


configured for the interfaces on Router A and Router B.
1.

Run the ospf and network commands on Router A and Router B to enable
OSPF on all related interfaces.

# Configure Router A.
[RouterA] ospf 1 router-id 1.1.1.1
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0] network 15.1.1.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0] quit

Huawei Technologies Proprietary

12

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

[RouterA-ospf-1] area 1
[RouterA-ospf-1-area-0.0.0.1] network 1.1.1.1 0.0.0.0

# Configure Router B.
[RouterB] ospf 1 router-id 2.2.2.2
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 15.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] quit
[RouterB-ospf-1] area 2
[RouterB-ospf-1-area-0.0.0.2] network 2.2.2.2 0.0.0.0

Expected results

2.

Run the display ip routing-table 1.1.1.1 command on Router B to check


whether the OSPF route is correctly generated, and whether Router B can
ping through the loopback interface on Router A. Expected result 1 is
displayed.

3.

Run the display ip routing-table 2.2.2.2 command on Router A to check


whether the OSPF route is correctly generated, and whether Router A can
ping through the loopback interface on Router B. Expected result 2 is
displayed.

1.

The display of routing information on Router B is as follows, and Router B


can ping through the loopback interface on Router A.
Route Flags: R - relay, D - download to fib
---------------------------------------------------------------Routing Table : Public
Summary Count : 1
Destination/Mask
1.1.1.1/32

Proto
OSPF

Pre

Cost

10

Flags

NextHop

15.1.1.1

Interface

GigabitEthernet2/0/0

[RouterB] ping 1.1.1.1


PING 1.1.1.1: 56

data bytes, press CTRL_C to break

Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=11 ms


Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=4 ms
Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=4 ms
Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=4 ms
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=4 ms
--- 1.1.1.1 ping statistics --5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 4/5/11 ms

2.

The display of routing information on Router A is as follows, and Router A


can ping through the loopback interface on Router B.
Route Flags: R - relay, D - download to fib
---------------------------------------------------------------Routing Table : Public
Summary Count : 1
Destination/Mask
2.2.2.2/32

Proto

OSPF

10

Pre

Cost

Flags
15.1.1.2

NextHop

Interface

GigabitEthernet2/0/0

[RouterA] ping 2.2.2.2


PING 2.2.2.2: 56

data bytes, press CTRL_C to break

Huawei Technologies Proprietary

13

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Reply from 2.2.2.2: bytes=56 Sequence=1 ttl=255 time=4 ms


Reply from 2.2.2.2: bytes=56 Sequence=2 ttl=255 time=3 ms
Reply from 2.2.2.2: bytes=56 Sequence=3 ttl=255 time=3 ms
Reply from 2.2.2.2: bytes=56 Sequence=4 ttl=255 time=3 ms
Reply from 2.2.2.2: bytes=56 Sequence=5 ttl=255 time=3 ms
--- 2.2.2.2 ping statistics --5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 3/3/4 ms

Pass Fail N/A

Result
Internal number

T03-0201

Remark

T03-03 BGP
T03-0301 BGP
Objective

To test basic BGP functions.

Networking diagram

Prerequisites

Test procedure

1.

Interfaces are in the normal operating state.

2.

IP addresses are configured according to the networking diagram.

1.

Configure BGP on Router A and Router B. Expected result 1 is


displayed.
# Configure Router A.
[RouterA] bgp 200
[RouterB-bgp] router-id 1.0.0.0
[RouterA-bgp] peer 31.2.3.3 as-number 200

# Configure Router B.
[RouterB] bgp 200
[RouterB-bgp] router-id 2.0.0.0
[RouterB-bgp] peer 31.2.3.2 as-number 200

2.

Create a loopback interface on Router A and import the IP address of


the loopback interface to BGP. Expected result 2 is displayed.
# Configure Router A.
[RouterA] interface loopback 0
[RouterA-LoopBack0] ip address 2.2.2.2 32

Huawei Technologies Proprietary

14

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

[RouterA-LoopBack0] bgp 200


[RouterA-bgp] network 2.2.2.2 32

Expected results

3.

Run the ping 2.2.2.2 command on Router B. Expected result 3 is


displayed.

1.

The BGP peer relationship is correctly established, with both the BGP
peers in the Established state.
[RouterB-bgp] display bgp peer
BGP local router ID : 2.0.0.0
Local AS number : 200
Total number of peers : 1

Peers in established state :

1
Peer

PrefRcv
31.2.3.2

AS MsgRcvd MsgSent OutQ Up/Down

200

12

12

State

0 00:08:10 Established

2.

Router A advertises the route to Router B.


[RouterB-bgp] display bgp routing-table 2.2.2.2
BGP local router ID : 2.0.0.0
Local AS number : 200
Paths:

1 available, 1 best, 1 select

BGP routing table entry information of 2.2.2.2/32:


From: 31.2.3.2 (1.0.0.0)
Route Duration: 00h03m13s
Direct Out-interface: GigabitEthernet1/0/2
Original nexthop: 31.2.3.2
Qos information : 0x0
AS-path nil, origin igp, MED 0, pref-val 0, valid, internal, best,
select, active, pre 255
Not advertised to any peer yet

3.

Router B can ping the IP address 2.2.2.2 successfully.


[RouterB-bgp] ping 2.2.2.2
PING 2.2.2.2: 56

data bytes, press CTRL_C to break

Reply from 2.2.2.2: bytes=56 Sequence=1 ttl=255 time=2 ms


Reply from 2.2.2.2: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 2.2.2.2: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 2.2.2.2: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 2.2.2.2: bytes=56 Sequence=5 ttl=255 time=1 ms
--- 2.2.2.2 ping statistics --5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/2 ms

Result
Internal number

Pass Fail N/A


T03-0301

Remark

Huawei Technologies Proprietary

15

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

T03-04 Unicast Routing support


T03-0401 BFD for OSPF, Static route, BGP
Objective

To test function of BFD for IS-IS,OSPF, Static route

Networking diagram

GE3/0/4
12.1.1.1/24

GE3/0/4
12.1.1.2/24

RTB

RTA
Prerequisites
Test procedure

As shown in the preceding networking diagram, IP addresses and masks


are configured for the interfaces on Router A and Router B.
1

Configure OSPF on Router A and Router B and enable OSPF on the


two directly-connected interfaces to ensure that the states of their
neighbors are Up.
ospf 1
area 0.0.0.0
network 12.1.1.0 0.0.0.255
bfd all-interfaces enable
2

Enable BFD globally on Router A and Router B. BFD for OSPF is


configured and default values are adopted.

bfd
3
4
5
6

Check the BFD session list on Router A, and get the expected result
1.
Run the shutdown command on G 3/0/4 on Router A, Check the
BFD session list on Router A, and get the expected result 2
Run the undo shutdown command on G 3/0/4 on Router A, Check
the BFD session list on Router A, and get the expected result 1
Configure a loopback interface on Router A and B,

Interface loopback 1
Ip address 1.1.1.1 255.255.255.255
Interface loopback 1
Ip address 2.2.2.2 255.255.255.255
7

Configure bfd session and static route to loopback interface on


Router A and B

bfd aa bind peer-ip 12.1.1.2


discriminator local 10
discriminator remote 20
commit
Ip route-static 2.2.2.2 255.255.255.255 12.1.1.2 track bfd-session 1
bfd aa bind peer-ip 12.1.1.1

Huawei Technologies Proprietary

16

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

discriminator local 20
discriminator remote 10
commit
Ip route-static 1.1.1.1 255.255.255.255 12.1.1.1 track bfd-session 1

Check the BFD session list on Router A, and get the expected result
1
9 Repeat steps 4 to 5
10 Configure the bgp, and enable BFD for bgp
bfd
bgp 100
peer 12.1.1.2 as-number 100
peer 12.1.1.2 bfd enable
11 Check the BFD session list on Router A, and get the expected result
1
12 Repeat steps 4 to 5
Expected results

1.

BFD session is UP

2.

BFD session is DOWN

[CX-A] display ospf bfd session all


OSPF Process 1 with Router ID 1.1.1.1
Area 0.0.0.0 interface 12.1.1.1(GigabitEthernet1/0/0)'s BFD Sessions
NeighborId:12.1.1.2 AreaId:0.0.0.0 Interface:GigabitEthernet1/0/0
BFDState:up rx :10 tx :10
Multiplier:3 BFD Local Dis:8195 LocalIpAdd:12.1.1.1
RemoteIpAdd:12.1.1.2 Diagnostic Info:No diagnostic information
[CX-A] display isis bfd session all
BFD session information for ISIS(1)
----------------------------------Peer System ID : 0000.0000.0002 Interface : GE1/0/0
TX : 10 BFD State : up Peer IP Address : 12.1.1.2
RX : 10 LocDis : 8193 Local IP Address: 12.1.1.1
Multiplier : 3 RemDis : 8192
[CX-A] display bfd session all
-------------------------------------------------------------------------------Local Remote PeerIpAddr State Type InterfaceName
-------------------------------------------------------------------------------10 20 12.1.1.2 Up S_IP_PEER -------------------------------------------------------------------------------Total UP/DOWN Session Number : 1/0
[CX-A] display current-configuration | include bfd
bfd
bfd 1 bind peer-ip 12.1.1.2

ip route-static 0.0.0.0 0.0.0.0 12.1.1.2 track bfd-session aa


<CX-A> display bgp bfd session all

Huawei Technologies Proprietary

17

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

-------------------------------------------------------------------------------Local_Address Peer_Address LD/RD Interface


200.1.1.1 200.1.1.2 8201/8201 GigibitEthernet2/0/0
Tx-interval(ms) Rx-interval(ms) Multiplier Session-State
100 100 4 Up
--------------------------------------------------------------------------------

Pass Fail N/A

Result
Internal number

T03-0401

Remark

T03-05 Routing Policies


T03-0501 Basic Functions of Routing Policies
Objective

To test that OSPF can filter the received and advertised routes.

Networking diagram
GE2/0/ 0
15.1.1.1 24

GE2/0/0
15.1.1.2 24

Route rA

Prerequisites
Test procedure

Route rB

As shown in the preceding networking diagram, IP addresses and masks


are configured for the interfaces on Router A and Router B.
1.

Run the ospf and network commands on Router A and Router B to


enable OSPF on all related interfaces.

# Configure Router A.
[RouterA] ospf 1 router-id 1.1.1.1
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0] network 15.1.1.0 0.0.0.255

# Configure Router B.
[RouterB] ospf 1 router-id 2.2.2.2
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 15.1.1.0 0.0.0.255

2.

Configure a static route on Router A and Router B, and import the


static routes into the OSPF process.

# Configure Router A.
[RouterA] ip route-static 100.1.1.1 32 NULL 0
[RouterA] ospf 1
[RouterA-ospf-1] import-route static

# Configure Router B.

Huawei Technologies Proprietary

18

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

[RouterB] ip route-static 110.1.1.1 32 NULL 0


[RouterB] ospf 1
[RouterB-ospf-1] import-route static

Expected results

3.

Run the display ospf 1 lsdb command on Router B. Expected


result 1 is displayed. Run the display ospf 1 routing command on
Router A. Expected result 2 is displayed.

1.

Router B is a querier. The command output is as follows:


[RouterB] display ospf 1 lsdb
OSPF Process 1 with Router ID 2.2.2.2
Link State Database
Area: 0.0.0.0
Type

LinkState ID

AdvRouter

Age Len

Sequence

Metric

Router

2.2.2.2

2.2.2.2

36

80000005

Router

1.1.1.1

1.1.1.1

36

80000005

Network

15.1.1.2

2.2.2.2

1195

32

80000002

AS External Database
Type
LinkState ID
External 110.1.1.1
External

100.1.1.1

AdvRouter
2.2.2.2

Age Len
3 36

1.1.1.1

36

Sequence Metric
80000001
1
80000001

//Router A and Router B advertise LSAs.

2.

Router A is a querier. The command output is as follows:


[RouterA] display ospf 1 routing
OSPF Process 1 with Router ID 1.1.1.1
Routing Tables
Routing for Network
Destination
15.1.1.0/24

Cost Type
Transit

NextHop
15.1.1.1

AdvRouter
2.2.2.2

Area
0.0.0.0

Routing for ASEs


Destination
110.1.1.1/32

Cost
1

Type
Type2

Tag
1

NextHop
15.1.1.2

AdvRouter
2.2.2.2

//Router A learns the route advertised by Router B.


Total Nets: 2
Intra Area: 1

Inter Area: 0

ASE: 1

NSSA: 0

Pass Fail N/A

Result
Internal number

T03-0501

Remark

T04

MPLS

T04-01 MPLS LDP


T04-0101 Local LDP Session

Huawei Technologies Proprietary

19

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Objective

Table of Contents

To test the function of a local LDP session.

Networking diagram

2.2.2.2/32

1.1.1.1/32
GE1/0/0

GE1/0/0

12.12.12.1/24

12.12.12.2/24

RouterA
Prerequisites

Test procedure

RouterB

1.

Loopback0 of Router A is assigned 1.1.1.1/32.

2.

Loopback0 of Router B is assigned 2.2.2.2/32.

3.

GE 1/0/0 of Router A is assigned 12.12.12.1/24.

4.

GE 1/0/0 of Router B is assigned 12.12.12.2/24.

5.

Configure an IGP on each router to ensure connectivity between routers. Take


OSPF as an example.

# Configure Router A.
[RouterA] ospf 1
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0
[RouterA-ospf-1-area-0.0.0.0] network 12.12.12.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0] quit
[RouterA-ospf-1] quit

# Configure Router B.
[RouterB] ospf 1
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.0
[RouterB-ospf-1-area-0.0.0.0] network 12.12.12.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] quit
[RouterB-ospf-1] quit

6.

Enable MPLS and MPLS LDP on each router.

# Configure Router A.
[RouterA] mpls lsr-id 1.1.1.1
[RouterA] mpls
[RouterA-mpls] quit
[RouterA] mpls ldp
[RouterA-mpls-ldp] quit
[RouterA] interface gigabitethernet 1/0/0
[RouterA-GigabitEthernet1/0/0] mpls
[RouterA-GigabitEthernet1/0/0] mpls ldp
[RouterA-GigabitEthernet1/0/0] quit

# Configure Router B.
[RouterB] mpls lsr-id 2.2.2.2
[RouterB] mpls
[RouterB-mpls] quit
[RouterB] mpls ldp
[RouterB-mpls-ldp] quit
[RouterB] interface gigabitethernet 1/0/0

Huawei Technologies Proprietary

20

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

[RouterB-GigabitEthernet1/0/0] mpls
[RouterB-GigabitEthernet1/0/0] mpls ldp
[RouterB-GigabitEthernet1/0/0] quit

Expected results

7.

Run the display mpls ldp session 2.2.2.2 command and the display mpls
ldp peer 2.2.2.2 command on Router A. Expected result 1 is displayed.

8.

Run the ping lsp ip 2.2.2.2 32 command on Router A. Expected result 2 is


displayed.

1. A local LDP session is set up between Router A and Router B.


[RouterA] display mpls ldp session 2.2.2.2
LDP Session Information
----------------------------------------------------------------Peer LDP ID

: 2.2.2.2:0

TCP Connection

: 1.1.1.1 <- 2.2.2.2

Session State

: Operational

Local LDP ID

: 1.1.1.1:0

Session Role

: Passive

//An LDP session is successfully set up.


Session FT Flag : Off

MD5 Flag

Reconnect Timer : 200 Sec

: Off

Recovery Timer : 300 Sec

Negotiated Keepalive Hold Timer

: 45 Sec

Configured Keepalive Send Timer

: ---

Keepalive Message Sent/Rcvd

: 2/2 (Message Count)

Label Advertisement Mode

: Downstream Unsolicited

Label Resource Status(Peer/Local) : Available/Available


Session Age

: 0000:00:00 (DDDD:HH:MM)

Session Deletion Status

: No

Addresses received from peer: (Count: 5)


12.12.12.2

2.2.2.2

26.26.26.2

25.25.25.2

23.23.23.2
----------------------------------------------------------------[RouterA] display mpls ldp peer 2.2.2.2
LDP Peer Information in Public network
----------------------------------------------------------------Peer LDP ID

: 2.2.2.2:0

Peer Max PDU Length : 4096

Peer Transport Address : 2.2.2.2

Peer Loop Detection : Off

Peer Path Vector Limit : ----

Peer FT Flag

Peer Keepalive Timer

Recovery Timer
Peer Type

: 300 Sec
Reconnect Timer
: 300 Sec
: Local //The type of the session is local.

Off

: 45 Sec

Peer Label Advertisement Mode : Downstream Unsolicited


Peer Discovery Source
: GigabitEthernet1/0/0 //The peer discovered

is the directly connected to the local router. That is, a local session is set up.
Peer Deletion Status

: No

-----------------------------------------------------------------

2. Router A successfully pings the IP address of the outgoing interface of the LSP on

Huawei Technologies Proprietary

21

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Router B.
[RouterA] ping lsp ip 2.2.2.2 32
LSP PING FEC: IPV4 PREFIX 2.2.2.2/32 : 100 data bytes, press CTRL_C
to break
Reply from 2.2.2.2: bytes=100 Sequence=1 time = 7 ms
Reply from 2.2.2.2: bytes=100 Sequence=2 time = 5 ms
Reply from 2.2.2.2: bytes=100 Sequence=3 time = 5 ms
Reply from 2.2.2.2: bytes=100 Sequence=4 time = 5 ms
Reply from 2.2.2.2: bytes=100 Sequence=5 time = 4 ms
--- FEC: IPV4 PREFIX 2.2.2.2/32 ping statistics --5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 4/5/7 ms

Pass Fail N/A

Result
Internal number

T04-0401

Remark

T05

VPN

T05-01 L3VPN
T05-0101 L3VPN
Objective

To test basic L3VPN functions.

Networking diagram

Prerequisites

Test procedure

1.

Interfaces work normally.

2.

IP addresses are configured according to the networking diagram.

1.

Configure OSPF and create loopback interfaces on Router A and


Router B; enable OSPF on their loopback interfaces and direct
interfaces. In this manner, Router A and Router B can learn the route
destined for the loopback interface of each other.
# Configure Router A.
[RouterA]router id 1.1.1.1
[RouterA] interface LoopBack0
[RouterA-LoopBack0] ip address 1.1.1.1 32
[RouterA-LoopBack0] quit
[RouterA] interface GigabitEthernet 1/0/1
[RouterA-GigabitEthernet1/0/1]ip address 10.1.2.1 24
[RouterA-GigabitEthernet1/0/1]quit

Huawei Technologies Proprietary

22

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

[RouterA]ospf
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0
[RouterA-ospf-1-area-0.0.0.0]network 10.1.2.1 0.0.0.255

# Configure Router B.
[RouterA]router id 2.2.2.2
[RouterA] interface LoopBack0
[RouterA-LoopBack0] ip address 2.2.2.2 32
[RouterA-LoopBack0] quit
[RouterA] interface GigabitEthernet 1/0/1
[RouterA-GigabitEthernet1/0/1]ip address 10.1.2.2 24
[RouterA-GigabitEthernet1/0/1]quit
[RouterA]ospf
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[RouterA-ospf-1-area-0.0.0.0]network 10.1.2.2 0.0.0.255

2.

Configure MPLS and LDP on Router A and Router B, and enable


MPLS and LDP on their direct interfaces.
# Configure Router A.
[RouterA] mpls lsr-id 1.1.1.1
[RouterA] mpls
[RouterA-mpls] quit
[RouterA] mpls ldp
[RouterA-mpls-ldp] quit
[RouterA] interface GigabitEthernet 1/0/1
[RouterA-GigabitEthernet1/0/1] mpls
[RouterA-GigabitEthernet1/0/1] mpls ldp

# Configure Router B.
[RouterB] mpls lsr-id 2.2.2.2
[RouterB] mpls
[RouterB-mpls] quit
[RouterB] mpls ldp
[RouterB-mpls-ldp] quit
[RouterB] interface GigabitEthernet 1/0/1
[RouterB-GigabitEthernet1/0/1] mpls
[RouterB-GigabitEthernet1/0/1] mpls ldp

3.

Configure the same VPN instance on Router A and Router B.


# Configure Router A.
[RouterA] ip vpn-instance vrf1
[RouterA-vpn-instance-vrf1] route-distinguisher 1:1
[RouterA-vpn-instance-vrf1] vpn-target 1:1
[RouterA-vpn-instance-vrf1] quit

# Configure Router B.
[RouterB] ip vpn-instance vrf1
[RouterB-vpn-instance-vrf1] route-distinguisher 1:1
[RouterB-vpn-instance-vrf1] vpn-target 1:1
[RouterB-vpn-instance-vrf1] quit

4.

Configure L3VPN, with Router A and Router B as PEs. Expected

Huawei Technologies Proprietary

23

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

result 1 is displayed.
# Configure Router A.
[RouterA] bgp 100
[RouterA-bgp] router-id 1.0.0.0
[RouterA-bgp] peer 2.2.2.2 as-number 100
[RouterA-bgp] peer 2.2.2.2 connect-interface LoopBack0
[RouterA-bgp] ipv4-family vpnv4
[RouterA-bgp-af-vpnv4] peer 2.2.2.2 enable

# Configure Router B.
[RouterB] bgp 100
[RouterB-bgp] router-id 2.0.0.0
[RouterB-bgp] peer 1.1.1.1 as-number 100
[RouterB-bgp] peer 1.1.1.1 connect-interface LoopBack 0
[RouterB-bgp] ipv4-family vpnv4
[RouterB-bgp-af-vpnv4] peer 1.1.1.1 enable

5.

Create a loopback interface on Router A and bind the loopback


interface to the VPN instance; create a loopback interface on Router
B and bind the loopback interface to the VPN instance.
# Configure Router A.
[RouterA] interface LoopBack 1
[RouterA-LoopBack1] ip binding vpn-instance vrf1
[RouterA-LoopBack1] ip address 11.11.11.11 32
[RouterA] bgp 100
[RouterA-bgp] ipv4 vpn-instance vrf1
[RouterA-bgp-vrf1] import-route direct

# Configure Router B.
[RouterB] interface LoopBack 1
[RouterB-LoopBack1] ip binding vpn-instance vrf1
[RouterB-LoopBack1] ip address 22.22.22.22 32
[RouterB] bgp 100
[RouterB-bgp] ipv4 vpn-instance vrf1
[RouterB-bgp-vrf1] import-route direct

Expected results

6.

Run the ping -a 22.22.22.22 -vpn-instance vrf1 11.11.11.11


command on Router B, and the ping -a 11.11.11.11 -vpn-instance
vrf1 22.22.22.22 command on Router A. Expected result 2 is
displayed.

1.

The BGP peer relationship is correctly established, with both the BGP
peers in the Established state.
[RouterB] display bgp vpnv4 all peer
BGP local router ID : 2.0.0.0
Local AS number : 100
Total number of peers : 1

Peers in established state :

1
Peer

AS MsgRcvd MsgSent OutQ Up/Down

State

PrefRcv
1.1.1.1

100

12

Huawei Technologies Proprietary

11

0 00:07:09 Established

24

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

2.

Router A and Router B can ping each other successfully through the
VPN instance.
[RouterB] ping -a 22.22.22.22 -vpn-instance vrf1 11.11.11.11
PING 11.11.11.11: 56

data bytes, press CTRL_C to break

Reply from 11.11.11.11: bytes=56 Sequence=1 ttl=255 time=1 ms


Reply from 11.11.11.11: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 11.11.11.11: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 11.11.11.11: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 11.11.11.11: bytes=56 Sequence=5 ttl=255 time=1 ms
--- 11.11.11.11 ping statistics --5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms
[RouterA] ping -a 11.11.11.11 -vpn-instance vrf1 22.22.22.22
PING 22.22.22.22: 56

data bytes, press CTRL_C to break

Reply from 22.22.22.22: bytes=56 Sequence=1 ttl=255 time=1 ms


Reply from 22.22.22.22: bytes=56 Sequence=2 ttl=255 time=2 ms
Reply from 22.22.22.22: bytes=56 Sequence=3 ttl=255 time=2 ms
Reply from 22.22.22.22: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 22.22.22.22: bytes=56 Sequence=5 ttl=255 time=1 ms
--- 22.22.22.22 ping statistics --5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/2 ms

Pass Fail N/A

Result
Internal number

T05-0101

Remark

T06

Security

T06-01 Mirror
T06-0101 Basic Functions of Local Mirroring
Objective

To test the basic functions of local mirroring.

Huawei Technologies Proprietary

25

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Networking diagram

Table of Contents

1.1.1.1/32

GE1/0/0

2.2.2.2/32

GE2/0/0

Router A

Router B
10.1.1.1/24
GE1/0/1

10.1.1.2/24
GE2/0/1
5.5.5.5/24
5.5.5.6/24

PC1

Prerequisites

PC2

The IP addresses of the interfaces on Router A and Router B are assigned, a static
route is configured between Router A and Router B, and PC2 can ping through
Router A.

Test procedure

Configure GE 1/0/0 on Router A.


<RouterA> system-view
[RouterA] interface gigabitethernet
[RouterA-GigabitEthernet1/0/0] port-mirroring inbound

Configure GE 1/0/1 on Router A.


<RouterA> system-view
[RouterA] interface gigabitethernet
[RouterA-GigabitEthernet1/0/1] port-observing observe-index 1

Configure slot 1 on Router A.


[RouterA-GigabitEthernet1/0/1] quit
[RouterA-slot-1] mirror to observe-index 1

Ping 10.1.1.1 on PC2. Expected result 1 is displayed.


Capture packets on PC1. Expected result 2 is displayed.
Expected results

After Step 2 is performed, PC2 can ping through Router A.


The ping packet destined for 10.1.1.1 sent by PC2 can be captured on PC1.
Pass Fail N/A

Result
Internal number

T06-0101

Remark

The IP addresses of GE 1/0/0 and GE 1/0/1 on Router A must be in the same


network segment.
The static route must be configured between Router A and Router B so that
PC2 can ping through Router A.

T07

Reliability

T07-01 Master/Slave Switchover of the MPU


Objective

To test if the function of the master/slave switchover of the MPU is normal.

Huawei Technologies Proprietary

26

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Networking
diagram

Prerequisites

Test procedure

Expect results

1.

The rotuer is configured with two MPUs and the two MPUs run
normally.

2.

The two FE interfaces of the router are connected to two networks


seperately. Two PCs are sepeartely connected with these two
networks, as shown in the figure above.

1.

Configure IP addresses of the two FE interfaces of the router, and


interfaces of the PCs so that PC1 and PC2 can ping through each
other.

3.

Run the ping -n 100000 10.100.9.103 command to ping PC2 from


from PC1.

4.

On the terminal connected with the router, run the display


switchover state command to check the state of the master/slave
switchover state machine of the MPU. The expected result 1 is
displayed.

5.

When the MPU is in realtime backup state, run the slave


switchover command under the system view to force the
master/slave switchover of the MPU. Check the display information
of the ping command on PC1. The expceted result 2 is displayed.

1.

In step 3, the state of the master/slave switchover state machine is


as below:

# Run the follow command on NE40E.


<Quidway> display switchover state 9
HA FSM State: Realtime and routine backup.

# Run the follow command on NE40E.


<Quidway> display switchover state 17
HA FSM State: Realtime and routine backup

6.

In step 4, the display information of the ping command shows that


the network is not interrupted.
Reply
Reply
Reply
Reply
Reply
Reply

Result
Internal number

from
from
from
from
from
from

10.100.9.103:
10.100.9.103:
10.100.9.103:
10.100.9.103:
10.100.9.103:
10.100.9.103:

bytes=32
bytes=32
bytes=32
bytes=32
bytes=32
bytes=32

time=4ms
time<1ms
time<1ms
time<1ms
time<1ms
time<1ms

TTL=127
TTL=127
TTL=127
TTL=127
TTL=127
TTL=127

Pass Fail N/A


T07-0101

Remark

Huawei Technologies Proprietary

27

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

T07-02 Power Redundancy Test


Objective

To verify that the router has redundant power supply and verify the actual redundancy
capability

Networking
diagram
Prerequisites

1.

The router is configured with redundant power supply and run


normally.

Test procedure

1.

The router provides 1+1 redundancy backup for the AC power


supply.

2.

Turn off the primary power supply of the router (or unplug it) when
the router is running.

3.

Observe the working states of the redundant power supply and the
router.

1.

The redundant power supply should take over the work of the
primary power supply and the router should run stably.

Expect results

Result
Internal number

Pass Fail N/A


T07-0102

Remark

T07-03 Resetting of the LPU


Objective

To test the effect of the resetting of the LPU to the network

Networking diagram
Prerequisites

1. The router runs normally.


2. The router is configured with two LPUs (supposed as LPU1 and
LPU2, who occupy slot 1 and slot 2 respectively). PC1 is directly
connected with the FE interface of LPU1.

Test procedure

1. Create a Loopback interface on the router and configure


10.100.8.16 as the IP address of this interface.
2. Configure the IP address for the FE interface of the router and the
IP address for PC1 so that PC1 can ping through the Loopback
interface of the router.
3. From PC1, ping the Loopback interface continuously. Run ping -n
100000 10.100.8.16 command.
4. In user view, run the reset slot 2 command to reset LPU2 on the
router. Check the display information of the ping command on

Huawei Technologies Proprietary

28

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

PC1.
5. In user view on the terminal connected with the router, run the reset
slot 1 command to reset LPU1 on the router. Check the display
information of the ping command on PC1.
Expect results

1. In step 4 and step 5, run the display device command and check the
state of each board to find that the state of the board that is being reset
changes and others do not change. After a while, run the display
device command again, the reset board registers normally.
2. In step 4, the display information of the ping command shows that
the network is not interrupted.
3. In step 5, the display information of the ping command shows that
packet loss occurs in a period. The display information of the ping
command becomes normal when the LPU1 regester normally.
Pass Fail N/A

Result
Internal number

T07-0103

Remark

T08

Performance

T08-01 NQA
T08-0101 NQA-based ICMP Test
Objective

To test the ICMP test through NQA.

Networking diagram

Prerequisites
Test procedure

Assign an IP address to each interface according to the preceding


networking diagram.
1. Configure Router A as the NQA CLIENT.
[RouterA] nqa test-instance admin icmp
[RouterA-nqa-admin-icmp] test-type icmp
[RouterA-nqa-admin-icmp] destination-address ipv4 10.1.1.2
[RouterA-nqa-admin-icmp] start now

2. Display result on Router A. Expected result 1 is displayed.

Huawei Technologies Proprietary

29

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Expected results

Table of Contents

1. Result 1see the delay value in the Min/Max/Average Completion Time


[RouterA-nqa-admin-icmp] display nqa results test-instance admin icmp
NQA entry(admin, icmp) :testFlag is inactive ,testtype is icmp
1 . Test 1 result

The test is finished

Send operation times: 3

Receive response times: 3

Completion:success

RTD OverThresholds number:

0
Attempts number:1

Drop operation number:0

Disconnect operation number:0

Operation timeout number:0

System busy operation number:0

Connection fail number:0

Operation sequence errors number:0

RTT Stats errors number:0

Destination ip address:10.1.1.2
Min/Max/Average Completion Time: 31/46/36
Sum/Square-Sum

Completion Time: 108/4038

Last Good Probe Time: 2006-8-2 10:7:11.4


Lost packet ratio: 0 %

Pass Fail N/A

Results
Internal number

T08-01

Remark

T08-0102 NQA-based ICMP Jitter Test


Objective

Networking diagram

To test the ICMP jitter test through NQA.

GE1/0/0
1.1.1.1/24

GE1/0/0
1.1.1.2/24

RouterA

Prerequisites
Test procedure

RouterB

Assign an IP address to each interface according to the preceding


networking diagram.
3. Configure Router B as the NQA server. Expected result 1 is displayed.
[RouterB] nqa-server icmp-server 1.1.1.2

4. Configure the ICMP jitter test on Router A. Expected result 2 is


displayed.
[RouterA] nqa test admin icmpjitter
[RouterA-nqa-admin-icmpjitter] test-type icmpjitter
[RouterA-nqa-admin-icmpjitter] destination-address ipv4 1.1.1.2
[RouterA-nqa-admin-icmpjitter] start now

Expected results

2. The NQA server is in the ACTIVE state.


[RouterB] display nqa-server
NQA Server Max: 5000

Huawei Technologies Proprietary

NQA Server Num: 1

30

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

NQA Concurrent TCP Server : 0

NQA Concurrent UDP Server: 0

NQA Concurrent ICMP Server : 1


nqa-server icmp-server 1.1.1.2 ACTIVE

Hardware-based

3. The ICMP jitter test is successfully conducted and the result is correctly
recorded. "success" is displayed in the Completion field.and you can
see the jitter value in the jitter in value and jitter out value.
[RouterA] display nqa results test-instance admin icmpjitter
NQA

entry(admin,

icmpjitter

icmpjitter)

1 . Test 1 result

:testflag

is

inactive

,testtype

is

The test is finished

SendProbe:60

ResponseProbe:60

Completion:success

RTD OverThresholds number:0

OWD OverThresholds SD number:0

OWD OverThresholds DS number:0

Min/Max/Avg/Sum RTT:0/1/0/18

RTT

NumOfRTT:60

Drop operation number:0

Operation sequence errors number:0

RTT Stats errors number:0

System busy operation number:0

Operation timeout number:0

Min Positive SD:0

Min Positive DS:1

Max Positive SD:0

Max Positive DS:1

Positive SD Number:0

Positive DS Number:1

Positive SD Sum:0

Positive DS Sum:1

Positive SD Square Sum:0

Positive DS Square Sum:1

Min Negative SD:0

Min Negative DS:0

Max Negative SD:0

Max Negative DS:0

Negative SD Number:0

Negative DS Number:0

Negative SD Sum:0

Negative DS Sum:0

Negative SD Square Sum:0

Negative DS Square Sum:0

Min Delay SD:0

Min Delay DS:0

Max Delay SD:0

Max Delay DS:0

Delay SD Square Sum:0

Delay DS Square Sum:0

Packet Loss SD:0

Packet Loss DS:0

Packet Loss Unknown:0

Average of Jitter:1

Average of Jitter SD:0

Average of Jitter DS:1

Square Sum:18

jitter out value:0.0000000

jitter in value:0.0114507

NumberOfOWD:60

Packet Loss Ratio: 0%

OWD SD Sum:0

OWD DS Sum:0

ICPIF value: 0

MOS-CQ value: 0

TimeStamp unit: ms

Results
Internal number

Pass Fail N/A


T08-02

Remark

Huawei Technologies Proprietary

31

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

T09

Table of Contents

Complement part

T09-01 Check the redundancy of the router (Node) in the network


Objective

Check the redundancy of the PE router (Node) in the network.

Networking diagram

Prerequisites
Test procedure

Assign IP address as above diagram.


1.

Configure OSPF as IGP protocol on all router. After configuration, they can
ping other routerss loopback address. The detailed configuration is not
mentioned here.

2.

Configure the basic MPLS functions and enable MPLS TE, CSPF,
RSVP-TE, and OSPF TE. Example on RTA:
# Configure on RTA:
[RTA] mpls lsr-id 1.1.1.1
[RTA] mpls
[RTA-mpls] mpls te
[RTA-mpls] mpls rsvp-te
[RTA-mpls] mpls te cspf
[RTA-mpls] quit
[RTA] interface gigabitethernet 1/0/0
[RTA-GigabitEthernet1/0/0] mpls
[RTA-GigabitEthernet1/0/0] mpls te
[RTA-GigabitEthernet1/0/0] mpls rsvp-te
[RTA-GigabitEthernet1/0/0] quit
[RTA] interface gigabitethernet 1/0/1
[RTA-GigabitEthernet1/0/0] mpls
[RTA-GigabitEthernet1/0/0] mpls te
[RTA-GigabitEthernet1/0/0] mpls rsvp-te
[RTA-GigabitEthernet1/0/0] quit
[RTA] ospf 1
[RTA-ospf-1] opaque-capability enable
[RTA-ospf-1] area 0
[RTA-ospf-1-area-0.0.0.0] mpls-te enable
[RTA-ospf-1-area-0.0.0.0] quit
[RTA-ospf-1] quit

3.

Establish an MPLS TE tunnel on RTD as the primary LSP


# Configure the explicit path of the primay LSP
[RTD] explicit-path pri-path
[RTD-explicit-path-pri-path]
[RTD-explicit-path-pri-path]
[RTD-explicit-path-pri-path]
[RTD-explicit-path-pri-path]

next hop 10.10.1.11


next hop 10.10.1.3
next hop 2.2.2.2
quit

# Configure the MPLS TE tunnel as the primay LSP


[RTD] interface tunnel 1/0/0

Huawei Technologies Proprietary

32

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router


[RTD-Tunnel1/0/0]
[RTD-Tunnel1/0/0]
[RTD-Tunnel1/0/0]
[RTD-Tunnel1/0/0]
[RTD-Tunnel1/0/0]
[RTD-Tunnel1/0/0]

Table of Contents
ip address unnumbered interface loopback 1
tunnel-protocol mpls te
destination 2.2.2.2
mpls te tunnel-id 100
mpls te signal-protocol rsvp-te
mpls te path explicit-path pri-path

# Enable FRR
[RTD-Tunnel1/0/0] mpls te fast-reroute
[RTD-Tunnel1/0/0] mpls te commit
[RTD-Tunnel1/0/0] quit

4.

Configure the bypass tunnel on RTD that functions as PLR


# Configure the explicit path of the bypass LSP.
[RTD] explicit-path by-path
[RTD-explicit-path-by-path] next hop 10.10.1.15
[RTD-explicit-path-by-path] next hop 10.10.1.6
[RTD-explicit-path-by-path] next hop 2.2.2.2
[RTD -explicit-path-by-path] quit

# Configure the bypass tunnel.


[RTD] interface tunnel 1/0/1
[RTDTunnel1/0/1] ip address unnumbered interface loopback 1
[RTD-Tunnel1/0/1] tunnel-protocol mpls te
[RTD-Tunnel1/0/1] destination 2.2.2.2
[RTD-Tunnel1/0/1] mpls te tunnel-id 300
[RTD-Tunnel1/0/1] mpls te signal-protocol rsvp-te
[RTD-Tunnel1/0/1] mpls te path explicit-path by-path

# Configure bandwidth that can be protected by the bypass tunnel.


[RTD-Tunnel1/0/1] mpls te bypass-tunnel

# Bind the bypass tunnel to the protected interface.


[RTD-Tunnel1/0/1] mpls te protected-interface gigabitethernet 1/0/1
[RTD-Tunnel1/0/1] mpls te commit
[RTD-Tunnel1/0/1] quit

Expected results

Results
Internal number

1.

Using the command display interface tunnel to check the tunnel status.
Tunnel must be UP.

2.

Shutdown the RTA and ping from PC1 to PC2. The convergence time less
than 200ms.

Pass Fail N/A


T09-01

Remark

T09-02 MPLS TE
Objective

MPLS TE status and operation

Huawei Technologies Proprietary

33

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Networking diagram

Prerequisites
Test procedure

Assign an IP address to each interface according to the preceding


networking diagram.
5.

The ospf protocol is configured on all routers to advertise LSR ID. The
detailed configuration is not mentioned here. After the configuration, the
LSRs learned routes from each other.

6.

On all routers, configure the basic MPLS functions and enable MPLS TE,
CSPF, RSVP-TE.
# Configure LSR A
[LSRA] mpls lsr-id 1.1.1.1
[LSRA] mpls
[LSRA-mpls] mpls te
[LSRA-mpls] mpls rsvp-te
[LSRA-mpls] mpls te cspf
[LSRA-mpls] quit
[LSRA] interface gigabitethernet 1/0/0
[LSRA-GigabitEthernet1/0/0] mpls
[LSRA-GigabitEthernet1/0/0] mpls te
[LSRA-GigabitEthernet1/0/0] mpls rsvp-te
[LSRA-GigabitEthernet1/0/0] quit

# Configure LSR B
[LSRB] mpls lsr-id 2.2.2.2
[LSRB] mpls
[LSRB-mpls] mpls te
[LSRB-mpls] mpls rsvp-te
[LSRB-mpls] quit
[LSRB] interface gigabitethernet 1/0/0
[LSRB-GigabitEthernet1/0/0] mpls
[LSRB-GigabitEthernet1/0/0] mpls te
[LSRB-GigabitEthernet1/0/0] mpls rsvp-te
[LSRB-GigabitEthernet1/0/0] quit

7.

Configure OSPF TE on two router


# Configure LSR A
[LSRA] ospf
[LSRA-ospf-1] opaque-capability enable
[LSRA-ospf-1] area 0
[LSRA-ospf-1-area-0.0.0.0] mpls-te enable
[LSRA-ospf-1-area-0.0.0.0] quit
[LSRA-ospf-1] quit

# Configure LSR B
[LSRB] ospf
[LSRB-ospf-1] opaque-capability enable
[LSRB-ospf-1] area 0
[LSRB-ospf-1-area-0.0.0.0] mpls-te enable
[LSRB-ospf-1-area-0.0.0.0] quit
[LSRB-ospf-1] quit

8.

Configure the MPLS TE link bandwidth


# Configure the maximum reservable bandwidth and the maximum BC0
bandwidth of the link on all tunnel interfaces.
# Configure LSR A
[LSRA] interface gigabitethernet 1/0/0
[LSRA-GigabitEthernet1/0/0] mpls te bandwidth max-reservable-bandwidth
100000
[LSRA-GigabitEthernet1/0/0] mpls te bandwidth bc0 100000

9.

Configure explicit-path on LSR A.

Huawei Technologies Proprietary

34

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

# Configure on LSRA
[LSRA] explicit-path path1
[LSRA-explicit-path-pri-path] next hop 10.10.1.2
[LSRA-explicit-path-pri-path] next hop 2.2.2.2
[LSRA-explicit-path-pri-path] quit

10. Configure MPLS TE tunnel interface from LSRA to LSRB.


# Configure on LSRA
[LSRA] interface tunnel 1/0/0
[LSRA-Tunnel1/0/0] ip address unnumbered interface loopback 1
[LSRA-Tunnel1/0/0] tunnel-protocol mpls te
[LSRA-Tunnel1/0/0] destination 2.2.2.2
[LSRA-Tunnel1/0/0] mpls te tunnel-id 100
[LSRA-Tunnel1/0/0] mpls te signal-protocol rsvp-te
[LSRA-Tunnel1/0/0] mpls te bandwidth ct0 20000
[LSRA-Tunnel1/0/0] mpls te path explicit-path pri-path
[LSRA-Tunnel1/0/0] mpls te commit
[LSRA-Tunnel1/0/0] quit

11. Verify the configuration. The expected result as below.

Expected results

1.

Run the display cur to check MPLS Teconfiguration on global mode


and on each interface.

2.

Run the display interface tunnel command on LSR A, and you can
view that the status of the tunnel interface goes UP.
[LSRA] display interface tunnel
Tunnel1/0/0 current state : UP
Line protocol current state : UP
Last up time: 2009-01-15, 16:35:10
Description : Tunnel1/0/0Interface
Route Port,The Maximum Transmit Unit is 1500 bytes
Internet Address is unnumbered, using address of LoopBack1(1.1.1.1/32)
Encapsulation is TUNNEL, loopback not set
Tunnel destination 2.2.2.2
Tunnel up/down statistics 1
Tunnel protocol/transport MPLS/MPLS, ILM is available,
primary tunnel id is 0x1002001, secondary tunnel id is 0x0
300 seconds output rate 0 bits/sec, 0 packets/sec
22 seconds output rate 0 bits/sec, 0 packets/sec
0 packets output, 0 bits
0 output error
ct0:0 packets output, 0 bytes
0 output error

3.

Run the display mpls te tunnel-interface command on LSR A to


display the information on the tunnel: tunnel status, bandwidth,
selective path
[LSRA] display mpls te tunnel-interface tunnel1/0/0
Tunnel Name
: Tunnel1/0/0
Tunnel State Desc : CR-LSP is Up
Tunnel Attributes
:
Session ID
: 100
Ingress LSR ID
: 1.1.1.1
Egress LSR ID: 2.2.2.2
Admin State
: UP
Oper State
: UP
Signaling Protocol : RSVP
Tie-Breaking Policy : None
Metric Type : None
Car Policy
: Disabled
Bfd Cap
: None
BypassBW Flag
: Not Supported
BypassBW Type
: Bypass BW
: Retry Limit
: 5
Retry Int
: 2 sec
Reopt
: Disabled
Reopt Freq
: Auto BW
: Disabled
Current Collected BW: Auto BW Freq : Min BW
: Max BW
: Tunnel Group
: Primary
Interfaces Protected: Excluded IP Address : Is On Radix-Tree
: Yes
Referred LSP Count: 0
Primary Tunnel
: Pri Tunn Sum : Backup Tunnel
: -

Huawei Technologies Proprietary

35

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Group Status
: Up
IPTN InLabel
: BackUp Type
: None
Secondary HopLimit : BestEffort HopLimit : Secondary Explicit Path Name: Secondary Affinity Prop/Mask: 0x0/0x0
BestEffort Affinity Prop/Mask: 0x0/0x0
Primary LSP ID
: 1.1.1.1:1
Setup Priority
: 7
Affinity Prop/Mask : 0x0/0x0
CT0 Reserved BW(Kbit/sec): 20000
CT2 Reserved BW(Kbit/sec): 0
CT4 Reserved BW(Kbit/sec): 0
CT6 Reserved BW(Kbit/sec): 0
Actual Bandwidth(kbps): 20000
Explicit Path Name : path1
Record Route
: Disabled
Route Pinning
: Disabled
FRR Flag
: IdleTime Remain
: -

CT1
CT3
CT5
CT7

Oam Status

Up

BestEffort

Disabled

Hold Priority: 7
Resv Style
: SE
Reserved BW(Kbit/sec):
Reserved BW(Kbit/sec):
Reserved BW(Kbit/sec):
Reserved BW(Kbit/sec):
Hop Limit
Record Label :

0
0
0
0

: Disabled

Pass Fail N/A

Results
Internal number

T09-01

Remark

T09-03 QoS
QoS function command show
Objective

Configure the traffic policing and traffic shaping to control the data flow

Networking
diagram

Prerequisites

Equipments connected according the diagram above and running normally.

Test procedure

1. When no configure QoS on RTA, run ping command with the rate bigger than
1Mbit/s from PC to RTA. And run the ping command with the rate bigger than 2
Mbit/s from RTA to RTB. Get the result 1.
2. Configure traffic policy on the interface connect to PC of RTA and configure
traffic shaping on the interface connect to RTB of RTA.
# Configure an ACL for matching data flows from PC1.
[RTA] acl number 2001
[RTA-acl-basic-2001] rule permit source 10.10.2.0 255.255.255.0
[RTA-acl-basic-2001] quit

# Configure traffic classes and define ACL-based class matching rules.

Huawei Technologies Proprietary

36

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

[RTA] traffic classifier class1


[RTA-classifier-class1] if-match acl 2001
[RTA-classifier-class1] quit

# Define a behavior so that the rate-limit is 1 Mbit/s. When the traffic rate
exceeds 1Mbit/s, packet are dropped.
[RTA] traffic behavior behavior1
[RTA-behavior-behavior2] car cir 1000 green pass yellow discard red discard
[RTA-behavior-behavior2] quit

# Define a policy to associate classes with behavior.


[RTA] traffic policy policy1
[RTA-trafficpolicy-policy1] classifier class1 behavior behavior1
[RTA-trafficpolicy-policy1] quit

Apply the policy to Ge1/0/0


[RTA] interface gigabitethernet 1/0/0
[RTA-GigabitEthernet1/0/0] undo shutdown
[RTA-GigabitEthernet1/0/0] traffic-policy policy1 inbound

# Configure Traffic shaping on Ge1/0/1 of RTA to shape the EF traffic on the


interface (EF traffic beyond than 2Mbit/s is dropped) to lower the packet loss
ratio on Ge1/0/1 of RTB.
[CX-A] interface Ge 1/0/1
[CX-A-Ge1/0/1] undo shutdown
[CX-A-Ge1/0/1] port shaping 2

Expected
Results

3.
4.
5.
6.
1.
2.

Ping
Ping
Ping
Ping

from
form
from
from

Test Result

Passed [ ]

PC to RTA with the rate is smaller than 1 Mbit/s. Get the result 1.
PC to RTA with the rate is bigger than 1 Mbit/s. Get the result 2.
RTA to RTB with the rate is smaller than 2 Mbit/s. Get the result 1.
RTA to RTB with the rate is bigger than 2 Mbit/s. Get the result 2.

No packet loss.
There are packet loss.

Failed [ ]

Partially passed [ ]
Not tested [ ]

Remarks
Log
Signature of VNPT Rep

Signature of Vendor Rep

Huawei Technologies Proprietary

37

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

T09-04 Status of the LSA between Huawei router and Cisco router
Objective

Check the Status of the LSA between Huawei router and Cisco router

Networking diagram

Prerequisites
Test procedure

Assign IP address as above diagram.


1.

Configure IP address for all router in the diagram.

2.

Configure the OSPF as IGP protocol on two router Huawei and one router
Cisco.
# Configure on RTA:
[RTA] router id 1.1.1.101
[RTA] ospf 1
[RTA-ospf-1] arae 0
[RTA-ospf-1-area-0.0.0.0]
[RTA-ospf-1-area-0.0.0.0]
[RTA-ospf-1-area-0.0.0.0]
[RTA-ospf-1-area-0.0.0.0]
[RTA-ospf-1] quit

[RTB] router id 1.1.1.102


[RTB] ospf 1
[RTB-ospf-1] arae 0
[RTB-ospf-1-area-0.0.0.0]
[RTB-ospf-1-area-0.0.0.0]
[RTB-ospf-1-area-0.0.0.0]
[RTB-ospf-1-area-0.0.0.0]
[RTB-ospf-1] quit

3.

network 1.1.1.101 0.0.0.0


network 10.10.1.0 0.0.0.3
network 10.10.2.0 0.0.0.3
quit

network 1.1.1.102 0.0.0.0


network 10.10.2.0 0.0.0.3
network 10.10.3.0 0.0.0.3
quit

Configure mpls and mpls ldp in global mode on the Huawei router and
Cisco router
[RTA] mpls

Huawei Technologies Proprietary

38

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

[RTA-mpls] quit
[RTA] mpls ldp
[RTB] mpls
[RTB-mpls] quit
[RTB] mpls ldp
[RTB-mpls-ldp] quit

4.

Expected results

Configure mpls and mpls ldp in interface mode on router Cisco and router
Huawei
[RTA] interface gigabitethernet
[RTA-GigabitEthernet1/0/0] mpls
[RTA-GigabitEthernet1/0/0] mpls
[RTA-GigabitEthernet1/0/0] quit
[RTA] interface gigabitethernet
[RTA-GigabitEthernet1/0/1] mpls
[RTA-GigabitEthernet1/0/1] mpls
[RTA-GigabitEthernet1/0/1] quit

1/0/0

[RTB] interface gigabitethernet


[RTB-GigabitEthernet1/0/0] mpls
[RTB-GigabitEthernet1/0/0] mpls
[RTB-GigabitEthernet1/0/0] quit
[RTB] interface gigabitethernet
[RTB-GigabitEthernet1/0/1] mpls
[RTB-GigabitEthernet1/0/1] mpls
[RTB-GigabitEthernet1/0/1] quit

1/0/0

ldp
1/0/1
ldp

ldp
1/0/1
ldp

5.

Run the display ip routing-table command all the routers to view the
routing table. The expected result 1 is displayed

6.

Run the display mpls ldp peer command all the routers. The expected
result 2 is displayed.

7.

Run the display mpls ldp session command all the routers. The expected
result 3 is displayed.

1.

Using the command display ip routing-table on router A to check the


routing table

[Quidway]display ip routing-table
Route Flags: R - relay, D - download to fib
-----------------------------------------------------------------------------Routing Tables: Public
Destinations : 15

Destination/Mask

Routes : 16

Proto Pre Cost

1.1.1.101/32

Direct

1.1.1.102/32
1.1.1.103/32

Flags NextHop

Interface

D 127.0.0.1

InLoopBack0

OSPF 10

D 10.10.2.2

Ethernet1/0/1

OSPF 10

D 10.10.2.2

Ethernet1/0/0

Huawei Technologies Proprietary

39

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

10.10.1.0/30

Direct

D 10.10.1.2

Ethernet1/0/0

10.10.1.1/32

Direct

D 127.0.0.1

InLoopBack0

10.10.3.0/30

OSPF

10

D 10.10.2.2

Ethernet1/0/2

10.10.2.0/30

Direct

D 10.10.2.2

Ethernet1/0/1

10.10.2.1/32

Direct

D 127.0.0.1

InLoopBack0

127.0.0.0/8

Direct

D 127.0.0.1

InLoopBack0

127.0.0.1/32

Direct

D 127.0.0.1

InLoopBack0

2.

Using the command display mpls ldp peer on router A to check the
routing table

<Quidway>display mpls ldp peer

LDP Peer Information in Public network


-----------------------------------------------------------------------------Peer-ID

Transport-Address Discovery-Source

-----------------------------------------------------------------------------1.1.1.102:0

1.1.1.102

Ethernet1/0/1

1.1.1.103:0

1.1.1.103

Ethernet1/0/0

-----------------------------------------------------------------------------TOTAL: 2 Peer(s) Found.

3.

Using the command display mpls ldp session on router A to check the
sessions between router A and router B and C

<Quidway>display mpls ldp session

LDP Session(s) in Public Network


-----------------------------------------------------------------------------Peer-ID

Status

LAM SsnRole SsnAge

KA-Sent/Rcv

-----------------------------------------------------------------------------1.1.1.102:0

Operational DU Passive 000:13:56 138/138

1.1.1.103:0

Operational DU Passive 000:13:56 139/139

-----------------------------------------------------------------------------TOTAL: 2 session(s) Found.


LAM : Label Advertisement Mode

SsnAge Unit : DDD:HH:MM

Huawei Technologies Proprietary

40

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

4.

Table of Contents

Using the command display ospf error lsa on router A to check whether
error for LSA or not between router Huawei and router Cisco.

<Quidway>display mpls ldp session

Results
Internal number

Pass Fail N/A


T09-04

Remark

Huawei Technologies Proprietary

41

Você também pode gostar