Table Of Contents
Shelf Operations Commands
This appendix describes the SES PNNI controller commands that are specific to management of the SES PNNI Controller shelf.
These commands use the same conventions as described in "SVC, SPVC, and PNNI Commands."
Command Summaries
Shelf operation commands consist of the following command suites:
addapsln
Use the addapsln command to set APS on a specified line for a PXM.
Syntax Description
addapsln <work-line><work-slot><prot-line><prot-slot><mode>
Examples
Example C-1 To add APS with line 1 of slot 1 as a Working line , and to add line 1 on slot 2 as a protection line. Set the APS architecture mode on the working/protection line pair to 1+1
addapsln 1 1 1 2 2addlmiloop
Use the addlmiloop command to add an LMI loopback line to the current card.
Syntax Description
addlmiloop <slot.port>
![]()
Note
You can activate only one PXM line on the feeder implementation of an SES node.
To add an LMI loopback line numbered 1 to the current card (the PXM in slot [?])
Examples
Example C-2 To add lmi loopback line to the current PXM.
addlmiloop
1.1addtrapmgr
Use the addtrapmgr command to set up an SNMP manager to receive traps. Trap managers you add through addtrapmgr and trap managers that are added by the SNMP manager (Cisco WAN Manager or other application) do not age and are not deleted. To delete a trap manager, use either the deltrapmgr command or an SNMP Set on the intended object.
Syntax Description
addtrapmgr <ip_addr> <portnum>
Examples
Add a trap manager with IP address 161.10.144.56 to port 50.
spirit11.1.1.PXM.a > addtrapmgr 161.10.144.56 50
adduser
Use the adduser command to configure a user name and associated access level on the PXM.
Syntax Description
adduser <user ID> <accessLevel>
Examples
Example C-3 To add a user named fin with privilege level ANYUSER:
spirit.1.1.PXM.a > adduser fin ANYUSEREnter password:Re-enter password:spirit.1.1.PXM.a >bootChange
Use the bootChange command to specify the boot IP address and gateway address of a PXM card. The IP address you define with bootChange is used only when the PXM is in the boot state.
In the current release, the only parameters you should enter are "inet on ethernet (e)" and "gateway inet (g)." The bootChange command presents one parameter at a time. Therefore, press the Return (or Enter) key at each prompt execept for these two. The example in this description shows the two fields where you need to enter an IP address and the fields you skip.
Note
Run this command in boot-mode only.
Syntax Description
bootChange
Examples
Specify an IP address of 170.11.52.61 for the Ethernet port and 170.11.52.2 for the gateway IP address. The display shows all the fields that the node presents. For all fields except the ethernet and gateway prompts, press Return or Enter.
spirit11.1.1.PXM.a > bootChange'.' = clear field; '-' = go to previous field; ^D = quitboot device : lnPciprocessor number : 0host name : winterfile name : /users/joloughl/pxm45_002.000.014-A1.fwinet on ethernet (e) : 170.11.52.61inet on backplane (b):host inet (h) : 170.11.25.42gateway inet (g) : 170.11.52.2user (u) : rliftp password (pw) (blank = use rsh):flags (f) : 0x0target name (tn) : pxm45-71startup script (s) :other (o) :bye
Use the bye command to exit the current CLI shell.
Syntax Description
bye
Examples
Example C-4 To exit the current CLI shell:
spirit.1.2.PXM.a > bye(session ended)cc
Use the cc command to navigate from card to card on the shelf.
Syntax Description
cc <slot number>
Examples
spirita.1.PXM.a > cc 2clrallcnf
Use the clrallcnf command to remove all configuration databases from the shelf, including configuration stored in BRAM by the shelf manager, and other configuration files currently stored on disk.
![]()
Warning
This is a destructive command.
Syntax Description
clrallcnf
Examples
spirita.1.PXM.a > clrallcnfAll SM's config will be deleted, andthe shelf will be reset.Do you want to proceed (Yes/No)? n(command not executed)clrbecnt
Use the clrbecnt command to remove all the statistics for the (APS) bit-error counts
Syntax Description
clrbecnt <line>
clrerr
Use the clrerr command to remove specified or all error log files. This command queries for confirmation prior to clearing the error log files from the system.
Syntax Description
clrerr [-en <error number>]
[-sl <slot number>]
Related Commands
dsperr
Examples
Example C-5 To clear the error log in the PXM:
wilco.1.1.PXM.a > clrerrDo you want to proceed (Yes/No)? No(command not executed)wilco.1.1.PXM.a >clrerrhist
Use the clrerrhist command to display a log of errors and failures.
Syntax Description
clrerrhist <slot>
slot number
Optional. The number of the slot that contains the card you want to work on. Use this object to clear the log of errors and failures only on a specific slot.
Examples
spirit11.1.1.PXM.a > clrerrhist10 0x301f syncRam DB Reset Init from STBY failed 09/07/2000-20:44:25-----------------------------------------------------------------------------spirit11.1.1.PXM.a >clrlmistats
Use the clrlmistats command to clear the LMI (Local Management Interface) related statistics on the current PXM.
Syntax Description
clrlmistats
Examples
Example C-6 To clear the LMI statistics on the PXM card
penguin.1.1.PXM.a > clrlmistatsEnabled : 1 Port Status : 1VPI.VCI : 3.31Polling enable : 1T393 : 10 N394 : 5T394 : 10 N395 : 5WaitStatus : 0 WaitStAck : 0Retry Timer : 0 Retry Count : 1Poll Timer : 6 Trans Num : 86Status Rx : 0 Status Tx : 0UpdtStatus Rx : 0 UpdtStatus Tx : 0Status Enq Rx : 0 Status Enq Tx : 0Status Ack Rx : 0 Status Ack Tx : 0NodeStatus Rx : 0 NodeStatus Tx : 0NodeStaAck Rx : 0 NodeStaAck Tx : 0Bad PDU Rx : 0 Bad PDU Len Rx : 0Unknown PDU Rx : 0 Invalid I.E. Rx: 0Invalid Trans : 0BPX IP Addr : 172.3.3.62penguin.1.1.PXM.a >clrlog
Use the clrlog command to clear specified or all event log files.
Syntax Description
clrlog [-log <log slot>]
-log
Command delineator that precedes the log slot entry.
log slot
Number of the file that you want to clear from the event log file.
Related Commands
dsplog
Examples
Example C-7 To clear all event log files on the PXM card:
wilco.1.1.PXM.a > clrlogDo you want to proceed (Yes/No)? Yeswilco.1.1.PXM.a >clrscrn
Use the clrscrn command to remove the contents of the control terminal screen. After this command executes, only the current command line prompt displays on the terminal screen.
Syntax Description
clrscrn
Examples
Example C-8 To clear the screen:
flyers01.1.17.AUSM.a > clrscrnflyers01.1.17.AUSM.a >cmdhistory
Use the cmdhistory command to view the last 10 commands executed on the current card.
Syntax Description
cmdhistory
Examples
Example C-9 To view the previous 10 commands executed on the PXM card:
spirit4.1.2.PXM.a > cmdhistorySize of cmdHistory is currently 10 line(s)1 dspconcnt 2.39.452 dsplmistats3 dsplmiloop4 dsplm5 clrportcnt6 dspportcnts7 dspportcnt8 dspportcnt 19 dsplmistats10 cmdhistoryspirit4.1.2.PXM.a >cnfapsln
Use the cnfapsln command to set APS parameters for a specified line on the PXM card.
Syntax Description
cnfapsln <line> <SFBER> <SDBER> <Revertive> <WTR> <Direction> <KIK2>
Examples
To set the APS working line 1 on the active PXM card in slot 1 to have a signal failure BER threshold of 10^^-5, a signal degrade BER threshold of 10^^-5, to enable switch back after signal failure or degradation has cleared, to wait 2 minutes before attempting to switch back, to make switching bidirectional, and to enable the K1/K2 inband protocol on the protection line
flyers01.1.1.PXM.a > cnfapsln 1 5 5 2 2 2 1flyers01.1.1.PXM.a >
cnfdate
Use the cnfdate command to set the system date.
Syntax Description
cnfdate <mm/dd/yyyy>
Examples
wilso.1.1.PXM.a> cnfdate 12/17/1999cnfname
Use the cnfname command to set the name of the SES PNNI node. This namewill not be propagated throughout the network.
Syntax Description
cnfname <name>
Examples
spirita.1.PXM.a > cnfname NewNamecnfname: Configured this node name to NewName Successfully.NewName.1.PXM.a >cnfpasswd
Use the cnfpasswd command to set the password for a specified User ID or type the command without arguments to change your own password.
Syntax Description
cnfpasswd [<user_id>]
Examples
Example C-10 To modify your own password:
spirit4.1.2.PXM.a > cnfpasswdEnter existing password:Enter new password:Re-enter new password:spirit4.1.2.PXM.a >cnfsnmp
Use the cnfsnmp command to configure SNMP Strings. You can configure only one of these strings with a single execution of cnfsnmp.
Syntax Description
cnfsnmp <-community [string <ro | rw>]> <-contact [string]> <-location [string]>
-
Examples
Configure various community strings.
spirit11.1.1.PXM.a > cnfsnmp community rospirit11.1.1.PXM.a >cnfsnmp community comaccessspirit11.1.1.PXM.a >community string "comaccess" , read-only accessspirit11.1.1.PXM.a >cnfsnmp community comaccess rospirit11.1.1.PXM.a >community string "comaccess" read-only accessspirit11.1.1.PXM.a >cnfsnmp community superaccess rwspirit11.1.1.PXM.a >community string "superaccess" , read-write accessGive an email address for t he system contact
spirit11.1.1.PXM.a > cnfsnmp contact Dial System, Email :Specify the location of the system as Building 3, Room 214.
node19.8.PXM.a >cnfsnmp location Building 3/Room 214
cnfstatsmgr
Use the cnfstatsmgr command to set the IP address of the CWM that manages statistics for this node.
Syntax Description
cnfstatsmgr <IP Address>
Examples
cnfstatsmgr 172.29.4.50cnftime
Use the cnftime command to set the system time.
Syntax Description
cnftime <hh:mm:ss>
Examples
Example C-11 To set time for 11:20 a.m. and 30 seconds:
wilco.1.1.PXM.a > cnftime 11:20:30cnftmzn
Use the cnftmzn command to set the system time zone.
Syntax Description
cnftmzn <timezone>
Examples
wilco.1.1.PXM.a > cnftmzn PSTcnftmzngmt
Use the cnftmzngmt command to set the system time zone offset value.
Syntax Description
cnftmzngmt <gmtoffset>
Examples
Example C-12 To set system time zone to minus eight hours of GMT:
wilco.1.1.PXM.a > cnftmzngmt -8cnftrapip
Use the cnftrapip command to configure the trap ip.
Syntax Description
cnftrapip <ip address>
pirit11.1.1.PXM.a > cnftrapipusage:cnftrapip <ipaddress>cnfuser
Use the cnfuser command to add or change user information.
Syntax Description
cnfuser <-u user id>
[-p password][-a access level]
Examples
spirita.1.PXM.a > cnfuser -u myname -p passw123 -l ANYUSER
copy
Use the copy command to copy files.
Syntax Description
copy <source file>
<destination file>
Examples
spirita.1.PXM.a > copy version versspirita.1.PXM.a > llsize date time name-------- ------ ------ --------512 MAR-22-2000 19:37:56 SM <DIR>512 MAR-22-2000 19:37:56 FW <DIR>512 MAR-22-2000 19:37:56 DIAG <DIR>512 MAR-22-2000 19:37:56 STATS <DIR>512 MAR-22-2000 19:37:56 TMP <DIR>512 MAR-22-2000 19:37:56 CNF <DIR>512 MAR-22-2000 19:37:56 RPM <DIR>512 MAR-22-2000 19:37:56 SCT <DIR>36 MAY-21-2000 03:31:34 version512 MAR-22-2000 11:40:52 LOG <DIR>512 MAR-22-2000 11:40:58 CUT <DIR>512 MAY-09-2000 10:45:04 SHMDB <DIR>1749807 MAY-16-2000 07:10:14 pxm_diag_1.1.04.o36 MAY-21-2000 04:41:28 versIn the file system :total space : 819200 K bytesfree space : 808145 K bytesdelapsln
Use the delapsln command to delete APS from a line on the PXM card.
Syntax Description
delapsln <workingline>
Examples
delapsln 1delete
Use the delete command to remove any files on the disk.
Syntax Description
delete <file name>
Examples
spirita.1.PXM.a > delete <any_file>
dellmiloop
Use the dellmiloop command to remove LMI loopback state for a line.
![]()
Note
You can activate only one PXM line on the feeder implementation of an SES node.
Syntax Description
dellmiloop <slot.port>
To delete lmi loopback line from the current PXM.
spirit11.1.1.PXM.a > dellmiloop 1.1
deltrapmgr
Use the deltrapmgr command to delete a trap manager. . The deltrapmgr command requires an IP address for deletion. To see existing trap managers, use dsptrapmgr.
Syntax Description
deltrapmgr <ip_addr>
Examples
Delete trap manager with IP address 161.10.144.56.
spirit11.1.1.PXM.a > deltrapmgr 161.10.144.56
deluser
Use the deluser command to remove a user from the list of users on the SES node. The system does not allow you to delete a user with a privilege level higher than the level at which you execute the command. For example, if the current user privilege is 2, you cannot delete a user at level 1. No screen output appears unless an error occurs.
Syntax Description
deluser <user ID>
Examples
spirita.1.PXM.a > deluser myname
dspapscfg
Use the dspapscfg command to view aps configuration information.
Syntax Description
dspapscfg
Examples
spirita.1.PXM.a > dspapscfgSlotLine Type SFBER SDBER WTR Dir Revert K1K2-----------------------------------------------------1.1&2.1 1+1_2 3 5 1 UNI NRV ENAdspapsln
Use the dspapsln command to view the current APS line parameters on the PXM card.
Syntax Description
dspapsln
Examples
spirita.1.PXM.a > dspapslnSlotLine Type Act W_LINE P_LINE APS_ST CDType Dir Revt LastUsrSwReq------------------------------------------------------------------------1.1&2.1 1+1_2 2.1 ALM YEL OK OC-3 UNI NRV NO_REQUESTdspbecnt
Use the dspbecnt command to view the APS bit-error information for a generic line.
Syntax Description
dspbecnt <line>
dspcd
Use the dspcd command to view hardware and firmware information about the selected PXM.
Syntax Description
dspcd <slot number>
Examples
spirita.2.PXM.s > dspcdspirita.2System Rev:01.00 Jul. 17, 200016:31:25 PSTSES-CNTL Node Alarm:NONESlot Number 1 Redundant Slot: 2Front Card Upper Card Lower Card---------- ---------- ----------Inserted Card: PXM1_OC3 UIA BackCard MMF_4_OC3Reserved Card: PXM1_OC3 UIA BackCard MMF_4_OC3State: Active Active ActiveSerial Number: SBK033300F8 SBK033000QP SBK03340075Prim SW Rev: 1.0(231)A1 --- ---Sec SW Rev: 1.0(231)A1 --- ---Cur SW Rev: 1.0(231)A1 --- ---Boot FW Rev: 1.0(1) --- ---800-level Rev: A0 A0 A0Orderable Part#: 800-05610-02 800-03688-01 800-05053-01CLEI Code: BAA4HCZAAA BAI9Y00AAA BA2IKNJBAAReset Reason: On Reset From ShellCard Alarm: NONEFailed Reason: NoneMiscellaneous Information:spirita.2System Rev:01.00 Jul. 17, 200016:31:25 PSTSES-CNTL Node Alarm:NONECrossbar Slot Status: No CrossbarAlarm Causes------------NO ALARMSdspcdalms
Use the dspcdalms command to view the summary of node card alarms. This includes line alarms, port alarms, and channel alarms.
Syntax Description
dspcdalms
Examples
spirita.1.PXM.a > dspcdalmsNode Card Alarm SummaryLine Alarm Slot 1 Critical 2 Major 0 Minor 0Port Alarm Slot 1 Critical 0 Major 0 Minor 0Channel Alarm Slot 1 Critical 0 Major 0 Minor 0dspcderrs
Use the dspcderrs command to display information about card errors.
Syntax Description
dspcderrs
Examples
spirit11.1.1.PXM.a > dspcderrs
dspcderrs08/05/95-18:53:05 tRootTask 3 Task failed : scm09/05/95-09:14:08 tRootTask 3 Task failed : scmvalue = 0 = 0x0spirit11.1.1.PXM.a >dspcds
Use the dspcds command to view status of all installed cards in the SES PNNI Controller.
Syntax Description
dspcds
Examples
spirita.1.PXM.a > dspcdsspirita System Rev: 01.00 May. 21, 2000 05:34:12 PSTBackplane Serial No: 12345 Bp HW Rev: 00.00 GMT Offset: -8Node Alarm: CRITICALCard Front/Back Card Alarm Redundant RedundancySlot Card State Type Status Slot Type--- ---------- -------- -------- ------- -----01 Active/Active PXM1_OC3 NONE 02 PRIMARY SLOT02 Standby/Active PXM1_OC3 NONE 01 SECONDARY SLOT03 Empty --- --- --- ---04 Empty --- --- --- ---05 Empty --- --- --- ---06 Empty --- --- --- ---07 Empty --- --- --- ---spirita.1.PXM.a >dspcdstatus
Use the dspcdstatus command to view the status of the card alarms.
Syntax Description
dspcdstatus <slotnumber>
Examples
spirita.1.PXM.a > dspcdstatusDefaulting to logical slot 1.Logical Slot 1 Physical Slot 1Card Alarm Status - Type LINE Severity CRITICALdspcwmrole
Use the dspcwmrole command to view the IP address of the CWM in the primary, secondary, tertiary, or statistics master for this node.
Syntax Description
dspcwmrole <primary | secondary | tertiary | statsmaster>
Examples
Example C-13 To view the IP address for the primary CWM associated with this node:
dspcwmrole primarydspdisk
Use the dspdisk command to display disk utilization. A likely application of dspdisk is a routine check of disk utilization by running a script that includes this command.
![]()
Note
The capacity of the disk is very large relative to typical usage and therefore does not present potential restrictions. The output shows the allocated space rather than the physical capacity of the drive.
Syntax Description
dspdisk <disk partition>
![]()
Note
dspdisk will not handle multiple partitions/directories on the command-line.
Examples
Example 1
spirit11.1.1.PXM.a > dspdisk
==========================================================Partition C: Allocated Size: 800 MB Free Space: 574 MBPartition D: Allocated Size: 600 MB Free Space: 564 MBPartition E: Allocated Size: 100 MB Free Space: 99 MBPartition F: Allocated Size: 800 MB Free Space: 799 MB==========================================================
Example 2
spirit11.1.1.PXM.a> dspdisk c:==========================================================Partition C: Allocated Size: 800 MB Free Space: 634 MBPartition D: Allocated Size: 200 MB Free Space: 175 MBPartition E: Allocated Size: 100 MB Free Space: 99 MBPartition F: Allocated Size: 1000 MB Free Space: 999 MB==========================================================Disk usage for c:==========================================================Error: could not stat() c:spirit11.1.1.PXM.a>dspenvalms
Use the dspenvalms command to view environment alarms. This includes line alarms, port alarms, and channel alarms.
Syntax Description
dspenvalmsalms [temp|psu|fan|vnom]
Examples
spirita.1.PXM.a > dspenvalmsspirita System Rev: 01.00 May. 21, 2000 08:26:56 PSTSES-CNTL Node Alarm: CRITICALENVIRONMENTAL ALARM STATE INFO ^Notification DisabledAlarm Type Unit Threshold DataType Value State---------------- ---- -------------- -------- ---------- -------------Temperature <= 50 Celsius 26 NormalPower Supply A1 none None none NormalPower Supply A2 none None none MissingPower Supply A3 none None none MissingDC Voltage A 42 to 54 VoltsDC 49 NormalPower Supply B1 none None none MissingPower Supply B2 none None none MissingPower Supply B3 none None none MissingDC Voltage B 42 to 54 VoltsDC 0 NormalFan Tray 1 >= 2000 RPM 2790 NormalFan Tray 2 >= 2000 RPM 2754 NormalFan Tray 3 >= 2000 RPM 2700 NormalFan Tray 4 >= 2000 RPM 2652 NormalFan Tray 5 >= 2000 RPM 2676 NormalType <CR> to continue, Q<CR> to stop: dspdsperr
Use the dsperr command to view the contents of either all error log files or a specific error log file.
Syntax Description.
dsperr [-en <error slot>
] [-sl<slot number>]
Examples
Example C-14 To view all error log files:
spirit3.1.1.PXM.a > dsperr----------Stack Trace:0x801e5714 vxTaskEntry + c: sysTaskSetup()0x80024d2c sysTaskSetup + 58: rmm_main()0x800dff7c rmm_main +624: rmm_process_message()0x800df764 rmm_process_message + 98: rmm_delete_seat()0x800e0f54 rmm_delete_seat + ac: ipc_remove_seat()0x800d1140 ipc_remove_seat + 50: ipc_renumber_as_slave()0x800d0a10 ipc_renumber_as_slave +208: my_free()0x800d3430 my_free + 8: ssiFree()0x8001c378 ssiFree + 8c: ssiEvent()0x800274dc ssiEvent +11c: ssiEvent()0x800277bc ssiEvent +3fc: sysStackTrace()----------No Dump Trace before the eventspirit3.1.1.PXM.a >spirita.1.PXM.a > dsperrError Log for Slot 01: Error Num 42Firmware version: 001.000.000.000_swtools Product Id: 3Timestamp: 05/21/2000-04:41:33 Node name: spiritaSection Number 0:Event Logged:01-00124 05/21/2000-04:41:33 DB2S-4-DBSYNC_NULLPARAE:00042 tDbgCmdTsk 0x800e9f58ssiFRIsDirReplicated: Invalid Parameter: NULL pointer or NULL string for Path NameSection Number 1:Stack Trace:0x805ce684 vxTaskEntry +00c: sysTaskSetup+0()0x800720e4 sysTaskSetup +09c: cliCmdTask+0()0x80197924 cliCmdTask +478: cliCmdExec+0()0x80197098 cliCmdExec +270: cliRemove+0()0x8019841c cliRemove +184: ssiFRIsDirReplicated+0()0x800e9f58 ssiFRIsDirReplicated +068: ssiEvent+0()0x8005e0dc ssiEvent +24c: ssiEventMsgReport+0()0x8005e618 ssiEventMsgReport +284: ssiStackTrace+0()--------------Type <CR> to continue, Q<CR> to stop: qdsperrhist
Use the dsperrhist command to display a log of errors and failures.
Syntax Description
dsperrhist
slot number
Optional. The number of the slot that contains the card you want to work on. Use this object to disaply the log of errors and failures only on a specific slot.
Examples
Example 1
spirit11.1.1.PXM.a > dsperrhist
Log of Errors and Failures:Entry#--Event#---EventName-------------------------------TimeStamp-----------01 0x1000 RAM sync error 08/11/2000-16:50:3402 0x1000 RAM sync error 08/11/2000-16:51:5403 0x301f syncRam DB Reset Init from STBY failed 08/11/2000-16:53:1204 0x0007 SHM_CDF_MAX_RESETS_REACHED 08/11/2000-16:54:2805 0x301f syncRam DB Reset Init from STBY failed 08/11/2000-16:58:1606 0x1000 RAM sync error 08/11/2000-16:59:3607 0x301f syncRam DB Reset Init from STBY failed 08/11/2000-17:00:5608 0x301f syncRam DB Reset Init from STBY failed 08/11/2000-17:01:3509 0x1000 RAM sync error 09/07/2000-20:43:05Type <CR> to continue, Q<CR> to stop:Example 2
spirit11.1.1.PXM.aspirit11.1.1.PXM.a> dsperrhist 2Log of Errors and Failures:Entry#--Event#---EventName-------------------------------TimeStamp-----------01 0x1000 RAM sync error 07/07/2000-09:29:3102 0x1000 RAM sync error 07/07/2000-09:30:5103 0x301f syncRam DB Reset Init from STBY failed 07/07/2000-09:32:1104 0x0007 SHM_CDF_MAX_RESETS_REACHED 07/07/2000-09:33:1905 0x1000 RAM sync error 07/07/2000-22:25:0606 0x1000 RAM sync error 07/07/2000-22:26:2607 0x301f syncRam DB Reset Init from STBY failed 07/07/2000-22:27:4608 0x0007 SHM_CDF_MAX_RESETS_REACHED 07/07/2000-22:28:5409 0x1000 RAM sync error 07/08/2000-04:29:58Type <CR> to continue, Q<CR> to stop:dspif
Use the dspif command to view configuration and state information for the selected broadband interface.
Syntax Description
dspif <if_num>
Examples
To view configuration and state information for broadband interface number 1:
spirit3.1.1.PXM.a > dspif 1ifNum Status Line ingrPctBw egrPctBw minVpi maxVpi------------------------------------------------------1 Ena 1 10 10 0 19spirit3.1.1.PXM.a >dspipif
Use the dspipif command to view configuration and statistics information associated with one or all IP interfaces.
Syntax Description
dspipif [interface]
Examples
spirita.1.PXM.a > dspipif
dspipifcache
Use the dspipifcache command to view interface cache translation table for one or all interfaces.
Syntax Description
dspipifcache [interface]
Examples
spirita.1.PXM.a > dspipifcachespirita System Rev: 01.00 May. 21, 2000 06:03:36 PSTSES-CNTL Node Alarm: CRITICALIP CONNECTIVITY INTERFACE CACHEInterface IpAddress VcId Age(Flush@120000) Flags--------------------------------------------------------------------------No Entriesdsplmilink
Use the dsplmilink command to display LMI links on a line.
Syntax Description
dsplmilink
Examples
spirit11.1.1.PXM.a > dsplmilink
dsplmiloop
Use the dsplmiloop command to display LMI loopback state for a line.
Syntax Description
dsplmiloop
Examples
spirit11.1.1.PXM.a > dsplmiloop
TRK LMI LOOP STATUS-----------------------2.1 Disableddsplmistats
Use the dsplmistats command to view the current local management interface (LMI) configurations.
Syntax Description
dspilmistats
Examples
spirit3.1.1.PXM.a > dspilmistats
Polling Enabled: 1Port Status : 1VPI.VCI : 3.31T393 : 10N394 : 5T394 : 10N395 : 5WaitStatus : 0WaitStAck : 0Retry Timer : 0Retry Count : 1Poll Timer : 1Trans Num : 210Status Rx : 55762Status Tx : 53550UpdtStatus Rx : 0UpdtStatus Tx : 0Status Enq Rx : 53550Status Enq Tx : 55762Status Ack Rx : 0Status Ack Tx : 0NodeStatus Rx : 43918Type <CR> to continue, Q <CR> to stop:dsplog
Use the dsplog command to view events and messages logged by the selected PXM. The most recent events appear at the top of the list. You can display the entire list of logged messages by typing the dsplog command without arguments, or you can specify the individual card for which you want to view log information.
![]()
Note
This document describes the dsplog command on the SES. This command is also in BPX CLI.
dsplog -log <EventLog# > -mod <ModuleName> -sev <Severity#> -sl <Slot# > -task <TaskName>
-tge <MM/DD/YYYY-HH:MM:SS> -tle <MM/DD/YYYY -HH:MM:SS>
Examples
Example C-15 To view all log files:
spirit3.1.1.PXM.a > dsplog02-12037 09/22/2000-17:31:09 FTPD-7-FTPDLIB3FtpdServ1 0x8027e204EVNT:ftp user logged OFF:username= superuser02-12036 09/22/2000-17:31:09 FTPD-7-FTPDLIB3FtpdServ1 0x8027d3b8EVNT:ftp user logged ON:username= superuser02-12035 09/22/2000-17:31:09 FTPD-7-FTPDLIB3FtpdServ1 0x8027e204EVNT:ftp user logged OFF:username= superuser02-12034 09/22/2000-17:31:09 FTPD-7-FTPDLIB3FtpdServ1 0x8027d3b8EVNT:ftp user logged ON:username= superuser02-12033 09/22/2000-17:31:09 FTPD-7-FTPDLIB3FtpdServ1 0x8027e204EVNT:ftp user logged OFF:username= superuser02-12032 09/22/2000-17:31:09 FTPD-7-FTPDLIB3FtpdServ1 0x8027d3b8EVNT:ftp user logged ON:username= superuser02-12031 09/22/2000-17:31:09 FTPD-7-FTPDLIB3FtpdServ1 0x8027e204EVNT:ftp user logged OFF:username= superuser02-12030 09/22/2000-17:31:09 FTPD-7-FTPDLIB3dsplogs
Use the dsplogs command to view PXM log files.
Syntax Description
dsplogs
Example C-16 To view all log files:
spirit11.1.1.PXM.a > dsplogsCurrent Event log number: 20Event log 20: C:/LOG/event20.logstarting timestamp: 09/22/2000-12:31:04Event log 19: C:/LOG/event19.logstarting timestamp: 09/22/2000-00:21:01Event log 18: C:/LOG/event18.logstarting timestamp: 09/20/2000-22:42:11Event log 17: C:/LOG/event17.logstarting timestamp: 09/19/2000-16:05:52Event log 16: C:/LOG/event16.logstarting timestamp: 09/19/2000-01:35:08Event log 15: C:/LOG/event15.logstarting timestamp: 09/18/2000-16:32:47Event log 14: C:/LOG/event14.logstarting timestamp: 09/18/2000-07:20:02Event log 13: C:/LOG/event13.logstarting timestamp: 09/17/2000-17:50:13Event log 12: C:/LOG/event12.logstarting timestamp: 09/16/2000-22:24:37Event log 11: C:/LOG/event11.logstarting timestamp: 09/16/2000-01:35:50Event log 10: C:/LOG/event10.logstarting timestamp: 09/15/2000-22:05:42Type <CR> to continue, Q<CR> to stop:dspndalms
Use the dspndalms command to view the node alarms. This includes clock alarms, switching alarms, shelfslot alarms, environment alarms, and card alarms.
Syntax Description
dspndalms
Examples
spirita.1.PXM.a > dspndalmsNode Alarm SummaryAlarm Type Critical Major MinorClock Alarms 0 0 0Switching Alarms 0 0 0Shelf Slot Alarms 0 0 0Environment Alarms 0 0 0Alarms From Cards 2 0 0dspndstatus
Use the dspndstatus command to view the status of the node alarms.
Syntax Description
dspndstatus
Examples
spirita.1.PXM.a > dspndstatusTotal Alarms = 2Node Alarm Status - Type LINE ALARM Severity CRITICALdspred
Use the dspred command to view redundancy information.
Syntax Description
dspred
Examples
Example C-17
spirit11.1.1.PXM.a > dspredspirita System Rev: 02.00 May. 22, 2000 11:25:02 GMTSES-CNTL Node Alarm: NONEPrimary Primary Primary Secondary Secondary Secondary RedundancySlotNum Type State SlotNum Type State Type------- ------- ------- --------- --------- --------- ----------1 PXM1 Active 2 PXM1 Standby 1-1dspslotalms
Use the dspslotalms command to view the slot alarms. This includes card alarms, card hardware alarms, disk alarms, and interface card alarms.
Syntax Description
dspslotalms
Examples
spirita.1.PXM.a > dspslotalmsNode Slot Alarm SummaryCard Alarm Critical 0 Major 0 Minor 0Card Hardware Critical 0 Major 0 Minor 0Disk Alarm Critical 0 Major 0 Minor 0Interface Card Critical 0 Major 0 Minor 0dspsnmp
Use the dspsnmp command to display disk utilization.
Syntax Description
dspsnmp
Examples
spirit11.1.1.PXM.a > dspsnmp
Unknown System Rev:01.00 Sep. 27, 2000 06:25:35 PSTSES-CNTL Node Alarm:MAJORCommunity: roSystem Location:System Contactdspswalms
Use the dspswalms command to display alarms for circuits on the PXM.
Syntax Description
dspswalms
Examples
spirit11.1.1.PXM.a > dspswalms
Node Switching Alarm SummaryCard Crossbar Critical 0 Major 0 Minor 0Crossbar Fabric Critical 0 Major 0 Minor 0Humvee Alarm Critical 0 Major 0 Minor 0espses3.2.PXM.a >dsptrapmgr
Use the dsptrapmgr command to display all the details about a trap manager.
Display details about all existing trap managers. The dsptrapmgr output shows:
•
IP address of each trap manager
•
Port number on the connected work station
•
Row status
•
Read trap flag stats
•
Next trap sequence number
Of these elements, the IP address and port number result from addtrapmgr.
Syntax Description
dsptrapmgr
Examples
spirit11.1.1.PXM.a > dsptrapmgrnode19.8.PXM.a > dsptrapmgripAddress PortNum RowStatus ReadTrapFlag NextTrapSeqNum--------------- ------- ---------- ------------ --------------171.71.55.21 2500 Add Off 0172.29.65.87 2500 Add Off 348172.71.59.21 2500 Add Off 0LastTrapSeqNum: 385NumOfValidEntries: 3
dspusers
Use the dspusers command to view the user IDs that have been added to the PXM configuration. The screen shows the user name and highest privilege level and displays the number of those levels above user-privilege.
Syntax Description
dspusers [-u -userid]
Examples
Example C-18 To view the users configured for this shelf:
wilco.1.1.PXM.a > dspusersUserId AccessLevel-------------------------cisco CISCO_GPservice SERVICE_GPsuperuser SUPER_GPraoul GROUP3duke GROUP1wilco.1.1.PXM.a >dspversion
Use the dspversion command to view version information about the selected card.
Syntax Description
dspversion
Examples
spirita.1.PXM.a > dspversionImage Type Shelf Type Card Type Version Built On---------- ---------- ---------- ------------ ------------Runtime MGX PXM1 1.0(0) May 17 2000, 19:36:59Boot MGX PXM1 1.0(39)B1 -exit
Use the exit command to exit the current CLI shell.
Syntax Description
exit
Examples
Example C-19 To exit from the current CLI shell
spirit4.1.2.PXM.a > exit(session ended)Help
Use the Help command to view commands associated with the current card. The Help command also takes arguments and filters the commands based on the argument string.
Syntax Description
Help
Examples
spirita.1.PXM.a > HelpAvailable commands------------------?abortofflinediagabortrevaddaddraddapslnaddchanaddconaddfltsetaddlmiloopaddmasteraddpnni-nodeaddpnni-summary-addraddpnportaddprfxaddredaddserialifaddslaveaddtrapmgradduserType <CR> to continue, Q<CR> to stop:ipifconfig
.Use the ipifconfig command to set IP address information for a specified IP interface on the PXM.
Syntax Description
ipifconfig <interface> [<ip_address>] [up|down] [netmask Mask] [broadcast <broad_addr>]
[arp | noarp] [svc|nosvc] [pvc | nopvc] [default|nodefault] [clrstats]
Examples
ipifconfig atm0 10.1.2.95
ifShow
Use the ifShow command to view the contents of all the currently configured interfaces.
Syntax Description
ifShow
Examples
spirit4.1.2.PXM.a > ifShowlnPci (unit number 0):Flags: (0x63) UP BROADCAST ARP RUNNINGInternet address: 172.29.23.149Broadcast address: 172.29.23.255Netmask 0xffff0000 Subnetmask 0xffffff00Ethernet address is 00:c0:43:00:2d:c7Metric is 0Maximum Transfer Unit size is 1500599468 packets received; 34476 packets sent0 input errors; 0 output errors0 collisionslo (unit number 0):Flags: (0x69) UP LOOPBACK ARP RUNNINGInternet address: 127.0.0.1Netmask 0xff000000 Subnetmask 0xff000000Metric is 0Maximum Transfer Unit size is 40964 packets received; 4 packets sent0 input errors; 0 output errors0 collisionssl (unit number 0):Flags: (0x71) UP POINT-TO-POINT ARP RUNNINGInternet address: 0.0.0.0Destination Internet address: 0.0.0.0Netmask 0xff000000 Subnetmask 0xff000000Metric is 0Maximum Transfer Unit size is 5760 packets received; 0 packets sent0 input errors; 0 output errors0 collisionsatm (unit number 0):Flags: (0x43) UP BROADCAST TRAILERS ARP RUNNINGInternet address: 172.1.1.149Broadcast address: 172.1.1.255Netmask 0xffff0000 Subnetmask 0xffffff00Ethernet address is 00:00:00:00:00:00Metric is 0Maximum Transfer Unit size is 15000 packets received; 47272 packets sent0 input errors; 47272 output errors0 collisionsspirit4.1.2.PXM.a >logout
Use the logout command to exit the current CLI shell.
Syntax Description
logout
Examples
Example C-20 To log out of the current CLI shell
spirit4.1.2.PXM.a > logout(session ended)memShow
Use the memShow command to view the current memory map.
Syntax Description
memShow
Examples
Example C-21 To view current memory allocation on the PXM:
spirit4.1.2.PXM.a > memShowstatus bytes blocks avg block max block------ --------- -------- ---------- ----------currentfree 2967104 37 80192 2879008alloc 2561600 1774 1443 -cumulativealloc 241511616 1019558 236 -spirit4.1.2.PXM.a >resetcd
Use the resetcd command to reset the selected PXM, and to gracefully terminate all current applications on the card.
Syntax Description
resetcd <slot number> [-f]
slot
Slot number of the installed PXM, either 1 or 2.
-f
(optional) Clears the fail state on the slot.
Examples
spirita.1.PXM.a > resetcdThe card in slot number 1, will be reset. Please confirm actionDo you want to proceed (Yes/No)? n(command not executed)resetsys
Use the resetsys command to reset the SES shelf.
Syntax Description
resetsys
Examples
spirita.1.PXM.a > resetsysThis command resets the entire shelf, a destructive command.Please confirm now!Do you want to proceed (Yes/No)? ySyncing ... C:Syncing ... D:Syncing ... E:Syncing ... F:Warning: firmware reset on active PXM card by cisco@console(session ended)restoreallcnf
Use the restoreallcnf command to restore all configuration files saved in the CNF directory on the harddrive.
Syntax Description
restoreallcnf <-f filename>
-f (filename)Zip file for configuration.
-v
Optional. Prints out the files restored. ( default: not ).
Examples
spirita.1.PXM.a > restoreallcnfUsage :restoreallcnf -f FILENAME [-v]-f:FILENAME is the zip file for configurationoption -v:print out the files restored ( default:not )spirita.1.PXM.a > restoreallcnf -f Unknown_01_200009270622The current configuration will be replaced with the contentsof the specified file and the shelf will be rebooted.Do you want to proceed (Yes/No)? yrouteShow
Use the routeShow command to view the current IP routing of the network layer of the operating system.
Syntax Description
routeShow
Examples
Example C-22 To view the current IP routing of the network layer of the operating system:
spirit4.1.2.PXM.a > routeShowROUTE NET TABLEdestination gateway flags Refcnt Use Interface------------------------------------------------------------------------0.0.0.0 172.29.23.149 1 1 21778 lnPci00.0.0.0 172.29.23.1 3 0 2755 lnPci0172.1.1.0 172.1.1.149 1 0 0 atm0172.29.23.0 172.29.23.149 1 2 5275 lnPci0------------------------------------------------------------------------ROUTE HOST TABLEdestination gateway flags Refcnt Use Interface------------------------------------------------------------------------0.0.0.0 0.0.0.0 5 0 0 sl0127.0.0.1 127.0.0.1 5 1 0 lo0172.29.23.3 172.1.1.149 5 0 3555 atm0172.29.23.5 172.1.1.149 5 0 3304 atm0172.29.23.7 172.1.1.149 5 0 3335 atm0171.71.29.18 172.1.1.149 5 0 3304 atm0172.29.23.18 172.1.1.149 5 0 3304 atm0172.29.23.28 172.1.1.149 5 0 6127 atm0172.29.23.29 172.1.1.149 5 1 6065 atm0171.71.29.32 172.1.1.149 5 0 5842 atm0171.71.29.44 172.1.1.149 5 0 3304 atm0172.29.23.53 172.1.1.149 5 0 3304 atm0171.71.29.59 172.1.1.149 5 0 3304 atm0171.71.28.126 172.1.1.149 5 0 3309 atm0------------------------------------------------------------------------spirit4.1.2.PXM.a >routestatShow
Use the routestatShow command to view the current IP routing statistics for the network layer of the operating system.
Syntax Description
routestatShow
Examples
Example C-23 To view the current IP routing statistics for the network layer of the operating system
spirit4.1.2.PXM.a > routestatShowrouting:0 bad routing redirect0 dynamically created route0 new gateway due to redirects0 destination found unreachable11095 uses of a wildcard routespirit4.1.2.PXM.a >saveallcnf
Use the saveallcnf command to saves all the configuration files to the CNF directory on the harddrive.The 'saveallcnf' command can be time-consuming. The shelf must not provision new circuits while this command is running. Do not run this command unless the shelf configuration is stableor you risk corrupting the saved configuration file.
Syntax Description
saveallcnf
Examples
spirit11.1.1.PXM.a > saveallcnf
Do you want to proceed (Yes/No)? ysaveallcnf:shelf configuration saved in C:/CNF/Unknown_01_200009270622.zip.sesntimeout
Use the sesntimeout command to specify the number of seconds of idle time for the current user-session. If you do not specify a timeout period, the system displays the current timeout. At the end of the session, the system logs you out.
To disable the session timeout function, specify 0 seconds.
Syntax Description
sesntimeout [time_out]
Examples
spirit11.1.1.PXM.a > sesntimeout 300The timeout period for this session is now set to 300 second(s)spirit11.1.1.PXM.a >
setrev
Use the setrev command to set the primary and secondary revisions of the slot specified.
Syntax Description
setrev <slot><primaryversion><secondaryversion>
![]()
Note
Use the revision number for both primary and secondary versions to start a new version.
Examples
spirita.1.PXM.a > setrev 1.0(0) 1.0(0)one or more card(s) in logical slot 1 will be reset.Do you want to proceed (Yes/No)? n(command not executed)switchapsln
Use the switchapsln command to control APS switching actions. This function applies to OC-3 lines.
Syntax Description
switchapsln <line number> <operation>
or switchapsln <slot>
Syntax Description
switchapsln 1 f
switchapsln
s 2switchcc
Use the switchcc command to reverse the roles of the active and the standby PXM. After you use this command, the PXM previously designated as the active PXM becomes the standby, and the PXM previously designated as the standby becomes the active PXM.
Syntax Description
switchcc
Examples
spirit11.1.1.PXM.a > switchccDo you want to proceed (Yes/No)?timeout
Use the timeout command to display or change the maximum time a user can be idle before the system terminates that user's session. The units of measure are seconds. To change the timeout period, type a number that is less than or equal to 600 after the timeout command.
Syntax Description
timeout [timeout_period]
Examples
spirit11.1.1.PXM.a > timeout 0The timeout period for this session is now set to 0 second(s)espses3.2.PXM.a > timeout 40000
The timeout period for this session is now set to 40000 second(s)
espses3.2.PXM.a > timeout 22
The timeout period for this session is now set to 22 second(s)
espses3.2.PXM.a > timeout 5
Err:input timed out
(session ended)
who
Use the who command to view details associated with user IDs currently active on the PXM.
Syntax Description
who
Examples
Example C-24 To view the users logged into the current card:
spirit.1.1.PXM.a > whoPort Slot Idle UserId From-------------------------------------------------------------telnet.01 * 7 0:00:00 cisco 171.71.25.240spirit.1.1.PXM.a >whoami
Use the whoami command to view the current login ID, access level and associated terminal port.
Syntax Description
whoami
Examples
Example C-25 To view information about the user of the current terminal session:
spirit.1.1.PXM.a > whoamiUser ID: ciscoAccess Level: CISCO_GPTerminal Port: telnet.01spirit.1.1.PXM.a >