Documente Academic
Documente Profesional
Documente Cultură
Table of Contents
Customer Representative
Huawei Representative
Signature:__________________ Date:______________________
Signature:__________________ Date:______________________
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
ii
Table of Contents
T01
Basic Configurations
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
3 -rw-
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
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
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
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
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
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
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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CPU utilization for five seconds: 14%: one minute: 14%: five minutes: 14%.
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
Result
Table of Contents
T01-0102
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.
3.
Table of Contents
Remark
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.
T02
LAN
T02-01 LAN
T02-0101 Connectivity of Ethernet Interfaces Objective To test connectivity of Ethernet interfaces and sub-interfaces.
Table of Contents
Networking diagram
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]
(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.
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.
Table of Contents
1.1.1.2/24 POS 6/0/0 Router B
Networking diagram
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
# Configure Router B.
[RouterB] interface pos 6/0/0 1.1.1.2 24
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
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
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/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
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
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.
T03
IP Routing
None 1. Configure the IPv4 address of each interfaces on each router to make them connected with each other.
10
Table of Contents
2.
Configure the IPv4 static route to the destination address and the default route on the PC and Router A.
3.
1. Expected results
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
Flags
NextHop
Interface
RD
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
# 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
11
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
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
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
12
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
13
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
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
14
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.
3.
15
Table of Contents
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
16
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.
[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
17
Table of Contents
To test that OSPF can filter the received and advertised routes.
Route rA
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.
18
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.
2.
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
T04
MPLS
19
Table of Contents
# 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.
# 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
20
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.
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
21
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
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.
22
Table of Contents
# 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.
23
Table of Contents
# 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.
24
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
T06
Security
T06-01 Mirror
T06-0101 Basic Functions of Local Mirroring Objective To test the basic functions of local mirroring.
25
Table of Contents
2.2.2.2/32
Networking diagram
1.1.1.1/32
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
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
26
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.
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
27
Table of Contents
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.
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
28
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.
T08
Performance
T08-01 NQA
T08-0101 NQA-based ICMP Test Objective To test the ICMP test through NQA.
Networking diagram
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
29
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
T08-0102 NQA-based ICMP Jitter Test Objective To test the ICMP jitter test through NQA.
Networking diagram
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
Expected results
30
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
31
Table of Contents
T09
Complement part
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
32
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
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.
T09-02 MPLS TE
Objective MPLS TE status and operation
33
Table of Contents
Networking diagram
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 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.
34
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
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 : -
35
Table of Contents
: : Up 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
T09-03 QoS
QoS function command show Objective Networking diagram Configure the traffic policing and traffic shaping to control the data flow
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
36
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
# 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
3. 4. 5. 6. 1. 2.
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.
Passed [ ] Failed [ ]
37
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
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
38
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
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
Flags NextHop
Interface
Direct
0 4 2
OSPF 10 OSPF 10
39
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
2.
Using the command display mpls ldp peer on router A to check the routing table
3.
Using the command display mpls ldp session on router A to check the sessions between router A and router B and C
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
40
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.
41