Command Line Interface MGT-10 LK 1 AT LK 2 AT PWR C O N S O L E A B R ER Reference Guide Model: R502-M
Management Card R502-M ____ Management Card with Dual Ethernet Interfaces 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.
1 Contents Chapter 1: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Product Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Notation Conventions . . . . . . . . . . . . . . . . . . . . . . . 12 Chapter 2: Installation Guide . . . . . . . . . . . . . . . . . . . . . . . 15 Safety Warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Install the Management Card . . . . . . . . . . . . . . . . . 15 Connect to the Network . . . . . . . . . . . . . . . . .
2 Configuring FreeRADIUS for the R502-M . . 32 Configuring the R502-M . . . . . . . . . . . . . . . . 33 Persistence Data . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Upgrade Procedures . . . . . . . . . . . . . . . . . . . . . . . . 35 Upgrade Firmware Via FTP . . . . . . . . . . . . . 36 Firmware Boot Process via TFTP . . . . . . . . 37 NetBeacon Management Software . . . . . . . 39 Obtaining Metrobility MIB and Firmware Files . . . 39 Chapter 3: Console Commands Overview . . . . . . . . .
3 Command: rcli . . . . . . . . . . . . . . . . . . . . . . . 51 Command: remote . . . . . . . . . . . . . . . . . . . . 53 Command: remoteport . . . . . . . . . . . . . . . . . 53 Command: top . . . . . . . . . . . . . . . . . . . . . . . 53 Command: up . . . . . . . . . . . . . . . . . . . . . . . 54 Show Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Command: show acl . . . . . . . . . . . . . . . . . . 54 Command: show arp . . . . . . . . . . . . . . . . . . 55 Command: show chassis .
4 Command: show port . . . . . . . . . . . . . . . . . . 71 Command: show radius . . . . . . . . . . . . . . . . 73 Command: show stats rmon . . . . . . . . . . . . 73 Command: show system . . . . . . . . . . . . . . . 74 Command: show time . . . . . . . . . . . . . . . . . 74 Command: show trap controls . . . . . . . . . . . 74 Command: show trap destination . . . . . . . . 75 Command: show trap help . . . . . . . . . . . . . . 75 Chapter 5: Admin Privilege Commands . . . . . . . . . . . . . .
5 Reset Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 82 Command: reset chassis . . . . . . . . . . . . . . . 82 Command: reset help . . . . . . . . . . . . . . . . . . 82 Command: reset module . . . . . . . . . . . . . . . 82 Command: reset remote . . . . . . . . . . . . . . . 83 Set Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Command: set acl . . . . . . . . . . . . . . . . . . . . 83 Command: set arp . . . . . . . . . . . . . . . . . . . .
6 Command: set module dhcpretries . . . . . . . 92 Command: set module disable . . . . . . . . . . 92 Command: set module enable . . . . . . . . . . . 92 Command: set module fdflowctrl . . . . . . . . . 92 Command: set module ftpdisable . . . . . . . . 93 Command: set module ftpenable . . . . . . . . . 93 Command: set module help . . . . . . . . . . . . . 93 Command: set module icmp . . . . . . . . . . . . 96 Command: set module ip . . . . . . . . . . . . . . . 96 Command: set module ipapply . . . . . . .
7 Command: set module telnetdisable . . . . . 104 Command: set module telnetenable . . . . . 104 Command: set module transparent . . . . . . 104 Command: set module upgactivate . . . . . . 105 Command: set module upgfilename . . . . . 105 Command: set module upglocation . . . . . . 106 Command: set module upgsrv . . . . . . . . . . 107 Command: set module upgsrvpasswd . . . . 107 Command: set module upgsrvproto . . . . . . 107 Command: set module upgsrvusrname . . . 107 Command: set module webdisable . . .
8 Command: set port loopback . . . . . . . . . . . 115 Command: set port name . . . . . . . . . . . . . 116 Command: set port remotelpbk . . . . . . . . . 116 Command: set port speed . . . . . . . . . . . . . 117 Command: set prompt . . . . . . . . . . . . . . . . 117 Command: set radius authentication . . . . . 117 Command: set radius help . . . . . . . . . . . . . 117 Command: set radius retransmit . . . . . . . . 118 Command: set radius server . . . . . . . . . . . 118 Command: set radius timeout . . .
9 Command: user -delete . . . . . . . . . . . . . . . 124 Command: user -help . . . . . . . . . . . . . . . . 124 Command: user -set . . . . . . . . . . . . . . . . . 124 Utility Commands . . . . . . . . . . . . . . . . . . . . . . . . . 125 Command: cat . . . . . . . . . . . . . . . . . . . . . . 125 Command: copyboot . . . . . . . . . . . . . . . . . 125 Command: echo . . . . . . . . . . . . . . . . . . . . . 126 Command: ftp . . . . . . . . . . . . . . . . . . . . . . 126 Command: head . . . . . . . . .
10 Command: umount . . . . . . . . . . . . . . . . . . 135 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Technical Specifications . . . . . . . . . . . . . . . . . . . 137 Discontinued Product Suppport . . . . . . . . . . . . . 139 Managed Fixed Port Chassis . . . . . . . . . . . 139 Persistence for a Fixed Port Chassis . . . . . 140 Product Safety and Compliance Statements . . . 141 Warranty and Servicing . . . . . . . . . . . . . . . . . . . .
11 Chapter 1: Introduction This document contains installation procedures and console commands necessary for the operation of the Metrobility R502-M management card. The first section describes how to connect the card to the network and to boot up for SNMP management. The document also 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.
12 Product Overview The management line card is the SNMP agent for the chassis. Embedded in the card is the WebBeacon software for Web-based management of network devices. Used in conjunction with Metrobility’s NetBeacon or WebBeacon management software, or any SNMP application, the management 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.
13 Times This font 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 or more text items indicates that any one of the terms may be entered as a value. Command Field Conventions Chassis number in the stack.
14 Command Line Interface
15 Chapter 2: Installation Guide This section describes how to install the management card into the chassis, connect to the network and stack, and boot up for SNMP management. Safety Warnings ! ! Electrostatic Discharge Warning Electrostatic discharge precautions should be taken when handling any line card. Proper grounding is recommended (i.e., wear a wrist strap). Battery Replacement Warning Danger of explosion if the battery on the management card is incorrectly replaced.
16 • Grasp the edges of 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.
17 Connect to the Stack The R502-M management card supports two 10Base-T Ethernet connections. When connecting to the 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 on the master R502-M to a Metrobility chassis stacking line card or to a hub or switch that is NOT on your network.
18 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.
19 LED Name Label Status ON (steady) Error ER Indication Diagnostic or boot failure ON Performing diagnostics or (blinking) initializing system OFF Normal operation The following is an example of the console display information: Metrobility Optical Systems Inc. Boot Application : 3.8.0 Executing Power-On Selftest.....
20 Allow Telnet user to execute secure CLI commands is not enabled 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.
21 Boot Option Description Requires the user to input system configuration information, then starts the operating system from Manual Config: the on-board file system using that information. File System System configuration information is saved through power cycles. BOOTP Contacts a BOOTP server in your network to get system information used to boot. Requires the user to input system information, then Manual Config: starts the operating system from a TFTP server TFTP Boot using that information.
22 Manual Configuration Below is an example of the console display information: Metrobility Optical Systems Inc. Boot Application : 3.8.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.
23 For each of the following questions, you can press 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.
24 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.
25 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 maximum number of chassis supported in a stack is seven (7).
26 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.
27 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 RADIUS authentication for the console is not disabled.
28 Boot Completion Indications The operating system displays a number of log messages on the screen as it comes up.
29 login: Login Instructions To log on to the network, do the following: • Type your user name at the login prompt and hit . The three default names are guest, admin and root. • Type your password at the Password prompt and hit . 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.
30 in the example below. Please refer to your modem’s manual for compatible AT commands. Modem Configuration Console Port Configuration Command Line Interface The modem configuration information shown below is for a Zoom/Fax Modem V.34X+ Model 2836. E0 Disable echo. N1 Enable automode detection. Q1 Disable result codes to the DTE (data-terminal equipment). X0 Disable monitoring of busy tones. &C0 RLSD (received line signal detector) remains ON at all times.
31 Speed 9600 baud Data Bits 8 Parity none Stop Bits 1 Caution: There is a potential risk of opening a security hole if the modem is disconnected before logging off from the CLI session. In the following example, a Zoom/Fax Modem V.34X+ Model 2836 is connected to a Windows PC using Hyperterminal with AT commands.
32 When sending an Access-Request message, the R502-M includes the following four RADIUS attributes: Attribute User-Name NAS-Identifier NAS-IP-Address User-Password Attribute # 1 32 4 2 The value for the Network Access Server (NAS) identifier is the chassis alias, which is set using the command: set chassis name. The value for the NAS IP address is the IP of the primary Ethernet port. The username and password values are entered by the user.
33 in the /usr/local/etc/raddb/ directory.) Add an entry as shown in the following example: client 100.150.2.200 { secret = testing123 shortname = chassis1 } where: secret is the shared secret between the server and device. shortname is the NAS-identifier value. 2. Configure the users who will be allowed access to the R502-M. To do this, edit the file users in the same directory as above, and add entries as shown below: Example 1.
34 IP address The IP address of the RADIUS server. secret The shared secret between the device and the server (up to 65 characters long). port number (optional) The UDP port where requests are sent (default port is 1812) primary (optional) Specifies that this is the primary server to use. When configuring the RADIUS server’s IP address, the R502M attempts to verify that the server is available on the network. If the server is not available, you will be prompted to accept or reject the entry.
35 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.
36 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.
37 9. Reboot the management card by issuing the command: “reset 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.
38 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 . 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 .
39 E. Complete the boot configuration dialog. At the end of the dialog, continue the boot process by typing . 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.
40 Command Line Interface
41 Chapter 3: Console Commands Overview This section lists all the commands available for the three privilege classes of users. The list is cumulative (i.e., Admin privileges include Guest level commands and Root includes all commands).
42 show netstat interface show netstat routes show netstat snmp show netstat statistics show port show radius show stats rmon show system show time show trap controls show trap destination show trap help Admin Privilege Commands Login = Admin Default Password = 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 radius server clear snmp community clear snmp help clear snmp user clear trap destination clear trap help
43 set module datarate set module dhcp set module dhcpretries set module disable set module enable set module fdflowctrl set module ftpdisable set module ftpenable set module help set module icmp set module image set module ip set module ipapply set module ipgateway set module ipmask set module l3capability set module llcf set module mvlan set module name set module portfctl set module portlbktime set module portllcf set module portmgmt set module redabsel set module redlink set module redloa set module re
44 set prompt set radius authentication set radius help set radius retransmit set radius server set radius timeout set snmp community set snmp help set snmp user set snmp v1/v2 set system contact set system help set system location set system name set time set trap control set trap destination set trap help show snmp community show snmp engineID show snmp help show snmp user show snmp v1/v2 user -all user -delete user -help user -set cat copyboot echo Command Line Interface ftp head nvclear password tail
45 Root Privilege Commands Login = Root Default Password = Root cp delhost getaddr gethname ifconf mkdir mount mv rm rmdir setenv sethost sync umount Console Commands Overview
46 Command Line Interface
47 Chapter 4: 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 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’).
48 Command: help Description: Show available commands. Syntax: help ? Note: Using ‘help’ with another command (e.g., ‘help ping’) will display a description of the command followed by the following system message which may be disregarded. Example: Console>help cd history pwd remoteport Command: history chassis ls pwv show exit ping rcli up help port remote Description: List all commands that have been entered, or repeat a prior command.
49 Command: ls Description: List files. Syntax: ls [-1FRdfgilqrs] [filename...] Options: -1 Display output in one column. -F Put a ‘/’ after each directory name. -R List files recursively through subdirectories. -d List actual directory, not contents. -f Do not sort output. -g Show group ownership of a file. -i Print a file’s associated inode. -l Long output format, show all file details. -q Show unprintables as ‘?’. -r Reverse the sort order. -s Show a file’s size.
50 Note: Example: When the -s option is specified, ping sends one datagram per second and prints one line of output for every response it receives. The default timeout is 10. Console>ping 100.132.65.99 ping (100.132.65.99): 56 data bytes 100.132.65.99 is alive Command: port Description: Set the port scope. The command prompt displays the selected chassis, module and port. The chassis, module and port numbers are no longer entered in commands which have these fields (e.g.
51 Command: rcli Description: Through the R502, send a command to a local or remote services line card (R851/R821). Syntax: rcli [port] [remote module] Notes: 1. The parameter is any command supported by the R851/R821. The string is sent verbatim to the R851/R821 and interpreted by its CLI. 2. The R851/R821 commands you are allowed to execute are based on your privilege class.
52 Console>6: 6: 6: Switch Forwarding mode . . . : Transparent 6: Management VLAN . . . . . . . : 0 6: Port 1 VID / Priority . . . . . . . : 1 / 0 (Access) 6: Port 2 VID / Priority . . . . . . . : 1 / 0 (Trunk) 6: Example #2: This example demonstrates scoping. Console>chassis 1 #1>module 15 #1/15>port 2 #1/15/2>remote 5 #1/15/2/5>rcli show switch 7: rcli 1 15 2 5 show switch #1/15/2/5>7: 7: 7: Switch Forwarding mode . . . : Transparent 7: Management VLAN . . . . . . . : 0 7: Port 1 VID / Priority . . . . .
53 Command: remote Description: Set the remote scope. The command prompt displays 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’). Syntax: remote Example: Console>remote 1 11 2 1 #1/11/2/1> Command: remoteport Description: Set the remote port scope.
54 Command: up Description: Set the scope up one or more levels. Syntax: up [level] Note: If no level is specified, the scope will move up one level. Example: #1/11/2/1/2>up #1/11/2/1>up 3 #1> Show Commands Command: show acl Description: Show entries in the Access Control List (ACL) which allows a user to limit the end stations (IP addresses) that communicate with the chassis. Note: Protocols/services effected: FTP, TELNET, SNMP.
55 Command: show arp Description: Show the Address Resolution Protocol table. Syntax: show arp Example: Console>show arp IP Addr ——————— 100.132.65.99 100.132.65.174 100.132.65.176 Command: show chassis Mac addr ——————— 0:10:9f:c7:43:20 0:10:9f:85:c3:a9 0:10:9f:85:ab:6a Description: Show details for a chassis, including its power supply unit(s).
56 Module2_14 (Minimum) : 80F ( 27C) Power Supply 2 1: AC PS_A On Power Supply 5 Volt (Millivolts): Current: 5275 Min: 5000 Max: 5500 (IN RANGE) Power Supply 2 2: AC PS_B Off Power Supply 5 Volt (Millivolts): Current: 0 Min: 5000 Max: 5500 (OUT OF RANGE) Example #2: Console>show chassis all Location I/O Slots P/S Slots Name Description ——————————————————————————— 1 17 2 Chassis1 17 Slot Chassis 19" 2 17 2 Chassis2 17 Slot Chassis 19" Command: show help Description: Show the ‘show’ commands with a brie
57 time trap Command: show interface : Show time of day. : Show Trap Information. Description: Show network interfaces. Syntax: show interface Example: Console>show interface IP Interfaces if# mtu Interface Addr Subnet Mask Broadcast Addr ——————————————————————————— 1 1500 100.132.060.161 255.255.255.000 100.132.060.255 2 1500 100.132.061.161 255.255.255.000 100.132.061.255 3 1536 127.000.000.001 255.000.000.000 127.000.000.000 Command: show ip help Description: Show ‘show ip’ subcommands.
58 Command: show ip stats Description: Show MIB II IP statistics. Syntax: show ip stats Example: Console>show ip stats IP Statistics —————— forwarding defaultttl inreceives inhderrors inaddrerrors forward datagrams unknown protos indiscards indelivers outrequests outdiscards outnoroutes reasmtimeout reasmreqds reasmfails fragoks fragfails fragcreates routingdiscards Command: show log all 1 64 583 0 0 0 0 0 583 633 0 0 30 0 0 0 0 0 0 Description: Show all available logs.
59 Command: show log details Free mem Seq range :1900 :1 to 23 Index Name Severities Entries Log Size Free mem Seq range :2 :'Volatile' :PROCESSOR FATAL SEVERE ERROR WARNING INFO PRINT TRAP EVMGR :86 :65424 :58540 :1 to 86 Index Name Severities Entries Log Size Free mem Seq range :3 :'Trap' :TRAP :21 :8080 :6256 :1 to 21 Description: Show details of desired log records.
60 Date : 4/10/2005 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 : 4/10/2005 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 : 4/10/2005 Time : 0:03:48 Ticks : 86 Uptime : 23185 Se
61 help severities summary tail Command: show log severities : Show this message. : Show messages severities. : Show log record summary. : Show end of log. 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.
62 CMGR :00000000:INFO (R231-16 Removed from RmtSlot1_2_2_1) Command: show log tail Description: Show a summary of the most recent records in a log. Syntax: show log tail [# records] Note: Defaults to 10.
63 show module Note: Specifying an individual module shows all its details.
64 Note: Command: show motd 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. Description: Show the message of the day displayed at login.
65 udp tcp tcp tcp tcp tcp tcp tcp tcp 0.0.0.0.3052 0.0.0.0.21 0.0.0.0.23 0.0.0.0.80 0.0.0.0.705 0.0.0.0.1024 100.132.35.163.23 100.132.35.163.1024 100.132.35.163.1038 I/F Mtu Address 1 1500 100.132.35.163 6 1536 127.0.0.1 Destination default 127.0.0.1 100.132.35.0 0.0.0.0.0 0.0.0.0.0 0.0.0.0.0 0.0.0.0.0 0.0.0.0.0 100.132.65.143.2352 100.132.35.163.1038 100.132.35.163.
66 0 input datagrams discarded with no problems 87 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 icmp: Received Sent Messages 157 187 Errors 0 0 Destination Unreachable 6 36
67 In Read Onlys In Gen Errors In Total Req. Vars In Total Set Vars In Get Requests In Get Nexts In Set Requests In Get Responses In Traps Out Too Bigs Out No Such Names Out Bad Values Out Gen Errors Out Get Requests Out Get Nexts Out Set Requests Out Get Responses Out Traps Out Silent Drops Out Proxy Drops Command: show netstat help 0 0 289 23 880 232 20 0 0 0 8 0 0 0 0 0 157 190 0 0 Description: Show the ‘show netstat’ subcommands.
68 Command: show netstat interface Description: Show network interface statistics. Syntax: show netstat interface Example: Console>show netstat interface I/F 1 2 3 Command: show netstat routes Mtu 1500 1500 1536 Ipkts 358 0 190 Ierrs 0 0 0 Opkts 271 0 190 Oerrs 0 0 0 Gateway 100.132.35.1 127.0.0.1 100.132.35.163 Mask 0.0.0.0 0.0.0.0 255.255.255.0 Flags UG U U Description: Show SNMP statistics.
69 In Get Requests In Get Nexts In Set Requests In Get Responses In Traps Out Too Bigs Out No Such Names Out Bad Values Out Gen Errors Out Get Requests Out Get Nexts Out Set Requests Out Get Responses Out Traps Out Silent Drops Out Proxy Drops Command: show netstat statistics 0 21 0 0 0 0 8 0 0 0 0 0 20 225 0 0 Description: Show network statistics.
70 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 i
71 In No Such Names In Bad Values In Read Onlys In Gen Errors In Total Req. Vars In Total Set Vars In Get Requests In Get Nexts In Set Requests In Get Responses In Traps Out Too Bigs Out No Such Names Out Bad Values Out Gen Errors Out Get Requests Out Get Nexts Out Set Requests Out Get Responses Out Traps Out Silent Drops Out Proxy Drops Command: show port 0 0 0 0 289 23 880 232 20 0 0 0 8 0 0 0 0 0 157 190 0 0 Description: Show port information.
72 1/17/2 2/15/1 2/15/2 2/17/1 Port1_17_2 Port2_15_1 Port2_15_2 Port2_17_1 Link Link Link Link Half Full Full Half 10Mb 10Mb 10Mb 10Mb e10BaseT e10BaseT e10BaseFL_MM e10BaseT n/a Disabled n/a n/a n/a n/a Enabled n/a Active Active Active Active RJ45 RJ45 ST RJ45 Location Name Speed DataBits Parity StopBits FlowControl Connector ——————————————————————————————————————— 1/17/3 Port1_17_2 9600 Eight None One None DB9 2/17/2 Port2_17_2 9600 Eight None One None DB9 Example #2: Console>show port 1 3 Loca
73 Tx Blocked Octets :0 HW (External Toggle) CrossOver Switch Command: show radius : Cross Over Description: Show RADIUS configuration. Syntax: show radius Example: Console>show radius RADIUS Server ——————— 100.001.002.003 Port ——————— 1812 Status ————— Primary Authentication Status ————————————————————— Console Enabled Telnet Disabled Web Disabled RADIUS Retransmissions: RADIUS Timeout: Command: show stats rmon 2 5 Description: Show RMON statistics for an access or services line card port.
74 EtherStatsHighCapacityPkts256to511Octets :2,1124 EtherStatsHighCapacityPkts512to1023Octets :1 EtherStatsHighCapacityPkts1024to1518Octets :0 Dropped Events :1 Command: show system Description: Show information about the management system. Syntax: show system Example: Console>show system System Information. Name Description Contact Location Uptime Command: show time : Marketing Department : 17 Slot Chassis 19" : C. Smith x205 : Merrimack Office : 3 days 6:57:17 Description: Show date and time of day.
75 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 Command: show trap destination Entity Insert Enabled Entity Remove Enabled Entity Reset Enabled Power Supply Status Change Enabled Ethernet Port Link Status Change Enabled Sonet Port Link Status Change Enabled Sensor Threshold Enabled Redundant Switch Over Enabled Ethernet Remote Fault Alarm Enabled Ethernet Port Speed Change Enabled TDM Port Link Status Change Enabled TDM Remote Fault Alarm Enabled Enet Port Far End Fault Alarm Enabled MultiRate Port Link St
76 Command Line Interface
77 Chapter 5: Admin Privilege Commands Administrative level 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 chassis in the stack. Syntax: bootp -all Note: Only applicable to the R502-M. Example: Console>bootp -all 0x00409f180565 172.31.3.1 0x00409f180a39 172.31.2.
78 -set Add IP address to BOOTP Command: bootp -set Description: Add an IP address to the stack. Syntax: bootp -set Note: 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.
79 Clearing arp table IP Addr Mac addr —————————————————— 192.168.1.100 (192.168.1.100) deleted Command: clear help Description: Display the ‘clear’ subcommands. Syntax: clear help Example: Console>clear help 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. radius : Clear RADIUS server.
80 Command: clear ip route Description: Clear an IP route. Syntax: clear ip route clear ip route default Example: Clear the default IP route. Console>clear ip route default 192.168.1.100 0.0.0.0 Ok. Command: clear log Description: Clear one of the event logs. Syntax: clear log Example: Console>clear log 2 Clearing Log: Volatile Command: clear motd Description: Clear the message of the day. Syntax: clear motd Example: Console>clear motd Ok.
81 Command: clear snmp help Description: Show ‘clear snmp’ subcommands. Syntax: clear snmp help Example: Console>clear snmp help Command Description ————————————————————— community : Clear SNMP Community String (disable get/set community string SNMP access). help : Show this message. user : Clear SNMP user(s). Command: clear snmp user Description: Delete an SNMP user. Syntax: clear snmp user Example: Console>clear snmp user tempuser Ok.
82 Reset Commands Command: reset chassis Description: Reset one chassis or all chassis in a stack. This commands resets all the line cards in the specified chassis or all chassis in a stack. Options: Use the “default” option to reset the cards in the chassis to their factory default settings. The “register” option only applies to the services line card(s) in the chassis. The “register” option forces a physical reset on the services line card, instead of a messaging reset.
83 Syntax: Example: and do not want to physically remove the card from the chassis. reset module [default | register] Console>reset module 1 6 default Ok. Command: reset remote Description: Reset a remote access line card. Syntax: reset remote [default] Example: Console>reset remote 1 12 2 1 Ok. Set Commands Command: set acl Description: Set Access Control List table entry.
84 Command: set chassis asset Description: Syntax: Note: Example: Set the asset tracking identifier for the chassis. set chassis asset Multi-word strings must be placed in quotes. Console>set chassis asset 1 66778 Chassis Asset ID successfully set. Command: set chassis help Description: Show ‘set chassis’ subcommands. Syntax: set chassis help Example: Console>set chassis help Command ————— asset help name Command: set chassis name Description —————————— : Set chassis asset ID.
85 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. radius : Set RADIUS; use 'set radius help' for more info. snmp : Set SNMP; use 'set snmp help' for more info.
86 Command: set ip help Description: Display the ‘set ip’ subcommands. Syntax: set ip help Example: Console>set ip help Command Description ————————————————— address : Set IP address and mask. help : Show this message. route : Set IP route table entry. Command: set ip route Description: Set an IP route.
87 Command: set logging add Description: Display messages of a given severity at the console. Syntax: set logging add 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.
88 - INFO - PRINT Ok. 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 console. 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.
89 Command: set module activeos Description: Select the operating system image (primary or secondary) that is used at boot time. Syntax: set module activeos <1 | 2> Note: Only applicable to services line cards. Example: Console>set module activeos 1 2 2 Active OS Successfully set. Command: set module asset Description: Set the asset tracking identifier for the module.
90 Example: then this option is not selectable and a read of this value will always return not selectable. Console>set module autorevert 1 11 enable Auto Restore Primary successfully set. Command: set module backpressure Description: Enable or disable backpressure (half duplex flow control) on a 10/100Mbps line card. Syntax: set module backpressure Example: Console>set module backpressure 1 14 disable Backpressure successfully set.
91 Example: Command: set module dhcp (3) 125.0000 Fast Ethernet/FDDI (4) 133.3125 FC-133 (5) 143.0000 Digital TV NTSC Composite (6) 155.5200 OC-3 (7) 177.0000 Digital TV PAL Composite (8) 200.0000 ECON-200 (9) 266.6250 FC-266 (10) 270.0000 Digital TV-SMPTE-259M (11) 360.0000 Digital TV-SMPTE-259M (12) 531.2500 FC-531 (13) 540.0000 Digital TV SMPTE-344M (14) 622.0800 OC-12 (15) 666.5143 OC-12 FEC (16) 1000.0000 (17) 1062.0000 FC-1062 (18) 1250.0000 Gigabit Ethernet (19) 1483.
92 Command: set module dhcpretries Description: Set the number of address acquisition retries before reverting to using the last-known valid IP address. Syntax: set module dhcpretries <1-5> Note: The number of retries must be in the range 1-5; the default is 3. Only applicable to services line cards. Example: Console>set module dhcpretries 1 2 5 DHCP retries Successfully set. Command: set module disable Description: Syntax: Note: Example: Disable a module, if possible.
93 Command: set module ftpdisable Description: Syntax: Note: Example: Disable the FTP server. set module ftpdisable Only applicable to management cards. Console>set module ftpdisable 1 17 FTP disabled. Command: set module ftpenable Description: Syntax: Note: Example: Enable the FTP server. set module ftpenable Only applicable to management modules. Console>set module ftpenable 1 17 FTP enabled. Command: set module help Description: Show ‘set module’ subcommands.
94 enable fdflowctrl ftpdisable ftpenable help icmp image ip ipapply ipgateway ipmask l3capability llcf mvlan name portfctl portlbktime portllcf portmgmt redabsel redlink Command Line Interface : Enable module and reflect it in Admin Status. : Full Duplex Flow Control. : Disable FTP server. : Enable FTP server. : Show this message. : Set how the module will respond to ICMP. : Select boot/core images to be used at boot time. : The module’s IP address (requires ipapply command to initiate).
95 redloa : Set Loss of Activity time in seconds (0-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.
96 webselect write : Use this local IP or the redirect URL for response to web user. : Inhibit remotely connected module control of local module. Command: set module icmp Description: Set the mode that determines how the module will respond to end-station ICMP messages. Syntax: set module icmp [ ] Note: EnableAll enables processing of all ICMP messages. DisableAll disables processing of all ICMP messages.
97 Command: set module ipgateway Description: Set the default gateway for a services line card. Syntax: set module ipgateway [ ] Note: Requires the “set module ipapply” command to initiate. Example: Console>set module ipgateway 1 2 192.168.1.254 Module IP Gateway Successfully set. Command: set module ipmask Description: Set the network mask for a services line card.
98 Example #1: Obtain the boot image through a local file path. This command can only get files from the local system you are connected to. Console>set module image boot 1 17 file://44.0.0/ boot.bin ..... Operation complete. Console> Example #2: Obtain the boot image through FTP. Console>set module image boot 2 12 ftp:// admin:admin@100.175.3.17/boot.bin ...... Operation complete. Console> The following is an example of what appears on the console screen of the system getting the file.
99 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.
100 Command: set module mvlan Description: Set the management VLAN identifier for the internal management port on a services line card. Syntax: set module mvlan [ ] Note: The VLAN ID is any number in the range 1 to 4094. Example: Console>set module mvlan 4086 Management VLAN Successfully set. Command: set module name Description: Set a module’s name.
101 Command: set module portllcf Description: Enable or disable Link Loss Carry Forward one of the ports on a local or remote services line card. Syntax: set module portllcf [ ] Example: Console>set module portllcf 1 2 1 enable Port LLCF Successfully set. Command: set module portmgmt Description: Enable or disable the ability to receive management frames on one of the ports on a local or remote services line card.
102 Command: set module redloa Description: Set the Loss of Activity (LOA) time in seconds (0-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
103 Command: set module sduplexAll Description: Set all the ports on a chassis stacking line card to half or full duplex. Syntax: set module sduplexAll Note: If auto-negotiation is enabled on a port, it will ignore this setting. Example: Console>set module sduplexAll 3 1 full Duplex successfully set. Command: set module sfdflowctrlAll Description: Enable or disable Full Duplex (FD) Flow Control on all ports of a chassis stacking line card.
104 Note: Example: 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 (0-31 seconds) for a Gigabit redundant line card. To enable SONAR, the module must be in Dynamic Recovery mode and redlink must be enabled. Console>set module SONAR 1 4 enable SONAR successfully set. Command: set module telnetdisable Description: Syntax: Note: Example: Disable the Telnet server.
105 Command: set module upgactivate Description: Initiate the upgrade process for a services line card and specify the means to proceed. Syntax: set module upgactivate [ ] Note: Only applicable to services line cards. Upgrade activation options are as follows: activate: start downloading the file directly onto the services line card.
106 Command: set module upglocation Command Line Interface Description: Specify the location on the module where the upgrade server will download the file onto. Syntax: set module upglocation [ ] Note: Only applicable to services line cards. FPGA or OS: download to the inactive FPGA or OS location. FPGA1 or OS1: download to the primary FPGA or OS location. FPGA2 or OS2: download to the secondary FPGA or OS location.
107 Command: set module upgsrv Description: Set the IP address of the upgrade server to download from. Syntax: set module upgsrv [ ] Note: Only applicable to services line cards. Example: Console>set module upgsrv 1 2 100.200.10.9 Upgrade Server Successfully set. Command: set module upgsrvpasswd Description: Specify the protocol-specific password to use with the upgrade server.
108 Command: set module webdisable Description: Syntax: Note: Example: Disable the Web server. set module webdisable Only applicable to management modules. Console>set module webdisable 1 17 Web disabled. Command: set module webenable Description: Syntax: Note: Example: Enable the Web server. set module webenable Only applicable to management modules. Console>set module webenable 1 12 Web enabled.
109 Command: set module write Description: Set the write protection on a locally managed access line card. This prevents a remote card from controlling the locally managed card. Syntax: set module write [ ] 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.
110 Command: set port autoneg Description: Modify the auto-negotiation status on the copper port of a card with this feature. Syntax: set port autoneg [ ] Note: 1. For a 10/100Mbps card or a chassis stacking line card, auto-negotiation determines how a port advertises its speed and duplex capabilities. Auto-negotiation is dependent on both the speed and duplex switch settings. 2.
111 Syntax: Note: Example: set port bert Only applies to the fiber port of a T1/E1 line card. Remote loopback must be enabled separately if you want the test data returned to the sender. Console>set port bert 1 14 2 disable BERT511 successfully set. Command: set port burstlength Description: Set the maximum receive or transmit burst size on an access line card’s copper port. This allows traffic to flow at line rate until the burst limit is reached.
112 Syntax: Note: Example: back to the sender. set port dislbkres Only applicable to R133-xx cards. 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 [ ] Note: Duplex is either half or full. Example: Console>set port duplex 2 14 2 full Port duplex successfully set.
113 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 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.
114 loopback name remotelpbk speed Command: set port linebuildout : Set port loopback. : Set port name. : Set remote loopback. : Set port speed (10/100 Mbps). Description: Set the line length for a copper port on a T1/E1 line card. Syntax: set port linebuildout [ ] where is T1 E1 ———————————— 0-133ft/0dB short 133-266ft long 266-399ft 399-533ft 533-655ft -7.5dB -15dB -22.
115 Command: set port llr Description: Enable or disable a fiber port’s Link Loss Return status. Syntax: set port llr [ ] 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.
116 Example: Console>set port loopback 2 11 2 1 2 enable Loopback successfully set. Command: set port name Description: Set a port’s name. Syntax: set port name [ ] Note: 1. Multi-word strings must be placed in quotes. 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. Example: Console>set port name 1 1 1 "port one" Name successfully set.
117 Command: set port speed Description: Modify a port’s speed in Mbps. Syntax: set port speed [ ] Note: Speed is either 10 or 100. Example: Console>set port speed 1 4 2 100 Speed successfully set. Command: set prompt Description: Set the console and telnet prompts. Syntax: set prompt set prompt Example: Console>set prompt -> Telnet> Ok. Setting console prompt to -> Ok.
118 retransmit server timeout : Set RADIUS retransmit count. : Set RADIUS server IP address. : Set RADIUS timeout interval. Command: set radius retransmit Description: Set the maximum number of times to retransmit information to the RADIUS server if it fails to send a response. Syntax: set radius retransmit Note: The default number is 2. Example: Console>set radius retransmit 5 Command: set radius server Description: Set the RADIUS server’s IP address and password.
119 Command: set snmp community Description: Set the SNMP community names. Syntax: set snmp community [name] Note: If the string is left blank, access to the community will be unprotected. Example: Console>set snmp community get public Ok. Command: set snmp help Description: Show the ‘set snmp’ subcommands. Syntax: set snmp help Example: Console>set snmp help Command Description ————————————————— community : Set community string. help : Show this message. user : Set SNMP user.
120 Command: set system location Description: Syntax: Note: Example: Set the MIB-2 system location string. set system location Multi-word strings must be placed in quotes. Console>set system location Nashua Ok. Command: set system name Description: Syntax: Note: Example: Set the MIB-2 system name string. set system name Multi-word strings must be placed in quotes. Console>set system name "Metrobility hub" Ok. Command: set time Description: Set time and date.
121 Notes: set trap destination create [name] [V1 | V2] To modify an entry: set trap destination set trap destination set trap destination 1. Use ‘show trap destination’ to view trap destination details. 2. NetBeacon automatically adds itself to the Trap Destination table. Removing or uninstalling the entry will have an adverse effect on NetBeacon.
122 Command: set trap help Description: Show ‘set trap’ subcommands. Syntax: set trap help Example: Console>set trap help Command Description ———————————————————— control : Set SNMP trap control. destination : Set SNMP trap destination. help : Show this message. Show Command Command: show snmp community Description: Show SNMP community information.
123 Command: show snmp help Description: Display the ‘show SNMP’ subcommands. Syntax: show snmp [help | ?] Example: Console>show snmp ? Command Description ————————————————————— community : Show SNMP community strings. engineID : Show SNMP EngineID. help : Show this message. user : Show SNMP users. v1/v2 : Show SNMP v1/v2 access state. Command: show snmp user Description: Show the SNMP user(s).
124 User Commands Command: user -all Description: Display all the user/password lists. Syntax: user -all Example: Console>user -all admin:~N6H1~B:20:20:Administrator:/:psh guest:~H~Dh`1:30:30:guest:/:psh Command: user -delete Description: Delete a user. Syntax: user -delete Example: Console>user -delete guest User guest deleted Command: user -help Description: Show ‘user -’ subcommands.
125 Example: from 11 to 20; and for a guest, use any number equal to or greater than 21. Console>user -set guest guest 30 30 Guest / User guest added Utility Commands Command: cat Description: Concatenate and display files. Syntax: cat [-benstv] Options: -b Number the non-blank lines. -e Display non-printing characters including a $ character at the end of each line. -n Precede each line output with its line number. -s Substitute a single blank line for multiple adjacent blank lines.
126 Warning: This process MUST NOT be interrupted or else the board will not be able to boot. Do you want to Continue? [N] y Operation complete. Command: echo Description: Echo arguments to standard output. Syntax: echo [-n] [argument …] Note: The -n option keeps a new line from being added to the output. Example: Console>echo hello hello Command: ftp Description: File Transfer Protocol client. Syntax: ftp ftp Example: Console>ftp 192.168.1.100 Connected to 192.168.1.100.
127 binary bye cd cdup close Command: head Description: Syntax: Note: Example: glob hash help lcd ls mode mput nlist open prompt recv remotehelp rename reset rmdir type user verbose ? Display the first n lines of a file. head [-n] The default value of n is 10. Console>head -4 /etc/hosts # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line.
128 -help Command: password Usage. Displays ‘nvclear’ command options. Description: Change a password. Syntax: password Note: You will not be prompted for the old password if you are changing the password for a privilege lower than the current session. Example: Console>password root Enter the old root password. Enter the new root password. Enter the new root password again. Ok. root password changed.
129 # 127.0.0.1 localhost # Command: telnet Description: Telnet client. Syntax: telnet Example: Console>telnet 192.168.1.100 Trying... +****************************************+ * Metrobility 17 Slot Chassis 19" * * * * Tue Apr 12 15:52:31 2005 * * Version: 3.8.0 (Apr 11 2005) * * Serial Number: PR203 * * * * Copyright 1998 - 2005 Metrobility Optical Systems, Inc. * * * +****************************************+ login: Command: tftp Description: Trivial file transfer protocol client.
130 Commands may be abbreviated.
131 Chapter 6: 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. Caution: These commands can render the system inoperable. The default password is: root Command: cp Description: Copy files or directories. Syntax: cp [-i] cp [-irR] Options: -i Prompt before overwriting an existing file. r See R.
132 Command: delhost Description: Delete an entry from the /etc/hosts file. Syntax: delhost
Example: Console>delhost 100.132.65.29 DNS entry 100.132.65.29 deleted Command: getaddr Description: Get an IP address from a host name in /etc/hosts. Syntax: getaddr Example: Console>getaddr mymachine Hostname: mymachine, Hostaddress: 100.132.065.099 Command: gethname Description: Get a host name from an IP address in /etc/ hosts. Syntax: gethname Example: Console>gethname 100.133 Command: mkdir Description: Create a directory. Syntax: mkdir [-p] Note: The -p option allows missing parent directories to be created. Example: Console>mkdir mydir Console>ls acl hosts motd mydir passwd Command: mount Description: Mount a pHILE+ formatted volume on the file system. Syntax: mount mount [sync_mode] Options: The sync_mode is one of the following: 0 Specifies immediate-write synchronization mode. 1 Specifies control-write synchronization mode.
134 Command: rm Description: Remove (unlink directory entries for) one or more files. Syntax: rm [-fir] Options: -f Delete read-only files without asking for permission. -i Prompt for confirmation before removing a file. -r Recursively delete the contents of a directory, its subdirectories and the directory itself. Example: Console>ls hosts motw passwd Console>rm motw Console>ls hosts passwd Command: rmdir Description: Remove a directory. Syntax: rmdir
135 CVOL=44.0.0 CDIR=/ LOGNAME=root UID=10 GID=10 IND=0 OUTD=0 TERM=ansi HOME=/ Command: sethost Description: Set an entry in the /etc/hosts file for DNS resolution. Syntax: sethost Example: Console>sethost chassis29 100.132.65.29 DNS entry added for Hostname: chassis29, Hostaddress: 100.132.65.29 Command: sync Description: Force all file system blocks to be updated. Syntax: sync Example: Console>sync Command: umount Description: Unmount a file system.
136 Command Line Interface
137 Appendix Technical Specifications Data Rate ________________________________10 Mbps Power________________________ +5 V @ 0.61 A, 3.05 W Environmental Operating Temperature _____________________ 0° to 50° C Storage Temperature_____________________ -25° to 70° C Operating Humidity ___________5% to 95% non-condensing Weight ______________________________ 0.24 lb (0.
138 RJ-45 Pinout Pin Number Signal 1 Transmit+ 2 Transmit- 3 Receive+ 4 NC 5 NC 6 Receive- 7 NC 8 NC Serial Port Connector ____________________ male DB-9 TIA/EIA-232F Configuration _________________ Data Terminal Equipment Cable Type _____________________________ Null-modem DB-9 Pinout Pin Number Command Line Interface Signal 1 NC 2 Receive Data 3 Transmit Data 4 Data Terminal Ready 5 Ground 6 Data Set Ready 7 NC 8 NC 9 NC
139 Discontinued Product Suppport Metrobility aims to offer high quality software support to our customers. In order to do this, it may be necessary to discontinue products with a diminished market demand, so that available resources can be used to develop newer technology desired by our customers. This version of our embedded software provides only basic support for discontinued products, including the Lancast 10Mbps Fixed Port Chassis.
140 Location Name Status Duplex Speed Type ANeg LLR Activity Connector ______________________________________________________ 1/2-12/1 Port2-12_1 Link Full 1/2-12/2 Port2-12_2 Link Full 10Mbe10BaseFL_SM n/a 10MbeBaseT n/a Enabled Inactive n/a Inactive ST RJ-45 Set LLR on the fiber port of Fixed Port 8. The fiber port is Port 1. >set port LLR 1 2-8 1 enable LLR successfully set. Set LLCF on Fixed Port 3. >set mod LLCF 1 2-3 enable LLCF successfully set.
141 Product Safety and Compliance Statements This product complies with the following requirements and protocols: • Internet Protocol RFC 791 • Address Resolution Protocol RFC 826 • Simple Network Management Protocol RFC 1157, 1902, 3414, 3416 • MIB-II RFC 1213 • Boot Protocol (BOOTP) • File Transfer Protocol (FTP) • Reverse Address Resolution Protocol (RARP) • RADIUS • PING • UL • CSA • CE • CB • FCC Part 15, Class A • EN55022 Class A (emissions) • EN55024: 1998 (immunity) • ICES-003 Class A (emissions)
142 • NEBS Level III Certification This product shall be handled, stored and disposed of in accordance with all governing and applicable safety and environmental regulatory agency requirements. The following FCC and Industry Canada compliance information is applicable to North American customers only. USA FCC Radio Frequency Interference Statement This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules.
143 Warranty and Servicing Three-Year Warranty for the Metrobility Management Card Metrobility Optical Systems, Inc. warrants that every Metrobility management card will be free from defects in material and workmanship for a period of THREE YEARS from the date of Metrobility shipment. This warranty covers the original user only and is not transferable.
144 warranty. The Metrobility RMA number must be clearly on the outside of the carton to ensure its acceptance. Metrobility will pay return transportation for product repaired or replaced in-warranty. Before making any repair not covered by the warranty, Metrobility will estimate cost and obtain authorization, then invoice for repair and return transportation. Metrobility reserves the right to charge for all testing and shipping costs incurred, if test results determine that the unit is without defect.
Product Manuals The most recent version of this manual is available online at http://www.metrobility.com/support/manuals.htm Product Registration To register your product, go to http://www.metrobility.com/support/registration.asp 25 Manchester Street, Merrimack, NH 03054 USA tel: 1.603.880.1833 • fax: 1.603.594.2887 www.metrobility.