Feedback
|
Table Of Contents
Performing a Basic Interface Configuration
Configuring the AU-3s and TUG-3s of a SM-1-STM1
Configuring an E1 Unframed Channel
Using show Commands to Verify the New Interface Status
Using the show controllers Commands
Using the show protocols Command
Using the show running-config Command
Using the show startup-config Command
Using the show version or show hardware Commands
Using the show interfaces Command
Using the ping Command to Verify Network Connectivity
Configuring the SM-1-STM1
To continue your SM-1-STM1 service module installation, you must configure the STM-1 interface.
This chapter contains the following sections:
Configuring the Interface
After you verify that the new SM-1-STM1 is installed correctly (the ENABLED LED is lit), use the privileged-level configure command to configure the new interface. 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
If you installed a new SM-1-STM1, or to change the configuration of an existing interface, you must enter configuration mode to configure the new interfaces. If you replaced a SM-1-STM1 that was previously configured, the system recognizes the new interfaces and brings each of them up in their existing configurations.
For a summary of the configuration options available and instructions for configuring interfaces on a SM-1-STM1, refer to the appropriate configuration publications listed in the "Related Documentation" section on page 5.
This section contains the following subsections:
•
Performing a Basic Interface Configuration
•
Configuring the AU-3s and TUG-3s of a SM-1-STM1
•
Configuring an E1 Unframed Channel
•
Using show Commands to Verify the New Interface Status
•
Using the ping Command to Verify Network Connectivity
Shutting Down an Interface
Before you remove an interface that you will not replace, or replace service modules, use the shutdown command to shut down (disable) the interfaces to prevent anomalies when you reinstall the new or reconfigured SM. When you shut down an interface, it is designated administratively down in the show command displays.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface serial slot/port
4.
shutdown
5.
copy running-config startup-config
6.
show interfaces serial slot/port
DETAILED STEPS
Note
To shut down additional interfaces, enter the interface serial command (followed by the interface address of the interface) for each of the interfaces on your SM. Use the no shutdown command to enable the interface.
Performing a Basic Interface Configuration
Following are instructions for a basic configuration, which include enabling an interface and configuring the SONET controller. 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 SONET interfaces, refer to the appropriate software documentation.
In the following procedure, press the Enter 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# disableRouter>SUMMARY STEPS
1.
enable
2.
configure terminal
3.
controller sonet slot/port
4.
clock source {internal | line}
5.
end
6.
copy running-config startup-config
DETAILED STEPS
Configuring the AU-3s and TUG-3s of a SM-1-STM1
You can configure each of the administrative unit groups (AUGs) and tributary unit groups (TUGs) of a SM-1-STM1 to carry a set of E1 links that are mapped into TU-12s (see Figure 4-1).
Figure 4-1
SM-1-STM1 Multiplexing Structure
Configuring an E1 Unframed Channel
To create an unframed or clear channel logical channel group on an E1 line, use the tug-2 tug-2# e1 e1# unframed command, as shown in the example below:
Router(config)# controller sonet 3/0Router(config-controller)# au-4 1 tug-3 2Router(config-controller-tug3)# tug-2 4 e1 1 unframed
Note
The channel group is always 0 for unframed E1 lines.
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 show Commands to Verify the New Interface Status
This section demonstrates how you can use the show commands to verify that new interfaces are configured and operating correctly and that the module 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 5.
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 controllers Commands
•
Using the show protocols Command
•
Using the show running-config Command
•
Using the show startup-config Command
•
Using the show version or show hardware Commands
•
Using the show interfaces Command
Using the show controllers Commands
Display all the current interface processors and their interfaces using the show controllers command.
Note
The outputs that appear in this document may not match the output you receive when running these commands. The outputs in this document are examples only.
The following is an example of the show controllers command:
Router# show controllers sonet 1/0SONET 1/0 is up.Hardware is single mode intermediate reach SMH/W Version : 24.257.2.5, ROM Version : 1.2, F/W Version : 1.19.0FREEDM version: 2, reset 0Applique type is Channelized Sonet/SDHClock Source is Internal, AUG mapping is AU4.Medium info:Type: SDH, Line Coding: NRZ, Line Type: Short SMRegenerator Section Status:No alarms detected.Multiplex Section Status:No alarms detected.No BER failure/degrade detectedBER_SF threshold power : 3BER_SD threshold power : 6Higher Order Path Status:Path# 1 has no defectsLower Order Path Status:VC-12 1/1/1/1 has no defectsUsing the show protocols Command
Display protocols configured for the entire system and for specific interfaces using the show protocols command.
Note
The outputs that appear in this document may not match the output you receive when running these commands. The outputs in this document are examples only.
The following is an example of the show protocols command:
Router# show protocolsline protocol is upUsing the show running-config Command
Display the running configuration file using the show running-config command.
Note
The outputs that appear in this document may not match the output you receive when running these commands. The outputs in this document are examples only.
The following is an example of the show running-config command:
Router# show running-configcontroller SONET 1/0framing sdh!au-4 1 tug-3 1tug-2 1 e1 1 channel-group 1 timeslots 1-3interface Serial1/0.1/1/1/1:1ip address 1.1.1.1 255.255.255.0Using the show startup-config Command
Display the configuration stored in the NVRAM using the show startup-config command.
Note
The outputs that appear in this document may not match the output you receive when running these commands. The outputs in this document are examples only.
The following is an example of the show startup-config command:
Router# show startup-configBuilding configuration...Current configuration : 27478 bytes!! Last configuration change at 13:23:45 IST Mon Jun 21 2010!version 15.1service timestamps debug datetime msec localtime show-timezoneservice timestamps log datetime msec localtime show-timezoneno service password-encryption!hostname 3945_PGIRI!boot-start-markerboot-end-marker!!enable password lab!no aaa new-modelclock timezone IST 5 0!no ipv6 cefip source-routeip cef!!!!!multilink bundle-name authenticated!!energywise domain cisco security shared-secret 0 cisco!crypto pki token default removal timeout 0!!license udi pid C3900-SPE150/K9 sn FOC13522K4K!!!!controller SHDSL 0/0/0termination codsl-group pairs 0!controller SONET 1/0framing sdhclock source internal!au-4 1 tug-3 1tug-2 1 e1 1 channel-group 1 timeslots 1-31!au-4 1 tug-3 2tug-2 2 e1 1 unframed!au-4 1 tug-3 3tug-2 1 e1 3 channel-group 30 timeslots 1tug-2 3 e1 2 channel-group 17 timeslots 17!interface GigabitEthernet0/0ip address 209.165.200.225 255.255.255.224duplex autospeed auto!interface GigabitEthernet0/1mtu 1600no ip addressshutdownduplex autospeed auto!interface GigabitEthernet0/2mtu 1600no ip addressshutdownduplex autospeed auto!interface Ethernet0/0/0no ip addresstx-ring-limit 1tx-queue-limit 1!interface Serial0/3/0ip address 209.165.200.254 255.255.255.224!!ip forward-protocol nd!no ip http serverno ip http secure-server!ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0ip route 2209.165.201.1 255.255.255.224 209.165.201.30!!!snmp-server community public RW!control-plane!!line con 0exec-timeout 0 0line aux 0line vty 0 4logintransport input all!!exception data-corruption buffer truncatescheduler allocate 20000 1000endUsing 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 outputs that appear in this document may not match the output you receive when running these commands. The outputs in this document are examples only.
Example Output of the show version Command
Following is an example of the show version command from a Cisco 3945 ISR router with a SM-1-STM1 installed:
Router# show versionCisco IOS Software, C3900 Software (C3900-UNIVERSALK9-M), 15.1(20100617:043914)Copyright (c) 1986-2010 by Cisco Systems, Inc.Compiled Thu 17-Jun-10 11:54 by anybodyROM: System Bootstrap, Version 15.0(1r)M1, RELEASE SOFTWARE (fc1)3945_PGIRI uptime is 5 hours, 5 minutesSystem returned to ROM by reload at 08:16:36 IST Mon Jun 21 2010System image file is "flash:c3900-universalk9-mz.SSA.last"Last reload type: Normal ReloadLast reload reason: Reload CommandThis product contains cryptographic features and is subject to UnitedStates and local country laws governing import, export, transfer anduse. Delivery of Cisco cryptographic products does not implythird-party authority to import, export, distribute or use encryption.Importers, exporters, distributors and users are responsible forcompliance with U.S. and local country laws. By using this product youagree to comply with applicable laws and regulations. If you are unableto comply with U.S. and local laws, return this product immediately.A summary of U.S. laws governing Cisco cryptographic products may be found at:http://www.cisco.com/wwl/export/crypto/tool/stqrg.htmlIf you require further assistance please contact us by sending email toexport@cisco.com.Cisco CISCO3945-CHASSIS (revision 1.0) with C3900-SPE150/K9 with 980992K/67584K bytes of memory.Processor board ID FHK1402F1YL1 DSL controller1 Ethernet interface3 Gigabit Ethernet interfaces231 Serial interfaces2 Channelized STM-1 portsDRAM configuration is 72 bits wide with parity enabled.255K bytes of non-volatile configuration memory.126448K bytes of USB Flash usbflash0 (Read/Write)254464K bytes of ATA System CompactFlash 0 (Read/Write)License Info:License UDI:-------------------------------------------------Device# PID SN-------------------------------------------------*0 C3900-SPE150/K9 FOC13522K4KTechnology Package License Information for Module:'c3900'----------------------------------------------------------------Technology Technology-package Technology-packageCurrent Type Next reboot-----------------------------------------------------------------ipbase ipbasek9 Permanent ipbasek9security None None Noneuc None None Nonedata None None NoneConfiguration register is 0x0Using the show diag Command
Display the types of service modules installed in your system (and specific information about each) using the show diag slot command, where slot is the service module slot in a Cisco 3925 router or Cisco 3945 router.
Note
The outputs that appear in this document may not match the output you receive when running these commands. The outputs in this document are examples only.
Using the show interfaces Command
Display status information (including the physical slot and interface address) for the interfaces you specify using the show interfaces command.
For complete descriptions of interface subcommands and the configuration options available for the supported interfaces, refer to the publications listed in the "Related Documentation" section on page 5.
Note
The outputs that appear in this document may not match the output you receive when running these commands. The outputs in this document are examples only.
Example Output of the show interfaces Command
Following is an example of the show interfaces command from a Cisco 3945 ISR with a SM-1-STM1 installed:
Router> show interface serialRouter#sh int Serial1/0.1/1/1/1:1Serial1/0.1/1/1/1:1 is up, line protocol is upHardware is Channelized STM-1 controllerInternet address is 1.1.1.2/24MTU 1500 bytes, BW 192 Kbit/sec, DLY 20000 usec,reliability 255/255, txload 1/255, rxload 65/255Encapsulation HDLC, crc 16, loopback not setKeepalive set (10 sec)Last input 00:00:00, output never, output hang neverLast clearing of "show interface" counters neverInput queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0Queueing strategy: weighted fairOutput queue: 0/1000/64/0 (size/max total/threshold/drops)Conversations 0/1/16 (active/max active/max total)Reserved Conversations 0/0 (allocated/max allocated)Available Bandwidth 144 kilobits/sec5 minute input rate 49000 bits/sec, 23 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec5507 packets input, 1785932 bytes, 0 no bufferReceived 30 broadcasts (0 IP multicasts)0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort35 packets output, 2995 bytes, 0 underruns0 output errors, 0 collisions, 1 interface resets0 unknown protocol drops0 output buffer failures, 0 output buffers swapped out0 carrier transitions no alarm presentTimeslot(s) Used: 1-3, subrate: 192Kb/s, transmit delay is 0 flagsnon-inverted dataRouter#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 5 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 msRouter#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, "Using loopback Commands" section, 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 SM-1-STM1 interface and a remote device such as a multiplexer interface. 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. If the packets complete the loop, the connection is good. If not, you can isolate a fault to the remote device in the path of the loopback test.
The SM-1-STM1 supports two loopback modes at the sonet controller level: local and network.
Use the loopback {local | network} command to set the loopback mode, as shown below:
Router(config)# controller sonet 3/0Router(config-controller)# loopback networkWhen the loopback local command is used, all data transmitted to the network is internally looped back to the receiver. In this loopback mode, the serial interfaces should go into up/up looped state.
When the loopback network command is used, all data received from the connected device is transmitted back unchanged. In this loopback mode, T1 serial interfaces are not working.
The SM-1-STM1 also supports loopback on E1 lines mapped to a TUG-3 or AU-3.
To specify a loopback on an E1 line that has been mapped to a TUG-3, use the tug-2 e1 loopback command in configuration controller tug3 mode.
To specify a loopback on an E1 line that has been mapped to an AU-3, use the tug-2 e1 loopback command in configuration controller au3 mode.
The complete tug-2 e1 loopback command syntax is:
tug-2 tug-2 number e1 e1-number loopback {local | network {line | payload}}
To disable the loopback, use the no form of this command:
[no] tug-2 tug-2 number e1 e1-number loopback {local | network {line | payload}}
Feedback
