Reference Guide

Table Of Contents
When the system does not have a more specific route to a packet’s destination, it sends the packet to
the default gateway. The system installs a default IPv4 route with the gateway address as the next hop
address. The route preference is 253. A default gateway configured with this command is more
preferred than a default gateway learned from a DHCP server.
Format ip default-gateway ipaddr
Mode
Global Config
Virtual Router Config
Parameter Description
ipaddr The IPv4 address of an attached router.
The following example sets the default gateway to 10.1.1.1.
(router1) #config
(router1) (Config)#ip default-gateway 10.1.1.1
no ip default-gateway
This command removes the default gateway address from the configuration.
Format no ip default-gateway ipaddr
Mode Interface Config
ip load-sharing
This command configures IP ECMP (Equal Cost Multi Paths) load balancing mode.
Default
6
Format ip load-sharing mode {inner | outer}
Mode Global Config
Parameter Description
mode Configures the load balancing or sharing mode for all EMCP groups.
1: Based on a hash using the Source IP address of the packet.
2: Based on a hash using the Destination IP address of the packet.
3: Based on a hash using the Source and Destination IP addresses of the packet.
4: Based on a hash using the Source IP address and the Source TCP/UDP Port field of the
packet.
5: Based on a hash using the Destination IP address and the Destination TCP/UDP Port
field of the packet.
6: Based on a hash using the Source and Destination IP address, and the Source and
Destination TCP/UDP Port fields of the packet.
inner Use the inner IP header for tunneled packets.
outer Use the outer IP header for tunneled packets.
Routing Commands
ExtremeSwitching 200 Series: Command Reference Guide for version 01 .02.04.0007 508