3-9# Set the maximum number of lines the screen can contain to 30.[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 Figure 3-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 appears.z 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.02) Perform Telnet-related configuration on the switch. Refer to Telnet Configuration withAuthentication Mode Being None, Telnet Configuration with Authentication Mode Being Password,and Telnet Configuration with Authentication Mode Being Scheme for more.3) Connect your PC/terminal and the Switch to an Ethernet, as shown in Figure 3-5. Make sure theport through which the switch is connected to the Ethernet belongs to VLAN 1 and the routebetween your PC and VLAN-interface 1 is reachable.