Home
Appendix D - CLI Commands
Contents
1. PENDIX CLI COMMANDS In This Appendix INTTOCUCHON sico A A A e ii D 2 ACCESSING the CLI susi a Lene nea ERE SEES D 2 CLI Commands os civic ce eee eee eek rn a aia D 3 Global COMMANAS y viana AE E E E S E D 3 Access Configuratii sasssa sasak id a Bie eee ae pies ee cee D 3 Alarm Configufation s sosser rr e E E D 4 Modbus Configuration seee ks eeke eeka a a a a a ee eee eee D 4 Info Configurati N ss setier a e E E E E E E Yl D 4 Network Configuration ica a eee D 5 RING Configuration mess rsrsrsr Hee eee rar D 6 RSTP Configuration wsc5 66 bee be ee ESS Lee H ENERO t adit ened esas ee eS D 7 QOS CONnfIQUIALIONE 15 vicio eee ae oo a aaa EES EE OE SES YE D 7 VLAN Configuration ista Ss Sake ea eRe estaa nie oh ee de es We D 8 IGMP Configuration 2 nero eree vne EEE E a e eee eens D 9 Checkpoint Configuration sss 0 cee eee ee D 9 Firmware Configuratio fcc coc dec rra ardid ee Pe eee a D 9 TFTP Configuration xis cave cc oad ba aa ae ea ee ee a D 9 Timezone Configurations sc ssa seee AER ERK ee D 10 MSTI Configuration ssc 55 5550 6 5 bes See Se EE EA we ed IESEAN D 10 General Configuration o 0 22 ci cide rodada dare aa D 10 Strid Appendix D CLI Commands CLI Commands Introduction The command line interface CLI is constructed with an eye towards automation of CLI based configuration The interaction is modeled on that used in many Internet protocols such as Telnet FTP and SMTP After each com
2. port show specified port s link status support displays useful support information IP etc These settings require a filter to be specified info lt parameter gt lt filter gt lt value gt Portsecurity Configuration PortSecurity Configuration list List all current port security information enable Enables MAC based port security disable Disables MAC based port security add Any valid MAC and port number allow communication by the specified MAC on the specified port remove Any valid MAC remove a MAC address from the security table Port Configuration Port Configuration list No value lists all settings for all ports monitor Any port number These settings require a port number usage port lt port gt lt parameter gt lt new value gt name port_ A string admin enabled enabled disabled negotiation enabled enabled auto negotiation disabled fixed negotiation ratelimit enabled enabled disabled direction none none egress both giveip disabled enabled disabled ipaddr none JAn IP address Sfp 1000 100 1000 speed see below see below With auto negotiation lt speed gt may be 10H 10K 100H 100E 1000F or FC With fixed negotiation lt speed gt may be Stride Industrial Ethernet Switches User Manual 2nd Ed Rev A D 5 Strid Appendix D CLI Commands 100H or 100F Valid settin
3. none time is in seconds maxcon 1 to 20 sets maximum number of concurrent connections port Info Configuration fwversion 1 to 65535 set port number to listen for Modbus polling requests Info Configuration View the current firmware version cfgversion View the configuration version number macaddr View the MAC address of the Switch link all port show specified port s link status support displays useful support information IP etc These settings require a filter to be specified info lt parameter gt lt filter gt lt value gt For the info mactable command the filter parameters are id Show all one specific filtering database by ID port L L Show all one multiple specific port s NOTE port 33 is the switch CPU mac xx xx xx xx xx xx Show only MAC addresses matching the given pattern D 4 Stride Industrial Ethernet Switches User Manual 2nd Ed Rev A Appendix D CLI Commands aAA Network Configuration The switch can have DHCP enabled or disabled When it is enabled settings for IP address subnet mask and default gateway may still be set The values will be stored and used should DHCP be disabled in the future Info Configuration fwversion View the current firmware version cfgversion View the configuration version number macaddr View the MAC address of the Switch link all
4. P routers 0 1 Exclude a port from the processing of IGMP requests and queries exclude Checkpoint Configuration Checkpoint Configuration save None saves a check point restore net nonet net saves current network settings nonet discards them fipsave a file name ftprestore a file name Firmware Configuration Firmware Configuration default 1 or 2 View or change the default firmware running View which firmware image is running list View list of currently available firmware images and corresponding health status Followed by showProgress md5 lt md5 gt lt url gt If the showProgress argument is provided progress printouts will be displayed If the md5 argument is provided the MD5 checksum of the received firmware will be tested against the provided MD5 checksum The URL must be a valid HTTP or HTTPS address to which the Switch has direct access Followed by the filename to be uploaded from the TFTP server TFTP Configuration TFTP Configuration tftp A valid fully qualified domain name Stride Industrial Ethernet Switches User Manual 2nd Ed Rev A D 9 Strid Appendix D CLI Commands Timezone Configuration Timezone Configuration list see below see below value none JA time zone from list NOTE To view a list of all timezones use the command tz list lt prefix gt with the optio
5. e if both tags and IP are tag enabled priority 1 0 3 Defaul priority to give to packets received on this port type normal add remove double The type of connection to this normal port The setting below requires a tag number usage qos tag lt tag gt lt new value gt tag nike a 0 3 View or change the priority of the specified tag If lt new value gt is not present the current setting will be displayed Stride Industrial Ethernet Switches User Manual 2nd Ed Rev A D 7 Strid Appendix D CLI Commands VLAN Configuration vlist none VLAN Configuration No value lists all configured VLANs plist none No value lists the VLAN settings for each port mode disabled disabled port standard secure View or change VLAN mode coretype none pale in hexadecimal with a Ox prefix View or set Ethertype for core ags mgmtvlan 1 1 4094 View or set the management VLAN ID learning shared shared independent Change VLAN learning mode mgmtports all 1 9 View or set the management VLAN port The commands below require a vlan from vlist name n a A string of no more than 33 characters vtype n a port tag View or change the type of this VLAN id n a An integer between 1 and 4095 View or change the ID of this VLAN por
6. ew or change the priority mma An integer in the range 6 40 View or change the maximum message age hellowtime An integer in the range 1 10 View or change the hello time fwddelay An integer in the range 4 30 View or change the forwarding delay Txlimit al integer in the range 1 10 View or change the transmission imit region any valid region name cfgrevision any valid revision number maxhops any number from 6 40 settings below require a port number usage rstp lt parameter gt lt port gt lt new value gt exclude 2 1 0 View or change whether this port is excluded from STP pprio An integer in the range of 0 240 View or change this port s priority pcost auto or integer in the range of 0 200 000 000 View or change this port s cost type 1 0 View or change this port s edge type ptp QoS Configuration schedule ForceTrue ForceFalse Auto View or change this port s point to point setting QoS Configuration strict strict fair View or change the fairness rule The settings below require a port number usage qos lt parameter gt lt port gt lt new value gt usetag 0 0 1 View or change whether tag priorities are used useip n a 0 1 View or change whether IP priorities are used pref tag ip View or change which to us
7. gs enabled will automatically set other speeds to disabled The syntax for the port speed command is as follows port lt port gt speed negotiation enabled speed 10H enabled speed 10F disabled Which act like check boxes on a web form Or with negotiation disabled the syntax is speed 10H enabled speed 100F enabled Which act like radio buttons on a web form Speed FC enabled disabled is available in both modes For combo ports the SFP speed may be set as follows port lt port gt sftp lt speed gt Ring Configuration Ring Configuration list View the list of configured rings master auto this configure how the Switch determines the ring master settings below require a ring number usage ring lt parameter gt lt ring gt lt new value gt enable 0 1 view or change whether the ring is enabled name Any text value View or change the specified ring name ports see below View or change this ring s primary and backup ports To set the primary and backup ports for a specified ring the syntax is ring ports lt ring gt lt primary port gt lt secondary port gt D 6 Stride Industrial Ethernet Switches User Manual 2nd Ed Rev A Appendix D CLI Commands i RSTP Configuration protocol RSTP Configuration none stp rstp or mstp View or change the spanning tree protocol priority A multiple of 4096 in the range of 0 61440 Vi
8. hIP gt is the IP address of the switch eg telnet 192 168 0 1 At the login prompt type cli for the username and admin for the password The switch will respond with Managed Switch configuration CLI ready Likewise for serial access via Tera Term for example use login cli password admin 2 Stride Industrial Ethernet Switches User Manual 2nd Ed Rev A CLI Commands Global Commands Appendix D CLI Commands _n _a_____________________________________________________ The following global commands are available anywhere in the CLI commit 10 of link capacityValues are inter validated as needed If valid values are committed Please note that this may take some time depending on changes defaults Restore factory defaults quit CLI is exited Uncomitted changes are discarded without prompting reset Reset the Switch help Print a help message prompt Enable disable the prompt usage prompt enabled or prompt disabled When restoring factory defaults network settings may be maintained by adding a savenw option In other words defaults restores all values but defaults savenw restores all defaults except the current settings for DHCP IP address etc Access Configuration The following administrative access settings are settable via the CLI snmp Access Configuration none snmpv2 snmpv3 both term
9. inal none telnet ssh both web none http https both cli 1 0 1 uitimeout 0 0 999 rouser public Any valid user name rwuser private Any valid user name ropass none A password followed by the same password repeated rwpass none A password followed by the same password repeated adminpass admin A password followed by the same password repeated fwload serial Stride Industrial Ethernet Switches User Manual serial for serial firmware loading or network to enable Ethernet only 2nd Ed Rev A D 3 Strid Appendix D CLI Commands Alarm Configuration list n a Alarm Configuration No value view all current alarm settings powerloss enabled enabled disabled alarm output will be low if a power input is lost ringfailure disabled enabled disabled alarm output will be low if a power input is lost These settings require a port number usage alarm lt parameter gt lt port gt knew value gt linkloss disabled Modbus Configuration enabled 0 enabled disabled alarm output is triggered when link is down on the specified port Modbus Configuration 0 or 1 1 meaning enabled stanum 1 to 247 used to get or set modbus station number transport tcp udp tcp udp used to specify allowed transport layer for modbus timeout 0 to 3600 or
10. mand is entered and processed the switch will issue a reply that consists of a numeric status code and a human readable explanation of the status See for example the SMTP protocol specification in RFC 821 Simple Mail Transfer Protocol http www faqs org rfes rfc821 html specifically Appendix E Theory of Reply Codes for more details The general format of commands is section parameter value where e section is used to group parameters e parameter will specify the parameter within the section For example the network section will have parameters for DHCP IP address subnet mask and default gateway e value is the new value of the parameter If value is omitted the current value is displayed NOTE The new values will not take effect until explicitly committed Sections and parameter names are case sensitive e g Network is not the same as network NOTE Any commands in the CLI commands section of this section with the exception of the global commands must be prefaced with the name of the section they are in For example to change the IP address of the Switch you would type network address lt newlP gt This is because the address command is in the Network Configuration section of this Appendix Accessing the CLI To access the CLI establish an Ethernet or serial connection to the switch To connect by Ethernet open a command prompt window and type telnet lt switchIP gt where lt switc
11. n to filter by timezones beginning with the characters in lt prefix gt MSTI Configuration MSTI Configuration list n a Lists all MSTIs and their priorities list n a Followed by mstid used to show all ports in the specified MSTI with p their costs and priorities add n a Followed by name mstid priority remove n a any valid MSTI or all to remove all MSTIs priority 32768 Followed by mstid priority pprio varies Followed by mstid portno pprio used for per MSTI port priorities pcost varies Followed by mstid portno pcost used for per MSTI port costs name n a Followed by mstid name mstid n a Followed by mstid newmstid inherit n a Any valid MSTI Used to inherit from the CIST General Configuration The following commands are general commands which are not part of another subsection General Configuration lt set location of switch gt location Any text value location of the Switch Any text value contact information of the network or site contact none administrator D 10 Stride Industrial Ethernet Switches User Manual 2nd Ed Rev A
12. ts n a Syntax vlan ports lt vlan gt lt add remove gt lt port gt The commands below require a port pvid 1 A VLAN from vlist valid range of 1 4094 force 0 OT add see below see below remove see below see below D The examples below explain the syntax of the port add and remove commands To add a Port Based VLAN vlan ports lt vlan gt add lt port gt vlan ports lt vlan gt remove lt port gt vlan add lt name gt port lt port gt lt port gt To add a Tag based VLAN vlan add lt name gt tag lt vlan ID gt lt port gt lt port gt To remove a VLAN vlan remove lt vlan or all gt D 8 Stride Industrial Ethernet Switches User Manual 2nd Ed Rev A Appendix D CLI Commands o IGMP Configuration IGMP Configuration rlist n a No value Lists router settings for all ports mode disabled disabled snoop router view or change IGMP mode msupp none none ip all view or change the multicast suppression method version 2 1 2 IGMP version robustness 2 1 99 IGMP robustness ginterval 60 125 IGMP query interval gresponse 1 30 IGMP query response interval The commands below require a port router 0 1 identify ports which lead to IGM
Download Pdf Manuals
Related Search
Related Contents
Bedienungsanleitung ZRCLSS Serie ADATA SE720 Revue de presse orientation Page 1 Page 2 安全上のご注意 安全にお使いいただくために User Manual - Pro Lighting 2012-12-11 1.20 MB Copyright © All rights reserved.
Failed to retrieve file