R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide

284
[RouterB] interface tunnel 0
[RouterB-Tunnel0] ip address 172.168.2.2 255.255.255.0
# Configure the tunnel encapsulation mode of the tunnel interface Tunnel 0 as P2MP GRE.
[RouterB-Tunnel0] tunnel-protocol gre p2mp
# Configure the source IP address of the tunnel interface Tunnel 0.
[RouterB-Tunnel0] source 11.1.1.2
# Configure the mask of the branch network connected to Tunnel 0 as 255.255.255.0.
[RouterB-Tunnel0] gre p2mp branch-network-mask 255.255.255.0
# Set the tunnel entry aging time to 20 seconds.
[RouterA-Tunnel0] gre p2mp aging-time 20
[RouterB-Tunnel0] quit
# Configure a static route to the branch network with the outgoing interface being the tunnel
interface Tunnel 0.
[RouterB] ip route-static 192.168.12.0 255.255.255.0 tunnel 0
# Create a tunnel interface Tunnel 1 and configure an IP address for it.
[RouterB] interface tunnel 1
[RouterB-Tunnel1] ip address 192.168.22.2 255.255.255.0
# Configure the tunnel encapsulation mode of the tunnel interface Tunnel 1 as GRE over IPv4.
[RouterB-Tunnel1] tunnel-protocol gre
# Configure the source and destination IP addresses of the tunnel interface Tunnel 1.
[RouterB-Tunnel1] source 10.1.1.2
[RouterB-Tunnel1] destination 10.1.1.1
[RouterB-Tunnel1] quit
4. Configure Router C:
# Create a tunnel interface Tunnel 0 and configure an IP address for it.
<RouterC> system-view
[RouterC] interface tunnel 0
[RouterC-Tunnel0] ip address 172.168.1.3 255.255.255.0
# Configure the tunnel encapsulation mode of the tunnel interface Tunnel 0 as GRE over IPv4.
[RouterC-Tunnel0] tunnel-protocol gre
# Configure the source and destination IP addresses of interface Tunnel 0.
[RouterC-Tunnel0] source 11.1.1.3
[RouterC-Tunnel0] destination 11.1.1.1
[RouterC-Tunnel0] quit
# Configure a static route to the headquarters network with the outgoing interface being the tunnel
interface Tunnel 0 and priority value being 1.
[RouterC] ip route-static 192.168.11.0 255.255.255.0 tunnel 0 preference 1
# Create a tunnel interface Tunnel 1 and configure an IP address for it.
[RouterC] interface tunnel 1
[RouterC-Tunnel1] ip address 172.168.2.3 255.255.255.0
# Configure the tunnel encapsulation mode of the tunnel interface Tunnel 1 as GRE over IPv4.
[RouterC-Tunnel1] tunnel-protocol gre
# Configure the source and destination IP addresses of the tunnel interface Tunnel 1.
[RouterC-Tunnel1] source 11.1.1.3
[RouterC-Tunnel1] destination 11.1.1.2