Planet SGS-6341 Series Command Manual page 698

Gigabit ethernet l3 stackable managed switch with 10gbe uplink
Table of Contents

Advertisement

GRE Tunnel PACKET: recv, src <1.1.1.2>, dst <1.1.1.1>, size <140>, proto <0x0800>, from
<tunnel1>
39.2 ip address
Command:
ip address <ipv4-address> <mask>
no ip address <ipv4-address> <mask>
Function:
Configure the IPv4 address of GRE tunnel interface.
Parameter:
<ipv4-address> is IPv4 address, <mask> is the sub-net mask.
Command mode:
Tunnel interface configuration mode.
Usage Guide:
When configuring the interface address is IPv4 address for GRE tunnel, only one primary address
can be set, but secondary address can not be set. This limitation will also be used to other tunnels,
such as configure tunnel, 6to4, isatap.
Notice: the tunnel must stays in active state when configuring IPv4 address, so it is different to IPv6
address.
Example:
Configure the interface address is IPv4 address for GRE tunnel.
Switch(config)# interface tunnel 1
Switch(config-if-tunnel1)#ip address 11.0.0.1 255.255.255.0
39.3 ip route
Command:
ip route <ipv4-address/mask> tunnel <ID>
no ip route <ipv4-address/mask> tunnel <ID>
Function:
Configure the output interface of IPv4 static route as GRE tunnel.
Parameter:
<ipv4-address > is the IPv4 address, <mask> is the sub-net mask, <ID> is GRE tunnel ID.
39-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sgs-6341-24t4x

Table of Contents