SGSN Command
SGSN Command
The commands in this section are for certain operator-specific, SGSN D-node implementations only. These commands are not to be used for any other type of standard, SGSN-related configuration, or to configure any GGSN services.
MWR-109
Syntax Description
Defaults
Command Modes
Privileged EXEC
Command History
Modification This command was introduced. This command was integrated in Cisco IOS Release 12.1(3)T.
Usage Guidelines
Use the clear gprs isgsn statistics command to clear the current GPRS iSGSN statistics. This command clears the counters that are displayed by the show gprs isgsn statistics command.
Examples
MWR-110
Syntax Description
Defaults
Command Modes
Privileged EXEC
Command History
Modification This command was introduced. This command was integrated in Cisco IOS Release 12.1(3)T.
Usage Guidelines
Use the clear l2relay statistics command to clear the current l2relay statistics.
Examples
Related Commands
Description Clears the Layer 2 Relay topology map for the SGSN.
MWR-111
Syntax Description
Defaults
Command Modes
Privileged EXEC
Command History
Modification This command was introduced. This command was integrated in Cisco IOS Release 12.1(3)T.
Usage Guidelines
The SGSN module maintains a l2relay topology map that the router uses to keep a list of the unit IDs (UIDs) of the SGSN-datacom (SGSN-D) and SGSN-telecom (SGSN-T) units with which it can communicate. UIDs are added to the topology map when the router receives self-ID packets from SGSN-D and SGSN-T units on the network. For debugging purposes, it may be useful to clear the Layer 2 Relay topology map. Using the clear l2relay topology-map command clears all of the data structures in the list of SGSN units so that the list can be rebuilt. Normally you will not need to use this command. If problems with the SGSN are encountered, Cisco technical support personnel may request that you clear the Layer 2 Relay topology map.
Examples
The following example clears the l2relay topology map for the SGSN:
router# clear l2relay topology-map
Related Commands
Description Clears the l2relay statistics for the SGSN (SGSN D-node only).
MWR-112
l2relay echo-interval
To specify the interval at which the SGSN sends l2relay keepalive messages, use the l2relay echo-interval global configuration command. To restore the default value for the echo interval (10 seconds) use the no form of the command (SGSN D-node only). l2relay echo-interval seconds no l2relay echo-interval
Syntax Description
seconds
The length of the echo interval, in seconds. Specify a value between 1 and 360 seconds. The default is 10 seconds.
Defaults
10 seconds
Command Modes
Global configuration
Command History
Modification This command was introduced. This command was integrated in Cisco IOS Release 12.1(3)T.
Usage Guidelines
Use the l2relay echo-interval command to specify the interval at which the SGSN sends Layer 2 Relay keepalive messages. The SGSN module uses the proprietary l2relay protocol in conjunction with the intra-Serving GPRS Support Node (iSGSN) protocol for communication between the SGSN-datacom (SGSN-D) and SGSN-telecom (SGSN-T) units that comprise the SGSN. Each SGSN-D or SGSN-T unit periodically sends out keepalive messages (echo requests) to the other SGSN units to inform them that it is functioning. You can fine-tune the performance of the nodes that comprise the SGSN by adjusting the echo interval value. To restore the default value for the echo interval (10 seconds) use the no form of the command.
Examples
The following example shows an interval of 15 seconds between Layer 2 Relay keepalive messages:
l2relay echo-interval 15
MWR-113
l2relay flow-control
To specify quench threshold and resume threshold percentages that determine when the l2relay protocol begins and ends flow control processing, use the l2relay flow-control global configuration command. To restore the default values for flow control processing, use the no form of the command (SGSN D-node only). l2relay flow-control {enable | quench-threshold | resume-threshold} no l2relay flow-control
Syntax Description
Enables flow control. The percentage of congestion that triggers flow control processing. The percentage of congestion that triggers resumption of normal processing.
Defaults
The default value for the quench-threshold argument is 80. The default value for the resume-threshold argument is 20.
Command Modes
Global configuration
Command History
Modification This command was introduced. This command was integrated in Cisco IOS Release 12.1(3)T.
Usage Guidelines
If you have enabled Layer 2 Relay flow-control processing using the l2relay flow-control enable command, you can use the l2relay flow-control command to specify congestion percentages that trigger flow control processing or resumption of normal Layer 2 Relay processing. The quench-threshold argument specifies the congestion percentage that must be reached before flow-control processing begins. For example, if you specify 60 for the quench-threshold argument, then the SGSN initiates flow control when Layer 2 Relay processing becomes 60% congested. The resume-threshold argument specifies the congestion percentage that must be reached before normal Layer 2 Relay processing is resumed. For example, if you specify 40 for the resume-threshold argument, then the SGSN resumes normal Layer 2 Relay processing when the congestion percentage decreases to 40%.
Examples
MWR-114
l2relay pilot-uid
To specify the unit ID of an SGSN-T node to which packets with unknown destination information are transmitted, use the l2relay pilot-uid global configuration command. To delete the pilot UID, use the no form of the command (SGSN D-node only). l2relay pilot-uid uid no l2relay pilot-uid
Syntax Description
uid
Number between 1 and 32 that specifies unit ID for the pilot unit. The default is 0xFF.
Defaults
Command Modes
Global configuration
Command History
Modification This command was introduced. This command was integrated in Cisco IOS Release 12.1(3)T.
Usage Guidelines
Each router that is running an SGSN module is assigned a unit ID as part of SGSN configuration. In the event that a packet comes in for an unknown SGSN, the receiving SGSN sends the packet to a unit designated as the pilot SGSN-T unit. Use the l2relay pilot-uid command to specify the SGSN-T unit to which packets with unknown destination information are transmitted.
Examples
MWR-115
l2relay use-interface
To specify the physical interfaces used by the l2relay protocol running on the SGSN, use the l2relay use-interface global configuration command (SGSN D-node only). l2relay use-interface interface_1 [interface_2]
Syntax Description
interface_1 interface_2
Interface that is used by the Layer 2 Relay protocol. A secondary interface that can be used by the Layer 2 Relay protocol.
Defaults
Command Modes
Global configuration
Command History
Modification This command was introduced. This command was integrated in Cisco IOS Release 12.1(3)T.
Usage Guidelines
Use the l2relay use-interface command to specify one or more interfaces that the Layer 2 Relay protocol uses to communicate with the SGSN-T and SGSN-D units that comprise the SGSN.
Examples
The following example shows the configuration for a Fast Ethernet interface (FastEthernet3/0) and the l2relay use-interface command that specifies use of that interface.
interface FastEthernet3/0 ip address 5.0.0.55 255.0.0.0 no ip directed-broadcast no ip mroute-cache no keepalive ! l2relay use-interface FastEthernet3/0
MWR-116
Syntax Description
Defaults
Command Modes
Privileged EXEC
Command History
Modification This command was introduced. The Local Rejected PDPs field was added to the output display. This command was integrated in Cisco IOS Release 12.1(3)T.
Usage Guidelines
The processing nodes that comprise the SGSN communicate using the proprietary iSGSN Protocol. Each SGSN component running on a Cisco 7200 series router maintains statistical information about the status of the service. Use the show gprs isgsn statistics command to display status information about the iSGSN Protocol.
Examples
The following example shows output from the show gprs isgsn statistics command:
router# show gprs isgsn statistics Input Packets: Output Packets: Input Drops: Out Errors: 16 16 4 0 Bytes: Bytes: Out Drops: Local Rejected PDPs: 864 752 0 0
Field Input Packets, Bytes Output Packets, Bytes Input Drops Out Drops
Description Number of input packets and total bytes. Number of output packets and total bytes. Number of dropped input packets. Number of dropped output packets.
MWR-117
Table 12
Description Number of output errors. Number of GTP create PDP contexts rejected by the D-node (supports SMG-28 standards level and later).
Related Commands
Description Displays statistics that show the status of the Layer 2 Relay Protocol running on the SGSN.
MWR-118
Syntax Description
Defaults
Command Modes
Privileged EXEC
Command History
Modification This command was introduced. This command was integrated in Cisco IOS Release 12.1(3)T.
Usage Guidelines
Use the show l2relay statistics command to display statistical and other information about the Layer 2 Relay protocol running on the SGSN, including the following information:
Layer 2 Relay Protocol configuration and performance The topology of the SGSN components Data throughput on the SGSN components
Examples
The following example shows output from the show l2relay statistics command:
router# show l2relay statistics l2relay uid = 3 l2relay echo-time = 10 l2relay reset_value = 164 l2relay_inputQ len = 0 l2relay_flow_quench at 80 % l2relay pilot_uid = 1 unit-type = D flow control enable = 1 l2rly_pak_drop = 0 l2relay_mgmtQ len = 0 resume at 20 %
l2relay topology: ----------------------------------------------------------------FastEthernet3/0 Type UID mac_address1 Tx/Rx mac_address2 Tx/Rx Cngst OQlen D 3 0050.2a53.0854 1/1 0000.0000.0000 0/0 0 0 T 1 0040.05a2.26cb 1/1 0000.0000.0000 0/0 0 0 l2relay accounting: -----------------------------------------------------------Type UID Byte_out/Pak_out Byte_in/Pak_in D 3 16936/542 0/0 T 1 0/0 0/0
MWR-119
Table 13 describes the fields shown in the first part of the display.
Table 13 show l2relay statistics Field Descriptions
Field l2relay uid unit-type l2relay echo-time flow control enable l2relay reset_value l2rly_pak_drop l2relay_inputQ len l2relay_mgmtQ len l2relay_flow_quench at resume at l2relay pilot_uid
Description Unit ID of the SGSN component running on the router. Type of SGSN unit running on the router: D indicates an SGSN-D unit; T indicates an SGSN-T unit. Configured value for the Layer 2 Relay echo interval. Indicates whether flow control is enabled on the SGSN unit: 0 indicates flow control is enabled; 1 indicates it is disabled. Number of times that the SGSN D-unit or T-unit has been reset. Number of packets dropped by the Layer 2 Relay Protocol module. Current length of the Layer 2 Relay input queue. Current length of the Layer 2 Relay management queue. Current Layer 2 Relay quench percentage setting. Current Layer 2 Relay resume percentage setting. Currently configured Layer 2 Relay pilot unit ID.
The second part of the output from show l2relay statistics shows Layer 2 Relay topology information about each SGSN unit that is running. Table 14 describes the fields shown in the l2relay topology section of the display.
Table 14 show l2relay statistics Field Descriptions
Field Cngst
Interface name mac_address1 mac_address2 OQlen Tx/Rx (first field) Tx/Rx (second field)
Name of the interface specified in the l2relay use-interface command. In the example, the interface is the FastEthernet3/0 interface. MAC address of the first interface configured with the l2relay use-interface command. MAC address of the second interface configured with the l2relay use-interface command (if one is configured). Current length of the output queue. Number of packets transmitted and received over this interface. Path status indicator for the transmit (Tx) and receive (Rx) path, with the following values:
MWR-120
Table 14
Field Type
UID
Unit identifier.
The last part of the output from the show l2relay statistics command shows Layer 2 Relay accounting information for each SGSN unit. Table 15 describes the fields shown in the l2relay accounting section of the display.
Table 15 show l2relay statistics Field Descriptions
Description Number of bytes/packets received by this unit. Number of bytes/packets transmitted by this unit. Type of SGSN unit, with the following values:
UID
Unit identifier.
MWR-121
MWR-122