Gre Configuration Examples; Gre Over Ipv4 Configuration Example - HP 5920 Series Configuration Manual

Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

Task
Display information about
tunnel interfaces.
Display IPv6 information about
tunnel interface.

GRE configuration examples

GRE over IPv4 configuration example

Network requirements
Switch A and Switch B are connected to the Internet running IPv4. Establish a GRE tunnel between the
switches to interconnect the two private IPv4 networks Group 1 and Group 2.
Figure 81 Network diagram
 
Configuration procedure
Before the configuration, make sure Switch A and Switch B can reach each other.
Configure Switch A:
1.
# Configure interface VLAN-interface 100.
<SwitchA> system-view
[SwitchA] vlan 100
[SwitchA-vlan100] port Ten-GigabitEthernet 1/0/1
[SwitchA-vlan100] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip address 10.1.1.1 255.255.255.0
[SwitchA-Vlan-interface100] quit
# Configure interface VLAN-interface 101.
[SwitchA] vlan 101
[SwitchA-vlan101] port Ten-GigabitEthernet 1/0/2
[SwitchA-vlan101] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ip address 1.1.1.1 255.255.255.0
[SwitchA-Vlan-interface101] quit
Command
display interface [ tunnel [ number ] ]
[ brief ]
display ipv6 interface [ tunnel
[ number ] ] [ brief ]
184
Remarks
For more information about this
command, see Layer 3—IP Services
Command Reference.
For more information about this
command, see Layer 3—IP Services
Command Reference.

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents