|
Table Of Contents
Command Reference
This chapter describes the commands used in the Cisco ONS 15501 environment. The commands are listed alphabetically.
Note To display a list of available commands, enter help. To obtain the syntax for any individual command, enter help [command].
Note All commands are case insensitive.
Note Commands that change the configuration of the control module are protected by the master password. Commands that allow access to information but do not change the configuration are protected by the user password.
add-snmp-com
To add an SNMP community string to the system, use the add-snmp-com command.
add-snmp-com community-string [ro|rw]
Syntax Description
Defaults
ro is the default if access mode is not specified.
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The Cisco ONS 15501 supports up to 16 SNMP community strings.
Examples
The following example shows how to add an SNMP community string to the system.
edfa > add-snmp-com abcd
Related Commands
Command DescriptionDeletes an SNMP community string in the system.
Displays an SNMP community string in the system.
add-snmp-mgr
To add or modify an SNMP manager entry on the system, use the add-snmp-mgr command.
add-snmp-mgr manager-ip
Syntax Description
Defaults
None
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The Cisco ONS 15501 uses the SNMP manager address to direct SNMP trap and inform notifications. No notifications are sent unless at least one SNMP manager address is configured. The Cisco ONS 15501 accepts a maximum of 16 IP managers.
Examples
The following example shows how to add an SNMP manager entry on the system.
edfa > add-snmp-mgr 10.1.2.71
Related Commands
Command DescriptionDeletes an SNMP manager entry on the system.
Displays an SNMP manager entry on the system.
alarm
To display a list of alarms in the system, use the alarm command.
alarm
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Examples
The following example shows how to display a list of alarms in the system.
edfa > alarm
Alarm: Temperature - Unacceptable
Alarm: Equipment -
Alarm: Input Signal - Low
boot-bank
To display the active and planned boot bank or modify the active boot bank, use the boot-bank command.
boot-bank [flash-bank]
Syntax Description
Defaults
Displays the active boot bank
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The active boot bank is the Flash bank from which the system has been booted. The planned boot bank is the Flash bank from which the system will next be booted.
Examples
The following example shows how to modify the active boot bank.
edfa > boot-bank 2
The following example shows how to display the active boot bank.
edfa > boot-bank
Active flash bank number: 1
Planned flash bank number: 1
copyright
This command displays the copyright information
copyright
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Examples
The following example shows the copyright information.
edfa > copyright
Copyright 2002 Motorola
Based on software developed by, licensed under or Copyright by one or more of
- GNU General Public License Version 2, June 1991
- Carnegie Mellon University
- Regents of the University of California
- Freeware developed by a variety a lot of other developers.
del-snmp-com
To delete an SNMP community string on the system, use the del-snmp-com command.
del-snmp-com community-string
Syntax Description
Defaults
None
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Examples
The following example shows how to delete an SNMP community string on the system.
edfa > del-snmp-com abcd
Related Commands
Command DescriptionAdds an SNMP community string to the system.
Displays an SNMP community string on the system.
del-snmp-mgr
To delete an SNMP manager entry on the system, use the del-snmp-mgr command.
del-snmp-mgr manager-ip
Syntax Description
Defaults
None
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The Cisco ONS 15501 uses the SNMP manager address to direct SNMP trap and inform notifications. No notifications are sent unless at least one SNMP manager address is configured.
Examples
The following example shows how to delete an SNMP manager entry on the system.
edfa > del-snmp-mgr 10.1.2.71
Related Commands
Command DescriptionAdds or modifies an SNMP manager entry.
Displays SNMP manager entry information.
ethmode
To display or modify the Ethernet boot mode, use the ethmode command.
ethmode mode
Syntax Description
mode
Specifies the Ethernet boot mode. The boot mode is specified as 0 for auto-sense; 1 for full-duplex 100 Mbps; 2 for half-duplex 100 Mbps; 3 for full-duplex 10 Mbps; or 4 for half-duplex 10 Mbps.
Defaults
Displays the current Ethernet boot mode.
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The system default Ethernet boot mode is 4 for half-duplex 10 Mbps.
After setting a new Ethernet boot mode, the system must be rebooted to effect the change.
Examples
The following example shows how to display the Ethernet boot mode.
edfa > ethmode
ethernet init-mode 4
The following example shows how to modify the Ethernet boot mode.
edfa > ethmode 3
ethernet init-mode updated to 3
gain
To display the measured optical signal gain, use the gain command.
gain
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
The value for measured optical signal gain is displayed in dB.
Examples
The following example shows how to display the measured optical signal gain.
edfa > gain
17.50 (dB)
Related Commands
gainmean
To display the configured signal gain and alarm mean level, use the gainmean command.
gainmean
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
The value for configured Cisco ONS 15501 signal gain and alarm mean level is displayed in dB.
Examples
The following example shows how to display the configured signal gain and alarm mean level.
edfa > gainmean
17.50 (dB)
Related Commands
gaintrig
To display the gain alarm trigger level, use the gaintrig command.
gaintrig
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
The value for Cisco ONS 15501 gain alarm trigger level is displayed in dB.
Examples
The following example shows how to display the gain alarm trigger level.
edfa > gaintrig
1.00 (dB)
Related Commands
get-snmp-com
To display the SNMP community strings in the system, use the get-snmp-com command.
get-snmp-com community-string
Syntax Description
Defaults
Displays all SNMP community strings in the system
Command Types
Does not change configuration
Command Modes
Master password protected
Command History
Examples
The following example shows how to display an SNMP community string in the system.
edfa > get-snmp-com abcd
A list of the SNMP community string
=======================================
private
abcd
Related Commands
Command DescriptionAdds an SNMP community string to the system.
Deletes an SNMP community string on the system.
get-snmp-mgr
To display the SNMP (Simple Network Management Protocol) manager entries on the system, use the get-snmp-mgr command.
get-snmp-mgr
Syntax Description
Defaults
Displays all IP values of the SNMP manager
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
Use this command to display SNMP manager configuration information for a single entry or for all entries on the system.
Examples
The following example shows how to display the values of SNMP managers.
edfa > get-snmp-mgr 10.1.2.71
A list of the SNMP manager IP addresses
===========================================
209.128.68.147
10.1.2.71
Related Commands
help
To display the syntax for an individual command, or to display a list of available user commands, use the help command.
help [command]
Syntax Description
Defaults
Displays a list of available user commands
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
If there is a command specified, the corresponding help for that command will be printed. Without any command specified, a list of all commands will be shown.
Examples
The following example shows how to access a list of available user password commands.
edfa > help
STATUS: Alarm, Gain, GainMean, GainTrig, InPwr, InPwrMean, InPwrTrig,
OptOutPwr, OutSigPwr, OutSigPwrMean, OutSigPwrTrig, Ps1, Ps2,
Status, Temp, TempMean, TempTrig
SYSTEM: copyright, ethmode, get-snmp-mgr, help, host-config, ip-config,
logout, neighbor-in, neighbor-out, ntp, ntp-ip, sys-info, time,
timeout, timezone
MAINTENANCE: hide-trap, show-trap
The following example shows how to access a list of available master password commands.
edfa > help
STATUS:Alarm, Gain, GainMean, GainTrig, InPwr, InPwrMean, InPwrTrig,
LaserPumpStat, OptOutPwr, OutSigPwr, OutSigPwrMean, OutSigPwrTrig,
Ps1, Ps2, Status, Temp, TempMean, TempTrig
SETUP:ResetMeanTrig, SetGainMean, SetGainTrig, SetInPwrMean,
SetInPwrTrig, SetOutSigPwrMean, SetOutSigPwrTrig, SetTempMean,
SetTempTrig
SYSTEM:add-snmp-com, add-snmp-mgr, copyright, del-snmp-com, del-snmp-mgr,
ethmode, get-snmp-com, get-snmp-mgr, help, host-config, ip-config,
logout, neighbor-in, neighbor-out, ntp, ntp-ip, ping,
set-master-pwd, set-time, set-user-pwd, sys-info, time, timeout,
timezone
MAINTENANCE:boot-bank, hide-trap, reboot, show-trap, sw-download
hide-trap
To hide the trap message, use the hide-trap command.
hide-trap
Syntax Description
Defaults
None
Command Types
Changes configuration
Command Modes
User password protected
Command History
Examples
The following example shows how to hide the trap message.
edfa > hide-trap
Related Commands
host-config
To display or modify the current host name, use the host-config command.
host-config [hostname]
Syntax Description
Defaults
Displays the current host name
Command Types
Changes configuration
Command Modes
Master password protected. User password allows access to the current hostname, but does not allow modifications.
Command History
Usage Guidelines
hostname can have a maximum of 15 characters. Only alphanumeric characters, hyphens, dots, and underscores should be used.
Examples
The following example shows how to modify the current host name.
edfa > host-config ADM-EAST
ADM-EAST >
inpwr
To display the measured optical input power, use the inpwr command.
inpwr
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
The value for optical input power is displayed in dBm.
Examples
The following example shows how to display the optical input power.
edfa > inpwr
-46.03 (dBm)
Related Commands
inpwrmean
To display the optical input alarm mean level, use the inpwrmean command.
inpwrmean
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
The value for optical input alarm mean level is displayed in dBm.
Examples
The following example shows how to display the optical input alarm mean level.
edfa > inpwrmean
-38.00 (dBm)
Related Commands
inpwrtrig
To display the optical input alarm trigger level, use the inpwrtrig command.
inpwrtrig
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
The value for optical input alarm trigger level is displayed in dBm
Examples
The following example shows how to display the optical input alarm trigger level.
edfa > inpwrtrig
1.00 (dBm)
Related Commands
ip-config
To display or modify the IP address, IP subnet mask and IP default gateway, use the ip-config command.
ip-config [ip-addr [ip-subnet-mask [def-gateway-ip]]]
Syntax Description
ip-addr
Specifies the IP address.
ip-subnet-mask
Specifies the IP subnet mask.
def-gateway-ip
Specifies the IP address of the default gateway.
Defaults
If no values are entered, the command displays the current IP address, IP subnet mask and IP default gateway.
If a value is entered for ip-addr, but not for ip-subnet-mask, the default IP subnet mask is 255.255.255.0.
If a value is entered for ip-addr, but not for def-gateway-ip, the default IP gateway is xx.yy.zz.1; where xx.yy.zz are obtained by binary AND of first three bytes of ip-addr and ip-subnet-mask.
Command Types
Changes configuration
Command Modes
User password protected for display; master password protected for modification.
Command History
Examples
The following example shows how to display the IP address, IP subnet mask and IP default gateway.
edfa > ip-config
10.1.2.221 255.255.255.0 10.1.2.1
The following example shows how to display or modify the IP address, IP subnet mask and IP default gateway.
edfa > ip-config 192.168.0.10 255.255.255.240 192.168.0.1
logout
To log out of the system, use the logout command.
logout
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
neighbor-in
To display or modify the neighboring equipment details for optical input, use the neighbor-in command.
neighbor-in [[host link-host] [ip link-ip] [port link-port]] | [disable]
Syntax Description
Defaults
If no values are entered, the command displays the current input neighbor details.
Command Types
Changes configuration
Command Modes
User password protected for read. Master password protected for writes.
Command History
Usage Guidelines
In the absence of all arguments, the configured input neighbor NE information is shown.
To include space characters in the host or port, use double quotes (for example, neighbor-in host "DWDM phoenix 10"). Excluding the disable keyword, whenever a keyword present, the keyword value must be given. Either host or ip are required while port is optional. The disable keyword deletes the neighbor NE information.
Examples:
The following example shows how to configure the input neighbor equipment information.
edfa > neighbor-in host box1 ip 192.168.0.4 port box1-port
edfa > neighbor-in host box1
edfa > neighbor-in ip 192.168.0.4
edfa > neighbor-in host box1 port box1-port
edfa > neighbor-in host box1 ip 192.168.0.4
edfa > neighbor-in ip 192.168.0.4 port box1-port
edfa > neighbor-in disable
edfa > neighbor-in
HOST: source1
PORT: out-2
IP ADDRESS: 10.1.5.41
The following example shows how to issue the neighbor-in command with all the parameters.
edfa > neighbor-in source1 ip 10.1.5.41 port out-2
edfa > neighbor-in
HOST: source1
PORT: out-2
IP ADDRESS: 10.1.5.41
Related Commands
neighbor-out
To display or modify the neighboring equipment details for optical output, use the neighbor-out command.
neighbor-out [[host link-host] [ip link-ip] [port link-port]] | [disable]
Syntax Description
Defaults
If no values are entered, the command displays the current output neighbor details.
Command Types
Changes configuration
Command Modes
User password protected for read. Master password protected for writes.
Command History
Usage Guidelines
In the absence of all arguments, the configured output neighbor NE information is shown.
To include space characters in the host or port, use double quotes (for example, neighbor-out host "DWDM phoenix 10"). Excluding the disable keyword, whenever a keyword present, the keyword value must be given. Either host or ip are required while port is optional. The disable keyword deletes the neighbor NE information.
Examples
The following example shows how to configure the output neighbor equipment information.
edfa > neighbor-out host box1 ip 192.168.0.4 port box1-port
edfa > neighbor-out host box1
edfa > neighbor-out ip 192.168.0.4
edfa > neighbor-out host box1 port box1-port
edfa > neighbor-out host box1 ip 192.168.0.4
edfa > neighbor-out ip 192.168.0.4 port box1-port
edfa > neighbor-out disable
edfa > neighbor-out
HOST: dest1
PORT: in-2
IP ADDRESS: 10.1.71.41
The following example shows how to issue the neighbor in command with all the parameters.
edfa > neighbor-out dest1 ip 10.1.7.31 port in-1
edfa > neighbor-out
HOST: dest1
PORT: in-1
IP ADDRESS: 10.1.5.41
Related Commands
ntp
To modify or display the NTP (Network Time Protocol) status for the system, use the ntp command.
ntp [status]
Syntax Description
Defaults
Displays the current configuration of the NTP (that is, on or off), as well as the current IP addresses of the primary and secondary NTP servers
Command Types
Changes configuration
Command Modes
User password protected for display; master password protected for modification.
Command History
Usage Guidelines
When the NTP is on, the status (up/down) of the NTP servers is displayed if no argument is provided for the command.
Examples
The following example shows how to enable the NTP for the system.
edfa > ntp on
The following example shows how to display the current configuration of the NTP.
edfa > ntp
ON, 209.128.68.149:UP, 209.128.68.147:DOWN
Related Commands
ntp-ip
To modify or display the IP addresses of the NTP (Network Time Protocol) server, use the ntp-ip command.
ntp-ip [ip-addr1 [ip-addr2]]
Syntax Description
ip-addr1
Specifies the IP address of the primary NTP server.
ip-addr2
Specifies the IP address of the secondary NTP server.
Defaults
Displays the current IP addresses of the primary and secondary NTP servers.
If only one value is entered, that value is applied to the IP address of the primary NTP server.
Command Types
Changes configuration
Command Modes
User password protected for display; master password protected for modification.
Command History
Examples
The following example shows how to modify the IP address of the primary NTP server.
edfa > ntp-ip 209.128.68.149 209.128.68.147
The following example shows how to display the current IP addresses of the primary and secondary NTP servers.
edfa > ntp-ip
209.128.68.149, 209.128.68.147
Related Commands
optoutpwr
To display the optical output power, use the optoutpwr command.
optoutpwr
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
The value for optical output power is displayed in dBm.
Examples
The following example shows how to display the optical output power .
edfa > optoutpwr
-28.53 (dBm)
outsigpwr
To display the calculated output signal power, use the outsigpwr command.
outsigpwr
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
The value for calculated output signal power is displayed in dBm.
Examples
The following example shows how to display the calculated output signal power.
edfa > outsigpwr
-28.53 (dBm)
Related Commands
outsigpwrmean
To display the output signal alarm mean level, use the outsigpwrmean command.
outsigpwrmean
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
The value for output signal alarm mean level is displayed in dBm.
Examples
The following example shows how to display the output signal alarm mean level.
edfa > outsigpwrmean
2.00 (dBm)
Related Commands
outsigpwrtrig
To display the output signal alarm trigger level, use the outsigpwrtrig command.
outsigpwrtrig
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
The value for output signal alarm trigger level is displayed in dBm.
Examples
The following example shows how to display the output signal alarm trigger level.
edfa > outsigpwrtrig
20.00 (dBm)
Related Commands
ping
To ping an IP address, use the ping command.
ping ip-address [count]
Syntax Description
ip-address
Specifies the IP address of the host to ping.
count
Specifies the number of ping packets to be sent.
.
Defaults
None
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
If no value is entered for the count, the system will default to 5. The system will accept a maximum count of 20.
If the ping is issued from a Telnet session, control-c will stop the ping. If the ping is issued from a serial port, control-c will not stop the ping.
Examples
The following example shows how to ping an IP address.
edfa > ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
--- 192.168.0.1 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
ps1
To display the voltage of power supply number one, use the ps1 command.
ps1
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Examples
The following example shows how to display the voltage of power supply number one.
edfa > ps1
-49.51 (vDC)
ps2
To display the voltage of power supply number two, use the ps2 command.
ps2
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Examples
The following example shows how to display the voltage of power supply number two.
edfa > ps2
-49.43 (vDC)
reboot
To reboot the software on the Cisco ONS 15501, use the reboot command.
reboot
Syntax Description
Defaults
The system reboots using the image for planned boot bank.
Command Types
Does not change configuration
Command Modes
Master password protected
Command History
resetmeantrig
To reset the alarm mean and trigger levels for signal gain, optical input power, output signal power, and internal case temperature to the manufacturer's default settings, use the resetmeantrig command.
resetmeantrig
Syntax Description
Defaults
None
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The manufacturer's default setting can be found in Table 1-2 on page 1-2.
Related Commands
restore
To restore the system and network settings of the control module, including all passwords, to the manufacturer's default settings, use the restore command.
restore
Syntax Description
Defaults
None
Command Types
Changes configuration
Command Modes
No password is required.
Command History
Usage Guidelines
This command can be used only from a serial port, not in a Telnet session.
Once connected to the serial port, the user must press the Enter key within 15 seconds after the password prompt appears following a system reboot.
The command resets the user password to edfa.
The command does not reset any of the module settings; resetmeantrig must be used for that purpose.
The user is recommended to reboot the system after utilizing this command; the default settings are not activated until the system is rebooted.
The restore command does not show up when the help command is entered, because the restore command is only a valid command during the first 15 seconds after a reboot.
setgainmean
To modify the signal gain and alarm mean, use the setgainmean command.
setgainmean mean
Syntax Description
Defaults
17.5 dB
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The signal gain and alarm mean is measured in dB. The system accepts a minimum value of 7 dB and a maximum value of 17.5 dB. If a value entered falls outside of this acceptable range, the command will be ignored and have no effect.
Examples
The following example shows how to modify the signal gain and alarm mean.
edfa > setgainmean 17.00
Related Commands
setgaintrig
To modify the signal gain alarm trigger level, use the setgaintrig command.
setgaintrig trigger
Syntax Description
Defaults
1.00 dB
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The signal gain alarm trigger level is measured in dB. See Table 1-2 on page 1-2 for the minimum and maximum values. If a value entered falls outside of this acceptable range, the command will be ignored and have no effect.
Examples
The following example shows how to modify the gain alarm trigger level.
edfa > setgaintrig 2.00
Related Commands
setinpwrmean
To set the optical input alarm mean level, use the setinpwrmean command.
setinpwrmean mean
Syntax Description
Defaults
-20.00 dBm
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The optical input alarm mean is measured in dBm. See Table 1-2 on page 1-2 for the minimum and maximum values. If a value entered falls outside of this acceptable range, the command will be ignored and have no effect.
Examples
The following example shows how to set the optical input alarm mean level.
edfa > setinpwrmean -28.00
Related Commands
setinpwrtrig
To set the optical input alarm trigger level, use the setinpwrtrig command.
setinpwrtrig trigger
Syntax Description
Defaults
10.00 dBm
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The optical input alarm trigger is measured in dB. See Table 1-2 on page 1-2 for the minimum and maximum values. If a value entered falls outside of this acceptable range, the command will be ignored and have no effect.
Examples
The following example shows how to set the optical input alarm trigger level.
edfa > setinpwrtrig 2.00
Related Commands
set-master-pwd
To modify the master password for the system, use the set-master-pwd command.
set-master-pwd
Syntax Description
Defaults
None
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
This command prompts the user for the old password, and then prompts twice for the new password. The new password entered for both prompts must match. The default master password is edfa1.
Examples
The following example shows how to modify the master password for the system.
edfa > set-master-pwd
Old Master Password:
New Password:
New Password:
Related Commands
setoutsigpwrmean
To set the output signal alarm mean level, use the setoutsigpwrmean command.
setoutsigpwrmean mean
Syntax Description
Defaults
2.00 dBm
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The output signal alarm mean is measured in dBm. See Table 1-2 on page 1-2 for the minimum and maximum values. If a value entered falls outside of this acceptable range, the command will be ignored and have no effect.
Examples
The following example shows how to set the output signal alarm mean level.
edfa > setoutsigpwrmean 1.00
Related Commands
setoutsigpwrtrig
To set the output signal alarm trigger level, use the setoutsigpwrtrig command.
setoutsigpwrtrig trigger
Syntax Description
Defaults
20.00 dBm
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The output signal alarm trigger is measured in dB. See Table 1-2 on page 1-2 for the minimum and maximum values. If a value entered falls outside of this acceptable range, the command will be ignored and have no effect.
Examples
The following example shows how to set the output signal alarm trigger level.
edfa > setoutsigpwrtrig 18.00
Related Commands
settempmean
To modify the internal case temperature alarm mean level, use the settempmean command.
settempmean mean
Syntax Description
Defaults
30° C
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The internal case temperature mean is measured in degrees Celsius. See Table 1-2 on page 1-2 for the minimum and maximum values. If the value falls outside the acceptable range, the command will be ignored and there will be no side effect.
Examples
The following example shows how to modify the internal case temperature alarm mean level.
edfa > settempmean 29.00
Related Commands
settemptrig
To set the internal case temperature alarm trigger level, use the settemptrig command.
settemptrig trigger
Syntax Description
Defaults
30° C
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The internal case temperature trigger is measured in degrees Celsius. See Table 1-2 on page 1-2. for the minimum and maximum values. If a value entered falls outside of this acceptable range, the command will be ignored and have no effect.
Examples
The following example shows how to set the internal case temperature alarm trigger level.
edfa > settemptrig 29.00
Related Commands
set-time
To display or modify the time of the system, use the set-time command.
set-time time
Syntax Description
time
Specifies the desired time of the system. The time must be entered in the same format as this example:
Fri Aug 24 20:50:31 2001 PST
PST is the time zone. See "Time Zone Codes," for a list of time zones and correlating abbreviations.
Defaults
The default time zone is GMT, Greenwich Mean Time.
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
The day of the week must be specified as mon, tue, wed, thu, fri, sat, or sun. The system will accept entries with a capitalized first character, such as Mon, or entries entirely in lower case, such as mon.
The month must be specified as jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, or dec. The system will accept entries with a capitalized first character, such as Jan, or entries entirely in lower case, such as jan.
The day, hour, minute and second can all be specified by a one- or two-digit number. For example, the system will accept 1 and 01 as the same value.
The year must be a four-digit number, such as 2002.
See "Time Zone Codes," for a list of time zones and correlating abbreviations. The system will accept entries entirely in upper case, such as PST, or entirely in lower case, such as pst.
Examples
The following example shows how to display the time of the system.
edfa > time
Time zone is set to PST
Thu Jan 01 00:00:00 1970 PST
The following example shows how to modify the time of the system.
edfa > set-time fri feb 8 1:2:30 2002 pst
Time zone is set to PST
Fri Feb 08 01:02:30 2002 PST
Related Commands
Command DescriptionDisplays the time of the system.
Displays or modifies the timezone of the system.
set-user-pwd
To modify the user password for the system, use the set-user-pwd command.
set-user-pwd
Syntax Description
Defaults
None
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
This command prompts the user for the old password, and then prompts twice for the new password. The new password entered for both prompts must match. The default user password is edfa.
Examples
The following example shows how to set the time of the system.
edfa > set-user-pwd
Old Master Password:
New Password:
New Password:
Related Commands
show-trap
To display the trap message, use the show-trap command.
show-trap
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Examples
The following example shows how to display the trap message.
edfa > show-trap
Related Commands
status
To display the measured, alarm mean and alarm trigger values for input power, internal case temperature, optical gain and output signal power, as well as the measured values for optical output power, use the status command.
status
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Examples
The following example shows how to display the status of the system.
edfa > status
===============================================================================
Status Measured Mean Trigger
Input Optical Power NORMAL -15.84 (dBm) -10.00 (dBm) 15.00 (dBm)
Optical Gain NORMAL 6.99 (dB) 7.00 (dB) 0.50 (dB)
Optical Output Power -8.72 (dBm)
Output Signal Power NORMAL -8.77 (dBm) -6.00 (dBm) 18.00 (dBm)
Power Supply 1 OUT-OF-RANGE -3.48 (vDC)
Power Supply 2 NORMAL -49.70 (vDC)
Pump Laser GOOD
Temperature NORMAL 29.53 (C) 25.10 (C) 29.90 (C)
===============================================================================
sw-download
To download an image via ftp or tftp and burn it to a specified Flash bank, use the sw-download command.
sw-download ftp <server-IP> <user> <passwd> <path> <file> <bank> [passive]\r
- FTP based software download\rsw-download tftp <server-IP> <file-path> <bank>\r
- TFTP based software download\rsw-download terminate\r
- terminates an active software download\rsw-download \r
- gives the status for software download\rSyntax Description
Defaults
None
Command Types
Changes configuration
Command Modes
Master password protected
Command History
Usage Guidelines
Use terminate to kill the current download. For FTP failures across firewalls, try using `passive' option. When burning a new image, the Flash bank specified cannot be the current Flash bank.
Examples
The following example shows how to download an image via ftp and burn it to a specified Flash bank.
edfa > sw-download ftp 209.128.68.145 opruser oprpassword /home/load/bin EdfaImg.0.2 2
The following example shows how to download an image via tftp and burn it to a specified Flash bank.
edfa > sw-download tftp 209.128.68.145 EdfaImg.0.2 2
sys-info
To display the basic information on the system, including CLEI (Common Language Equipment Identifier) code, model number, serial number, MAC address, firmware version, and firmware build date, use the sys-info command.
sys-info
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
Get the information of the system. This include the manufacture's name, firmware version, amplifier model number, serial number, Ethernet MAC address, and firmware update date.
Examples
The following example shows how to display basic system information.
edfa > sys-info
CLEI: WMM8T00BRA
Amplifier model number: ONS15501
Serial number: MOR0643001G
MAC Address: 00044DFFCC75
Firmware version: 2.9
Hardware Revision: 515150
Software build date: Thu Jan 2 17:15:07 PST 2003
System Up Time : 89839 seconds
Software in various Banks: 1)ons15501-sw.2.0
2)ons15501-sw.2.0
3)ons15501-sw.2.0
Active bank : 1 Planned bank : 1
temp
To display the internal case temperature, use the temp command.
temp
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Examples
The following example shows how to display the internal case temperature.
edfa > temp
85.28 (C)
Related Commands
tempmean
To display the internal case temperature alarm mean level, use the tempmean command.
tempmean
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Examples
The following example shows how to display the internal case temperature alarm mean level.
edfa > tempmean
29.00 (C)
Related Commands
temptrig
To display the internal case temperature alarm trigger level, use the temptrig command.
temptrig
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Examples
The following example shows how to display the internal case temperature alarm trigger level.
edfa > temptrig
29.00 (C)
Related Commands
time
To display the time of the system, use the time command.
time
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
The time is displayed in the same format as this example:
Fri Aug 24 10:50:31 2001 PST
PST is the time zone. See "Time Zone Codes," for a list of time zones and correlating abbreviations.
Examples
The following example shows how to display the time of the system.
edfa > time
Thu Dec 13 19:29:02 2001 GMT
Related Commands
timeout
To display or modify the timeout interval, use the timeout command.
timeout [seconds]
Syntax Description
Defaults
600 seconds
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
If there is no activity from the user for a given amount of time (the timeout period), the system automatically logs the user off. The value for the timeout period is displayed in seconds. The default setting is 600 seconds. Any modification to this setting applies only to the user session in progress; once the user logs off, the setting automatically resets to the default value.
Examples
The following example shows how to modify the timeout period setting.
edfa > timeout 500
The following example shows how to view the timeout period setting.
edfa > timeout
Timeout period is 500 seconds
timezone
To display or modify the timezone of the system, use the timezone command.
timzone [zone]
Syntax Description
Defaults
None
Command Types
Does not change configuration
Command Modes
User password protected
Command History
Usage Guidelines
See "Time Zone Codes," for a list of time zones and correlating abbreviations.
Examples
The following example shows how to display the timezone of the system.
edfa > timezone
GMT
The following example shows how to modify the timezone of the system.
edfa > timezone PST
Related Commands
Posted: Thu Jun 24 10:01:36 PDT 2004
All contents are Copyright © 1992--2004 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.