This chapter covers the following topics:
Overview
The MAX TNT provides a number of profiles that either monitor administration information or enable the administrator to change the state of a slot, line, or device. (For discussion of profiles not directly related to system administration, for example, profiles related to configuring lines, connections, or calls, see the MAX TNT Network Guide or the MAX TNT Hardware Installation Guide.)
For information about the parameters contained within each of these profiles, see the MAX TNT Reference Guide.
admin> read t1-stat { 1 5 1}
T1-STAT/{ shelf-1 slot-5 1 } read
admin> list
physical-address* = { shelf-1 slot-5 1 }
line-state = active
channel-state = [ nailed-up nailed-up nailed-up nailed-up nailed-up nailed-up n+
error-count=[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ]
loss-of-carrier = False
loss-of-sync = False
ais-receive = False
yellow-receive = False
ber-receive = False
carrier-established = True
network-loopback = False
How the MAX TNT creates administrative profiles
The MAX TNT allocates SNMP interfaces when a card comes up for the first time. For example, the initial installation of a T1 card creates eight SNMP interfaces, one for each T1 line. An SNMP interface is associated with a physical address and is maintained across system resets.
admin> read admin-state {1 3 1}
ADMIN-STATE/{ shelf-1 slot-3 1 } read
admin> list
device-address* = { shelf-1 slot-3 1 }
slot-type = slot-card-8t1
snmp-interface = 2
desired-state = admin-state-up
Using the Admin-State profile
If you use an Admin-State profile to change the state of a device, the actual state of the device can differ from the desired state, as, for example, when a device is powering up or when the desired state is changed from up to down on a running slot.
admin> read admin-state {1 3 1}
ADMIN-STATE/{ shelf-1 slot-3 1 } read
admin> list
device-address* = { shelf-1 slot-3 1 }
slot-type = slot-card-8t1
snmp-interface = 2
desired-state = admin-state-up
admin> set desired-state = admin-state-down
admin> writeTo bring the device back up:
ADMIN-STATE/{ shelf-1 slot-3 1 } written
admin> read admin-state {1 3 1}
ADMIN-STATE/{ shelf-1 slot-3 1 } read
admin> set desired-state = admin-state-up
admin> write
ADMIN-STATE/{ shelf-1 slot-3 1 } written
Using the Slot-Info profile
The read-only Slot-Info profile stores information about each slot card that has successfully booted. This profile is not stored in NVRAM, so it is not persistent across system resets or power cycles. It is created when the slot card boots, and is deleted when the slot card is removed or when the MAX TNT system is rebooted. It can be read by SNMP managers.
admin> read slot-info {1 6 0}
SLOT-INFO/{ shelf-1 slot-6 0 } read
admin> listFor information about the parameters in the Slot-Info profiles, see the MAX TNT Reference Guide .
slot-address* = { shelf-1 slot-6 0 }
serial-number = 6500999
software-version = 1
software-revision = 1
software-level = B
Using the Slot-State profile
When you set the required operational state of a slot, the MAX TNT initiates a state change. IN terms of settings, Current-State changes to match Reqd-State. This setting is not persistent across system resets or power cycles. At system startup, the MAX TNT reinitializes the required state to match the actual state of the card.
admin> read slot-state {1 1 0}
SLOT-STATE/{ shelf-1 slot-1 1 } read
admin> listThe slot address is the physical address of the slot, and cannot be set directly. The Current-State value shows the current operational state of the slot, and can be any of the states described below.
slot-address* = { shelf-1 slot-1 0 }
current-state = oper-state-down
reqd-state = reqd-state-up
The Reqd-State parameter indicates the required operational state of the slot, which can be up or down. Changing this value initiates a state change for the device, as explained in the following sections.
admin> read slot-state {1 3 6}
SLOT-STATE/{ shelf-1 slot-3 6 } read
admin> set reqd-state = reqd-state-down
admin> writeTo bring the slot back up:
SLOT-STATE/{shelf-1 slot-3 6} written
admin> set reqd-state = reqd-state-up
admin> write
SLOT-STATE/{ shelf-1 slot-3 6} written
Using the Device-State profile
Every host interface (such as an HDLC channel or a digital modem) or network interface (such as T1 or E1 channel) on the MAX TNT has a Device-State profile, which stores the current state of the device and allows you to change it. For example, each eight port T1 card has 192 Device-State profiles (one for each T1 channel). Similarly, each modem card has 48 Device-State profiles (one for each modem).
admin> read device {{1 3 1} 24}
DEVICE-STATE/{ { shelf-1 slot-3 1 } 24 } read
admin> list
device-address* = { { shelf-1 slot-3 1 } 24 }
device-state = down-dev-state
up-status = idle-up-status
reqd-state = up-reqd-stateIn the output, the Device-State parameter shows the current operational state of the device, which can be down, up, or none. (None indicates that the device does not exist.)
The Up-Status parameter is ignored unless the device is up (Device-State=Up-Dev-State). If the device is up, Up-Status shows the status of the device, which can be idle, reserved (will not be used until all idle devices of the same type are in use), or assigned (in use).
The Reqd-State parameter indicates the required operational state of the device, which can be up or down. Changing this value initiates a state change for the device. The change is complete when Device-State changes to match Reqd-State. This setting is not persistent across system resets or power cycles. At system startup, the MAX TNT reinitializes the required state to match the actual state of the card.
To change the state of a device by modifying its Device-State profile, proceed as in the following example.
To bring a device down:
admin> read device {{1 3 6} 24}
DEVICE-STATE/{ { shelf-1 slot-3 6 } 24 } read
admin> set reqd-state = down-reqd-state
admin> write
DEVICE-STATE/{ { shelf-1 slot-3 6 } 24 } writtenTo bring the device back up:
admin> read device {{1 3 6} 24}
DEVICE-STATE/{ { shelf-1 slot-3 6 } 24 } read
admin> set reqd-state = up-reqd-state
admin> write
DEVICE-STATE/{ { shelf-1 slot-3 6 } 24 } written
Using the T1-Stat profile
The T1-Stat profile displays the status of the T1 lines and their channels. Each T1 line has a separate profile. When the T3 card is operational, it creates a T3-Stat profile and twenty-eight T1-Stat profiles, which store the current status of the DS3 and each component DS1. Similarly, when a FrameLine card is operational, it creates a 10 T1-Stat profiles, which store the current status each component DS1.
admin> read t1-stat {1 8 1}
T1-STAT/{ shelf-1 slot-8 1 } read
admin> listThe Line-State parameter shows the overall state of the line which can be any of the following:
physical-address* = { shelf-1 slot-10 7 }
line-state = disabled
channel-state = [ disabled disabled disabled disabled disabled +
error-count = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ]
loss-of-carrier = False
loss-of-sync = False
ais-receive = False
yellow-receive = False
ber-receive = False
carrier-established = False
network-loopback = False
The channel-state parameter shows the state of each channel. Possible states are:
State |
Description |
---|---|
Unavailable
|
Not available.
|
Unused
|
Not in use.
|
Out-of-service
|
Out of service.
|
Nailed-up
|
Nailed.
|
The Error-Count parameter shows an error count for each channel.
Using SWAN-Stat profiles
A SWAN-Stat profile displays the status of a serial WAN line. Each line on the SWAN card has a separate profile.
admin> read swan-stat {1 8 1}For descriptions of the parameters in the SWAN-Stat profile, see to the MAX TNT Reference Guide.
SWAN-STAT/{ shelf-1 slot-8 1 } read
admin> list
physical-address* = { shelf-1 slot-15 3 }
line-state = active
error-count = 0
Using ADSL profiles
The ADSL-CAP-Stat, ADSL-CAP-Statistics, and ADSL-CAP-Status profiles facilitate the administration of Asymmetic Digital Subsriber Line (ADSL) connections. Using the ADSL-CAP-Stat profile
The ADSL-CAP-Stat profile displays the status of the RADSL connection. Each port on the RADSL card has a separate profile.
admin> read adsl-cap-stat {1 8 1}For descriptions of the parameters in the ADSL-CAP-Stat profile, see the MAX TNT Reference Guide.
ADSL-CAP-STAT/{ shelf-1 slot-8 1 } read
admin> list
physical-address* = { shelf-1 slot-9 1 }
line-state = active
error-count = 0
admin> read adsl-cap-statistics {1 9 1}Following are brief descriptions of the parameters in the ADSL-CAP-Statistics profile. (For complete descriptions, see the MAX TNT Reference Guide.)
ADSL-CAP-STATISTICS/{ shelf-1 slot-9 1 } read
admin> list
physical-address* = { shelf-1 slot-9 1 }
line-up-timer = { 0 21 26 }
rx-signal-present = yes
line-quality = 45
up-dwn-cntr = 1
self-test = passed
rs-errors = 0
rs-corrected-errors = 0
transmit-power = 15
rx-attenuation = 2
connection-sq = 45
hdlc-rx-crc-error-cnt = 0
bert-timer = 2 minutes
bert-enable = no
bert-operation-state = stopped
bert-error-counter = 0
Using the ADSL-CAP Status profile
The ADSL-CAP-Status profile indicates the status of the RADSL interface. To display RADSL line status, read and list the ADSL-CAP-Status profile, as in the following example:
admin>
read adsl-cap-status { 1 11 1}ADSL-CAP-STATUS/
{ shelf-1 slot-11 1 }read
Following are the parameters in the ADSL-CAP-Status profile, with descriptions of that they indicate. (For complete descriptions, see the MAX TNT Reference Guide.)admin>
listphysical-address* = {
shelf-1 slot-11 1 }if-group-index = 0
unit-type = coe
dev-line-state = port-up
up-stream-rate = 952000
down-stream-rate = 5120000
major-firmware-ver = 232
minor-firmware-ver = 0
hardware-ver = 0
up-stream-constellation = 256
down-stream-constellation = 256u
down-stream-operational-baud = 680
Using the IDSL-Stat profile
Following are the parameters in the IDSL-Stat profile, with brief descriptions of what they indicate. (For complete descriptions, see the MAX TNT Reference Guide.)
Parameter |
Indicates |
---|---|
Physical-Address
|
Physical address of the IDSL card, in the format {shelf slot item} where item is the port number of the card.
|
Line-State
|
State of the line, as one of the following values:
|
Channel-State
|
State of the channels, as one of the following values:
|
Error-Count
|
Number of errors per channel that have occurred since the last reset.
|
Using SDSL profiles
SDSL profiles include SDSL-Stat, SDSL-Statistics, and SDSL Status. Using the SDSL Stat profile
The SDSL-Stat profile indicates the status of the SDSL connection. Each port on the SDSL card has a separate profile.
admin> read sdsl-stat {1 8 1}For descriptions of the parameters in the SDSL-Stat profile, see to the MAX TNT Reference Guide.
SDSL-STAT/{ shelf-1 slot-8 1 } read
admin> list
physical-address* = { shelf-1 slot-9 1 }
line-state = active
error-count = 0
Using the SDSL Status profile
Following are the parameters in the SDSL Status profile, with brief descriptions of what they indicate. (For complete descriptions, see to the MAX TNT Reference Guide.)
Parameter |
Indicates |
---|---|
Physical-Address
|
Physical address of the SDSL card, in the format {shelf slot item} where item is the port number of the card.
|
IF-Group-Index
|
SNMP interface group index assigned to this port.
|
Unit-Type
|
Operating mode of the card. The values can be either of the following.
|
Dev-Line-State
|
Interface status. as one of the following values:
|
Up-Stream-Rate
|
Upstream data rate.
|
Down-Stream-Rate
|
Downstream data rate.
|
Major-Firmware-Ver
|
Major version number of the card's firmware.
|
Minor-Firmware-Ver
|
Minor version number of the card's firmware.
|
Hardware-Ver
|
Hardware version of the card.
|
Copyright © 1997, Ascend Communications, Inc. All rights reserved.