4.1.4 clear ip arp...........................................................................................................................................................28
4.1.5 clear ip dhcp detailed statistics all .......................................................................................................................28
4.1.6 clear ip dhcp detailed statistics client...................................................................................................................29
4.1.7 clear ip dhcp detailed statistics helper .................................................................................................................29
4.1.8 clear ip dhcp detailed statistics server .................................................................................................................30
4.1.9 clear ip dhcp detailed statistics snooping ............................................................................................................30
4.1.10 clear ip dhcp relay statistics...............................................................................................................................30
4.1.11 clear ip dhcp server binding ...............................................................................................................................31
4.1.12 clear ip dhcp server binding automatic ..............................................................................................................31
4.1.13 clear ip dhcp server binding expired ..................................................................................................................32
4.1.14 clear ip dhcp server binding manual ..................................................................................................................32
4.1.15 clear ip igmp snooping statistics........................................................................................................................32
4.1.16 clear ip igmp snooping vlan ...............................................................................................................................33
4.1.17 clear ip statistics icmp icmp-msg .......................................................................................................................33
4.1.18 clear ip statistics icmp interface vlan .................................................................................................................34
4.1.19 clear ip statistics system icmp icmp-msg...........................................................................................................34
-2-
Page 4
4.1.20 clear ip statistics system icmp interface vlan .....................................................................................................35
4.1.32 clear logging info error.......................................................................................................................................40
4.1.33 clear logging info warning..................................................................................................................................40
4.1.36 clear mac address-table ....................................................................................................................................41
4.2.39 end ....................................................................................................................................................................67
4.2.41 green-ethernet led interval.................................................................................................................................68
4.2.42 green-ethernet led on-event ..............................................................................................................................69
4.2.48.9 aggregation group ...................................................................................................................................76
4.2.48.11 do ..........................................................................................................................................................77
4.2.48.18 end ........................................................................................................................................................81
4.2.48.26 ip arp inspection check-vlan ..................................................................................................................85
4.2.48.27 ip arp inspection logging........................................................................................................................86
4.2.48.28 ip arp inspection trust ............................................................................................................................86
4.2.48.29 ip dhcp snooping trust ...........................................................................................................................87
4.2.48.30 ip igmp snooping filter ...........................................................................................................................87
4.2.48.31 ip igmp snooping immediate-leave ........................................................................................................88
4.2.48.32 ip igmp snooping max-groups ...............................................................................................................88
4.2.48.33 ip igmp snooping mrouter......................................................................................................................89
4.2.48.34 ip verify source ......................................................................................................................................89
4.2.48.35 ip verify source limit...............................................................................................................................90
4.2.48.46 lldp med media-vlan policy-list...............................................................................................................95
-5-
Page 7
4.2.48.47 lldp med transmit-tlv ..............................................................................................................................96
4.2.48.59 mac address-table learning .................................................................................................................102
4.2.48.61 mtu ......................................................................................................................................................103
4.2.48.63 mvr name ............................................................................................................................................104
4.2.48.66 no ........................................................................................................................................................106
4.2.48.79 port-security maximum ........................................................................................................................113
4.2.49.1 do ..........................................................................................................................................................147
4.2.49.2 end ........................................................................................................................................................147
4.2.49.4 ip address..............................................................................................................................................148
4.2.49.5 ip address dhcp .....................................................................................................................................149
4.2.49.6 ip address dhcp fallback........................................................................................................................149
4.2.49.7 ip dhcp server........................................................................................................................................150
4.2.49.8 ip igmp snooping ...................................................................................................................................151
4.2.49.9 ip igmp snooping compatibility...............................................................................................................151
4.2.49.10 ip igmp snooping last-member-query-interval......................................................................................152
4.2.49.11 ip igmp snooping priority .....................................................................................................................152
4.2.49.12 ip igmp snooping querier address .......................................................................................................153
4.2.49.13 ip igmp snooping querier election........................................................................................................154
4.2.49.14 ip igmp snooping query-interval...........................................................................................................154
4.2.49.15 ip igmp snooping query-max-response-time........................................................................................155
4.2.49.16 ip igmp snooping robustness-variable .................................................................................................156
4.2.49.17 ip igmp snooping unsolicited-report-interval ........................................................................................156
4.2.49.28 no ........................................................................................................................................................163
4.2.50 ip arp inspection ..............................................................................................................................................163
4.2.51 ip arp inspection entry interface.......................................................................................................................164
4.2.52 ip arp inspection translate................................................................................................................................165
4.2.53 ip arp inspection translate interface .................................................................................................................165
4.2.54 ip arp inspection vlan.......................................................................................................................................166
4.2.55 ip dhcp excluded-address................................................................................................................................167
4.2.56 ip dhcp pool .....................................................................................................................................................167
4.2.56.7 do ..........................................................................................................................................................171
4.2.56.9 end ........................................................................................................................................................172
4.2.56.20 no ........................................................................................................................................................179
4.2.57 ip dns proxy .....................................................................................................................................................180
4.2.58 ip helper-address.............................................................................................................................................181
4.2.59 ip http secure-redirect......................................................................................................................................181
4.2.60 ip http secure-server........................................................................................................................................182
4.2.61 ip igmp host-proxy ...........................................................................................................................................183
4.2.62 ip igmp host-proxy leave-proxy........................................................................................................................183
4.2.63 ip igmp snooping .............................................................................................................................................184
4.2.64 ip igmp snooping vlan......................................................................................................................................184
4.2.65 ip igmp ssm-range...........................................................................................................................................185
4.2.66 ip igmp unknown-flooding................................................................................................................................185
4.2.67 ip name-server ................................................................................................................................................186
4.2.68 ip name-server dhcp........................................................................................................................................186
4.2.69 ip name-server dhcp interface vlan..................................................................................................................187
4.2.70 ip route ............................................................................................................................................................188
4.2.71 ip routing..........................................................................................................................................................188
4.2.72 ip source binding interface...............................................................................................................................189
4.2.73 ip ssh ...............................................................................................................................................................190
4.2.74 ip verify source ................................................................................................................................................190
4.2.75 ip verify source translate..................................................................................................................................191
4.2.77.1 default range .........................................................................................................................................192
4.2.77.3 do ..........................................................................................................................................................193
4.2.77.4 end ........................................................................................................................................................194
4.2.77.6 no ..........................................................................................................................................................195
4.2.77.7 range .....................................................................................................................................................196
4.2.86.1 do ..........................................................................................................................................................202
4.2.86.3 end ........................................................................................................................................................203
4.2.86.8 history size ............................................................................................................................................206
4.2.86.12 no ........................................................................................................................................................208
4.2.88 lldp med datum................................................................................................................................................210
4.2.89 lldp med fast .................................................................................................................................................... 211
4.2.90 lldp med location-tlv altitude ............................................................................................................................211
4.2.91 lldp med location-tlv elin-addr..........................................................................................................................212
4.2.92 lldp med location-tlv latitude ............................................................................................................................213
4.2.93 lldp med location-tlv longitude .........................................................................................................................213
4.2.94 lldp med media-vlan-policy ..............................................................................................................................214
4.2.104 mac address-table aging-time .......................................................................................................................220
4.2.105 mac address-table static................................................................................................................................220
4.2.109 mvr name <mvr_name> channel ...................................................................................................................223
4.2.110 mvr name <mvr_name> frame priority ...........................................................................................................223
4.2.111 mvr name <mvr_name> frame tagged...........................................................................................................224
4.2.112 mvr name <mvr_name> igmp-address ..........................................................................................................225
4.2.113 mvr name <mvr_name> last-member-query-interval .....................................................................................225
4.2.114 mvr name <mvr_name> mode.......................................................................................................................226
4.2.133 no ..................................................................................................................................................................238
4.2.135 ntp server ......................................................................................................................................................239
4.2.145.1 do ........................................................................................................................................................245
4.2.145.2 end ......................................................................................................................................................246
4.2.145.4 no ........................................................................................................................................................247
4.2.148 port-security aging time .................................................................................................................................250
4.2.172 snmp-server community ................................................................................................................................271
4.2.175.1 do ........................................................................................................................................................273
4.2.175.2 end ......................................................................................................................................................274
4.2.175.5 no ........................................................................................................................................................276
4.2.176.1 do ........................................................................................................................................................280
4.2.176.2 end ......................................................................................................................................................280
4.2.176.4 no ........................................................................................................................................................282
4.2.180 transport email authentication .......................................................................................................................289
4.2.181 transport email from.......................................................................................................................................289
4.2.182 transport email smtp-server...........................................................................................................................290
4.2.183 transport email to...........................................................................................................................................291
4.2.188.1 do ........................................................................................................................................................294
4.2.188.2 end ......................................................................................................................................................295
4.2.188.4 name ...................................................................................................................................................296
4.2.188.5 no ........................................................................................................................................................297
4.2.193 voice vlan class .............................................................................................................................................300
4.2.196 web privilege group .......................................................................................................................................302
4.6.1 dir ......................................................................................................................................................................305
4.8 do ...............................................................................................................................306
4.8.1 do ......................................................................................................................................................................306
4.15.1 more ................................................................................................................................................................311
4.16 no .............................................................................................................................312
4.16.1 no ....................................................................................................................................................................312
4.20.1 show aaa .........................................................................................................................................................316
4.20.2 show access management ..............................................................................................................................317
4.20.3 show access-list ..............................................................................................................................................317
4.20.4 show access-list ..............................................................................................................................................319
4.20.5 show access-list ace-status.............................................................................................................................320
4.20.6 show aggregation ............................................................................................................................................321
4.20.7 show aggregation mode ..................................................................................................................................322
4.20.8 show clock.......................................................................................................................................................323
4.20.9 show clock detail .............................................................................................................................................323
4.20.10 show dot1x statistics......................................................................................................................................324
4.20.11 show dot1x status ..........................................................................................................................................326
4.20.12 show green-ethernet......................................................................................................................................327
4.20.13 show green-ethernet energy-detect...............................................................................................................327
4.20.14 show green-ethernet short-reach...................................................................................................................328
4.20.15 show history ..................................................................................................................................................328
4.20.16 show interface <port_type> <port_type_list> capabilities ..............................................................................329
4.20.17 show interface <port_type> <port_type_list> statistics ..................................................................................330
4.20.18 show interface <port_type> <port_type_list> status ......................................................................................330
4.20.19 show interface <port_type> <port_list> sw itchport ....................................................................................331
4.20.20 show interface <port_type> <port_type_list> veriphy ....................................................................................332
4.20.21 show interface <port_type> <port_type_list> veriphy ....................................................................................333
4.20.22 show interface vlan........................................................................................................................................333
4.20.23 show ip arp ....................................................................................................................................................334
4.20.24 show ip dhcp detailed statistics .....................................................................................................................335
4.20.25 show ip dhcp excluded-address ....................................................................................................................336
4.20.26 show ip dhcp pool..........................................................................................................................................337
-15-
Page 17
4.20.27 show ip dhcp relay.........................................................................................................................................338
4.20.28 show ip dhcp server.......................................................................................................................................338
4.20.29 show ip dhcp server binding (GG) .................................................................................................................339
4.20.30 show ip dhcp server declined-ip (GG) ...........................................................................................................340
4.20.31 show ip dhcp server statistics........................................................................................................................340
4.20.32 show ip dhcp snooping ..................................................................................................................................342
4.20.33 show ip dhcp snooping table .........................................................................................................................342
4.20.34 show ip http server secure status ..................................................................................................................343
4.20.35 show ip igmp snooping ..................................................................................................................................344
4.20.36 show ip igmp snooping mrouter.....................................................................................................................344
4.20.37 show ip interface brief....................................................................................................................................345
4.20.38 show ip name-server .....................................................................................................................................346
4.20.39 show ip route .................................................................................................................................................346
4.20.40 show ip source binding ..................................................................................................................................347
4.20.41 show ip ssh....................................................................................................................................................348
4.20.42 show ip statistics............................................................................................................................................348
4.20.43 show ip verify source .....................................................................................................................................350
4.20.44 show ipmc profile...........................................................................................................................................351
4.20.45 show ipmc range ...........................................................................................................................................351
4.20.46 show ipv6 interface........................................................................................................................................352
4.20.47 show ipv6 mld snooping ................................................................................................................................353
4.20.48 show ipv6 mld snooping mrouter...................................................................................................................354
4.20.49 show ipv6 neighbor........................................................................................................................................355
4.20.50 show ipv6 route .............................................................................................................................................355
4.20.51 show ipv6 statistics........................................................................................................................................356
4.20.52 show lacp ......................................................................................................................................................358
4.20.53 show line .......................................................................................................................................................358
4.20.54 show lldp med media-vlan-policy...................................................................................................................359
4.20.55 show lldp med remote-device........................................................................................................................360
4.20.56 show lldp neighbors.......................................................................................................................................361
4.20.57 show lldp statistics.........................................................................................................................................361
4.20.58 show logging .................................................................................................................................................362
4.20.59 show loop-protect ..........................................................................................................................................363
4.20.60 show mac address-table................................................................................................................................364
4.20.61 show mvr .......................................................................................................................................................364
4.20.62 show network-clock .......................................................................................................................................366
4.20.63 show ntp status..............................................................................................................................................366
4.20.64 show platform phy .........................................................................................................................................367
4.20.65 show platform phy failover.............................................................................................................................368
4.20.66 show platform phy id......................................................................................................................................368
4.20.67 show platform phy status...............................................................................................................................369
-16-
Page 18
4.20.68 show port-security port ..................................................................................................................................370
4.20.69 show port-security switch ..............................................................................................................................370
4.20.70 show privilege................................................................................................................................................371
4.20.71 show pvlan ....................................................................................................................................................372
4.20.72 show pvlan isolation ......................................................................................................................................372
4.20.73 show qos .......................................................................................................................................................373
4.20.74 show radius-server ........................................................................................................................................375
4.20.75 show rmon alarm ...........................................................................................................................................376
4.20.76 show rmon event ...........................................................................................................................................377
4.20.77 show rmon history .........................................................................................................................................377
4.20.78 show rmon statistics ......................................................................................................................................378
4.20.79 show running-config ......................................................................................................................................379
4.20.80 show snmp ....................................................................................................................................................381
4.20.81 show snmp access ........................................................................................................................................383
4.20.82 show snmp community v3 .............................................................................................................................384
4.20.83 show snmp host.............................................................................................................................................385
4.20.84 show snmp mib context .................................................................................................................................385
4.20.85 show snmp mib ifmib ifIndex .........................................................................................................................388
4.20.86 show snmp security-to-group ........................................................................................................................389
4.20.87 show snmp user ............................................................................................................................................390
4.20.88 show snmp view ............................................................................................................................................391
4.20.89 show spanning-tree .......................................................................................................................................391
4.20.90 show switchport forbidden.............................................................................................................................392
4.20.91 show tacacs-server........................................................................................................................................393
4.20.92 show terminal ................................................................................................................................................394
4.20.93 show upnp .....................................................................................................................................................395
4.20.94 show users ....................................................................................................................................................395
4.20.95 show version .................................................................................................................................................396
4.20.96 show vlan ......................................................................................................................................................397
4.20.97 show vlan ip-subnet.......................................................................................................................................398
4.20.98 show vlan mac...............................................................................................................................................398
4.20.99 show vlan protocol.........................................................................................................................................399
4.20.100 show voice vlan ...........................................................................................................................................400
4.20.101 show web privilege group ............................................................................................................................401
4.21.3 terminal history size.........................................................................................................................................404
When accessing the management interface for the switch over a direct connection to the server’s console port, or via a Telnet
connection, the s witch can b e mana ged by entering command keywords and p arameters 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 commands in appropriate modes according to the nature of the command. A sample of the CLI command
modes are described below. Each of the command modes supports specific software commands.
Mode-based Command Hierarchy
The Command Line Interface (CLI) groups all the commands in appropriate modes by the nature of the commands. 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>
Switch#
Switch (Config)#
Enter Logout command
To exit to the User Mode, enter
exit or Logout.
To exit to the Privileged Mode,
enter the exit command.
Interface Config
Mode
The CLI is divide d into vari ous modes. T he comman ds i n one mo de a re not avai lable until the o perator s witches to that
particular mode. The commands available to the operator at any point in time depend upon the mode. Entering a question mark
(?) at the CLI prompt, and displayss a list of the available commands and descriptions of the commands.
From the Global Config
mode, enter the interface
<port#> command.
Table 4-1 CLI Command Modes
Switch (Interface <port#>)#
To exit to the Global Config
mode, enter exit.
-19-
Page 20
The CLI provides the following modes:
User Mode
When the operator logs into the CLI, the User Mode is the initial mode. The User Mode contains a limited set of commands. The
command prompt shown at this level is:
Command Prompt: switch>
Privileged Mode
To have access to the full suite of comm ands, the operator must enter the Privileged Mode. The Privileged Mod e requ ires
password authentication. From Privileged Mode, the operator can issue a ny Exec command to enter th e Global Configuration
mode. The command prompt shown at this level is:
Command Prompt: switch#
Global Config Mode
This mode permits the operator to make modificati ons to the running configuration. General setup commands are gr ouped in
this mod e. F rom the Glob al Configuration mode, the op erator can enter the In terface Confi guration mode. T he c ommand
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 operation. 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 l ater, Linux, UNIX, or oth er platforms
are compatible with TCP/IP protocols.
Workstations 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 Workstations have been installed with terminal emulator, 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 the console port of the Managed
Switch.
Ethernet Port Connection
Network cables -- Use standard network (UTP) cables with RJ-45 connectors.
The above PC is installed with Web Browser and JAVA runtime environment plug-in.
-20-
Page 21
Chapter 2 CONSOLE CLI MANAGEMENT
2.1 Terminal Setup
To configure th e system, connect a ser ial cable to a COM port on a PC or note book computer and to RJ-45 t ype of serial
(console) port of the Managed Switch.
Figure 2-1 Managed Switch Console Connectivity
A terminal pr ogram is re quired to make the software connection to th e Managed Switch. Windows' Hyper Terminal program
may be a good choice. The Hyper Terminal can be accessed from the Start menu.
1. Click START, then Programs, Accessories and then Hyper Terminal.
2. When the following screen appears, make sure that the COM port should be configured as:
To clear the statistics for specific GigabitEthernet port.
Example:
To clear the Switch’s statistics for specific GigabitEthernet 1/1.
Switch# clearstatistics GigabitEthernet 1/1
4.2 configure terminal
4.2.1 aaa authentication login console local
Command:
aaa authentication login console local
Default:
-46-
Page 47
console : local
Usage Guide:
To authenticate the local account via console only.
Example:
To authenticate the local account via console.
Switch# configure terminal
Switch (config)# aaa authentication login console local
4.2.2 aaa authentication login console radius
Command:
aaa authentication login console radius
Default:
console : local
Usage Guide:
To authenticate the radius account via console only.
Example:
To authenticate the local and radius account via console.
Switch# configure terminal
Switch (config)# aaa authentication login console local radius
4.2.3 aaa authentication login console tacacs
Command:
aaa authentication login console tacacs
Default:
console : local
Usage Guide:
To authenticate the tacacs account via console only.
Example:
To authenticate the local and radius and tacacs account via console.
-47-
Page 48
Switch# configure terminal
Switch (config)# aaa authentication login console local radius tacacs
4.2.4 aaa authentication login http local
Command:
aaa authentication login http local
Default:
http : local
Usage Guide:
To authenticate the local account via http only.
Example:
To authenticate the local account via http.
Switch# configure terminal
Switch (config)# aaa authentication login http local
4.2.5 aaa authentication login http radius
Command:
aaa authentication login http radius
Default:
http : local
Usage Guide:
To authenticate the radius account via http only.
Example:
To authenticate the local and radius account via http.
Switch# configure terminal
Switch (config)# aaa authentication login http local radius
4.2.6 aaa authentication login http tacacs
-48-
Page 49
Command:
aaa authentication login http tacacs
Default:
http : local
Usage Guide:
To authenticate the tacacs account via http only.
Example:
To authenticate the local and radius and tacacs account via http.
Switch# configure terminal
Switch (config)# aaa authentication login http local radius tacacs
4.2.7 aaa authentication login ssh local
Command:
aaa authentication login ssh local
Default:
ssh : local
Usage Guide:
To authenticate the local account via ssh only.
Example:
To authenticate the local account via ssh.
Switch# configure terminal
Switch (config)# aaa authentication login ssh local
4.2.8 aaa authentication login ssh radius
Command:
aaa authentication login ssh radius
Default:
ssh : local
Usage Guide:
-49-
Page 50
To authenticate the radius account via ssh only.
Example:
To authenticate the local and radius account via ssh.
Switch# configure terminal
Switch (config)# aaa authentication login ssh local radius
4.2.9 aaa authentication login ssh tacacs
Command:
aaa authentication login ssh tacacs
Default:
ssh : local
Usage Guide:
To authenticate the tacacs account via ssh only.
Example:
To authenticate the local and radius and tacacs account via console.
Switch# configure terminal
Switch (config)# aaa authentication login ssh local radius tacacs
4.2.10 aaa authentication login telnet local
Command:
aaa authentication login telnet local
Default:
telnet : local
Usage Guide:
To authenticate the local account via telnet only.
Example:
To authenticate the local account via telnet.
Switch# configure terminal
-50-
Page 51
Switch (config)# aaa authentication login telnet local
4.2.11 aaa authentication login telnet radius
Command:
aaa authentication login telnet radius
Default:
telnet : local
Usage Guide:
To authenticate the radius account via telnet only.
Example:
To authenticate the local and radius account via telnet.
Switch# configure terminal
Switch (config)# aaa authentication login telnet local radius
4.2.12 aaa authentication login telnet tacacs
Command:
aaa authentication login telnet tacacs
Default:
telnet : local
Usage Guide:
To authenticate the tacacs account via telnet only.
Example:
To authenticate the local and radius and tacacs account via telnet.
Switch# configure terminal
Switch (config)# aaa authentication login telnet local radius tacacs
4.2.13 access management
-51-
Page 52
Command:
access management <AccessId : 1-16> <AccessVid : 1-4095> <AddrRangeStart :
ipv4_addr | ipv6_addr> all | snmp | telnet | to | Web
<AccessId : 1-16> ID of access management entry
<AccessVid : 1-4095> The VLAN ID for the access management entry
<AddrRangeStart : ipv4_addr> Start IPv4 address
<AddrRangeStart : ipv6_addr> Start IPv6 address
all All services
snmp SNMP service
telnet TELNET/SSH service
to End address of the range
web Web service
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) .
Switch# configure terminal
Switch (config)# access management 1 1 2001::7788 all
action Access list action
dmac-type The type of destination MAC address
-52-
Page 53
frametype Frame type
ingress Ingress
logging Logging frame information. Note: The logging feature 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 specific port
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 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, polic y :
action Access list action
dmac-type The type of destination MAC address
frametype F rame type
ingress Ingress
logging Logging frame information. Note: The logging feature 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 Rat e limiter
redirect Redirect frame to specific port
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:
To set pps rate(10000 pps) for all rate-limiter ID.
Switch# configure terminal
Switch (config)# access-list rate-limiter pps 100
4.2.18 aggregation mode
Command:
-55-
Page 56
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
Usage Guide:
To configure static aggregation mode type.
Example:
To configure static aggregation mode type with Destination MAC affects the distribution and Source MAC affects the
distribution only.
Switch# configure terminal
Switch (config)# access-list rate-limiter pps 100
4.2.19 aggregation mode
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
Usage Guide:
To configure static aggregation mode type.
Example:
To configure static aggregation mode type with Destination MAC affects the distribution and Source MAC affects the
-56-
Page 57
distribution only.
Switch# configure terminal
Switch (config)# access-list rate-limiter pps 100
4.2.20 banner
Command:
banner <LINE>
<LINE> c banner-text c, where 'c' is a delimiting character
Default:
N/A
Usage Guide:
To configure banner-text.
Example:
To configure banner-text with word “ddddd”.
Switch# configure terminal
Switch (config)# banner 1
Enter TEXT message. End with the character '1'.
ddddd
1
Telnet 192.168.0.100
ddddd
Username:
4.2.21 banner exec
Command:
banner login <LINE>
<LINE> c banner-text c, where 'c' is a delimiting character
-57-
Page 58
Default:
N/A
Usage Guide:
To configure login banner-text.
Example:
To configure login banner-text with word “wwwwwwwwww”.
Switch# configure terminal
Switch (config)# banner exec 1
Enter TEXT message. End with the character '1'.
gggggg
1
Telnet 192.168.0.100:
Username: admin
Password:
gggggg
#
4.2.22 banner login
Command:
banner login <LINE>
<LINE> c banner-text c, where 'c' is a delimiting character
Default:
N/A
Usage Guide:
To configure login banner-text.
Example:
To configure login banner-text with word “wwwwwwwwww”.
Switch# configure terminal
Switch (config)# banner login 1
Enter TEXT message. End with the character '1'.
wwwwwwwwww
1
Console:
-58-
Page 59
Press ENTER to get started
wwwwwwwwww
Username: admin
Password:
4.2.23 banner motd
Command:
banner motd <LINE>
<LINE> c banner-text c, where 'c' is a delimiting character
Default:
N/A
Usage Guide:
To configure motd banner-text.
Example:
To configure motd banner-text with word “ffffff”.
Switch# configure terminal
Switch (config)# banner motd 1
Enter TEXT message. End with the character '1'.
ffffff
1
green-ethernet led interval <0~24> intensity <0-100>
<0~24> Interval from 00.00 to 24.00 (00 is used to start at midnight,
while 24 is used to stop at midnight).
intensity LEDs intensity.
<0-100> Intensity from 0% (LEDs OFF) to 100%
Default:
N/A
Usage Guide:
To configure LED Power reduction for interval time.
Example:
To configure LED Power reduction as tabled below.
Switch# configure terminal
Switch (config)# green-ethernet led interval 8-13 intensity 80
-68-
Page 69
4.2.42 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:
Switch# configure terminal
Switch (config)# green-ethernet led on-event error link-change 55
4.2.43 gvrp
Command:
gvrp
Default:
Disable
Usage Guide:
To enable GVRP.
Example:
To enable GVRP.
Switch# configure terminal
Switch (config)# gvrp
4.2.44 gvrp max-vlans
-69-
Page 70
Command:
gvrp max-vlans <1-4095>
Default:
20
Usage Guide:
To configure how many VLANs will be in GVRP.
Example:
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 GVRP.
Example:
To configure Join-time, Leave-time, Leave all-time for GVRP as tabled below.
-70-
Page 71
Switch# configure terminal
Switch (config)# gvrp time join-time 5 leave-all-time 1200 leave-time 150
4.2.46 help
Command:
help
Default:
N/A
Usage Guide:
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
argum ent.
2. Partial help is provided when an abbreviated argument is entered
and you want to know what arguments match the input
(e.g. 'show pr?'.)
4.2.47 hostname
Command:
hostname < WORD >
< WORD > This system's network name
Default:
-71-
Page 72
N/A
Usage Guide:
To configure switch’s hostname.
Example:
To configure switch’s hostname with “nsswitch”
Switch# configure terminal
Switch (config)# hostname nsswitch
nsswitch(config)#
4.2.48 interface * | GigabitEthernet
Command:
interface * | GigabitEthernet <port_type_list>
* All switches or All ports
GigabitEthernet 1 Gigabit Ethernet Port