When a service, such as a firewall, is available on a device that supports only GRE tunnels, you can configure a GRE tunnel on the device to connect to the remote device by configuring a logical GRE interface. You then advertise that the service is available via a GRE tunnel, and you can create data policies to direct the appropriate traffic to the tunnel. GRE interfaces come up as soon as they are configured, and they stay up as long as the physical tunnel interface is up.
Procedure
|
1. |
From the Cisco SD-WAN Manager menu, choose . |
|
2. |
Click Device Templates.
In Cisco vManage Release 20.7.x and earlier releases, Device Templates is titled Device.
|
|
3. |
From the Create Template drop-down list, select From Feature Template.
-
From the Device Model drop-down list, select the type of device for which you are creating the template.
-
Click Transport & Management VPN or scroll to the Transport & Management VPN section.
-
Under Additional VPN 0 Templates, click VPN Interface GRE.
-
From the VPN Interface GRE drop-down list, click Create Template. The VPN Interface GRE template form is displayed.
-
In Template Name, enter a name for the template. The name can be up to 128 characters and can contain only alphanumeric characters.
-
In Template Description, enter a description of the template. The description can be up to 2048 characters and can contain only alphanumeric characters.
|
|
4. |
Configure the following VPN interface GRE parameters:
-
Configure a basic GRE interface.
Table 11.
| Parameter Name |
Description |
| Shutdown* |
Click Off to enable the interface. |
| Interface Name* |
Enter the name of the GRE interface, in the format gre number . number can be from 1 through 255. |
| Description |
Enter a description of the GRE interface. |
| Source* |
Enter the source of the GRE interface:
-
GRE Source IP Address—Enter the source IP address of the GRE tunnel interface. This address is on the local router. This address is on the local router. GRE keepalives can not be configured when source configured as IP address.
-
Tunnel Source Interface—Enter the physical interface that is the source of the GRE tunnel. GRE keepalives can not be configured when source configured as loopback interface.
-
If you selected the Source as Interface, enter the name of the source interface. If you enter a loopback interface, an additional field Tunnel Route-via Interface displays where you enter the egress interface name.
|
| Destination* |
Enter the destination IP address of the GRE tunnel interface. This address is on a remote device. If this tunnel connects to a Secure Internet Gateway (SIG), specify the URL for the SIG. |
| GRE Destination IP Address* |
Enter the destination IP address of the GRE tunnel interface. This address is on a remote device |
| IPv4 Address |
Enter an IPv4 address for the GRE tunnel. |
| IP MTU |
Specify the maximum MTU size of packets on the interface. Range: 576 through 1804 Default: 1500 bytes |
| Clear-Dont-Fragment |
Click On to clear the Don't Fragment bit in the IPv4 packet header for packets being transmitted out the interface. |
| TCP MSS |
Specify the maximum segment size (MSS) of TPC SYN packets passing through the Cisco IOS XE Catalyst SD-WAN device. By default, the MSS is dynamically adjusted based on the interface or tunnel MTU such that TCP SYN packets are never fragmented. Range: 552 to 1460 bytes Default: None |
-
Configure access lists on a GRE interface.
Table 12.
| Parameter Name |
Description |
| Rewrite Rule |
Click On, and specify the name of the rewrite rule to apply on the interface. |
| Ingress ACL – IPv4 |
Click On, and specify the name of the access list to apply to IPv4 packets being received on the interface. |
| Egress ACL – IPv4 |
Click On, and specify the name of the access list to apply to IPv4 packets being transmitted on the interface. |
-
Configure a tracker interface to track the status of a GRE interface.
Table 13.
| Parameter Name |
Description |
| Tracker |
Enter the name of a tracker to track the status of GRE interfaces that connect to the Internet. |
|