Sunteți pe pagina 1din 43

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

List of Test Items


Item No. T01 T02 T03 T04 T05 T06 T07 T08 T09 Complement part -MPLS TE Remarks: Pass Fail N/A Test Items Basic Configurations LAN IP Routing MPLS VPN Security Reliability Performance Complement part - QoS Result Pass Fail N/A Pass Fail N/A Pass Fail N/A Pass Fail N/A Pass Fail N/A Pass Fail N/A Pass Fail N/A Pass Fail N/A Pass Fail N/A Remark

Customer Representative

Huawei Representative

Signature:__________________ Date:______________________

Signature:__________________ 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

Table of Contents

T01

Basic Configurations

T01-01 Basic Configurations


T01-0101 File System Objective Networking diagram To test the file system of a router.
GE1/0/0 10.1.1.1/24 Router A Port1 10.1.1.2/24 PC1

Prerequisites Test procedure

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 1 2 4 Attr -rw-rw-rwSize(Byte) 14,562 81,986 837 Date Time(LMT) FileName license183.txt paf183.txt ne40e&80ev300r006c01.cc hyj.zip

Sep 15 2009 19:00:08 Sep 15 2009 19:02:08 Sep 28 2009 15:54:46

3 -rw-

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

506,368 KB total (269,344 KB free) <RouterA> dir cfcard2:/log/ Directory of cfcard2:/log/ Idx 0 1 2 3 Attr -rw-rw-rw-rwSize(Byte) 4,654,024 4,808,564 367,185 262,144 Date Time(LMT) FileName log.log log.dblg logpkt.per logfilebuf.dat 2009-09-25.12-25-30.log 2009-09-26.03-09-48.dblg 2009-09-26.10-29-28.dblg

Sep 29 2009 09:57:12 Sep 29 2009 09:57:12 Sep 29 2009 10:07:16 Sep 26 2009 10:30:10

26 -rw27 -rw28 -rw29 -rw-

990,082 Sep 25 2009 11:13:36 8,390,447 Sep 25 2009 11:55:20 2,927,910 Sep 26 2009 03:00:28 636,822 Sep 26 2009 10:20:52

2009-09-25.11-25-21.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 0 Attr -rwSize(Byte) 837 Date Time(LMT) FileName hyj.zip

Sep 29 2009 10:31:52

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

Result Internal number Remark

Pass Fail N/A T01-0101

T01-0102 Device Status Monitoring Objective Networking diagram To test the device status monitoring function of a router.
GE1/0/0 10.1.1.1/24 Router A Port1 10.1.1.2/24 PC1

Prerequisites Test procedure

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


Copyright (C) 2000-2009 Huawei Technologies Co., Ltd. HUAWEI NE80E uptime is 0 day, 0 hour, 26 minutes NE80E version information:

Table of Contents

2. The basic device information is correct. 3. The registration statuses of boards are displayed.
<RouterA> display device NE40E's Device status: Slot # 1 2 3 6 9 10 11 12 13 14 15 16 17 19 LPU LPU LPU LPU MPU MPU SFU SFU SFU SFU CLK CLK PWR FAN Present Present Present Present Present Present Present Present Present Present Present Present Present Present Registered Registered Registered Registered Registered NA Registered Registered Registered Registered Registered Registered Registered Registered Normal Normal Normal Normal Normal Normal Normal Normal Normal Normal Normal Normal Normal Normal NA NA NA NA Slave Master NA NA NA NA Slave Master NA NA Type Online Register Status Primary - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

4. The PIC statuses are displayed.


<RouterA> display device pic-status Pic-status information in Chassis 1: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SLOT PIC Status down 1 2 3 6 0 0 0 0 Registered ETH_48XGE_SFP Registered ETH_24XGE_CARD Registered POS_10G_CARD Registered FLEX_ETH_8XGE_CARD 48 24 1 8 SUCCESS SUCCESS SUCCESS SUCCESS SUCCESS SUCCESS SUCCESS SUCCESS Type Port_count Init_result Logic

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

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% 11:54:03 CPU Usage Stat. Time : 2009-09-29

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


