The documentation and the software included with this product are copyrighted 2016
by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right
to make improvements in the products described in this manual at any time without
notice. No part of this manual may be reproduced, copied, translated or transmitted
in any form or by any means without the prior written permission of Advantech Co.,
Ltd. Information provided in this manual is intended to be accurate and reliable. However, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringements of the rights of third parties, which may result from its use.
Acknowledgements
Intel and Pentium are trademarks of Intel Corporation.
Microsoft Windows and MS-DOS are registered trademarks of Microsoft Corp.
All other product names or trademarks are properties of their respective owners.
Technical Support and Assistance
1.Visit the Advantech web site at www.advantech.com/support where you can find
the latest information about the product.
2.Contact your distributor, sales representative, or Advantech's customer service
center for technical support if you need additional assistance. Please have the
following information ready before you call:
– Product name and serial number
– Description of your peripheral attachments
– Description of your software (operating system, version, application software,
etc.)
– A complete description of the problem
– The exact wording of any error messages
Firmware Compatibility
This document contains references to information regarding the CLI interface. The
intent of this document is to provide guidance on identifying the CLI functions for the
following firmware version.
Firmware version: 1.01.xx
Printed in TaiwanEdition1
January 2021
EKI-7000 Series User Manualii
Warnings, Cautions and Notes
Warning! Warnings indicate conditions, which if not observed, can cause personal
injury!
Caution! Cautions are included to help you avoid damaging hardware or losing
data. e.g.
There is a danger of a new battery exploding if it is incorrectly installed.
Do not attempt to recharge, force open, or heat the battery. Replace the
battery only with the same or equivalent type recommended by the manufacturer. Discard used batteries according to the manufacturer's
instructions.
Note!Notes provide optional additional information.
Document Feedback
To assist us in making improvements to this manual, we would welcome comments
and constructive criticism. Please send all such - in writing to: support@advantech.com
iiiEKI-7000 Series User Manual
Contents
Chapter1Command Line Interface.....................1
1.1Using the Command-Line Interface .......................................................... 2
1.1.1Initially Configuring a Device......................................................... 2
The Advantech IOS command-line interface (CLI) is the primary user interface used
to configure, monitor, and maintain Advantech devices. The user interface allows you
to directly execute CLI commands.
This chapter describes the basic features of the Advantech IOS CLI and how to use
them. Topics covered include the following:
The initial configuration of a device varies by platform. This document provides configuration information for the listed devices.
After initially configuring and connecting the device to the network, you can configure
the device by using the remote access method, such as Telnet or Secure Shell
(SSH), to access the CLI or by using the configuration method provided on the
device, such as Security Device Manager.
1.1.2Understanding Command Syntax
The command syntax is the format used for entering CLI commands. The commands
are derived from the use of the command, keywords, and arguments. The keywords
are alphanumeric strings used literally, while arguments are used as placeholders for
required values.
1.1.3Understanding Enable and Enable Secret Passwords
Some privileged EXEC commands are used for actions that impact the system, and it
is recommended that you set a password for these commands to prevent unauthorized use. Two types of passwords, enable (not encrypted) and enable secret
(encrypted), can be set.
The following commands set these passwords and are issued in global configuration
mode:
enable password
enable secret password
2EKI-7000 Series User Manual
1.1.4Abbreviating Commands
The CLI commands can be used in an abbreviated form to execute. The CLI recognizes the abbreviates uniquely identifying the command. In the following example the
show version command is used to illustrate the correct usage:
Full command: show version
Correct abbreviation: sh ver
However, attempting to execute the show command by using the single letter s
would be invalid as s may refer to the commands show or save. For the same reason the variable version cannot be abbreviated to a single v as it may represent
the variable vlan, etc.
Full command: show version
Incorrect abbreviation: s version, s ver, sh v
1.2L2 Features
1.2.1Port Configuration
Table 1.1: Port Configuration
FunctionPrivilegeDescriptionExample
[no] shutdownAdmin EXECUse "shutdown" command
to disable port and use "no
shutdown" to enable port. If
port is error disabled for any
reason, use "no shutdown"
command to recover the
port manually.
change port speed
configuration. The speed is
only able to configure to the
physical maximum speed.
For example, in fast
Ethernet port, speed 1000
is not available.
change port duplex
configuration.
to give the port a name to
identify it easily.
If description includes
space character, please use
double quotes to wrap it.
description to empty string.
This example shows how to
modify port duplex
configuration.
switch (config)# interface fa1
switch (config-if)# shutdown"
This example shows how to
modify port speed
configuration.
switch (config)# interface fa2
switch (config-if)# speed auto
10/100
This example shows how to
modify port duplex
configuration.
switch (config)# interface fa1
switch (config-if)# duplex full
switch (config-if)# exit
switch (config)# interface fa2
switch (config-if)# duplex half
This example shows how to
modify port descriptions.
switch (config)# interface fa2
switch (config-if)# description
"uplink port"
EKI-7000 Series User Manual3
Table 1.1: Port Configuration (Continued)
FunctionPrivilegeDescriptionExample
[no] protectedAdmin EXECUse "protected" command
to protect port. Protected
port is only allowed to
communicate with
unprotected port. In other
words, protected port is not
allowed to communicate
with another protected port.
Use no form to make port
unprotected
This example shows how to
configure ports fa1 and fa2 as
protected ports.
switch (config)# interface
range fa1-2
switch (config-if-range)#
protected
1.2.2MAC Address Table
Table 1.2: MAC Address Table
FunctionPrivilegeDescriptionExample
show mac addresstable aging-time
show mac addresstable A:B:C:D:E:F
[vlan <1-4094>]
show mac addresstable [vlan <14094>] [interfaces
IF_PORTS]
show mac addresstable static [vlan
<1-4094>]
[interfaces
IF_PORTS]
show mac addresstable dynamic
[vlan <1-4094>]
[interfaces
IF_PORTS]
show mac addresstable counters
clear mac addresstable dynamic
[interfaces
IF_PORTS]
clear mac addresstable dynamic vlan
<1-4094>
mac address-table
aging-time <10630>
mac address-table
static A:B:C:D:E:F
vlan <1-4094>
interfaces
IF_PORTS
User EXECView the aging time of the
address table.
User EXECDisplays entries for a
specific MAC address (for
all or VLAN).
User EXECView MAC entry on
specified interface or VLAN
or all dynamic MAC entries
in MAC address table.
User EXECView static MAC entry on
specified interface or VLAN
or all dynamic MAC entries
in MAC address table.
User EXECView dynamic MACentry on
specified interface or VLAN
or all dynamic MAC entries
in MAC address table.
User EXECDisplay the number of
addresses present in MAC
address table.
Admin EXECDelete dynamic MAC entry
on specified interface or all
dynamic MAC entries in
MAC address table.
Admin EXECDelete dynamic MAC entry
on specified VLAN dynamic
MAC entry in MAC address
table.
Admin EXECSet the aging time of the
address table.
Admin EXECAdd static addresses to the
MAC address table.
switch# show mac addresstable aging-time
switch# show mac addresstable 0:1:2:3:4:5 vlan 1
switch# show mac addresstable vlan 1 interface fa5
switch# show mac addresstable static vlan 1 interface fa5
switch# show mac addresstable dynamic vlan 1 interface
fa5
switch# show mac addresstable counters
switch (config)# clear mac
address-table dynamic
interfaces fa5
switch (config)# clear mac
address-table dynamic vlan 1
switch (config)# mac addresstable aging-time 300
switch (config)# mac addresstable static 0:1:2:3:4:5 vlan 1
interfaces fa5
4EKI-7000 Series User Manual
Table 1.2: MAC Address Table (Continued)
FunctionPrivilegeDescriptionExample
no mac addresstable static
A:B:C:D:E:F vlan
<1-4094>
Admin EXECDelete static addresses
from the MAC address
table.
switch (config)# no mac
address-table static 0:1:2:3:4:5
vlan 1 interfaces fa5
1.2.3Jumbo Frame
Table 1.3: Jumbo Frame
FunctionPrivilegeDescriptionExample
jumbo-frame <15189216>
no jumbo-frameAdmin EXECUse no form to disable
Admin EXECUse "jumbo-frame"
command to modify
maximum frame size.
The only way to show this
configuration is by using
"show running-config"
command.
jumbo-frame.
This example shows how to
modify maximum frame size to
9216 bytes.
switch (config)# jumbo-frame
9216
switch (config)# no jumboframe
1.2.4Flow Control
Table 1.4: Flow Control
FunctionPrivilegeDescriptionExample
[no] back-pressure Admin EXECUse "back-pressure"
command to change port
back-pressure
configuration.
Use no form to restore
back-pressure to default
(off) configuration.
flowcontrol
(off|on)
Admin EXECUse "flow-control"
command to change port
flow control configuration.
Use off form to restore flow
control to default (off)
configuration.
This example shows how to
modify port duplex
configuration.
switch (config)# interface fa1
switch (config-if)# backpressure
switch (config-if)# no backpressure
This example shows how to
modify port duplex
configuration.
switch (config)# interface fa1
switch (config-if)# flow-control
on
switch (config-if)# flow-control
off
1.2.5Spanning Tree
Table 1.5: Spanning Tree
FunctionPrivilegeDescriptionExample
show spanning-tree
[instance <0-15>]
show spanning-tree
interfaces
IF_PORTS [instance
<0-15>]
EKI-7000 Series User Manual5
User EXECShow spanning-tree
instance information.
User EXECShow spanning-tree
instance information per
port.
switch# show spanning-tree
instance 10
switch# show spanning-tree
interface gi1 instance 10
Table 1.5: Spanning Tree (Continued)
FunctionPrivilegeDescriptionExample
show spanning-tree User EXECShow spanning-tree
information.
show spanning-tree
interfaces
IF_PORTS
show spanning-tree
interfaces
IF_PORTS statistic
[no] spanning-tree Admin EXECEnable or Disable
spanning-tree bpdu
(filtering|floodin
g)
no spanning-tree
bpdu
spanning-tree mode
(stp|rstp|mstp)
no spanning-tree
force-version
spanning-tree
priority <0-61440>
no spanning-tree
priority
spanning-tree
hello-time <1-10>
no spanning-tree
hello-time
spanning-tree
forward-delay <430>
no spanning-tree
forward-delay
User EXECShow spanning-tree state of
one port.
User EXECShow spanning-tree
statistics of one port.
Spanning-Tree Protocol.
Admin EXECSpecify the forwarding
action of BPDU to filtering
or flooding.
Admin EXECRestore to default BPDU
action. Default action is
flooding.
Admin EXECSpecify the mode to
Spanning Tree Protocol.
Specify the mode to Rapid
Spanning Tree Protocol.
Specify the mode to
Multiple Spanning Tree
Protocol.
Admin EXECRestore to default stp
version. Default stp version
is rstp.
Admin EXECSpecify the bridge priority;
must use multiples of 4096.
Admin EXECRestore to default priority.
Default priority is 32768.
Admin EXECSpecify the hello-time
interval (seconds).
Admin EXECRestore to default hello-
time. Default hello-time is 2.
Admin EXECSpecify the forward-delay
interval (seconds).
Admin EXECRestore to default forward-
delay. Default forward-delay
is 15.
switch# show spanning-tree
switch# show spanning-tree
interface gi1
switch# show spanning-tree
interface gi1 statistic
show vlan VLANLIST interfaces
IF_PORTS
membership
show vlan [(VLANLIST|dynamic|stati
c)]
show interfaces
IF_PORTS
show interfaces
IF_PORTS status
show interfaces
IF_PORTS protected
show interfaces
switchport
IF_PORTS
[no] vlan VLANLIST
name NAMEAdmin EXECConfigure the name of a
switchport mode
hybrid
show managementvlan
switchport hybrid
pvid <1-4094>
[no] switchport
hybrid ingressfiltering
User EXECDisplay information about
default VLAN.
User EXECDisplay information about
VLAN list.
User EXECDisplay information about
VLAN list or dynamic or
static.
User EXECUse "show interface"
command to show port
counters, parameters and
status.
User EXECUse "show interface"
command to show port
status.
User EXECUse "show interface"
command to show port
protected status.
User EXECUse "show interface
switchport" command to
show port VLAN status.
Admin EXECCreate or remove a VLAN
entry. Using “vlan”
command to enter the
VLAN configuration mode.
VLAN entry.
Admin EXECHybrid port: Support all
functions as defined in
IEEE 802.1Q specification.
User EXECDisplay information about
management VLAN.
Admin EXECThis command configures
the hybrid port’s PVID. Use
"show interface switchport"
command to show
configuration.
Admin EXECThis command per port
configures the ingressfiltering status. This filtering
is used to filter the frames
come from the non-member
ingress port. Use "show
interface switchport"
command to show
configuration.
switch# show vlan default-vlan
switch# show vlan 1 interfaces
GigabitEthernet 10
membership
switch# show vlan 1
switch# show vlan dynamic
switch# show vlan static
show interfaces
GigabitEthernet 1
show interfaces
GigabitEthernet 1 status
show interfaces
GigabitEthernet 1 protected
switch# show interfaces
switchport GigabitEthernet 1
switch (config)# vlan 100
switch (config)# no vlan 100
switch (config)# vlan 100
switch (config-vlan)# name
VLAN-one-hundred
configures the acceptableframe-type. Use "show
interface switchport"
command to show
configuration.
Admin EXECThis command per hybrid
port configures adds the
allowed VLAN list. Use
"show interface switchport"
command to show
configuration.
Admin EXECThis command per hybrid
port configures removes the
allowed VLAN list. Use
"show interface switchport"
command to show
configuration.
Admin EXECThis command perport
configures the membership
of the default VLAN to
tagged. Use "show
interface switchport"
command to show
configuration.
Admin EXECThis command perport
configures the membership
of the default VLAN to
forbidden. Use "show
interface switchport"
command to show
configuration.
Admin EXECThis command perport
configures the membership
of the specfied VLANs to
forbidden. Use "show
interface switchport"
command to show
configuration.
Admin EXEC(1) Set <1-4094> as
management VLAN ID; it is
recommended to first
create the VLAN and then
assign the port to it.
(2) When using no
command, restore
management VLAN to
default VLAN.
(3) To view the created
management VLAN, use
"show management-vlan".
(1) The following example
specifies that management
VLAN 2 is created.
switch (config)# managementvlan vlan 2
(2) The following example
specifies that managementVLAN is restored to be default
VLAN.
switch (config)# no
management-vlan
10EKI-7000 Series User Manual
1.2.7Q-in-Q
Table 1.7: Q-in-Q
FunctionPrivilegeDescriptionExample
switchport
outerpvid <1-4094>
switchport
qinqmode (nni|uni)
vlan outertpid
<0x0000-0xFFFF>
Admin EXECThis command configures
the hybrid port’s Outer
PVID. Use "show interface
switchport" command to
show configuration.
Admin EXECThe qinqmode is used to
configure the hybrid port for
different port roles.
Nni: transfer frame will be
add outer tag Vlan-Identifier
Uni: transfer frame will not
be add outer tag VlanIdentifier.
Admin EXECUse "vlan outertpid"
command to change outer
VLAN's Tag Protocol
Identifier(tpid)
configuration.
This example sets gi2's Outer
PVID to 1024.
switch (config)# interface
GigabitEthernet 2
switch (config-if)# switchport
outerpvid 1024
This example shows how to
change gi1 to nni mode and
gi2 to uni mode.
switch (config)# interface
GigabitEthernet 1
switch (config-if)# switchport
qinqmode nni
switch (config-if)# exit
switch (config)# interface
GigabitEthernet 2
switch (config-if)# switchport
qinqmode uni
This example shows how to
modify Tag Protocol Identifier
configuration.
switch (config)# vlan outertpid
0x9100
1.2.8Link Aggregation
Table 1.8: Link Aggregation
FunctionPrivilegeDescriptionExample
show lagUser EXECUse "show lag" command
to show current LAG load
balance algorithm and
members active/inactive
status.
lag load-balance
(src-dst-mac|srcdst-mac-ip|srcport)
no lag loadbalance
Admin EXECLink aggregation group port
should transmit packets
spread to all ports to
balance traffic loading. Two
algorithms are supported;
use this command to select
the required algorithm.
Admin EXECUse no form to disable
load-blance.
This example shows how to
show current LAG status.
switch# show lag
This example shows how to
change load balance algorithm
to src-dst-mac-ip.
switch (config)# lag loadbalance src-dst-mac-ip
This example shows how to
disable load balance algorithm.
switch (config)# no lag loadbalance
EKI-7000 Series User Manual11
Table 1.8: Link Aggregation (Continued)
FunctionPrivilegeDescriptionExample
lag <1-8> mode
(static | active |
passive)
no lagAdmin EXECUse "no lag" to leave the
lacp systempriority <1-65535>
no lacp systempriority
lacp port-priority
<1-65535>
no lacp portpriority
lacp timeout
(long|short)
no lacp timeoutAdmin EXEC
Admin EXECLink aggregation group
function aggregates
multiple physical ports into
one logic port to increase
bandwidth. This command
makes normal port joins a
normal port to a specific
LAG logic port in static or
dynamic mode.
LAG logic port.
Admin EXECLACP system priority is
used for two connected
DUT to select master
switch. Lower system
priority value has higher
priority. The DUT with
higher priority can decide
which ports are able to join
the LAG.
Admin EXECUse "no lacp system-
priority" to restore to the
default priority value. Use
"show running-config"
command to show
configuration.
Admin EXECLACP port priority is used
for two connected DUT to
select aggregation ports.
Lower port priority value
has higher priority. The port
with higher priority will be
selected into LAG first.
Use "show running-config"
command to show
configuration.
Admin EXECUse no form to restore port-
priority to default value.
Admin EXECLACP must send LACP
packet to partner switch to
check the link status. This
command configures the
LACP packet sending
interval.
This example shows how to
create a dynamic LAG and join
fa1-fa3 to this LAG.
switch (config)# interface
range fa1-3
switch (config-if)# lag 1 mode
active
This example shows how to
remove gi1 from LAG.
switch (config)# interface
GigabitEthernet 1
switch (config-if)# no lag
This example shows how to
configure lacp system priority
to 1000.
switch (config)# lacp systempriority 1000
This example shows how to
restore lacp system priority to
default value.
switch (config)# no lacp
system-priority
This example shows how to
configure interface fa1 lacp
port priority to 100.
switch (config)# interface fa1
switch (config-if)# lacp portpriority 100
This example shows how to
configure interface fa1 lacp
timeout to short.
switch (config)# interface fa1
switch (config-if)# lacp timeout
short
12EKI-7000 Series User Manual
1.2.9GARP
Table 1.9: GARP
FunctionPrivilegeDescriptionExample
show garpUser EXECDisplay GARP status.switch# show garp
no lldp tlv-select Admin EXECswitch (config-if)# no lldp tlv-
Admin EXECSet the LLDP PDU hold
multiplier that decides timeto-live (TTL) value sent in
LLDP advertisements: TTL
= (tx-interval * holdtimemultiplier).
Admin EXECswitch (config)# no lldp
Admin EXECSet the LLDP TX interval.switch (config)# lldp tx-interval
Admin EXECswitch (config)# no lldp tx-
Admin EXECSet the LLDP re-initial
delay. This delay avoids
LLDP generating too many
PDUs if the port is up and
down frequently.
Admin EXECswitch (config)# no lldp reinit-
Admin EXECSet the delay in seconds
between successive LLDP
frame transmissions. The
delay starts to count any
time that LLDP PDU is sent,
such as by LLDP PDU
advertise routine, LLDP
PDU content change, port
link up, etc.
Admin EXECThis command per port
configures the 802.1 PVID
TLV attach enable status.
no lldp lldpduAdmin EXECswitch (config)# no lldp lldpdu
Admin EXECThis command globally
configures the LLDP PDU
handling behavior when
LLDP is globally disabled. It
should be noted that if
LLDP is globally enabled
and per port LLDP RX
status is configured to
disable, the received LLDP
PDU is dropped instead of
taking the global disable
behavior.
switch (config)# lldp lldpdu
filtering
1.3Multicast
1.3.1IGMP Snooping
Table 1.13: IGMP Snooping
FunctionPrivilegeDescriptionExample
show ip igmp
snooping
show ip igmp
snooping router
show ip igmp
snooping groups
[(dynamic |
static)]
show ip igmp
snooping vlan
[VLAN-LIST]
show ip igmp
snooping groups
counters
show ip igmp
snooping querier
clear ip igmp
snooping groups
[(dynamic
|static)]
clear ip igmp
snooping
statistics
User EXECThis command will display
IP IGMP snooping global
info.
User EXECThis command will display
the IP IGMP router info.
User EXECThis command will display
the IP IGMP groups for
dynamic or static or all
types.
User EXECThis command will display
IP IGMP snooping VLAN
info.
User EXECThis command will display
the IP IGMP group counter
include static group.
User EXECThis command will display
all of the static VLAN IP
IGMP querier info.
Admin EXECThis command will clear the
IP IGMP groups for
dynamic or static or all
types.
Admin EXECThis command will clear the
IGMP statistics.
switch# show ip igmp snooping
switch# show ip igmp snooping
router
switch# show ip igmp snooping
groups
switch# show ip igmp snooping
groups dynamic
switch# show ip igmp snooping
groups static
switch# show ip igmp snooping
vlan
switch# show ip igmp snooping
counters
switch# show ip igmp snooping
querier
switch# clear ip igmp snooping
groups static
switch# clear ip igmp snooping
statistics
16EKI-7000 Series User Manual
Table 1.13: IGMP Snooping (Continued)
FunctionPrivilegeDescriptionExample
[no] ip igmp
snooping
[no] ip igmp
snooping reportsuppression
no ip igmp
snooping vlan
VLAN-LIST group
A.B.C.D
no ip unknownmulticast action
Admin EXEC"No IP IGMP snooping" will
clear all ip igmp snooping
dynamic groups and
dynamic router ports, and
make the static IP IGMP
group invalid.
Subsequently, dynamic
group and router port will
not be learned via IGMP
message.
Admin EXEC"No IP IGMP snooping
report-suppression" will
disable IGMP v1/v2 IGMP
report suppression function.
When received, report will
be forwarded to the VLAN
router ports.
Admin EXEC"IP IGMP snooping vlan 1
static-group 224.1.1.1
interfaces gi1" will add
static group.
The static group will not
learn other dynamic ports. If
the dynamic group exists,
the static group will overlap
the dynamic group. If the
last member of the static
group is removed, the static
group will be deleted.
To validate the static group,
IGMP snooping VLAN and
IP IGMP snooping must be
enabled.
Use "Show IP IGMP
snooping group [(dynamic |
static)]" command to
display configuration. Use
"No IP IGMP snooping vlan
1 group 224.1.1.1"
command to delete the
static group. The "clear ip
igmp snooping groups"
command can also be used
to delete the static group.
Admin EXECWhen IGMP snooping and
MLD snooping are
disabled, router port actions
cannot be set.
Disabling IGMP snooping &
MLD snooping will flood
multicast traffic to all
members of the VLAN.
When the action is a router
port flood or drop, it will
delete the unknown
multicast group entry.
switch (config)# ip igmp
snooping
switch (config)# no ip igmp
snooping
switch (config)# ip igmp
snooping report-suppression
switch (config)# no ip igmp
snooping report-suppression
switch (config)# ip igmp
snooping vlan 1 static-group
224.1.1.1 interfaces gi1-2
switch (config)# ip unknownmulticast action router-port
switch (config)# no ip
unknown-multicast action
EKI-7000 Series User Manual17
Table 1.13: IGMP Snooping (Continued)
FunctionPrivilegeDescriptionExample
[no] ip igmp
snooping vlan
VLAN-LIST
fastleave
[no] ip igmp
snooping vlan
VLAN-LIST router
learn pim-dvmrp
ip igmp snooping
vlan VLAN-LIST
robustnessvariable <1-7>
no ip igmp
snooping vlan
VLAN-LIST
robustnessvariable
ip igmp snooping
vlan VLAN-LIST
response-time <520>
no ip igmp
snooping vlan
VLAN-LIST
response-time
ip igmp snooping
vlan VLAN-LIST
query-interval
<30-18000>
no ip igmp
snooping vlan
VLAN-LIST queryinterval
ip igmp snooping
vlan VLAN-LIST
last-member-queryinterval <1-25>
no ip igmp
snooping vlan
VLAN-LIST lastmember-queryinterval
ip igmp snooping
vlan VLAN-LIST
last-member-querycount <1-7>
no ip igmp
snooping vlan
VLAN-LIST lastmember-query-count
Admin EXEC"No IP IGMP snooping vlan
1 (last-member-query-count
| last-member-queryinterval | query-interval |
response-time | robustnessvariable)" will set the VLAN
parameters to default.
The CLI setting will change
the IP IGMP VLAN
parameters admin settings.
switch (config)# ip igmp
snooping vlan 1 fastleave
switch (config)# ip igmp
snooping vlan 1 last-memberquery-count 5
switch (config)# ip igmp
snooping vlan 1 last-memberquery-interval 3
switch (config)# ip igmp
snooping vlan 1 query-interval
100
switch (config)# ip igmp
snooping vlan 1 response-time
12
switch (config)# ip igmp
snooping vlan 1 robustnessvariable 4
18EKI-7000 Series User Manual
Table 1.13: IGMP Snooping (Continued)
FunctionPrivilegeDescriptionExample
[no] ip igmp
snooping vlan
VLAN-LIST
ip igmp snooping
version (2|3)
no ip igmp
snooping vlan
VLAN-LIST querier
[version (2|3)]
ip igmp snooping
vlan VLAN-LIST
querier
Admin EXEC"No IP IGMP snooping vlan
1" will clear all VLAN IP
IGMP snooping dynamic
groups and dynamic router
ports, and invalidate any
static IP IGMP groups with
a VLAN ID of 1.
Subsequently, the dynamic
groups and router ports will
not be learned via IGMP
message for VLAN 1.
Admin EXEC"IP IGMP snooping version
3" supports v3 basic mode.
When the version changes
from v3 to v2, all querier
versions will update to
version 2.
Admin EXECWhen IP IGMP vlan querier
is enabled, a router
selection process will be
triggered. The selected
router will send a general
and specific query.
switch (config)# ip igmp
snooping vlan 1
switch (config)# ip igmp
snooping version 3
switch (config)# ip igmp
snooping vlan 2 querier
1.3.2MLD Snooping
Table 1.14: MLD Snooping
FunctionPrivilegeDescriptionExample
show ip mld
snooping
show ip mld
snooping router
show ip mld
snooping groups
[(dynamic |
static)]
show ip mld
snooping vlan
[VLAN-LIST]
show ip mld
snooping groups
counters
show ip mld
snooping querier
User EXECThis command will display
IP MLD snooping global
info.
User EXECThis command will display
the IP MLD router info.
User EXECThis command will display
the IP MLD groups for
dynamic or static ports, or
for all types.
User EXECThis command will display
IP MLD snooping VLAN
info.
User EXECThis command will display
the IP MLD group counter
include static group.
User EXECThis command will display
all of the static VLAN IP
MLD querier info.
switch# show ip mld snooping
switch# show ip mld snooping
router
switch# show ip mld snooping
groups
switch# show ip mld snooping
groups dynamic
Switch# show ip mld snooping
groups static
switch# show ip mld snooping
vlan
switch# show ip mld snooping
counters
switch# show ip mld snooping
querier
EKI-7000 Series User Manual19
Table 1.14: MLD Snooping (Continued)
FunctionPrivilegeDescriptionExample
clear ip mld
snooping groups
[(dynamic
|static)]
clear ip mld
snooping
statistics
[no] ip mld
snooping
[no] ip mld
snooping reportsuppression
[no] ip mld
snooping vlan
VLAN-LIST staticgroup X:X::X:X
interfaces
IF_PORTS
no ip mld snooping
vlan VLAN-LIST
group X:X::X:X
Admin EXECThis command will clear the
IP MLD groups for dynamic
or static ports, or for all
types.
Admin EXECThis command will clear the
MLD statistics.
Admin EXEC"No IP MLD snooping" will
clear all IP MLD snooping
dynamic groups and
dynamic router ports, and
make the static IP MLD
group invalid.
Subsequently, the dynamic
group and router ports will
not be learned via MLD
message.
Admin EXEC"No IP MLD snooping
report-suppression" will
disable MLD v1/v2 MLD
report suppression function.
Reports received will be
forwarded to the VLAN
router ports.
Admin EXEC"IP MLD snooping vlan 1
static-group ff0e:dd::00:dd
interfaces gi1" will add
static group.
The static group willl not
learn other dynamic ports. If
the dynamic group exists,
the static group will overlap
the dynamic group. If the
last member of the static
group is removed, the static
group will be deleted.
For the static group to be
valid, IGMP snooping VLAN
and IP IGMP snooping
must both be enabled.
Use "Show IP IGMP
snooping group [(dynamic |
static)]" to display the
configuration. Use "No IP
MLD snooping vlan 1 group
ff0e:dd::00:dd" or "Clear IP
MLD snooping groups" to
delete the static group.
switch# clear ip mld snooping
groups static
switch# clear ip mld snooping
statistics
switch (config)# ip mld
snooping
switch (config)# no ip mld
snooping
switch (config)# ip mld
snooping report-suppression
switch (config)# no ip mld
snooping report-suppression
[no] ip mld
snooping vlan
VLAN-LIST
fastleave
[no] ip mld
snooping vlan
VLAN-LIST router
learn pim-dvmrp
ip mld snooping
vlan VLAN-LIST
robustnessvariable <1-7>
no ip mld snooping
vlan VLAN-LIST
robustnessvariable
ip mld snooping
vlan VLAN-LIST
response-time <520>
no ip mld snooping
vlan VLAN-LIST
response-time
ip mld snooping
vlan VLAN-LIST
query-interval
<30-18000>
no ip mld snooping
vlan VLAN-LIST
query-interval
ip mld snooping
vlan VLAN-LIST
last-member-queryinterval <1-25>
no ip mld snooping
vlan VLAN-LIST
last-member-queryinterval
ip mld snooping
vlan VLAN-LIST
last-member-querycount <1-7>
no ip mld snooping
vlan VLAN-LIST
last-member-querycount
[no] ip mld
snooping vlan
VLAN-LIST
Admin EXEC"No IP MLD snooping vlan
1 (last-member-query-count
| last-member-queryinterval | query-interval |
response-time | robustnessvariable)" will set the VLAN
parameters to default.
The CLI setting will change
the IP MLD vlan parameters
admin settings.
Admin EXEC"No IP MLD snooping vlan
1" will clear vlan all IP MLD
snooping dynamic group
and dynamic router ports,
and invalidate any static IP
MLD group invalid with a
VLAN ID of 1.
Subsequently, the dynamic
group and router ports will
not be learned via MLD
message for VLAN 1.
switch (config)# ip mld
snooping vlan 1 fastleave
switch (config)# ip mld
snooping vlan 1 last-memberquery-count 5
switch (config)# ip mld
snooping vlan 1 last-memberquery-interval 3
switch (config)# ip mld
snooping vlan 1 query-interval
100
switch (config)# ip mld
snooping vlan 1 response-time
12
switch (config)# ip mld
snooping vlan 1 robustnessvariable 4
switch (config)# ip mld
snooping vlan 1
EKI-7000 Series User Manual21
Table 1.14: MLD Snooping (Continued)
FunctionPrivilegeDescriptionExample
ip mld snooping
version (1|2)
ip mld snooping
vlan VLAN-LIST
querier [version
(1|2)]
no ip mld snooping
[vlan VLAN-LIST]
querier
Admin EXEC"IP MLD snooping version
2", supports v2 basic mode.
When the version changes
from v2 to v1, all querier
versions will update to
version 2.
Admin EXECWhen enable IP MLD vlan
querier is enabled, a router
selection process will be
triggered. The selected
router will send a general
and specific query.
switch (config)# ip mld
snooping version 2
switch (config)# ip mld
snooping vlan 2 querier
1.4Redundancy
1.4.1X-Ring
Table 1.15: X-Ring
FunctionPrivilegeDescriptionExample
show xring-eliteUser EXECDisplay xring-elite status.switch# show xring-elite
[no] xring-eliteAdmin EXECDisable or enable xring-elite
function.
xring-elite ringid <1-255> ports
IF_PORTS
xring-elite legacy
ring-id <1-255>
ports IF_PORTS
no xring-elite
ring-id <1-255>
show xring-plusUser EXECDisplay xring-plus status.switch# show xring-plus
[no] xring-plusAdmin EXECDisable or enable xring-plus
no qos trustAdmin EXECClear qos trust configure.switch# configure
qos cos <0-7>Admin EXECSpecify the CoS value for
[no] qos trustAdmin EXECEnabled or disabled the
qos map queue-cos
SEQUENCE to <0-7>
qos map queue-dscp
SEQUENCE to <0-63>
qos map queueprecedence
SEQUENCE to <0-7>
Admin EXECConfigure or show CoS to
queue map
Admin EXECConfigure or show DSCP to
queue map.
Admin EXECConfigure or show IP
Precedence to queue map.
Admin EXECSpecify the device to trust
CoS.
Specify the device to trust
DSCP for IP packets, and
trust CoS for non-IP
packets.
Specify the device to trust
DSCP.
Specify the device to trust
IP Precedence
to add a new user account
or edit an existing user
account.
Admin EXECDelete an existing user
account.
28EKI-7000 Series User Manual
switch# show username
switch# show privilege
switch (config)# username test
privilege admin secret 1234
switch (config)# no username
test
Table 1.24: Account Manager (Continued)
FunctionPrivilegeDescriptionExample
enable (password |
(secret
[encrypted]))
PASSWORD
no enableAdmin EXECRestore enable password to
Admin EXECEdit password for each
privilege level to enable
authentication.
default empty value.
switch (config)# enable secret
1234
switch (config)# no enable
1.6.8DoS Attack Prevention
Table 1.25: DoS Attack Prevention
FunctionPrivilegeDescriptionExample
show dosUser EXECShow current dos global
state.
show dos
interfaces
IF_PORTS
[no] dos (tcpfrag-off-mincheck|synrstdeny|synfindeny|xmadeny|nullscandeny|synsportl1024deny|tcphdr-mincheck|smurfdeny|icmpv6-pingmax-check|icmpv4ping-maxcheck|icmp-fragpkts-deny|ipv6min-frag-sizecheck|poddeny|tcpblatdeny|udpblatdeny|landdeny|daeqsa-deny)
User EXECShow dos configuration
on selected ports.
Admin EXECConfigure DUT to
enable/disable support
types of attacks.
switch# show dos
switch# show dos
interfaces
GigabitEthernet 1
switch (config)# no dos
land-deny
switch (config)# dos
land-deny
switch# configure
switch (config)# macacl entryid 20
switch (config-macacl)# no
active
switch (config-macacl)# exit
32EKI-7000 Series User Manual
1.7Management
1.7.1IP Management
Table 1.28: IP Management
FunctionPrivilegeDescriptionExample
show ipUser EXECShow system IPv4 address,
net mask and default
gateway.
show ip dhcpUser EXECShow IPv4 DHCP client
enable state.
show auto-ipUser EXEC
[no] ip dhcpAdmin EXECUse "IP DHCP" command
to enable DHCP client to
get IP address from remote
DHCP server.
Use "No IP DHCP"
command to disable DHCP
client and use static IP
address.
ip address A.B.C.D
[mask A.B.C.D]
default-gateway
A.B.C.D
show ipv6 dhcpUser EXECShow system IPv6 DHCP
show ipv6User EXECShow system IPv6 address,
[no] ipv6 dhcpAdmin EXECUse "IPv6 DHCP"
[no] ipv6
autoconfig
ipv6 address
X:X::X:X prefix
<0-128>
ipv6 defaultgateway X:X::X:X
Admin EXECModify administration IPv4
address.
Admin EXECModify default gateway
address.
client enable state.
net mask, default gateway
and auto config state.
command enable DHCPv6
client to get IP address from
remote DHCPv6 server.
Use "No IPv6 DHCP"
command to disable
DHCPv6 client and use
static IPv6 address or IPv6
auto config address.
Admin EXECUse "IPv6 autoconfig"
command to enable IPv6
auto configuration feature.
Use "No IPv6 autoconfig"
command to disable IPv6
auto configuration feature.
Admin EXECUse "IPv6 address"
command to specify static
IPv6 address.
Admin EXECUse "IPv6 default-gateway"
command to modify default
gateway IPv6 address.
switch# show ip
switch# show ip dhcp
switch (config)# ip dhcp
switch (config)# no ip dhcp
no clock timezoneAdmin EXECUse the no form of this
sntp host HOSTNAME
[port <1-65535>]
Admin EXECSet the source of time.
Use the no form of this
command to select the
default setting.
Admin EXECUse the clock timezone
command to set timezone
setting.
command to timezone
default setting.
Admin EXECUse the clock set command
to set static time.
The static time won’t save
to configuration file.
switch (config)# clock source
sntp
switch (config)# show clock
detail
08:32:12 test(UTC+5) Sep 21
2012
No time source
Time zone:
Acronym is DFL
Offset is UTC+8
switch (config)# clock timezone
test +5
switch (config)# show clock
detail
10:13:27 test(UTC+5) Sep 21
2012
No time source
Time zone:
Acronym is test
Offset is UTC+5
switch# configure
switch (config)# no rmon alarm
index 10
switch (config)# exit
switch# configure
switch (config)# rmon event
index 10 description Good for
us. log trap public owner ADV
switch (config)# exit
switch (config)# no rmon event
index 10
switch (config)# exit
42EKI-7000 Series User Manual
1.7.12 IP Configuration
Table 1.39: IP Configuration
FunctionPrivilegeDescriptionExample
ip address A.B.C.D
[mask A.B.C.D]
ip default-gateway
A.B.C.D
no ip defaultgateway
ip dns A.B.C.D
[A.B.C.D]
no ip dns A.B.C.DAdmin EXECUse "No IP DNS" to delete
Admin EXECUse "IP address" command
to modify administration
IPv4 address.
Admin EXECUse "IP default-gateway"
command to modify default
gateway address.
Admin EXECUse "No IP default-
gateway" to restore default
gateway address to factory
default.
Admin EXECUse "IP DNS" command to
modify DNS server
address.
existing DNS server.
switch (config)# ip address
192.168.1.200 mask
255.255.255.0
switch (config)# ip defaultgateway 192.168.1.100
switch (config)# no ip defaultgateway
switch (config)# ip dns
111.111.111.111
switch (config)# no ip dns
111.111.111.111
1.7.13 TELNET
Table 1.40: TELNET
FunctionPrivilegeDescriptionExample
ip telnetAdmin EXECUse "IP service" command
to enable telnet services.
[no] ip telnetAdmin EXECUse no form to disable
service.
switch (config)# ip telnet
switch (config)# no ip telnet
1.7.14 SSH
Table 1.41: SSH
FunctionPrivilegeDescriptionExample
ip sshAdmin EXECUse "IP service" command
to enable ssh services.
[no] ip sshAdmin EXECUse no form to disable
service.
show ip sshUser EXECShow current ssh service
status.
switch (config)# ip ssh
switch (config)# no ip ssh
switch# show ip ssh
1.7.15 HTTP
Table 1.42: HTTP
FunctionPrivilegeDescriptionExample
ip httpAdmin EXECUse "IP service" command
to enable http services.
ip httpsAdmin EXECUse "IP service" command
to enable https services.
[no] ip httpsAdmin EXECUse no form to disable
service.
EKI-7000 Series User Manual43
switch (config)# ip http
switch (config)# ip https
switch (config)# no ip http
Table 1.42: HTTP (Continued)
FunctionPrivilegeDescriptionExample
[no] ip httpAdmin EXECUse no form to disable
service.
show ip
(http|https)
ip (http|https)
session-timeout
<0-86400>
User EXECShow current https or http
service status.
Admin EXECUse "IP session-timeout"
command to specify the
session timeout value for
http or https service.
switch (config)# no ip http
switch (config)# no ip https
switch# show ip https
switch (config)# ip http
session-timeout 15
switch (config)# ip https
session-timeout 20
1.7.16 Modbus TCP
Table 1.43: Modbus TCP
FunctionPrivilegeDescriptionExample
show tcp-modbus
status
show tcp-modbus
timeout
[no] tcp-modbusAdmin EXECUse "TCP-modbus"
User EXECShow current TCP-modbus
status.
User EXECShow current TCP-modbus
timeouts value.
command to enable TCP
modbus services.
Use no form to disable
service.
switch# show tcp-modbus
status
switch# show tcp-modbus
timeout
switch (config)# tcp-modbus
switch (config)# no tcp-modbus
1.7.17 IXM
Table 1.44: IXM
FunctionPrivilegeDescriptionExample
[no] ixmAdmin EXECUse "IXM" command to
enable IXM services.
Use no form to disable
service.
switch (config)# ixm
switch (config)# no ixm
44EKI-7000 Series User Manual
1.8Diagnostic
1.8.1Cable Diagnostic
Table 1.45: Cable Diagnostic
FunctionPrivilegeDescriptionExample
show cable-diag
interfaces
IF_NMLPORTS
User EXECDisplay the estimated
length of copper cable
attached to the ports.
Show cable-diag interface
all.
Display the estimated
length of copper cables
attached to all ports.
show cable-diag interface
Display the estimated
length of copper cable
attached to port gi1.
This example show the cable's
information which link in gi1.
switch (config)# show cablediag interfaces gi1
Port | Speed | Local pair | Pair
length | Pair status
------ + ------- + ------------+ -------
------ + -------------gi1 | auto | Pair A | 0.88
| Open
Pair B | 0.87
| Open
Pair C | 0.82
| Open
Pair D | 0.82
| Open
1.8.2DMI
Table 1.46: DMI
FunctionPrivilegeDescriptionExample
show dmi IF_PORTS
information
[no] dmi
(alarm|warning)
(temperature|volta
g|txbasis|txpower|
rxpower)
(high|low) state
dmi
(alarm|warning)
(temperature|volta
g|txbasis|txpower|
rxpower)
(high|low) value
INPUT_VALUE
Admin EXECUse this command to
display the information of
EEPROM and Digital
Diagnostic Monitoring
Interface in SFP Optical
Transceivers.
Admin EXECUse this command to
enable/disable the
mechanism that monitors
SFP Optical Transceiver's
Digital Diagnostic
Monitoring interface
information.
Use no form to disable
warning/alarm mechanism.
Admin EXECUse this command to
configure high/low
threshold value used to
compare with SFP Optical
Transceiver's Digital
Diagnostic Monitoring
interface's value
(temperature, voltage, etc).
This example show SFP
Optical Transceivers
information whicn plug-in fa10.
switch# show dmi FastEthernet
10 information
This example shows how to
enable temperature's high
threshold monitor mechanism
with alarm level. (Current sfp
plug-in in fa10).
switch (config)# interface
FastEthernet 10
switch (config-if)# dmi alarm
temperature high state
This example shows how to
configure the temperature high
threshold value is 30.5 with
alarm level.
switch (config-if)# dmi alarm
temperature high value 30.5
EKI-7000 Series User Manual45
Table 1.46: DMI (Continued)
FunctionPrivilegeDescriptionExample
[no] dmi alarmwarning message
(log|snmp|mail)
Admin EXECUse this command to
determine which method to
use when notifying of user
alarm/warning events.
This example shows how to
configure alarm-warning
message is system log.
switch (config)# dmi alarmwarning message log
command to configure
whether PoE port will
supply power or not.
Admin EXECUse "priority
(low|medium|high|critical)"
command to configure PoE
port's priority of power
supply sequence.
Admin EXECUse "power-limit <0-
30000>" command to
configure how much power
can be used via PoE port.
Admin EXECUse "type (af | both_at_af)"
command to determine
which PoE protocol support
by PoE port.
Two option can be selected:
AF only or AT/AF .
Admin EXECUse “class-error-bypass
(enable | disable)”
command to configure PoE
port supply power ignore
error class detected.
This command is typically
used when PSE detects
PD-class errors.
This example shows how to
stop PoE port supply power via
fa1.
switch (config-poe)# interfaces
FastEthernet 1 state disable
This example shows how to
configure fa1 as the most high
priority level in power supply
sequence.
switch (config-poe)# interfaces
FastEthernet 1 priority critical
This example shows how to
configure fa1's power of PoE to
15W.
switch (config-poe)# interfaces
FastEthernet 1 power-limit
15000
This example show how to
configure gi1's PoE only
support AF proctocol only.
switch (config-poe)# interfaces
GigabitEthernet 1 type af
This example show how to
configure the gi1 PoE power
supply during a detected class
error.
switch (config-poe)# interfaces
GigabitEthernet 1 class-errorbypass enable
1.8.5LED
Table 1.49: LED
FunctionPrivilegeDescriptionExample
show ledUser EXECUse "show LED" command
to show current LED event
status and error times.
This example shows current
LED event and its own error
times.
switch# show led
( ALARM LED ) EVENTS |
STATUS | ERROR TIMES
------------------------ + ----------- +
------------ Power Failure |
ERROR | 1
------------------------ + ----------- +
-------------
EKI-7000 Series User Manual47
Table 1.49: LED (Continued)
FunctionPrivilegeDescriptionExample
[no] led (alarm |
system)
[no] led (alarm |
system) (powerfailure | fiberdown | always)
led system blink
interval <0-3>
Admin EXECUse "LED (alarm | system)"
command to configure LED
indication mechanism.
Use no form to disable LED
indication mechanism
configuration.
Admin EXECUse "(power-failure | fiber-
down | always)" command
to configure which event will
be binding with which LED
indication mechanism.
Use no form to remove
event from LED indication
mechanism.
Admin EXECUse "LED system blink
interval" command to
configure how long system
LED will blink for.
This example shows how to
configure enable alarm LED
indication mechanism.
switch (config)# led alarm
This example shows how to
add the event fiber-down to
alarm LED indication
mechanism.
switch (config)# led alarm
fiber-down
This example shows how to
configure system LED blink
interval.
switch (config)# led system
blink interval 3
1.8.6System
Table 1.50: System
FunctionPrivilegeDescriptionExample
show versionUser EXECUse "show version"
command to show loader
and firmware version and
build date.
show infoUser EXECUse "show info" command
to show system summary
information.
rebootAdmin EXECUse "reboot" command to
make system hot restart.
show languageUser EXEC
show flashUser EXECUse "show flash" command
to show all files" status
which stored in flash.
clear line telnetAdmin EXEC
terminal length
<0-24>
show network-portUser EXECShow network port
[no] network-port
type
(http|https|telnet
|ssh)
network-port type
(http|https|telnet
|ssh) port-num <165535>
User EXEC
information.
Admin EXECUse no form to restore
default value.
Admin EXECUse the command to
change network port.
switch# show version
switch# show info
switch# reboot
switch# show flash
switch (config)# no networkport type http
switch (config)# network-port
type http port-num 8080
48EKI-7000 Series User Manual
Table 1.50: System (Continued)
FunctionPrivilegeDescriptionExample
system name NAMEAdmin EXECUse "system name"
command to modify system
name information of the
switch.
system location
LOCATION
system contact
CONTACT
Admin EXECUse "system contact"
command to modify contact
information of the switch.
Admin EXECUse "system location"
command to modify
location information of the
switch.