Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Cisco Switching Black Book - Sean Odom, Hanson Nottingham.pdf
Скачиваний:
87
Добавлен:
24.05.2014
Размер:
2.89 Mб
Скачать

RMON provides support for the following groups of Token Ring extensions:

MAC−Layer Statistics Group—A collection of statistics from the MAC sublayer of the Data Link layer, kept for each Token Ring interface. This group collects information such as the total number of MAC layer packets received and the number of times the port entered a beaconing error state.

Promiscuous Statistics Group—A collection of promiscuous statistics kept for non−MAC packets on each Token Ring interface. This group collects information such as the total number of good non−MAC frames received that were directed to a Logical Link Control (LLC) broadcast address.

Ring Station Group—A collection of statistics and status information associated with each Token Ring station on the local ring. This group also provides status information for each ring being monitored.

Ring Station Order Group—A list of the order of stations on the monitored Token Ring network’s rings.

To see a list of available commands, use the ? command. Table 2.1 provides a list of the ROM command−line interface commands and a brief description of each.

Table 2.1: ROM command−line interface commands.

Command

Description

alias

Configures and displays aliases

boot

Boots up an external process

confreg

Configures the configuration register utility

dev

Shows device IDs available on a platform

dir

Shows files of the named device

history

Shows the last 16 commands

meminfo

Shows switch memory information

repeat

Repeats a specified command

reset

Performs a switch reboot/reset

set

Shows monitor variable names with their values

sync

Saves the ROM monitor configuration

unalias

Deletes the alias name and associated value from the

 

alias list

unset=varname

Deletes a variable name from the variable list

varname=value

Assigns a value to a variable

Connecting to the Console Port

To initially configure a switch, you must make a connection to the console port and enter instructions to the switch from this port. The console comes preconfigured on a Cisco device and ready to use. You can access the console port in a number of ways, as shown in Figure 2.2.

34

Figure 2.2: The different types of console ports on the switches.

The console port must be accessed through a PC or another device (such as a dumb terminal) to view the initial configuration. From the console port, you can configure other points of entry—such as the VTY line ports—to allow you to use Telnet to configure the switch from other points in your network.

On switches where the console port is an RJ−45 port, you must plug a rolled RJ−45 cable straight into the port. If it is a DB−25 port, you must use an RJ−45−to−DB−25 connector to connect. If the switch uses a DB−9 port, you will need a DB−9−to−RJ−45 connector. Fortunately, these connectors come with every switch—you only need to know which connector and cables to use.

Whatever the type of console port in use on the switch, you will need to connect an RJ−45 cable from the console port or connector to the dumb terminal or PC. On a PC, you can use a third−party program to gain access, such as HyperTerminal (included with most Microsoft Windows operating systems).

Note

The HyperTerminal version included with Microsoft Windows is very limited. One

 

of its most notable limitations is its failure to perform the break command, which

 

does not allow you to obtain a lost password from some switches and routers. You

 

can download an upgrade to HyperTerminal from the Hilgraeve Web site,

 

http://www.hilgraeve.com;/ the upgrade will allow you to use this feature.

Console Cable Pinouts

Two types of RJ−45 cables are used with Cisco switches: a straight−through cable and a rolled cable. To figure out what type of cable you have, hold the two RJ−45 ends side by side. You will see eight colored wires, known as pins, at each end. If the order of the colored pins matches at both ends, then you are holding a straight−through cable. If the colors are reversed, then you are holding a rolled cable.

When a problem occurs, having access to all the accessories to build your own cable is a big advantage. Finding the correct cable or connector on a moment’s notice is not always convenient. I have always wanted a quick reference that lists the pinouts of each cable and connector, so that I could easily make my own cable or connectors. Because I’ve never found such a reference, I’ve created it myself; the lists appear in Tables 2.2 and 2.3.

Table 2.2: Straight−through cable RJ−45−to−RJ−45 pinouts.

RJ−45

RJ−45

1

1

2

2

3

3

4

4

5

5

6

6

35

7

7

8

8

Table 2.3: Rollover cable RJ−45−to−RJ−45 pinouts.

 

 

 

RJ−45

RJ−45

1

8

2

7

3

6

4

5

5

4

6

3

7

2

8

1

Console Connectors

Different console adapters connect different interfaces in order to connect to the console port. The following are the types of console connectors for each switch:

Catalyst 1900, 2820, and 2900 XL series switches each have an RJ−45 console port. You can connect to the console port using a straight−through Category 5 cable.

The Catalyst 3000 uses a DB−9 connector to access the console port.

The Catalyst 5000 line uses a Supervisor Engine. To connect a console to a Supervisor Engine I or II, use a DB−25 connection. If the switch uses a Supervisor Engine III, use the RJ−45−to−RJ−45

rollover cable.

The Catalyst 6000 family also uses a Supervisor Engine with an RJ−45 style connector and an RJ−45−to−RJ−45 straight−through cable.

The Catalyst 6500 uses a rolled cable from the console port.

You can use a number of connectors when connecting different devices using your rolled or straight−through cable:

To connect a PC to any console cable, attach the RJ−45−to−DB−9 female Data Terminal Equipment (DTE) adapter to one of the nine−pin serial ports on the PC.

To attach to a Unix workstation, use the RJ−45−to−DB−25 Data Communications Equipment (DCE) adapter (female).

To connect a modem to the console port, use the RJ−45−to−DB−25 (male) adapter.

Note Console port settings by default are 9600 baud, 8 data bits, 1 stop bit, and no parity.

Normally, all three connectors will come with your switch. You will need to use the appropriate adapter for the device with which you are configuring your switch.

Cisco uses two types of RJ−45−to−DB−25 connectors: the DCE style (used for modem connections) and the DTE style (used to connect to terminals or PCs).

The RJ−45−to−AUX Port Console Connector Pinouts

Most often, you will use a connection to a PC or a laptop. The connector signal appointments for each pin on the auxiliary (AUX) port DB−9 connector are shown in Table 2.4. Table 2.5 shows the connector pinouts for an RJ−45−to−DB−9 AUX port connector by color.

Table 2.4: The RJ−45−to−AUX port DB−9 connector signal appointments for each pin.

36

Pin

Signal

Input/Output

1

RTS

Out

2

DTR

Out

3

TXD

Out

4

GND

N/A

5

GND

N/A

6

RXD

In

7

DSR

In

8

CTS

In

Table 2.5: The RJ−45−to−DB−9 AUX port pinouts by color.

 

 

 

 

Color

RJ−45

DB−9

Brown

1

6

Blue

2

7

Yellow

3

2

Green

4

5

Red

5

5

Black

6

3

Orange

7

4

White

8

8

Table 2.6 shows the connectors most often used for modem connections. Table 2.7 shows the connectors most often used with Unix workstation connections to the console port.

Table 2.6: DCE connector pinouts for an RJ−45 to a DB−25 male.

RJ−45

DCE

1

5

2

8

3

3

4

7

5

7

6

2

7

20

8

4

Table 2.7: DTE connectors for an RJ−45 to a DB−25 female.

RJ−45

DTE

1

4

2

20

3

2

4

7

5

7

6

3

7

6

8

5

In the event that you need a DB−25−to−DB−9 connector, Table 2.8 shows the pinouts.

37

Соседние файлы в предмете Программирование