soft-gre

Creates or updates the soft GRE tunnel profile configuration.
Syntax
soft-grename
no soft-gre[name]

After the soft-gre command is entered to enable the Soft GRE configuration mode, the following configuration syntax is available:

[device-ip-mode{ipv4|ipv6}|force-disassociate-client|gatewayip-address[primary|secondary]|gateway-mtu{auto|manual-mtu-size}|icmp-periodseconds|icmp-retryretries|name]

If the device-ip-mode keyword is entered with the ipv6 keyword in Soft GRE configuration mode, the following configuration syntax is available instead of the gateway keyword:

[gateway6ipv6-address[primary|secondary]]
Command Default

No soft GRE tunnel profiles are configured.

Parameters
name
Soft GRE profile name.
device-ip-mode
Sets the gateway IP mode version.
ipv4
Sets the gateway IP mode to IPv4.
ipv6
Sets the gateway IP mode to IPv6.
force-disassociate-client
Enables the Force Disassociate Client function.
gatewayip-address
Sets the IPv4 gateway address.
primary
Sets the primary gateway address.
secondary
Sets the secondary gateway address.
gateway-mtu
Sets the MTU size for the gateway.
auto
Sets the MTU size automatically.
mtu-size
Manually specifies the MTU size. The range for IPv4 is from 850 to 1500, and the range for IPv6 is from 1384 to 1500.
icmp-periodseconds
Sets the ICMP keepalive period, in seconds. The range is from 1 to 180.
icmp-retryretries
Sets the number of ICMP keepalive retries. The range is from 2 to 20.
namename
Specifies the Soft GRE profile name.
gateway6ipv6-address
Sets the IPv6 gateway address.
primary
Sets the primary gateway address.
secondary
Sets the secondary gateway address.
Modes

Global configuration mode

Usage Guidelines

The no form of this command in configuration mode deletes the soft GRE tunnel profile.

Soft GRE creates a tunnel profile.

Examples

The following example creates the soft GRE tunnel profile named GRE1.

device# configure terminal
device(config)# soft-gre GRE1 
device(config-soft-gre)# device-ip-mode ipv4
device(config-soft-gre)# gateway 10.10.2.4 primary