Configuring the PA-4R-DTR
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 platforms—with Cisco IOS software commands—are noted.
This chapter contains the following sections:
•Using the EXEC Command Interpreter
•Configuring the Interfaces
•Checking the Configuration
Using the EXEC Command Interpreter
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:
Step 1 At the user-level EXEC prompt, enter the enable command. The EXEC prompts you for a privileged-level password as follows:
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 (#):
To configure the new interfaces, proceed to the "Configuring the Interfaces" section.
Configuring the Interfaces
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:
•Protocols you plan to route on each new interface
•IP addresses, if you plan to configure the interfaces for IP routing
•Bridging protocols you plan to use
•Clock timing source you plan to use for each new interface and clock speeds for external timing
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 on page vi.
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:
•Shutting Down an Interface
•Performing a Basic Configuration
•Configuring Full-Duplex Operation
•Configuring Concentrator Port Operation
Shutting Down an Interface
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 1 Enter the privileged level of the EXEC command interpreter (also called enable mode). (See the "Using the EXEC Command Interpreter" section for instructions.)
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.
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-Z—hold down the Control key while you press Z—or enter end or exit to exit configuration mode and return to the EXEC command interpreter.
Table 4-1 Syntax of the shutdown Command
|
|
|
Cisco 7120 series routers |
interface, followed by the type (tokenring) 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 tokenring 3/0
Router(config-if)# shutdown
Router(config-if)# interface tokenring 3/1
Router(config-if)# shutdown
|
Cisco 7140 series routers |
interface, followed by the type (tokenring) 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 tokenring 4/0
Router(config-if)# shutdown
Router(config-if)# interface tokenring 4/1
Router(config-if)# shutdown
|
Cisco 7200 series routers |
interface, followed by the type (tokenring) 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 6.
Router(config-if)# interface tokenring 6/0
Router(config-if)# shutdown
Router(config-if)# interface tokenring 6/1
Router(config-if)# shutdown
|
VIP2 in Cisco 7000 series or Cisco 7500 series routers |
interface, followed by the type (tokenring) and slot/port adapter/port (interface-processor-slot-number/ port-adapter-slot-number/ interface-port-number) |
The example is for interface 1 and interface 0 on a port adapter in port adapter slot 1 of a VIP2 installed in interface processor slot 1.
Router(config-if)# interface tokenring 1/1/1
Router(config-if)# shutdown
Router(config-if)# interface tokenring 1/1/0
Router(config-if)# shutdown
|
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
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.
Table 4-2 Examples of the show interfaces Command
|
|
|
Cisco 7200 series routers |
show interfaces tokenring, followed by slot/port (port-adapter-slot-number/ interface-port-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 or Cisco 7500 series routers |
show interfaces tokenring, followed by slot/port adapter/port (interface-processor-slot-number/ port-adapter-slot-number/ interface-port-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 on page vi.
Performing a Basic Configuration
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:
Step 1 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.
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.
Table 4-3 Examples of the interface tokenring Subcommand
|
|
|
Cisco 7120 series routers |
interface, followed by the type (tokenring) 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 tokenring 3/0
Router(config-if)# shutdown
Router(config-if)# interface tokenring 3/1
Router(config-if)# shutdown
|
Cisco 7140 series routers |
interface, followed by the type (tokenring) 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 tokenring 4/0
Router(config-if)# shutdown
Router(config-if)# interface tokenring 4/1
Router(config-if)# shutdown
|
Cisco 7200 series routers |
interface tokenring, followed by slot/port (port-adapter-slot-number/ interface-port-number) |
The example is for the first interface of a port adapter in port adapter slot 6.
Router(config)# interface tokenring 6/0
|
VIP2 in Cisco 7000 series or Cisco 7500 series routers |
interface tokenring, followed by slot/port adapter/port (interface-processor-slot-number/ port-adapter-slot-number/ interface-port-number) |
The example is for the first interface of a port adapter in port adapter slot 1 of a VIP2 in interface processor slot 1.
Router(config)# interface tokenring 1/1/0
|
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-Z—hold down the Control key while you press Z—or 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
This completes the procedure for creating a basic configuration.
Configuring Full-Duplex Operation
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
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
Configuring Concentrator Port Operation
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
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
Mode: DTR concentrator port
Checking the Configuration
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:
•Using show Commands to Verify the New Interface Status
•Using the ping Command to Verify Network Connectivity
•Using loopback Commands
Using show Commands to Verify the New Interface Status
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 on page vi.
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.
Table 4-4 Using show Commands
|
|
|
show version or show hardware |
Displays system hardware configuration, the number of each interface type installed, Cisco IOS software version, names and sources of configuration files, and boot images |
|
show controllers |
Displays all the current interface processors and their interfaces |
|
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 |
|
show interfaces type port-adapter-slot-number/ interface-port-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- slot-number/port-adapter-slot-number/ interface-port-number |
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 |
|
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:
•Using the show version or show hardware Commands
•Using the show diag Command
•Using the show interfaces Command
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.
Using the show version or show hardware 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.
VIP2 in Cisco 7000 Series and Cisco 7500 Series Routers
Following is an example of the show version command from a Cisco 7500 series router with the PA-4R-DTR:
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
G.703/E1 software, Version 1.0.
Channelized E1, Version 1.0.
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).
Primary Rate ISDN software, Version 1.0.
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
Using the show diag Command
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.
Cisco 7200 Series Routers
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:
Serial port adapter, 4 ports
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
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
VIP2 in Cisco 7000 Series and Cisco 7500 Series Routers
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:
Physical slot 3, ~physical slot 0x7, logical slot 3, CBus 0
Master Enable, LED, WCS Loaded
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
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
HW rev 1.1, Board revision 0
Serial number: 02827613 Part number: 73-1390-04
HW rev 1.1, Board revision 88
Serial number: 02023786 Part number: 73-1390-04
Using the show interfaces Command
The show interfaces command displays status information (including the physical slot and interface address) for the interfaces you specify. All of the examples that follow specify tokenring interfaces.
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 on page vi.
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
Mode: DTR concentrator port
Using the ping Command to Verify Network Connectivity
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 on page vi 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
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.
Using loopback Commands
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).