|
|
Spatial Reuse Protocol (SRP) is the media-independent Media Access Control (MAC) layer that enables DPT functionality in ring configurations. The SRP MAC layer provides the base functionality for addressing, packet stripping, managing bandwidth using the SRP fairness algorithm, and controlling message propagation on the ring.
Each ring is composed of nodes that are interconnected by using two fiber rings, which are designated as inner and outer. On the outer ring, traffic flows clockwise; on the inner ring, traffic flows counter-clockwise. The side of a node that has outer ring receive fiber is identified as side A, the side of a node that has inner ring receive fiber is identified as side B. (See Figure 1.)
Data packets are sent downstream on one ring, while the corresponding control packets are sent upstream on the opposite ring. Both fiber rings maximize the bandwidth for data packet transport and ensure that the data takes the shortest path to its destination. Spatial Reuse refers to the fact that unicast packets traverse only the necessary spans between the source node and the destination node. Each ring node concurrently transmits packets without waiting for a shared token on other parts of the ring, because the packets are removed by the destination nodes.
Each time you install a 1OC-12/STM-4 SRP line card in a Cisco 12000 series Gigabit Switch Router (GSR) or install the OC-12c Dynamic Packet Transport (DPT) Interface Processor (DPTIP) (port adaptor) in a Cisco 7500/7200 series router, the router appears on the ring as a node with an SRP interface. A 7500/7200 series router is most often used as an aggregation device for the GSR. The 7500/7200 series router collects data from lower-speed interfaces and passes it to a GSR. Typically, there will be more 7500/7200s aggregating traffic towards fewer GSRs. The ring topology automatically discovers when nodes are added or deleted. A user-configurable topology timer determines how frequently every node on the ring sends out a topology discovery packet to identify the nodes on the ring. The default is five seconds.
For initial implementations, Synchronous Optical Network/Synchronous Digital Hierarchy (SONET/SDH) is used as a transport layer. The SRP interface uses the SONET-style ring architecture and Intelligent Protection Switching to provide redundancy and protection in the event of a failed node or fiber cut.
IPS provides the ability to:
In a normal state, data packets flow from node 4 to Node 2 by taking the short single-hop path shown in Figure 2. When fiber cuts, node failures, or events occur, IPS uses two modes to heal the fibers and restore IP service:
The features on the 1OC-12/STM-4 SRP line card:
The Spatial Reuse Protocol supports up to 32 nodes simultaneously on one ring.
The DPT features are supported on the following platforms:
The 1OC-12/STM-4 SRP line card supports the CISCO-CAR-MIB and the RFC 1595 SONET MIB.
The SRP line card requires a full-fabric configuration in your GSR. It requires one or two clock and scheduler cards (CSCs) and three switch fabric cards (SFCs). A configuration with two CSCs is preferred. If you have an existing one-quarter fabric configuration on your router and you want to install an SRP line card, you must upgrade to a full-fabric configuration. For details on adding switch fabric cards, see the Installation and Configuration Guide that came with your router.
The configuration tasks in this section explain how to configure and control data traffic on each SRP interface on the DPT ring by:
Table 1 provides sample IP and MAC addresses of routers that contain 1OC-12/STM-4 SRP line cards that will be used in the following configuration tasks. Note that for each SRP interface, the MAC address has a relationship with the IP address, so that even though all line cards are in slot 2 and port 0 in the routers on the network, you can identify an SRP interface by its' unique IP or MAC address.
| Routers | Nodes | SRP Interface | IP Addresses | MAC Addresses |
|---|---|---|---|---|
Router1 | Node 1 | 2/0 | 10.1.2.1 | 0123.4567.0001 |
Router2 | Node 2 | 2/0 | 10.1.2.2 | 0123.4567.0002 |
Router3 | Node 3 | 2/0 | 10.1.2.3 | 0123.4567.0003 |
Router4 | Node 4 | 2/0 | 10.1.2.4 | 0123.4567.0004 |
Router5 | Node 5 | 2/0 | 10.1.2.5 | 0123.4567.0005 |
This section explains how to assign an IP address to an SRP interface. This is a required task. Each node on the ring must have an IP address assigned to its SRP interface. To assign an IP address, perform the following steps beginning in global configuration mode:
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# configure terminal Router1(config)# | Type configure terminal to enter global configuration mode. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Specify the SRP interface you want to configure by using the interface srp global configuration command. The prompt changes to interface configuration mode. | ||
| Router1(config-if)# ip address 10.1.2.1 255.255.255.0 Router1(config-if)# end Router1# | Enter the ip address and subnet mask for the SRP interface in interface configuration mode. | ||
| Router1(config-if)# no shut Router1(config-if)# | Enter the no shut command to keep the interface up. | ||
| Router1(config-if)# Router1# | Type end until you return to privileged EXEC mode. | ||
| Router1# show interface srp 2/0 Router1# | Use the show interface EXEC command and specify the SRP interface router slot and port number. |
This is an optional task. This section explains how to change a default Media Access Control (MAC) address. The default MAC address is just a 48-bit number that carries no special meaning. The default MAC address that is assigned to each SRP line card is derived from a base address that is a property of the GSR chassis combined with an adjustment for the position of the line card within the chassis. This means that if you change the line card's slot position, or if you ever put the line card in another chassis, then the MAC address of the SRP line card will change.
You may find it useful to supply a MAC address for each SRP interface. You can assign a MAC address that has a relationship with the IP address of the SRP interface, or that has a relationship with some other identification of the nodes.
You can use a MAC address to:
To change a default MAC address, perform the following tasks beginning in privileged EXEC mode:
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# configure terminal Router1(config)# | Type the configure terminal to enter global configuration mode. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Specify the interface srp global configuration command. The prompt changes to interface configuration mode. | ||
| Router1(config-if)# mac-address 0123.4567.0001 Router1(config-if)# | Enter the mac-address interface configuration command and specify the new address. | ||
| Router1(config-if)# end Router1# | Type end to return to privileged EXEC mode. | ||
| Router1# show controllers srp | Verify the MAC address on the SRP interface by entering the show controllers EXEC command. |
This section explains how to count packets by the source MAC address of the node that originated them. This is an optional task. By default, the SRP interface only counts the total numbers of packets received. To count packets according to their source MAC address, you must configure an SRP interface to maintain the appropriate counters. You can examine the counts using the show srp and the show srp source-counters commands.
To enter Cisco IOS commands that configure an SRP interface to maintain appropriate counters, perform the following steps beginning in privileged EXEC mode:
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# configure terminal Router1(config)# | Type configure terminal to enter global configuration mode. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Specify an SRP interface, using the interfacesrp global configuration command. | ||
| Router1(config-if)# srp count 0123.4567.0001 Router(config-if)# | Configure the SRP interface to count the number of packets received from a specific source address by entering the srp count interface configuration command and specify the source node's MAC address. | ||
| Router1(config-if)# exit Router# | Type exit until you return to privileged EXEC mode. | ||
| Router1# show srp source-counters srp 2/0 Source Address Information for Interface SRP2/0 0123.4567.0001, pkt. count 1201 | View the count of packets received from the designated source address by entering the show srp or the show srp source-counters srp 2/0 EXEC commands. | ||
| Router1# copy running-config startup-config | Enter the copy running-config startup-config privileged EXEC command to write the new configuration to memory. |
By default, an SRP interface accepts packets from any source. You can configure an SRP interface to reject all packets from a specific source MAC address. This may be useful if there are nodes on the ring that should not communicate. This is an optional task.
Perform the following steps to configure an SRP interface to reject all packets from a specific source MAC address, beginning in privileged EXEC mode:
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# configure terminal Router1(config)# | Type configure terminal to enter global configuration mode. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Select a specific SRP interface, using the interfacesrp global configuration mode command. | ||
| Router1(config-if)# srp reject 0123.4567.0001 Router1(config-if)# | You can configure an SRP interface to discard all packets from a specific node by entering the srp reject interface configuration command and the source node's MAC address. | ||
| Router1(config-if)# end Router1# | Type exit until you return to privileged EXEC mode. | ||
| Router1# copy running-config startup-config | Enter the copy running-config startup-config command to write the new configuration to memory. |
This section explains how to configure the topology-timer on a DPT ring. This is an optional task. The srp topology-timer interface configuration command and a specified value determines how frequently topology discovery messages are sent around the ring to identify the current nodes on the DPT ring. Topology discovery is always on. The topology discovery frequency is user-configurable, the default value is 5 seconds.
To configure the topology-timer, perform the following steps beginning in privileged EXEC mode:
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# configure terminal Router1(config)# | Type configure terminal to enter global configuration mode. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Specify an SRP interface by entering the interfacesrp global configuration command. The prompt changes to interface configuration mode. | ||
| Router1(config-if)# srp topology-timer 60 Router1(config-if)# end Router1# | Confirm the frequency of the topology message timer by entering the srp topology-timer interface configuration command and the value in seconds. Type end to return to the privileged EXEC mode | ||
| Router1# show srp topology Topology Map for Interface SRP2/0 Topology pkt. sent every 60 sec. | Specify the identity of the nodes on the DPT ring by entering the show srp topology EXEC command. The command output also shows the number of hops between nodes and identifies the nodes that are wrapped. |
This section explains how to use the Cisco IOS configuration commands in Table 2 to change the default values of the line card parameters to match your network environment. These are optional tasks. You can modify the configuration parameters beginning in privileged EXEC mode:
| Parameter | Configuration Command | Default Value |
|---|---|---|
Cisco Discovery Protocol (cdp) | [no] cdp enable | cdp enable |
Framing | srp framing [sdh | sonet] [a | b] | SONET OC-12c |
Bandwidth | [no] bandwidth kbps | 622000 kbps |
SONET overhead | srp flag [c2 value] [j0 value] [a | b] | c2 set to 0x16 |
Clock source | srp clock-source [internal | line ] [a | b] | srp clock-source internal |
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# configure terminal Router1(config)# | Type configure terminal to enter global configuration mode. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Use the interfacesrp interface configuration command to specify a node. The prompt changes to interface configuration mode. | ||
| Router1(config-if)# srp framing sdh Router1(config-if)# | To select framing, enter the srp framing interface configuration command. | ||
| Router1(config-if)# srp clock-source line a Router1(config-if)# | Enter the srp clock-source interface configuration command. | ||
| Router1(config-if)#srp topology-timer 60 Router1(config-if)# | Set the topology timer frequency by entering the srp topology-timer interface configuration command. | ||
| Router1(config-if)# end Router1# | Type end until you return to privileged EXEC mode. |
This section explains how to use SRP IPS command options that will insert or override Intelligent Protection Switching (IPS) modes. These are optional tasks. DPT ring architecture provides redundancy and protection from a failed node or a fiber cut through the use of IPS modes that are automatic or user-configured. Automatic SRP IPS modes take effect when the DPT ring detects an event, a fiber cut, or node failure and remain in effect until the default wait-to-restore (wtr) value expires. User-configured SRP IPS modes take effect as soon as you enter the commands and remain in effect until they are removed by a user-command or overridden by higher priority automatic SRP IPS modes. You can enter the no form of the SRP IPS request to negate an automatic or a user-configured command. Table 3 provides an explanation of the IPS requests in the order of priority, from highest to lowest.
| SRP IPS Request | Explanation |
|---|---|
Forced-Switch | Adds a high-priority protection switch wrap on each end of a specified span by entering the user-configured srp ips forced-switch command. |
Signal Fail | Enters automatic protection switch wraps on a span when it is invoked by a media signal failure or SRP keep-alive failure. The signal fail protection switch wrap remains in effect until the event is repaired. |
Signal Degrade | Enters automatic protection switch wraps on a span when it is invoked by a media signal degrade, such as an excessive bit error rate. |
Manual-Switch | Adds a low-priority protection switch wrap on each end of a specified span by entering the user-configured srp-ips manual-switch command. |
Wait-to-Restore | Invokes a waiting period after the working channel meets the restoration criteria after a signal fail or signal degrade condition disappears. The wait-to-restore period prevents protection switch oscillations. |
If an automatic or user-configured protection switch is requested for a given span, the node that receives the protection request issues a protection request to the node on the other end of the span using both the short path over the failed span, as the failure may be unidirectional, and the long path, around the ring.
As the protection requests travel around the ring, the protection hierarchy is applied. For example, if a high-priority Signal Fail request enters the ring, it overrides a pre-existing lower-priority Signal Degrade request. If an event or a user-configured command enters a low-priority request, it is not allowed if a high-priority request is present on the ring. The only exception is that multiple Signal Fail and forced-switch requests can coexist on the ring.
All protection switches are performed bidirectionally and enter wraps at both ends of a span for transmit and receive directions, even if a failure is only unidirectional.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# configure terminal Router1(config)# | Type configure terminal to enter global configuration mode. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Enter the interfacesrp global configuration command. The prompt changes to interface configuration mode. | ||
| Router1(config-if)# srp ips request manual-switch a Router1(config-if)# | To enter a manual-switch wrap state, enter the srp ips request manual-switch interface configuration command and specify side A or B. | ||
| Router1(config-if)# srp ips request forced-switch a | To enter a forced switch wrap state, enter the srp ips request forced-switch interface configuration command and specify side A or B. | ||
| Router1(config-if)# srp ips wtr-timer 60 | To set a non-default value of the wait-to-restore timer, enter an srp ips wait-to-restore timer interface configuration command and the value in seconds. | ||
| Router1(config-if)# srp ips timer 90 a Router1(config-if)# | To set a non-default value for the frequency of IPS messages, enter the srp ips timer interface configuration command and specify the value in seconds. | ||
| Router1(config-if)# end Router1# | Type end until you return to the privileged EXEC mode. | ||
| Router1# show srp ips | Use the show srp ips EXEC command to display the status of the srp ips requests. |
You can use the information in the following sections to monitor and maintain the DPT ring by:
You must be in EXEC mode to display information about the SRP interfaces on the DPT ring using the Cisco IOS software show commands: show interfaces srp, show srp, show srp ips, show controllers srp, and show srp topology. Table 4 explains the terms in the show command output.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# show interfaces srp Router1# | Shows the status of an SRP line card in a specific router's slot and port number. | ||
| Router1# show srp Router1# | Shows the status of all of the SRP interfaces that are nodes on the DPT ring. | ||
| Router1# show srp ips Router1# | Shows intelligent protection switch (IPS) information. | ||
| Router1# show controllers srp Router1# | Displays the SRP controller that is currently running. | ||
| Router1# show srp topology Router1# | Displays the identity of the nodes on the DPT ring. |
| Term | Explanation |
Hardware address | Provides the MAC address of the DPT interface. |
Interface | Provides the SRP interface and slot/port number. |
IPS State | Provides wrap information. |
IPS self-detected requests | Shows whether there is fiber cut or node failure. |
IPS messages received | Shows the IPS messages received on sides A and B of a node. |
IPS messages transmitted | Shows the IPS messages transmitted on sides A and B of a node. |
Protocol Address | Provides the internet protocol address. |
Type | Indicates whether the node is on the inner or outer ring |
You can use the status LEDs to monitor the DPT ring. Each SRP interface corresponds to the line card ports. Some LEDs indicate status across the two ports of an interface, while others indicate the status of a single port. Table 5 explains how to interpret the line card LEDs.
| LED Type | LED Status | Explanation |
Port LEDs | Active (Green) | Indicates the SRP interface is enabled, or in a no shut state. |
| Carrier (Green) | Indicates proper reception of SONET framing. |
| RX Packet (Green) | Indicates reception of packets into the port. Packets forwarded back out onto the ring do not trigger this LED. |
Interface LEDs | Pass-through (Yellow) | Indicates that the SRP interface is configured for transparent operation. Packets are unconditionally forwarded in both directions. No packets are received into the interface. |
| Wrap Indication | Indicates an SRP wrap from the interface's Active LEDs. When both LEDS are on, the interface is configured for normal, two ring operation. When both LEDs are off, the interface is shutdown. When only one LED is on, the corresponding port is configured for wrapped operation. |
The status LEDs on the line card might not go on until you have configured the line card interfaces (or turned them on, if they were shut down). Follow the configuration tasks in this section to make sure each interface is enabled, beginning in privileged EXEC mode:
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# configure terminal Router1(config)# | Type configure terminal to enter global configuration mode. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Specify an srp interface on the ring by entering interface srp interface configuration command. | ||
| Router1(config-if)# no shutdown | To enable the interface, enter the no shutdown command. The no shutdown command passes an enable command that configures the SRP interface automatically, based on the configuration commands that were previously sent. | ||
| Router1(config-if)# end Router1# | Type end to return to privileged EXEC mode. |
The following example configurations describe:
You can use the following steps to connect fiber-optic cables to an SRP line card in a Cisco 12000 series GSR to create a DPT ring:
| Step | Command | Purpose | ||
|---|---|---|---|---|
| None | Install an SRP line card in a Cisco 12000series router on the network. The first router with a an SRP line card becomes Node 1, the first SRP interface on the ring. | ||
| None | To add more nodes to the ring, connect the cables observing the receive (Rx) and transmit (Tx) cabling relationship. The labels under the fiber connectors identify side A, Tx and Rx, and side B, Tx and Rx. |
Be sure to connect the fiber-optic cables using the receive (Rx) and transmit (Tx) cabling relationship, which means that an Rx port on one SRP line card must be connected to a Tx port on the next SRP line card. A DPT ring is composed of two fiber rings: Outer and Inner. Outer ring traffic flows clockwise. Inner ring traffic flows counter-clockwise. The side of a node with Outer ring receive fiber is identified as side A, the side of a node with Inner ring receive fiber is identified as B. Side A must be connected to Side B. See Figure 4 and Figure 5.

