text stringlengths 0 6.55k |
|---|
6. A switch user is currently in console line configuration mode. Which of the following would place the user in enable mode? (Choose two answers.) |
a. Using the exit command once b. Using the end command once |
c. Pressing the Ctrl+Z key sequence once d. Using the quit command |
Foundation Topics |
Accessing the Cisco Catalyst Switch CLI |
Cisco uses the concept of a command-line interface (CLI) with its router products and most of its Catalyst LAN switch products. The CLI is a text-based interface in which the user, typ-ically a network engineer, enters a text command and presses Enter. Pressing Enter sends the command to the switch, which tells the dev... |
Cisco Catalyst switches also support other methods to both monitor and configure a switch. For example, a switch can provide a web interface so that an engineer can open a web brows-er to connect to a web server running in the switch. Switches also can be controlled and operated using network management software. |
This book discusses only Cisco Catalyst enterprise-class switches, and in particular, how to use the Cisco CLI to monitor and control these switches. This first major section of the chapter first examines these Catalyst switches in more detail and then explains how a net-work engineer can get access to the CLI to issue... |
Cisco Catalyst Switches |
Within the Cisco Catalyst brand of LAN switches, Cisco produces a wide variety of switch series or families. Each switch series includes several specific models of switches that have similar features, similar price-versus-performance tradeoffs, and similar internal components. |
For example, at the time this book was published, the Cisco 2960-XR series of switches was a current switch model series. Cisco positions the 2960-XR series (family) of switches as full-featured, low-cost wiring closet switches for enterprises. That means that you would expect to use 2960-XR switches as access switches... |
Figure 4-1 shows a photo of 10 different models from the 2960-XR switch model series from Cisco. Each switch series includes several models, with a mix of features. For example, some of the switches have 48 RJ-45 unshielded twisted-pair (UTP) 10/100/1000 ports, meaning that these ports can autonegotiate the use of 10BA... |
|||||||||||||||||||| Technet24 |
|||||||||||||||||||| |
Chapter 4: Using the Command-Line Interface 87 |
Figure 4-1 Cisco 2960-XR Catalyst Switch Series |
Cisco refers to a switch’s physical connectors as either interfaces or ports, with an interface type and interface number. The interface type, as used in commands on the switch, is either Ethernet, Fast Ethernet, Gigabit Ethernet, and so on for faster speeds. For Ethernet interfaces that support running at multiple spe... |
speed is currently in use. 4 |
To uniquely number each different interface, some Catalyst switches use a two-digit interface number (x/y), while others have a three-digit number (x/y/z). For instance, two 10/100/1000 ports on many older Cisco Catalyst switches would be called GigabitEthernet 0/0 and GigabitEthernet 0/1, while on the newer 2960-XR se... |
Accessing the Cisco IOS CLI |
Like any other piece of computer hardware, Cisco switches need some kind of operating system software. Cisco calls this OS the Internetwork Operating System (IOS). |
Cisco IOS Software for Catalyst switches implements and controls logic and functions per-formed by a Cisco switch. Besides controlling the switch’s performance and behavior, Cisco IOS also defines an interface for humans called the CLI. The Cisco IOS CLI allows the user to use |
a terminal emulation program, which accepts text entered by the user. When the user presses Enter, the terminal emulator sends that text to the switch. The switch processes the text as if it is a command, does what the command says, and sends text back to the terminal emulator. |
The switch CLI can be accessed through three popular methods—the console, Telnet, and Secure Shell (SSH). Two of these methods (Telnet and SSH) use the IP network in which the switch resides to reach the switch. The console is a physical port built specifically to allow access to the CLI. Figure 4-2 depicts the options... |
2960 Switch (Short) Console Cable Console |
Serial RJ-45 or USB or USB |
User Mode |
Interface |
TCP/IP Network |
Telnet and SSH |
Figure 4-2 CLI Access Options |
|||||||||||||||||||| |
|||||||||||||||||||| |
88 CCNA 200-301 Official Cert Guide, Volume 1 |
Console access requires both a physical connection between a PC (or other user device) and the switch’s console port, as well as some software on the PC. Telnet and SSH require soft-ware on the user’s device, but they rely on the existing TCP/IP network to transmit data. The next few pages detail how to connect the con... |
Cabling the Console Connection |
The physical console connection, both old and new, uses three main components: the physi-cal console port on the switch, a physical serial port on the PC, and a cable that works with the console and serial ports. However, the physical cabling details have changed slowly over time, mainly because of advances and changes... |
Most PCs today use a familiar standard USB cable for the console connection. Cisco has been including USB ports as console ports in newer routers and switches as well. All you have to do is look at the switch to make sure you have the correct style of USB cable end to match the USB console port. In the simplest form, y... |
SW1 |
SW2 |
SW3 |
SW1 |
RJ-45 Console |
Rollover Cable |
Serial Port |
SW2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.