Telnetting to a switch, Telnetting to a switch from a terminal – H3C Technologies H3C S3100 Series Switches User Manual

Page 56

Advertising
background image

3-11

[Sysname-ui-vty0] screen-length 30

# Set the maximum number of commands the history command buffer can store to 20.

[Sysname-ui-vty0] history-command max-size 20

# Set the timeout time to 6 minutes.

[Sysname-ui-vty0] idle-timeout 6

Telnetting to a Switch

Telnetting to a Switch from a Terminal

1) Assign an IP address to VLAN-interface 1 of the switch (VLAN 1 is the default VLAN of the switch).

z

Connect the serial port of your PC/terminal to the Console port of the switch, as shown in

Figure

3-4

Figure 3-4 Diagram for establishing connection to a Console port

z

Launch a terminal emulation utility (such as Terminal in Windows 3.X or HyperTerminal in

Windows 95/Windows 98/Windows NT/Windows 2000/Windows XP) on the PC terminal, with the

baud rate set to 9,600 bps, data bits set to 8, parity check set to none, and flow control set to none.

z

Turn on the switch and press Enter as prompted. The prompt (such as <H3C>) appears, as shown

in the following figure.

Figure 3-5 The terminal window

z

Perform the following operations in the terminal window to assign IP address 202.38.160.92/24 to

VLAN–interface 1 of the switch.

<Sysname> system-view

[Sysname] interface Vlan-interface 1

[Sysname-Vlan-interface1] ip address 202.38.160.92 255.255.255.0

Advertising