Use Figure 5 and Table 6 to make the cable connections for a four-node ring.
Table 6 lists the cable connections for a 4-node ring.
| Cable Connections | |
|---|---|
| From Node / Connector | To Node / Connector |
Node 1 / Tx side B | Node 2 / Rx side A |
Node 2 / Tx side B | Node 3 / Rx side A |
Node 3 / Tx side B | Node 4 / Rx side A |
Node 4 / Tx side B | Node 1 / Rx side A |
Node 1 / Tx side A | Node 4 / Rx side B |
Node 4 / Tx side A | Node 3 / Rx side B |
Node 3 / Tx side A | Node 2 / Rx side B |
Node 2 / Tx side A | Node 1 / Rx side B |
This section explains how to add Node 5 to a 4-node ring. You can insert a new node on a ring without powering down the routers on your network. As long as one connection remains, data traffic will pass-through the fiber, from the source node to the destination node, uninterrupted. The new node will be placed between Node1 and Node 4 on the ring. The connections between the two existing nodes must be broken to insert the connections to the new node. This intentional break in the ring is handled by the Intelligent Protection Switching (IPS) facilities. See Figure 6 through Figure 9 for examples of adding a node to a ring. Figure 6 and Figure 7 show the physical configuration. Figure 8 and Figure 9 show the logical configuration.
You can add a node by using one of the following methods:
1. Disconnecting the fiber cables between Node1 and Node 4 will cause IPS to automatically enter signal-fail wraps on the DPT ring. Signal-fail wraps have the same function as manual-switch wraps. This is the simplest approach, but there will be some data loss while the automatic switching reacts to the change.
2. Using Cisco IOS commands to enter forced-switch wraps on the DPT ring at Node1 and Node 4, prior to removing the cables, will prevent loss of data.
The following examples show how to add a fifth node to a four-node ring. The nodes are named Router1, Router2, and so on. The additional node, Router5, will be added between Router1 and Router4. Side A of Router5 connects to Side B of Router4, and Side B of Router5 connects to Side A of Router1. Figure 6 shows four routers connected before a fifth router is added. Figure 7 shows five routers connected on a DPT ring. Follow the configuration examples in this section beginning in privileged EXEC mode.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router5# configure terminal Router5(config)# interface srp 2/0 Router5(config-if)# ip address 10.1.2.5 255.255.255.0 Router5(config-if)# mac-address 0123.4567.0005 Router5(config-if)# end Router# | Type the configure terminal to enter global configuration mode. Configure the new node by using the interface srp global configuration command to specify the SRP interface. Then assign an IP address, and if necessary, assign a MAC address in interface configuration mode. Type end until you return to privileged EXEC mode. | ||
| Router1# show srp | Use the show srp privileged EXEC command to ensure that the ring's IPS state is IDLE and that the topology shows four nodes. | ||
| None | Disconnect the fibers on the span where the node is to be added. When the fibers are disconnected, a signal failure will be detected by Nodes 1 and 4, and automatically insert two (signal-fail) wraps away from the failure between the nodes. | ||
| None | Insert Router5 onto the ring by connecting Router5 to Router1. Then connect Router5 to Router4. Router5 will appear on the ring as node 5, between Nodes 1 and 4. | ||
| Router1# show srp ips | Use the show srp ips command to verify that the signal-fail wraps have disappeared. If the wraps are still present, wait for the default wait-to-restore timer to time out. | ||
| Router1# show srp topology | Use the show srp topology privileged EXEC command to confirm that the wraps have disappeared and to verify that new node is part of the ring topology. Note It takes a few seconds for the new ring topology to become known so you may have to retry the command a few times. |


