Cisco Catalyst SD-WAN Network Configuration Guide, Releases 26.x and Later

PDF

Configure GRE-in-UDP using CLI commands

Want to summarize with AI?

Log in

Provides step-by-step instructions for configuring GRE-in-UDP through CLI commands, including setup procedures, example configurations, and verification methods to ensure proper tunnel operation.


Follow these steps to configure GRE-in-UDP using a CLI template.

For more information about using CLI templates, see CLI Add-On Feature Templates and CLI Templates. By default, CLI templates execute commands in global config mode.

GRE-in-UDP is a protocol that encapsulates Generic Routing Encapsulation (GRE) tunnels within a User Datagram Protocol (UDP) packet to facilitate load balancing and improve performance over networks.

Procedure

1.

For the desired interface, enter interface configuration mode.

sdwan
interface interface
2.

Enter tunnel interface mode.

tunnel-interface
3.

Configure GRE encapsulation.

encapsulation gre
4.

Configure GRE-in-UDP as the encapsulation mode.

gre-in-udp

Here is a complete example of configuring GRE-in-UDP.


interface GigabitEthernet1
  tunnel-interface
   encapsulation gre
   color lte
   gre-in-udp
   no allow-service bgp
   allow-service dhcp
   allow-service dns
   allow-service icmp
   no allow-service sshd
   no allow-service netconf
   no allow-service ntp
   no allow-service ospf
   no allow-service stun
   allow-service https
   no allow-service snmp
   no allow-service bfd
  exit