Routing table commands
Use the following commands to configure the routing table. For more information about these
commands, see Avaya G250 and Avaya G350 CLI Reference, 03-300437.
Use the clear ip route all command to delete all dynamic routing entries from the
●
routing table.
Use the ip default-gateway command to define a default gateway for the router. Use
●
the no form of this command to remove the default gateway.
Use the ip route command to establish a static route. Use the no form of this command
●
to remove a static route.
Use the show ip route command to display information about the IP routing table.
●
Use the show ip route best-match command, followed by an IP address, to display
●
a routing table for a destination address.
Use the show ip route static command to display static routes.
●
Use the show ip route summary command to display the number of routes known to
●
the device.
Use the show ip route track-table command to display all routes with configured
●
object trackers.
Use the traceroute command, followed by an IP address, to trace the route an IP
●
packet would follow to the specified IP address. The G250/G350 traces the route by
launching UDP probe packets with a small time to live (TTL), then listening for an ICMP
time exceeded reply from a gateway.
Note:
Using the traceroute command, you can also trace the route inside a locally
Note:
terminated tunnel (GRE, VPN).
Configuring GRE tunneling
Generic Routing Encapsulation (GRE) is a multi-carrier protocol that encapsulates packets with
an IP header and enables them to pass through the Internet via a GRE tunnel. A GRE tunnel is
a virtual interface in which two routers serve as endpoints. The first router encapsulates the
packet and sends it over the Internet to a router at the far end of the GRE tunnel. The second
router removes the encapsulation and sends the packet towards its destination.
A GRE tunnel is set up as an IP interface, which allows you to use the GRE tunnel as a routing
destination. A GRE tunnel can transport multicast packets, which allows it to work with routing
protocols such as RIP and OSPF.
Configuring GRE tunneling
Issue 3 February 2007
411