|
|
To continue your PA-4R-DTR installation, you must configure the serial interfaces. The instructions that follow apply to all supported platforms. Minor differences between the platformswith Cisco IOS software commandsare noted.
This chapter contains the following sections:
You modify the configuration of your router through the software command interpreter called the EXEC (also called enable mode). 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:
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#
To configure the new interfaces, proceed to the "Configuring the Interfaces" section.
After you verify that the new PA-4R-DTR is installed correctly (the enabled LED goes on), use the privileged-level configure command to configure the new interfaces. Have the following information available:
If you installed a new PA-4R-DTR or if you want to change the configuration of an existing interface, you must enter configuration mode to configure the new interfaces. If you replaced a PA-4R-DTR that was previously configured, the system recognizes the new interfaces and brings each of them up in their existing configuration.
For a summary of the configuration options available and instructions for configuring interfaces on a PA-4R-DTR, refer to the appropriate configuration publications listed in the "Related Documentation" section.
You execute configuration commands from the privileged level of the EXEC command interpreter, which usually requires password access. Contact your system administrator, if necessary, to obtain password access. (See the "Using the EXEC Command Interpreter" section for an explanation of the privileged level of the EXEC.)
This section contains the following subsections:
Before you remove an interface that you will not replace, replace a cable, or replace port adapters, use the shutdown command to shut down (disable) the interfaces to prevent anomalies when you reinstall the new or reconfigured
port adapter. 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 2 At the privileged-level prompt, enter configuration mode and specify that the console terminal is 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 Shut down interfaces by entering the interface tokenring subcommand (followed by the interface address of the interface), and then enter the shutdown command. Table 4-1 shows the command syntax.
When you have finished, press Ctrl-Zhold down the Control key while you press Zor enter end or exit to exit configuration mode and return to the EXEC command interpreter.
| Platform | Command | Example |
|---|---|---|
Cisco 7120 series routers | interface, followed by the type (tokenring) and slot/port (port-adapter-slot-number/ | The example is for interface 0 and interface 1 on a port adapter in port adapter slot 3. Router(config-if)# interface tokenring 3/0 Router(config-if)# shutdown Router(config-if)# interface tokenring 3/1 Router(config-if)# shutdown Ctrl-Z Router# |
Cisco 7140 series routers | interface, followed by the type (tokenring) and slot/port (port-adapter-slot-number/ | The example is for interface 0 and interface 1 on a port adapter in port adapter slot 4. Router(config-if)# interface tokenring 4/0 Router(config-if)# shutdown Router(config-if)# interface tokenring 4/1 Router(config-if)# shutdown Ctrl-Z Router# |
Cisco 7200 series routers | interface, followed by the type (tokenring) and slot/port (port-adapter-slot-number/ | The example is for interface 0 and interface 1 on a port adapter in port adapter slot 6. Router(config-if)# interface tokenring 6/0 Router(config-if)# shutdown Router(config-if)# interface tokenring 6/1 Router(config-if)# shutdown Ctrl-Z Router# |
VIP2 in Cisco 7000 series or | interface, followed by the type (tokenring) and slot/port adapter/port (interface-processor-slot-number/ | The example is for interface 1 and interface 0 on a port adapter in port adapter slot 1 of a VIP2 installed Router(config-if)# interface tokenring 1/1/1 Router(config-if)# shutdown Router(config-if)# interface tokenring 1/1/0 Router(config-if)# shutdown Ctrl-Z Router# |
![]() |
Note If you need to shut down additional interfaces, enter the interface tokenring command (followed by the interface address of the interface) for each of the interfaces on your port adapter. Use the no shutdown command to enable the interface. |
Step 4 Write the new configuration to NVRAM as follows:
Router# copy running-config startup-config [OK] Router#
The system displays an OK message when the configuration has been stored in NVRAM.
Step 5 Verify that new interfaces are now in the correct state (shut down) using the
show interfaces command (followed by the interface type and interface address of the interface) to display the specific interface. Table 4-2 provides examples.
| Platform | Command | Example |
|---|---|---|
Cisco 7200 series routers | show interfaces tokenring, followed by slot/port (port-adapter-slot-number/ | The example is for interface 0 on a port adapter in port adapter slot 6. Router# show interfaces tokenring 6/0 tokenring 6/0 is administratively down, line protocol is down [Additional display text omitted from this example] |
VIP2 in Cisco 7000 series | show interfaces tokenring, followed by slot/port adapter/port (interface-processor-slot-number/ | The example is for interface 0 on a port adapter in port adapter slot 1 of a VIP2 in interface processor slot 1. Router# show interfaces tokenring 1/1/0 tokenring 1/1/0 is administratively down, line protocol is down [Additional display text omitted from this example] |
Step 6 Reenable interfaces by doing the following:
a. Repeat Step 3 to reenable an interface. Substitute the no shutdown command for the shutdown command.
b. Repeat Step 4 to write the new configuration to memory. Use the
copy running-config startup-config command.
c. Repeat Step 5 to verify that the interfaces are in the correct state. Use the
show interfaces command followed by the interface type and interface address of the interface.
For complete descriptions of software configuration commands, refer to the publications listed in the "Related Documentation" section.
Following are instructions for a basic configuration: enabling an interface, specifying IP routing, and setting the clock rate. You might also need to enter other configuration subcommands, depending on the requirements for your system configuration and the protocols you plan to route on the interface. For complete descriptions of configuration subcommands and the configuration options available for tokenring interfaces, refer to the appropriate software documentation.
In the following procedure, 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>
Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#
Step 2 Specify the first interface to configure by entering the interface tokenring subcommand, followed by the interface address of the interface you plan to configure. Table 4-3 provides examples.
| Platform | Command | Example |
|---|---|---|
Cisco 7120 series routers | interface, followed by the type (tokenring) and slot/port (port-adapter-slot-number/ | The example is for interface 0 and interface 1 on a port adapter in port adapter slot 3. Router(config-if)# interface tokenring 3/0 Router(config-if)# shutdown Router(config-if)# interface tokenring 3/1 Router(config-if)# shutdown Ctrl-Z Router# |
Cisco 7140 series routers | interface, followed by the type (tokenring) and slot/port (port-adapter-slot-number/ | The example is for interface 0 and interface 1 on a port adapter in port adapter slot 4. Router(config-if)# interface tokenring 4/0 Router(config-if)# shutdown Router(config-if)# interface tokenring 4/1 Router(config-if)# shutdown Ctrl-Z Router# |
Cisco 7200 series routers | interface tokenring, followed by slot/port (port-adapter-slot-number/ | The example is for the first interface of a Router(config)# interface tokenring 6/0 Router(config-if)# |
VIP2 in Cisco 7000 series | interface tokenring, followed by slot/port adapter/port (interface-processor-slot-number/ | The example is for the first interface of a Router(config)# interface tokenring 1/1/0 Router(config-if)# |
Step 3 Assign an IP address and subnet mask to the interface (if IP routing is enabled on the system) by using the ip address subcommand, as in the following example:
Router(config-if)# ip address 10.0.0.0 10.255.255.255
![]() |
Caution Each Token Ring port must be configured for the same ring speed as the ring to which it is connected (4 or 16 Mbps). If the port is set for a different speed, it causes the ring to beacon, which effectively brings down the ring. |
![]() |
Note Token Ring ports operate at either 4 or 16 Mbps. You can set the port speed using the configuration ring-speed n command, where n is the speed (4 or 16) in Mbps. Before you enable the Token Ring interfaces, ensure that each is set for the correct speed, or you risk bringing down the ring. |
Step 4 Change the default shutdown state to up and enable the interface by entering the following command:
Router(config-int)# no shutdown
When you enable the interface by using the no shutdown command, the LED for 4 Mbps or 16 Mbps is turned on after about 5 seconds. The insert (INS) LED for that interface is turned on about 5 to 18 seconds later, when the port is initialized and connected to the ring.
Step 5 Enable the ring speed for 4-Mbps operation or enable the Token Ring interface speed for 16-Mbps operation as follows:
Router(config-int)# ring-speed 16
Step 6 Add any additional configuration subcommands required to enable routing protocols and set the interface characteristics.
Step 7 Configure all additional port adapter interfaces as required.
Step 8 After including all of the configuration subcommands to complete your configuration, press Ctrl-Zhold down the Control key while you press Zor enter end or exit to exit configuration mode and return to the EXEC command interpreter prompt.
Step 9 Write the new configuration to NVRAM as follows:
Router# copy running-config startup-config [OK] Router#
This completes the procedure for creating a basic configuration.
Full-duplex operation is not the default configuration of a PA-4R-DTR interface and must be turned on using the full-duplex command. To turn off full-duplex operation and reset the interface, use the no full-duplex or half-duplex command.
The following is an example of configuring a PA-4R-DTR interface for full-duplex operation using the full-duplex command:
Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface tokenring 3/0/0 Router(config-if)# full-duplex Ctrl-z Router#
The output of the show interfaces tokenring slot/port-adapter/port command displays the state of the Token Ring port adapter interface and transmission mode. The following example shows the output of this command from a PA-4R-DTR interface with full-duplex operation enabled:
Router# show interfaces tokenring 3/0/0 TokenRing3/0/0 is up, line protocol is up Hardware is cxBus Token Ring, address is 0000.0000.0000 (bia 0000.0000.0000) Internet address is 14.0.0.2/8 MTU 4464 bytes, BW 1600 Kbit, DLY 630 usec, rely 255/255, load 1/255 Encapsulation SNAP, loopback not set, keepalive not set ARP type: SNAP, ARP Timeout 04:00:00 Ring speed: 16 Mbps, operating in full-duplex [display text omitted]
By default, the ports of the PA-4R-DTR operate as station ports. To enable the port to operate as a concentrator port, use the port command.
The following is an example of configuring a PA-4R-DTR interface for concentrator port operation:
Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface tokenring 3/0/0 Router(config-if)# port Ctrl-z Router#
The output of the show interfaces tokenring slot/port-adapter/port command displays the state of the Token Ring port adapter interface, the transmission mode, and whether the port is operating in concentrator port mode. The following example shows the output of this command from a PA-4R-DTR interface with concentrator port operation enabled:
Router# show interfaces tokenring 3/0/0 TokenRing3/0/0 is up, line protocol is up Hardware is cxBus Token Ring, address is 0000.0000.0000 (bia 0000.0000.0000) Internet address is 14.0.0.2/8 MTU 4464 bytes, BW 1600 Kbit, DLY 630 usec, rely 255/255, load 1/255 Encapsulation SNAP, loopback not set, keepalive not set ARP type: SNAP, ARP Timeout 04:00:00 Ring speed: 16 Mbps Duplex: full Mode: DTR concentrator port
After configuring the new interface, use the show commands to display the status of the new interface or all interfaces, and use the ping and loopback commands to check connectivity. This section includes the following subsections:
Table 4-4 demonstrates how you can use the show commands to verify that new interfaces are configured and operating correctly and that the PA-4R-DTR appears in them correctly. Sample displays of the output of selected show commands appear in the sections that follow. For complete command descriptions and examples, refer to the publications listed in the "Related Documentation" section.
![]() |
Note The ouputs that appear in this document may not match the output you receive when running these commands. The outputs in this document are examples only. |
| Command | Function | Example |
|---|---|---|
show version or | Displays system hardware configuration, the number of each interface type installed, Cisco IOS software version, names and sources of configuration files, and boot images | Router# show version |
show controllers | Displays all the current interface processors and their interfaces | Router# show controllers |
show diag slot | Displays types of port adapters installed in your system and information about a specific port adapter slot, interface processor slot, or chassis slot | Router# show diag 2 |
show interfaces type port-adapter-slot-number/ | Displays status information about a specific type of interface (for example, tokenring) in a Cisco 7200 series router | Router# show interfaces tokenring 1/0 |
show interfaces type interface-processor- | Displays status information about a specific type of interface (for example, tokenring) on a VIP2 in a Cisco 7000 series or Cisco 7500 series router | Router# show interfaces tokenring 3/1/0 |
show protocols | Displays protocols configured for the entire system and for specific interfaces | Router# show protocols |
show running-config | Displays the running configuration file | Router# show running-config |
show startup-config | Displays the configuration stored in NVRAM | Router# show startup-config |
If an interface is shut down and you configured it as up, or if the displays indicate that the hardware is not functioning properly, ensure that the interface is properly connected and terminated. If you still have problems bringing up the interface, contact a service representative for assistance. This section includes the following subsections:
Choose the subsection appropriate for your system. Proceed to the "Using the ping Command to Verify Network Connectivity" section when you have finished using the show commands.
Display the configuration of the system hardware, the number of each interface type installed, the Cisco IOS software version, the names and sources of configuration files, and the boot images, using the show version (or show hardware) command.
![]() |
Note The ouputs that appear in this document may not match the output you receive when running these commands. The outputs in this document are examples only. |
Following is an example of the show version command from a Cisco 7500 series router with the PA-4R-DTR:
Router# show version Cisco Internetwork Operating System Software IOS (tm) GS Software (RSP-A), Version 11.1(17)CA [amcrae 125] Copyright (c) 1986-1997 by cisco Systems, Inc. Compiled Sat 10-Aug-97 17:56 by amcrae Image text-base: 0x600108A0, data-base: 0x60952000 ROM: System Bootstrap, Version 5.3(16645) [szhang 571], RELEASE SOFTWARE ROM: GS Software (RSP-BOOT-M), Version 11.1(17)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 32, Revision 2.0 Last reset from power-on G.703/E1 software, Version 1.0. Channelized E1, 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). Primary Rate ISDN software, Version 1.0. Chassis Interface. 1 EIP controller (6 Ethernet). 1 TRIP controller (4 Token Ring). 2 MIP controllers (4 E1). 1 VIP2 controller (2 E1)(4 Token Ring). 6 Ethernet/IEEE 802.3 interfaces. 8 Token Ring/IEEE 802.5 interfaces. 3 Serial network interfaces. 6 Channelized E1/PRI ports. 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). No slave installed in slot 7. Configuration register is 0x0
Display the types of port adapters installed in your system (and specific information about each) using the show diag slot command, where slot is the port adapter slot in a Cisco 7200 series router and the interface processor slot in a Cisco 7000 series or Cisco 7500 series router with a VIP2.
![]() |
Note The ouputs that appear in this document may not match the output you receive when running these commands. The outputs in this document are examples only. |
![]() |
Note The slot argument is not required for Catalyst 5000 family switches. |
Following is an example of the show diag slot command that shows a PA-4R-DTR in port adapter slot 1 of a Cisco 7200 series router:
Router# show diag 1 Slot 1: Serial port adapter, 4 ports Port adapter is analyzed Port adapter insertion time 2d09h ago Hardware revision 1.1 Board revision A0 Serial number 4294967295 Part number 73-1556-04 Test history 0x0 RMA number 00-00-00 EEPROM format version 1 EEPROM contents (hex): 0x20: 01 02 01 01 FF FF FF FF 49 06 14 04 00 00 00 00 0x30: 50 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF
Following is an example of the show diag slot command that shows two PA-4R-DTRs in port adapter
slot 0 and slot 1 on a VIP2 in interface processor slot 3:
Router# show diag 3
Slot 3:
Physical slot 3, ~physical slot 0x7, logical slot 3, 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.2, board revision UNKNOWN
Serial number: 03341418 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 02 00 32 FC 6A 49 06 94 02 00 00 00 00
0x30: 07 2B 00 2A 1A 00 00 00 00 00 00 00 00 00 00 00
Slot database information:
Flags: 0x4 Insertion time: 0x3188 (01:20:53 ago)
Controller Memory Size: 8 MBytes
PA Bay 0 Information:
Token Ring PA, 4 ports
EEPROM format version 1
HW rev 1.1, Board revision 0
Serial number: 02827613 Part number: 73-1390-04
PA Bay 1 Information:
Token Ring PA, 4 ports
EEPROM format version 1
HW rev 1.1, Board revision 88
Serial number: 02023786 Part number: 73-1390-04
For complete descriptions of interface subcommands and the configuration options available for Cisco 7200 series and VIP2 interfaces, refer to the publications listed in the "Related Documentation" section.
![]() |
Note The ouputs that appear in this document may not match the output you receive when running these commands. The outputs in this document are examples only. |
Following is an example of the show interfaces tokenring command, which shows all of the information specific to interface port 0 on a PA-4R-DTR installed in port adapter slot 0, on a VIP2 in interface processor slot 3:
Router# show interfaces tokenring 3/0/0 TokenRing3/0/0 is up, line protocol is up Hardware is cxBus Token Ring, address is 0000.0000.0000 (bia 0000.0000.0000) Internet address is 14.0.0.2/8 MTU 4464 bytes, BW 1600 Kbit, DLY 630 usec, rely 255/255, load 1/255 Encapsulation SNAP, loopback not set, keepalive not set ARP type: SNAP, ARP Timeout 04:00:00 Ring speed: 16 Mbps Duplex: full Mode: DTR concentrator port [display text omitted]
Using the ping command, you can verify that an interface port is functioning properly. This section provides a brief description of this command. Refer to the publications listed in the "Related Documentation" section for detailed command descriptions and examples.
The ping command sends echo request packets out to a remote device at an IP address that you specify. After sending an echo request, the system 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 a bad connection.
Following is an example of a successful ping command to a remote server with the address 10.0.0.10:
Router# ping 10.0.0.10 <Return> Type escape sequence to abort. Sending 5, 100-byte ICMP Echoes to 10.0.0.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.
Proceed to the next section, "Using loopback Commands ," to finish checking network connectivity.
With the loopback test, you can detect and isolate equipment malfunctions by testing the connection between the PA-4R-DTR 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 such as a MAU, MSAU, or Token Ring switch. If the packets complete the loop, the connection is good. If not, you can isolate a fault to the remote device or compact serial cable in the path of the loopback test.
![]() |
Note You must configure a clock rate on the port before performing a loopback test. However, if no cable is attached to the port, the port is administratively up, and the port is in loopback mode; you do not have to configure a clock rate on the port before performing a loopback test. |
When no interface cable is attached to a PA-4R-DTR interface, issuing the loopback controller command tests the path between the VIP2 and the interface port only (without leaving the VIP2 and port adapter).
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Aug 31 07:24:38 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.