This publication is protected by the copyright laws of the United States and other countries, with all rights
reserved. No part of this publication may be reproduced, stored in a retrieval system, translated,
transcribed, or transmitted, in any form, or by any means manual, electric, electronic, electromagnetic,
mechanical, chemical, optical or otherwise, without prior explicit written permission of Metrobility Optical
Systems, Inc.
Lancast, the Lancast logo, and “the twister” are registered trademarks; Metrobility Optical Systems, the
Metrobility Optical Systems logo, “twister”, “redundant twister”, AutoTwister, MicroChassis, NetBeacon,
and WebBeacon are trademarks of Metrobility Optical Systems, Inc. All other trademarks are the
property of their respective owners.
“redundant twister” technology is a patent of Metrobility Optical Systems, Inc.
The information contained in this document is assumed to be correct and current. The manufacturer is
not responsible for errors or omissions and reserves the right to change specifications at any time
without notice.
Managed Fixed Port Chassis ................................................................... 103
Persistence for a Fixed Port Chassis ....................................................... 104
Product Safety and Compliance Statements ................................................... 105
Warranty and Servicing................................................................................... 106
8 Table of Contents
Page 9
Introduction
This two-part document contains installation procedures and console
commands necessary for the operation of the Metrobility 7501-M, R501-M, and
R502-M management cards. The first section describes how to connect the card
to the network and to boot up for SNMP management. The second section
describes the commands available to three privilege classes of users:
• Guest
• Admin
• Root
Guest users can view information about the system, but cannot modify any of
the fields. Admin users can monitor and configure the system, including its
modules and ports. Root users, under the direction of a Metrobility support
engineer, can customize or recover the system and internal file system.
The three user privileges correspond to a login and password of the same name.
This list is cumulative (i.e., Admin privileges include Guest privileges, and Root
privileges include all commands).
The Console Commands section is organized by the three privilege groups. The
commands are listed by type (set, show, etc.). Use the comprehensive Table of
Contents to locate documentation for a particular command.
Notation Conventions
This section describes the conventions used in this document.
Font Conventions
TimesTimes is the default font used for general text.
ArialArial is used for program examples, prompt responses, and other
system output.
Symbol Conventions
The following symbol conventions are used in this manual.
< >Angle brackets indicate that the enclosed information is a required
entry.
[ ]Square brackets indicate that the enclosed information is optional.
|A vertical bar separating two text items indicates that either term may
be entered as a value.
Command Field Conventions
<chassis>Chassis number in the stack.
Command Line Interface 9
Page 10
<module>Chassis slot number where the line card is installed.
[-converter]Media converter number on a fixed port chassis.
<port>Port number on the line card.
<remote>Remote card number connected to an access line card.
<remoteport> Port number on a remote card connected to an access line card.
Product Overview
The management card is the SNMP agent for the chassis. Embedded in the card
is the WebBeacon™ software for Web-based management of your devices. Used
in conjunction with Metrobility’s NetBeacon™ or WebBeacon management
software, or any SNMP application, the card delivers individual board status
directly to the network administrator. Follow the console commands documented in this guide to configure the cards in the chassis.
7501-M and R501-M Ethernet Management Modules
The x501-M Ethernet management module provides a single 10Base-T interface
for remote SNMP management. The module includes a 33MHz processor and
offers 8Mbytes of memory. Connected through the backplane to other modules
in the chassis, the x501-M uses the management software to access and report
statistical information. Thus, the network administrator receives information on
network operations via a PC instead of having to make multiple trips to the
wiring closet. In a stacked chassis configuration, the x501-M is used in the slave
chassis that is connected to a master chassis.
R502-M Dual-Port Ethernet Management Card
Developed for the Radiance Optical Ethernet System, the R502-M supports all
Metrobility chassis and both access line cards and interface line cards. The
R502-M offers a 50MHz processor and 32Mbytes memory and is required for
the NetBeacon database plug-in. Each Ethernet interface has a unique IP address
and subnet mask, and the management software can access all MIB data through
either interface. The second interface can be connected to a stack of up to seven
chassis using the Metrobility chassis stacking line card or an external hub. In a
stacked chassis configuration, the R502-M must be used as the master
management card. R502-Ms may also be used in the slave chassis in the stack.
10 Introduction
Page 11
Installation Guide
This section describes how to install the management line card into the
chassis, connect to the network and stack, and boot up for SNMP management.
NOTE: Electrostatic discharge precautions should be taken when handling any
line card. Proper grounding is recommended (i.e., wear a wrist strap).
Install the Management Line Card
The management card must be installed in the slot furthest to the right of the
chassis. You may install it in either slot of a two-slot chassis. All other line cards
may be installed into any slot.
Follow the simple steps below to install the management card:
• Grasp the card by the front panel as shown.
• Line the edges of the card with the slot guides and slide the card in until
the edges are flush and even with the front of the unit. Do not force the
card into the slot unnecessarily. It should slide in easily and evenly.
• Secure by turning the thumb screw clockwise until snug. The card is now
ready for connection to the network.
Management
100 BASE
100 BASE
“
redundant twister
MAIN
R
PWR
LK
X
M
M
SW
AT
RESET
T
X
PRIMARY
SECONDARY
R
LK
LK
R
R
X
X
X
S
AT
AT
M
T
T
X
X
T
X
IMPORTANT!
Tighten thumb screw
to secure each card firmly
to platform before making
network connections.
Blank Panel
100 BASE
100 BASE
100 BASE
100 BASE
10 BASE
PWR
PWR
PWR
redundant twister
TP
R
LK
LK
X
LK
M
M
AT
AT
AT
T
RESET
X
SECONDARY
FL
R
R
X
R
LK
LK
LK
X
X
S
M
AT
AT
AT
T
T
T
X
X
X
100 BASE
“
PWR
SW
RESET
MAIN
PWR
LK
LK
M
A
SW
AT
AT
I
N
LK
PRIMARY
P
R
AT
LK
LK
I
R
X
AT
AT
LK
S
T
E
X
C
AT
SEC
10 BASE
PWR
PWR
PWR
TP
R
R
X
LK
LK
LK
X
M
M
M
M
T
X
R
X
S
M
T
X
AT
AT
AT
T
X
FL
R
R
LK
LK
LK
X
X
S
M
AT
AT
AT
T
T
X
X
Thumb Screw
1000BASE
100 BASE
100 BASE
R
X
T
X
PWR
PWR
PWR
SX
LK
R
TX
TX
X
LK
LK
M
M
AT
AT
T
X
FX
FX
LX
LK
R
LK
LK
X
S
M
AT
AT
T
X
Card Guide
Card
OC-12
MGT-10
PWR
LKTP
RXLK
LK
AT
M
M
M
M
TX
PWR
LK
LK
R
A
C
X
O
S
S
M
B
N
M
S
T
O
R
X
LE
ER
MGT-10
LK
1
AT
LK
2
AT
PWR
A
C
O
N
B
S
O
L
R
E
ER
CAUTION: Danger of explosion if the battery on the management card is incorrectly
replaced. Replace only with the same or equivalent type recommended by
the manufacturer. Dispose of used batteries according to the manufacturer’s
instructions.
Command Line Interface 11
Page 12
Connect to the Network
Management Card Connections
The management card supports 10Base-T Ethernet.
• Using a standard Category 3 or 5 UTP cable, connect the management
card to your network. If you are installing an R502-M, connect Port 1 to
your network. Although the port can be configured for either full or half
duplex, half duplex is recommended. Refer to the Console Commands
section for a detailed description of configuration commands.
• Using the supplied null-modem console cable, connect the male DB-9
port on the management card to the serial port on your PC.
Connect to the Stack
R502-M Management Card Only
The R502-M management card supports two 10Base-T Ethernet connections.
When connecting to your network, use a standard Category 3, 4 or 5 UTP cable.
Master Chassis
• Connect port 1 of the master R502-M to your network. For proper
operation, the port is preset to half duplex and should not be changed.
• Connect port 2 of the master R502-M to a Metrobility chassis stacking
line card or to a hub or switch that is NOT on your network. Port 2 is
preset to half duplex and should not be changed.
• Using the supplied null-modem console cable, connect the male DB-9
port on the master R502-M to the serial port on your PC.
Slave Chassis
• For each slave chassis you want to include in the stack, connect the
Ethernet port on its management card to the same chassis stacking card,
hub, or switch to which you connected the master R502-M. This provides
the communication path between the master R502-M and the network
stack.
When using an R502-M in the slave position, use Port 1 to make the
Ethernet connection to the stack, and disable Port 2 via the boot configuration menu. (See page 17.)
12 Introduction
Page 13
Boot Up for SNMP Management
Management of the Metrobility chassis can be provided through our NetBeacon
or WebBeacon software, or any SNMP network management application, via a
PC. SNMP is supported on many general network platforms: SunNet Manager,
HP OpenView for UNIX, HP OpenView for NT, SNMPc and others. Refer to the
Console Commands section for a detailed description of configuration commands.
The PC Terminal Session Parameters are as follows:
• 9600 Baud / 8 data bits / 1 stop bit / no parity / no flow control
Power-on Boot Indications
Following power-up, the boot image is automatically executed. It starts by
performing a system initialization, followed by diagnostic tests. During this
process, the Run LED is off and the Error LED blinks. After diagnostics are
complete, if a failure has occurred, the Error LED remains on. The Run LED
does not illuminate until the operating system is successfully started.
The following is an example of the console display information:
Metrobility Optical Systems Inc. Boot Application : 3.4.0
Executing Power-On Selftest.....
———————————————————————————————
NETWORK INTERFACE PARAMETERS:
LAN IP address will be obtained from BOOTP
HARDWARE PARAMETERS:
Serial channels will use a baud rate of 9600
HARDWARE PARAMETERS:
R502-M Mpc850 (Rev 0.1) CPU running at 50 Mhz with 10 Mhz input clock
DRAM32 Mbytes
NVRAM 8 Kbytes
FLASH 8 Mbytes
This board’s Primary Ethernet MAC address is 0:0:0:0:0:0
The Primary Ethernet port will run in Half duplex mode
The board’s Secondary Ethernet MAC address is 0:0:0:0:0:0
The Secondary Ethernet port will run in Half duplex mode
M7500 BOOTLOADER PARAMETERS:
Chassis is not in a Stack
Name of the Boot image is boot.bin
Boot via the DISK Bootloader
Disk device type is FLASH
ID of the disk to be used is 0
Volume is pHILE formatted
The file to load and start is corepm.biz
After board is reset, start-up code will wait 10 seconds
———————————————————————————————
To change any of this, press any key within 10 seconds
(M)odify any of this or (C)ontinue? [M] c
Verifying volume.
If you don’t have a BOOTP server, or if you don’t have a BOOTP entry for this
system, you will see the following message:
BOOTP request failed: Check for a RARP server/Network Error
If you wish to set up your BOOTP server, you must provide an IP address,
subnet mask, and default gateway. If you do not wish to use BOOTP, you can hit
any key and modify the boot parameters.
14 Installation Guide
Page 15
Configuration of the Boot Loader
The boot loader can be configured to obtain its image and configuration information from three different sources: manually through the boot loader configuration dialog, through a BOOTP server, or partially configured through a RARP
server.
To configure the boot load type, press any key within the designated time to
access the system configuration menus.
The following is an example of the console display information:
Metrobility Optical Systems Inc. Boot Application : 3.4.0
Executing Power-On Selftest......
————————————————————————————
NETWORK INTERFACE PARAMETERS:
LAN IP address will be obtained from BOOTP
HARDWARE PARAMETERS:
Serial channels will use a baud rate of 9600
HARDWARE PARAMETERS:
R502-M Mpc850 (Rev 0.1) CPU running at 50 Mhz with 10 Mhz input clock
DRAM32 Mbytes
NVRAM 8 Kbytes
FLASH 8 Mbytes
This board’s Primary Ethernet hardware address is 0:0:0:0:0:0
The Primary Ethernet port will run in Half duplex mode
This board’s Secondary Ethernet hardware address is 0:0:0:0:0:0
The Secondary Ethernet port will run in Half duplex mode
M7500 BOOTLOADER PARAMETERS:
Chassis is not in a Stack
Name of the Boot image is boot.bin
Boot via the TFTP Bootloader
IP ADDRESS of the TFTP host RARP server
The file to download and start is corepm.biz
After board is reset, start-up code will wait 10 seconds
————————————————————————————
To change any of this, press any key within 10 seconds
(M)odify any of this or (C)ontinue? [M]
Each question that the boot loader poses has a default response contained within brackets
[ ]. If the system has not been configured, the brackets contain the factory default
values. If the system has been configured, the system saves the last used values.
For each of the following questions, you can press <Return> to select the value shown in
braces, or you can enter a new value.
NETWORK INTERFACE PARAMETERS:
This board's Primary LAN IP address (0.0.0.0 = RARP, 0.0.0.1 = BOOTP)? [0.0.0.1]
Management software requires IP protocols (SNMP and FTP) to work properly.
For this reason, the boot loader prompts you for an IP address. IP addresses can
be manually assigned, or assigned via a RARP or BOOTP server within the
network to which the chassis is connected. If you are configuring an R502-M as
16 Installation Guide
Page 17
the first chassis in a stack, you must do it manually.
To set up the system using BOOTP, enter <0.0.0.1> in the board’s LAN IP
address field. To configure the system using RARP, enter <0.0.0.0> in the
board’s LAN IP address field.
If you are configuring the system manually, the following question is asked. Use
the default, or enter a new subnet mask.
Subnet mask for Primary LAN (0.0.0.0 for none)? [0.0.0.0]
For the R502-M, you are offered the option of enabling or disabling the secondary Ethernet port. If you are configuring a master R502-M for a stack, enter <Y>
to enable the port. If you are configuring a slave R502-M for a stack, you must
enter <N>.
Do you want a Secondary LAN interface? [Y]
If you chose to enable the secondary LAN interface, the same two questions are
repeated for the port.
This board's Secondary LAN IP address (0.0.0.0 = RARP, 0.0.0.1 = BOOTP)? [0.0.0.1]
Subnet mask for Secondary LAN (0.0.0.0 for none)? [0.0.0.0]
Stack Configuration
If you are configuring for a stack, the board’s secondary LAN IP address must
be a valid class B address, according to RFC 1597.
secondary IP address = 172.31. 1.17
network host
• Set the network half of the address between 172.16.0.0 and 172.31.0.0.
• Set the host half of the address to be the chassis’s stack position number
followed by the slot number of its management card.
• All other chassis in the same stack must have an IP address with the same
network portion that was assigned to the R502-M’s secondary interface.
Increment the stack positions by one. Up to seven chassis are supported in
each stack.
Example:172.16.1.17 stack position 1, slot 17 (17-slot chassis)
172.16.2.12 stack position 2, slot 12 (12-slot chassis)
172.16.3.1 stack position 3, slot 1 (2-slot chassis)
Command Line Interface 17
Page 18
• After manually configuring the first chassis in the stack, an alternative
method of adding other chassis is to use the administrative level command:
bootp -set. Refer to the Console Commands section for further details.
The following questions pertain to the board’s primary interface.
Should there be a default gateway for packet routing? [Y]
What is its IP address? [0.0.0.0]
The boot loader poses the following questions for hardware parameters:
HARDWARE PARAMETERS:
Baud rate for serial channels [9600]
HARDWARE PARAMETERS:
Do you want to change the board's Primary Ethernet MAC address? [N]
Do you want to change the board’s Secondary Ethernet MAC address? [N]
The following questions relate to stacking and load type.
NOTE: • The x501-M management module does not support stacking.
• The maximum number of chassis supported in a stack is seven (7).
M7500 BOOTLOADER PARAMETERS:
Is this Chassis in a Stack? [Y]
Stack Position (1-7)? [1]
Boot from (D)isk or via (T)ftp over the network? [D]
Transfer file to disk via TFTP? [N]
Name of the file to load and start? [corepm.biz]
How long (in seconds) should CPU delay before starting up? [10]
The boot loader allows the operating system to be loaded from either the onboard file system or from a network accessible file system via TFTP. The onboard file system is the default method of image load.
If you select to load via TFTP, the boot loader poses these remaining questions:
Transfer file to disk via TFTP? [N] y
IP address of the server to copy file from? [0.0.0.0] 100.132.65.23
Name of the file to transfer? [corepm.biz]
Volume needs formatting? [N]
How long (in seconds) should CPU delay before starting up? [10]
NOTE: This method of operating system load is primarily for loading a new
operating system version, without deleting the old version from the system.
18 Installation Guide
Page 19
Once the configuration is complete, the boot loader displays your responses in
the start-up mode console description. You can either continue with the boot
process or change any configuration parameters.
NETWORK INTERFACE PARAMETERS:
IP address on Primary LAN is 100.132.60.155
Primary LAN interface’s subnet mask is 255.255.255.0
IP address on Secondary LAN is 100.168.0.1
Secondary LAN interface’s subnet mask is 255.255.255.0
IP address of default gateway to other networks is 100.132.60.1
HARDWARE PARAMETERS:
Serial channels will use a baud rate of 9600
HARDWARE PARAMETERS:
R502-M Mpc850 (Rev 0.1) CPU running at 50 Mhz with 10 Mhz input clock
DRAM32 Mbytes
NVRAM 8 Kbytes
FLASH 8 Mbytes
This board’s Primary Ethernet MAC address is 0:10:9f:14:C:12
The Primary Ethernet port will run in Half duplex mode
This board’s Secondary Ethernet MAC address is 0:10:9f:14:C:13
The Secondary Ethernet port will run in Half duplex mode
M7500 BOOTLOADER PARAMETERS:
Stack Position is 1
Name of the Boot image is boot.bin
Boot via the DISK Bootloader
Disk device type is FLASH
ID of the disk to be used is 0
Volume is pHILE formatted
The file to download and start is corepm.biz
After board is reset, start-up code will wait 10 seconds
————————————————————————————
(M)odify any of this or (C)ontinue? [M] c
If you are satisfied with the configuration parameters, type <c> to continue with
the boot process. The boot process automatically continues if no key is pressed
within 10 seconds.
Verifying volume.
FLASH driver initialized...
Starting disk download of 44.0.0/corepm.biz...
Decompressing ... One moment...
Each . equals 10K bytes processed (uncompressed)
..........
..........
..........
Command Line Interface 19
Page 20
..........
..........
..........
..........
..........
..........
..........
.....
Decompression Complete!
Disk load completed
Transferring control to the downloaded code
Boot Completion Indications
The operating system displays a number of log messages on the screen as it comes
up. The following is an example of that output:
ROOT :00000000:INFO (DEV_PSEUDO initialized)
ROOT :00000000:INFO (DEV_TFTP initialized)
ROOT :00000000:INFO (DEV_TIMER initialized)
ROOT :00000000:INFO (DEV_TFTP initialized)
ROOT :00000000:INFO (DEV_FLASH initialized)
ROOT :00000000:INFO (DEV_TOD initialized)
ROOT :00000000:INFO (DEV_HTTP initialized)
ROOT :00000000:INFO (DEV_I2C initialized)
ROOT :00000000:INFO (DEV_LED initialized)
ROOT :00000000:INFO (DEV_PHYSICAL initialized)
ROOT :00000000:INFO (Locking boot sectors)
ROOT :00000000:INFO (Image WebBeacon_corepm built on May 12 2003 at 11:09:48 by
bldmstr@ROCKME)
ROOT :00000000:INFO (Revision: 3.4.0)
ROOT :00000000:INFO (Flash File System mounted on device 44.0)
ROOT :00000000:INFO (Telnet daemon initialized)
ROOT :00000000:INFO (TELNET daemon enabled)
ROOT :00000000:INFO (Ftp daemon initialized)
ROOT :00000000:INFO (FTP daemon enabled)
ROOT :00000000:INFO (Dnsd daemon initialized)
ROOT :00000000:INFO (Httpd daemon initialized)
CMGR :00000000:INFO (R131-13 Inserted in IoSlot1_1)
CMGR :00000000:INFO (R502-M Inserted in IoSlot1_2)
CMGR :00000000:INFO (AC Power Supply Inserted in PS Slot A)
CMGR :00000000:INFO (AC Power Supply Inserted in PS Slot B)
•Type your user name at the login prompt and hit <Enter>. The three default
names are guest, admin and root.
•Type your password at the Password prompt and hit <Enter>. The default
passwords are the same as their corresponding user names. Passwords are
not displayed.
To view the current user/password list, delete a user or add a new user, refer to
the ‘user’ commands, which are admin privilege commands.
To access the Command Line Interface (CLI) using a modem, the modem must
be configured properly to support remote communications with the console port
on the management card.
To configure your modem, use the AT command set or the software provided by
the modem manufacturer. The settings required to enable a Zoom/Fax Modem
V.34X+ Model 2836 to communicate with a Metrobility management card are
shown in the example below. Please refer to your modem’s manual for compatible A T commands.
Modem Configuration (Zoom/Fax Modem V.34X+ Model 2836 shown)
E0Disable echo.
N1Enable automode detection.
Q1Disable result codes to the DTE (data-terminal equipment).
X0Disable monitoring of busy tones.
&C0RLSD (received line signal detector) remains ON at all times.
&D0Ignore DTR (data terminal ready); must also set &Q5.
&K0Disable flow control.
&Q5Modem will try to negotiate an error-corrected link.
&R1CTS (clear to send) is always ON; RTS (ready to send) is ignored.
&S1DSR (data set ready) becomes active after answer tone is detected, and
inactive if carrier is lost.
&T5Disable digital loopback.
&X0Select internal timing.
S00Set this to the number of rings for auto-answer; number must be greater
than zero.
Console Port Configuration
The console port on the management card does not use hardware control lines,
nor does it support software flow control. The port is permanently set to the
following configuration:
Speed9600 baud
Data Bits8
Paritynone
Stop Bits1
Caution: There is a potential risk of opening a security hole if the modem is
disconnected before logging off from the CLI session.
22 Installation Guide
Page 23
In the following example, a Zoom/Fax Modem V.34X+ Model 2836 is connected to a Windows PC using Hyperterminal with AT commands.
When a chassis is initially started, the management line card polls all installed
cards and saves their part numbers and hardware switch settings.
When you change a switch setting via software, the card’s part number, hardware switch settings and new software setting are saved.
If you remove the card and insert a new card into its slot, one of the following
occurs:
1) If the part number and hardware switch settings match, the software
switch settings stay the same.
2) If the part number matches but the hardware switch settings do not,
the new hardware switch settings take precedence. All other software
settings remain unchanged.
3) If the part number does not match, all hardware settings for the new
card take precedence and the persistence file is updated with the new
data.
24 Installation Guide
Page 25
Upgrade Procedures
There are several ways of upgrading the embedded code*. This section describes
three methods to upgrade the software.
•Command Line Interface (CLI) via FTP
•BOOT Process (to execute embedded software that does not reside on the
management card, or to transfer embedded software to the management
card via TFTP)
•NetBeacon Management Software
Metrobility does not support storing more than two copies of corepm.biz. If the
Flash File System (FFS) is full, we cannot guarantee operation. In some instances, a full file system can corrupt the FFS. If the file system’s limit is
approached, a warning message will appear on the console asking you to delete
unnecessary files.
Upgrade Firmware Via FTP
To load the image file (corepm.biz) and boot code (boot.bin) via FTP on a local
console, do the following:
1) Copy the corepm.biz and boot.bin files into a directory accessible via FTP.
2) Log on to the console at the administrator or root level.
3) FTP to the system where the corepm.biz and boot.bin files reside.
4) Set the FTP session into binary mode.
5) Go into the directory that contains the corepm.biz and boot.bin files.
Upgrading to a major software release (e.g., from version 2.1 to 3.x) requires
both files to be updated. For most other software upgrades, you may download
only the image file. Upgrading from Release 3.0 to 3.3 requires both files to be
updated.
6) Type “get corepm.biz” and “get boot.bin”.
NOTE: Do NOT reset or power-down the system while upgrading software!
The file system may go into an unknown state causing boot failures.
7) Once the download is complete, quit the FTP session.
* When upgrading software to management cards in a stack, make sure that the same software version is installed
within that stack (e.g., version 3.1 code cannot be mixed with 3.0.1 code in the same stack).
Command Line Interface 25
Page 26
8) If you downloaded the boot code, type “set module image boot <chassis>
<module> file://[path/]boot.bin” (e.g., set module image boot 1 17 file://
boot.bin).
NOTE: Do not to interrupt the process.
9) Reboot the management card by issuing the command: “reset module
<chassis> <module>” (e.g., reset module 1 17).
NOTE: Do NOT use the “reset chassis” command. After successfully
rebooting the management card, you are done. Both boot.bin and
corepm.biz will be running.
Firmware Boot Process via TFTP
Continue with the following steps only AFTER copying boot.bin onto the
management card.
The initial boot process provides two options for upgrading files via TFTP. One
option enables you to execute a file that does not reside on the management
card. This method does not load the file onto the management card. Another
option allows you to transfer the file onto the management card and then execute
it.
1) Copy the corepm.biz file into a directory accessible via TFTP.
2) Reset the management card.
3) During the initial boot process, hit the <space bar>.
4) Select Modify by typing <M>.
5) Make sure the Ethernet port is enabled, and that the network interface and
hardware parameters are set.
Continue with “Upgrading from a TFTP Server” or “Upgrading from Disk.”
26 Installation Guide
Page 27
Upgrading from a TFTP Server
To execute software that resides on a TFTP server, do the following:
A) When asked whether to boot from disk or via TFTP over the network, select
TFTP by typing <T>.
B) Enter the IP address of the TFTP server where corepm.biz is located.
C) Enter the directory and filename for corepm.biz (e.g., \tftpboot\corepm.biz
for Windows or /tftpboot/corepm.biz for Unix).
D) Complete the boot configuration dialog. At the end of the dialog, continue
the boot process by typing <C>. The file will be executed, but not loaded to
disk.
Upgrading from Disk
Continue with the following steps after performing steps 1 through 5 in “Firmware Boot Process Via TFTP.” This section describes how to transfer the
embedded software to the management card via TFTP.
A) When asked whether to boot from disk or via TFTP over the network, select
disk by typing <D>.
B) Type <Y> when prompted with “Transfer file to disk via TFTP?”
C) Enter the IP address of the system where corepm.biz resides.
D) Enter the directory and filename for corepm.biz (e.g., \tftpboot\corepm.biz
for Windows or /tftpboot/corepm.biz for Unix).
E) Complete the boot configuration dialog. At the end of the dialog, continue
the boot process by typing <C>. The file will be loaded to disk and
executed.
NetBeacon Management Software
For detailed instructions on how to download the embedded software and boot
code through NetBeacon, refer to the NetBeacon Element Management Software
Installation & User Guide.
Command Line Interface 27
Page 28
Obtaining Metrobility MIB and Firmware Files
To get the latest Metrobility Management Information Base (MIB)
and firmware files, go to http://www.metrobility.com/support/software.htm.
Follow the on-screen instructions to download the files.
28 Installation Guide
Page 29
Console Commands
Guest/Admin/Root Privilege Overview
Guest Privilege
Login Guest
cd
chassis
clrscr
exit
help
history
ls
module
ping
port
pwd
pwv
quit
remote
remoteport
top
up
show acl
show arp
show chassis
show help
show interface
show ip help
show ip routes
show ip stats
show log all
show log details
show log help
show log severities
show log summary
show log tail
show mac
show module
show motd
show netstat active
show netstat all
show netstat help
show netstat interface
show netstat routes
show netstat snmp
show netstat statistics
show port
show stats rmon
show system
show time
show trap controls
show trap destination
show trap help
Admin Privilege
Login Admin
bootp -all
bootp -delete
bootp -help
bootp -set
clear acl
clear arp
clear help
clear ip help
clear ip route
clear log
clear motd
clear snmp community
clear snmp help
clear trap destination
clear trap help
reset chassis
reset help
reset module
reset remote
set acl
set arp
set chassis asset
set chassis help
set chassis name
set community
set help
set ip address
set ip help
set ip route
set logging add
set logging all
set logging delete
set logging help
set logging none
set module asset
set module autorecover
set module autorevert
set module backpressure
set module bootpdisable
set module bootpenable
set module disable
set module enable
set module fdflowctrl
set module ftpdisable
set module ftpenable
set module help
set module image
set module llcf
set module name
set module redabsel
set module redlink
set module redloa
set module redmode
set module redtx
set module sduplexAll
set module sfdflowctrlAll
set module shdflowctrlAll
set module SONAR
set module telnetdisable
set module telnetenable
set module webdisable
set module webenable
set module webredirect
set module webselect
set module write
set motd
set port autoneg
set port bandwidth
set port bert
set port burstlength
set port disable
set port dislbkres
set port duplex
set port enable
set port fault
set port fefenable
set port help
set port linebuildout
set port linecode
set port llr
set port loopback
set port name
set port remotelpbk
set port speed
set prompt
set snmp community
set snmp help
set system contact
set system help
set system location
set system name
set time
set trap control
set trap destination
set trap help
show communities
show snmp community
show snmp help
clear snmp user
cp
delhost
getaddr
gethname
ifconf
mkdir
mount
mv
rm
rmdir
set snmp user
setenv
sethost
show snmp engineID
show snmp user
sync
umount
Command Line Interface 29
Page 30
Guest Privilege Commands
Guest commands are basic user commands used to monitor system status. The
default password is: guest
Utility Commands
Command: cd
Description:Change working directory.
Syntax:cd <directory>
Example:Console>cd etc
Command: chassis
Description:Set the chassis scope. The command prompt displays
the selected chassis, and the chassis number is no
longer entered in commands which have a chassis field
(e.g., ‘show module 4’ instead of ‘show module 1 4’).
the selected chassis and module. The chassis and
module numbers are no longer entered in commands
which have these fields (e.g., ‘show port 2’ instead of
‘show port 1 11 2’).
#1/11>
32 Console Commands
Page 33
Command: ping
Description:Send ICMP echo request packets to the network
Syntax:ping [-s] <host> [timeout]
Note:When the -s option is specified, ping sends one
Example:Console>ping 100.132.65.99
Command: port
Description:Set the port scope. The command prompt displays the
datagram per second and prints one line of output for
every response it receives. The default timeout is 10.
ping (100.132.65.99): 56 data bytes
100.132.65.99 is alive
selected chassis, module and port. The chassis, module
and port numbers are no longer entered in commands
which have these fields (e.g., ‘show port’ instead of
‘show port 1 11 2’).
#1/11/2>
Command: pwd
Description:Print working directory.
Syntax:pwd
Example:Console>pwd
Command: pwv
Description:Print working volume.
Syntax:pwv
Example:Console>pwv
the selected chassis, module, port and remote card.
The chassis, module, port and remote card numbers
are no longer entered in commands which have these
fields (e.g., ‘show module’ instead of ‘show module 1
11 2 1’).
#1/11/2/1>
displays the selected chassis, module, port, remote
card and remote port. The chassis, module, port,
remote card and remote port numbers are no longer
entered in commands which have these fields (e.g.,
‘show port’ instead of ‘show port 1 11 2 1 2’).
<remoteport>
#1/11/2/1/2>
Command: top
Description:Reset the scope so nothing is specified.
Syntax:top
Example:#1/11/2/1/2>top
Console>
34 Console Commands
Page 35
Command: up
Description:Set the scope up one or more levels.
Syntax:up
Note:If no level is specified, the scope will move up one
Example:#1/11/2/1/2>up
Show Commands
Command: show acl
Description:Show entries in the Access Control List (ACL) which
Note:Protocols/services effected: FTP, TELNET,
Syntax:show acl
Example:Console>show acl
up <level>
level.
#1/11/2/1>up 3
#1>
allows a user to limit the end stations (IP addresses)
that communicate with the chassis.
SNMP.
Current ACL entries:
Command: show arp
Description:Show the Address Resolution Protocol table.
Syntax:show arp
Example:Console>show arp
Ip AddressValidation Mask
——————————————
100.132.065.099255.255.255.255
100.132.065.023255.255.255.255
IP AddrMac addr
———————————————
100.132.65.990:10:9f:c7:43:20
100.132.65.1740:10:9f:85:c3:a9
100.132.65.1760:10:9f:85:ab:6a
Command Line Interface 35
Page 36
Command: show chassis
Description:Show details for a chassis, including its power supply
Syntax:show chassis all
Example #1:Console>show chassis 2
Location: 2
Number of I/O Slots: 17
Number of P/S Slots: 2
Serial Number: B0003900566
Manufacture Date: 12/21/2002
HW Revision: A
Asset ID:
Name: Chassis2
Description: 17 Slot Chassis 19"
Part Number: R5000-17HS
Uptime: 4 days 00:19:47.35
Average Temperature: 111F ( 44C)
Module1_17 (Maximum): 195F ( 91C)
Module1_14 (Minimum): 80F ( 27C)
unit(s). If the chassis has multiple cards with temperature
sensors, the cards with the highest and lowest readings
are displayed, along with the average temperature
among all the sensors in the chassis. An access line card
displays the actual temperature of the board, not the air,
and it may be 10 degrees higher than the management
card’s reading. The access line card’s board temperature is functional up to 65°C.
show chassis <chassis>
Power Supply 2 1: ACPS_A On Power Supply
5 Volt (Millivolts): Current: 5275Min: 5000 Max: 5500 (IN RANGE)
Power Supply 2 2: ACPS_B Off Power Supply
5 Volt (Millivolts): Current: 0Min: 5000 Max: 5500 (OUT OF RANGE)
Description:Show the ‘show’ commands with a brief description.
Syntax:show help
Example:Console>show ?
CommandDescription
————————————————
acl: Show Access Control List
arp: Show ARP Tables
chassis: Show chassis information
help: Show this message
interface: Show network interfaces
ip: Show IP; use 'show ip help' for more info
log: Show log; use 'show log help' for more info
mac: Show MAC Information
module: Show module information
motd: Show Message of the Day
netstat: Show netstat; use 'show netstat help' for more info
port: Show port information
stats: Show port statistics
system: Show system information
time: Show time of day
trap: Show Trap Information
Description:Show details of desired log records.
Syntax:show log details <log index> [min sequence #] [max
Notes:If no sequence numbers are provided the entire
log will be shown. If no maximum sequence
number is provided the log will be shown to the
end.
Example:Console>show log details 1 15 17
Log: Non-Volatile
————————————————————
Seq Number: 15
Error Number: 7
Error Text: Incorrect Object type
Group Text: pSOS+
Message: test message
Task: psc0
Date: 5/18/2003
Time: 0:03:48
Ticks: 84
Uptime: 23183
Severity: PROCESSOR
————————————————————
Seq Number: 16
Error Number: 8
Error Text: Node’s Object table full
Group Text: pSOS+
Message: test message
Task: psc0
Date: 5/18/2003
Time: 0:03:48
Ticks: 85
Uptime: 23184
Severity: PROCESSOR
————————————————————
Seq Number: 17
Error Number: 9
Error Text: Named Object not found
Group Text: pSOS+
Message: test message
Task: psc0
Date: 5/18/2003
Time: 0:03:48
Ticks: 86
Uptime: 23185
Severity: PROCESSOR
sequence #]
40 Console Commands
Page 41
Command: show log help
Description:Show the ‘show log’ subcommands.
Syntax:show log help
Example:Console>show log help
CommandDescription
—————————————————
all: Show all logs
details: Show log record details
help: Show this message
severities: Show messages severities
summary: Show log record summary
tail: Show end of log
Command: show log severities
Description:Show the different message severities used for log
messages; also indicate which of them are sent to the
console.
Syntax:show log severities
Note:This command is useful in conjunction with the ‘set
logging’ command.
Example:Console>show log severities
The following message severities are available.
'*' indicates severities that are sent to the console.
FAULT *
FATAL *
SEVERE *
ERROR *
WARNING *
INFO *
PRINT *
DEBUG *
TRAP *
EVENT_MGR *
Command Line Interface 41
Page 42
Command: show log summary
Description:Show a one-line description of log records.
Syntax:show log summary <log index> [min seq #]
Description:Show a summary of the most recent records in a log.
Syntax:show log tail <log index> [# records]
Note:Defaults to 10.
Example:Console>show log tail 2
Description:Show MAC information.
Syntax:show mac
Example:Console>show mac
42 Console Commands
Page 43
Int #IP addressMac
———————————————————
1100.132.65.2480:10:9f:18:4:7a
2100.168.0.10:10:9f:18:4:7b
3127.0.0.10:0:0:0:0:0
Command: show module
Description:Show module information.
Syntax:show module all [chassis]
show module <chassis> <module[-converter]>
show module <chassis> <module> <port> <remote>
Note:Specifying an individual module shows all its details.
Example #1:Console>show module all
Location StateTypeNameDesc#ports
—————————————————————————————————————————
1/3Enabled SingleModule1_310M TP to BNC2
1/4Enabled AccessModule1_4100M TX to FX SM/SC S/IP2
1/4/2/1Enabled AccessModule1_4_2_1 100M TX to FX SM/SC S/IP2
1/5Enabled AccessModule1_5100M TX to FX SM/SC S/IP2
1/7Enabled AccessModule1_7100M TX to FX SM/SC S/IP2
1/8Enabled AccessModule1_8100M TX to FX SM/SC S/IP2
1/10Enabled SingleModule1_1010M TP to FL MM/ST2
1/11Enabled SingleModule1_1110M TP to FL/MM/ST2
1/16Enabled GigabitModule1_161000M TX to LX SM/SC2
1/17Enabled ManagementModule1_1710M Dual TP Management3
2/2Enabled ManagementModule2_210M TP Management2
Example #2:Display details for a Gigabit line card.
Console>show module 1 16
Location: 1/16
Name: Module1_16
Type: Gigabit
Asset ID:
Description: 1000M TX to LX SM/SC
Hardware Revision: A
Part Number: R152-1D
Serial Number: 20115
Manufacturing Date: 05/07/2003
Module State Oper: Enabled
Command Line Interface 43
Page 44
Diagnostic Status: Good
Number of ports: 2
Number of slots: 1
Uptime: 4 days 00:23:07.15
Link Loss Carry Forward Oper : Disabled
Note:When the administrative and operational settings for a
function do not agree, both settings are displayed. The
administrative and operational settings could differ
because the switch is not applicable in a particular
mode or because the switch was changed but has not
yet taken effect.
Command: show motd
Description:Show the message of the day displayed at login.
Syntax:show motd
Example:Console>show motd
This is the message of the day
Command: show netstat active
Description:Show active socket connections.
Syntax:show netstat active
Example:Console>show netstat active
657 datagrams delivered to users
36 datagrams received for unknown ports
0 datagrams received with other errors
257 datagrams sent
tcp:
24 segments sent
0 segments retransmitted
0 segments sent with RST flag
26 segments received
0 segments received in error
0 failed TCP connection attempts
0 TCP connections reset
Command Line Interface 45
Page 46
ip:
877 received from interfaces
0 drops due to format errors
0 drops due to invalid addresses
0 IP datagrams forwarded
6 IP datagrams discarded due to unknown protocol
0 input datagrams discarded with no problems
871 datagrams delivered to IP user protocols
468 datagrams supplied by IP user protocols
0 outbound datagrams discarded
0 IP datagrams dropped due to no routes
0 IP fragments needing reassembly
0 IP fragments reassembled
0 IP fragments reassembly failures
0 IP datagrams successfully fragmented
0 IP datagrams fragmentation failures
0 IP fragments created
0 IP routing entities discarded
snmp:
In Packets158
Out Packets347
In Bad Versions0
In Bad Comm. Names0
In Bad Comm Uses0
46 Console Commands
Page 47
In ASN Parse Errors0
In Too Bigs0
In No Such Names0
In Bad Values0
In Read Onlys0
In Gen Errors0
In Total Req. Vars289
In Total Set Vars23
In Get Requests880
In Get Nexts232
In Set Requests20
In Get Responses0
In Traps0
Out Too Bigs0
Out No Such Names8
Out Bad Values0
Out Gen Errors0
Out Get Requests0
Out Get Nexts0
Out Set Requests0
Out Get Responses157
Out Traps190
Out Silent Drops0
Out Proxy Drops0
Command: show netstat help
Description:Show the ‘show netstat’ subcommands.
Syntax:show netstat help
Example:Console>show netstat help
CommandDescription
—————————————————
active: Show netstat active
all: Show netstat all
help: Show this message
interface: Show netstat interface
routes: Show netstat routes
snmp: Show netstat snmp
statistics: Show netstat statistics
In Packets21
Out Packets245
In Bad Versions0
In Bad Comm. Names0
In Bad Comm Uses0
In ASN Parse Errors0
In Too Bigs0
In No Such Names0
In Bad Values0
In Read Onlys0
In Gen Errors0
In Total Req. Vars236
48 Console Commands
Page 49
In Total Set Vars0
In Get Requests0
In Get Nexts21
In Set Requests0
In Get Responses0
In Traps0
Out Too Bigs0
Out No Such Names8
Out Bad Values0
Out Gen Errors0
Out Get Requests0
Out Get Nexts0
Out Set Requests0
Out Get Responses20
Out Traps225
Out Silent Drops0
Out Proxy Drops0
105 220 datagrams delivered to users
2 datagrams received for unknown ports
0 datagrams received with other errors
93 datagrams sent
tcp:
152 segments sent
1 segments retransmitted
0 segments sent with RST flag
474 segments received
0 segments received in error
0 failed TCP connection attempts
14 TCP connections reset
ip:
271 received from interfaces
0 drops due to format errors
294 drops due to invalid addresses
Command Line Interface 49
Page 50
0 IP datagrams forwarded
0 IP datagrams discarded due to unknown protocol
0 input datagrams discarded with no problems
977 datagrams delivered to IP user protocols
528 datagrams supplied by IP user protocols
0 outbound datagrams discarded
0 IP datagrams dropped due to no routes
0 IP fragments needing reassembly
0 IP fragments reassembled
0 IP fragments reassembly failures
0 IP datagrams successfully fragmented
0 IP datagrams fragmentation failures
0 IP fragments created
0 IP routing entities discarded
snmp:
In Packets158
Out Packets347
In Bad Versions0
In Bad Comm. Names0
In Bad Comm Uses0
In ASN Parse Errors0
In Too Bigs0
In No Such Names0
In Bad Values0
In Read Onlys0
50 Console Commands
Page 51
In Gen Errors0
In Total Req. Vars289
In Total Set Vars23
In Get Requests880
In Get Nexts232
In Set Requests20
In Get Responses0
In Traps0
Out Too Bigs0
Out No Such Names8
Out Bad Values0
Out Gen Errors0
Out Get Requests0
Out Get Nexts0
Out Set Requests0
Out Get Responses157
Out Traps190
Out Silent Drops0
Out Proxy Drops0
Command: show port
Description:Show port information.
Syntax:show port all
Example #1:Console>show port all
show port <chassis> <module[-converter]> [port]
show port <chassis> <module> <port> <remote>
[remoteport]
Location NameStatus Duplex Speed TypeANegLLR Activity Connector
—————————————————————————————————————————————
1/2/3Port1_2_3No Link Full100Mb e100BaseFX_MM n/an/aActive SC
1/3/1Port1_3_1LinkHalf100Mb e100BaseTXDisabled n/aActive RJ45
1/3/2Port1_3_2LinkHalf100Mb e100BaseFX_MM n/aEnabled Active SC
1/3/2/1/1 Port1_3_2_1_1 No Link Half100Mb e100BaseTXDisabled n/aActive RJ45
1/3/2/1/2 Port1_3_2_1_2 LinkHalf100Mb e100BaseFX_MM n/aEnabled Active SC
1/17/1Port1_17_1LinkHalf10Mb e10BaseTn/an/aActive RJ45
2/11/1Port2_11_1No Link Full10Mb e10BaseTDisabled n/aActive RJ45
2/11/2Port2_11_2No Link Full10Mb e10BaseFL_MM n/aDisabled Active ST
2/15/1Port2_15_1LinkFull10Mb e10BaseTDisabled n/aActive RJ45
2/15/2Port2_15_2No Link Full10Mb e10BaseFL_MM n/aEnabled Active ST
2/17/1Port2_17_1LinkHalf10Mb e10BaseTn/an/aActive RJ45
Description:Show information about the management system.
Syntax:show system
Example:Console>show system
System Information.
Name: Marketing Department
Description: 17 Slot Chassis 19"
Contact: C. Smith x205
Location: Merrimack Office
Uptime: 3 days 6:57:17
Command Line Interface 53
Page 54
Command: show time
Description:Show date and time of day.
Syntax:show time
Example:Console>show time
Date 5/20/2003
Time 16:06:28
Command: show trap controls
Description:Show trap control information.
Syntax:show trap controls
Example:Console>show trap controls
Trap NameStatus V2 Trap Oid
————————————————————————————
1Generic Cold StartEnabled1.3.6.1.6.3.1.1.5.1
2Generic Warm StartEnabled1.3.6.1.6.3.1.1.5.2
3Generic Link DownEnabled1.3.6.1.6.3.1.1.5.3
4Generic Link UpEnabled1.3.6.1.6.3.1.1.5.4
5Generic Authentication FailureEnabled1.3.6.1.6.3.1.1.5.5
6Generic EGP Neighbor LossNot Applic 1.3.6.1.6.3.1.1.5.6
7Entity Configuration ChangeEnabled1.3.6.1.2.1.47.2.0.1
8Entity InsertEnabled1.3.6.1.4.1.2745.11.3.2.0.1
9Entity RemoveEnabled1.3.6.1.4.1.2745.11.3.2.0.2
10 Entity ResetEnabled1.3.6.1.4.1.2745.11.3.2.0.3
11 Power Supply Status ChangeEnabled1.3.6.1.4.1.2745.11.3.2.0.4
12 Ethernet Port Link Status Change Enabled1.3.6.1.4.1.2745.11.3.2.0.5
13 Sonet Port Link Status ChangeEnabled1.3.6.1.4.1.2745.11.3.2.0.6
14 Sensor ThresholdEnabled1.3.6.1.4.1.2745.11.3.2.0.7
15 Redundant Switch OverEnabled1.3.6.1.4.1.2745.11.3.2.0.8
16 Ethernet Remote Fault AlarmEnabled1.3.6.1.4.1.2745.11.3.2.0.9
17 Ethernet Port Speed ChangeEnabled1.3.6.1.4.1.2745.11.3.2.0.10
18 TDM Port Link Status ChangeEnabled1.3.6.1.4.1.2745.11.3.2.0.11
19 TDM Remote Fault AlarmEnabled1.3.6.1.4.1.2745.11.3.2.0.12
20 Enet Port Far End Fault AlarmEnabled1.3.6.1.4.1.2745.11.3.2.0.13
Description:Display the ‘show trap’ subcommands.
Syntax:show trap help
Example:Console>show trap help
CommandDescription
—————————————————
destination: Show Trap Destination
controls: Show Trap Controls
help: Show this message
Admin Privilege Commands
Administrative level commands allow a system administrator to configure and
monitor the system. The default password is: admin
Bootp Commands
Command: bootp -all
Description:Display the MAC and IP addresses configured for the
Syntax:bootp -all
Note:Not applicable to the x501-M.
Example:Console>bootp -all
chassis in the stack.
0x00409f180565172.31.3.1
0x00409f180a39172.31.2.1
Command Line Interface 55
Page 56
Command: bootp -delete
Description:Delete an IP address from the stack.
Syntax:bootp -delete <MAC address>
Note:Not applicable to the x501-M.
Example:Console>bootp -delete 0x00409f180a39
Description:Add an IP address to the stack.
Syntax:bootp -set <MAC address> <IP address>
Note:Not applicable to the x501-M.
Example:The IP address of the primary chassis’ secondary
Console>
When assigning an IP address to a chassis, the
following format is required:
1. The first two numbers must match the first two
numbers of the primary chassis’ secondary interface IP address.
2. The third number must be the chassis position in
the stack.
3. The fourth number must be the slot number where
the management card is installed.
interface is 172.31.1.17. To configure chassis 2, which
has a management card in slot 17, enter the following
command.
Console>bootp -set 0x00409f180a39 172.31.2.1
Console>
56 Console Commands
Page 57
Clear Commands
Command: clear acl
Description:Clear a specific entry or all entries from the Access
Syntax:clear acl <IP address>
Example:Console>clear acl all
Command: clear arp
Description:Delete one or all ARP entries.
Syntax:clear arp <IP address>
Example:Console>clear arp all
Command: clear help
Description:Display the ‘clear’ subcommands.
Syntax:clear help
Example:Console>clear help
Control List table.
clear acl all
access control list cleared
clear arp all
Clearing arp table
IP AddrMac addr
—————————————————
100.132.65.99(100.132.65.99) deleted
Command Description
—————————————————
acl: Clear ACL entry
arp: Clear ARP table entries
help: Show this message
ip: Clear IP; use ‘clear ip help’ for more information
log: Clear log information
motd: Clear Message of the Day
snmp: Clear snmp; use ‘clear snmp help’ for more info
trap: Clear trap; user ‘clear trap help’ for more info
Command Line Interface 57
Page 58
Command: clear ip help
Description:Display the ‘clear ip’ subcommands.
Syntax:clear ip help
Example:Console>clear ip help
Command: clear ip route
Description:Clear an IP route.
Syntax:clear ip route <destination IP> <gateway> <mask>
Example:Clear the default IP route.
Command: clear log
Description:Clear one of the event logs.
Syntax:clear log <log_index>
Example:Console>clear log 2
CommandDescription
—————————————————
route: Clear IP routing table entries
help: Show this message
clear ip route default <gateway> <mask>
Console>clear ip route default 100.132.65.98 0.0.0.0
Ok.
Clearing Log: Volatile
Command: clear motd
Description:Clear the message of the day.
Syntax:clear motd
Example:Console>clear motd
Ok. motd cleared
58 Console Commands
Page 59
Command: clear snmp community
Description:Clear the SNMP community string. Disable the get or
set community string access.
Syntax:clear snmp community <get | set>
Example:Console>clear snmp community get
WARNING - This will disable SNMPv1/v2c read-only
protection
Disable read-only protection? [Y/N]y
Ok.
Command: clear snmp help
Description:Show ‘clear snmp’ subcommands.
Syntax:clear snmp help
Example:Console>clear snmp help
CommandDescription
—————————————————
community: Clear SNMP Community String (disable get/
help: Show this message
set community string SNMP access)
Command: clear trap destination
Description:Clear one entry or all entries in the Trap Destination/
Only devices with IPs in the table can reach the device.
If the table is empty the ACL is disabled.
Access Control List entry added
Ok.
Command: set chassis asset
Description:Set the asset tracking identifier for the chassis.
Syntax:set chassis asset <chassis> <asset ID>
Note:Multi-word strings must be placed in quotes.
Example:Console>set chassis asset 1 66778
Chassis Asset ID successfully set.
Command Line Interface 61
Page 62
Command: set chassis help
Description:Show ‘set chassis’ subcommands.
Syntax:set chassis help
Example:Console>set chassis help
CommandDescription
———————————————
asset: Set chassis asset ID
help: Show this message
name: Set chassis name
Command: set chassis name
Description:Set the name of a chassis to the specified string.
Syntax:set chassis name <chassis> <name>
Note:Multi-word names must be placed in quotes. Use only
alphanumeric characters for the name. Special
characters, such as commas or periods, are not
supported.
Example:Console>set chassis name 1 ChassA
Chassis Name successfully set.
Command: set community
Description:Set the SNMP community names.
Syntax:set community <get | set> [name]
Note:If the name is omitted, access to the community will
be unprotected.
Example:Console>set community get public
Ok.
62 Console Commands
Page 63
Command: set help
Description:Show ‘set’ subcommands.
Syntax:set <help | ?>
Example:Console>set help
Command: set ip address
Description:Reset the device IP address and mask.
Syntax:set ip address <if#> <IP address> <mask>
Note:The ‘if#’ is the interface number that appears in the
Example:Console>set ip address 2 100.132.66.38 255.255.255.0
Command Description
—————————————————
acl: Set ACL Table entry
arp: Set ARP Table entry
chassis: Set chassis; use ‘set chassis help’ for more info
community: Set community
help: Show this message
ip: Set IP; use 'set ip help' for more info
logging: Set system logging configuration information
module: Set module; use 'set module help' for more info
motd: Set Message of the Day
port: Set port; use 'set port help' for more info
prompt: Set prompt
snmp: Set snmp; use 'set snmp help' for more info
system: Set system; use 'set system help' for more info
time: Set time and date
trap: Set trap; use 'set trap help' for more info
‘show interface’ table.
Setting i/f 2 IP address to 100.132.66.38 with netmask
255.255.255.0...
Command Line Interface 63
Page 64
Command: set ip help
Description:Display the ‘set ip’ subcommands.
Syntax:set ip help
Example:Console>set ip help
Command: set ip route
Description:Set an IP route.
Syntax:set ip route <dest_ip> <gateway> [netmask]
Note:To change the default gateway, you must first delete
Example #1:Change the default gateway.
CommandDescription
—————————————————
address: Set IP address and mask
help: Show this message
route: Set IP route table entry
set ip route default <gateway> [netmask]
the existing default gateway and then set the new
gateway.
Console>clear ip route 0.0.0.0 100.132.65.98
delete net 0.0.0.0: gateway 100.132.65.98 (100.132.65.98)
Ok.
Console>set ip route default 100.132.65.97
add net 0.0.0.0: gateway 100.132.65.97 (100.132.65.97)
Ok.
Example #2:Establish a new gateway.
Console>set ip route 100.132.64.2 100.132.65.98
add host 100.132.64.2: gateway 100.132.65.98 (100.132.65.98)
Ok.
Command: set logging add
Description:Display messages of a given severity at the
console.
Syntax:set logging add <severity>
64 Console Commands
Page 65
Note:Messages are logged onto the screen only when
connected via the serial console port. This command
has no effect during a telnet session. Use ‘show log
severities’ to determine available severities.
Example:Console>set logging add fault
+ FAULT
Ok.
Console>set logging add fault fatal
+ FAULT
+ FATAL
Ok.
Command: set logging all
Description:Show all messages at the console.
Syntax:set logging all
Example:Console>set logging all
Ok. All messages will be displayed.
Command: set logging delete
Description:Do not display message of a given severity at the
console.
Syntax:set logging delete <severity>
Note:Use ‘show log severities’ to determine available
severities. Messages are still logged, just not
printed to the console.
Example:Console>set logging delete print
- PRINT
Ok.
Console>set logging delete print info
- INFO
- PRINT
Ok.
Command Line Interface 65
Page 66
Command: set logging help
Description:Show the ‘set logging’ subcommands.
Syntax:set logging help
Example:Console>set logging help
Command Description
————— ———————————————————
add: Add a message severity to be displayed at the
all: Send all log messages to the console.
delete: Don't display a message severity at the console.
help: Show this message.
none: Don't send any log messages to the console.
Command: set logging none
Description:Do not show any messages at the console.
Syntax:set logging none
Note:Events will still be logged, just not displayed.
Example:Console>set logging none
Ok. No messages will be displayed.
Command: set module asset
Description:Set the asset tracking identifier for the module.
Syntax:set module asset <chassis> <module[-converter]>
Note:Multi-word strings must be placed in quotes. There is
a limit of 32 characters for the asset identifier. Do not
use the following characters:
. : ; & = < >.
Example:Console>set module asset 1 1 750444
console.
[<port> <remote>] <asset ID>
Asset ID successfully set.
Command: set module autorecover
Description:Set Auto-Recovery on some 10/100Mbps line cards.
Syntax:set module autorecover <chassis> <module> <enable |
disable>
66 Console Commands
Page 67
Note:Auto-Recovery prevents a deadlock when LLR is
Note:This controls the ability to automatic revert back to the
primary port if a secondary switchover has occurred.
When the redundant interface line card ModeControl
is selectAB, then this option is not selectable and a
read of this value will always return not selectable.
Example:Console>set module autorevert 1 11 enable
Auto Restore Primary successfully set.
Command: set module backpressure
Description:Enable or disable backpressure (half duplex flow
Description:Disable the BOOTP server.
Syntax:set module bootpdisable <chassis> <module>
Note:Only applicable to R502-M cards that are configured
for a stack.
Example:Console>set module bootpdisable 1 17
Bootp disabled.
Command Line Interface 67
Page 68
Command: set module bootpenable
Description:Enable the BOOTP server.
Syntax:set module bootpenable <chassis> <module>
Note:Only applicable to R502-M cards that are configured
for a stack.
Example:Console>set module bootpenable 1 17
Bootp enabled.
Command: set module disable
Description:Disable a module, if possible.
Syntax:set module disable <chassis> <module>
Note:Typically this can’t be done.
Example:Console>set module disable 1 6
Module Admin Status can't be modified.
Command: set module enable
Description:Enable a module.
Syntax:set module enable <chassis> <module>
Note:Typically this can’t be done.
Example:Console>set module enable 1 3
Module Admin Status can't be modified.
Command: set module fdflowctrl
Description:Set full-duplex flow control on a 10/100Mbps line
Note:Not applicable to all 10/100Mbps line cards.
Example:Console>set module fdflowctrl 1 13 disable
FD Flow Control Successfully set.
68 Console Commands
Page 69
Command: set module ftpdisable
Description:Disable the FTP server.
Syntax:set module ftpdisable <chassis> <module>
Note:Only applicable to management cards.
Example:Console>set module ftpdisable 1 17
FTP disabled.
Command: set module ftpenable
Description:Enable the FTP server.
Syntax:set module ftpenable <chassis> <module>
Note:Only applicable to management modules.
Example:Console>set module ftpenable 1 17
FTP enabled.
Command: set module help
Description:Show ‘set module’ subcommands.
Syntax:set module help
Example:Console>set module help
CommandDescription
—————————————————
asset: User supplied asset ID (32 characters maximum).
autorecover: Auto recovery for LLCF with LLR deadlock potential.
autorevert: Revert to primary port if secondary switchover occurred.
backpressure : Half Duplex Flow Control.
bootpdisable : Disable bootp server.
bootpenable : Enable bootp server.
disable: Disable module and reflect it in Admin Status.
enable: Enable module and reflect it in Admin Status.
fdflowctrl: Full Duplex Flow Control.
ftpdisable: Disable FTP server.
ftpenable: Enable FTP server.
help: Show this message.
image: Select boot/core images to be used at boot time.
llcf: Link Loss Carry Forward.
name: User supplied name (32 characters maximum).
redabsel: Select output port A (Primary) or B (Secondary) for SelectAB mode.
Command Line Interface 69
Page 70
redlink: Send link on unselected port when in Dynamic Recovery Mode.
redloa: Set Loss of Activity time in seconds (1-31).
redmode: Select Dynamic Recovery or SelectAB mode of redundant operation.
redtx: Send to both primary and secondary output ports.
sduplexAll: Sets duplex for all ports on module.
sfdflowctrlAll : Sets Full Duplex Flow Control for all ports on module.
shdflowctrlAll : Sets Half Duplex Flow Control for all ports on module.
SONAR: Switch On No Activity Received.
telnetdisable : Disable telnet server.
telnetenable : Enable telnet server.
webdisable: Disable web server.
webenable: Enable web server.
webredirect: Redirect web user (browser) to this URL.
webselect: Use this local IP or the redirect URL for response to web user.
write: Inhibit remotely connected module control of local module.
Command: set module image
Description:Select the boot or core image file to be used at start-
up. Transfer the file via FTP or a specified file path.
The following is an example of what appears on the
console screen of the system getting the file.
Console>Connected to 100.175.3.17
220 100.175.3.17 pSOSystem FTP server (@(#)(#)pVER IA/PPC,
Version 3.4.0) ready.
331 Password required for admin.
230 User admin logged in.
200 Type set to I.
200 PORT command successful.
150 Opening BINARY mode data connection for boot.bin (616900 bytes)
226 Transfer complete.
6161900 bytes received in 8 seconds (75 Kbytes/s)
221 Goodbye.
UPDT :00000000: SEVERE (WARNING: Boot image update in
progress. This process MUST NOT be interrupted or the board will
be unable to boot)
UPDT :00000000: SEVERE (Copying file 44.0.0/boot.bin to boot
image FLASH)
UPDT :00000000: SEVERE (Clearing lock on boot image FLASH
sectors)
UPDT :00000000: SEVERE (Erasing boot image FLASH sectors)
UPDT :00000000: SEVERE (Starting to write boot image FLASH)
UPDT :00000000: SEVERE (Setting lock on boot image FLASH
sectors)
UPDT :00000000: SEVERE (Performing verification of updated
boot image in FLASH)
UPDT :00000000: SEVERE (FLASH boot image successfully
updated from file 44.0.0/boot.bin)
Command Line Interface 71
Page 72
Command: set module llcf
Description:Modify Link Loss Carry Forward status.
Syntax:set module llcf <chassis> <module[-converter]>
[<port> <remote>] <enable | disable>
Note:1. Pertains to the ability of an input port to forward the
2. If LLCF is enabled on a remote access line card and
Example:Console>set module llcf 1 11 disable
LLCF successfully set.
Command: set module name
Description:Set a module’s name.
Syntax:set module name <chassis> <module[-converter]>
[<port> <remote>] <name>
Note:Multi-word strings must be placed in quotes. There is
a limit of 32 characters for the module name. Do not
use the following characters:
. : ; & = < >.
Example:Console>set module name 1 8 "Module Name"
link test pulse to its output port. If disabled, the
output port will always generate link pulses,
regardless of input port link status. This feature is
not available on all modules.
it loses its link on the copper port, you will no
longer be able to manage the remote device.
Name successfully set.
Command: set module redabsel
Description:Set the output port A (Primary) or B (Secondary) for a
Note:Must be in Dynamic Recovery mode.
Example:Console>set module redlink 1 11 enable
Link Pulse Control successfully set.
Command: set module redloa
Description:Set the Loss of Activity (LOA) time in seconds (1-31)
on a 1000Mbps redundant line card. With SONAR
enabled, if the active port remains idle longer than the
time specified, the card will check for activity on the
secondary port and switchover if activity is detected.
Syntax:set module redloa <chassis> <module> <time>
Note:Time is any number from 1 to 31.
Example:Console>set module redloa 1 16 10
LOA time successfully set.
Command: set module redmode
Description:Set the mode of a redundant interface line card.
Syntax:set module redmode <chassis> <module>
<DynamicRecovery | SelectAB>
Note:Dynamic Recovery mode provides automatic
switchover for port failure redundancy while
selectAB provides a basic A/B port selector. This
status is relevant to several other ‘set module’
commands.
Example:Console>set module redmode 1 11 SelectAB
Mode Control successfully set.
Command Line Interface 73
Page 74
Command: set module redtx
Description:Set the transmission status of a redundant
Note:With SONAR enabled, the module will switch ports if
it detects a loss of activity for two seconds at the
active port, or for the configured time (1-31 seconds)
for a Gigabit redundant line card. To enable SONAR,
the module must be in Dynamic Recovery mode and
redlink must be enabled.
Example:Console>set module SONAR 1 4 enable
SONAR successfully set.
Command: set module telnetdisable
Description:Disable the Telnet server.
Syntax:set module telnetdisable <chassis> <module>
Note:Only applicable to management modules.
Example:Console>set module telnetdisable 1 17
Te lnet disabled.
Command Line Interface 75
Page 76
Command: set module telnetenable
Description:Enable the Telnet server.
Syntax:set module telnetenable <chassis> <module>
Note:Only applicable to management modules.
Example:Console>set module telnetenable 1 17
Te lnet enabled.
Command: set module webdisable
Description:Disable the Web server.
Syntax:set module webdisable <chassis> <module>
Note:Only applicable to management modules.
Example:Console>set module webdisable 1 17
Web disabled.
Command: set module webenable
Description:Enable the Web server.
Syntax:set module webenable <chassis> <module>
Note:Only applicable to management modules.
Example:Console>set module webenable 1 12
Web enabled.
Command: set module webredirect
Description:Redirect the Web browser to point to the assigned
URL instead of the IP address of the selected chassis.
Note:Only applicable to locally managed access line cards.
Example:Console>set module write 1 4 ReadOnly
Write Protect successfully set.
Command: set motd
Description:Set the message of the day displayed at login.
Syntax:set motd <motd>
set motd
Example:Console>set motd
The current message of the day:
This is file motd
Enter message of the day, use '.' to indicate completion
This is a new "motd"
and it contains 2 lines
.
Done.
Command Line Interface 77
Page 78
New message of the day:
This is a new "motd"
and it contains 2 lines
Ok.
Command: set port autoneg
Description:Modify the auto-negotiation status on the copper port of
a card with this feature.
Syntax:set port autoneg <chassis> <module> <port> [<re-
Note:1. For a 10/100Mbps card or a chassis stacking line
2. For an access line card, the copper port advertises
Example:Console>set port autoneg 2 10 1 disable
mote> <remoteport>] <enable | disable>
card, auto-negotiation determines how a port
advertises its speed and duplex capabilities. Autonegotiation is dependent on both the speed and
duplex switch settings.
full/half duplex capability when auto-negotiation is
enabled. Speed is always 100Mbps. When autonegotiation is disabled, the port operates in full
duplex. Auto-negotiation must be enabled if the
device connected to the copper port is set to half
duplex.
Auto Negotiate successfully set.
Command: set port bandwidth
Description:Set the receive or transmit bandwidth on an access line
card’s copper port to the specified bandwidth in 1Mb
increments.
Syntax:set port bandwidth <transmit | receive> <chassis>
Example:Console>set port burstlength receive 2 11 2 1 1 64KB
Receive Burst Length successfully set.
Command: set port disable
Description:Disable a port.
Syntax:set port disable <chassis> <module> <port>
Note:This command only applies to management, TDM,
and access line cards.
Example:Console>set port disable 2 3 2
Admin Status successfully set.
Command Line Interface 79
Page 80
Command: set port dislbkres
Description:Determines the response of the fiber port when it
receives the remote loopback command. When
enabled, the port ignores the remote loopback command. When disabled, the port enters remote loopback
mode. During remote loopback mode, data on the fiber
port to looped back to the sender.
Syntax:set port dislbkres <chassis> <module> <port>
Note:Only applicable to R133-xx cards.
Example:Console>set port dislbkres 2 6 2 disable
Disable Loopback Response successfully set.
Command: set port duplex
Description:Modify a port’s duplex mode.
Syntax:set port duplex <chassis> <module> <port> <duplex>
Note:Duplex is either half or full.
Example:Console>set port duplex 2 14 2 full
Port duplex successfully set.
Command: set port enable
Description:Enable a port.
Syntax:set port enable <chassis> <module> <port>
Note:This only applies to management, TDM, and access
line cards.
Example:Console> set port enable 2 3 2
Admin Status successfully set.
80 Console Commands
Page 81
Command: set port fault
Description:Set the Far End Fault on an access line card or TDM
port. This allows the locally managed card to detect a
break in the remote card’s fiber port receiver.
Syntax:set port fault <chassis> <module> <port> [<remote>
<remoteport>] <enable | disable>
Example:Console> set port fault 2 3 2 enable
Remote Fault successfully set.
Command: set port fefenable
Description:Set the Far End Fault on an R133-xx port. This allows
the locally managed card to detect a break in the
remote card’s fiber port receiver.
Syntax:set port fefenable <chassis> <module> <port> <enable
| disable>
Note:To function properly, the Far End Fault setting must be
the same on both the local and remote cards. Far End
Fault is not applicable to the copper port.
Example:Console> set port fefenable 2 6 2 enable
Far End Fault Enable successfully set.
Command: set port help
Description:Show ‘set port’ subcommands.
Syntax:set port help
Example:Console>set port help
Command Description
———— ————————————
autoneg: Autonegotiation of duplex and/or speed.
bandwidth : Provision bandwidth (1Mb increments).
bert: Transmit BERT511 on TDM port.
burstlength : Burst at line rate for specified buffer size.
disable: Disable port.
dislbkres: Disable loopback response when requested
from remote port.
duplex: Set port transmission to full or half duplex.
enable: Enable port.
Command Line Interface 81
Page 82
fault: Far End Fault generation when receive fiber
fefenable : Far End Fault generation when receive fiber
help: Show this message.
linebuildout: Copper port line length (T1/E1).
linecode: Set port linecode.
llr: Set port link loss return.
loopback : Set port loopback.
name: Set port name.
remotelpbk : Set remote loopback.
speed: Set port speed (10/100 Mbps).
Command: set port linebuildout
Description:Set the line length for a copper port on a T1/E1 line
card.
Syntax:set port linebuildout <chassis> <module> <port>
[<remote> <remoteport>] <linebuildout>
where <linebuildout> is
T1E1
Note:For T1 cards, <linebuildout> may be shortened to the
first four characters of the option (for example, type
“133-” instead of “133-266ft”).
Example:Console>set port linebuildout 1 14 1 133-266ft
fails (ALC and TDM).
fails.
Line Length successfully set.
82 Console Commands
Page 83
Command: set port linecode
Description:Select whether AMI or B8ZS/HDB3 line coding will
be used for receiving and transmitting data.
Syntax:set port linecode <chassis> <module> <port> <AMI |
[B8ZS | HDB3]>
Note:1. B8ZS is the T1 default setting; HDB3 is the E1
2. Only applies to the copper port of a T1/E1 card.
Example:Console>set port linecode 1 14 1 AMI
Line Coding successfully set.
Command: set port llr
Description:Enable or disable a fiber port’s Link Loss Return
status.
Syntax:set port llr <chassis> <module[-converter]> <port>
[<remote> <remoteport>] <enable | disable>
Note:Not available on all modules. When enabled, the fiber
port’s transmitter shuts down if its receiver fails to
detect a valid receive link. LLR should only be
enabled on one end of the link and is typically enabled
on either the unmanaged or remote device. Do not
enable LLR on both ends of a configuration, otherwise
the link will never be established.
Example:Console>set port llr 2 2 2 disable
default.
LLR successfully set.
Command: set port loopback
Description:Enable or disable the loopback feature on a TDM or
access line card. For an access line card, this mode
allows a port to return its incoming data back to the
sender, while continuing to receive and transmit
management packets. The management packets are not
looped back to the sender, only the data is returned. For
a TDM card, the local copper or fiber port can be
configured to loop back its incoming data. For a T3/E3
card, the incoming data is also transmitted to the remote
device.
Command Line Interface 83
Page 84
Syntax:set port loopback <chassis> <module> <port>
Note:For an access line card, loopback can only be applied
Example:Console>set port loopback 2 11 2 1 2 enable
Command: set port name
Description:Set a port’s name.
Syntax:set port name <chassis> <module[-converter]> <port>
Note:1.Multi-word strings must be placed in quotes.
Example:Console>set port name 1 1 1 "port one"
[<remote> <remoteport>] <enable | disable>
to one port at a time because when you enable
loopback on a port, the other port on the module is
automatically disabled (no link). Loopback can only
be set on the fiber port.
For a T1/E1 card, loopback can be applied to one or
both ports simultaneously. For a T3/E3 card, loopback
cannot be applied simultaneously.
Loopback successfully set.
[<remote> <remoteport>] <name>
2.There is a limit of 32 characters for the port name.
Do not use the following characters:
. : ; & = < >.
3.Port names cannot be set to blank.
Name successfully set.
Command: set port remotelpbk
Description:Enable or disable remote fiber loopback on a T1/E1
card. When enabled, data on the fiber line is looped
back at the remote end to the sending device. For
normal operation, disable this function.
Syntax:set port remotelpbk <chassis> <module> <port>
<enable | disable>
Note:Only applies to the fiber port of a T1/E1 card.
Example:Console>set port remotelpbk 1 14 2 enable
WARNING — This will interrupt user traffic
84 Console Commands
Page 85
Command: set port speed
Description:Modify a port’s speed in Mbps.
Syntax:set port speed <chassis> <module> <port> <speed>
Note:Only applicable to 10/100 modules. Speed is either 10
Example:Console>set port speed 1 4 2 100
Command: set prompt
Description:Set the console and telnet prompts.
Syntax:set prompt <prompts>
Example:Console>set prompt -> Telnet>
Continue with Remote Loopback? [Y/N]y
Remote Loopback successfully set.
or 100.
Speed successfully set.
set prompt <console prompt> <telnet prompt>
Ok. Setting console prompt to ->
Ok. Setting telnet prompt to Telnet>
->
Command: set snmp community
Description:Set the SNMP community names.
Syntax:set snmp community <get | set> [name]
Note:If the string is left blank, access to the community will
be unprotected.
Example:Console>set snmp community get public
Ok.
Command Line Interface 85
Page 86
Command: set snmp help
Description:Show the ‘set snmp’ subcommands.
Syntax:set snmp help
Example:Console>set snmp help
CommandDescription
—————————————————
community: Set community string
help: Show this message
Command: set system contact
Description:Set the MIB-2 system contact string.
Syntax:set system contact <contact>
Note:Multi-word strings must be placed in quotes.
Example:Console>set system contact "Sys Admin"
Ok.
Command: set system help
Description:Show the ‘set system’ subcommands.
Syntax:set system help
Example:Console>set system help
CommandDescription
—————————————————
contact: Set system contact
help: Show this message
location: Set system location
name: Set system name
Command: set system location
Description:Set the MIB-2 system location string.
Syntax:set system location <location>
Note:Multi-word strings must be placed in quotes.
Example:Console>set system location Nashua
Ok.
86 Console Commands
Page 87
Command: set system name
Description:Set the MIB-2 system name string.
Syntax:set system name <name>
Note:Multi-word strings must be placed in quotes.
Example:Console>set system name "Metrobility hub"
Ok.
Command: set time
Description:Set time and date.
Syntax:set time <mm/dd/yyyy> <hh:mm:ss>
Example:Console>set time 05/18/2003 15:00:00
Date 05/18/2003
Time 15:00:00
Command: set trap control
Description:Enable or disable specific traps.
Syntax:set trap control <trap_index> <enable | disable>
Note:The ‘trap_index’ is the number to the left of the Trap
Name in the ‘show trap control’ table (e.g., 4 is the
index for the Generic Link Up trap).
Example:Console>set trap control 4 disable
Ok.
Command: set trap destination
Description:Add a management station as a destination for traps;
or modify an existing destination’s status, name or
SNMP version.
-set <username> <password> <uid> <gid> <description>
<home directory>Add user
<description> <home directory>
privilege than yourself (e.g., an admin can only add
another admin or guest, but not a root user).
The uid (user ID) and gid (group ID) numbers must be
the same. For a root user, the uid and gid must be 10;
for an admin, choose a number from 11 to 20; and for
a guest, use any number equal to or greater than 21.
User guest added
Utility Commands
Command: cat
Description:Concatenate and display files.
Syntax:cat [-benstv] <filename …>
Options:-bNumber the non-blank lines.
-eDisplay non-printing characters including a $
90 Console Commands
Page 91
Example:Console>cat motd
Command: copyboot
Description:Copy a boot image to the boot sector of flash.
Syntax:copyboot <filename>
Notes:IMPORTANT! Do not interrupt or power cycle
Example:Console>copyboot boot.bin
character at the end of each line.
-nPrecede each line output with its line
number.
-sSubstitute a single blank line for multiple
adjacent blank lines.
-tDisplay non-printing characters including the
[tab] character.
-vDisplay non-printing characters excluding the
[tab] and [newline] characters.
This is the message of the day
the system once copyboot has been initiated —
it will render the card inoperative.
Warning: If this file was transferred using FTP, please
make sure the BINARY option was specified.
Warning: This process MUST NOT be interrupted or else
the board will not be able to boot.
Do you want to Continue? [N] y
Copying boot.bin to flash.
Clearing lock on boot sectors.
Clearing boot sectors.
Writing boot image.
Each . equals 10K bytes flashed
Description:Display the first n lines of a file.
Syntax:head [-n] <filename...>
Note:The default value of n is 10.
Example:Console>head /etc/hosts
Command: nvclear
Description:Reset previously defined nvram settings.
Syntax:nvclear [-options]
Options:-allInitializes all nvram to 0.
#
# This file contains the mappings of IP addresses
# to host names. Each entry should be kept on an
# individual line. The IP address should be placed
# in the first column followed by the
# corresponding host name. The IP address and the
# host name should be separated by at least
# one space.
#
# <ip address> <hostname> [#<comment>]
#
# Additionally, comments (such as these) may be
# inserted on individual
Clears all boot, system, and network
settings; system defaults are used during
the next reboot.
-bootInitializes boot handoff nvram to 0.
Resets boot parameters to factory
defaults; includes the image to load and
the diagnostic status.
-coreInitializes core cfg nvram to 0.
Resets core configuration data; console
prompts are also reset.
-evlogInitializes non-volatile event log nvram to
0. Clears all entries in the event log.
-osInitializes operating system cfg nvram to
0. Resets operating system parameters to
factory defaults; includes tftp boot vs.
filesystem load, IP configuration via
Command Line Interface 93
Page 94
Command: password
Description:Change a password.
Syntax:password <username>
Note:You will not be prompted for the old password if
Example:Console>password root
Command: tail
Description:Display n lines of a file beginning at the
Syntax:tail [+|-number [lc]] <filename>
Note:The default displays the last 10 lines of a file.
Options:+number Begin displaying at a distance number from
Example:Console>tail /etc/hosts
BOOTP, RARP, or static address.
-timeInitializes reset time storage nvram to 0.
-helpUsage.
Displays ‘nvclear’ command options.
you are changing the password for a privilege
lower than the current session.
Enter the old root password.
Enter the new root password.
Enter the new root password again.
Ok. root password changed.
designated place.
the beginning of the file. Number is counted
in units of lines or characters, according to
the l or c option. The default number is 10.
-number Begin displaying at distance number from
the end of the file.
lNumber is counted in units of lines.
cNumber is counted in units of characters.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
Description:Trivial file transfer protocol client.
Syntax:tftp <host>
Note:When using TFTP to transfer files to the management
Example:Console>tftp 100.132.65.23
card, always verify the file size after completing the
transfer. If the file size is different, repeat the file
transfer or use FTP to transfer the file (preferred).
Rebooting the card after a partial file transfer may
result in the failure of the management card to boot
and require the card to be returned for repair.
Command Line Interface 95
Page 96
Command: touch
Description:Update the modification time of a file. A file is created
Syntax:touch [-cf] <filename...>
Options:-cDo not create file if it does not already exist.
Example:Console>touch motd
Connected to 100.132.65.23
tftp> help
Commands may be abbreviated. Commands are:
connectconnect to a site
modechange the file transfer mode
putput a file to a remote site
getget a file from a remote site
verbosetoggle verbose mode
tracetoggle packet tracing mode
remxitset the number of retransmits
timeoutset the timeout for retransmits
quitexit tftp
statusprint status information
optiontoggle option negotiation
blksizeset the blocksize for transfers
filesizeset the maximum file size for receive
?print help information
tftp> quit
if it does not already exist.
-fAttempt to force the touch regardless of read and
write permissions on filename.
Root Privilege Commands
Root privilege commands should only be used by a system administrator under
the direction of a Metrobility support engineer to customize or recover the
system and internal file system. IMPORTANT! These commands can render
the system inoperable.
The default password is: root
96 Console Commands
Page 97
Command: clear snmp user
Description:Delete an SNMP user.
Syntax:clear snmp user <username>
Example:Console>clear snmp user tempuser
Ok.
Command: cp
Description:Copy files or directories.
Syntax:cp [-i] <source> <target>
cp [-irR] <source1 ... sourceN> <directory>
Options:-iPrompt before overwriting an existing file.
-rSee R.
-RRecursive. If any source files are directories,
Note:As a security feature, password files will not be valid
if they are copied into the /etc directory.
Example:Console>ls
acl hosts motd passwd
Console>cp motd motw
Console>ls
copy the directory along with its files. Destination must be a directory.
Command: delhost
Description:Delete an entry from the /etc/hosts file.
Syntax:delhost <address>
Example:Console>delhost 100.132.65.29
acl hosts motd motw passwd
DNS entry 100.132.65.29 deleted
Command Line Interface 97
Page 98
Command: getaddr
Description:Get an IP address from a host name in /etc/hosts.
Syntax:getaddr <hostname>
Example:Console>getaddr mymachine
Command: gethname
Description:Get a host name from an IP address in /etc/hosts.
Syntax:gethname <address>
Example:Console>gethname 100.132.65.99