2. Getting
Started
MN700004 Rev 01
13
Configuring the Device's IP Parameters
To manage the ESB26 by a telnet connection or by using an SNMP Network Manager, you
must first configure the IP parameters of the ESB26 switch and the default gateway.
Step 1.
Change to Global Configuration mode by typing
configure terminal
at the Privileged
mode prompt.
The DHCP client is enabled by default; therefore, to configure a static IP address, you
should first disable the DHCP client.
Step 2.
To disable the DHCP client, use the following command in Global
Configuration mode:
Command Syntax
device-name
(config)#
no ip address dhcp
Step 3.
To set the IP address, use the following command in Global Configuration mode:
Command Syntax
device-name
(config)#
ip address
A1.B1.C1.D1
[/
M
|
A2.B2.C2.D2
] [dhcp
A3.B3.C3.D3]
Argument Description
A1.B1.C1.D1
IP address of the configured IP interface.
/M
Subnet mask of the configured IP interface (in the range 1-30).
A2.B2.C2.D2
Subnet mask of the configured IP interface.
dhcp
Use dhcp client
A3.B3.C3.D3
Request IP address A.B.C.D
Example
device-name
(config)#
ip address 100.1.2.3/16
device-name
(config)#
ip address dhcp 9.0.0.1
The IP address of the ESB26 becomes 100.1.2.3 in network 100.1.0.0
Step 4.
Set the default gateway IP address as
follows:
Command Syntax
device-name
(config)#
ip route
{
destination-address
netmask|destination-prefix}
A.B.C.D
[<
distance
>]
device-name
(config)#
no
ip route
{
destination-address
netmask|destination-prefix}
A.B.C.D
[<
distance
>]