background image

Chapter 7

Cajun Campus CLI (Command Line Interface)

98

Cajun P120 User’s Guide

Clear Cam Command

Use the 

clear cam

 command to delete all entries from the CAM table.

The syntax for this command is:

 clear cam [vlan_num]

Example:

To clear the CAM table of VLAN 1:

Console>(enable) clear cam 1

CAM table entry cleared.

Console>(enable)

vlan_num

(Optional) Number of the VLAN.

Summary of Contents for CAJUN P120

Page 1: ...Lucent Technologies User s Guide CAJUN P120 10 100 1000 STANDALONE SWITCH Catalog No 130017 Rev B March 2000...

Page 2: ......

Page 3: ...0 User s Guide I Preface Quick Start This section provides an overview of the steps required to get your Cajun P120 up and running Please refer to the relevant sections in the User s Guide for further...

Page 4: ...Quick Start II Cajun P120 User s Guide...

Page 5: ...Duplex 4 Auto negotiation 5 Port Mirroring 5 FEFI 5 Address Aging 5 Spanning Tree 6 Redundant Links 6 Congestion Control Flow Control 6 Link Aggregation 6 Early Packet Drop HOLB P 7 Priorities 7 IP M...

Page 6: ...hanging the IP Address using the Command Line Interface CLI Terminal Emulation 27 Navigation Cursor Movement and Shortcuts 29 Getting Help 29 Command Syntax 30 Conventions Used 30 Chapter 6 Legacy CLI...

Page 7: ...onfiguration Group IP 54 IP Multicast System Group IP MULTICAST 55 Spanning Tree Group STA GEN 57 Spanning Tree Group STA PORT 58 P120 Port Configuration Group P120 59 Expansion Module Group X120xx 62...

Page 8: ...de 84 Disable Command 84 Downloading a Software Image 84 Download Command 84 Set Commands 86 Set Logout Command 86 Set Port Mirror Command 86 Set Port Flow Control Command 87 Set IP Route Command 87 S...

Page 9: ...Safety 101 EMC Emissions 102 Emissions 102 Immunity 102 Interfaces 102 Standards Compliance 102 MTBF 102 Expansion Sub modules 103 Gigabit Ethernet Expansion Sub module 103 Laser Safety 103 Laser Cla...

Page 10: ...un P120 Download Manager 109 Download the Software Using TFTP via the CLI 111 Creating the lst file 111 Configuring the Cajun P120 TFTP parameters 112 Start the Software Download 112 Reset the Cajun P...

Page 11: ...0 and P110 at the edge with a Cajun P550 Backbone 13 Figure 3 2 Cajun P120 and P110 at the Edge with a Cajun M770 Switch Backbone 14 Figure 3 3 Cajun P120 and P110 on the floors of a Small Medium size...

Page 12: ...List of Figures viii Cajun P120 User s Guide...

Page 13: ...3 Table 6 7 IP Group Parameters 54 Table 6 8 IP multicast Group Parameters 55 Table 6 9 STA GEN Group Parameters 57 Table 6 10 STA PORT Group Parameters 58 Table 6 11 P120 Group Parameters 59 Table 6...

Page 14: ...List of Tables x Cajun P120 User s Guide...

Page 15: ...n X120L1 2 x 100Base F ports named Cajun X120F2 8 x 10 100Base TX ports named Cajun X120T8 2 x Gigabit GBIC named Cajun X120G2 2 x 1000BaseT named Cajun X120GT2 future Full and half duplex on all 10 1...

Page 16: ...Link Redundancy support up to 4 pairs Aging of MAC addresses Built in SNMP Agent Cajun P120 Manager stand alone SNMP management is provided with the unit without the need for a software management umb...

Page 17: ...igh performance path through the switching fabric Unknown Multicast Broadcast frames are flooded to all ports in the same VLAN to ensure that they arrive at the proper destination Frames with errors a...

Page 18: ...connection is established Port based Vlans Port based VLANs are created by assigning the Cajun P120 port to VLANs All the stations connected to that port are members of this VLAN The VLAN value which...

Page 19: ...to from specific copy source to a copy destination also called a probe port or sniffer port excluding errors and frames with errors When you require detailed information about the traffic at a partic...