<RouterA> display alarm all

Table of Contents

--------------------------------------------------------------------------Index 1 Level Error Date Time Info The CFcard storage media of MPU9(Entit y) threshold 2 3 4 5 or be ing pulled out etc., the entity of MPU 9 changed to standby Critical 09-09-29 11:17:29 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 09-09-29 11:15:41 11:15:29 power SlotID:18 is failed, absent Because of VRP Command,resetting Emergency 09-09-29 11:15:54 exceeded the prealarm

09-09-29 11:19:01

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 LPUB LPUB EMGF 1 1 1 1 3 1 2 7 0 0 0 0 NORMAL NORMAL NORMAL NORMAL 70 63 63 65 76 69 69 71 85 80 80 90 54 48 48 50 67 60 60 62 40 37 35 28

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


<RouterA> display voltage slot 1 Base-Board, Unit: Volt, Slot1 PCB Ratio Major -------FADB FADB FADB FADB LPUB LPUB LPUB EMGF EMGF EMGF EMGF EMGF EMGF EMGF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 3 3 3 3 3 3 3 0 1 2 6 3 4 5 0 1 2 3 4 5 6 NORMAL 1.50 NORMAL 1.80 NORMAL 2.50 NORMAL 5.00 NORMAL 1.50 NORMAL 1.50 NORMAL 2.50 NORMAL 1.20 NORMAL 1.80 NORMAL 2.50 NORMAL 1.80 NORMAL 3.30 NORMAL 2.50 NORMAL 3.30 1.20 1.44 2.00 4.05 1.20 1.20 2.00 1.10 1.62 2.25 1.62 3.00 2.25 3.00 1.05 1.26 1.75 3.55 1.05 1.05 1.73 1.00 1.44 2.00 1.44 2.67 2.00 2.67 1.80 2.16 3.00 6.07 1.80 1.80 2.97 1.30 1.98 2.73 1.98 3.67 2.73 3.67 1.95 2.34 3.25 6.57 1.95 1.95 3.23 1.40 2.16 2.98 2.16 4.00 2.98 4.00 1.51 1.00 1.86 1.00 2.77 0.68 5.10 0.38 1.53 1.00 1.51 1.00 2.47 0.34 1.23 1.00 1.87 1.00 2.50 0.76 1.86 1.00 3.46 0.58 2.50 0.76 3.32 0.58 Fatal Major Fatal ----------------------------------------------------------------------I2C Addr Chl Status Required LowAlmThreshold HighAlmThreshold Vol

Result

Pass Fail N/A

Huawei Technologies Proprietary

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Internal number Remark

T01-0102

T01-02 System logon


T01-0201 Telnet Connection Objective Networking diagram To test the Telnet function of the router.
GE1/0/0 1.1.1.1/24 RouterA GE1/0/0 1.1.1.2/24 RouterB

Prerequisites Test procedure

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.
<RouterA> system-view [RouterA] interface gigabitethernet1/0/0 [RouterA-GigabitEthernet1/0/0] ip address 1.1.1.1 24

# Configure Router A.

# 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 Networking diagram


1.1.1.1/24 PC 1.1.1.2/24 Router A

To test the FTP function of the router.

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.
<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:/

# Configure Router A.

The expected results are displayed. Expected results Result Internal number Remark Customer Representative Huawei Representative
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.

Pass Fail N/A T01-0202

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

Table of Contents

Networking diagram

GE1/0/0 1.1.1.1/24 RouterA

GE1/0/0 1.1.1.2/24 RouterB

Prerequisites Test procedure

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 Internal number Remark Pass Fail N/A T02-0101 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

Table of Contents
1.1.1.2/24 POS 6/0/0 Router B

Networking diagram

1.1.1.1/24 POS 10/0/0 Router A

Prerequisites

1. 2.

