Accessing the Cisco 2950 Switch CLI

The 2950 CLI works just like the router IOS CLI. Some of the commands you use are different because switches perform different tasks than routers, but the process and the look and feel are the same. For instance:

■ It uses user exec and priviledged (enable) exec modes.

■ It uses the enable and disable commands to move between the two.

■ It uses a console password and telnet (vty) password, configured just like a router.

■ It uses an enable secret or just plain enable password, with the enable secret password taking precedence if both are configured.

■ It uses the same editing keystrokes that allow you to retrieve previous commands and change the commands.

Only a few minor differences exist between 2950 switches and routers relating to how to access the switch and use the CLI. The first difference is that there is no auxiliary port on a switch. Figure 8-2 shows the two basic access methods—console and Telnet.

Figure 8-2 2950 CLI Access

2950 Switch

2950 Switch

Telnet

Notice that the same console cable (rollover cable) is used for the switch as well as the router.

The only other big difference between the CLI in a router and a 2950 switch is that the commands listed when you ask for help are different. The process is the same—type a ? whenever you need help, and commands and parameters are listed, depending on where you are when you type the ?.

0 0

Post a comment