Setting the ip address, Setting the ip address -2, Ip a – ADC SG-1 User Manual

Page 32

Advertising
background image

Chapter 4: Accessing the Command Line Interface

June 30, 2006

4-2

SG1-UM-8500-03

S

ETTING

THE

IP A

DDRESS

Set the management card IP address, subnet mask, and default gateway (if a gateway exists) to enable
communication with external networks and to enable access to the SG-1 CLI for Telnet sessions.

To set a new IP address and subnet mask for the SCC, do the following.

3

Press ENTER to initiate the terminal session.

4

Enter your user name at the Username: prompt.

5

Enter your password at the Password: prompt.

The system will display the Host> prompt:

Welcome to SG-1 System

Username: technician

Password: *****

Login Successful

Host>

Host> configure terminal

Host(config)# interface ethernet

Step

Action

1

From the Host(config)# prompt, enter the interface command in the following format:
interface ethernet <slot number>\<port number> <ipaddr> <netmask> mode

<ethernet mode> [mtu <1500|1544>]

2

From the Host(config)# prompt, enter the ip default-gateway command in the following format:
ip default-gateway <ipaddr>

3

For this change to become permanent, the user must perform a write memory command from the
Host>

first level prompt to save this change to NVRAM (when the save command is issued, it saves all

systems parameters):
write memory

Step

Action

Advertising