Router A and Router B are connected according to the networking diagram. Router A and Router B are directly connected through a POS link, and the POS interfaces are Up. Configure the IP addresses of the POS interfaces on Router A and Router B to be in the same network segment.

Test procedure

1.

# Configure Router A.
[RouterA] interface pos 10/0/0 1.1.1.1 24

[RouterA-Pos10/0/0] ip address [RouterA-Pos10/0/0] quit

# Configure Router B.
[RouterB] interface pos 6/0/0 1.1.1.2 24

[RouterB-Pos6/0/0] ip address [RouterB-Pos6/0/0] quit

2. Expected results 1.

Run the ping command on Router A and Router B. Expected result 1 is displayed. 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

Result Internal number Remark

Pass Fail N/A T02-0102

T02-0103 Support IP-Trunk function Objective Networking diagram To test the IP-Trunk link protect and traffic load-sharing functions.

Prerequisites

1. 2.

Router A and Router B are connected according to the networking diagram. Router A and Router B are directly connected through 2*STM-1 Link. And the IP-trunk interfaces are up. Configure the IP addresses of the IP-Trunk on Router A and Router B to be in the same network segment.

Test procedure

1.

# 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


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

Table of Contents

[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

2. 3. 4. Expected results 1. 2. 3. Result Internal number Remark

Run the Display interface ip-trunk 0 command on Router A and Router B. Expected result 1 is displayed. 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. Run the Display interface POS 1/0/0 and POS1/1/0 on Router A and Router B. Expected result 3 is displayed Router A and Router B IP-Trunk state is up. Router A and Router B IP-Trunk state is up. Router A and Router B POS 1/0/0 and POS1/1/0 is up.

Pass Fail N/A T02-0103

T03

IP Routing

T03-01 Static route


T03-0101 Static route Functions Objective Networking diagram To test static route functions.

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

Table of Contents

2.

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 Routes : 8

Destination/Mask

Proto Pre Cost

Flags

NextHop

Interface

0.0.0.0/0 Static 60 0 202.1.1.0/24 Direct 0 0 0 0 0 0 0 D

RD

20.1.1.2 GigabitEthernet1/0/0 202.1.1.1 GigabitEthernet2/0/0 InLoopBack0 GigabitEthernet1/0/0 InLoopBack0 InLoopBack0 InLoopBack0

202.1.1.1/32 Direct 0 20.1.1.0/24 Direct 0 20.1.1.1/32 Direct 0 127.0.0.0/8 Direct 0 127.0.0.1/32 Direct 0

D D D D D

127.0.0.1 20.1.1.1 127.0.0.1 127.0.0.1 127.0.0.1

# 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 Result Internal number Remark Pass Fail N/A T03-0101

T03-02 OSPF
T03-0201 Basic OSPF Functions Objective Networking diagram To test basic OSPF functions.

1.1.1.1/32

2.2.2.2/32

GE2/0/0 15.1.1.1 24

GE2/0/0 15.1.1.2 24

RouterA

RouterB

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. 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


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

Table of Contents

# 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

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. 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. 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 10 Pre 1 Cost D Flags NextHop Interface

3.

Expected results

1.

15.1.1.1

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 10 Pre 1 Cost D Flags 15.1.1.2 NextHop Interface

OSPF

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

Result Internal number Remark

Pass Fail N/A T03-0201

T03-03 BGP
T03-0301 BGP Objective Networking diagram To test basic BGP functions.

Prerequisites

1. 2.

Interfaces are in the normal operating state. IP addresses are configured according to the networking diagram. 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

Test procedure

1.

# 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


[RouterA-LoopBack0] bgp 200 [RouterA-bgp] network 2.2.2.2 32

Table of Contents

3.

Run the ping 2.2.2.2 command on Router B. Expected result 3 is displayed. 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 1 Peer PrefRcv 31.2.3.2 0 V 4 AS MsgRcvd MsgSent OutQ Up/Down 200 12 12 State Peers in established state :

Expected results

1.

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 Remark

Pass Fail N/A T03-0301

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 Networking diagram To test function of BFD for IS-IS,OSPF, Static route

GE3/0/4 12.1.1.1/24

GE3/0/4 12.1.1.2/24

RTA
Prerequisites Test procedure

RTB

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 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, Enable BFD globally on Router A and Router B. BFD for OSPF is configured and default values are adopted.

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


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

Table of Contents

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


-------------------------------------------------------------------------------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 --------------------------------------------------------------------------------

Table of Contents

Result Internal number Remark

Pass Fail N/A T03-0401

T03-05 Routing Policies


T03-0501 Basic Functions of Routing Policies Objective Networking diagram
GE2/0/ 0 15.1.1.1 24 GE2/0/0 15.1.1.2 24

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

Route rA

Route rB

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. 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


[RouterB] ip route-static 110.1.1.1 32 NULL 0 [RouterB] ospf 1 [RouterB-ospf-1] import-route static

Table of Contents

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. 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 Router Router Network LinkState ID 2.2.2.2 1.1.1.1 15.1.1.2 AdvRouter 2.2.2.2 1.1.1.1 2.2.2.2 AdvRouter 2.2.2.2 1.1.1.1 AS External Database Type LinkState ID External 110.1.1.1 External 100.1.1.1 Age Len 3 36 9 36 Sequence Metric 80000001 1 80000001 1 Age Len 3 9 1195 36 36 32 Sequence 80000005 80000005 80000002 Metric 1 1 0

Expected results

1.

//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 1 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

Result Internal number Remark

Pass Fail N/A T03-0501

T04

MPLS

T04-01 MPLS LDP


T04-0101 Local LDP Session

Huawei Technologies Proprietary

19

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

Objective Networking diagram

To test the function of a local LDP session.

1.1.1.1/32 GE1/0/0 12.12.12.1/24 RouterA


Prerequisites 1. 2. 3. 4. Test procedure 5.
Loopback0 of Router A is assigned 1.1.1.1/32. Loopback0 of Router B is assigned 2.2.2.2/32.

2.2.2.2/32 GE1/0/0 12.12.12.2/24 RouterB

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


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


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

Table of Contents

7. 8. Expected results

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. 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 TCP Connection Session State : 2.2.2.2:0 : 1.1.1.1 <- 2.2.2.2 : Operational Session Role MD5 Flag : Passive : Off Local LDP ID : 1.1.1.1:0

//An LDP session is successfully set up.


Session FT Flag : Off Reconnect Timer : 200 Sec Negotiated Keepalive Hold Timer Configured Keepalive Send Timer Keepalive Message Sent/Rcvd Label Advertisement Mode Session Age Session Deletion Status Recovery Timer : 300 Sec : 45 Sec : --: 2/2 (Message Count) : Downstream Unsolicited : 0000:00:00 (DDDD:HH:MM) : No

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

Addresses received from peer: (Count: 5) 12.12.12.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 Transport Address : 2.2.2.2 Peer Path Vector Limit : ---Peer Keepalive Timer : 45 Sec Peer Max PDU Length : 4096 Peer Loop Detection : Off Peer FT Flag Recovery Timer Peer Type : Off 2.2.2.2 26.26.26.2 25.25.25.2

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

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


Router B.
[RouterA] ping lsp ip 2.2.2.2 32

Table of Contents

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

Result Internal number Remark

Pass Fail N/A T04-0401

T05

VPN

T05-01 L3VPN
T05-0101 L3VPN Objective Networking diagram To test basic L3VPN functions.

Prerequisites

1. 2.

Interfaces work normally. IP addresses are configured according to the networking diagram. 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

Test procedure

1.

Huawei Technologies Proprietary

22

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router


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

Table of Contents

[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

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. 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 1 Peer PrefRcv 1.1.1.1 4 100 12 11 0 00:07:09 Established V AS MsgRcvd MsgSent OutQ Up/Down State Peers in established state :

Expected results

1.

Huawei Technologies Proprietary

24

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router


1

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

Result Internal number Remark

Pass Fail N/A T05-0101

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

Table of Contents
2.2.2.2/32

Networking diagram

1.1.1.1/32

GE1/0/0 Router A 10.1.1.1/24 GE1/0/1

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

PC1

PC2

Prerequisites

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. Configure GE 1/0/0 on Router A.
<RouterA> system-view [RouterA] interface gigabitethernet [RouterA-GigabitEthernet1/0/0] port-mirroring inbound

Test procedure

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. Result Internal number Remark Pass Fail N/A T06-0101 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


Networking diagram

Table of Contents

Prerequisites

1. 2.

The rotuer is configured with two MPUs and the two MPUs run normally. 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. 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. Run the ping -n 100000 10.100.9.103 command to ping PC2 from from PC1. 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. 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. In step 3, the state of the master/slave switchover state machine is as below:
<Quidway> display switchover state 9 HA FSM State: Realtime and routine backup.

Test procedure

1.

3. 4.

5.

Expect results

1.

# Run the follow command on NE40E.

# 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 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

Result Internal number Remark

Pass Fail N/A T07-0101

Huawei Technologies Proprietary

27

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

T07-02 Power Redundancy Test


Objective Networking diagram Prerequisites To verify that the router has redundant power supply and verify the actual redundancy capability

1. 1. 2. 3.

The router is configured with redundant power supply and run normally. The router provides 1+1 redundancy backup for the AC power supply. Turn off the primary power supply of the router (or unplug it) when the router is running. Observe the working states of the redundant power supply and the router. The redundant power supply should take over the work of the primary power supply and the router should run stably.

Test procedure

Expect results

1.

Result Internal number Remark

Pass Fail N/A T07-0102

T07-03 Resetting of the LPU


Objective Networking diagram Prerequisites

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

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.

Result Internal number Remark

Pass Fail N/A T07-0103

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

Table of Contents

Expected results

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 Receive response times: 3 RTD OverThresholds number:

Send operation times: 3 Completion:success 0 Attempts number:1 Disconnect operation number:0 System busy operation number:0 Operation sequence 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

Drop operation number:0 Operation timeout number:0 Connection fail number:0 RTT Stats errors number:0

Last Good Probe Time: 2006-8-2 10:7:11.4 Lost packet ratio: 0 %

Results Internal number Remark

Pass Fail N/A T08-01

T08-0102 NQA-based ICMP Jitter Test Objective To test the ICMP jitter test through NQA.

Networking diagram

GE1/0/0 1.1.1.1/24 RouterA

GE1/0/0 1.1.1.2/24 RouterB

Prerequisites Test procedure

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 NQA Server Num: 1

Huawei Technologies Proprietary

30

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router


NQA Concurrent TCP Server : 0 NQA Concurrent ICMP Server : 1 nqa-server icmp-server 1.1.1.2 ACTIVE Hardware-based

Table of Contents
NQA Concurrent UDP Server: 0

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) :testflag is inactive ,testtype is

icmpjitter

1 . Test 1 result

The test is finished ResponseProbe:60 RTD OverThresholds number:0 OWD OverThresholds DS number:0 RTT Square Sum:18

SendProbe:60 Completion:success OWD OverThresholds SD number:0 Min/Max/Avg/Sum RTT:0/1/0/18 NumOfRTT:60 Operation sequence errors number:0 System busy operation number:0 Min Positive SD:0 Max Positive SD:0 Positive SD Number:0 Positive SD Sum:0 Positive SD Square Sum:0 Min Negative SD:0 Max Negative SD:0 Negative SD Number:0 Negative SD Sum:0 Negative SD Square Sum:0 Min Delay SD:0 Max Delay SD:0 Delay SD Square Sum:0 Packet Loss SD:0 Packet Loss Unknown:0 Average of Jitter SD:0 jitter out value:0.0000000 NumberOfOWD:60 OWD SD Sum:0 ICPIF value: 0 TimeStamp unit: ms

Drop operation number:0 RTT Stats errors number:0 Operation timeout number:0 Min Positive DS:1 Max Positive DS:1 Positive DS Number:1 Positive DS Sum:1 Positive DS Square Sum:1 Min Negative DS:0 Max Negative DS:0 Negative DS Number:0 Negative DS Sum:0 Negative DS Square Sum:0 Min Delay DS:0 Max Delay DS:0 Delay DS Square Sum:0 Packet Loss DS:0 Average of Jitter:1 Average of Jitter DS:1 jitter in value:0.0114507 Packet Loss Ratio: 0% OWD DS Sum:0 MOS-CQ value: 0

Results Internal number Remark

Pass Fail N/A T08-02

Huawei Technologies Proprietary

31

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router

Table of Contents

T09

Complement part

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


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

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. 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

2.

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] [RTD] interface tunnel 1/0/0 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

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

