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...
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: –...
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.....................
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.
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.
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.
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) ">...
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.
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...
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.
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.
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.
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 &...
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...
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.
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>...
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.
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"...
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.
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.
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"...
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.
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.
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.
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>...
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.
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-...
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...
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-...
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.
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...
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-...
Need help?
Do you have a question about the SEG510-2SFP-T and is the answer not in the manual?
Questions and answers