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 6Telnetting to a SwitchTelnetting to a Switch from a Terminal1) 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 Figure3-4Figure 3-4 Diagram for establishing connection to a Console portz Launch a terminal emulation utility (such as Terminal in Windows 3.X or HyperTerminal inWindows 95/Windows 98/Windows NT/Windows 2000/Windows XP) on the PC terminal, with thebaud 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 ) appears, as shownin the following figure.Figure 3-5 The terminal windowz Perform the following operations in the terminal window to assign IP address 202.38.160.92/24 toVLAN–interface 1 of the switch. system-view[Sysname] interface Vlan-interface 1[Sysname-Vlan-interface1] ip address 202.38.160.92 255.255.255.0