1. 2.

Using the command display interface tunnel to check the tunnel status. Tunnel must be UP. Shutdown the RTA and ping from PC1 to PC2. The convergence time less than 200ms.

Results Internal number Remark

Pass Fail N/A T09-01

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. 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

6.

# 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 # 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

Table of Contents

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. 2.

Run the display cur to check MPLS Teconfiguration on global mode and on each interface. 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


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 : Oam Status BestEffort

Table of Contents
: : Up Disabled

CT1 CT3 CT5 CT7

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

Results Internal number Remark

Pass Fail N/A T09-01

T09-03 QoS
QoS function command show Objective Networking diagram Configure the traffic policing and traffic shaping to control the data flow

Prerequisites Test procedure

Equipments connected according the diagram above and running normally. 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


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

Table of Contents

# 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 Test Result

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

Ping Ping Ping Ping

from form from from

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.

Passed [ ] 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 Networking diagram Check the Status of the LSA between Huawei router and Cisco router

Prerequisites Test procedure

Assign IP address as above diagram.


1. 2. Configure IP address for all router in the diagram. 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

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

[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

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

3.

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


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

Table of Contents

4.

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 ldp 1/0/1 ldp

[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

5. 6. 7.

Run the display ip routing-table command all the routers to view the routing table. The expected result 1 is displayed Run the display mpls ldp peer command all the routers. The expected result 2 is displayed. Run the display mpls ldp session command all the routers. The expected result 3 is displayed.

Expected results

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 Routes : 16

Destination/Mask

Proto Pre Cost

Flags NextHop

Interface

1.1.1.101/32 1.1.1.102/32 1.1.1.103/32

Direct

0 4 2

D 127.0.0.1 D 10.10.2.2 D 10.10.2.2

InLoopBack0 Ethernet1/0/1 Ethernet1/0/0

OSPF 10 OSPF 10

Huawei Technologies Proprietary

39

Acceptance Test Guide

Quidway NetEngine80E/40E Universal Service Router 10.10.1.0/30 10.10.1.1/32 10.10.3.0/30 10.10.2.0/30 10.10.2.1/32 127.0.0.0/8 127.0.0.1/32 Direct Direct OSPF Direct Direct Direct Direct 0 0 10 0 0 0 0 0 0 2 0 0 0 0 D 10.10.1.2 D 127.0.0.1 D 10.10.2.2 D 10.10.2.2 D 127.0.0.1 D 127.0.0.1 D 127.0.0.1

Table of Contents Ethernet1/0/0 InLoopBack0 Ethernet1/0/2 Ethernet1/0/1 InLoopBack0 InLoopBack0 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.103:0 1.1.1.102 1.1.1.103 Ethernet1/0/1 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 1.1.1.103:0 Operational DU Passive 000:13:56 138/138 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

Table of Contents

4.

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 Remark

Pass Fail N/A T09-04

Huawei Technologies Proprietary

41

S-ar putea să vă placă și