Allied Telesis Support Portal

Configuring a Default Route on Allied Telesis Layer 3 Switches and Routers running AlliedWare OS

How do I configure a default route on a Layer 3 Switch or Router running AlliedWare OS?

To configure a default route use the command below:

add ip route=0.0.0.0 mask=0.0.0.0 interface=X nexthop=x.x.x.x

(Where interface=X will be the interface that the default route applies to.  For routers this will usually be eth0 or eth1. For layer 3 switches, this will be the VLAN that goes to your default gateway. Where nexthop=x.x.x.x will be the IP address of the default gateway)

This command will send any IP traffic, that the switch or router does not have an IP route for, to the default gateway.