|
|
To continue your data compression service adapter (CSA) installation, you must configure compression services on serial interfaces installed in the router. This chapter explains how to configure compression on individual serial interfaces.
The instructions in this chapter apply to all supported platforms. Minor differences between the platforms are noted. This chapter contains the following sections:
You modify the configuration of your router through the software command interpreter called the EXEC. You must enter the privileged level of the EXEC command interpreter with the enable command before you can use the configure command to configure a new interface or change the existing configuration of an interface. The system prompts you for a password if one has been set.
The system prompt for the privileged level ends with a pound sign (#) instead of an angle bracket (>). At the console terminal, use the following procedure to enter the privileged level:
Step 1 At the user-level EXEC prompt, enter the enable command. The EXEC prompts you for a privileged-level password as follows:
Router> enable
Password:
Step 2 Enter the password (the password is case sensitive). For security purposes, the password is not displayed.
When you enter the correct password, the system displays the privileged-level system prompt (#):
Router#
Proceed to the "Configuring the Interfaces" section to configure the new interfaces.
After you verify that the new CSA is installed correctly (the enabled LED goes on), use the privileged-level configure command to configure compression on the new interfaces.
If you installed a new CSA or CSA-equipped VIP2, or if you want to change the configuration of an existing interface, you must enter configuration mode using the configure command. If you replaced a CSA that was previously configured, the system recognizes the new CSA and brings up each interface that was previously configured for compression.
Configuration commands are executed from the privileged level of the EXEC command interpreter, which usually requires password access. Contact your system administrator, if necessary, to obtain access. (See the "Shutting Down an Interface" section for an explanation of the privileged level of the EXEC.)
For additional information on configuring the CSA and compression services, refer to the documentation resources listed in the "Related Documentation" section.
This section contains the following subsections:
The following sections explain how to identify the chassis slot, port adapter slot, and port adapter interface numbers for Cisco 7200 series routers and the VIP2 in Cisco 7000 series and Cisco 7500 series routers.
Physical port addresses specify the actual physical location of each interface port on the router.
(See Figure 5-1.) This address is composed of a two-part number in the format port adapter slot number/interface port number, as follows:
You can identify interface ports by physically checking the slot/interface port location on the front of the router or by using show commands to display information about a specific interface or all interfaces in the router.

In Cisco 7200 series routers, port adapter slots are numbered from the lower left to the upper right, beginning with port adapter slot 1 and continuing through port adapter slot 2 for the Cisco 7202, slot 4 for the Cisco 7204 and Cisco 7204VXR, and slot 6 for the Cisco 7206 and Cisco 7206VXR. Port adapter slot 0 is reserved for the optional Fast Ethernet port on the I/O controller---if present. Figure 5-1 shows the port adapter slot and interface ports of a PA-8T-V.35 port adapter in slot 2 of a Cisco 7206 router.
Interface ports maintain the same address regardless of whether other port adapters are installed or removed from the slot. However, when you move a port adapter to a different slot, the port adapter slot number in the address changes to reflect the new slot number. For example, the addresses of the interface ports on the PA-8T-V.35 in chassis slot 2 of the Cisco 7206 in Figure 5-1 are 2/0 through 2/7 (chassis slot 2 and interface ports 0 through 7). If the PA-8T-V.35 was in port adapter slot 1, these same interface ports would be numbered 1/0 through 1/7. The individual interface port numbers always begin with 0. The number of additional ports depends on the number of ports on a port adapter.
On the VIP2 installed in Cisco 7000 series or Cisco 7500 series routers, physical port addresses specify the actual physical location of each interface port on the router interface processor end. (See Figure 5-2.) However, when you move a VIP2 to a different slot, the first number in the address changes to reflect the new chassis slot number. This address is composed of a three-part number in the format chassis slot number/port adapter number/interface port number as follows:
Interface ports on the VIP2 maintain the same address regardless of whether other interface processors are installed or removed. However, when you move a VIP2 to a different slot, the first number in the address changes to reflect the new slot number.
Figure 5-2 shows some of the port adapter slots and interface ports of a sample Cisco 7505 system. For example, on the PA-8T-V.35-equipped VIP2 in interface processor slot 3, the addresses for the interface ports are 3/1/0 through 3/1/7 (chassis slot 3, port adapter slot 1, and interface ports 0 through 7). If the PA-8T-V.35 was in port adapter slot 2, these same interface ports would be numbered 3/2/0 through 3/2/7.

You can identify interface ports by physically checking the slot/port adapter/interface port location on the back of the router or by using show commands to display information about a specific interface or all interfaces in the router.
Before you remove an interface that you will not replace, replace an interface cable, or replace port adapters, use the shutdown command to shut down (disable) the interfaces to prevent anomalies from occurring when you reinstall the new or reconfigured CSA or CSA-equipped VIP2. When you shut down an interface, it is designated administratively down in the show command displays.
Follow these steps to shut down an interface:
Step 1 Enter the privileged level of the EXEC command interpreter. (See the "Shutting Down an Interface" section for instructions.)
Step 2 At the privileged-level prompt, enter configuration mode and specify that the console terminal will be the source of the configuration subcommands, as follows:
Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#
Step 3 Specify the interface that you want to shut down.
Router(config)# interface serial 2/0Router(config)# interface serial 3/1/0| Platform | Command | Example |
|---|---|---|
Catalyst RSM/VIP2 in Catalyst 5000 series switches; Cisco 7200 series or Cisco uBR7200 series routers | interface, followed by the type (serial) and slot/port (port adapter slot number/interface port number) | The example is for interface 0 and interface 1 on a port adapter in port adapter slot 1. Router(config-if)# interface serial 1/0 Router(config-if)# shutdown Router(config-if)# interface serial 1/1 Router(config-if)# shutdown Ctrl-Z Router# |
Cisco 7120 series routers | interface, followed by the type (serial) and slot/port (port adapter slot number/interface port number) | The example is for interface 0 and interface 1 on a port adapter in port adapter slot 3. Router(config-if)# interface serial 3/0 Router(config-if)# shutdown Router(config-if)# interface serial 3/1 Router(config-if)# shutdown Ctrl-Z Router# |
Cisco 7140 series routers | interface, followed by the type (serial) and slot/port (port adapter slot number/interface port number) | The example is for interface 0 and interface 1 on a port adapter in port adapter slot 4. Router(config-if)# interface serial 4/0 Router(config-if)# shutdown Router(config-if)# interface serial 4/1 Router(config-if)# shutdown Ctrl-Z Router# |
VIP2 in Cisco 7000 series or | interface, followed by the type (serial) and slot/port adapter/port (interface processor slot number/port adapter slot number/interface port number) | The example is for interface 0 and interface 1 on a port adapter in port adapter slot 1 of a VIP2 installed in interface processor slot 1. Router(config-if)# interface serial 1/1/0 Router(config-if)# shutdown Router(config-if)# interface serial 1/1/0 Router(config-if)# shutdown Ctrl-Z Router# |
Step 4 Write the new configuration to memory as follows:
Router# copy running-config startup-config [OK] Router#
The system displays an OK message when the configuration has been stored.
Step 5 Verify that new interfaces are now in the correct state (shutdown).
Router# show interface serial 2/0
Serial 2/0 is administratively down, line protocol is down
Hardware is M8T-V.35
[display text omitted]
Router# show interface serial 3/1/0
Serial 3/1/0 is administratively down, line protocol is down
Hardware is M8T-V.35
[display text omitted]Step 6 Reenable the interfaces. To do so, repeat the previous steps, but use the no shutdown command; then write the new configuration to memory as in the following example for the VIP2:
Router(config)# interface serial 3/1/0 Router(config-if)# no shutdown Ctrl-Z Router# Router# copy running-config startup-config [OK] Router# show interface serial 3/1/0 Serial 3/1/0 is up, line protocol is up Hardware is M8T-V.35 [display text omitted]
For complete descriptions of software configuration commands, refer to the publications listed in the "Related Documentation" section.
The following sections explain how to use the CSA to configure PPP and Frame Relay compression on serial interfaces installed in Cisco 7200 series routers and the VIP2 in Cisco 7000 series and Cisco 7500 series routers.
This section contains the following subsections:
A CSA installed in a Cisco 7200 series router will compress interfaces on serial port adapters installed in any port adapter slot. For a Cisco 7200 series router that has an installed CSA, there are two methods for configuring PPP and Frame Relay compression:
Use the compress stac [software] command to configure PPP compression on interfaces. The compress stac command used without the software variable enables hardware PPP compression on a specified interface; if a CSA is not installed in the router, software PPP compression is enabled on the interface.
If your Cisco 7200 series router has an installed CSA, you can force software PPP compression on an interface using the compress stac software command.
When multiple CSAs are installed in a Cisco 7200 series router, you can specify the CSA a particular interface uses for hardware PPP compression by using the compress stac csa [port adapter slot] command.
Use the frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac [csa csa_number|software] command to configure Frame Relay compression on an interface. Use the frame-relay payload-compress frf9 stac [csa csa_number|software] command to configure Frame Relay compression on a subinterface.
The frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac or the frame-relay payload-compress frf9 stac command used without variables enables hardware Frame Relay compression on a specified interface; if a CSA is not installed in the router, software Frame Relay compression is enabled on the interface.
When multiple CSAs are installed in a Cisco 7200 series router, you can specify the CSA a particular interface uses for hardware Frame Relay compression by using the frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac csa csa_number command or the CSA a particular subinterface uses for hardware Frame Relay compression by using the frame-relay payload-compress frf9 stac csa csa_number command. You can also force software Frame Relay compression on an interface using the frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac software command or on a subinterface using the frame-relay payload-compress frf9 stac software command.
A CSA installed in slot 0 or slot 1 of a VIP2 will only compress interfaces on the serial port adapter installed in the adjacent VIP2 slot. For Cisco 7000 and Cisco 7500 series routers that have an installed VIP2 with a CSA, there are three methods for configuring PPP and Frame Relay compression.
Use the compress stac [software|distributed] command to configure PPP compression on interfaces. The compress stac command used without variables enables hardware PPP compression on a specified interface; if a CSA is not installed in the router, distributed compression is enabled on the interface; if a VIP2 is not installed in the router, software PPP compression is enabled on the interface.
If your Cisco 7000 or Cisco 7500 series router has an installed VIP2 with a CSA, you can force distributed PPP compression on an interface using the compress stac distributed command. You can also force software PPP compression on an interface using the compress stac software command.
Use the frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac [software|distributed] command to configure Frame Relay compression on an interface. Use the frame-relay payload-compress frf9 stac [software|distributed] command to configure
Frame Relay compression on a subinterface.
The frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac or the frame-relay payload-compress frf9 stac command used without variables enables hardware compression on a specified interface; if a CSA is not installed in the router, distributed compression is enabled on the interface; if a VIP2 is not installed in the router, software compression is enabled on the interface.
If your Cisco 7000 or Cisco 7500 series router has an installed VIP2 with a CSA, you can force distributed Frame Relay compression on an interface using the frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac distributed command or on a subinterface using the frame-relay payload-compress frf9 stac csa distributed command. You can also force software Frame Relay compression on an interface using the frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac software command or on a subinterface using the frame-relay payload-compress frf9 stac software command.
Use the following instructions to configure PPP compression on a serial interface using the compress stac [software|distributed] command. Press the Return key after each step unless otherwise noted. At any time you can exit the privileged level and return to the user level by entering disable at the prompt as follows:
Router# disable
Router>
Step 1 At the privileged-level prompt, enter configuration mode and specify that the console terminal will be the source of the configuration subcommands as follows:
Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#
Step 2 At the prompt, specify the interface you want to configure for compression.
Router(config)# interface serial 2/0Router(config)# interface serial 3/1/0Step 3 Specify PPP encapsulation for the interface as follows:
Router(config-if)# encapsulation PPP
Step 4 If you are configuring a Cisco 7200 series router and there are multiple CSAs are installed in the router, use the compress stac csa [port adapter slot] command to specify the CSA the interface will use for hardware compression. In the following example, a CSA in port adapter slot 3 is used:
Router(config-if)# compress stac csa 3
Step 5 Enter the compress stac [software] or compress stac [software|distributed] command as follows:
Router(config-if)# compress stac
Step 6 Configure compression on any additional interfaces.
Router(config-if)# interface serial 2/1Router(config-if)# compress stacRouter(config-if)# interface serial 2/2Router(config-if)# compress stacRouter#
Router(config-if)# interface serial 3/1/1Router(config-if)# compress stacRouter(config-if)# interface serial 3/1/2Router(config-if)# compress stacRouter#Step 7 Write the new configuration to memory as follows:
Router# copy running-config startup-config [OK] Router#
The system displays an OK message when the configuration has been stored.
Step 8 Verify that compression is configured on the interfaces. To do so, use the show compress command to display the status of all interfaces in the system. See the "Checking the Configuration" section for examples of the show compress command.
Step 9 To remove compression from the interfaces, repeat the previous steps, but use the no compress command in Step 5; then write the new configuration to memory as in the following example for the VIP2:
Router(config)# interface serial 3/1/0 Router(config-if)# no compress Ctrl-Z Router# Router# copy running-config startup-config [OK]
After you remove compression from an interface, the interface will not appear in the output from the show compress command.
This completes the procedure for configuring PPP compression on a serial interface. To check the configuration of the interfaces, proceed to the "Checking the Configuration" section.
Following are instructions for configuring Frame Relay compression on interfaces using the frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac [csa csa_number|software] command and the frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac [software|distributed] command, and on subinterfaces using the frame-relay payload-compress frf9 stac [csa csa_number|software] command and the frame-relay payload-compress frf9 stac [software|distributed] command.
Before beginning the configuration, be prepared with the following information:
Press the Return key after each step unless otherwise noted. At any time you can exit the privileged level and return to the user level by entering disable at the prompt as follows:
Router# disable Router>
Step 1 At the privileged-level prompt, enter configuration mode and specify that the console terminal will be the source of the configuration subcommands as follows:
Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#
Step 2 At the prompt, specify the first interface or subinterface you want to configure for compression.
Router(config)# interface serial 3/1/0Router(config)# interface serial 3/1/0.100 point-to-pointStep 3 Specify Frame Relay encapsulation for the interface or subinterface as follows:
Router(config-if)# encapsulation frame-relay
Step 4 Configure compression on the interface or subinterface.
Router(config-if)# frame-relay map ip 10.1.1.1 105 ietf payload-compress frf9 stacRouter(config-if)# frame-relay payload-compress frf9 stacStep 5 Repeat Step 2 through Step 4 to configure compression on additional interfaces or subinterfaces. When you have finished, press Ctrl-Z (hold down the Control key while you press Z) or enter end to exit configuration mode and return to the EXEC command interpreter prompt.
Step 6 Write the new configuration to memory as follows:
Router# copy running-config startup-config [OK] Router#
The system displays an OK message when the configuration has been stored.
Step 7 Verify that compression is configured on the interfaces. To do so, use the show compress command (displays the status of all interfaces in the system). See the "Checking the Configuration" section for examples of the show compress command.
Step 8 To remove compression from the interfaces, repeat the previous steps, but use the
no frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac [csa csa_number|software] command, no frame-relay map protocol protocol-address dlci [ietf|cisco] payload-compress frf9 stac [software|distributed] command, no frame-relay payload-compress frf9 stac [csa csa_number|software] command, or the no frame-relay payload-compress frf9 stac [software|distributed] command; then write the new configuration to memory as in the following example for the VIP2:
Router(config)# interface serial 3/1/0.100 point-to-point Router(config-if)# no frame-relay map payload-compress frf9 stac Ctrl-Z Router# Router# copy running-config startup-config [OK]
After you remove compression from an interface, the interface will not appear in the output from the show compress command.
This completes the procedure for configuring Frame Relay compression on a serial interface or subinterface. To check the configuration of the interfaces, proceed to the next section "Checking the Configuration". For additional Frame Relay configuration information, refer to the chapter "Configuring Frame Relay" in the Wide-Area Networking Configuration Guide publication.
After configuring the interfaces for compression, use the show commands to display the status of the interfaces, and use the ping and loopback commands to check connectivity.
This section contains the following subsections:
The following steps use show commands to verify that the interfaces are configured and operating correctly.
Step 1 Display the system hardware configuration with the show version command. Ensure that the list includes the CSA.
Step 2 Display all the interfaces configured for compression, the compression type (hardware, distributed, or software), and the CSA in use with the show compress command. Verify that the compression type is configured on the appropriate interface.
Step 3 Display the type of port adapters installed in the router with the show diag command.
Step 4 Specify one of the new interfaces as follows:
Step 5 Display the protocols configured for the entire system and specific interfaces with the show protocols command. If necessary, return to configuration mode to add or remove protocol routing on the system or specific interfaces.
Step 6 Display the running configuration file with the show running-config command. Display the configuration stored in NVRAM using the show startup-config command. Verify that the configuration is accurate for the system and each interface.
If the displays indicate that the hardware is not functioning properly, ensure that the network interface is properly connected and terminated. If you still have problems, contact a customer service representative for assistance.
Router# show version Cisco Internetwork Operating System Software IOS (tm) 7200 Software (C7200-J-M), Version 11.1(8)CA1 Copyright (c) 1986-1996 by cisco Systems, Inc. Compiled Sun 21-Apr-95 12:22 by Image text-base: 0x600088A0, data-base: 0x605A4000 ROM: System Bootstrap, Version 11.1(8)CA1 Router uptime is 4 hours, 22 minutes System restarted by reload System image file is "slot0:c7200-j-mz.960421", booted via slot0 cisco 7206 (NPE150) processor with 12288K/4096K bytes of memory. R4700 processor, Implementation 33, Revision 1.0 (Level 2 Cache) Last reset from power-on Bridging software. SuperLAT software copyright 1990 by Meridian Technology Corp. X.25 software, Version 2.0, NET2, BFE and GOSIP compliant. TN3270 Emulation software (copyright 1994 by TGV Inc). Chassis Interface. 4 Ethernet/IEEE 802.3 interfaces. 2 FastEthernet/IEEE 802.3 interfaces. 4 Token Ring /IEEE802.5 interfaces. 12 Serial network interfaces. 1 Compression port adapter. 125K bytes of non-volatile configuration memory. 1024K bytes of packet SRAM memory. 20480K bytes of Flash PCMCIA card at slot 0 (Sector size 128K). 8192K bytes of Flash internal SIMM (Sector size 256K). Configuration register is 0x2
Use the show compress command to determine which interfaces in the router are configured for compression (the show compress command displays only interfaces that are configured for compression). The show compress command displays all interfaces configured for compression, the type of compression configured on each interface, and the CSA that is compressing the interface's data.
In the following example, PPP compression and then Frame Relay compression information is displayed for the same serial interface (the first interface of the port adapter in slot 2):
Router# show compress
Serial2/0
Hardware compression enabled
CSA in slot 1 in use
Compressed bytes sent: 4742 bytes 0 Kbits/sec ratio: 10.700
Compressed bytes recv: 5092 bytes 0 Kbits/sec ratio: 10.009
restarts: 1
last clearing of counters: 348 seconds
Router# show compress
Serial2/0 - DCLI: 105
Hardware compression enabled
CSA in slot 1 in use
Compressed bytes sent: 4742 bytes 0 Kbits/sec ratio: 10.700
Compressed bytes recv: 5092 bytes 0 Kbits/sec ratio: 10.009
restarts: 1
last clearing of counters: 348 seconds
To determine the type of port adapters installed in your Cisco 7200 series router, use the show diag slot command. Specific port adapter information is displayed, as shown in the following example of a CSA in chassis slot 1:
Router# show diag 1
Slot 1:
Compression engine 768K port adapter, 0 ports
Port adapter is analyzed
Port adapter insertion time 00:16:37 ago
Hardware revision 255.255 Board revision UNKNOWN
Serial number 4294967295 Part number 255-65535-255
Test history 0xFF RMA number 255-255-255
EEPROM format version 255
EEPROM contents (hex):
0x20: FF 09 FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
If the previous displays indicate that the hardware is not functioning properly, ensure that the network interfaces are properly connected and terminated. If you still have problems bringing up or shutting down an interface, contact a customer service representative for assistance.
Router# show interfaces serial 2/0 Serial2/0 is up, line protocol is up Hardware is M8T-V.35 Internet address is 1.1.1.0 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation PPP, loopback not set, keepalive not set (display text omitted] Router# show interfaces serial 2/0 Serial2/0 is up, line protocol is up Hardware is M8T-V.35 Internet address is 1.1.1.0 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation FRAME-RELAY, loopback not set, keepalive not set (display text omitted]
The following example of the show interfaces serial port adapter slot/interface port number command shows all of the information specific to the first PA-8T-V.35 interface port adapter in port adapter slot 2:
Router# show interfaces serial 2/0
Serial2/0 is up, line protocol is up
Hardware is M8T-V.35
Internet address is 1.1.1.0
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback not set, keepalive not set
LCP Open
Open: ccp, ipcp, cdp
Last input 00:00:07, output 00:00:05, output hang never
Last clearing of "show interface" counters 3d23h
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
5743 packets input, 1886943 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
5743 packets output, 189253 bytes, 0 underruns
0 output errors, 0 collisions, 4 interface resets
0 output buffer failures, 0 output buffers swapped out
4 carrier transitions DCD=up DSR=up DTR=up RTS=up CTS=up
For complete command descriptions and examples, refer to the publications listed in the "Related Documentation" section.
Router# show version Cisco Internetwork Operating System Software IOS (tm) GS Software (RSP-A), Version 11.1(6)CA [amcrae 125] Copyright (c) 1986-1996 by cisco Systems, Inc. Compiled Sat 10-Aug-96 17:56 by amcrae Image text-base: 0x600108A0, data-base: 0x60952000 ROM: System Bootstrap, Version 5.3(16645) [szhang 571], INTERIM SOFTWARE ROM: GS Software (RSP-BOOT-M), Version 11.1(6)CA, RELEASE SOFTWARE (fc1) gshen_7500 uptime is 5 days, 4 minutes System restarted by reload System image file is "rsp-jv-mz", booted via slot0 cisco RSP2 (R4600) processor with 16384K bytes of memory. R4600 processor, Implementation 33, Revision 2.0 Last reset from power-on G.703/E1 software, Version 1.0. SuperLAT software copyright 1990 by Meridian Technology Corp). Bridging software. X.25 software, Version 2.0, NET2, BFE and GOSIP compliant. TN3270 Emulation software (copyright 1994 by TGV Inc). Chassis Interface. 1 EIP controller (6 Ethernet). 1 VIP2 controller (8 Serial)(1 Compression). 6 Ethernet/IEEE 802.3 interfaces. 1 HSSI network interface. 1 Compression port adapter. 125K bytes of non-volatile configuration memory. 8192K bytes of Flash PCMCIA card at slot 0 (Sector size 128K). 8192K bytes of Flash internal SIMM (Sector size 256K). Configuration register is 0x0
To determine which interfaces in the router are configured for compression, use the show compress command. All interfaces configured for compression are displayed, as well as the type of compression configured on each interface and which CSA is in use (the show compress command only displays interfaces that are configured for compression). The following examples show the same interface (the first interface of the port adapter in slot 1 of a VIP2 in interface processor slot 3) configured for PPP compression and then Frame Relay compression:
Router# sh compress
Serial3/1/0
Distributed h/w compression enabled
CSA in slot 3 in use
Compressed bytes sent: 4932 bytes 0 Kbits/sec ratio: 10.500
Compressed bytes recv: 5019 bytes 0 Kbits/sec ratio: 10.019
restarts: 10
last clearing of counters: 165828 seconds
Router# show compress
Serial3/1/0 - DLCI: 105
Distributed h/w compression enabled
CSA in slot 3 in use
Compressed bytes sent: 4942 bytes 0 Kbits/sec ratio: 10.700
Compressed bytes recv: 5029 bytes 0 Kbits/sec ratio: 10.009
restarts: 10
last clearing of counters: 162528 seconds
To determine the type of port adapters installed on a VIP2 in your system, use the show diag slot command. Specific port adapter information is displayed, as shown in the following example of a PA-8T-V.35 in interface processor slot 3:
Router# show diag 3
Slot 3:
Physical slot 3, ~physical slot 0xF, logical slot 0, CBus 0
Microcode Status 0x4
Master Enable, LED, WCS Loaded
Board is analyzed
Pending I/O Status: None
EEPROM format version 1
VIP2 controller, HW rev 2.1, board revision UNKNOWN
Serial number: 03341394 Part number: 73-1684-02
Test history: 0x00 RMA number: 00-00-00
Flags: cisco 7000 board; 7500 compatible
EEPROM contents (hex):
0x20: 01 15 02 01 00 32 FC 52 49 06 94 02 00 00 00 00
0x30: 07 2E 00 2A 1A 00 00 00 00 00 00 00 00 00 00 00
Slot database information:
Flags: 0x4 Insertion time: 0x8E11A48 (04:51:14 ago)
Controller Memory Size: 8 MBytes DRAM, 1024 KBytes SRAM
PA Bay 0 Information:
Compression PA, 3M SRAM, 0 ports
EEPROM format version 255
HW rev FF.FF, Board revision UNKNOWN
Serial number: 4294967295 Part number: 255-65535-255
PA Bay 1 Information:
Mueslix Serial PA, 8 ports
EEPROM format version 1
HW rev FF.FF, Board revision UNKNOWN
Serial number: 4294967295 Part number: 255-65535-255
If the displays indicate that the hardware is not functioning properly, ensure that the network interfaces are properly connected and terminated. If you still have problems bringing up or shutting down an interface, contact a customer service representative for assistance.
Router# show interfaces serial 3/1/0 Serial3/1/0 is up, line protocol is up Hardware is cyBus Serial Internet address is 1.1.1.0 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation PPP, loopback not set, keepalive not set (display text omitted] Router# show interfaces serial 3/1/0 Serial3/1/0 is up, line protocol is up Hardware is cyBus Serial Internet address is 1.1.1.0 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation FRAME-RELAY, loopback not set, keepalive not set (display text omitted]
With the VIP2 configuration shown in Figure 5-2, a PA-8T-V.35 is in port adapter slot 1. With the show interfaces type slot/port adapter/port command, use arguments such as the interface type (serial, and so forth) and the slot, port adapter, and port numbers (slot/port adapter/port) to display information about a specific serial interface only.
The following example of the show interfaces serial slot/port adapter/port command shows all of the information specific to the first PA-8T-V.35 interface port (interface port 0) in interface processor slot 3, port adapter slot 1:
Router# show interfaces serial 3/1/0
Serial3/1/0 is up, line protocol is up
Hardware is cyBus Serial
Internet address is 1.1.1.0
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback not set, keepalive not set
Last input 2d18h, output 00:00:54, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/64/0 (size/threshold/drops)
Conversations 0/1 (active/max active)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
16 packets input, 1620 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 1 ignored, 0 abort
3995 packets output, 1147800 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
1 carrier transitions
RTS up, CTS up, DTR up, DCD up, DSR up
For complete VIP2 command descriptions and examples, refer to the publications listed in the "Related Documentation" section.
The packet internet groper (ping) and loopback commands allow you to verify that an interface port is functioning properly and to check the path between a specific port and connected devices at various locations on the network, after the system has booted successfully and is operational. You can also use the show compress command to view the interfaces in the router that are configured for compression. Refer to the publications listed in the "Related Documentation" section for detailed command descriptions and examples.
The ping command sends echo request out to a remote device at an IP address that you specify. After sending an echo request, the command waits a specified time for the remote device to reply. Each echo reply is displayed as an exclamation point (!) on the console terminal; each request that is not returned before the specified timeout is displayed as a period (.). A series of exclamation points (!!!!!) indicates a good connection; a series of periods (.....) or the messages [timed out] or [failed] indicate that the connection failed.
Following is an example of a successful ping command to a remote server with the address 10.1.1.10:
Router# ping 10.1.1.10 <Return> Type escape sequence to abort. Sending 5, 100-byte ICMP Echoes to 10.1.1.10, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/15/64 ms Router#
If the connection fails, verify that you have the correct IP address for the destination and that the device is active (powered on), and repeat the ping command.
The loopback test allows you to detect and isolate equipment malfunctions by testing the connection between a port adapter interface and a remote device such as a modem or a CSU/DSU. The loopback subcommand places an interface in loopback mode, which enables test packets that are generated from the ping command to loop through a remote device or interface cable. If the packets complete the loop, the connection is good. If not, you can isolate a fault to the remote device or interface cable in the path of the loopback test.
For complete descriptions of interface subcommands and the configuration options available for Cisco 7000 series and Cisco 7500 series-related interfaces, refer to the publications listed in the "Related Documentation" section.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Jul 12 15:15:00 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.