4.1.2 clear access-list ace stati st ic s.............................................................................................................................. 30
4.1.8 clear ip arp ........................................................................................................................................................... 33
4.1.9 clear ip dhcp detailed statistics all ....................................................................................................................... 33
4.1.10 clear ip dhcp detailed statistics client ................................................................................................................. 34
4.1.11 clear ip dhcp detailed statistics helper ............................................................................................................... 34
4.1.12 clear ip dhcp detailed statistics server ............................................................................................................... 35
4.1.13 clear ip dhcp detailed statistics snooping .......................................................................................................... 35
4.1.14 clear ip dhcp relay stati stic s ............................................................................................................................... 36
4.1.15 clear ip dhcp server binding ............................................................................................................................... 36
4.1.16 clear ip dhcp server binding automat ic .............................................................................................................. 36
4.1.17 clear ip dhcp server binding ex pired .................................................................................................................. 37
4.1.18 clear ip dhcp server binding manual .................................................................................................................. 37
-2-
Page 3
Command Guide
4.1.19 clear ip igmp snooping statisti cs ........................................................................................................................ 38
4.1.20 clear ip igmp snooping vlan ............................................................................................................................... 38
4.1.21 clear ip statisti cs icmp icmp-msg ....................................................................................................................... 39
4.1.22 clear ip statistics icmp interface vlan ................................................................................................................. 39
4.1.23 clear ip statistics system icmp icmp-msg ........................................................................................................... 40
4.1.24 clear ip statistics system icmp interface vlan ..................................................................................................... 40
4.1.25 clear ipv6 mld snooping stat ist ic s ...................................................................................................................... 41
4.1.33 clear lldp stati sti cs ............................................................................................................................................. 45
4.1.34 clear logging error info ....................................................................................................................................... 45
4.1.35 clear logging error warn ing ................................................................................................................................ 45
4.1.36 clear logging info error ....................................................................................................................................... 46
4.1.37 clear logging info warning .................................................................................................................................. 46
4.1.46 clear spanning-tree detected-protocols interf ac e * ............................................................................................ 50
4.1.47 clear spanning-tree detected-protocols interf ac e * ............................................................................................ 50
4.1.48 clear spanning-tree detected-protocols interf ac e Gigabit Ethernet ..................................................................... 51
4.1.49 clear spanning-tree detected-protocols interf ac e 10Gigabit Et her n et ................................................................. 51
4.2.3 aaa authentication login console ta cac s .............................................................................................................. 55
-3-
Page 4
Command Guide
4.2.4 aaa authentication login http local ....................................................................................................................... 55
4.2.5 aaa authentication login http radiu s ..................................................................................................................... 56
4.2.6 aaa authentication login http t aca cs .................................................................................................................... 56
4.2.7 aaa authentication login ssh local ........................................................................................................................ 57
4.2.9 aaa authentication login ssh tac ac s ..................................................................................................................... 58
4.2.25 clock time zone .................................................................................................................................................. 68
4.2.39 end .................................................................................................................................................................... 76
4.2.62 gvrp time ............................................................................................................................................................ 94
4.2.63 help .................................................................................................................................................................... 94
4.2.65.9 aggregation group ................................................................................................................................. 100
4.2.65.11 do ........................................................................................................................................................ 101
4.2.65.18 end ...................................................................................................................................................... 105
4.2.65.19 evc dei ................................................................................................................................................. 105
4.2.65.26 flow control .......................................................................................................................................... 109
4.2.65.48 lacp role ............................................................................................................................................... 120
4.2.65.66 mtu ...................................................................................................................................................... 129
4.2.65.68 mvr name ............................................................................................................................................ 130
4.2.65.70 network-clock sy nch roniz atio n ssm ..................................................................................................... 132
4.2.65.71 no ........................................................................................................................................................ 132
4.2.65.72 ping ip .................................................................................................................................................. 133
4.2.65.84 port-security maximum ........................................................................................................................ 139
4.2.65.89 qos cos ................................................................................................................................................ 142
4.2.65.90 qos dei ................................................................................................................................................. 143
4.2.65.108 qos trust tag ....................................................................................................................................... 153
4.2.65.109 rmon collection his t ory ....................................................................................................................... 154
4.2.65.110 rmon collection st a ts .......................................................................................................................... 155
4.2.65.122 switchport acces s v lan ...................................................................................................................... 161
4.2.66.1 do .......................................................................................................................................................... 172
4.2.66.2 end ........................................................................................................................................................ 172
4.2.66.4 ip address .............................................................................................................................................. 173
-8-
Page 9
Command Guide
4.2.66.5 ip address dhcp ..................................................................................................................................... 174
4.2.66.6 ip address dhcp fallback ........................................................................................................................ 174
4.2.66.7 ip dhcp server ........................................................................................................................................ 175
4.2.66.8 ip igmp snooping ................................................................................................................................... 175
4.2.66.9 ip igmp snooping compatibili ty ............................................................................................................... 176
4.2.66.10 ip igmp snooping last-member-query-interval ...................................................................................... 177
4.2.66.11 ip igmp snooping priority ..................................................................................................................... 177
4.2.66.12 ip igmp snooping querier address ....................................................................................................... 178
4.2.66.13 ip igmp snooping querier election ........................................................................................................ 178
4.2.66.14 ip igmp snooping query-interval ........................................................................................................... 179
4.2.66.15 ip igmp snooping query-max-response-time........................................................................................ 180
4.2.66.16 ip igmp snooping robustness-variable ................................................................................................. 180
4.2.66.17 ip igmp snooping unsolicited-report-interval ........................................................................................ 181
4.2.66.23 ipv6 mld snooping querier ele cti on ...................................................................................................... 184
4.2.66.28 no ........................................................................................................................................................ 187
4.2.67 ip arp inspection .............................................................................................................................................. 187
4.2.68 ip arp inspection entry interface ....................................................................................................................... 188
4.2.69 ip arp inspection translate ................................................................................................................................ 189
4.2.70 ip arp inspection translate interface ................................................................................................................. 189
4.2.71 ip arp inspection vlan ....................................................................................................................................... 190
4.2.72 ip dhcp excluded-address ................................................................................................................................ 191
4.2.73 ip dhcp pool ..................................................................................................................................................... 191
4.2.73.7 do .......................................................................................................................................................... 195
4.2.73.9 end ........................................................................................................................................................ 196
4.2.73.20 no ........................................................................................................................................................ 201
4.2.74 ip dns proxy ..................................................................................................................................................... 203
4.2.75 ip helper-address ............................................................................................................................................. 203
4.2.76 ip http secure-redirect ...................................................................................................................................... 204
4.2.77 ip http secure-server ........................................................................................................................................ 204
4.2.78 ip igmp host-proxy ........................................................................................................................................... 205
4.2.79 ip igmp host-proxy leave-proxy ........................................................................................................................ 205
4.2.80 ip igmp snooping ............................................................................................................................................. 206
4.2.81 ip igmp snooping vlan ...................................................................................................................................... 206
4.2.82 ip igmp ssm-range ........................................................................................................................................... 207
4.2.83 ip igmp unknown-flooding ................................................................................................................................ 208
4.2.84 ip name-server ................................................................................................................................................ 208
4.2.85 ip name-server dhcp ........................................................................................................................................ 209
4.2.86 ip name-server dhcp interface vlan.................................................................................................................. 209
4.2.87 ip route ............................................................................................................................................................ 210
4.2.88 ip routing .......................................................................................................................................................... 210
4.2.89 ip source binding interface ............................................................................................................................... 211
4.2.90 ip ssh ............................................................................................................................................................... 211
4.2.91 ip verify source ................................................................................................................................................ 212
4.2.92 ip verify source translate .................................................................................................................................. 212
4.2.94.1 default range ......................................................................................................................................... 214
4.2.94.3 do .......................................................................................................................................................... 215
4.2.94.4 end ........................................................................................................................................................ 215
4.2.94.6 no .......................................................................................................................................................... 216
4.2.94.7 range ..................................................................................................................................................... 217
4.2.103 line ................................................................................................................................................................. 222
4.2.103.1 do ........................................................................................................................................................ 223
4.2.103.3 end ...................................................................................................................................................... 224
4.2.103.8 history size .......................................................................................................................................... 226
4.2.103.12 no ...................................................................................................................................................... 228
4.2.105 lldp med datum .............................................................................................................................................. 230
4.2.106 lldp med fast .................................................................................................................................................. 231
4.2.107 lldp med location-tlv altitude .......................................................................................................................... 231
4.2.108 lldp med location-tlv elin-addr ........................................................................................................................ 232
4.2.109 lldp med location-tlv latitude .......................................................................................................................... 232
4.2.110 lldp med locatio n-tlv longitude ........................................................................................................................ 233
4.2.111 lldp med media-vlan-policy ............................................................................................................................. 233
4.2.117 logging on ...................................................................................................................................................... 237
4.2.124 mep <Instance> ap s ...................................................................................................................................... 241
4.2.125 mep <Instance> cc ........................................................................................................................................ 242
4.2.135 mep <Instance> lc k ....................................................................................................................................... 249
4.2.136 mep <Instance> lev el .................................................................................................................................... 249
4.2.142 mep <Instance> perfo r man ce-monitoring ...................................................................................................... 254
4.2.150 mvr name <mvr_name> chan nel ................................................................................................................... 258
4.2.151 mvr name <mvr_name> frame priority ........................................................................................................... 259
4.2.152 mvr name <mvr_name> frame tagged .......................................................................................................... 259
4.2.153 mvr name <mvr_name> igmp-address .......................................................................................................... 260
4.2.154 mvr name <mvr_name> last-member-query-interval ..................................................................................... 261
4.2.155 mvr name <mvr_name> mode....................................................................................................................... 261
4.2.163 mvr vlan <vlan_list> nam e ............................................................................................................................. 266
4.2.165 no .................................................................................................................................................................. 267
4.2.167 ntp server ...................................................................................................................................................... 268
4.2.177.1 do ........................................................................................................................................................ 274
4.2.177.2 end ...................................................................................................................................................... 274
4.2.177.4 no ........................................................................................................................................................ 275
4.2.212.1 do ........................................................................................................................................................ 303
4.2.212.2 end ...................................................................................................................................................... 303
4.2.212.5 no ........................................................................................................................................................ 305
4.2.212.9 version ................................................................................................................................................. 308
4.2.213.1 do ........................................................................................................................................................ 309
4.2.213.2 end ...................................................................................................................................................... 309
4.2.213.4 no ........................................................................................................................................................ 310
4.2.217 transport email authentication ....................................................................................................................... 317
4.2.218 transport email from ....................................................................................................................................... 317
-14-
Page 15
Command Guide
4.2.219 transport email smtp-server ........................................................................................................................... 318
4.2.220 transport email to ........................................................................................................................................... 319
4.2.225.1 do ........................................................................................................................................................ 322
4.2.225.2 end ...................................................................................................................................................... 322
4.2.225.4 name ................................................................................................................................................... 323
4.2.225.5 no ........................................................................................................................................................ 324
4.2.232 voice vlan vid ................................................................................................................................................. 328
4.2.233 web privilege group ....................................................................................................................................... 328
4.6 dir ............................................................................................................................... 331
4.6.1 dir ...................................................................................................................................................................... 331
4.8 do ............................................................................................................................... 332
4.8.1 do ...................................................................................................................................................................... 332
4.16 more ......................................................................................................................... 338
4.16.1 more ................................................................................................................................................................ 338
4.17 no ............................................................................................................................. 338
4.17.1 no .................................................................................................................................................................... 338
4.18.1 ping ip .............................................................................................................................................................. 339
4.21 show ......................................................................................................................... 343
4.21.1 show aaa ......................................................................................................................................................... 343
4.21.2 show access management .............................................................................................................................. 343
4.21.3 show access-list .............................................................................................................................................. 344
4.21.4 show access-list .............................................................................................................................................. 345
4.21.5 show access-list ace-status ............................................................................................................................. 347
4.21.6 show aggregation ............................................................................................................................................ 348
4.21.7 show aggregation mode .................................................................................................................................. 348
4.21.8 show clock ....................................................................................................................................................... 349
4.21.9 show clock detail ............................................................................................................................................. 350
4.21.10 show dot1x statistics ...................................................................................................................................... 351
4.21.11 show dot1x status .......................................................................................................................................... 352
4.21.12 show eps ....................................................................................................................................................... 353
4.21.13 show erps ...................................................................................................................................................... 354
-16-
Page 17
Command Guide
4.21.14 show evc ....................................................................................................................................................... 355
4.21.15 show evc statistics ......................................................................................................................................... 356
4.21.16 show green-ethernet ...................................................................................................................................... 356
4.21.17 show green-ethernet energy-detect ............................................................................................................... 357
4.21.18 show green-ethern et s hor t-reach................................................................................................................... 357
4.21.19 show history .................................................................................................................................................. 358
4.21.20 show interface <port_type> <port_type_list> capabilities .............................................................................. 358
4.21.21 show interface <port_type> <port_type_list> statistics .................................................................................. 359
4.21.22 show interface <port_type> <port_type_list> status ...................................................................................... 360
4.21.23 show interface <port_t y pe> <port _li st> switchport......................................................................................... 360
4.21.24 show interface <port_type> <port_type_list> veriphy .................................................................................... 361
4.21.25 show interface <port_type> <port_type_list> veriphy .................................................................................... 362
4.21.26 show interface vlan ........................................................................................................................................ 362
4.21.27 show ip arp .................................................................................................................................................... 363
4.21.28 show ip arp inspection ................................................................................................................................... 364
4.21.29 show ip arp inspection ................................................................................................................................... 364
4.21.30 show ip arp inspection entry .......................................................................................................................... 365
4.21.31 show ip dhcp deta ile d st atistics ..................................................................................................................... 366
4.21.32 show ip dhcp excluded-address .................................................................................................................... 367
4.21.33 show ip dhcp pool .......................................................................................................................................... 368
4.21.34 show ip dhcp relay ......................................................................................................................................... 369
4.21.35 show ip dhcp server ....................................................................................................................................... 369
4.21.36 show ip dhcp server binding (GG) ................................................................................................................. 370
4.21.37 show ip dhcp server declined-ip (GG) ........................................................................................................... 371
4.21.38 show ip dhcp server statist ic s ........................................................................................................................ 371
4.21.39 show ip dhcp snooping .................................................................................................................................. 372
4.21.40 show ip dhcp snooping table ......................................................................................................................... 373
4.21.41 show ip http server secure status .................................................................................................................. 374
4.21.42 show ip igmp snooping .................................................................................................................................. 374
4.21.43 show ip igmp snooping mrouter ..................................................................................................................... 375
4.21.44 show ip interface brief .................................................................................................................................... 376
4.21.45 show ip name-server ..................................................................................................................................... 376
4.21.46 show ip route ................................................................................................................................................. 377
4.21.47 show ip source binding .................................................................................................................................. 377
4.21.48 show ip ssh .................................................................................................................................................... 378
4.21.49 show ip statistics ............................................................................................................................................ 378
4.21.50 show ip verify source ..................................................................................................................................... 380
4.21.51 show ipmc profile ........................................................................................................................................... 381
4.21.52 show ipmc range ........................................................................................................................................... 381
4.21.53 show ipv6 interface ........................................................................................................................................ 382
4.21.54 show ipv6 mld snooping ................................................................................................................................ 383
-17-
Page 18
Command Guide
4.21.55 show ipv6 mld snooping mrouter ................................................................................................................... 384
4.21.56 show ipv6 neighbor ........................................................................................................................................ 384
4.21.57 show ipv6 route ............................................................................................................................................. 385
4.21.58 show ipv6 statistics ........................................................................................................................................ 386
4.21.59 show lacp ...................................................................................................................................................... 388
4.21.60 show line ....................................................................................................................................................... 388
4.21.61 show lldp med media-vlan-policy ................................................................................................................... 389
4.21.62 show lldp med remote-device ........................................................................................................................ 390
4.21.63 show lldp neighbors ....................................................................................................................................... 390
4.21.64 show lldp sta tis t ic s ......................................................................................................................................... 391
4.21.65 show logging ................................................................................................................................................. 391
4.21.66 show loop-protect .......................................................................................................................................... 392
4.21.67 show mac address-table ................................................................................................................................ 393
4.21.68 show mep ...................................................................................................................................................... 394
4.21.69 show mvr ....................................................................................................................................................... 395
4.21.70 show network-clock ....................................................................................................................................... 396
4.21.71 show ntp status .............................................................................................................................................. 396
4.21.72 show platform phy ......................................................................................................................................... 397
4.21.73 show platform phy failover ............................................................................................................................. 398
4.21.74 show platform phy id ...................................................................................................................................... 398
4.21.75 show platform phy status ............................................................................................................................... 399
4.21.76 show port-security port .................................................................................................................................. 399
4.21.77 show port-security switch .............................................................................................................................. 400
4.21.78 show privilege ................................................................................................................................................ 401
4.21.79 show pvlan .................................................................................................................................................... 401
4.21.80 show pvlan isolation ...................................................................................................................................... 402
4.21.81 show qos ....................................................................................................................................................... 402
4.21.82 show radius-server ........................................................................................................................................ 405
4.21.83 show rmon alarm ........................................................................................................................................... 405
4.21.84 show rmon event ........................................................................................................................................... 406
4.21.85 show rmon history ......................................................................................................................................... 407
4.21.86 show rmon statistic s ...................................................................................................................................... 407
4.21.87 show running-config ...................................................................................................................................... 408
4.21.88 show snmp .................................................................................................................................................... 410
4.21.89 show snmp access ........................................................................................................................................ 412
4.21.90 show snmp community v3 ............................................................................................................................. 413
4.21.91 show snmp host............................................................................................................................................. 413
4.21.92 show snmp mib context ................................................................................................................................. 414
4.21.93 show snmp mib ifmib ifIndex ......................................................................................................................... 416
4.21.94 show snmp security-to-group ........................................................................................................................ 418
4.21.95 show snmp user ............................................................................................................................................ 419
-18-
Page 19
Command Guide
4.21.96 show snmp view ............................................................................................................................................ 419
4.21.97 show spanning-tree ....................................................................................................................................... 420
4.21.98 show switchport forbid den ............................................................................................................................. 421
4.21.99 show tacacs-server ........................................................................................................................................ 422
4.21.100 show terminal .............................................................................................................................................. 422
4.21.101 show upnp ................................................................................................................................................... 423
4.21.102 show users .................................................................................................................................................. 424
4.21.103 show version ............................................................................................................................................... 425
4.21.104 show vlan .................................................................................................................................................... 426
4.21.105 show vlan ip-subnet ..................................................................................................................................... 426
4.21.106 show vlan mac ............................................................................................................................................. 427
4.21.107 show vlan protocol ....................................................................................................................................... 427
4.21.108 show voice vlan ........................................................................................................................................... 428
4.21.109 show web privilege group ............................................................................................................................ 429
When accessing the management interface for the switch over a direct connection to the server’s console port, or via a Telnet
connection, the switch can be managed by entering command keywords and parameters at the prompt. Using the switch's
command-line interface (CLI) is very similar to entering commands on a UNIX system.
This chapter describes how to use the Command Line Interface (CLI).
1.2 Command Line Modes
The CLI groups all the co mmands i n appr opriate m odes ac cording t o the n ature o f the com mand. A sample of the CLI command
modes is described below. Each of the command modes supports specific software commands.
Mode-based Command Hierarchy
The Command Line Interf ace ( CLI) groups all the com ma nd s in ap pr opr iate mo des by the nature of the command s. Examples
of the CLI command modes are described below. Each of the command modes supports specific switch’s commands. The CLI
Command Modes table captures the command modes, the prompts visible in that mode and the exit method from that mode.
Command Mode Access Method Prompt Exit or Access Previous Mode
This is the first level of
User Mode
Privileged Mode
Global Config
Mode
access. Perform basic tasks
and list system information.
From the User Mode, enter
the enable command.
From the Privileged Mode,
enter the configuration
command.
COMMAND> Enter Logout command
To exit to the User Mode, enter
Switch#
exit or logout.
To exit to the Privileged Mode,
Switch (Config)#
enter the exit command.
Interface Config
Mode
The CLI is divided into various modes. The commands in one mode are not available until the operator switches to that
particular mode. The commands available to the oper at or at any point i n time depend upon the mode. Ent erin g a que sti on mark
(?) at the CLI prompt will display a list of the available commands and descriptions of the commands.
From the Global Config
mode, enter the interface
<port#> command.
Switch (Interface <port#>)#
To exit to the Global Config
mode, enter exit.
Table 1-1 CLI Command Modes
-20-
Page 21
Command Guide
The CLI provides the following modes:
User Mode
When the operator log s into the CLI, the User Mode is the initial mode. The User Mode con tains a limited set of command s . T he
command prompt shown at this level is:
Command Prompt: switch>
Privileged Mode
To have access to the full suite of commands, the operator must enter the Privileged Mode. The Privileged Mode requires
password authentication. From Privileged Mode, the operator can issue any Exec command to enter the Global Configuration
mode. The command prompt shown at this level is:
Command Prompt: switch#
Global Config Mode
This mode permits the operator to make modifications to the running configuration. General setup commands are grouped in
this mode. From the Global Configuration mode, the operator can enter the Interface Configuration mode. The command
prompt at this level is:
Command Prompt: switch (Config)#
From the Global Config mode, the operator may enter the following configuration modes:
Interface Config Mode
Many features are enabled for a particular interface. The Interface commands enable or modify the operation of an interface. In
this mode, a physical port is set up for a specific logical connection opera tio n. The command prompt at this level is:
Command Prompt: Switch(Interface <port#>)#
1.3 Requirements
Workstations running Windows XP/Vista/7/8/, Windows 2003/2008, MAC OS X or later, Linux, UNIX, or other platforms
are compatible with TCP/IP protocols.
Workstatio ns are installed with Ethernet NIC (Network Interface Card)
Serial Port Connection (Terminal)
The above Workstations come with COM Port (DB9) or USB-to-RS-232 converter.
The above Workstation s have been installed with termi nal e mulator, such as Hyper Terminal included in Windows
XP/2003.
Serial cable -- one end is attached to the RS-232 serial port, while the other end to t he con sole port of t he Industrial
Managed Switch.
Ethernet Port Connection
Network cables -- Use standard network (UTP) cables with RJ45 connectors.
The above PC is installed with Web browser and JAVA runtime environment plug-in.
-21-
Page 22
Command Guide
1.4 Command Support
As shown in the following table, some command groups or commands are supported on particular switch models.
Command Group or Command 10Gigabit Ethernet Power over Ethernet
To configure the system, connect a serial cable to a COM port on a PC or notebook computer and to RJ45 type of serial
(console) port of the Industrial Managed Switch.
The console port of the Industrial Managed Switch is an RJ45 type, RS-232 serial port connector. It is an interface for
connecting a terminal directly. Through the console port, it provides rich diagnostic information including IP address setting,
factory reset, port management, link status and system setting. Users can use the attached RS-232 cable in the package and
connect to the console port on the device. After the connection, users can run any terminal emulation program (Hyper Terminal,
ProComm Plus, Telix, Winterm and so on) to enter the startup screen of the device.
A terminal program is required to make the software connection to the Industrial Managed Switch. W indows' Hyper Terminal
program may be a good choice. The Hyper Terminal can be accessed from the Start menu.
1. Click START, then Programs and Accessories, and then Hyper Terminal.
2. When the following screen appears, make sure that the COM port should be configured as:
Baud : 115200
Data bits : 8
Parity : None
Stop bits : 1
Flow control : None
-24-
Page 25
Command Guide
Figure 2-3 Hyper Terminal COM Port Configuration
You can change these settings, if desired, after you log on. This management method is often preferred because you can
remain connected and monitor the system during system reboots. Also, certain error messages are sent to the serial port,
regardless of the interface through which the associated action was initiated. A Macintosh or PC attachment can use any
terminal-emulation program for connecting to the terminal serial port. A workstation attachment under UNIX can use an
emulator such as TIP.
-25-
Page 26
Command Guide
2.2 Logon to the Console
Once the terminal is connected to the device, power on the Industrial Managed Switch, and the terminal will display “running
testing procedures”. Then, the following message asks to log-in user name and password. The factory default user name and
password are shown as follows and the login screen in Figure 3-1appears.
The user can now enter commands to manage the Industrial Managed Switch. For a detailed description of the commands,
please refer to the following chapters.
1. For security reason, please change and memorize the new password after this first setup.
2. Only accept command in lowercase letter under console interface.
2.3 Configuring IP Address
The Industrial Managed Switch is shipped with default IP address shown below.
IP Address: 192.168.0.100
Subnet Mask: 255.255.255.0
-26-
Page 27
Command Guide
To check the current IP address or modify a new IP address for the Switch, please use the procedures as follows:
Show the current IP Address
1. At the “#” prompt, enter “show ip interface brief”.
2. The screen displays the current IP address and subnet mask as shown in Figure 3-2.
Figure 3-2: IP Information Screen
Configuring IP Address
3. At the “#” prompt, enter the following command and press <Enter> as shown in Figure 3-3.
The previous command would apply the following settings for the Industrial Managed Switch.
IP Address: 192.168.1.100
Subnet Mask: 255.255.255.0
-27-
Page 28
Figure 3-3: Configuring IP Address Screen
anytime
4. Repeat step 1 to check if the IP address has changed.
Storing current sw i tch configur ation
5. At the “#” prompt, enter the following command and press <Enter>.
# copy running-config startup-config
Command Guide
Figure 3-4: Saving Current Configuration Command Screen
If the IP is successfully configured, the Industrial Managed Switch will apply the new IP address setting immediately. You can
access the Web interface of the Industrial Managed Switch through the new IP address.
If you are not familiar with the console command or the re lat ed parameter, enter “ ?”
in console to get the help description.
-28-
Page 29
Command Guide
Chapter 3 TELNET CLI MANAGEMENT
3.1 Telnet Login
The Industrial Managed Switch also supports telnet for remote management. The switch asks for user name and password for
remote login when using telnet; please use “admin” for both username and password.
Default IP address: 192.168.0.100
Username: admin
Password: admin
Figure 3-1 Industrial Managed S w it ch Telnet Login Screen
-29-
Page 30
Chapter 4 Commands for CLI Configuration
4.1 clear
4.1.1 clear access management statistics
Command:
clear access management statistics
Default:
N/A
Usage Guide:
Command Guide
To clear the access management statistics.
Example:
To clear the Switch’s access management statistics.
Switch# clear access management statistics
4.1.2 clear access-list ace statistics
Command:
clear access-list ace statistics
Default:
N/A
Usage Guide:
To clear the Access list entry statistics.
Example:
To clear the Switch’s Access list entry statistics.
Switch# clear access-list ace statistics
-30-
Page 31
4.1.3 clear dot1x statistics interface
Command:
clear dot1x statistics interface GigabitE t her net | 10Giga bitEt hernet
Default:
N/A
Usage Guide:
To clear the dot1x statistics.
Example:
To clear the Switch’s GigabitEthernet 1/25dot1x statistics.
<AccessVid : 1-4095> The VLAN ID for the access management entry
<AddrRangeStart : ipv4_addr> St ar t IPv4 address
<AddrRangeStart : ipv6_addr> St ar t IPv6 addr e ss
all All services
snmp SNMP service
telnet TELNET/SSH service
to End address of the range
web Web service
Command Guide
Default:
access management : disable
Usage Guide:
To enable the access management profile to allow SNMP / Telnet / HTTP services.
Example:
To create a Profile 1 enabling all services for VLAN 1 (IPv6 address 2001::7788) .
dmac-type The type of destination MAC address
frametype Frame type
ingress Ingress
logging Logging frame information. Note: The logging feat ur e only
works when the packet length is less than 1518 (without
VLAN tags) and the System Log memory size and logging rate
are limited.
next Insert the current ACE before the next ACE ID
policy Policy
rate-limiter Rate limiter
redirect Redirect frame to specif ic port
shutdown Shutdown incoming port. The shutdown feature only works
when the packet length is less than 1518 (without VLAN
tags).
Command Guide
tag-priority Tag priority
vid VID field
Default:
N/A
Usage Guide:
To create and set up a profile for the access list.
Example:
To set a Profile 1 up (action: permit, dmac-type: unicast, frametype: ipv4-icmp, ingress: any, logging: disable, policy:
Switch (config)# access-list ace update 1 action deny dmac-type any
<AceId : 1-512> ACE ID
action Access list action
dmac-type The type of destination MAC address
frametype Frame type
ingress Ingress
logging Logging frame information. Note: The logging feat ur e only works when the packet length is less than 1518 (without
VLAN tags) and the System Log memory size and logging rate
are limited.
next Insert the current ACE before the next ACE ID
policy Policy
rate-limiter Rate limiter
redirect Redirect frame to specif ic port
Command Guide
shutdown Shutdown incoming port. The shutdown feature only works
when the packet length is less than 1518 (without VLAN
tags).
tag-priority Tag priority
vid VID field
Default:
N/A
Usage Guide:
To update the specific profile for the access list.
Example:
<RateLimiterList : 1~16> Rate limi ter ID
<PpsRate : 0-131071> Rate value
Default:
0
Usage Guide:
To set pps rate for specific rate-limiter ID.
Example:
To set pps rate(10000 pps) for specific rate-limiter ID 1.
Command Guide
Switch# configure terminal
4.2.17 access-list rate-limiter pps
Command:
access-list rate-limiter pps <PpsRate : 0-131071>
<PpsRate : 0-131071> Rate value
Default:
0
Usage Guide:
To set pps rate for all rate-limiter ID.
Example:
To set pps rate(10000 pps) for all rate-limiter ID.
Switch# configure terminal
-63-
Page 64
4.2.18 aggregation mo de
Switch (config)# access-list rate-limiter pps 100
Command:
aggregation mode dmac | ip | port | smac
dmac Destination MAC affects the distribution
ip IP address affects the distribution
port IP port affects the distribution
smac Source MAC affects the distribution
Default:
SMAC : Enabled
DMAC : Disabled
IP : Enabled
Port : Enabled
Command Guide
Usage Guide:
To configure static aggregation mode type.
Example:
To configure static aggr egat ion mode type with Destination MA C aff ects the distribution and Sourc e MAC affects the
distribution only.
Switch# configure terminal
4.2.19 aggregation mo de
Command:
aggregation mode dmac | ip | port | smac
dmac Destination MAC affects the distribution
ip IP address affects the distribution
port IP port affects the distribution
smac Source MAC affects the distribution
Default:
SMAC : Enabled
DMAC : Disabled
IP : Enabled
Port : Enabled
-64-
Page 65
Command Guide
Switch (config)# access-list rate-limiter pps 100
1
Username:
Usage Guide:
To configure static aggregation mode type.
Example:
To configure static aggr egat ion mode type with Destination MA C aff ects the distribution and Sour c e MAC affects the
distribution only.
Switch# configure terminal
4.2.20 banner
Command:
banner <LINE>
<LINE> c banner-text c, where 'c' is a delimiting character
direction Setup ECE direction
both Bidirectional traffic flow
nni-to-uni NNI-to-UNI traffic flow
uni-to-nni UNI-to-NNI traffic flow
evc EVC mapping
<EvcId : 1-4096> EVC identifier
none Map to no EVC ID
frame-type Setup matched frame type
any Match any frame type
ipv4 Match IPv4 frames
ipv6 Match IPv6 frames
inner-tag Setup inner tag options
add Setup inner tag add properties.
dei Setup added tag DEI
<AddDei : 0-1> Added tag DEI
pcp Setup added tag PCP
-83-
Page 84
<AddPcp : 0-7> Added tag PCP
preserve Setup tag PCP/DEI preservation
type Setup added tag type
c-tag Add C-tag
none No tag added
s-custom-tag Add custom S-tag
s-tag Add S-tag
vid Setup added tag VLAN ID
<AddVid : vlan_id> Added tag VLAN ID
match Setup inner tag match proper tie s
dei Setup matched DEI
<MatchDei : 0-1> Matched DEI
any Match any DEI
pcp Setup matched PCP
Command Guide
<MatchPcp : pcp> Matched PCP value/range
any Match any PCP
type Setup matched tag type
any Match tagged and untagged frames
c-tagged M atch C -tagged frames
s-tagged M atch S-tagged frames
tagged Match tagged frames
untagged Match untagged fram es
vid Setup matched VLAN ID
<Vid : 0-4095> Matched VLAN ID value/range
any Match any VLAN ID
interface Setup UNI
next Setup the ECE ID of the next entry
<EceId : 1-4096> Select ECE ID of an existing entry
last Make the ECE the last entry
outer-tag Setup outer tag options
add Setup outer tag add properties
dei Setup added tag DEI
<AddDei : 0-1> Added tag DEI
mode Setup NNI-to-UNI outer tag add mode
disable No tag added when forwarding to UNI
enable Add tag when forwarding to UNI pcp Setup added tag PCP
<AddPcp : 0-7> Added tag PCP
-84-
Page 85
preserve Setup tag PCP/DEI preservation
vid Setup added tag VLAN ID
<AddVid : vlan_id> Added tag VLAN ID
match Setup outer tag mat ch prope rt ie s
policer Policer (ingress bandwidth profile)
<PolicerId : 1-2048> Policer ID
discard Map to policer discarding all frames
evc Use policer setup for EVC
none Map to policer allowing all frames
pop Setup tag popping
<Pop : 0-2> Number of tags popped
Command Guide
Default:
N/A
Usage Guide:
To configure EVC Control Entry.
Example:
To configure EVC Control Entry as tabled below.
-85-
Page 86
policy 9 pop 2
<PolicyNo : 0-255> pop <Pop : 0-2>
Switch# configure terminal
Switch (config)# evc ece 1 direction both evc 2 frame-type ipv4 inner-tag add dei 1
pcp 4 preserve type s-custom-tag vid 5 interface GigabitEthernet 1/3 outer-tag add
dei 0 mode enable pcp 2 vid 7 match dei any pcp any type c-tagged vid 6 policer 8
direction Setup ECE direction
both Bidirectional traffic flow
nni-to-uni NNI-to-UNI traffic flow
uni-to-nni UNI-to-NNI traffic flow
evc EVC mapping
<EvcId : 1-4096> EVC identifier
none Map to no EVC ID
frame-type Setup matched frame type
any Match any frame type
ipv4 Match IPv4 frames
ipv6 Match IPv6 frames
inner-tag Setup inner tag options
add Setup inner tag add properties.
-86-
Page 87
dei Setup added tag DEI
<AddDei : 0-1> Added tag DEI
pcp Setup added tag PCP
<AddPcp : 0-7> Added tag PCP
preserve Setup tag PCP/DEI preservation
type Setup added tag type
c-tag Add C-tag
none No tag added
s-custom-tag Add custom S-tag
s-tag Add S-tag
vid Setup added tag VLAN ID
<AddVid : vlan_id> Added tag VLAN ID
match Setup inner tag match proper tie s
dei Setup matched DEI
Command Guide
<MatchDei : 0-1> Matched DEI
any Match any DEI
pcp Setup matched PCP
<MatchPcp : pcp> Matched PCP value/range
any Match any PCP
type Setup matched tag type
any Match tagged and untagged frames
c-tagged M atch C -tagged frames
s-tagged M atch S-tagged frames
tagged Match tagged frames
untagged Match untagged fram es
vid Setup matched VLAN ID
<Vid : 0-4095> Matched VLAN ID value/range
any Match any VLAN ID
interface Setup UNI
next Setup the ECE ID of the next entry
<EceId : 1-4096> Select ECE ID of an existing entry
last Make the ECE the last entry
outer-tag Setup outer tag options
add Setup outer tag add properties
dei Setup added tag DEI
<AddDei : 0-1> Added tag DEI
mode Setup NNI-to-UNI outer tag add mode
-87-
Page 88
disable No tag added when forwarding to UNI
Switch (config)# evc ece 1 direction nni-to-uni
coupled] rate-type [data | line] type [mef | single]
enable Add tag when forwarding to UNI pcp Setup added tag PCP
<AddPcp : 0-7> Added tag PCP
preserve Setup tag PCP/DEI preservation
vid Setup added tag VLAN ID
<AddVid : vlan_id> Added tag VLAN ID
match Setup outer tag mat ch prope rt ie s
policer Policer (ingress bandwidth profile)
<PolicerId : 1-2048> Policer ID
discard Map to policer discarding all frames
evc Use policer setup for EVC
none Map to policer allowing all frames
policy Setup ACL policy
Command Guide
<PolicyNo : 0-255> ACL pol icy
pop Setup tag popping
<Pop : 0-2> Number of tags popped
Default:
N/A
Usage Guide:
To update EVC Control Entry for specific ECE profile.
Example 1:
To update “direction nni-to-uni” for ECE profile 1.
Switch (config)# green-ethernet led interval 8-13 intensity 80
Command:
green-ethernet led interval <0~24> intensity <0-100>
<0~24> Inter v al from 00.00 to 24. 00 (00 is used to st art at midni ght ,
while 24 is used to stop at midnight).
intensity LED s inte ns ity.
<0-100> Intensity from 0% (LEDs OFF) to 100%
Default:
N/A
Usage Guide:
To configure LED Power reduction for interval time.
Example:
Command Guide
To configure LED Power reduction as tabled below.
Switch# configure terminal
4.2.59 green-ethernet led on-event
Command:
green-ethernet led on-event error | link-change <0-65535>
error Set LEDs intensity to 100% if an error occurs.
link-change Specifies how long to turn LEDs intensity into 100%, when a link changes state.
<0-65535> Number of seconds to set LEDs intensity at 100% at link change.
Default:
N/A
Usage Guide:
To configure LED Power on-event to trigger LED light
Example:
To configure LED Power on-event as tabled below:
-92-
Page 93
Switch# configure terminal
Switch (config)# green-ethernet led on-event error link-change 55
Switch (config)# gvrp
Switch (config)# gvrp max-vlans 200
4.2.60 gvrp
Command:
gvrp
Default:
Command Guide
Disable
Usage Guide:
To enable GVRP.
Example:
To enable GVRP.
Switch# configure terminal
4.2.61 gvrp max-vlans
Command:
gvrp max-vlans <1-4095>
Default:
20
Usage Guide:
To configure how many VLANs will be in GVRP.
Example:
To configure 200 VLANs in GVRP.
Switch# configure terminal
-93-
Page 94
Command Guide
leave-time <Leavetime : 60-300>
Switch (config)# gvrp time join-time 5 leave-all-time 1200 leave-time 150
4.2.62 gvrp time
Command:
gvrp time join-time <Jointime : 1-20> leave-all-time <Leavealltime : 1000-5000>
join-time Set GARP protocol parameter JoinTime. See IEEE 802.1D-2004, clause 12.11
<Jointime : 1-20> join-time in units of centi seconds. Range is 1-20. Default is 20.
leave-all-time Set GARP protocol parameter LeaveAllTime. See IEEE 802.1D-2004, clause 12.11
<Leavealltime : 1000-5000> leave-all-time in units of centi seconds Range is 1000-5000. Default is 1000. leave-time Set GARP protocol parameter LeaveTime. See IEEE 802.1D-2004, clause 12.11
<Leavetime : 60-300> leave-time in units of centi seconds. Range is 60-300. Default is 60.
Default:
Usage Guide:
To configure Join-time, Leave-time, Leave all-time for G VRP.
Example:
To configure Join-time, Leave-time, Leave all-time for GVRP as tabled below .
Switch# configure terminal
4.2.63 help
Command:
help
Default:
N/A
-94-
Page 95
Usage Guide:
(e.g. 'show pr?'.)
planetbestswitch(config)#
To explain how to use commands.
Example:
To explain how to use commands.
Switch# configure terminal
Switch (config)# help
Help may be requested at any point in a command by entering
a question mark '?'. If nothing matches, the help list will
be empty and you must back up until entering a '?' showing the
available options.
Two styles of help are provided:
1. Full help is available when you are ready to enter a
command argument (e.g. 'show ?') and describes each possible
argument.
Command Guide
2. Partial help is provided when an abbreviated argument is entered
and you want to know what arguments match the input
4.2.64 hostname
Command:
hostname < WORD >
< WORD > This system's network name
Default:
N/A
Usage Guide:
To configure switch’s hostname.
Example:
To configure switch’s hostname with “planetbestswitch”