Page 20: ...both sides must conform to this Standard using PAUSE packets to stop and auto restart the transmission of the source of the congestion In 10 100M half duplex mode the Cajun P120 supports forward press...

Page 21: ...used for various applications including video streaming and video conferencing The Multicast packet is forwarded from the sender to the recipients duplicated when needed by routers along the way and...

Page 22: ...provides support for the switch modules and their features You may occasionally need to update the software to a newer version to support new hardware expansion modules or increase functionality Down...

Page 23: ...s For example if the COL LED is illuminated then all Port LEDs show the collision status of their respective port If you wish to select the LAG Trunk function then press the Right button until the TRK...

Page 24: ...s LED Name Description LED Status PWR Power status OFF Power is off Blink P120 BUPS power supply is active ON Internal P120 power supply is active OPR CPU operation OFF CPU is booting ON CPU boot oper...

Page 25: ...lex OFF Half duplex mode ON Full duplex mode FC Symmetric Flow Control OFF Asymmetric Pause mode is enabled for the Gigabit Ethernet port or Flow Control is disabled for the 10 100 port ON Flow Contro...

Page 26: ...button by using an opened paper clip or other pointed object Table 2 2 Cajun P120 Select buttons Description Function Left Right Individual select LED function see table above Reset Press both Right a...

Page 27: ...s two Cajun P120 switches connected to another P120 switch and a P110 stack via a Cajun P550 backbone On the left side of the drawing the Cajun X120S2 SX Expansion modules in the P120 provide a Gigabi...

Page 28: ...modules in the P120 switches provide a Gigabit Ethernet link with redundancy to the Cajun M770 Multifunction switch Figure 3 2 Cajun P120 and P110 at the Edge with a Cajun M770 Switch Backbone Cajun...

Page 29: ...d Cajun P110 form the backbone On the left side of the drawing the Cajun X120F2 100Mbit with redundancy Fiber Expansion module in the P120 switch connect to a Cajun P110 stack On the right the connect...

Page 30: ...Chapter 3 Applications 16 Cajun P120 User s Guide...

Page 31: ...rule Cabling is away from sources of electrical noise such as radio transmitters broadcast amplifiers power lines and fluorescent lighting fixtures Water or moisture cannot enter the unit s case Air f...

Page 32: ...screws Use one screw on each side Do not overtighten the screws 4 Snap close the hinged ends of the front panel 5 Ensure that the ventilation holes are not obstructed Powering On To power on the unit...

Page 33: ...etely inserted into the internal Cajun P120 connector 4 Gently tighten the two screws on the front panel of the expansion module by turning the knobs 5 We recommend that you reset the Cajun P120 To re...

Page 34: ...on the Management CD Cajun P120 Default Settings The default settings for the Cajun P120 switch and its ports are determined by the Cajun P120 software and might change in newer versions of the Cajun...

Page 35: ...ports 100 full 1000Base ports 1000 full Port Administration State Enabled Port VLAN Tagging No Tagging Flow Control 10 100 and 100 Mbps Disabled 1000 Mbps Auto negotiation Port Mirroring Disabled Earl...

Page 36: ...or a 10 100 Mbps port operating as 100Base TX is 100 m 328 ft A fiber optic cable may be connected to any 100Base FX port via a pair of SC connectors The maximum fiber cable length connected to a 100...

Page 37: ...may be used for out of band SNMP management Telnet or a TFTP server Their settings are as follows Baud Rate 9600 bps Character Size 8 Parity None Stop Bit 1 Flow Control None The terminal connected t...

Page 38: ...Chapter 4 Installation and Setup 24 Cajun P120 User s Guide...

Page 39: ...are arranged in a hierarchy such that a command contains a group of related functions Switching Between CLI Versions There are two CLI versions the Legacy CLI and the Cajun Campus CLI By default the C...

Page 40: ...k bar 3 Select TCP IP from the list of installed network components 4 Click Properties 5 In the IP Address property sheet enter the address 149 49 32 134 and net mask 255 255 255 0 6 Click OK 7 Connec...

Page 41: ...ivileged level 3 Enter the password The default is enable lucent in S W Version 1 0 4 At the CajunP120 priv prompt enter set ip Note Alternatively you can use the simple setup command to configure all...

