beautypg.com

Set ip route – Allied Telesis AT-S39 User Manual

Page 36

background image

Chapter 3: Basic Switch Commands

36

SET IP ROUTE

Syntax

set ip route ipaddress=ipaddress

Parameter

ipaddress

Specifies the IP address of the default gateway for
the switch. The default value is 0.0.0.0.

Description

This command specifies the IP address of the default gateway for the
switch. This address is required if you will be managing the unit from a
remote management station that is separated from the switch by a
router.

To view the switch’s current default gateway address settings, refer to
the SHOW IP command. To return the parameter to its default value,
refer to the PURGE IP command or the RESET IP command.

Example

The following command sets the default gateway address to
140.35.22.12:

set ip route ipaddress=140.35.22.12