Ip route – Allied Telesis AT-DC2552XS User Manual

Page 408

Advertising
background image

Chapter 17: IPv4 Management Address Commands

408

Section III: IPv4 Management

IP ROUTE

Syntax

ip route 0.0.0.0/0

ipaddress

Parameter

ipaddress

Specifies an IPv4 default gateway address.

Mode

Global Configuration mode

Description

Use this command to assign the switch an IPv4 default gateway address.
A default gateway is an address of an interface on a router or other Layer
3 device. The switch can have only one default gateway address.

You must assign the switch a default gateway address if both of the
following are true:

You assigned the switch an IPv4 management address.

The management network devices are not members of the same
subnet as the management IP address.

Confirmation Command

“SHOW IP ROUTE” on page 413

Example

This example assigns the switch the IPv4 default gateway address of
192.168.1.32:

awplus> enable
awplus# configure terminal
awplus(config)# ip route 0.0.0.0/0 192.168.1.32

Advertising