|
This chapter describes how to configure and maintain the interfaces supported on the terminal server. You will find information about enabling, shutting down, and displaying statistics about the following interfaces:
You will also find information about configuring the null interface and the Point-to-Point Protocol (PPP) in this chapter.
To enable an interface, you must be in the configuration command collection mode. To enter this mode, type the EXEC command configure at the EXEC prompt. Once in the command collection mode, start configuring the interface by entering the interface command. Once an interface is configured, you can check its status by entering EXEC show commands at the EXEC prompt.
This chapter provides software configuration information only. For hardware technical descriptions, and for information about installing these interfaces, refer to the hardware reference for your particular product.
Summaries of the interface configuration commands and EXEC monitoring commands described in this chapter are included at the end of the chapter.
The interface command is entered in configuration mode and identifies a specific network interface (for example, a serial port, Ethernet port, or a Token Ring port). By entering this command you begin the command collection mode for the specified interface.
The interface command has the following syntax:
interface type unitThe argument type identifies the interface type and the argument unit identifies the connector or interface card number. Unit numbers are assigned at the factory at the time of installation, or when added to a system, and can be displayed with the show interfaces command.
This example begins interface configuration command collection mode for serial connector zero (interface serial 0).
interface serial 0
Use the EXEC command show interfaces (described later in this chapter), to determine the interface type and unit numbers.
In the interface configuration command collection mode, you enter the interface subcommands for your particular routing or bridging protocol. The interface configuration command collection mode ends when you enter a command that is not an interface subcommand, or when you type the Ctrl-Z sequence.
To add a descriptive name to an interface, use the description interface subcommand.
description name-stringThe argument name-string is text or a description to help you remember what is attached to this interface. The description command is meant solely as a comment to be put in the configuration to help you remember what certain interfaces are used for. The description will appear in the output of the following commands: show configuration, write terminal, and show interfaces.
This example describes a 3174 controller on serial 0.
interface serial 0
description 3174 Controller for test lab
You disable an interface using the shutdown interface subcommand. The full syntax for this command follows:
shutdownThe shutdown command disables all functions on the specified interface. The command also marks the interface as unavailable. On serial interfaces, this command causes the DTR signal to be dropped. On Token Ring interfaces, this command causes the interface to be de-inserted from the ring.
To restart a disabled interface, use the no shutdown interface subcommand.
To check whether an interface is disabled, use the EXEC command show interfaces as described in the next section. An interface that has been shut down is shown as administratively down in the display from this command.
These commands turn off the interface Ethernet 0.
interface ethernet 0
shutdown
These commands turn the interface back on.
interface ethernet 0
no shutdown
To clear the interface counters shown with the show interfaces command, enter the following command at the EXEC prompt:
clear counters [type unit]The command clears all the current interface counters from the interface unless the optional arguments type and unit are specified to clear only a specific interface type (serial, Ethernet, Token Ring, and so on) from a specific unit or card number.
The Cisco software contains commands that you can enter at the EXEC prompt to display different information about the interface including the version of the software and the hardware, the controller status, and some statistics about the different interfaces. These commands begin with the word "show." (The full list of these commands can be displayed by entering the command show ? at the EXEC prompt.) A description of interface-specific show commands follows.
The show controllers command displays current internal status information for different interface cards. Enter this command at the EXEC prompt:
show controllers {serial|token|mci}Use the following keywords to display the information about that card:
Sample output for the MCI controller card follows. Table 1-1 describes the fields seen.
MCI 0, controller type 1.1, microcode version 1.8
128 Kbytes of main memory, 4 Kbytes cache memory
22 system TX buffers, largest buffer size 1520
Restarts: 0 line down, 0 hung output, 0 controller error
Interface 0 is Ethernet0, station address 0000.0c00.d4a6
15 total RX buffers, 11 buffer TX queue limit, buffer size 1520
Transmitter delay is 0 microseconds
Interface 1 is Serial0, electrical interface is V.35 DTE
15 total RX buffers, 11 buffer TX queue limit, buffer size 1520
Transmitter delay is 0 microseconds
High speed synchronous serial interface
Interface 2 is Ethernet1, station address aa00.0400.3be4
15 total RX buffers, 11 buffer TX queue limit, buffer size 1520
Transmitter delay is 0 microseconds
Interface 3 is Serial1, electrical interface is V.35 DCE
15 total RX buffers, 11 buffer TX queue limit, buffer size 1520
Transmitter delay is 0 microseconds
High speed synchronous serial interface
Field | Description |
---|---|
MCI (number) | The unit number of the MCI card |
controller type | The version number of the MCI card |
microcode version | The version number of the MCI card's internal software (in read-only memory) |
main memory cache memory | The amount of main and cache memory on the cache memory card |
system TX | Number of buffers that hold packets to be transmitted |
Restarts line down hung output controller error | Count of restarts due to the following conditions: Communication line down Output unable to transmit Internal error |
interface..is | Names of interfaces, by number |
electrical interface | Line interface type for serial connections |
RX buffers | Number of buffers for received packets |
TX queue limit | Maximum number of buffers in transmit queue |
Transmitter delay | Delay between outgoing frames |
Station address | The hardware address of the interface |
The Cisco software also provides the show interfaces command which displays statistics for the network interfaces on the network server. Enter this command at the EXEC prompt:
show interfaces [type unit]Specify the optional arguments type and unit to display statistics for a particular network interface. The argument type can be one of the following: ethernet, serial, or tokenring. Use the argument unit to specify the interface unit number.
You will use the show interfaces command frequently while configuring and monitoring your modules.
For further explanations and examples about a specific interface, refer to the following sections in this chapter: "Monitoring the Serial Interface," "Monitoring the Ethernet Interface," and "Monitoring the Token Ring Interface."
Support for the serial interface is supplied on one of Cisco Systems' serial network interface cards:
To specify a serial interface, use this configuration command:
interface serial unitSpecify the serial interface connector number with the argument unit.
Follow this command with the interface subcommands for your particular protocol or
application as described in the chapters in Part Five.
The SCI and MCI cards can query the appliques to determine their types. However, they do so only at system startup, so the appliques must be attached when the system is started. Issue a show controllers serial or show controllers mci command to determine how the serial card (either MCI or SCI) has identified them. The command will also show the capabilities of the serial card and report controller-related failures.
This command begins configuration on interface serial 0.
interface serial 0
The serial interfaces support the following kinds of serial encapsulations:
The HDLC and PPP encapsulation methods are described in this chapter. The Frame Relay encapsulation method is described in the chapter "Frame Relay Configuration and Management," the SMDS encapsulation in the chapter "SMDS Configuration and Management," and the X.25 and LAPB encapsulation methods in the chapter "X.25 Configuration and Management."
The encapsulation method is changed by using the interface configuration subcommand encapsulation followed by a keyword that defines the encapsulation method.
encapsulation encapsulation-typeThe encapsulation-type argument is a keyword that identifies one of the following serial encapsulation types that Cisco Systems' software supports:
Cisco provides HDLC serial encapsulation for serial lines. This encapsulation method provides the synchronous framing and error detection functions of HDLC without windowing or retransmission. Although HDLC is the default serial encapsulation method, it can be re-installed using the hdlc keyword with the encapsulation command as follows:
encapsulation hdlcUse the command clear interface to reset the hardware logic on an interface. Enter this command at the EXEC prompt:
clear interface serial unitThe argument unit specifies the serial port number.
Use the command show interfaces serial to display information about the serial interface and the state of source bridging. Enter this command at the EXEC prompt:
show interfaces serial [unit]The argument unit is the interface unit number. If you do not provide values for the unit argument, the command will display statistics for all the network interfaces.
Sample output of this command for Cisco's synchronous serial interfaces is provided below: Table 1-2 describes the fields seen.
Serial 0 is up, line protocol is up
Hardware is MCI Serial
Internet address is 150.136.190.203, subnet mask is 255.255.255.0
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 0:00:07, output 0:00:00, output hang never
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
Five minute input rate 0 bits/sec, 0 packets/sec
Five minute output rate 0 bits/sec, 0 packets/sec
16263 packets input, 1347238 bytes, 0 no buffer
Received 13983 broadcasts, 0 runts, 0 giants
2 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 2 abort
22146 packets output, 2383680 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets, 0 restarts
1 carrier transitions
Field | Description |
---|---|
Serial ... is {up |down} ...is administratively down | Tells whether the interface hardware is currently active (whether carrier detect is present) and if it has been taken down by an administrator. |
line protocol is {up | down | administratively down} | Tells whether the software processes that handle the line protocol think the line is usable (are keepalives successful?). |
Hardware is | Specifies the hardware type. |
Internet address is | Specifies the Internet address and subnet mask, followed by packet size. |
MTU | Maximum Transmission Unit of the interface. |
BW | Bandwidth of the interface in kilobits per second. |
DLY | Delay of the interface in microseconds. |
rely | Reliability of the interface as a fraction of 255 (255/255 is 100% reliability), calculated as an exponential average over five minutes. |
load | Load on the interface as a fraction of 255 (255/255 is completely saturated), calculated as an exponential average over five minutes. |
Encapsulation | Encapsulation method assigned to interface. |
loopback | Tells whether loopback is set or not. |
keepalive | Tells whether keepalives are set or not. |
Last input | The number of hours, minutes, and seconds since the last packet was successfully received by an interface. Useful for knowing when a dead interface failed. |
output hang | The number of hours, minutes, and seconds (or never) since the interface was last reset because of a transmission that took too long. When the number of hours in any of the "last" fields exceeds 24 hours, the number of days and hours is printed. If that field overflows, asterisks are printed. |
Output queue, Input Queue, drops | Number of packets in output and input queues. Each number is followed by a slash, the maximum size of the queue, and the number of packets dropped due to a full queue. |
Five minute input rate, Five minute output rate | The average number of bytes and packets transmitted per second in the last five minutes. |
packets input | The total number of error-free packets received by the system. |
broadcasts | The total number of broadcast or multicast packets received by the interface. |
runts | The number of packets which are discarded because they are smaller than the medium's minimum packet size. |
giants | The number of packets which are discarded because they exceed the medium's maximum packet size. |
input error | The total number of no buffer, runts, giants, CRCs, frame, overrun, ignored, and abort counts. Other input-related errors can also increment the count, so that this sum may not balance with the other counts. |
CRC | The Cyclic Redundancy Checksum generated by the originating station or far-end device does not match the checksum calculated from the data received. On a serial link, CRCs usually indicate noise, gain hits, or other transmission problems on the data link. |
frame | The number of packets received incorrectly having a CRC error and a noninteger number of octets. On a serial line, this is usually the result of noise or other transmission problems. |
overrun | The number of times the serial receiver hardware was unable to hand received data to a hardware buffer because the input rate exceeded the receiver's ability to handle the data. |
ignored | The number of received packets ignored by the interface because the interface hardware ran low on internal buffers. These buffers are different than the system buffers mentioned previously in the buffer description. Broadcast storms and bursts of noise can cause the ignored count to be increased. |
abort | An illegal sequence of one bits on a serial interface. This usually indicates a clocking problem between the serial interface and the data link equipment. |
packets output | Total number of messages transmitted by the system. |
bytes output | Total number of bytes, including data and MAC encapsulation, transmitted by the system. |
underruns | Number of times that the transmitter has been running faster than the server can handle. This may never happen (be reported) on some interfaces. |
output errors | The sum of all errors which prevented the final transmission of datagrams out of the interface being examined. Note that this may not balance with the sum of the enumerated output errors, as some datagrams may have more than one error, and others may have errors that do not fall into any of the specifically tabulated categories. |
interface resets | The number of times an interface has been completely reset. This can happen if packets queued for transmission were not sent within several seconds' time. On a serial line, this can be caused by a malfunctioning modem which is not supplying the transmit clock signal, or by a cable problem. If the system notices that the carrier detect line of a serial interface is up, but the line protocol is down, it periodically resets the interface in an effort to restart it. Interface resets can also occur when an interface is looped back down. |
restarts | The number of times the controller was restarted because of errors. |
carrier transitions | The number of times the carrier detect signal of a serial interface has changed state. Indicates modem or line problems if the carrier detect line is changing state often. |
Use the commands debug serial-interface and debug serial-packet to debug serial interface events. The EXEC commands are as follows:
debug serial-interfaceUse debug serial-packet for detailed debugging information, and debug serial-interface for more general information.
Use the undebug serial-interface and undebug serial-packets to turn off messaging from these debug commands.
Support for the Ethernet interface is supplied on one of Cisco Systems' Ethernet network interface cards:
To specify an Ethernet interface, use this configuration command:
interface ethernet unitSpecify the Ethernet interface connector number with the argument unit.
Follow this command with the interface subcommands for your particular protocol or
application as described in the chapters in Part Five.
This command begins configuration on interface Ethernet 1.
interface ethernet 1
The Ethernet interface supports a number of encapsulation methods. These methods are assigned by using the interface subcommand encapsulation followed by a keyword that defines the encapsulation method. The particular encapsulation method used depends on the protocol. Currently, there are three common Ethernet encapsulation methods:
The syntax of the encapsulation command follows:
encapsulation encapsulation-typeThe encapsulation-type is one of the following three keywords:
These commands enable standard Ethernet Version 2.0 encapsulation on interface Ethernet 0.
interface ethernet 0
encapsulation arpa
Use the command clear interface to reset the hardware logic on an interface. Enter this command at the EXEC prompt:
clear interface ethernet unitThe arguments unit specifies the Ethernet port number.
Use the command show interfaces ethernet to display information about the Ethernet interface. Enter this command at the EXEC prompt:
show interfaces ethernet [unit]The argument unit is the interface unit number. If you do not provide values for the unit argument, the command will display statistics for all the network interfaces.
Sample output of this command is provided on the following page. Table 1-3 describes the fields seen.
Ethernet 0 is up, line protocol is up
Hardware is MCI Ethernet, address is aa00.0400.0134 (bia 0000.0c00.4369)
Internet address is 131.108.1.1, subnet mask is 255.255.255.0
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec)
ARP type: ARPA, PROBE, ARP Timeout 4:00:00
Last input 0:00:00, output 0:00:00, output hang never
Output queue 0/40, 0 drops; input queue 0/75, 2 drops
Five minute input rate 61000 bits/sec, 4 packets/sec
Five minute output rate 1000 bits/sec, 2 packets/sec
2295197 packets input, 305539992 bytes, 0 no buffer
Received 1925500 broadcasts, 0 runts, 0 giants
3 input errors, 3 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
3594664 packets output, 436549843 bytes, 0 underruns
8 output errors, 1790 collisions, 10 interface resets, 0 restarts
Field | Description |
---|---|
Ethernet ... is up ...is administratively down | Tells whether the interface hardware is currently active and if it's been taken down by an administrator. |
line protocol is {up | down | administratively down} | Tells whether the software processes that handle the line protocol believe the interface is usable (are keepalives successful?). |
Hardware | Specifies the hardware type (for example, MCI Ethernet, cBus Ethernet) and address. |
Internet address | Lists the Internet address followed by subnet mask. |
MTU | Maximum Transmission Unit of the interface. |
BW | Bandwidth of the interface in kilobits per second. |
DLY | Delay of the interface in microseconds. |
rely | Reliability of the interface as a fraction of 255 (255/255 is 100% reliability), calculated as an exponential average over five minutes. |
load | Load on the interface as a fraction of 255 (255/255 is completely saturated), calculated as an exponential average over five minutes. |
Encapsulation | Encapsulation method assigned to interface. |
ARP type: | Type of Address Resolution Protocol assigned. |
loopback | Tells whether loopback was set or not. |
output | Number of hours, minutes, and seconds (or never) since the last packet was successfully transmitted by the interface. Useful for knowing when a dead interface failed. |
output hang | The number of hours, minutes, and seconds (or never) since the interface was last reset because of a transmission that took too long. When the number of hours in any of the "last" fields exceeds 24 hours, the number of days and hours is printed. If that field overflows, asterisks are printed. |
Last Clearing | The time at which the counters that measure cumulative statistics (such as number of bytes transmitted and received) shown in this report were last reset to zero. Note that variables that might affect routing (for example, load and reliability) are not cleared when the counters are cleared. |
Output queue, Input queue, drops | Number of packets in output and input queues. Each number is followed by a slash, the maximum size of the queue, and the number of packets dropped due to a full queue. |
Five minute input rate, Five minute output rate | The average number of bytes and packets transmitted per second in the last five minutes. |
packets input | The total number of error-free packets received by the system. |
Received ..broadcasts | The total number of broadcast or multicast packets received by the interface. |
runts | The number of packets which are discarded because they are smaller than the medium's minimum packet size. For instance, any Ethernet packet which is less than 64 bytes is considered a runt. |
giants | The number of packets which are discarded because they exceed the medium's maximum packet size. For example, any Ethernet packet which is greater than 1518 bytes is considered a giant. |
input error | Includes runts, giants, no buffer, CRC, frame, overrun, and ignored counts. Other input-related errors can also cause the input errors count to be increased, and some datagrams may have more than one error; therefore, this sum may not balance with the sum of enumerated input error counts. |
CRC | The Cyclic Redundancy Checksum generated by the originating LAN station or far-end device does not match the checksum calculated from the data received. On a LAN, this usually indicates noise or transmission problems on the LAN interface or the LAN bus itself. A high number of CRCs is usually the result of collisions or a station transmitting bad data. |
frame | The number of packets received incorrectly having a CRC error and a noninteger number of octets. On a LAN, this is usually the result of collisions or a malfunctioning Ethernet device. |
overrun | The number of times the serial receiver hardware was unable to hand received data to a hardware buffer because the input rate exceeded the receiver's ability to handle the data. |
ignored | The number of received packets ignored by the interface because the interface hardware ran low on internal buffers. These buffers are different than the system buffers mentioned previously in the buffer description. Broadcast storms and bursts of noise can cause the ignored count to be increased. |
packets output | Total number of messages transmitted by the system. |
bytes | Total number of bytes, including data and MAC encapsulation, transmitted by the system. |
underruns | Number of times that the transmitter has been running faster than the server can handle. This may never happen (be reported) on some interfaces. |
output errors | The sum of all errors which prevented the final transmission of datagrams out of the interface being examined. Note that this may not balance with the sum of the enumerated output errors, as some datagrams may have more than one error, and others may have errors that do not fall into any of the specifically tabulated categories. |
collisions | The number of messages retransmitted due to an Ethernet collision. This is usually the result of an overextended LAN (Ethernet or transceiver cable too long, more than two repeaters between stations, or too many cascaded multiport transceivers). A packet that collides is counted only once in output packets. |
interface resets | The number of times an interface has been completely reset. This can happen if packets queued for transmission were not sent within several seconds time. Interface resets can also occur when an interface is looped back or shut down. |
restarts | The number of times a Type 2 Ethernet controller was restarted because of errors. |
Use the command debug broadcast to debug MAC broadcast packets. Enter this command at the EXEC prompt.
debug broadcastUse the undebug broadcast command to turn off messaging.
Use the command debug packet to enable a log of packets that the network is unable to classify. Examples of this are packets with unknown link type, or IP packets with an unrecognized protocol field. Enter this command at the EXEC prompt.
debug packetUse the undebug packet command to turn off messaging.
Support for the Token Ring interface is supplied on one of Cisco Systems' Token Ring network interface cards:
The Cisco Token Ring interface supports both routing (Level 3 switching) and source-route bridging (Level 2 switching).
To configure a Token Ring interface, use this configuration command:
interface tokenring unitSpecify the card number with the argument unit.
Follow this command with the interface subcommands for your particular protocol or application as described in the chapters in Part Five.
This command begins configuration on the first Token Ring interface.
interface tokenring 0
Caution Configuring a ring speed that is wrong or incompatible with the connected Token Ring will cause the ring to beacon, which effectively takes the ring down and makes it nonoperational. |
Use the ring-speed interface subcommand to set ring speed for a Token Ring interface. The command syntax follows:
ring-speed speedThe argument speed can be either 4 or 16. When specified as 4, ring speed is set for 4 Mbps operation; when specified to 16, ring speed is set for 16 Mbps operation. The default is 16.
The following commands set a Token Ring interface ring speed to four Mbps.
interface tokenring 0
ring-speed 4
Cisco's Token Ring interface, by default, uses the SNAP encapsulation format defined in RFC 1042. It is not necessary to define an encapsulation method for this interface.
Use the command clear interface to reset the hardware logic on an interface. Enter this command at the EXEC prompt:
clear interface token ring unitThe argument unit specifies the Token Ring card number.
To maintain the Routing Information Field (RIF) cache for terminal servers with Token Ring interfaces, use the clear rif-cache command. The command syntax is:
clear rif-cacheThis command clears all entries from the RIF cache. It applies only to Token Ring interfaces.
Use the command show interface to display information about the Token Ring interface and the state of source bridging. Enter this command at the EXEC prompt:
show interfaces tokenring [unit]The argument unit is the interface unit number.
Sample output of this command is provided below. Table 1-4 describes the fields seen.
TokenRing 0 is up, line protocol is up
Hardware is 16/4 Token Ring, address is 5500.2000.dc27 (bia 0000.3000.072b)
Internet address is 150.136.230.203, subnet mask is 255.255.255.0
MTU 8136 bytes, BW 16000 Kbit, DLY 630 usec, rely 255/255, load 1/255
Encapsulation SNAP, loopback not set, keepalive set (10 sec)
ARP type: SNAP, ARP Timeout 4:00:00
Ring speed: 16 Mbps
Single ring node, Source Route Bridge capable
Group Address: 0x00000000, Functional Address: 0x60840000
Last input 0:00:01, output 0:00:01, output hang never
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
Five minute input rate 0 bits/sec, 0 packets/sec
Five minute output rate 0 bits/sec, 0 packets/sec
16339 packets input, 1496515 bytes, 0 no buffer
Received 9895 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
32648 packets output, 9738303 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets, 0 restarts
5 transitions
Field | Description |
---|---|
Token Ring is up | down | The interface is currently active and inserted into ring (up) or inactive and not inserted (down). |
Token Ring is Reset | Hardware error has occurred. |
Token Ring is Initializing | Hardware is up, in the process of inserting the ring. |
Token Ring is Administratively Down | Hardware has been taken down by an administrator. |
line protocol is {up | down | administratively down} | Tells whether the software processes that handle the line protocol believe the interface is usable (are keepalives successful?). |
Hardware | Specifies the hardware type (Token Ring or 16/4 Token Ring) and provides the address. |
Internet address | Lists the Internet address followed by subnet mask. |
MTU | Maximum Transmission Unit of the interface. |
BW | Bandwidth of the interface in kilobits per second. |
DLY | Delay of the interface in microseconds. |
rely | Reliability of the interface as a fraction of 255 (255/255 is 100% reliability), calculated as an exponential average over five minutes. |
load | Load on the interface as a fraction of 255 (255/255 is completely saturated), calculated as an exponential average over five minutes. |
Encapsulation | Encapsulation method assigned to interface. |
loopback | Tells whether loopback is set or not. |
keepalive | Tells whether keepalives are set or not. |
ARP type: | Type of Address Resolution Protocol assigned. |
Ring speed: | Speed of Token Ring--4 or 16 Mbps. |
{Single ring | multiring node} | Indicates whether a node is enabled to collect and use source routing information (RIF) for routable Token Ring protocols. |
Group Address: | The interface's group address, if any. The group address is a multicast address; any number of interfaces on the ring may share the same group address. Each interface may have at most one group address. |
Last input | The number of hours, minutes, and seconds since the last packet was successfully received by an interface. Useful for knowing when a dead interface failed. |
output hang | The number of hours, minutes, and seconds (or never) since the interface was last reset because of a transmission that took too long. When the number of hours in any of the "last" fields exceeds 24 hours, the number of days and hours is printed. If that field overflows, asterisks are printed. |
Output queue, Input Queue, drops | Number of packets in output and input queues. Each number is followed by a slash, the maximum size of the queue, and the number of packets dropped due to a full queue. |
Five minute input rate, Five minute output rate | The average number of bytes and packets transmitted per second in the last five minutes. |
packets input | The total number of error-free packets received by the system. |
broadcasts | The total number of broadcast or multicast packets received by the interface. |
runts | The number of packets which are discarded because they are smaller than the medium's minimum packet size. |
giants | The number of packets which are discarded because they exceed the medium's maximum packet size. |
CRC | The Cyclic Redundancy Checksum generated by the originating LAN station or far-end device does not match the checksum calculated from the data received. On a LAN, this usually indicates noise or transmission problems on the LAN interface or the LAN bus itself. A high number of CRCs is usually the result of a station transmitting bad data. |
frame | The number of packets received incorrectly having a CRC error and a noninteger number of octets. |
overrun | The number of times the serial receiver hardware was unable to hand received data to a hardware buffer because the input rate exceeded the receiver's ability to handle the data. |
ignored | The number of received packets ignored by the interface because the interface hardware ran low on internal buffers. These buffers are different than the system buffers mentioned previously in the buffer description. Broadcast storms and bursts of noise can cause the ignored count to be increased. |
packets output | Total number of messages transmitted by the system. |
bytes output | Total number of bytes, including data and MAC encapsulation, transmitted by the system. |
underruns | Number of times that the far-end transmitter has been running faster than the near-end server's receiver can handle. This may never happen (be reported) on some interfaces. |
output errors | The sum of all errors which prevented the final transmission of datagrams out of the interface being examined. Note that this may not balance with the sum of the enumerated output errors, as some datagrams may have more than one error, and others may have errors that do not fall into any of the specifically tabulated categories. |
collisions | Since a Token Ring cannot have collisions, this statistic is nonzero only if an unusual event occurred when frames were being queued or dequeued by the system software. |
interface resets | The number of times an interface has been reset. The interface may be reset by the administrator or automatically when an internal error occurs. |
restarts | Should always be zero for Token Ring interfaces. |
transitions | The number of times the ring made a transition from up to down, or vice versa. A large number of transitions indicates a problem with the ring or the interface. |
Use the EXEC commands described in this section to troubleshoot the Token Ring interface.
Use the debug rif command to enable logging of route information.
debug rifThe command enables logging of information about the route information fields (RIF) in Token Ring packets.
Use the debug token-event command to enable logging of Token Ring events.
debug token-eventThis command provides a display of low-volume output.
Use the EXEC command debug token-ring to display messages about the Token Ring interface activity. This command reports several lines of information for each packet sent or received and is intended for low traffic, detailed debugging.
debug token-ringThe Token Ring interface records detailed information regarding the current state of the ring. These messages are only displayed when debug token-event is enabled.
Enter the undebug command with the appropriate keyword to turn off the messages.
The last ring status message is displayed in the EXEC command show interfaces display for a Token Ring interface. Table 1-5 describes the messages displayed by this command.
This section explains how to build routing information fields (RIFs). Terminal servers on a Token Ring network in a source-route bridging environment must support the collection and use of RIF information, to provide necessary path information to the host.
A RIF is built up of ring and bridge numbers. A ring is a single Token Ring network segment. Each ring in the extended Token Ring network is designated by a unique 12-bit ring number. Each bridge between two Token Rings is designated by a unique 4-bit bridge number. Bridge numbers must be unique only between bridges that connect the same two Token Rings.
Figure 1-1 illustrates the basic format for the Routing Information Field.
Figure 1-2 illustrates the routing control format for the RIF. Descriptions of each field follow.
Figure 1-3 describes the routing descriptor format of the RIF string. Definitions of each field follow the figure.
RIF information is maintained in a cache whose entries are aged. The global configuration command rif timeout determines the number of minutes an inactive RIF entry is kept. The full command syntax follows:
rif timeout minutesThe default interval is 15 minutes. The minimum value is one minute. Assign a new interval value using the minutes argument.
The no rif timeout command restores the default.
The EXEC command show rif displays the contents of the RIF cache. The EXEC command clear rif-cache clears the contents of RIF cache. See the sections "Maintaining the Source-Route Bridge" and "Monitoring the Source-Route Bridge" later in this chapter for more information about these commands.
This command changes the timeout period to five minutes.
rif timeout 5
If a Token Ring host does not support the use of IEEE 802.2 TEST or XID datagrams as explorer packets, you may need to add static information to the RIF cache of the router/bridge.
To enter static source-route information into the RIF cache, use the following variation of the rif global configuration command:
rif MAC-address [RIF-string] [interface-name]The argument MAC-address is a 12-digit hexadecimal string written as a dotted triple, for example 0010.0a00.20a6.
Using the command rif MAC-address without any of the optional arguments puts an entry into the RIF cache indicating that packets for this MAC address should not have RIF information.
The command no rif MAC-address removes an entry from the cache.
The optional argument RIF-string is a series of 4-digit hexadecimal numbers separated by a dot (.). This RIF string is inserted into the packets sent to the specified MAC address.
An interface name (for example, tokenring0) can be specified with the optional interface-name argument, to indicate the origin of the RIF.
Do not configure a static RIF with any of the all rings type codes. Doing so causes traffic for the configured host to appear on more than one ring and leads to unnecessary congestion. The format of a RIF string is illustrated in Figure 1-1 , Figure 1-2 , and Figure 1-3 .
In this example configuration, the path between rings 8 and 9 connected via source-route bridge 1 is described by the route descriptor 0081.0090. A full RIF, including the route control field, would be 0630.0081.0090. The static RIF entry would be submitted to the leftmost router as shown in Figure 1-4.
rif 1000.5A12.3456 0630.0081.0090
As another example, assume a datagram was sent from a Cisco router/bridge on ring 21 (15 hexadecimal), across bridge 5 to ring 256 (100 hexadecimal), and then across bridge 10 (A hexadecimal) to ring 1365 (555 hexadecimal) for delivery to a destination host on that ring. See Figure 2.
The RIF in the leftmost router describing this two-hop path is 0830.0155.100a.5550 and is entered as follows:
rif 1000.5A01.0203 0830.0155.100a.5550
Use this EXEC command to maintain the source-route bridge cache:
clear rif-cacheThe clear rif-cache command clears the entire RIF cache.
The show rif EXEC command displays the current contents of the RIF cache. Enter this command at the EXEC prompt:
show rifThe following is a sample display of show rif:
Codes: * interface, - static, + remote
Hardware Addr How Idle (min) Routing Information Field
5C02.0001.4322 rg5 - 0630.0053.00B0
5A00.0000.2333 TR0 3 08B0.0101.2201.0FF0
5B01.0000.4444 - - -
0000.1403.4800 TR1 0 -
0000.2805.4C00 TR0 * -
0000.2807.4C00 TR1 * -
0000.28A8.4800 TR0 0 -
0077.2201.0001 rg5 10 0830.0052.2201.0FF0
ASM-CSs on a Token Ring network in a source-route bridging environment must support the collection and use of RIF information, to provide necessary path information to the host.
Level 3 routers that use protocol-specific information rather than MAC information to route datagrams must be able to collect and use RIF information to ensure that the Level 3 routers can transmit datagrams across a source-route bridge. The Cisco software default is to not collect and use RIF information for routed protocols. This allows operation with software that does not understand or properly use RIF information.
To enable collection and use of RIF information, use the multiring interface subcommand. The full command syntax follows:
multiring ipWhen it is enabled, the router will source packets that include information used by source-route bridges. This allows a terminal server with Token Ring interfaces to connect to a source-bridged Token Ring network.
The no multiring ip subcommand with the appropriate keyword disables the use of RIF information for the protocol specified.
These commands enable a Token Ring interface for the IP protocol. RIFs will be generated for IP frames.
interface tokenring 0
multiring ip
ip address 131.108.183.37 255.255.255.0
The Point-to-Point Protocol (PPP), described in RFC 1134, is designed as a method of encapsulating Internet Protocol (IP) datagrams and other Network Layer protocol information over point-to-point links. The document "Point-to-Point Initial Configuration Options" defines the set of options that are negotiated during startup.
Cisco Systems' current implementation of PPP supports no configuration options. The software sends no options and any proposed options are rejected.
Of the possible upper layer protocols, only IP is supported at this time. Thus, the only upper-level protocol that can be sent or received over a point-to-point link using PPP encapsulation is IP. Refer to RFC 1134 for definitions of the codes and protocol states.
The Point-to-Point Protocol is enabled on an interface using the encapsulation interface subcommand followed by the ppp keyword.
encapsulation pppThese commands enable PPP encapsulation on serial interface zero.
interface serial 0
encapsulation ppp
Cisco provides support for a null interface. This pseudo-interface functions similarly to the null devices available on most operating systems. This interface is always up and can never forward or receive traffic; encapsulation always fails.
The null interface provides an alternative method of filtering traffic. The overhead involved with using access lists can be avoided by directing undesired network traffic to the null interface.
To specify the null interface, specify "null 0" (or "null0") as the interface name and unit. The null interface may be used in any command that has an interface type as a parameter.
This command configures a null interface for IP route 127.0.0.0.
ip route 127.0.0.0 null 0
Following are alphabetically arranged summaries of the interface subcommands for interface support.
[no] description name-string
Adds a descriptive name to an interface. The argument name-string is a comment to be put in the configuration.
encapsulation encapsulation-type
Assigns encapsulation method. The encapsulation-type argument is a keyword that identifies one of the following serial encapsulation types that Cisco Systems' software supports:
interface type unit
Specifies a serial interface. The argument type specifies the interface type--serial, ethernet, or tokenring--and the argument unit specifies the interface number or card number.
Sets operational ring speed for interface.
The argument speed can be either 4 or 16. When specified as 4, ring speed is set for 4 Mbps operation; when specified to 16, ring speed is set for 16 Mbps operation. The default is 16.
[no] shutdown
Disables and enables an interface.
Following is an alphabetically arranged summary of the EXEC interface support commands.
Resets all interface counters listed in show interface statistics. The arguments type and unit specify the interface type and unit or card number (such as, ethernet 0, serial 0, or tokenring 0).
Resets the hardware logic on an interface.The arguments type and unit specify the interface type and unit or card number (such as, ethernet 0, serial 0, or tokenring 0).
Maintains the Routing Information Field (RIF) cache for terminal servers with a Token Ring interface. This command clears all entries from the RIF cache. It applies only to terminal servers with Token Ring interfaces.
Enables you to log all Level 2 (MAC) broadcast packets received. This information is useful for finding the source of a broadcast storm.
Enables logging of packets that the networ k server is unable to classify. Examples of this are packets with an unknown Ethernet link type, or IP packets with an unrecognized protocol field.
Enables logging of route information about the route information fields (RIF) in Token Ring packets.
Enables general logging of serial-interface events for network servers equipped with serial network interfaces.
Enables detailed logging of serial-interface events for network servers equipped with serial network interfaces.
Enables logging of Token Ring events and provides a display of low-volume output.
Enables logging of Token Ring interface activity. This command reports several lines of information for each packet sent or received and is intended for low traffic, detailed debugging.
show controllers {serial|token|mci}
Displays current internal status information for different interface cards.
Displays statistics for the network interfaces on the network server. The optional argument type can be one of the following: ethernet, serial, or tokenring. The argument unit specifies the interface unit or card number.
|