EasyManua.ls Logo

H3C S3100V2-52TP - Page 117

H3C S3100V2-52TP
224 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
105
[DeviceA-Tunnel0] destination 30.1.1.2
[DeviceA-Tunnel0] quit
# Create service loopback group 1 and set the service type to tunnel.
[DeviceA] service-loopback group 1 type tunnel
# Add any port (Ethernet 1/0/3 for example) on the device to service loopback group 1.
[DeviceA] interface Ethernet 1/0/3
[DeviceA-Ethernet1/0/3] undo stp enable
[DeviceA-Ethernet1/0/3] port service-loopback group 1
# Apply service loopback group 1 to Tunnel 0 in tunnel interface view.
[DeviceA-Ethernet1/0/3] quit
[DeviceA] interface tunnel 0
[DeviceA-Tunnel0] service-loopback-group 1
# Configure two static routes.
[DeviceA] ip route-static 40.1.1.0 255.255.255.0 20.1.1.2
[DeviceA] ip route-static 30.1.1.0 255.255.255.0 20.1.1.2
# Create local mirroring group 1.
[DeviceA] mirroring-group 1 local
# Configure Ethernet 1/0/1 as a source port and Tunnel 0 as the monitor port of local mirroring group
1.
[DeviceA] mirroring-group 1 mirroring-port Ethernet 1/0/1 both
[DeviceA] mirroring-group 1 monitor-port tunnel 0
3. Configure Device B (the intermediate device)
# Configure two static routes.
<DeviceB> system-view
[DeviceB] ip route-static 10.1.1.0 255.255.255.0 20.1.1.1
[DeviceB] ip route-static 40.1.1.0 255.255.255.0 30.1.1.2
4. Configure Device C (the destination device)
# Create tunnel interface Tunnel 0, and configure an IP address and subnet mask for it.
<DeviceC> system-view
[DeviceC] interface tunnel 0
[DeviceC-Tunnel0] ip address 50.1.1.2 24
# Configure Tunnel 0 to operate in GRE mode, and configure source and destination IP addresses for it.
[DeviceC-Tunnel0] tunnel-protocol gre
[DeviceC-Tunnel0] source 30.1.1.2
[DeviceC-Tunnel0] destination 20.1.1.1
[DeviceC-Tunnel0] quit
# Create service loopback group 1 and set the service type to tunnel.
[DeviceA] service-loopback group 1 type tunnel
# Add any port (Ethernet 1/0/3 for example) on the device to service loopback group 1.
[DeviceA] interface Ethernet 1/0/3
[DeviceA-Ethernet1/0/3] undo stp enable
[DeviceA-Ethernet1/0/3] port service-loopback group 1
# Apply service loopback group 1 to Tunnel 0 in tunnel interface view.
[DeviceC-Ethernet1/0/3] quit

Table of Contents

Other manuals for H3C S3100V2-52TP

Related product manuals