B+B SmartWorx SEG510-2SFP-T User Manual

Se500 series cli
Table of Contents

Advertisement

SE500 Series
CLI
USER MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SEG510-2SFP-T and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for B+B SmartWorx SEG510-2SFP-T

  • Page 1 SE500 Series USER MANUAL...
  • Page 2 Advantech B+B SmartWorx - Americas 707 Dayton Road Ottawa, IL 61350 USA Phone (815) 433-5100 Fax (815) 433-5105 Advantech B+B SmartWorx - European Headquarters Westlink Commercial Park Oranmore, Co. Galway, Ireland Phone +353 91-792444 Fax +353 91-792445 www.advantech-bb.com support@advantech-bb.com Document: CLI_R0_xx15m...
  • Page 3: Supported Models

    Microsoft Windows and MS-DOS are registered trademarks of Microsoft Corp. All other product names or trademarks are properties of their respective owners. Supported Models The user manual is only available for the following models: Table 1: Supported Models SEG510-2SFP-T SEG512-4SFP-T SEG520-4SFP-T SEG528-4SFP-T SEG610-2SFP-T...
  • Page 4: Document Feedback

    Technical Support and Assistance Visit the Advantech web site at www.advantech.com/support where you can find the lat- est information about the product. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance. Please have the following informa- tion ready before you call: –...
  • Page 5: Table Of Contents

    INDUSTRIAL PROTOCOLS CONTENTS Command Line Interface ..........1 Using the Command-Line Interface ....................1 Initially Configuring a Device ....................1 Understanding Command Syntax..................... 1 Understanding Admin and User Accounts................2 Understanding Enable and Enable Secret Passwords ............. 2 Abbreviating Commands ......................2 Using Aliases for CLI Commands.....................
  • Page 6 INDUSTRIAL PROTOCOLS SSH ............................40 HTTP ............................40 Modbus TCP........................... 41 IXM ............................41 Diagnostic ............................42 Cable Diagnostic........................42 DMI ............................42 IP-based Diagnostic........................ 43 PoE ............................43 LED............................45 System............................ 45...
  • Page 7 INDUSTRIAL PROTOCOLS LIST OF TABLES Table 1: Supported Models ......................iii Table 2: Account Management Commands ..................2 Table 3: Default Command Aliases ....................3 Table 4: Port Configuration....................... 3 Table 5: MAC Address Table ......................4 Table 6: Jumbo Frame ........................5 Table 7: Flow Control ........................
  • Page 8: Command Line Interface

    COMMAND LINE INTERFACE Using the Command-Line Interface The Advantech IOS command-line interface (CLI) is the primary user interface used to config- ure, monitor, and maintain Advantech devices. The user interface allows you to directly exe- cute CLI commands. Note that all CLI options are also available via the web browser interface.
  • Page 9: Understanding Admin And User Accounts

    Understanding Admin and User Accounts Two levels of account privilege are available, admin (for system administrators), and user (for general users). An admin account is required to add additional accounts and assign account privileges. The following table displays the account management commands used to create and edit admin and user accounts.
  • Page 10: Using Aliases For Cli Commands

    Using Aliases for CLI Commands To save time and the repetition of entering the same command multiple times, you can use a command alias. An alias can be configured to do anything that can be done at the command line, but an alias cannot move between modes, type in passwords, or perform any interactive functions.
  • Page 11: Mac Address Table

    Table 4: Port Configuration (Continued) Function Privilege Description Example description WORD<1-" Admin EXEC Use "description" com- This example shows how to SYS_STR_CONST(SY mand to give the port a modify port descriptions. S_PORTDESC_STR_L name to identify it easily. switch(config)# interface fa2 EN) ">...
  • Page 12: Jumbo Frame

    Table 5: MAC Address Table (Continued) Function Privilege Description Example mac address-table Admin EXEC Set the aging time of the switch(config)# mac address- aging-time <10-630> address table. table aging-time 300 mac address-table static Admin EXEC Add static addresses to the switch(config)# mac address- A:B:C:D:E:F vlan <1- MAC address table.
  • Page 13: Spanning Tree

    Spanning Tree Table 8: Spanning Tree Function Privilege Description Example show spanning-tree User EXEC Show spanning-tree switch# show spanning-tree [instance <0-15>] instance information. instance 10 show spanning-tree User EXEC Show spanning-tree switch# show spanning-tree interfaces IF_PORTS instance information per interface gi1 instance 10 [instance <0-15>] port.
  • Page 14 Table 8: Spanning Tree (Continued) Function Privilege Description Example no spanning-tree hello- Admin EXEC Restore to default hello- switch# configure time time. Default hello-time is 2. switch(config)# no spanning- tree hello-time switch(config)# exit spanning-tree forward- Admin EXEC Specify the forward-delay switch# configure delay <4-30>...
  • Page 15 Table 8: Spanning Tree (Continued) Function Privilege Description Example spanning-tree cost long Admin EXEC Specify the STP port cost. switch# configure <0-200000000> In long pathcost method, switch(config)# interface gi1 the range is from 0 to switch(config-if)# spanning- 20000000. (0 = Auto) tree cost long 200000 switch(config-if)# exit switch(config)# exit...
  • Page 16: Vlan

    Table 8: Spanning Tree (Continued) Function Privilege Description Example [no] spanning-tree Admin EXEC Create or delete MSTP switch# configure instance-id INST<1-15> instance ID. switch(config)# spanning-tree instance-id 10 switch(config)# exit spanning-tree instance- Admin EXEC Add or remove VLAN from switch# configure id INST<1-15>...
  • Page 17 Table 9: VLAN (Continued) Function Privilege Description Example switchport hybrid pvid Admin EXEC This command configures switch(config)# interface Giga- <1-4094> the hybrid port’s PVID. Use bitEthernet 1 "show interface switchport" switch(config-if)# switchport command to show configu- mode hybrid ration. switch(config-if)# switchport hybrid pvid 100 [no] switchport hybrid Admin EXEC...
  • Page 18: Q-In-Q

    Table 9: VLAN (Continued) Function Privilege Description Example switchport forbidden Admin EXEC This command perport con- switch(config)# interface Giga- vlan (add|remove) figures the membership of bitEthernet 1 VLAN-LIST the specfied VLANs to for- switch(config-if)# switchport bidden. Use "show interface mode hybrid switchport"...
  • Page 19: Link Aggregation

    Link Aggregation Table 11: Link Aggregation Function Privilege Description Example show lag User EXEC Use "show lag" command This example shows how to to show current LAG load show current LAG status. balance algorithm and switch# show lag members active/inactive status.
  • Page 20: Garp

    Table 11: Link Aggregation (Continued) Function Privilege Description Example lacp port-priority <1- Admin EXEC LACP port priority is used This example shows how to 65535> for two connected DUT to configure interface fa1 lacp select aggregation ports. port priority to 100. Lower port priority value switch(config)# interface fa1 has higher priority.
  • Page 21: Port Mirror

    Port Mirror Table 14: GVRP Function Privilege Description Example show mirror User EXEC Display all mirror sessions. switch# show mirror show mirror session <1- User EXEC Specify the mirror session switch# show mirror session 1 4> to display. mirror session <1-4> Admin EXEC Specify the mirror session switch# configure...
  • Page 22 Table 15: LLDP (Continued) Function Privilege Description Example show lldp interfaces User EXEC Display the neighbor's switch# show lldp interfaces IF_NMLPORTS neigh- LLDP information in speci- fa5,fa6 neighbor fied ports. show lldp statistics User EXEC Display the LLDP RX/TX switch# show lldp statistics statistics.
  • Page 23: Multicast

    Table 15: LLDP (Continued) Function Privilege Description Example no lldp tlv-select pvid Admin EXEC switch(config-if)# no lldp tlv- select pvid lldp tlv-select vlan-name Admin EXEC The commands per port switch(config-if)# lldp tlv-select (add|remove) VLAN- add or remove VLAN list for vlan-name add 1,2,3,4 LIST 802.1 VLAN-NAME TLV.
  • Page 24 Table 16: IGMP Snooping (Continued) Function Privilege Description Example show ip igmp snooping User EXEC This command will display switch# show ip igmp snooping querier all of the static VLAN IP querier IGMP querier info. clear ip igmp snooping Admin EXEC This command will clear the switch# clear ip igmp snooping groups [(dynamic...
  • Page 25 Table 16: IGMP Snooping (Continued) Function Privilege Description Example no ip unknown-multicast Admin EXEC When IGMP snooping and switch(config)# ip unknown- action MLD snooping are dis- multicast action router-port abled, router port actions switch(config)# no ip unknown- cannot be set. multicast action Disabling IGMP snooping &...
  • Page 26: Mld Snooping

    Table 16: IGMP Snooping (Continued) Function Privilege Description Example [no] ip igmp snooping Admin EXEC "No IP IGMP snooping vlan switch(config)# ip igmp snoop- vlan VLAN-LIST 1" will clear all VLAN IP ing vlan 1 IGMP snooping dynamic groups and dynamic router ports, and invalidate any static IP IGMP groups with a VLAN ID of 1.
  • Page 27 Table 17: MLD Snooping (Continued) Function Privilege Description Example clear ip mld snooping Admin EXEC This command will clear the switch# clear ip mld snooping groups [(dynamic IP MLD groups for dynamic groups static |static)] or static ports, or for all types.
  • Page 28 Table 17: MLD Snooping (Continued) Function Privilege Description Example Admin EXEC "No IP MLD snooping vlan switch(config)# ip mld snoop- [no] ip mld snooping vlan VLAN-LIST 1 (last-member-query-count ing vlan 1 fastleave fastleave | last-member-query-inter- switch(config)# ip mld snoop- [no] ip mld snooping val | query-interval | ing vlan 1 last-member-query- vlan VLAN-LIST router...
  • Page 29: Redundancy

    Table 17: MLD Snooping (Continued) Function Privilege Description Example ip mld snooping version Admin EXEC "IP MLD snooping version switch(config)# ip mld snoop- (1|2) 2", supports v2 basic mode. ing version 2 When the version changes from v2 to v1, all querier versions will update to ver- sion 2.
  • Page 30: Qos

    Rate Limit Table 19: Rate Limit Function Privilege Description Example show rate-limit User EXEC Display rate-limit infor- switch# show rate-limit mation. show rate-limit inter- User EXEC Display rate-limit infor- switch# show rate-limit faces IF_NMLPORTS mation in specified inter- interfaces fa 5 face.
  • Page 31 Table 20: QoS (Continued) Function Privilege Description Example qos map cos-queue Admin EXEC Configure or show CoS to switch# configure SEQUENCE to <1-8> queue map switch(config)# qos map cos- queue 6 7 to 1 switch(config)# exit qos map dscp-queue Admin EXEC Configure or show DSCP to switch# configure SEQUENCE to <1-8>...
  • Page 32: Security

    Table 20: QoS (Continued) Function Privilege Description Example qos map queue-prece- Admin EXEC Configure or show IP Pre- switch# configure dence SEQUENCE to cedence to queue map. switch(config)# interface gi1 <0-7> switch(config-if)# qos map pre- cedence-queue 6 7 to 1 switch(config-if)# exit switch(config)# exit [no] qos remark...
  • Page 33: Port Security

    Table 22: Storm Control (Continued) Function Privilege Description Example storm-control unit Admin EXEC Set the unit of calculation switch(config)# storm-control (bps|pps) method. unit bps [no] storm-control Admin EXEC Disable or enable storm- switch(config)# storm-control control. [no] storm-control Admin EXEC Disable or enable storm- switch(config-if)# storm-con- (broadcast|unknown- control type.
  • Page 34: 802.1X

    802.1X Table 24: 802.1X Function Privilege Description Example show dot1x status User EXEC Show Dot1x configuration. switch# show dot1x [no] dot1x Admin EXEC Configure radius server switch#show dot1x enable/disable. switch(config)# no dot1x The “dot1x” command glob- ally enables 802.1x ability. The “no dot1x run"...
  • Page 35: One Time Password

    Table 25: Remote Authentication (Continued) Function Privilege Description Example security-login access- Admin EXEC Configure security login switch(config)# security-login contrl (http | telnet | ssh | access control. access-contrl http all) no security-login Admin EXEC Reset security login access switch(config)# no security- access-contrl (http | tel- control.
  • Page 36: Dos Attack Prevention

    Table 27: Account Manager (Continued) Function Privilege Description Example username WORD<0- Admin EXEC Use "username" command switch(config)# username test 32> [privilege to add a new user account privilege admin secret 1234 (admin|user)] (pass- or edit an existing user word WORD<0-32>) | ( account.
  • Page 37: Management

    Table 29: IP Security (Continued) Function Privilege Description Example ip-security ip A.B.C.D Admin EXEC Add a specified IP (and ser- switch(config)# ip-security ip mask A.B.C.D [service ( vice) entry for IP security 192.168.1.1 mask 255.255.0.0 ping | http | https | telnet usage.
  • Page 38: Snmp

    Table 30: IP Management (Continued) Function Privilege Description Example [no] ipv6 autoconfig Admin EXEC Use "IPv6 autoconfig" com- switch(config)# no ipv6 auto- mand to enable IPv6 auto config configuration feature. Use "No IPv6 autoconfig" command to disable IPv6 auto configuration feature. ipv6 address X:X::X:X Admin EXEC Use "IPv6 address"...
  • Page 39: Configuration Management

    Table 31: SNMP (Continued) Function Privilege Description Example snmpv3 user NAME Admin EXEC SNMPv3 user name. switch# configure (ro|rw) auth (md5|sha) SNMPv3 user read or read- switch(config)# snmpv3 user password WORD<8-32> write attribute for basic root rw auth md5 password priv password mode.
  • Page 40: Firmware Management

    Firmware Management Table 33: Firmware Management Function Privilege Description Example boot system Admin EXEC Dual image stores a backup switch(config)# boot system (image0|image1) image in the flash partition. image1 Use "boot system" com- mand to select the active firmware image. The other firmware image will become a backup.
  • Page 41: Dhcp Client

    Table 34: DHCP Server (Continued) Function Privilege Description Example dhcp-server vlan entry Admin EXEC Set allocate IP range, sub- switch(config)# dhcp-server <1-8> vlan <1-4094> net mask, gateway, DNS in vlan entry 2 vlan 12 low-ip- low-ip-address A.B.C.D specified VLAN settings of address 12.1.1.1 high-ip- high-ip-address A.B.C.D DHCP server.
  • Page 42: System Log (Syslog)

    System Log (SYSLOG) Table 36: System Log (SYSLOG) Function Privilege Description Example show logging User EXEC Display the global logging switch# show logging status. show logging (buff- User EXEC Display log of buffer or file. switch# show logging buffered ered|file) clear logging (buff- Admin EXEC Clear logging information.
  • Page 43 Table 37: System Time Function Privilege Description Example no clock timezone Admin EXEC Use the no form of this switch(config)# no clock time- command to timezone zone default setting. sntp host HOSTNAME Admin EXEC Use the clock set command switch# clock set 11:03:00 sep [port <1-65535>] to set static time.
  • Page 44: Smtp

    SMTP Table 38: SMTP Function Privilege Description Example show smtp User EXEC View SMTP client informa- tion. smtpc profile-id <1-2> Admin EXEC Set SMTP server's IP and switch(config)# smtpc profile-id server-ip A.B.C.D udp port in profile 1 or 2. 1 server-ip 192.168.1.100 server-port <25-25>...
  • Page 45: Rmon

    Table 39: NTP Server (Continued) Function Privilege Description Example ntp-server timezone Admin EXEC Use the command to set switch(config)# ntp-server ACRONYM HOUR- timezone setting. Use the timezone test +5 OFFSET [minutes <0- no form of this command to 59>] default setting. no ntp-server timezone Admin EXEC Disable timezone setting.
  • Page 46: Ip Configuration

    Table 40: RMON (Continued) Function Privilege Description Example rmon history index <1- Admin EXEC Specify RMON history switch# configure 65535> interface index. switch(config)# rmon history IF_NMLPORT [buckets Specify history interface. index 10 interface gi1 buckets <1-50>] [interval <1- Specify history bucket time. 20 interval 1000 owner ADV 3600>] [owner Specify history record inter-...
  • Page 47: Telnet

    Table 41: IP Configuration (Continued) Function Privilege Description Example no ip default-gateway Admin EXEC Use "No IP default-gate- switch(config)# no ip default- way" to restore default gate- gateway way address to factory default. ip dns A.B.C.D [A.B.C.D] Admin EXEC Use "IP DNS" command to switch(config)# ip dns modify DNS server 111.111.111.111...
  • Page 48: Modbus Tcp

    Table 44: HTTP (Continued) Function Privilege Description Example show ip (http|https) User EXEC Show current https or http switch# show ip https service status. ip (http|https) session- Admin EXEC Use "IP session-timeout" switch(config)# ip http session- timeout <0-86400> command to specify the timeout 15 session timeout value for switch(config)# ip https ses-...
  • Page 49: Diagnostic

    Diagnostic Cable Diagnostic Table 47: Cable Diagnostic Function Privilege Description Example show cable-diag inter- User EXEC Display the estimated This example show the cable's faces IF_NMLPORTS length of copper cable information which link in gi1. attached to the ports. switch(config)# show cable- Show cable-diag interface diag interfaces gi1 all.
  • Page 50: Ip-Based Diagnostic

    Table 48: DMI (Continued) Function Privilege Description Example dmi (alarm|warning) Admin EXEC Use this command to con- This example shows how to (temperature|voltag|txb- figure high/low threshold configure the temperature high asis|txpower|rxpower) value used to compare with threshold value is 30.5 with (high|low) value SFP Optical Transceiver's alarm level.
  • Page 51 Table 50: PoE (Continued) Function Privilege Description Example system ac-disconnect Admin EXEC Use ac-disconnect com- This example shows how to (enable|disable) mand to determine which configure disconnect type to disconnect type will be DC typeswitch(config-poe)#. selected. system ac-disconnect disable system overload-discon- Admin EXEC Use system overload-dis- This example shows how to...
  • Page 52: Led

    Table 51: LED Function Privilege Description Example show led User EXEC Use "show LED" command This example shows current to show current LED event LED event and its own error status and error times. times. switch# show led ( ALARM LED ) EVENTS | STATUS | ERROR TIMES ------------------------ + ----------- +...
  • Page 53 Table 52: System (Continued) Function Privilege Description Example show flash User EXEC Use "show flash" command switch# show flash to show all files" status which stored in flash. clear line telnet Admin EXEC terminal length <0-24> User EXEC show network-port User EXEC Show network port informa- switch(config)# no network-...

Table of Contents