Page 42: ...ttings If it is successful the parameters are configured and saved in the switch s flash memory Each time that the switch is subsequently powered on it will use the parameters saved in flash memory No...

Page 43: ...he Legacy CLI you can obtain a description of a specific command by typing the command followed by a space and a question mark Table 5 1 Navigation Cursor Movement and Shortcuts Keyboard Functions Bac...

Page 44: ...owed by the Path For example Console show ip route this shows routes in the routing table Conventions Used The following conventions are used in this document to convey instructions and information Co...

Page 45: ...a Telnet session or a serial connection and then using the Cajun P120 s internal CLI see Chapter 5 Introduction to the Command Line Interfaces The CLI is command line driven and does not have any men...

Page 46: ...ng the Mandatory Parameters Using the Simple Setup Command The simple setup command provides an easy way to configure the mandatory parameters on the Cajun P120 To use the simple setup command 1 From...

Page 47: ...21 1 The next parameter displays automatically setup bootp mode never You may now set the Cajun P120 s Bootp mode Either Keep the default setting by pressing Enter or Type a new mode and press Enter T...

Page 48: ...name enter newname r The r parameter defines the community as read only the rw parameter defines it as read write Continue with the other four community names until you come to the following prompt se...

Page 49: ...ajunP120 priv exit The prompt changes to CajunP120 to indicate that you are in Normal level Verify that all the parameters were accurately saved by using the show all or show all list command Now exit...

Page 50: ...t CajunP120 priv displays indicating that you are in Privileged level Note 1 You will be denied access to the Privileged level while an SNMP session is in progress If you would like to break the SNMP...

Page 51: ...e the setpw Command to change the password for the Privileged Security Level you can make this change from any level or prompt in the Legacy CLI The syntax for this command is setpw Example CajunP120...

Page 52: ...nning with these letters Command Line Prompt The default prompt for the Privileged level is Cajun P120 however you may change Cajun P120 to the text of your choice using the prompt command However onc...

Page 53: ...xit at the prompt For example CajunP120 priv exit The cursor changes to CajunP120 to indicate that you are in Normal level Verify that all the parameters were accurately saved by using the show all or...

Page 54: ...current configuration settings for a specific group or port If you have made any changes using the CLI they are listed in a column on the left administration and the current operational configuration...

Page 55: ...t that you specify The new prompt only takes effect after performing the write command reload Rereads the last saved configuration settings reset Resets the Cajun P120 This is equivalent to powering t...

Page 56: ...this command to secure ports unlock port module number port_number all Use this command to unlock ports and return them to not secured mode add mac MAC_address port_number vlan_number Use this command...

Page 57: ...lue in a group will be displayed one by one on the screen With the show command the system will wait for you to press Enter to display the next line Screen Display Explanation CajunP120 login enters t...

Page 58: ...one CajunP120 priv show all list Index_value Subcommand Index_value When an index value is used on the command line enter the desired port number to be configured To configure a specific port with sev...

Page 59: ...list of the groups that can be set with this command displays Note This is useful for displaying the syntax for use in your configuration The available groups are CajunP120 priv set Group list mibII...

Page 60: ...nother IP address and net mask such as 194 3 4 1 255 255 255 0 Note The parameter displayed in square brackets in the parameter values changed during this session administrative parameters After perfo...

Page 61: ...lays a table containing the port type and VLAN for the ports To display the port table type the following CajunP120 vlantab port Admin Duplex Link Speed FC mode Redundant 1 ena half up 10 Mbps dis non...

Page 62: ...ex Speed VLAN VLAN Tagging and Administration settings Table 6 3 VLANTAB Parameters Parameter Definition port Number of port 1 40 Port Type Type of port Options are dot1Qtagging or no tagging VLAN VLA...

Page 63: ...tion has been copied successfully 12316 bytes CajunP120 priv Caution Before you can upload a configuration file to the TFTP server you must first create an empty file on the server This file must have...

Page 64: ...mode The syntax of this command is unlock port module number port_number all all a shortcut for unsecuring all ports of the device Example CajunP120 priv unlock port 1 10 Port 10 unlocked CajunP120 p...