Figure 8 shows a four-node ring before a fifth node is added.
Figure 9 shows a ring with forced-switch wraps entered at Node 1 and Node 4. Node 5 is added to the ring between the forced-switch wraps.
To verify that you can communicate with an SRP interface on the ring.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# configure terminal Router1(config)# interface srp 2/0 Router1(config-if)# end | Type configure terminal to enter global configuration mode. Specify the new node on the ring by entering interface srp interface configuration command. | ||
| Router1# ping 10.1.2.5 | Use the ping privileged EXEC command to verify that you can communicate with a new SRP interface on the ring. | ||
| None | If the ping is successful, continue configuring the new SRP interface. If the ping is unsuccessful, go to the following section, "Adding a Node to a Ring-Method 2." |
This section also shows how to add a fifth node to a four-node, using Cisco IOS commands that will insert forced-switch wraps away from the area on the fiber where the node is being added, and ensure a minimal loss of data traffic. For the purpose of this example, Node 5 will be placed between
Node 1 and Node 4. Figure 6 and Figure 7 show the physical configuration. Figure 8 and Figure 9 show the logical configuration.
To add a node to a ring, follow the configuration example in this section beginning in privileged EXEC mode.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# configure terminal Router1(config)# | Type configure terminal to enter global configuration mode. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Specify the Node 1 SRP interface by entering the interface srp global configuration command. The prompt will change to interface configuration mode. | ||
| Router1(config-if)# srp ips request forced-switch a | Stop data traffic flowing from Node 1on the fiber that will be disconnected by entering an srp ips request forced-switch interface configuration command to create a wrap next to Node 1on side A. | ||
| Router1(config-if)# end Router1(config)# | Type end to return to global configuration mode. | ||
| None | Disconnect the fiber-optic cables connecting | ||
| None | Connect the cables to add the new node while observing the receive (Rx) and transmit (Tx) cabling relationship. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Specify the Node 1 SRP interface by entering the interface srp global configuration command. The prompt changes to interface configuration mode. | ||
| Router1(config-if)# no srp ips request forced-switch a Router1(config-if)# | Remove the wrap on Node 1 by entering the no srp ips request forced-switch interface configuration command. | ||
| Router1(config-if)# end Router1(config)# | Type end to return to privileged EXEC mode. | ||
| Router1# show srp topology | Use the show srp topology EXEC command to confirm that the wraps have disappeared and the new node is part of the ring topology. See Figure 9.
It takes a few seconds for the new ring topology to become known so you may have to retry the command a few times. |
This section explains how to delete Node 5 that is positioned between Node1 and Node 4 on the ring. You must disconnect the cables to break the connection between Node5 and Nodes 1 and 4. After Node 5 is removed, you must connect Node1 and Node 4. The intentional break on the ring is handled by the IPS facilities.
There are two ways to delete a node:
1. You can just disconnect the existing cables, and IPS will automatically wrap the ring at the two nodes. This is the simplest approach, but there will be some data loss while the automatic switching reacts to the change.
2. You can add manual wraps prior to disconnecting the cables to reduce data loss.
The following configuration example shows how to remove a node from a five node ring. The nodes are named Router1, Router2 and so on. The Router5 node will be removed from its current position between Router1 and Router4. Then Side A of Router1 connects to Side B of Router4.
To remove a node from a ring, follow the configuration example in this section beginning in privileged EXEC mode.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# show srp ips | Ensure that the ring is in the idle state by using the show srp ips EXEC command. | ||
| None | Disconnect the cables from the router you want to delete from the ring. | ||
| None | When the fibers are disconnected, the ring detects a signal failure and automatically inserts signal fail wraps to direct traffic away from the failure. | ||
| None | Reconnect the cables to the 1OC-12/STM-4 SRP line cards that you want on the ring. Be sure to observe the Rx and Tx cabling relationships. | ||
| None | When the default wait-to-restore timer expires the wraps will disappear and enable traffic on the ring. | ||
| Router1# show srp topology | Confirm that the topology does not show the deleted node and that the wraps have been removed by using the show srp topology EXEC command. |
The following configuration example shows how to remove a node from a ring using forced protection switches to insert wraps on the ring, thereby logically removing the node from the ring prior to physically removing it. As in the previous example, you will remove Router5 from its current position between Router1 and Router4. To remove a node from a ring, follow the configuration example in this section beginning in privileged EXEC mode.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| Router1# show srp ips Router1# | Enter the show srp ips EXEC command to ensure that the ring is in an idle state, and that no wraps exist. | ||
| Router5# configure terminal Router5(config)# | Type configure terminal to enter global configuration mode on the router that you want to remove. | ||
| Router5(config)# interface srp 2/0 Router5(config-if)# | Specify the Node 5 SRP interface by entering the interface srp global configuration command. The prompt changes to interface configuration mode. | ||
| Router5(config-if)# shutdown Router5(config-if)# | Enter a shutdown command on the SRP interface you want to remove to place the interface in pass-through mode. The ring will revert to a four-node operation, even though the fifth node is still physically attached to the ring. | ||
| Router5(config-if)# end Router5# | Type end to return to privileged EXEC mode | ||
| Router1# show srp | Enter the show srp EXEC command on a neighboring node to verify that Node 5 has disappeared from the DPT ring topology. | ||
| Router1# configure terminal Router1(config)# | Type configure terminal to enter global configuration mode on a router adjacent to the one that is to be removed. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Specify the node's SRP interface by entering the interface srp global configuration command. The prompt changes to interface configuration mode. | ||
| Router1(config-if)# srp ips request forced-switch a Router1(config-if)# | Add a wrap next to Node 1 by entering an srp ips request forced-switch interface configuration command. | ||
| Router1(config-if)# end Router1(config)# | Type end to return to privileged EXEC mode. | ||
| None | Disconnect the Rx and Tx fibers from Node 5. | ||
| None | Reconnect the fibers between Node 4 to Node 1. Be sure to observe the Rx and Tx cabling conventions. | ||
| Router1# configure terminal Router1(config)# | Type configure terminal to enter global configuration mode. | ||
| Router1(config)# interface srp 2/0 Router1(config-if)# | Specify the Node 1 SRP interface by entering the interface srp global configuration command. The prompt changes to interface configuration mode. | ||
| Router1(config-if)# no srp ips request forced-switch a Router1(config-if)# | Remove the wrap created by the forced switch request on Node 1 by entering the no srp ips request forced switch interface configuration command. | ||
| Router1(config-if)# exit Router1(config)# | Type exit to return to global configuration mode. | ||
| Router1# show srp topology | Confirm that no wraps exist on Node 1 and Node 4 by entering the show srp topology EXEC command. |
This section documents new or modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.0 Command Reference.
To clear the output from the show srp or the show srp source-counters EXEC commands, use the clear counters srp privileged EXEC command.
clear counters srp slot/port
slot/port | Identifies the router slot and port number for the SRP interface. |
If no interface is specified by a slot/port combination, then counters for all SRP interfaces on the router are cleared.
EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# show srp source-counters
Source Address Information for Interface SRP2/0
0000.0000.0009, index 1, pkt. count 0
0000.0000.0010, index 2, pkt. count 126
0000.0000.0011, index 3, pkt. count 0
Router# clear counters srp 2/0
Clear "show interface" counters on this interface [confirm]y
Router#
*Jan 2 20:52:26.621: %CLEAR-5-COUNTERS: Clear counter on interface SRP2/0
| Command | Description |
Shows the current Intelligent Protocol Switching (IPS) and topology status of SRP interfaces on the ring. | |
Counts packets by source address and shows the total packets sent from a node. | |
Counts packets based on source MAC address. |
To display the currently running SRP controller, use the show controllers srp EXEC command.
show controllers srp [slot/port] [details]
slot/port | Displays SRP controller information specific to a particular router slot and port number, or information about all SRP controllers in the router will be displayed. |
details | Provides additional information about the controller in the output. |
No default behavior or values.
EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router1# show controllers srp 2/0 SRP2/0 SRP2/0 - Side A (Outer RX, Inner TX) SECTION LOF = 0 LOS = 0 BIP(B1) = 0 LINE AIS = 0 RDI = 0 FEBE = 0 BIP(B2) = 0 PATH AIS = 0 RDI = 0 FEBE = 0 BIP(B3) = 0 LOP = 0 NEWPTR = 0 PSE = 0 NSE = 0 Active Defects:None Active Alarms: None Alarm reporting enabled for:SLOS SLOF PLOP Framing :SONET Rx SONET/SDH bytes:(K1/K2) = 0/0 S1S0 = 0 C2 = 0x16 Tx SONET/SDH bytes:(K1/K2) = 0/0 S1S0 = 0 C2 = 0x16 J0 = 0xCC Clock source :Internal Framer loopback :None Path trace buffer :Stable Remote hostname :Router2 Remote interface:SRP2/0 Remote IP addr :10.1.2.2 Remote side id :B BER thresholds: SF = 10e-3 SD = 10e-6 TCA thresholds: B1 = 10e-6 B2 = 10e-6 B3 = 10e-6 SRP2/0 - Side B (Inner RX, Outer TX) SECTION LOF = 0 LOS = 0 BIP(B1) = 0 LINE AIS = 0 RDI = 0 FEBE = 0 BIP(B2) = 0 PATH AIS = 0 RDI = 0 FEBE = 0 BIP(B3) = 0 LOP = 0 NEWPTR = 0 PSE = 0 NSE = 0 Active Defects:None Active Alarms: None Alarm reporting enabled for:SLOS SLOF PLOP Framing :SONET Rx SONET/SDH bytes:(K1/K2) = 0/0 S1S0 = 0 C2 = 0x16 Tx SONET/SDH bytes:(K1/K2) = 0/0 S1S0 = 0 C2 = 0x16 J0 = 0xCC Clock source :Internal Framer loopback :None Path trace buffer :Stable Remote hostname :Router4 Remote interface:SRP2/0 Remote IP addr :10.1.2.4 Remote side id :A BER thresholds: SF = 10e-3 SD = 10e-6 TCA thresholds: B1 = 10e-6 B2 = 10e-6 B3 = 10e-6 Router2#
| Command | Description |
Show further SRP related details. | |
Show interface details such a packet rates. |
To show information about an SRP interface, use the show interfaces srp EXEC command.
show interfaces srp slot-port [accounting | crb | fair-queue | irb | mac-accounting | precedence | random-detect | rate-limit | shape]
slot/port | Identifies the router slot and port number for the SRP line card. |
accounting | (Optional) Displays the number of packets of each protocol type that has been sent through the interface. |
crb | (Optional) Shows interface routing and bridging information. |
fair-queue | (Optional) Shows interface queueing information |
irb | (Optional) Shows integrated routing bridge information. |
mac-accounting | (Optional) Shows interface MAC accounting information. |
precedence | (Optional) Shows interface precedence accounting information. |
random-detect | (Optional) Shows interface Weighted Random Early Detection (WRED) information. |
rate-limit | (Optional) Shows interface rate-limit information. |
shape | (Optional) Shows interface Traffic Shape information. |
No default behavior or values.
EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
All of the options are not relevant to SRP interfaces.
Router# show interfaces srp 2/0
SRP2/0 is up, line protocol is up
Hardware is SRP over SONET, address is 0123.4567.0001 (bia 0050.e28c.5440)
Internet address is 10.1.2.1/24
MTU 4470 bytes, BW 622000 Kbit, DLY 100 usec, rely 255/255, load 1/255
Encapsulation SRP, Side A loopback not set Side B loopback not set
4 nodes on the ring MAC passthrough not set
Side A:not wrapped IPS local:IDLE IPS remote:IDLE
Side B:not wrapped IPS local:IDLE IPS remote:IDLE
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters 18:26:08
Queueing strategy:fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 20000 bits/sec, 1 packets/sec
5 minute output rate 9000 bits/sec, 3 packets/sec
111517 packets input, 184059367 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
203428 packets output, 78234051 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
Side A received errors:
0 input errors, 0 CRC, 0 runts, 0 giants, 0 ignored, 0 abort
Side B received errors:
0 input errors, 0 CRC, 0 runts, 0 giants, 0 ignored, 0 abort
Router#
| Command | Description |
None |
|
To show the current Intelligent Protocol Switching (IPS) source counter and topology status of SRP interfaces on the ring, use the show srp EXEC command.
show srp [srp slot port]
srp slot/port | (Optional). Identifies the router slot and port number for a specific srp interface, otherwise srp information for all interfaces is shown. |
No default behavior or values.
EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# show srp
IPS Information for Interface SRP2/0
MAC Addresses
Side A (Outer ring RX) neighbor 0123.4567.0004
Side B (Inner ring RX) neighbor 0123.4567.0002
Node MAC address 0123.4567.0001
IPS State
Side A not wrapped
Side B not wrapped
Side A (Inner ring TX) IPS pkt. sent every 1 sec. (next pkt. after 0 sec.)
Side B (Outer ring TX) IPS pkt. sent every 1 sec. (next pkt. after 0 sec.)
IPS WTR period is 60 sec. (timer is inactive)
Node IPS State IDLE
IPS Self Detected Requests IPS Remote Requests
Side A IDLE Side A IDLE
Side B IDLE Side B IDLE
IPS messages received
Side A (Outer ring RX) {0123.4567.0002,IDLE,S}, TTL 128
Side B (Inner ring RX) {0123.4567.0004,IDLE,S}, TTL 128
IPS messages transmitted
Side A (Inner ring TX) {0123.4567.0001,IDLE,S}, TTL 128
Side B (Outer ring TX) {0123.4567.0001,IDLE,S}, TTL 128
Source Address Information for Interface SRP2/0
0123.4567.0001, index 1, pkt. count 409847
0123.4567.0002, index 2, pkt. count 2479330
0123.4567.0003, index 3, pkt. count 724384
0123.4567.0004, index 4, pkt. count 1472439
Topology Map for Interface SRP2/0
Topology pkt. sent every 10 sec. (next pkt. after 5 sec.)
Last received topology pkt. 00:00:04
Nodes on the ring:4
Hops (outer ring) MAC IP Address Wrapped Name
0 0123.4567.0001 10.1.2.1 No Router1
1 0123.4567.0002 10.1.2.2 No Router2
2 0123.4567.0003 10.1.2.3 No Router3
3 0123.4567.0004 10.1.2.4 No Router4
Router#
Table 7 describes selected fields from the show srp command output.
| Field | Description |
|---|---|
IPS Information for Interface SRP2/0 | IPS (Intelligent Protection Switching) identifies the status of an SRP interface on the DPT ring. The IPS field in the show srp command output is also produced by the show srp ips command output. |
MAC Addresses Side A (Outer ring RX) neighbor 0123.4567.0002 |
The MAC address of the next SRP node on the outer ring. |
MAC Addresses Side B (Inner ring RX) neighbor 0123.4567.0002 |
The MAC address of the next SRP node on the inner ring. |
Node MAC address 0123.4567.0001 | The MAC address of this SRP node. |
IPS State | Reports whether or not a wrap exists on Side A or Side B of the DPT ring. |
IPS WTR period is 60 sec. (timer is inactive) | Displays the current WTR (Wait to Restore) timer value. If a timer is active, the time remaining before timer expiry will also be given. |
Node IPS State IDLE | Displays the current IPS state of the node. IDLE is the normal state. Other states are WRAPPED and PASSTHRU. |
IPS Self-Detected Requests | Indicates any locally generated requests Indicates any remotely generated requests Displays local IPS requests, as well as IDLE status. Possible requests include the following: LO --- Lock-out FS --- Forced Switch SF --- Signal Fail SD --- Signal Degrade MS --- Manual Switch WTR --- Wait to Restore |
IPS Remote Requests | Indicates any locally generated requests Indicates any remotely generated requests Displays remote IPS requests, as well as IDLE status. Possible requests include the following: LO --- Lock-out FS --- Forced Switch SF --- Signal Fail SD --- Signal Degrade MS --- Manual Switch WTR --- Wait to Restore |
IPS messages received | Indicates IPS messages received on Side A {0123.4567.0002,IDLE,S}, TTL 128 Indicates IPS messages received on Side B {0123.4567.0004,IDLE,S}, TTL 128 Provides details of the last IPS messages received. Fields within the braces {} are the MAC address of the sending node, the APS state (IDLE, LO, FS, and so on) and indicates either a short (S) or long (L) path. |
IPS messages transmitted | Indicates IPS messages received on Side A {0123.4567.0001,IDLE,S}, TTL 128 Indicates IPS messages received on Side B {0123.4567.0001,IDLE,S}, TTL 128 Provides details of the last IPS messages transmitted. The format is per the received messages |
Source Address Information for Interface SRP2/0 | Provides SRP source counter information that identifies the SRP interface. This section of the show srp command output is also produced by show srp source-counters command output |
0123.4567.0001, index 1, pkt. count 409847 | Displays the initial number is the MAC address of the SRP node whose packets are being counted.The index refers to an internal detail of the SRP implementation, and has no operational significance. pkt. count indicates that packets from the MAC address are being counted, and the actual count will follow. |
Topology Map for Interface SRP2/0 | Displays SRP topology information that identifies the SRP interface. This section of the show srp command output is also produced by show srp topology command output. |
Topology pkt. sent every 10 sec. (next pkt. after 5 sec.) | Displays the interval between successive topology packets sent from this node, and the time until the next one is to be sent (rounded down to the nearest second). |
Last received topology pkt. 00:00:04 | Displays the time since the last topology packet was received at this node. |
Nodes on the ring:4 | Displays the number of nodes in the current ring topology. Hops (outer ring) MAC IP Address Wrapped Name
0 0123.4567.0001 10.1.2.1 No Router1
1 0123.4567.0002 10.1.2.2 No Router2
2 0123.4567.0003 10.1.2.3 No Router3
3 0123.4567.0004 10.1.2.4 No Router4
|
Hops | Displays the number of hops to the destination node, beginning with the assumption that the node is travelling on Side A. The local node is at hop count zero. |
MAC | Displays the MAC address of the node. |
IP Address | Displays the IP Address of the SRP interface on the node. If the address is not known, the text string unknown will be displayed. Note that the IP address information is gathered by the ARP table. When a ring is first established it is normal for the IP address of a node to remain unknown until some time after the MAC address is known. If the topology continues to display unknown for the IP address after a reasonable length of time, then there is probably a problem with address resolution protocol. |
Wrapped | Indicates whether the SRP ring is wrapped at that node, by either Yes or No. |
Name | Displays the host name of the router. If the name is not known then this field is left blank. Note that the host name is obtained from information that is broadcast on the ring at a slower rate than other topology information. When a ring is first established it is normal for the host name of a remote node to remain unknown until some time after the MAC address is known. |
| Command | Description |
Displays the current controller configuration on an SRP interface. | |
Displays the configuration on an SRP interface. | |
show srp ips | Displays the Intelligent Protection Switching (IPS) status. |
show srp source-counters | Displays a list of the packets counted by the source address on an srp interface. |
show srp topology | Identifies the nodes on the Dynamic Packet Transport ring. |
To display the Intelligent Protection Switching (IPS) status, use the show srp ips EXEC command. This command displays a subset of the information displayed by the show srp EXEC command.
show srp ips [srp slot/port]
srp slot/port | (Optional). Specifies the router slot and port number of a specific SRP interface, otherwise the command displays information about all SRP interfaces in the router. |
SRP IPS is on by default and cannot be disabled.
EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# show srp ips
IPS Information for Interface SRP2/0
MAC Addresses
Side A (Outer ring RX) neighbor 0123.4567.0004
Side B (Inner ring RX) neighbor 0123.4567.0002
Node MAC address 0123.4567.0001
IPS State
Side A not wrapped
Side B not wrapped
Side A (Inner ring TX) IPS pkt. sent every 1 sec. (next pkt. after 0 sec.)
Side B (Outer ring TX) IPS pkt. sent every 1 sec. (next pkt. after 0 sec.)
IPS WTR period is 60 sec. (timer is inactive)
Node IPS State IDLE
IPS Self Detected Requests IPS Remote Requests
Side A IDLE Side A IDLE
Side B IDLE Side B IDLE
IPS messages received
Side A (Outer ring RX) {0123.4567.0002,IDLE,S}, TTL 128
Side B (Inner ring RX) {0123.4567.0004,IDLE,S}, TTL 128
IPS messages transmitted
Side A (Inner ring TX) {0123.4567.0001,IDLE,S}, TTL 128
Side B (Outer ring TX) {0123.4567.0001,IDLE,S}, TTL 128
Router#
| Command | Description |
show srp | Displays SRP IPS information in addition to source-counter and topology information. |
Displays the current controller configuration on an SRP interface. | |
Displays the configuration on an SRP interface. |
To display a list of the packets counted by the source address on an srp interface, use the show srp source-counters EXEC command. The command output displays a subset of the information displayed by the show srp EXEC command.
show srp source-counters [srp slot/port]
srp slot/port | (Optional). Specifies the router slot and port number of a specific SRP interface, otherwise the command displays information about all SRP interfaces in the router. |
No default behavior or values.
EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
To clear the counters, use the clear counters srp command.
Router# show srp source-counters Source Address Information for Interface SRP2/0 0123.4567.0004, index 4, pkt. count 1472439 Router#
| Command | Description |
Counts packets based on source mac address. | |
Clears the output from the show srp or the show srp source-counters EXEC commands. | |
show srp | Displays SRP source-counter information, in addition to IPS and topology information. |
To identify the nodes on the ring, use the show srp topology EXEC command.
show srp topology [srp slot/port]
srp slot/port | (Optional). Specifies the router slot and port number of a specific SRP interface, otherwise the command displays information about all SRP interfaces in the router. |
No default behavior or values.
EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# show srp topology
Topology Map for Interface SRP2/0
Topology pkt. sent every 10 sec. (next pkt. after 5 sec.)
Last received topology pkt. 00:00:04
Nodes on the ring:4
Hops (outer ring) MAC IP Address Wrapped Name
0 0123.4567.0001 10.1.2.1 No Router1
1 0123.4567.0002 10.1.2.2 No Router2
2 0123.4567.0003 10.1.2.3 No Router3
3 0123.4567.0004 10.1.2.4 No Router4
Router#
| Command | Description |
Displays the current controller configuration on an SRP interface. | |
Displays the configuration on an SRP interface. | |
show srp | Displays SRP source-counter information, in addition to IPS and topology information. |
To disable an interface, use the shutdown interface configuration command. To restart a disabled interface, use the no form of this command.
shutdownThis command has no arguments or keywords.
Enabled
Interface configuration
| Release | Modification |
|---|---|
10.0 | This command was first introduced |
12.0(6)S | This command invokes the pass-through mode on the DPT ring. |
Usage Guidelines
The shutdown command disables all functions on the specified interface. On serial interfaces, this command causes the data terminal ready (DTR) signal to be dropped. On Token Ring interfaces, this command causes the interface to be removed from the ring. On FDDI interfaces, this command causes the optical bypass switch, if present, to go into bypass mode.
On SRP interfaces, The shutdown command causes the interface to go into pass-through mode, logically removing it from the ring.
This command also marks the interface as unavailable. To check whether an interface is disabled, use the show interfaces EXEC command. An interface that received the shutdown command is shown as administratively down in the display from this command.
Router(config)# interface ethernet 0 Router(config-if)# shutdown Router(config-if)#
Router(config)# interface ethernet 0 Router(config-if)# no shutdown Router(config-if)#
| Command | Description |
show interfaces | Shows the status of interfaces on the router. |
To configure the clock source, use the srp clock-source interface configuration command. Use the no form of this command to restore the default srp clock-source.
srp clock-source [line | internal] [a | b]
line | Specifies the clock source as line, used when connecting a router to SONET/SDH ADM. |
internal | Specifies the clock source as internal, used when connecting between two routers over a dark fiber or over Wavelength Division Multiplexing (WDM) system. |
A | Specifies the clock source on side A of the router. |
B | Specifies the clock source on side B of the router. |
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# configure terminal Router(config)# interface srp 2/0 Router(config-if)# srp clock-source line a Router(config-if)#
| Command | Description |
show controllers srp | Shows current clock-source, in addition to other information. |
To count packets based on source mac address, use the srp count interface configuration command and specify the 48-bit source address. The counts may be viewed by the show srp or show srp source-counters EXEC commands and cleared by the clear counters srp command. You can also use the no form of this command to stop the counting.
srp count [H.H.H]
srp count H.H.H. | Specifies the 48-bit MAC address for the node that originated the packets that will be counted. |
no srp count
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# configure terminal Router(config)# interface srp 2/0 Router(config-if)# srp count 000a.1234.5678 Router(config-if)# end
| Command | Description |
Clears the packet count created by the srp count command. | |
Forces the SRP interface to reject packets sent to it by a specified source MAC address. | |
Displays SRP source-counter information, in addition to IPS and topology information. | |
Displays SRP source-counter information. |
To specify SONET/SDH overhead values for the frame header, use the srp flag interface configuration command. Use the no form of this command to restore the default srp flag.
srp flag [c2 | j0] value [a | b]
c2 value | Path signal label byte. |
j0 value | Section trace byte. For interoperability with some SDH equipment in Japan use the value 0x1. |
A | The side of a node that has outer ring receive fiber is identified as side A. |
B | The side of a node that has inner ring receive fiber is identified as side B. |
The default c2 value is 0x16, and the default j0 value is 0xCC
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only. Note that the s1s0 flag is specified indirectly by the choice of SONET or SDH framing in the srp framing command.
Router# configure terminal Router(config)# interface srp 2/0 Router(config-if)# srp flag j0 0x1 Router(config-if)#
| Command | Description |
Specifies framing for the packet header and trailer to ensure synchronization and error control. |
To specify framing for the packet header and trailer to ensure synchronization and error control, use the srp framing interface configuration command. Use the no form of this command to restore the default value for srp framing.
srp framing [sdh | sonet] [a | b]
sdh | Select SDH framing and s1s0=2 |
sonet | Select SONET framing and s1s0=0 (default) |
A | The side of a node that has outer ring receive fiber is identified as side A. |
B | The side of a node that has inner ring receive fiber is identified as side B. |
srp framing [a | b]
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# configure terminal Router(config)# interface srp 2/0 Router(config-if)# srp framing sdh
| Command | Description |
Specifies SONET/SDH overhead values. |
To initiate a forced-switch wrap on a ring, use an srp ips request forced-switch interface configuration command. Use the no form of this command to remove the wrap.
srp ips request forced-switch [a | b]
A | The side of a node that has outer ring receive fiber is identified as side A. |
B | The side of a node that has inner ring receive fiber is identified as side B. |
srp ips request forced-switch [a | b]
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# configure terminal Router(config)# interface srp2/0 Router(config-if)# srp ips request forced-switch a Router(config-if)#
| Command | Description |
Inserts a manual-switch wrap on the ring. | |
Displays current IPS wrap state, along with other information. | |
srp shutdown | Provides an alternative form of srp ips request forced-switch command. |
Displays current IPS wrap state, along with other information. | |
Displays current IPS wrap state, along with other information. | |
A user-configurable wait-to-restore interval that determines how long a wrap remains on the fiber once the original cause of the wrap has been removed. |
To insert a manual-switch wrap on the ring fiber, use an srp ips request manual-switch interface configuration command. Use the no form of the command to remove the wrap.
srp ips request manual-switch [a | b]
A | The side of a node that has outer ring receive fiber is identified as side A. |
B | The side of a node that has inner ring receive fiber is identified as side B. |
srp ips request manual-switch [a | b]
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# configure terminal Router(config)# interface srp2/0 Router(config-if)# srp ips request manual-switch b Router(config-if)#
| Command | Description |
Displays current IPS wrap state, along with other information. | |
Displays current IPS wrap state, along with other information. | |
Displays current IPS wrap state, along with other information. | |
Inserts a forced-switch request wrap on side A or B through a user-configured command. | |
An automatic or user-configurable wait-to-restore interval that determines how long a wrap remains on the fiber once the original cause of the wrap has been removed. |
To control the frequency of the transmission of ips requests, use the srp ips timer interface configuration command. Use the no form of this command to restore the default value.
srp ips timer <value> [a | b]
timer | Controls the frequency of IPS requests sent around the ring. |
value | 1- 60 value in seconds. |
A | The side of a node that has outer ring receive fiber is identified as side A. |
B | The side of a node that has inner ring receive fiber is identified as side B. |
The default setting of the IPS timer is one second.
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# configure terminal Router(config)# interface srp 2/0 Router(config-if)# srp ips timer 5 a Router(config-if)#
| Command | Description |
Displays current IPS timers, along with other information. | |
Displays current IPS timers, along with other information. | |
A user-configurable wait-to-restore interval that determines how long a wrap remains after a trigger to an automatic request, such as signal fail, has disappeared. |
To change the srp ips wait-to-restore timer from its default value, use the srp ips wtr-timer interface configuration command. Use the no form of this command to restore the default value.
srp ips wtr-timer <value>
value | 10-600 value in seconds |
60 seconds
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
When the cause of a wrap is removed, the wrap remains in place for a length of time determined by the srp wait-to-restore timer. This mechanism prevents oscillations on the DPT ring.
Router# configure terminal Router(config)# interface srp 2/0 Router(config-if)# srp ips wtr-timer 10 Router(config-if)# end
| Command | Description |
Displays current IPS timers, along with other information. | |
Displays current IPS timers, along with other information. | |
Controls the frequency of the transmission of srp ips packets. |
To configure the framer into loopback mode, use the srp loopback interface configuration command. Use the no form of this command to restore the default value.
srp loopback [internal | line] [a | b]
internal | Internal (framer) loopback. |
line | Loopback line data. |
A | The side of a node that has outer ring receive fiber is identified as side A. |
B | The side of a node that has inner ring receive fiber is identified as side B. |
No loopbacks in place.
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
![]() | Caution Using srp loopback breaks connectivity. This command is used mostly during the initial setup of the SONET link (such as a node-to-node fiber connection), or when general connectivity is not clearly and obviously achieved. You can also use the srp loopback command when fiber or equipment connections are rearranged, or if new connectivity problems arise. |
Router# configure terminal Router(config)# interface srp 2/0 Router(config-if)# srp loopback line a Router(config-if)#
| Command | Description |
Displays current loopback modes along with other information. |
To force the SRP interface to reject packets sent to it by a specified source MAC address, use the srp reject interface configuration command. Use the no form of this command to restore the default value:
srp reject [H.H.H]
H.H.H | Specifies the 48-bit MAC address for the node whose packets are to be rejected. |
no srp reject [H.H.H]
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only. If the SRP interface is instructed to reject packets by source address then this will be shown by the show srp and show srp source-counters commands.
Router# configure terminal Router(config)# interface srp 2/0 Router(config-if)# srp reject 0123.4567.0001 Router(config-if)# end
| Command | Description |
Counts packets based on a source MAC address. | |
Shows the currently rejected MAC addresses, along with other information. | |
Shows the currently rejected MAC addresses, along with other information. |
To enable reporting of selected alarms, use the srp report interface configuration command. Use the no form of this command to restore the default value.
srp report [b1-tca | b2-tca | b3-tca | lais | lrdi | pais | plop | prdi | sd-ber | sf-ber |
b1-tca | Reports B1 bit error rate (BER) threshold crossing alarm errors. |
b2-tca | Reports B2 BER threshold crossing alarm errors. |
b3-tca | Reports B3 BER threshold crossing alarm errors. |
lais | Reports line alarm indication signal errors. |
lrdi | Reports line remote defect indication errors. |
pais | Reports path alarm indication signal errors. |
plop | Reports path loss of pointer errors. |
prdi | Reports path remote defect indication errors. |
sd-ber | Reports LBIP BER in excess of signal degradation threshold. |
sf-ber | Reports LBIP BER in excess of signal failure threshold. |
slof | Reports section loss of frame errors. |
slos | Reports section loss of signal errors. |
Reporting enabled for SLOS, SLOF, and PLOP
Interface configuration
| Release | Modification |
|---|---|
10.0 | This command was introduced. |
12.0(6)S | This command generates reports on specific alarms. |
To determine which alarms are reported on the srp interface, use the show controllers srp command.
Router# configure terminal Router(config)# interface srp 2/0 Router(config-if)# srp report sd-ber Router(config-if)# srp report lais Router(config-if)#
| Command | Description |
Displays conditions to be reported along with other information. |
To shutdown an interface by entering a forced-switch, use the srp shutdown interface configuration command. Use the no form of this command to remove the forced-switch wrap near the interface.
srp shutdown [a | b]
A | The side of a node that has outer ring receive fiber is identified as side A. |
B | The side of a node that has inner ring receive fiber is identified as side B. |
srp shutdown [a | b]
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This srp shutdown command is a shorthand form of the srp ips request forced-switch interface configuration command that enters a forced-switch request and inserts a wrap on a ring. Use the no form of this command to remove the wrap on the ring. The long form, srp ips request forced-switch, will appear in the show command output.
Router# configure terminal Router(config)# interface srp 2/0 Router(config-if)# srp shutdown a Router(config-if)#
| Command | Description |
Displays current IPS wrap state along with other information. | |
Displays current IPS wrap state along with other information. | |
Displays current IPS wrap state along with other information. | |
This command is an alternate form of srp shutdown. |
To set the BER threshold values of the specified alarms for a SRP interface, use the srp threshold interface configuration command. Use the no form of this command to restore the default value.
srp threshold [b1-tca | b2-tca | b3-tca | sd-ber | sf-ber] <rate> [a | b]
b1-tca | Specifies the B1 bit error rate (BER) threshold crossing alarm. |
b2-tca | Specifies the B2 BER threshold crossing alarm. |
b3-tca | Specifies the B3 BER threshold crossing alarm. |
sd-ber | Sets the signal degrade BER threshold. |
sf-ber | Sets the signal failure BER threshold. |
rate | Specifies the bit error rate from 3 to 9 (10-n). The default is 6 for all thresholds, except for the sf-ber, where the default is 3 (that is, 10e-3). |
A | The side of a node that has outer ring receive fiber is identified as side A. |
B | The side of a node that has inner ring receive fiber is identified as side B. |
The default is 6 (10e-6) for all thresholds except for sf-ber, where the default is 3 (10e-3).
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# configure terminal Router(config)# interface srp 3/0 Router(config-if)#srp threshold sd-ber 8 a Router(config-if)#srp threshold b1_tca 4 a Router(config-if)# end Router#
| Command | Description |
show controllers srp | Shows current alarm thresholds, along with other information. |
Controls reporting of selected alarms. |
To specify the frequency of the topology timer, use the srp topology-timer interface configuration command. Use the no form of this command to restore the default value.
srp topology-timer <value>
value | 1-600 value in seconds. |
The default value for the topology timer is10 seconds.
Interface configuration
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
The srp topology-timer interface configuration command and a specified value determines how frequently topology discovery messages are sent around the ring to identify the current nodes on the DPT ring.
Router# configure terminal Router(config)# interface srp 2/0 Router(config-if)# srp topology-timer 100 Router(config-if)#
| Command | Description |
Displays current topology and topology timer, along with other information. | |
Displays current topology and topology timer, along with other information. |
Use the following debug srp commands if you recognize configuration problems that need debugging, such as loss of packets, cyclic redundancy check (CRC) errors, card resets, alarms, and so on. This section describes the following debug commands:
To display SRP interface protocol errors and error statistics, use the debug srp error privileged EXEC command.
[no] debug srp error
srp error | Displays errors from all SRP interfaces on the ring. |
no debug srp error
Privileged EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
The debug srp error command generates the following output:
Router# debug srp error Router#
| Command | Description |
Debugs information on a specific SRP packet. | |
Debugs a specific periodic activity. | |
Examines ring topology information. |
To debug an SRP interface on the ring, use the debug srp ips privileged EXEC command.
[no] debug srp ips
srp ips | Displays IPS request messages. |
no debug srp ips
Privileged EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# debug srp ips Router#
| Command | Description |
Displays SRP interface protocol errors and error statistics. | |
Debugs information on a specific SRP packet. | |
Debugs a specific periodic activity. | |
Examines ring topology information. |
To display information about how to debug a specific SRP packet, use the debug srp packet privileged EXEC command and specify the MAC address of the SRP interface.
[no] debug srp packet
srp packet | Determines which packet was rejected from the source node. |
no debug srp packet
Privileged EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# debug srp packet 000b.1234.5678 Router#
| Command | Description |
Displays SRP interface protocol errors and error statistics. | |
Debugs a specific periodic activity. | |
Examines ring topology information. |
To debug a specific periodic activity, use the debug srp periodic privileged EXEC command.
[no] debug srp periodic
srp periodic | Checks the frequency of IPS requests and topology messages. |
no debug srp periodic
Privileged EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
This command applies to SRP interfaces only.
Router# debug srp periodic Router#
| Command | Description |
Displays interface protocol errors and error statistics. | |
Debugs a specific periodic activity. | |
Examines ring topology information. |
To examine ring topology information, use the debug srp topology privileged EXEC command.
[no] debug srp topology
srp topology | Provides information on topology messages that identify nodes on the ring. |
no debug srp topology
Privileged EXEC
| Release | Modification |
|---|---|
12.0(6)S | This command was first introduced. |
Router# debug srp topology Router#
| Command | Description |
Displays SRP interface protocol errors and error statistics. | |
Debugs a specific periodic activity. | |
Examines ring topology information. |
The following terms and acronyms are used in reference to the 1OC-12/STM-4 SRP line card:
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Nov 15 13:23:59 PST 1999
Copyright 1989-1999©Cisco Systems Inc.