HPE FlexNetwork HSR6800 Configuration Manual page 288

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

[RouterB-rip-1] network 151.1.0.0
# Configure the IP addresses of the serial interfaces.
[RouterB] interface serial 2/2/0
[RouterB-Serial2/2/0] ip address 150.1.1.2 255.255.255.0
[RouterB-Serial2/2/0] quit
[RouterB] interface serial 2/2/1
[RouterB-Serial2/2/1] ip address 151.1.1.2 255.255.255.0
[RouterB-Serial2/2/1] quit
# Configure the loopback interface address.
[RouterB] interface loopback 0
[RouterB-LoopBack0] ip address 10.1.1.1 32
Verify the configuration:
3.
# Run the debugging ip policy-based-route command on Router A.
<RouterA> debugging ip policy-based-route
<RouterA> terminal debugging
<RouterA> terminal monitor
# Ping Loopback 0 of Router B from Host A, and set the data length to 80 bytes.
C:\>ping -l 80 10.1.1.1
Pinging 10.1.1.1 with 80 bytes of data:
Reply from 10.1.1.1: bytes=80 time<1ms TTL=255
Reply from 10.1.1.1: bytes=80 time<1ms TTL=255
Reply from 10.1.1.1: bytes=80 time<1ms TTL=255
Reply from 10.1.1.1: bytes=80 time<1ms TTL=255
Ping statistics for 10.1.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
The debugging information about PBR displayed on Router A is as follows:
<RouterA>
*Jun
7 12:04:33:519 2009 RouterA PBR/7/POLICY-ROUTING: IP policy based routing
success : POLICY_ROUTEMAP : lab1, Node : 10, next-hop : 150.1.1.2
*Jun
7 12:04:34:518 2009 RouterA PBR/7/POLICY-ROUTING: IP policy based routing
success : POLICY_ROUTEMAP : lab1, Node : 10, next-hop : 150.1.1.2
*Jun
7 12:04:35:518 2009 RouterA PBR/7/POLICY-ROUTING: IP policy based routing
success : POLICY_ROUTEMAP : lab1, Node : 10, next-hop : 150.1.1.2
*Jun
7 12:04:36:518 2009 RouterA PBR/7/POLICY-ROUTING: IP policy based routing
success : POLICY_ROUTEMAP : lab1, Node : 10, next-hop : 150.1.1.2
The preceding information shows that Router A sets the next hop for the received packets to
150.1.1.2 according to PBR. The packets are forwarded through Serial 2/2/0.
# Ping Loopback 0 of Router B from Host A, and set the data length to 200 bytes.
C:\>ping -l 200 10.1.1.1
Pinging 10.1.1.1 with 200 bytes of data:
Reply from 10.1.1.1: bytes=200 time<1ms TTL=255
276

Advertisement

Table of Contents
loading

Table of Contents