Page 65: ...The required parameter is the address and the VLAN number If the port was not specified the address shall be cleared from all ports The syntax of this command is Delete MAC MAC_address port_number vla...

Page 66: ...ary Configuration Topic Group Name Used for Setting See Page MIB II System MIB II SYST MIB II System 53 CAM Configuration CAM CAM software 53 IP Configuration IP IP and SLIP addresses 54 IP Multicast...

Page 67: ...ware The table below displays the parameters a description of the parameters the default values and the valid range of values The syntax for this command is set show cam list Table 6 6 CAM Group Param...

Page 68: ...iption Default Value s Valid Range for Values MNG PORT IP Cajun P120 IP address and net mask x x x x 255 255 255 0 IP address format DEF GATEWAY Default gateway IP address 0 0 0 0 IP address format BO...

Page 69: ...so Configuring Cajun P120 IP Address with Bootp in the Installation and Setup chapter We recommend that you set the bootp mode to never if you will not be using a Bootp server If you change this setti...

Page 70: ...hich ports that no longer send IGMP reports are removed from a Multicast Group IPMC ROUTER AGING The time delay after which the router port information is deleted if a router is found to be inactive I...

Page 71: ...nge of values The syntax for this command is set show sta gen Table 6 9 STA GEN Group Parameters Parameter Description Default Value s Valid Range for Values STA PRIO Switch priority 8000 0000 FFFF ST...

Page 72: ...Port path cost 13 Hex Port 25 26 4 Hex 1 FFFF TOP CHG Enables topology changes ena ena dis PORT PRIO This is the priority hexadecimal value of the port used in determining its state PATH COST This is...

Page 73: ...for Values ADMIN Enables the port to forward frames ena dis ena DUPLEX Duplex type and speed depending on the device to be connected auto if sup ported full for 1000M ports 100 half 100 full 10 half...

Page 74: ...and Backup is its redundant link Both the operational link and the redundant link should be assigned to the same VLAN Redundancy should be configured on one side of the connection Only 4 pairs of redu...

Page 75: ...o have a high priority The Cajun P120 treats all the received BPDUs as high priority packets regardless of the Port Priority and to the Port Tagging Mode Unknown frames are always set to low priority...

Page 76: ...110 M770 or M440 environments packets that belong to VLAN 255 may be forwarded differently in each environment Do not use 255 in a mixed environment with switches that do support the VLAN Global conce...

Page 77: ...u wish to connect the network analyzer and source port the port that you want to analyze monitor The table below displays the parameters a description of the parameters the default values and the vali...

Page 78: ...ist at the prompt Table 6 15 TFTP Group Parameters Parameter Description Default Value s Valid Range for Values TFTP OP TFTP operation setting limited limited tftp forever notftp TFTP IP IP address of...

Page 79: ...TY null r Community 4 COMMUNITY null r Community 5 COMMUNITY null r Index Value Parameter IP Address of IP Management Stations Community 1 TRAP ______ ______ ______ ______ Community 2 TRAP ______ ____...

Page 80: ...e list of valid values for this parameter Check the list of valid values and check your spelling The number is out of range The value you entered is not within the valid range for this parameter This...

Page 81: ...Command Line Interface or Terminal Emulation The configuration procedure involves establishing a Telnet session or a serial connection and then using the Cajun P120 s internal CLI see Chapter 5 Intro...

Page 82: ...n the page shown in Table 7 1 and Table 7 2 Table 7 1 User Level Commands Commands See page Console set enablepass 72 Console set password 72 Console set techpass 73 Console set defpass 73 Console ena...

Page 83: ...sole enable set logout 86 Console enable set port mirror 86 Console enable set port flowcontrol 87 Console enable set ip route 87 Console enable set license 88 Console enable set snmp community 88 Con...

Page 84: ...onsole enable clear ip route 96 Console enable clear snmp trap 97 Console enable clear vlan 97 Console enable clear cam 98 Console enable reset 99 Console enable reset system 99 Console enable show li...

Page 85: ...using the show command Exit your CLI session Screen Display Explanation password norm enter Normal level password Console enable enter Login Name for Privileged level Enter password enable enter Privi...

