background image

CLI Reference

A-3

Operational Commands

A user who logs in with the account name 

user

 or another account with normal privileges will 

see the following top-level prompt:

gateway:> 

(or the previously configured gateway name)

CLI operational commands are structured in levels. At each level a list of 

sub-context

 

commands will move to the next lower level, while 

current-context

 commands will perform 

various functions and then stay at the same level or return to the next higher level. The 
operational command tree is shown in 

Figure A-1

.

At each level the prompt changes to reflect the path that has been taken from the top to the 
current level. (A “#” is always used to terminate the prompt.)

Example

: After the “config” option has been selected from the top level, the prompt becomes:

gateway/config#

Sub-context commands can be strung together in a single line.

Example

: The following command will move two levels down from the top to the port 

configuration option, and display the appropriate prompt as shown:

gateway:> 

config port

gateway/config/port#

At any level, entering a “

?”

 will display lists of the sub-context and current-context commands 

that are valid at that level. Entering 

help commands 

will list all the commands and their 

descriptions. The 

top

 command returns to the top level. The 

logout

 or 

quit

 command closes 

the CLI session. At any level below the top, 

exit

 or 

up

 moves to the next higher level.

At any level, entering one of the following will display information about a particular 
command and the parameters it requires:

help <

command-name>

<command-name> 

help

, or 

<

command-name> 

.Any command can be abbreviated with the minimum number of letters that make it unique at 
its level. For example under the “config” level, “card” can be abbreviated as “c”, while 
“system” and “snmp” must be abbreviated with at least two letters, “sy” and “sn”, respectively. 
Abbreviations longer than the minimum can also be used; for example “con”, “sys” or “snm”.

Содержание S-2500B

Страница 1: ...LightSand Inc Installation and User Manual for the S 2500B Gateway LightSand Inc 279 Sinclair Frontage Road Milpitas California 95035 Part Number 004 10004 01 March 2004...

Страница 2: ......

Страница 3: ...f the LightSand Gateway Use the following port settings Bits per second 9600 Data bits 8 Parity None Stop bits 1 Flow control Xon Xoff Log in to the gateway with the username admin and the password pa...

Страница 4: ...link will carry FC traffic IP traffic or both then use ONE of the following options FC traffic only gateway config tp pos 1 create ch c fc IP traffic only gateway config tp pos 1 create ch c ip IP an...

Страница 5: ...t to rout IP traffic on the link you must enable RIP on this port gateway config port ether 1 ip routing protocol rip Step 5 Verify the FC switches Brocade Run licenseShow and verify the presence of t...

Страница 6: ...e For example gateway config sys name Area2 Area2 Next tell the system where to send traps gateway config snmp trap add X X X X PPPP where X X X X is the IP address and PPPP is the port number of the...

Страница 7: ...enabled gateway show port ether 1 info if IP enabled gateway show ip all routes gateway show snmp trap info If all configuration parameters look good the system is ready to operate Use the following c...

Страница 8: ...viii S 2500B Gateway...

Страница 9: ...formation contained in this document is held to be accurate and reliable at the time it was written it is the responsibility of the user to obtain current specifications from LightSand LightSand will...

Страница 10: ...viii S 2500B Gateway...

Страница 11: ...iguration vi S 2500B Preface vii Chapter 1 Introduction to the S 2500B Linking Your SAN via SONET 1 1 SONET 1 2 Fiber Channel Over SONET 1 2 IP Over SONET 1 3 Overview of the S 2500B Gateway 1 4 SONET...

Страница 12: ...oint Connection 3 5 Creating a Redundant Pair 3 6 Configuring the Node Characteristics 3 6 Configuration for In Band Management 3 7 Running the SANman GUI 3 8 Monitoring and Performance 3 8 LED Indica...

Страница 13: ...ap Data A 11 Configure SNMP Community Strings A 12 Configure a Card A 13 Configure a Port A 14 Configure a Termination Point A 15 Configure System Level IP Channel Data A 17 Configure IP Routing Table...

Страница 14: ...Table of Contents xii S 2500B Gateway Show Configuration A 32 Software Commands A 34 Appendix B Redundancy...

Страница 15: ...o buffer credit mechanisms employed by FC fabric devices The most effective possible means of increasing the distance between switches is to link them through a dedicated fiber connection However the...

Страница 16: ...nated with a c for concatenated Signal processing and switching in SONET are handled electronically not optically so data is converted into light signals for transport after it is first grouped into e...

Страница 17: ...n time the latency in the system is a critical variable in flow control This latency has several components the largest of which is the 5 sec per km latency between the two installations the speed of...

Страница 18: ...ted between the two point to point gateways The gateway maps the FC GbE signals to STS 48c using end to end flow control that has been optimized to provide full FC throughput at OC 48 rates over dista...

Страница 19: ...S 2500B Gateways are directly connected via a SONET network in a point to point connection This topology provides the highest performance since the full bandwidth of the SONET link is dedicated to the...

Страница 20: ......

Страница 21: ...s and Indicators The diagram below shows the ports and LED indicators on the back panel of the LightSand S 2500B Gateway All optical ports use duplex connectors Figure 2 1 S 2500B Back Panel FC GbE 1...

Страница 22: ...k to a redundant gateway One Serial port which can connect to a computer or console for using the CLI The LED indicators are described by the following label on the S 2500B back panel Figure 2 2 S 250...

Страница 23: ...e gateway and a console connect a null modem DB 9 serial cable supplied with the system from the serial port on the back panel of the S 2500B to the serial port of the console The following settings s...

Страница 24: ...m active start The previous configuration is restored and the gateway is automatically reactivated This mode would typically be used after a power failure The gateway software can be started in one of...

Страница 25: ...he LightSand Gateway Redundancy Protocol LGRP For a complete discussion of LGRP redundant pairs please refer to Appendix B Redundancy Appendix B is currently under development Gateway Network Manageme...

Страница 26: ...switch which in turn is connected to devices in a storage area network The WAN port is used for a SONET connection to a remote gateway The serial port supports direct communication with the gateway f...

Страница 27: ...FC and GbE Connections This configuration is similar to the FC connection described above but adds a connection to a Gigabit Ethernet switch which in turn connects to the LAN Figure 2 4 S 2500B with...

Страница 28: ......

Страница 29: ...this document The SANman Graphical User Interface software and the SANman User Guide Power cords 2 DB 9 crossover serial cable 1 Additional fiber optic cables optional Rack mount kit optional which i...

Страница 30: ...k Refer to Appendix A CLI Reference for additional information on the processes below User Accounts and Privileges In the CLI and the GUI different users are identified with different privilege levels...

Страница 31: ...Return to the top level and enter the command to configure the system gateway config sys 6 Enter the correct IP address and a net mask of 255 255 255 0 Example gateway config system ipaddr 192 168 1...

Страница 32: ...ction with another node a SONET port must be configured You will be prompted for timing If the gateway is to derive the clock from the SONET equipment i e when connected to an ADM accept the default l...

Страница 33: ...1 Create a physical link by attaching a cable between the WAN 1 ports on the two gateways 2 Configure the WAN 1 port on each gateway to be a SONET port 3 On each gateway configure a POS TP on the SONE...

Страница 34: ...description ipaddr ip address net mask location location contact contact date time restart mode restart mode option enable rip if name disable rip if name Example Set the gateway s name and activate t...

Страница 35: ...for IP traffic only or for IP and FC traffic Refer to Configure a Termination Point page A 15 2 Ensure that the local and remote gateways have IP addresses and network masks configured for their SONE...

Страница 36: ...n Graphical User Interface can be used as an alternative to the CLI for some of the configuration steps It provides visual tools for managing the gateway network Please refer to the SANman User Guide...

Страница 37: ...for Ports 1 2 3 On means the link is enabled blinking means there is activity on the link off means the link is disabled Fault and Performance Monitoring Using the GUI The SANman GUI provides tools f...

Страница 38: ......

Страница 39: ...Do not attempt to service the system except as explained in this document These procedures require that you work inside of the system Working inside the system is safe if you observe the precautions e...

Страница 40: ...the bezel and then pull the bezel away from the system see Figure 4 1 2 If the system is installed in a rack loosen the front panel thumbscrews that secure the system to the rack cabinet and slide the...

Страница 41: ...d then the left door Figure 4 3 shows the system cover bezel removed to provide an interior view of the system Figure 4 3 System Interior 1 Left door 2 Right door 3 Latch 4 Security screw 1 Cooling fa...

Страница 42: ...upply align the stud on the side of the power supply see Figure 4 4 with the corresponding notch in the chassis and then lower the power supply into the chassis 5 Slide the power supply toward the PDB...

Страница 43: ...pply bay or fan bracket see Figure 4 5 6 Insert the new fan into the power supply bay or fan bracket When replacing the fan ensure that the finger guard on the fan faces the back of the system and the...

Страница 44: ...4 6 S 2500B Gateway Figure 4 5 Cooling Fan Replacement 1 Finger guard 2 Power supply cooling fan 1 3 System board cooling fans 4 4 Control panel board 5 Power supply cooling fan 2...

Страница 45: ...smooth surface 5 Lift the fans straight up out of the fan bracket see Figure 4 6 6 Insert the fans into the new replacement fan bracket Ensure that the finger guard on the fan faces the back of the sy...

Страница 46: ...Remove the bezel from the front of the system 2 The hard drives are hot swappable Open the drive carrier handle see Figure 4 7 and wait until the drive spins down before proceeding 3 Slide the hard dr...

Страница 47: ...the hard drive from the carrier Figure 4 8 Removing the SCSI Hard Drive From the Carrier 1 Insert the replacement hard drive into the carrier and install four screws to secure the drive 2 Open the han...

Страница 48: ...nfiguration information and reset the options each time the system boots until you replace the battery To replace the battery perform the following steps 1 Turn off the system including any attached p...

Страница 49: ...med admin and enter the correct date and time Refer to Configure the System on page A 9 9 To test the newly installed battery power down and disconnect the system from its electrical source for at lea...

Страница 50: ......

Страница 51: ...ng the system date and time The user account default password is password is limited to the following activities viewing system information and changing the user s own password Login To establish a CL...

Страница 52: ...Password Enter the password The default password for both accounts is password From this point the prompts and available commands will depend upon the privileges assigned to the user s account Operati...

Страница 53: ...The following command will move two levels down from the top to the port configuration option and display the appropriate prompt as shown gateway config port gateway config port At any level entering...

Страница 54: ...A 4 S 2500B Gateway Figure A 1 Operational Command Tree...

Страница 55: ...CLI Reference A 5...

Страница 56: ...A 6 S 2500B Gateway...

Страница 57: ...ration Commands page A 8 Show Commands page A 20 Software Commands page A 34 Configure Password page A 19 Current context commands The logout or quit commands will close the CLI session At this level...

Страница 58: ...d commands gateway config Sub Context system lgrp ip card port tp usr snmp mac Cur Context passwd Example Reset the password of the logged in user to foobar gateway config passwd New password foobar R...

Страница 59: ...rt mode restart mode option enable rip if option disable rip if option Example Change the system name gateway config system name NewGatewayName Changes remain in effect until the gateway is given a re...

Страница 60: ...ile These entries designate which OPX system will receive traps from this system and set the SNMP community strings The following shows the level specific prompt the request and the list of valid comm...

Страница 61: ...ould be specified as 162 The following shows the level specific prompt the request and the list of valid commands gateway config snmp trap Sub Context none Cur Context add host ipaddr host port delete...

Страница 62: ...ilege levels The following shows the level specific prompt the request and the list of valid commands gateway config snmp community Sub Context none Cur Context read read community write write communi...

Страница 63: ...t of these configuration commands The following shows the level specific prompt the request and the list of valid commands gateway config card Sub Context none Cur Context name string description stri...

Страница 64: ...the commands available for WAN 1 gateway config port wan 1 gateway config port wan 1 help commands Example Configure WAN 1 s type to SONET gateway config port wan 1 gateway config port wan 1 type son...

Страница 65: ...ig tp Sub Context pos Cur Context none To access the commands available for a POS TP the TP number must be specified Example View the commands available for POS 1 gateway config tp pos 1 gateway confi...

Страница 66: ...or it can be deleted Example Set the description of POS 1 gateway config tp pos 1 desc OPX TP 1 To view the sub context and current context options at lower levels use the query for a specified TP Ex...

Страница 67: ...l specific prompt the request and the list of valid commands gateway config ip Sub Context route Cur Context ttl value ttl value forwarding forwarding def rtg gateway def rtg gateway Example Set the g...

Страница 68: ...valid commands gateway config ip route Sub Context none Cur Context create if name dest ipaddr dest netmask delete if name dest ipaddr dest netmask Example Create an IP routing table entry for the in...

Страница 69: ...CLI Reference A 19 Configure Password This command is used to change the password of the user who is currently logged in Refer to the current context commands in Configuration Commands page A 8...

Страница 70: ...nmp Cur Context version diagnostics cfg mac For discussions of the sub context commands see the following Show System Data page A 21 Show LGRP Data page A 22 Show System Level IP Data page A 23 Show C...

Страница 71: ...unication with the current CLI session The following shows the level specific prompt the request and the list of valid commands gateway show system Sub Context none Cur Context all card all port all t...

Страница 72: ...A 22 S 2500B Gateway Show LGRP Data This section is under development...

Страница 73: ...level specific prompt the request and the list of valid commands gateway show ip Sub Context rip icmp Cur Context info stats all routes Example Display system level IP routing information gateway show...

Страница 74: ...el RIP data and statistics The following shows the level specific prompt the request and the list of valid commands gateway show ip rip Sub Context none Cur Context peer if stats Example Display RIP i...

Страница 75: ...system level ICMP data and statistics The following shows the level specific prompt the request and the list of valid commands gateway show ip icmp Sub Context none Cur Context stats Example Display...

Страница 76: ...fication data about the S 2500B s OC 48 card The following shows the level specific prompt the request and the list of valid commands gateway show card Sub Context none Cur Context info all info Examp...

Страница 77: ...g shows the level specific prompt the request and the list of valid commands gateway show port Sub Context ether fc sonet efc wan Cur Context none Example Select the SONET 1 port and view the availabl...

Страница 78: ...n point supported The following shows the level specific prompt the request and the list of valid commands gateway show tp Sub Context pos Cur Context none Example Select the POS 1 termination point a...

Страница 79: ...fined for the system and their access privilege level The following shows the level specific prompt the request and the list of valid commands gateway show usr Sub Context none Cur Context info Exampl...

Страница 80: ...e following shows the level specific prompt the request and the list of valid commands gateway show snmp Sub Context trap community Cur Context none Example Display information about the SNMP trap hos...

Страница 81: ...CLI Reference A 31 Show Diagnostics This command displays information for the system registers Example Display information for the system registers gateway show diagnostics...

Страница 82: ...5 255 0 system eth0RipStatus 1 system eth1RipStatus 1 system state 1 system restartMode 4 system url system type 3 system wwn 10 00 00 05 E3 01 00 26 system swRelease 1 0 2 system build build_pre3_36_...

Страница 83: ...name OPX Card card description OPX Card card adminStatus 2 card serialNo 13 card mfgDate 11 08 2002 card asmblyPartNo 200 00001 00 port portId 1 port type 1 port name OPX Port port description OPX Unc...

Страница 84: ...previous release Contact your LightSand representative for information about obtaining new software releases The following shows the level specific prompt the request and the list of valid commands ga...

Страница 85: ...Redundancy B 1 Appendix B Redundancy This section is under development...

Страница 86: ......

Отзывы: