Table Of Contents
cc
cd
clidbxlevel
clradjlnalmcnt
clrallcnf
clralmcnt
clrbecnt
clrchancnt
clrchancnt
clrchancnts
clrcnf
clrconntracebuffer
clrconntracebuffers
clrcugdefaddr
clrdiagerr
clrdiagstat
clrerr
clrerrhist
clrimadelay
clrimagrpcnt
clrimagrpcnts
clrimalnkcnt
clrimalnkcnts
clrilmicnt
clrlncnt
clrlog
clrloginmsg
clrnodalconstats
clrpathtracebuffer
clrpathtracebuffers
clrpncon
clrpnconstats
clrportcnt
clrportconstats
clrqosdefault
clrscrn
clrsigstats
clrsmcnf
clrsntpstats
clrspvcnonpers
clrsrmcnf
clrsscopstats
clrxbaralm
clrxbarerrcnt
cc
Change Card—PXM45, PXM1E
Use the cc command to change from the current CLI to the CLI of another card.
Syntax
cc <slot number>
Syntax Description
slot number
|
The number of the destination card slot.
|
Related Commands
None
Attributes
Log: yes
|
State: active, standby, init
|
Privilege: ANYUSER
|
Example
Change from the command line of the AXSM in slot 12 to the command line of the PXM45 in slot 8.
If the slot is empty or the card is unreachable, the system displays an applicable message.
cd
Change Directory—PXM45, PXM1E
Use cd to change to another directory on the PXM45 hard disk.
Syntax
cd <directory_name>
Syntax Description
directory_name
|
Name of the destination directory.
|
Related Commands
ls, pwd, rename, rm/rmdir, copy
Attributes
Log: yes
|
State: active, standby, init
|
Privilege: ANYUSE
|
Example
Change directory to FW, then check the result by executing pwd.
Verify the current directory by using the pwd command.
Go back to Root directory, then check the result by running the pwd command.
C:
clidbxlevel
Command Line Interface Level—PXM45, PXM1E
The clidbxlevel command lets you display the attributes for a command. You must run clidbxlevel on each card where you want to change the level of displayed information. For example, if you use clidbxlevel on an AXSM in slot 2 and want to see the same level of information in slot 8, you must run clidbxlevel on the CLI in slot 8 and make the appropriate change. The attributes consist of:
•
The required card state for execution
•
The minimum user-privilege for the command
•
Whether an incident of command execution appears in a log file
Syntax
clidbxlevel [level]
Syntax Description
level
|
The level is either 0-3. If you do not include a level, the system states the current level.
|
Related Commands
None
Attributes
Log: no
|
State: active, standby, init
|
Privilege: SERVICE_GP
|
Example
Specify level 1 for the CLI. Obtain attributes for all "user" commands.
pop20one.7.PXM.a > clidbxlevel 1
Value of cliDbxLevel is now 1
---------------------------------------------------
users ANYUSER A|S -
clradjlnalmcnt
Clear Adjacent Card Alarm Count—PXM45, PXM1E
The clradjlnalmcnt command lets you clear the statistical alarms and alarm counters for the adjacent back card in an automatic protection system (APS) configuration.
Note
The clradjlnalmcnt command works for only inter-card APS.
Syntax
clradjlnalmcnt <bay.line>
Syntax Description
bay.line
|
Identifies the bay (1 or 2) and the number of the line. The line number can be 1 to the highest numbered line on the back card.
|
Related Commands
dspadjlnalm, dspadjlnalmcnt
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
On the card in slot 3, clear the alarm count for the card adjacent to bay 1, line 1. Check the alarm status for the same adjacent bay and line.
MGX8850.3.AXSME.a > clradjlnalmcnt 1.1
MGX8850.3.AXSME.a > dspadjlnalm 1.1
Section Alarm State : Clear
Section Stat Alarm State: Clear
Line Stat Alarm State : Clear
Path Stat Alarm State : Clear
clrallcnf
Clear All Configurations—PXM45, PXM1E
The clrallcnf command clears all configurations for all the cards in the node. After you enter the command, the system prompts you to confirm the action.
Note that the presence of SCT files on the hard drive are a part of the switch's configuration, so these files are deleted. You must reinstall SCT files by using the addsct command unless the configuration was saved through the saveallcnf command.
Before using the clrallcnf command, consider whether the situation calls for you to run the saveallcnf command before the clrallcnf command.
Caution 
Be absolutely sure you need to use this command because it clears all configuration files on the PXM. After
clrallcnf, you must reconfigure the switch. The
clrcnf command clears fewer files.
Syntax
clrallcnf
Related Commands
saveallcnf, restoreallcnf, clrcnf
Attributes
Log: yes
|
State: active, init
|
Privilege: SERVICE_GP
|
Example
Clear all the configuration elements for all the cards in the node.
node1.7.PXM.a > clrallcnf
All SM's config will be deleted, and
Do you want to proceed (Yes/No)?
clralmcnt
Clear Alarm Counters—PXM45, PXM1E
Clear all the alarm counters and statistics on the specified line on the current card. All counters are reset to 0. All statistical alarms that are displayed by dspalms and dspalmcnt are cleared. The system does not display a response unless it detects a syntax error.
Syntax
clralmcnt <bay.line>
Syntax Description
bay.line
|
Identifies the bay (1 or 2) and the number of the line. The line number can be 1 to the highest numbered line on the back card.
|
Related Commands
dspalmcnt
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Clear the alarms on line 1 or the lower back card.
mgx8830.1.PXM1E.a > clralmcnt 2.1
clrbecnt
Clear Bit Error Count—PXM45, PXM1E
The clrbecnt command lets you clear the APS-related bit error counters for a working line. To see the contents of the error counters, use the dspbecnt command.
Syntax
clrbecnt <working-bay.line>
Syntax Description
working-slot
|
The slot number depends on the chassis as well as the type of card, as follows:
• For PXM45 in an MGX 8850 chassis, slot is 15 or 31.
• For PXM1E in an MGX 8850 chassis:
– For the UNI/NNI back card, slot is 7.
– For the SRME, slot is 15 or 31.
• For PXM1E in an MGX 8830 chassis:
– For the UNI/NNI back card, slot is 1.
– For the SRME, slot is 7.
|
bay
|
The bay number is present only for consistency with legacy purposes (the slot number uniquely identifies the location of the card) The bay is a fixed logical number that depends on the card, as follows:
• For SRME, bay always is 1.
• For the PXM1E interface, bay always is 2.
|
line
|
On the PXM1E OC3c/STM1 back card, the line depends on the back card type, as follows:
• 9-12 on the combo card
• 1-4 on the regular, 4-line card
• 1-8 on the regular, 8-line card
On an SRME, the line number always is 1.
|
Related Commands
dspbecnt
Attributes
Log: no
|
State: active
|
Privilege: SERVICE_GP
|
Example
Sunnyvale.5.AXSME.a > clrbecnt 1.3
Do you want to clear the bit error count in line 4.1.3 [Y/N]? y
The Count for line 4.1.3 is cleared
Do you want to clear the bit error count in line 5.1.3 [Y/N]? y
The Count for line 5.1.3 is cleared
clrchancnt
Clear Channel Counters—PXM1E
Clear all counters for ATM cells on a connection (channel). The command applies to an SVC or an SPVC. For a list of displayed counters, see the example of dspchancnt. Once you execute clrchancnt, the previous counter contents are unrecoverable.
Note
This command also runs on narrowband service modules (NBSMs) under control of the PXM1E. See documentation for specific NBSMs.
Syntax
clrchancnt <ifNum> <vpi> <vci>
Syntax Description
ifNum
|
The logical port number has a range of 1-31.
|
vpi
|
The VPI has the range 0-255 for a UNI or 0-4095 for a UNI or VNNI.
|
vci
|
For a VCC, the VCI in the range 32-65535. For a VPC, the VCI is 0.
|
Related Commands
dspchancnt
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Clear all the connection counters for connection 100.1000 on logical port 3.
node1.7.PXM1E.a > clrchancnt 3 100 1000
clrchancnt
Clear Channel Counters—PXM1E
Clear all counters for ATM cells on a connection (channel). The command applies to an SVC or an SPVC. For a list of displayed counters, see the example of dspchancnt. Once you execute clrchancnt, the previous counter contents are unrecoverable.
Note
This command also runs on narrowband service modules (NBSMs) under control of the PXM1E. See documentation for specific NBSMs.
Syntax
clrchancnt <ifNum> <vpi> <vci>
Syntax Description
ifNum
|
The logical port number has a range of 1-31.
|
vpi
|
The VPI has the range 0-255 for a UNI or 0-4095 for a UNI or VNNI.
|
vci
|
For a VCC, the VCI in the range 32-65535. For a VPC, the VCI is 0.
|
Related Commands
dspchancnt
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Clear all the connection counters for connection 100.1000 on logical port 3.
node1.7.PXM1E.a > clrchancnt 3 100 1000
clrchancnts
Clear Channel Counters—PXM1E
Clears the statistics counters on all connections.
Syntax
clrchancnts
Syntax Description
This command takes no parameters.
Related Commands
dspchancnt, clrchancnt
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Clear all channel counters.
SunnyVale.7.PXM1E.a > clrchancnts
clrcnf
Clear Configurations—PXM45, PXM1E
Clears the configuration then reboots the switch. This command restarts the switch with a new configuration but keeps the basic configuration for the switch—IP connectivity, for example. The clrcnf command is useful if you frequently reset the switch but do not want to reconfigure basic settings. The information that is deleted and the retained information appear in the lists that follow.
The items that clrcnf clears is the:
•
Connections
•
Line and port configurations
•
Resource partitioning
•
Redundancy configuration for Y-cable or APS
•
ATM address and PNNI configuration
•
Other physical and logical provisioning
The following information is automatically saved then restored after reboot:
•
IP address information for LAN, ATM, and SLIP
•
SVC address information for ATM port for IP connectivity
•
PVC address information for ATM port for IP connectivity
•
Up to 51 records for user ID (login), passwords, and access levels
•
CLI special configuration options (cntpAuthParams)
•
One record for user-authentication parameters
•
One record for long or short warnings for user-login
•
Up to 25 records of user IDs
•
RTMData (trap configuration for shelf IP and trap managers)
•
Trap manager IP/port
•
One record for shelf trap IP
•
Correct primary and secondary software version for all slots
•
SNMP community string, contact and location
•
Node name
•
Date, time, time zone, and GMT offset
Caution 
Be sure you actually need to run
clrcnf because it clears a significant number of configuration files. After you enter the command, the system prompts you to confirm the action.
Syntax
clrcnf
Syntax Description
This command takes no parameters.
Related Commands
None
Attributes
Log: no
|
State: active
|
Privilege: SERVICE_GP
|
Example
Clear all the configuration elements for all the cards in the node. The system prompts for confirmation.
All SM's disk config will be deleted, and
Do you want to proceed (Yes/No)?
clrconntracebuffer
Clear Connection Trace Buffer—PXM45, PXM1E
The clrconntracebuffer command clears the trace buffer for an individual connection trace. The conntrace command starts the trace, and the dspconntracebuffer displays the results of the trace. The dspconntracebuffers command lists all existing connection traces.
Syntax
clrconntracebuffer <portid> <vpi> <vci>
Syntax Description
portid
|
The format of the PNNI physical port identifier can vary, as follows:
• On a PXM45: slot:subslot.port:subport
• On a PXM1E for UNI/NNI back card: slot:subslot.port:subport. On the UNI/NNI back card, the subslot is always 2, but the slot depends on the chassis, as follows:
– In an MGX 8850 chassis, slot is always the logical slot 7.
– In an MGX 8830 chassis, slot is always the logical slot 1.
• On a PXM1E for a narrowband service module (NBSM): slot.port.
For more details, see the section, "PNNI Format," in "Introduction."
|
vpi
|
The VPI of the connection.
|
vci
|
The VCI of the connection.
|
Related Commands
conntrace, clrconntracebuffers, dspconntracebuffer, dspconntracebuffers
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
clrconntracebuffers
Clear Connection Trace Buffers—PXM45, PXM1E
The clrconntracebuffers command clears the entire connection trace buffer. The buffer can hold up to 100 connection traces. To see a list of all connection traces, use the dspconntracebuffers command.
Syntax
clrconntracebuffers
Syntax Description
This command takes no parameters.
Related Commands
conntrace, clrconntracebuffer, dspconntracebuffer, dspconntracebuffers
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
clrcugdefaddr
Clear CUG Default Address—PXM45
The clrcugdefaddr command lets you remove the designation of default address prefix from a PNNI port. This default address prefix supports a validation function for the Closed User Group (CUG) features. When this command finishes, any CUGs on the cleared address remain, but the address is no longer the default. See the setcugdefaddr description for details on the default address for CUGs.
Syntax
clrcugdefaddr <portid>
Syntax Description
portid
|
The format of the physical port identifier can vary, as follows:
• On a PXM45: slot:subslot.port:subport
• On a PXM1E for UNI/NNI back card: slot:subslot.port:subport. On the UNI/NNI back card, the subslot is always 2, but the slot depends on the chassis, as follows:
– In an MGX 8850 chassis, slot is always the logical slot 7.
– In an MGX 8830 chassis, slot is always the logical slot 1.
• On a PXM1E for a narrowband service module (NBSM): slot.port.
For more details, see the section, "PNNI Format," in "Introduction."
|
Related Commands
addcug, cnfcug, cnfaddrcug, cnfnodecug, delcug, dspaddrcug, dspcug, dspcugdefaddr, dspnodecug, setcugdefaddr
Attributes
log: yes
|
State: active
|
Privilege: GROUP1
|
Example
Clear the default CUG address from port 3:1.7:7.
Geneva.7.PXM.a > clrcugdefaddr 3:1.7:7
clrdiagerr
Clear Diagnostics Errors—PXM45, PXM1E
Clears all diagnostics error messages that are currently in memory.
Note
See the cnfdiag description for information on the diagnostic configuration.
Syntax
clrdiagerr <slot>
Syntax Description
slot
|
The physical slot of the card for which to clear the diagnostics errors.
|
Related Commands
dspdiagerr
Attributes
Log: no
|
State: active, standby
|
Privilege: SERVICE_GP
|
Example
Clear diag errors for slot 7.
clrdiagstat
Clear Diagnostics Statistics—PXM45, PXM1E
This command clears all the diagnostic statistics currently in memory. The diagnostics statistics program keeps count of how many times the diagnostics have run.
Note
See the cnfdiag command for a description of the diagnostic configuration.
Syntax
clrdiagstat <slot>
Syntax Description
slot
|
The physical slot for which you are clearing the diagnostics statistics.
|
Related Commands
dspdiagstat
Attributes
Log: yes
|
State: active, standby
|
Privilege: SERVICE_GP
|
Example
Clear the diagnostic statistics for slot 8 then check the statistics by using dspdiagstat.
PXM1E_SJ.8.PXM.a > clrdiagstat 8
PXM1E_SJ.8.PXM.a > dspdiagstat 8
Slot 8 diagnostics statistics:
online diag attempted = 0x00000000
online diag passed = 0x00000000
online diag failed = 0x00000000
offline diag attempted = 0x00000000
offline diag passed = 0x00000000
offline diag failed = 0x00000000
clrerr
Clear Error—PXM45, PXM1E
Clear all error log files. After you execute clrerr, the information is unrecoverable. The cleared information consists of system-level or internal errors and so applies more to developers and individuals capable of internal troubleshooting. To see the information that clrerr removes, see dsperr.
After you enter clrerr, the system prompts you to confirm that you want to clear all error log files.
Syntax
clrerr <-s1 slot>
Syntax Description
-sl
|
Number of the slot. The value of slot is any slot in the switch.
|
Related Commands
dsperr
Attributes
Log: no
|
State: active, standby
|
Privilege: SUPER_GP
|
Example
Clear all error log files on the PXM45.
pinnacle.7.PXM.a > clrerr
Do you want to clear error log file (Yes/No)?
clrerrhist
Clear Error History—PXM45, PXM1E
The clrerrhist commands resets the contents of the error history file for a particular card. Although you execute this command on the CLI of the PXM, you can specify the error history of any slot. For a list of the information fields in an error history file, see the description of dsperrhist.
Syntax
clrerrhist [slot]
Syntax Description
slot
|
Number of the slot—any slot in the switch. If you do not enter a slot number, the system clears the error history on the current PXM.
|
Related Commands
dsperrhist
Attributes
Log: no
|
State: active, standby, init
|
Privilege: ANYUSER
|
Example
Clear the error history for the current PXM. The system returns a message indicating whether the operation succeeded.
pop20one.7.PXM.a > clrerrhist 7
Log of Errors and Failures for slot# 7 is cleared
clrimadelay
Clear IMA Delay—PXM1E
The clrimadelay command clears the accumulated delay for an IMA group. The delay is specified through the addimagrp command.
Syntax
clrimadelay <group>
Syntax Description
group
|
The group has the format bay.group and the following possible values:
• bay: always 2 on a PXM1E
• group: 1-16
|
Related Commands
addimagrp, delimagrp, dspimagrp, dspimagrps, cnfimagrp, rstimagrp, dspimalnk, addimalnk, delimalnk
Attributes
Log: yes
|
State: active
|
Privilege: GROUP1
|
Example
clrimagrpcnt
Clear IMA Group Counter—PXM1E
This command clears all performance and statistic counters of an IMA group.
Syntax
clrimagrpcnt <group>
Syntax Description
group
|
The group has the format bay.group and the following possible values:
• bay: always 2 on a PXM1E
• group: 1-16
|
Related Commands
addimagrp, delimagrp, dspimagrp, dspimagrps, cnfimagrp, rstimagrp, dspimalnk, addimalnk, delimalnk
Attributes
Log: yes
|
State: active
|
Privilege: GROUP1
|
Example
Clear IMA group counter bay 2, group 16:
MGX8850.7.PXM1E.a > clrimagrpcnt 2.16
clrimagrpcnts
Clear IMA Group Alarm Counters—PXM1E
Clears all the alarm counters for all configured IMA groups.
Syntax
clrimagrpalmcnts
Syntax Description
No parameters
Related Commands
clrimagrpalmcnt, clrimagrpcnts, clrimalnkcnts, dspimagrpalmcnt, dspimagrpbucketcnt, dspimalnkbucketcnt
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
MGX8850.7.PXM1E.a > clrimagrpalmcnts
clrimalnkcnt
Clear IMA Link Counter—PXM1E
This command clears all IMA Link performance and statistic counters on the specified DS1 (link).
Syntax
clrimalnkcnt <link>
Syntax Description
link
|
The link has the format bay.link and the following possible values:
• bay: always 2 on a PXM1E
• link: 1-16
|
Related Commands
clrimalnkcnts, dspimagrp, dspimagrps, dspimagrpcnt, addimalnk, delimalnk, dspimalnk
Attributes
Log: yes
|
State: active
|
Privilege: GROUP1
|
Example
To clear the link designated as bay 2, ds1 line 16:
MGX8850.7.PXM1E.a > clrimalnkcnt 2.16
clrimalnkcnts
Clear IMA Alarm Counts
Clears the link counters for all configured IMA links.
Syntax
clrimalnkcnts
Syntax Description
No parameters
Related Commands
clrimagrpalmcnt, clrimagrpalmcnts, clrimagrpcnts, dspimagrpalmcnt, dspimagrpbucketcnt, dspimalnkbucketcnt
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
MGX8850.7.PXM1E.a > clrimalnkcnts
clrilmicnt
Clear ILMI Counters—PXM1E
Clears the ILMI statistics for a partition and logical interface (or port) on a service module.
Syntax
clrilmicnt <ifNum> <partId>
Syntax Description
ifNum
|
The range for logical interface is 1-31.
|
partId
|
The ranges for partition identifier is 1-20.
|
Related Commands
dspilmicnt, dspilmi, dspilmis
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Examples
Clear the ILMI statistics for logical interface 1, resource partition 1. Before doing so, confirm the existence of these entities by executing dspparts.
pop20two.1.AXSM.a > dspparts
if part Ctlr egr egr ingr ingr min max min max min max
Num ID ID GuarBw MaxBw GuarBw MaxBw vpi vpi vci vci conn conn
(.0001%)(.0001%)(.0001%)(.0001%)
-----------------------------------------------------------------------------
1 1 2 10000 10000 10000 10000 10 100 100 1000 0 10
pop20two.1.AXSM.a > clrilmicnt 1 1
ilmi stats for ifNum 1, partId 1 cleared
clrlncnt
Clear Line Counters—PXM1E
The clrlncnt command clears line counters. See dsplncnt for descriptions of the counters. The system returns a response only if an error occurs.
Syntax
clrlncnt <bay.line>
Syntax Description
bay.line
|
Identifies the bay and the number of the line.
• bay is always 2.
• line can be 1 to the highest numbered line on the back card.
|
Related Commands
dsplncnt
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
clrlog
Clear Log—PXM45, PXM1E
Use the clrlog command to clear either a specific log file or all log files. The log resumes accumulating event messages after the command executes.
Syntax
clrlog [-log <log>]
Syntax Description
-log
|
Specifies the type of log file (log) to clear. See dsplog for a list of the types of logs files.
|
Related Commands
dsplog, dsplogs
Attributes
Log: yes
|
State: active, standby
|
Privilege: SUPER_GP
|
Example
Clear all event log files on the PXM45 card.
Do you want to clear log files (Yes/No)? y
clrloginmsg
Clear Login Message—PXM45, PXM1E
The clrloginmsg command lets you delete the message that appears when any user logs into the switch. See the cnfloginmsg description for details about login messages. Use the dsploginmsg command to see the login message.
Syntax
clrloginmsg
Syntax Description
This command takes no parameters.
Related Commands
dsploginmsg, cnfloginmsg
Attributes
Log: yes
|
State: active, standby, init
|
Privilege: ANYUSER
|
Example
Delete the login message, then confirm that no login message exists by using dsploginmsg.
M8950_DC.7.PXM.a > clrloginmsg
M8950_DC.7.PXM.a > dsploginmsg
clrnodalconstats
Clear Nodal Connection Statistics—PXM45, PXN1E
The clrnodalconstats command clears certain node-level, SPVC-related statistics. The statistics are the number of SPVCs that have been successfully routed and the number of SPVCs have failed to route from the current node since the last time the statistics were cleared.
Syntax
clrnodalconstats
Syntax Description
This command takes no parameters.
Related Commands
dspnodalconstats, dspportconstats, clrportconstats
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
After checking the nodal SPVC statistics, clear these statistics and again check the statistics.
PXM1E_SJ.7.PXM.a > dspnodalconstats
SPVC connection stats for this node
-----------------------------------
Num con success at orig node: 75620
Num con fail at orig node : 39578
PXM1E_SJ.7.PXM.a > clrnodalconstats
PXM1E_SJ.7.PXM.a > dspnodalconstats
SPVC connection stats for this node
-----------------------------------
Num con success at orig node: 0
Num con fail at orig node : 0
clrpathtracebuffer
Clear Path Trace Buffer—PXM45, PXM1E
The clrpathtracebuffer command clears the path trace buffer for an individual connection.
Syntax
clrpathtracebuffer <portid> <vpi> <vci>
Syntax Description
portid
|
The format of the PNNI physical port identifier can vary, as follows:
• On a PXM45: slot:subslot.port:subport
• On a PXM1E for UNI/NNI back card: slot:subslot.port:subport. On the UNI/NNI back card, the subslot is always 2, but the slot depends on the chassis, as follows:
– In an MGX 8850 chassis, slot is always the logical slot 7.
– In an MGX 8830 chassis, slot is always the logical slot 1.
• On a PXM1E for a narrowband service module (NBSM): slot.port.
For more details, see the section, "PNNI Format," in "Introduction."
|
vpi
|
The VPI of the connection.
|
vci
|
The VCI of the connection.
|
Related Commands
clrpathtracebuffers, dsppathtracebuffer, dsppathtracebuffers
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Clear the path trace buffer for connection 10 100 on port 3:1.2:2.
Geneva.7.PXM.a > clrpathtracebuffer 3:1.2:2 10 100
clrpathtracebuffers
Clear Path Trace Buffers—PXM45, PXM1E
The clrpathtracebuffers command clears the path trace buffer for every connection on the switch.
Syntax
clrpathtracebuffers
Syntax Description
This command takes no parameters.
Related Commands
clrpathtracebuffer, dsppathtracebuffer, dsppathtracebuffers
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
clrpncon
Clear PNNI Connection—PXM45, PXM1E
The clrpncon command lets you delete from a PNNI port either of the following:
•
A specific SVC or SVP
•
All SVCs or SVPs
For an SPVC or SPVP, use delcon to delete the endpoints. If you attempt to delete an SPVC or SPVP with the clrpncon command, the switch deletes the connection but then automatically attempts to reroute it.
Using clrpncon to Delete a P2MP Connection
The following effects result when the connection endpoint you identify by using the endpoint reference belongs to a point-to-multipoint (P2MP) call:
•
If you specify the root endpoint, PNNI releases the entire P2MP connection (the root, all leaves, and all parties).
•
If you specify a leaf endpoint, PNNI releases only the parties corresponding to that leaf.
•
If the endpoint reference is that of a party, your use of clrpncon deletes just that party.
If you want to clear just a leaf or party portion of a P2MP call, you should identify the call with the endpoint reference. (See "Syntax.") If you do not provide the endpoint reference for a P2MP connection:
•
You must identify the connection by using the port ID, VPI, and VCI.
•
PNNI will release the root, all leaves, and all parties associated with the P2MP connection
Syntax
clrpncon <portid> {all | vpi} [vci] [epRef]
Syntax Description
portid
|
The format of the PNNI physical port identifier varies by card type and chassis:
• On a PXM45: slot:subslot.port:subport.
• On a PXM1E for UNI/NNI back card: slot:subslot.port:subport. On the UNI/NNI back card, subslot is always 2. The slot depends on the chassis:
– In an MGX 8850 chassis, slot is always logical slot 7.
– In an MGX 8830 chassis, slot is always logical slot 1.
• On a PXM1E for a narrow band service module (NBSM): slot.port.
For more details, see the section "PNNI Format," in "Introduction."
|
all | vpi
|
Specifies either all VPIs on the port or a specific VPI.
Possible values are either the string "all" or a VPI in the range 0-4095.
|
vci
|
VCI of a specific SVC to clear. If you are clearing a virtual path connection (VPC), do not enter a VCI.
|
epref
|
The optional endpoint reference allows you to select a single leaf to release. This parameter applies to P2MP connections. If you do not specify a leaf and the connection is P2MP, the entire connection is released.
|
Related Commands
dsppncon, dsppncons
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
First, list the connections on the port to identify the specific connection to delete. For this example, use clrpncon to release the connection on port 1:1.2:2 with the VPI/VCI or 1 100. This connection is the first in the display output. Thereafter, use dsppncons to check the results.
Geneva.7.PXM.a > dsppncons
Port VPI VCI CallRef X-Port VPI VCI CallRef Type OAM-Type
1:1.2:2 1 100 33 1:1.2:2 1 101 32 PTP No
Calling-Addr:47.00918100000000107be92f3d.000001011802.00
Called-Addr:47.00918100000000107be92f3d.000001011802.00
1:1.2:2 1 101 32 1:1.2:2 1 100 33 PTP No
Calling-Addr:47.00918100000000107be92f3d.000001011802.00
Called-Addr:47.00918100000000107be92f3d.000001011802.00
1:1.2:2 2 200 34 1:1.6:6 0 49 8388609 PTP No
Calling-Addr:47.00918100000000107be92f3f.000001011804.00
Called-Addr:47.00918100000000107be92f3d.000001011802.00
1:1.6:6 0 49 8388609 1:1.2:2 2 200 34 PTP No
Calling-Addr:47.00918100000000107be92f3f.000001011804.00
Called-Addr:47.00918100000000107be92f3d.000001011802.00
Geneva.7.PXM.a > clrpncon 1:1.2:2 1 100
Geneva.7.PXM.a > dsppncons
Port VPI VCI CallRef X-Port VPI VCI CallRef Type OAM-Type
1:1.2:2 2 200 34 1:1.6:6 0 49 8388609 PTP No
Calling-Addr:47.00918100000000107be92f3f.000001011804.00
Called-Addr:47.00918100000000107be92f3d.000001011802.00
1:1.6:6 0 49 8388609 1:1.2:2 2 200 34 PTP No
Calling-Addr:47.00918100000000107be92f3f.000001011804.00
Called-Addr:47.00918100000000107be92f3d.000001011802.00
clrpnconstats
Clear PNNI Connection Statistics—PXM45, PXM1E
The clrpnconstats command clears call statistics for one logical PNNI port or all PNNI ports.
Syntax
clrpnconstats [portid]
Syntax Description
portid
|
The format of the PNNI physical port identifier can vary, as follows:
• On a PXM45: slot:subslot.port:subport
• On a PXM1E for UNI/NNI back card: slot:subslot.port:subport. On the UNI/NNI back card, the subslot is always 2, but the slot depends on the chassis, as follows:
– In an MGX 8850 chassis, slot is always the logical slot 7.
– In an MGX 8830 chassis, slot is always the logical slot 1.
• On a PXM1E for a narrowband service module (NBSM): slot.port.
For more details, see the section, "PNNI Format," in "Introduction."
|
Related Commands
dsppnconstats
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Display PNNI connection statistics for port 7:2.2:2. Clear the statistics then re-display them.
PXM1E_SJ.7.PXM.a > dsppnconstats 7:2.2:2
Call Statistics for 7:2.2:2
Incoming Call Attempts: 516 Outgoing Call Attempts: 311
Incoming Call Success: 18 Outgoing Call Success: 516
Incoming Call Failures: 0 Outgoing Call Failures: 0
Incoming Filtering Failures:0 Outgoing Filtering Failures : 0
Incoming Routing Failures: 0 Outgoing Routing Failures : 0
Incoming CAC Failures: 0 Outgoing CAC Failures : 0
Incoming Timer Failures: 0 Outgoing Timer Failures : 0
Incoming Crankback Failures:0 Outgoing Crankback Failures : 0
PXM1E_SJ.7.PXM.a > clrpnconstats 7:2.2:2
PXM1E_SJ.7.PXM.a > dsppnconstats 7:2.2:2
Call Statistics for 7:2.2:2
Incoming Call Attempts: 0 Outgoing Call Attempts: 0
Incoming Call Success: 0 Outgoing Call Success: 0
Incoming Call Failures: 0 Outgoing Call Failures: 0
Incoming Filtering Failures:0 Outgoing Filtering Failures : 0
Incoming Routing Failures: 0 Outgoing Routing Failures : 0
Incoming CAC Failures: 0 Outgoing CAC Failures : 0
Incoming Timer Failures: 0 Outgoing Timer Failures : 0
Incoming Crankback Failures:0 Outgoing Crankback Failures : 0
clrportcnt
Clear Port Counters—PXM1E
Clear counter values on a specific logical port.
Syntax
clrportcnt <ifNum>
Syntax Description
ifNum
|
The logical port number has a range of 1-31.
|
Related Commands
clrportcnts, dspportcnt
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Display the counters for logical interface 1. then clear the counters on port 1. Check the port counters after clearing them.
M8850_NY.7.PXM1E.a > dspportcnt 1
Cleared at : 10/26/2001 00:00:44
Current time : 12/02/2001 21:44:41
Elapsed time : 37 day(s) 21:43:21 [hh:mm:ss]
Total Running Avg (cps) Peak
--------------------------------------------------------------------
Arrival CLP0 Ing: 0000000000000007326214 2 21
Arrival CLP1 Ing: 0000000000000000000000 0 0
Ar CLP0 discard Ing: 0000000000000000000056 0 3
Ar CLP1 discard Ing: 0000000000000000000000 0 0
Departure CLP0 Ing: 0000000000000007326211 2 21
Departure CLP1 Ing: 0000000000000000000000 0 0
Arrival CLP0 Egr: 0000000000000007326217 2 21
Arrival CLP1 Egr: 0000000000000000000000 0 0
Ar CLP0 discard Egr: 0000000000000000000000 0 0
Ar CLP1 discard Egr: 0000000000000000000000 0 0
Departure CLP0 Egr: 0000000000000007326218 2 21
Departure CLP1 Egr: 0000000000000000000000 0 0
M8850_NY.7.PXM1E.a > clrportcnt 1
M8850_NY.7.PXM1E.a > dspportcnt 1
Cleared at : 12/02/2001 21:44:56
Current time : 12/02/2001 21:45:19
Elapsed time : 0 day(s) 0:0:22 [hh:mm:ss]
Total Running Avg (cps) Peak
--------------------------------------------------------------------
Arrival CLP0 Ing: 0000000000000000000054 2 2
Arrival CLP1 Ing: 0000000000000000000000 0 0
Ar CLP0 discard Ing: 0000000000000000000000 0 0
Ar CLP1 discard Ing: 0000000000000000000000 0 0
Departure CLP0 Ing: 0000000000000000000054 2 2
Departure CLP1 Ing: 0000000000000000000000 0 0
Arrival CLP0 Egr: 0000000000000000000051 2 2
Arrival CLP1 Egr: 0000000000000000000000 0 0
Ar CLP0 discard Egr: 0000000000000000000000 0 0
Ar CLP1 discard Egr: 0000000000000000000000 0 0
Departure CLP0 Egr: 0000000000000000000051 2 2
Departure CLP1 Egr: 0000000000000000000000 0 0
clrportconstats
Clear Port Connection Statistics—PXM45, PXM1E
The clrportconstats command clears certain SPVC-related statistics at the port level. The statistics relate to successful and failed routing attempts since the last time the statistics were cleared. For a description of these particular statistics, see the dspportconstats description. You can clear the statistics for a specific port or all ports.
Syntax
clrportconstats [portid]
Syntax Description
portid
|
The format of the optional PNNI physical port identifier can vary, as follows:
• On a PXM45: slot:subslot.port:subport
• On a PXM1E for UNI/NNI back card: slot:subslot.port:subport. On the UNI/NNI back card, the subslot is always 2, but the slot depends on the chassis, as follows:
– In an MGX 8850 chassis, slot is always the logical slot 7.
– In an MGX 8830 chassis, slot is always the logical slot 1.
• On a PXM1E for a narrowband service module (NBSM): slot.port.
For more details, see the section, "PNNI Format," in "Introduction."
|
Related Commands
dspportconstats, dspnodalconstats, clrnodalconstats
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Clear SPVC routing statistics for port 3:1.1:1.
spvc4.7.PXM.a > clrportconstats 3:1.1:1
clrqosdefault
Clear Quality of Service Defaults—PXM45. PXM1E
The clrqosdefault command clears the defaults for QoS values on the switch. For information on the switch-level QoS defaults, see the description of cnfqosdefault.
Syntax
clrqosdefault
Syntax Description
This command takes no parameters.
Related Commands
cnfqosdefault, dspqosdefault
Attributes
Log: yes
|
State: active
|
Privilege: GROUP1
|
Example
Clear the QoS defaults on the switch. The system does not return a message unless an error occurs.
Unknown.8.PXM.a > clrqosdefault
clrscrn
Clear Screen—PXM45, PXM1E
Use clrscrn to clear the control terminal screen. After this command runs, only the current command line prompt appears on the screen.
Syntax
clrscrn
Related Commands
None
Attributes
Log: no
|
State: active, standby, init
|
Privilege: ANYUSER
|
Example
Clear the screen.
MGX8850.7.PXM1E.a > clrscrn
clrsigstats
Clear Signaling Statistics—PXM45, PXM1E
Clears existing signaling statistics for one port or all ports.
Syntax
clrsigstats [portid]
Syntax Description
portid
|
The format of the PNNI physical port identifier can vary, as follows:
• On a PXM45: slot:subslot.port:subport
• On a PXM1E for UNI/NNI back card: slot:subslot.port:subport. On the UNI/NNI back card, the subslot is always 2, but the slot depends on the chassis, as follows:
– In an MGX 8850 chassis, slot is always the logical slot 7.
– In an MGX 8830 chassis, slot is always the logical slot 1.
• On a PXM1E for a narrowband service module (NBSM): slot.port.
For more details, see the section, "PNNI Format," in "Introduction."
|
Related Commands
cnfsigdiag, delsigdiag, dspsigdiag, dspsigstats
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Clear the signaling statistics on port 3:1.1:11. Thereafter, check the results with dspsigstats.
Geneva.7.PXM.a > clrsigstats 3:1.1:1
Clearing Signaling Statistics for 3:1.1:1
8850_NY.7.PXM.a > dspsigstats 3:1.1:1
Signaling Statistics for 3:1.1:1
Last Cause/Diag/Crankback
--------------------------
Src Crankback port count 0
clrsmcnf
Clear Service Module Configuration—PXM45, PXM1E
The clrsmcnf command lets you clear the configuration of a service module for a single slot. The configuration is cleared from both RAM and the disk. While the clrsmcnf command is running, no provisioning of the card is possible. Also, you cannot upgrade firmware anywhere on the shelf while clrsmcnf is running.
The advantage of this command is that you can delete the configuration of a slot without using the clrallcnf or clrcnf command then install a different card type in the cleared slot.
Caution 
For an NBSM, whenever a T1 or T3 card is replaced with an E1 or E3 card (or vice versa), you must run the
clrsmcnf command for the affected slot.
Syntax
clrsmcnf <slot-id> [all] [verbose]
Syntax Description
slot-id
|
The slot-id identifies the service module slot to clear.
Range: 1-31
Exceptions: Do not specify a slot with any of the following card types:
• PXM
• SRM
• XM60
|
all
|
Optional parameter that additionally clears the firmware version of the card. Without this option, the firmware version remains a part of the configuration for the slot.
|
verbose
|
Display information about each configuration element that is cleared.
|
Related Commands
dspcds
Attributes
Log: no
|
State: active
|
Privilege: SERVICE_GP
|
Examples
Clear the configuration for slot 5 and include the all option.
Unknown.7.PXM.a > clrsmcnf 5 all
The current configuration will be cleared for
the specified slot. Once started, this command should
not be aborted as doing that can leave the shelf in
For this reason, this command cannot be aborted
using ctrl-C or by using any other command
clrsmcnf:Do you want to proceed (Yes/No)? y
Command clrsmcnf executed successfully for slot 5
Clear the configuration of slot 5 and include the all and verbose options.
Unknown.7.PXM.a > clrsmcnf 5 all verbose
The current configuration will be cleared for
the specified slot. Once started, this command should
not be aborted as doing that can leave the shelf in
For this reason, this command cannot be aborted
using ctrl-C or by using any other command
clrsmcnf:Do you want to proceed (Yes/No)? y
Clearing data for PNNI....
PNNI performed Clear operation successfully
Clearing data for PCEMA....
PCEMA performed Clear operation successfully
Clearing data for PXMCM....
PXMCM performed Clear operation successfully
Clearing data for PCPRO....
PCPRO performed Clear operation successfully
Clearing data for RPM....
RPM performed Clear operation successfully
Clearing data for AUTOCARD....
AUTOCARD performed Clear operation successfully
Clearing data for DISKDB....
DISKDB performed Clear operation successfully
Command clrsmcnf executed successfully for slot 5
clrsntpstats
Clear SNTP Statistics—PXM45, PXM1E
The clrsntpstats command resets the counters for SNTP statistics. See the cnfsntp description for details about the SNTP feature.
Syntax
clrsntpstats
Syntax Description
This command takes no parameters.
Related Commands
addsntprmtsvr, cnfsntp, cnfsntprmtsvr, delsntprmtsvr, dspsntp, dspsntprmtsvr, dspsntpstats, dbgsntp, dspsntp-dbg
Attributes
Log: no
|
State: active, standby
|
Privilege: ANYUSER
|
Example
Display the SNTP statistics, clear them, then re-check display.
M8850_LA.8.PXM.a > dspsntpstats
Statistic Counters For SNTP
-----------------------------
Receive server mode packets from servers in list: 0
Receive server mode packets from servers not in list: 0
Receive server mode packets which fail sanity check: 0
Receive server mode packets which pass sanity check: 0
Receive client mode packets: 82324
Receive other mode packets: 0
Send server mode packets: 0
Send client mode packets: 94084
Polling Timer Expire Counter: 94084
Polling Wait Timer Expire Counter: 94084
Rollback Timer Expire Counter: 47040
Rollback Wait Timer Expire Counter: 0
Switch From Primary To Secondary Counter: 11762
Switch From Secondary To Primary Counter: 11760
Switch From Secondary To Secondary Counter: 0
M8850_LA.8.PXM.a > clrsntpstats
M8850_LA.8.PXM.a > dspsntpstats
Statistic Counters For SNTP
-----------------------------
Receive server mode packets from servers in list: 0
Receive server mode packets from servers not in list: 0
Receive server mode packets which fail sanity check: 0
Receive server mode packets which pass sanity check: 0
Receive client mode packets: 0
Receive other mode packets: 0
Send server mode packets: 0
Send client mode packets: 1
Polling Timer Expire Counter: 1
Polling Wait Timer Expire Counter: 0
Rollback Timer Expire Counter: 0
Rollback Wait Timer Expire Counter: 0
Switch From Primary To Secondary Counter: 0
Switch From Secondary To Primary Counter: 0
Switch From Secondary To Secondary Counter: 0
clrspvcnonpers
Clear SPVC Non-persistent Endpoints—PXM45, PXM1E
The clrspvcnonpers command lets you delete one or more non-persistent SPVC endpoints from a port.
The purposes can vary, but for example, you may want to reserve the port for something other than single-ended SPVCs. In this case, you would first use the cnfpnportcc command to block single ended connections on this port, then use the clrspvcnonpers command and specify that all single-ended connections are removed.
The clrspvcnonpers parameters let you do the following:
•
Remove all non-persistent endpoints from a port
•
Remove all non-persistent endpoints from a port that have a particular VPI
•
Remove a particular non-persistent endpoint from a port
Syntax
clrspvcnonpers <portid> [vpi] [vci]
Syntax Description
portid
|
The format of the PNNI physical port identifier can vary, as follows:
• On a PXM45: slot:subslot.port:subport
• On a PXM1E for UNI/NNI back card: slot:subslot.port:subport. On the UNI/NNI back card, the subslot is always 2, but the slot depends on the chassis, as follows:
– In an MGX 8850 chassis, slot is always the logical slot 7.
– In an MGX 8830 chassis, slot is always the logical slot 1.
• On a PXM1E for a narrowband service module (NBSM): slot.port.
For more details, see the section, "PNNI Format," in "Introduction."
|
vpi
|
The VPI is that of either a single endpoint or all non-persistent endpoints with this VPI.
• If you include a VCI specification, one endpoint is removed.
• If you do not specify a VCI with this VPI, the command removes all non-persistent endpoints that have this VPI from the port.
Default: all VPIs
|
vci
|
The VCI of a non-persistent endpoint.
Default: all VCIs
|
Related Commands
addcon, dspcons
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Clear all non-persistent endpoints from port 7:2.2:2.
PXM1E_SJ.7.PXM.a > clrspvcnonpers 7:2.2:2
clrspvcnonpers: clear multiple calls. This might take a while.
clrsrmcnf
Clear Service Resource Module Configuration—PXM45, PXM1E
The clrsrmcnf command lets you clear the configuration of a Service Resource Module (SRME or SRM-3T3/C) module for a single logical slot. The command automatically clears the configuration for a redundant card, if present. The configuration is cleared from both RAM and the disk. While the clrsrmcnf command is running, no provisioning of the card is possible.
The advantage of this command is that you can delete the configuration of an SRM in one bay at a time without using the clrallcnf or clrcnf command. Thereafter, you can install a different SRM type in the cleared slot.
Syntax
clrsrmcnf <LogicalSlotNum>
Syntax Description
LogicalSlotNum
|
To clear the configuration for both the active and standby slots, you need to enter only the logical slot number. The slot numbers depend on the chassis, as follows:
• MGX 8850 chassis: 15, 31
• MGX 8830 chassis: 7
|
Related Commands
dspsrmcnf, dspcds
Attributes
Log: no
|
State: active
|
Privilege: SERVICE_GP
|
clrsscopstats
Clear SSCOP Statistics—PXM45, PXM1E
The clrsscopstats command lets you clear the statistics for the service-specific connection-oriented protocol (SSCOP). You can specify the statistics for an individual port or all ports on the switch.
Syntax
clrsscopstats [portid]
Syntax Description
portid
|
The format of the PNNI physical port identifier can vary, as follows:
• On a PXM45: slot:subslot.port:subport
• On a PXM1E for UNI/NNI back card: slot:subslot.port:subport. On the UNI/NNI back card, the subslot is always 2, but the slot depends on the chassis, as follows:
– In an MGX 8850 chassis, slot is always the logical slot 7.
– In an MGX 8830 chassis, slot is always the logical slot 1.
• On a PXM1E for a narrowband service module (NBSM): slot.port.
For more details, see the section, "PNNI Format," in "Introduction."
|
Related Commands
dspsscopstats
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Clear the SSCOP statistics on port 4:1.1:11.
Geneva.7.PXM.a > clrsscopstats 4:1.1:11
clrxbaralm
Clear Crossbar Alarm—clear the crossbar alarms.—PXM45
The clrxbaralm command clears the alarms for either a specific switch plane or for all the switch planes on the switching card. In an MGX 8850 node, the slot is the physical slot number of the PXM45. In an MGX 8950 node, the slot is the number of the slot number of an XM60. To see the alarms that clrxbaralm clears, use dspdevalms or dspswalms.
Syntax
clrxbaralm <slot> <plane>
clrxbaralm *
Syntax Description
*
|
Enter an asterisk to clear all crossbar alarms on the active PXM45 or the XM60s.
|
slot
|
The possible slot number of the crossbar planes depend on the chassis, as follows:
• MGX 8850 range is 7-8.
• MGX 8950 slots are 9, 10, 25, and 26.
|
plane
|
In an MGX 8850 switch, the range of plane numbers is 0-2.
In an MGX 8950 switch, the range of plane numbers is 0-3.
|
Related Commands
dspdevalms, dspswalms
Attributes
Log: yes
|
State: active
|
Privilege: SUPER_GP
|
Example
Clear the alarms for switch plane 0 in slot 7. The system returns no messages unless an error exists in the command syntax. To see the results, execute dspdevalms.
pop20two.7.PXM.a > clrxbaralm 7 0
clrxbarerrcnt
Clear Crossbar Error Count—PXM45
The clrxbarerrcnt command clears the errors for either a specific switch plane or all the switch planes on the active switching card. In an MGX 8850 node, the slot is the physical slot number of the PXM45. In an MGX 8950 node, the slot is the number of the slot where an XM60 resides. To see the errors that clrxbarerrcnt clears, execute dspdeverrhist.
Syntax
clrxbarerrcnt < * | [slot plane]>
Syntax Description
*
|
Enter an asterisk to clear all crossbar errors.
|
slot
|
The slot number of the crossbar planes. On an MGX 8850 switch, the slot number is 7 or 8. On an MGX 8950 switch, the slot number is 9, 10, 25, or 26.
|
plane
|
On an MGX 8850 switch, the range for plane numbers is 0-2. On an MGX 8950 switch, the range for plane numbers is 0-3.
|
Related Commands
dspdeverrhist, cnfxbarerrthresh, dspxbarerrthresh, dspswalms
Attributes
Log: yes
|
State: active, standby
|
Privilege: SUPER_GP
|
Example
Clear the errors for switch plane 0 in slot 7. The system returns no messages unless an error exists in the command syntax. To see the results, execute dspdeverrhist.
M8850_NY.7.PXM.a > clrxbarerrcnt 7 0
Clear all crossbar alarms on the current PXM45.
M8850_NY.7.PXM.a > clrxbarerrcnt *
XBAR errors of slot 7 are cleared