Page 86: ...password old_password Enter new password new_password Retype new password new_password Console enable Set Enablepass Command Use the set enablepass command to change the password for the Privileged le...

Page 87: ...level are intended for use by a qualified Lucent Technician only The syntax for this command is set techpass Example Console enable set techpass Enter old password old_password Enter new password new...

Page 88: ...is command is enable Example Console enable Enter password Console enable Show Commands Show IP Route Command Use the show ip route command to display IP routing table entries The syntax for this comm...

Page 89: ...version slot_num Example Console show image version Show SNMP Command Use the show snmp command to display SNMP information The syntax for this command is show snmp Example Console show snmp Console...

Page 90: ...Command Use the show port command to display port status The syntax for this command is show port slot_num port_num sl0 Information on the SLIP interface slip IP address of the SLIP interface slip de...

Page 91: ...enable fdx 100 10_100 BaseT Field Description Port Cajun P120 always 1 and port number Admin Status Administration status of the port enable disabled Link State Status of the port up down Vlan Port VL...

Page 92: ...module Output Fields slot_num Module number always 1 Mod Module Type Ports Serial Num C S Hw SwVersion 1 CajunP120 Base 24 4 0 Bank A 1 0 Bank B 1 0 Mod Expansion Type Ports Serial Num C S Hw SwVersio...

Page 93: ...t specify a number filters configured on all the Cajun P120 ports are shown Port Send Flow Control Receive Flow Control Admin Oper Admin Oper 1 1 on on on on 1 2 off off off off Field Description Port...

Page 94: ...uter it is shown by appending an R to the MAC address When a VLAN is specified only those CAM entries matching the VLAN number are displayed Console show cam mac 00 00 81 01 23 45 Total Matching CAM E...

Page 95: ...mmand Use the show download command to display the status of the download process One session of download is active on the system The syntax for this command is show download status slot_num Example C...

Page 96: ...m to not secured mode The syntax of this command is unlock port module number port_number all all a shortcut for unsecuring all ports of the device Example Console enable unlock port 1 10 Port 10 unlo...

Page 97: ...Console enable If you try to delete a MAC address from a non secured port Port 1 in this case you get the following error message Console enable delete mac 00 65 5b 86 5b 82 1 2 ERROR Try to delete se...

Page 98: ...opy tftp running config config1 cfg 149 49 38 41 IP address of remote host 149 49 38 41 y Download configuration from config1 cfg y Configure using config1 cfg from 149 49 38 41 y n y Output Loading c...

Page 99: ...pus CLI Command Line Interface Cajun P120 User s Guide 85 The syntax for this command is download host_IP file_full_name mod_num host IP address of host file Name of file to be downloaded slot_num Mod...

Page 100: ...sions will not be automatically logged out Console enable Set Port Mirror Command Use the set port mirror command to define a port mirroring source destination pair in the module the syntax for this c...

Page 101: ...command decides on the flow control mode itself The show port flowcontrol command displays admin and oper statuses for both the receiving and the sending of FC frames a total of 4 statuses Admin will...

Page 102: ...ess type The syntax for this command is set snmp community read only read write community_string The default configuration has the following communities and access types defined public read only publi...

Page 103: ...r added Console enable Set System Location Command Use the set system location command to set the mib2 system location MIB variable The syntax for this command is set system location string Set System...

Page 104: ...level command to set the priority level of a port or range of ports on the switching bus Packets traveling through a port set at normal priority are served only after packets traveling through a port...

Page 105: ...Ethernet ports are determined by auto negotiation For Gigabit Ethernet ports autonegotiation controls Flow Control mode symmetric disabled If negotiation is disabled the user can set the speed and dup...

Page 106: ...d Command Use the set port speed command to configure the speed of a port or range of ports You can configure the speed of a Ethernet of Fast Ethernet interface only You can configure Ethernet or Fast...

Page 107: ...lex or half duplex The duplex status of a port in negotiation mode is determined by negotiation An error message is generated if you attempt to set the transmission type of negotiation Fast Ethernet p...

Page 108: ...te When you disable the flow control setting of 10 Mbps or 100 Mbps ports the change will not take effect until the switch is reset or powered off and on again receive Indicate whether the port can re...

