beautypg.com

Purge ip – Allied Telesis AT-S62 User Manual

Page 48

background image

Chapter 4: Basic Switch Commands

48

PURGE IP

Syntax

purge ip [ipaddress] [netmask] [route]

Parameters

ipaddress

Returns the switch’s IP address to the default setting
0.0.0.0.

netmask

Returns the subnet mask to the default setting
0.0.0.0.

route

Returns the gateway address to the default setting
0.0.0.0.

Description

This command returns the switch’s IP address, subnet mask, and default
gateway address to the default settings. This command is similar in
function to the RESET IP command. Where they differ is that this
command allows you to specify which parameter to reset, while the
RESET IP command automatically resets all three parameters.

To set these parameters, refer to SET IP INTERFACE on page 55 and SET IP
ROUTE on page 57. To view the current settings, refer to SET SYSTEM on
page 61.

Examples

The following command returns the IP address and subnet mask to the
default values:

purge ip ipaddress netmask

The following command resets just the gateway address to its default
value:

purge ip ipaddress route

The following command resets all three parameters:

purge ip