Page 109: ...ew VLAN the VLAN number must be within the range 1 to 3071 The syntax for this command is set vlan vlan_num slot_num port_num Example To set VLAN 850 to include port 3 on module 1 Console enable set v...

Page 110: ...ing both Rx and Tx packets from port 4 1 to port 5 12 is cleared Console enable Clear IP Route Command Use the clear ip route command to delete IP routing table entries The syntax for this command is...

Page 111: ...to its default When you clear a VLAN all ports assigned to that VLAN are assigned to the default VLAN 1 The syntax for this command is clear vlan vlan_num Example This example shows how to clear an e...

Page 112: ...lear Cam Command Use the clear cam command to delete all entries from the CAM table The syntax for this command is clear cam vlan_num Example To clear the CAM table of VLAN 1 Console enable clear cam...

Page 113: ...enable Reset System Command Use the reset system command to return the Cajun P120 module parameters back to factory default settings Console enable reset system This command will reset the module and...

Page 114: ...r flogin command and enter the password Set first parameter is wrong or set parameter s is wrong The value you entered is not found in the list of valid values for this parameter Check the list of val...

Page 115: ...ction A readily accessible Listed safety approved protective device with a 16A rating must be incorporated in series with building installation AC power wiring for the equipment under protection Heigh...

Page 116: ...ce The Cajun P120 complies with IEEE 802 3x Flow Control IEEE 802 1Q VLAN Standard Tagging and priority IEEE 8021 D Spanning Tree protocol IEEE 803 3z Gigabit Ethernet ports MTBF Table 7 3 Mean Time B...

Page 117: ...ration FDA 21 CFR 1040 10 and 1040 11 The transceivers must be operated under recommended operating conditions Laser Classification Note Class 1 lasers are inherently safe under reasonably foreseeable...

Page 118: ...1 2 Expansion Sub modules Wavelength 1300 nm Output power dissipation Max 0 68W Transmit power 9 m SMF Min 9 5 dbm Max 3 dbm Transmit power 62 5 m and 50 m MMF Min 11 5 dbm Max 3 dbm Receive power 9 m...

Page 119: ...approved GBIC transceivers into the X120G2 Expansion sub module socket This provides you with a highly modular and customizable Gigabit Ethernet interface The GBIC transceivers are hot swappable Safe...

Page 120: ...ansceiver A 9 m or 10 m single mode fiber SMF cable may be connected to a 1000Base LX GBIC port The maximum length is 10 km 32 808 ft A 50 m or 62 5 m multimode MMF fiber cable may be connected to a 1...

Page 121: ...class A Immunity EN50082 1 Safety UL for US UL 1950 Std C UL UL for Canada C22 2 No 950 Std Food and Drug Administration FDA 21 CFR 1040 10 and 1040 11 and CE for Europe EN60950 Std Complies with EN...

Page 122: ...108 Cajun P120 User s Guide...

Page 123: ...he Cajun P120 software To prepare the files uncompress the file named P120 exe into the folder C Lucent Cajun P120 download AgentCode Download the Software Using Cajun P120 Download Manager The P120 D...

Page 124: ...s of the download is shown in the File Size box Once the download is complete you can see the new software version displayed On completion of the download the P120 switch automatically boots to activa...

Page 125: ...n configuring the Cajun P120 TFTP parameters To create the lst file perform the following steps 1 Create a text file using an application such as Windows Notepad containing the full path to the file n...

Page 126: ...r the name of the lst file which you prepared in the previous step including the full path e g c p120 p120 lst 6 Once you have entered all the parameters the CajunP120 priv prompt will be displayed Ty...

Page 127: ...gers Table Switch Connected Addresses View devices connected to selected ports Software Download via the Cajun P120 Download Manager Layer 2 Security BUPS Management System Requirements Minimum hardwa...

Page 128: ...oad The P120 Download Manager allows you to download new software to the Cajun P120 from your Windows Network Management Station The Download Manager is part of the P120 Standalone Manager CD To run D...

Page 129: ...Cajun and CajunView are trademarks and in some jurisdictions may be registered trademarks of Lucent Technologies or its affiliated companies Other trademarks appearing in this document are the proper...

Page 130: ......

Reviews: