4.2.2 clear ip dhcp snooping binding............................................................................................................................16
4.2.3 clear clear ip igmp snooping group......................................................................................................................16
4.2.4 clear ip prefix-list .................................................................................................................................................17
4.2.7 clear mac address-table dynamic........................................................................................................................18
4.3.5.7 ip dhcp snooping.......................................................................................................................................25
4.3.5.9 ip arp inspection check-vlan......................................................................................................................26
4.3.5.10 ip arp inspection logging..........................................................................................................................26
4.3.5.11 ip arp inspection trust ..............................................................................................................................27
4.3.5.12 ip dhcp snooping trust .............................................................................................................................28
4.3.6 interface sa | po...................................................................................................................................................46
4.3.7.4 ip address..................................................................................................................................................50
4.3.8 ip dhcp snooping .................................................................................................................................................50
4.3.9 ip igmp snooping .................................................................................................................................................51
4.3.10 ip interface vlan .................................................................................................................................................52
4.3.11 ip route...............................................................................................................................................................53
4.3.13 line vty...............................................................................................................................................................54
4.3.13.1 login local ................................................................................................................................................54
4.3.18 mac address-table static....................................................................................................................................58
4.3.20 no ......................................................................................................................................................................59
4.3.21 service advanced-vty.........................................................................................................................................60
4.3.22 service terminal length.......................................................................................................................................60
4.3.23 snmp-server community ....................................................................................................................................61
4.3.26 snmp-server group ............................................................................................................................................62
4.14.1 show cpuusage .................................................................................................................................................78
4.14.2 show debugging ................................................................................................................................................78
4.14.3 show flowcontrol................................................................................................................................................79
4.14.4 show history ......................................................................................................................................................79
4.14.5 show interface ...................................................................................................................................................80
-5-
Page 6
Command Guide
4.14.6 show ip arp........................................................................................................................................................81
4.14.7 show ip dhcp snooping......................................................................................................................................81
4.14.8 show ip igmp snooping......................................................................................................................................82
4.14.9 show ip interface brief........................................................................................................................................83
4.14.10 show ip route...................................................................................................................................................83
4.14.11 show lacp.........................................................................................................................................................84
4.14.12 show lldp .........................................................................................................................................................84
4.14.13 show logging ...................................................................................................................................................85
4.14.14 show mac address-table..................................................................................................................................85
4.14.15 show memory-utilization..................................................................................................................................86
4.14.16 show mirror......................................................................................................................................................86
4.14.17 show port-security ...........................................................................................................................................87
4.14.18 show privilege..................................................................................................................................................87
4.14.19 show process ..................................................................................................................................................88
4.14.20 show running-config ........................................................................................................................................88
4.14.21 show snmp ......................................................................................................................................................89
4.14.22 show spanning-tree mst ..................................................................................................................................90
4.14.23 show startup-config .........................................................................................................................................90
4.14.24 show static-channel-group...............................................................................................................................91
4.14.25 show storm-control..........................................................................................................................................92
4.14.26 show system-runtime.......................................................................................................................................92
4.14.27 show systime...................................................................................................................................................92
4.14.28 show user........................................................................................................................................................ 93
4.14.29 show version ...................................................................................................................................................93
4.14.30 show vlan ........................................................................................................................................................94
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 commands in appropriate modes according to the nature of the command. 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 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 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 operator at any point in time depend upon the mode. Entering a question 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.
Table 1-1 CLI Command Modes
Switch (Interface <port#>)#
To exit to the Global Config
mode, enter exit.
-8-
Page 9
Command Guide
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 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 gr ouped 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 operation. The command prompt at this level is:
Command Prompt: Switch(Interface <port#>)#
1.3 Requirements
Workstations running Windows XP/Vista/7/8/10, Windows 2003/2008, MAC OS X or later, Linux, UNIX, or other 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-RS232 converter.
The above Workstations have been installed with terminal emulator, such as Hyper Terminal, PuTTY.
Serial cable -- one end is attached to the RS232 serial port, while the other end to the console port of the 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.
-9-
Page 10
Command Guide
Chapter 2 CONSOLE CLI MANAGEMENT
2.1 Terminal Setup
To configure the system, connect a serial cable to a COM port on a PC or notebook computer and to RJ4 5 type of serial
(console) port of the Industrial Managed Switch.
The console port of the Industrial Managed Switch is an RJ45 type, RS232 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 RS232 cable in the package and connect to the
console port on the device. After the connection, users can run any terminal emulatio n program (Hyper Terminal, ProComm
Plus, Telix, Winterm and so on) to enter the startup screen of the device.
1. When the following screen appears, make sure that the COM port should be configured as:
Figure 2-3 Terminal emulatior 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 messag es 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.
-1
1-
Page 12
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 “runni ng
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-1 appears.
Username: admin
Password: admin
Figure 3-1: Switch Console Login Screen
The user can now enter commands to manage the Industrial Managed S witch. 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
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 vlan1 brief”.
2. The screen displays the current IP address and Subnet Mask as shown in Figure 3-2.
Figure 3-2: IP Information Screen
-
-12
Page 13
Configuring IP Address
3. At the “#” prompt, enter the following command and press <Enter>.as shown in Figure 3-3.
# configure terminal
(config)# ip route 0.0.0.0/0 192.168.1.254
(config)# interface vlan 1
(config-vlan1)# ip address 192.168.1.100/24
The previous command would apply the following settings for the Industrial Mana ged Switch.
IP Address: 192.168.1.100
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.254
Figure 3-3: Configuring IP Address Screen
Command Guide
4. Repeat step 1 to check if the IP address is changed.
Store current switch configuration
5. At the “#” prompt, enter the following command and press <Enter>.
# copy running-config startup-config
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 related parameter, enter “ ?” anytime
in console to get the help description.
-
-13
Page 14
Command Guide
Chapter 3 TELNET CLI MANAGEMENT
3.1 Telnet Login
The Industrial Managed Switch also supports telnet for remote management. T he switch asks for user name a nd 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
Switch# configure terminal
Switch (config)# help
FOS CLI provides advanced help feature. When you need help,
anytime at the command line please press '?'.
If nothing matches, the help list will be empty and you must backup
until entering a '?' shows the available options.
-20
-
Page 21
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.
2. Partial help is provided when an abbreviated argument is entered
and you want to know what arguments match the input
(e.g. 'show ve?'.)
4.3.4 hostname
Command:
hostname < WORD >
Command Guide
< WORD > This system's network name
Default:
N/A
Usage Guide:
To configure switch’s hostname.
Example:
To configure switch’s hostname with “planetbestswitch”
<1-32> Channel group number mode Channel mode commands
active Enable initiation of LACP negotiation on a port
passive Disable initiation of LACP negotiation on a port
Default:
Disable
Usage Guide:
To enable active or passive mode for the LACP.
-
-22
Page 23
Example:
To enable active mode for the LACP profile 1 in the ge4.
<1-15> Green ethernet (Power reduction)
path-cost Enable power saving for ports with no link partner.
<1-200000000> Enable power saving for ports with no link partner.
priority Enable power saving for ports with no link partner.
<0-240> Enable power saving for ports with no link partner.
-
-24
Page 25
Default:
N/A
Usage Guide:
To configure MSTP instance path-cost or priority for ports.
Example:
To configure MSTP instance (1) or priority(16) for ge4
lacp Enable LACP on this interface
timeout The period between BPDU transmissions
short Transmit BPDU each second (fast timeout)
long Transmit BPDU each 30th second (slow timeout)
Default:
Short
Usage Guide:
To configure LACP timeout typefor specific interface
egress Egress rate
ingress Ingress rate
<line rate> Limit rate <64-10485760 kbps> (usable units : k, m, g, must be a multiple of 64k)
<burstsize> Burst size <32 kbit - 128 Mbit> (usable units : k, m, must be a multiple of 32k)
Default:
Disable
Usage Guide:
To configure line rate for specific interface
Example:
To configure line rate (Egress rate: 120Mbps) for for ge4
disable The port can neither transmit nor receive LLDP frames
rx The port can only receive LLDP frames
tx The port can only transmit LLDP frames
txrx The port can both transmit and receive LLDP frames
Command Guide
Default:
Disable
Usage Guide:
To configure LLDP Rx only mode for specific interface
bpdu-filter Set the portfast bpdu-filter for the port
bpdu-guard Guard the port against reception of BPDUs
default Default
disable Disable
enable Enable
Default:
Disabled
Usage Guide:
To enable prot-fast mode of CIST Normal Port Configuration for specific interface
Command Guide
Example:
To enable prot-fast mode (bpdu-filter) of CIST Normal Port Configuration for ge4
switchport Switching mode cha racteristics
hybrid Change PVID for hybrid port
allowed Set allowed VLAN characteristics when interface is in hybrid mode
<vlan_list> VLAN IDs of the allowed VLANs when this port is in hybrid mode
add Add VLANs to the current list
-
-39
Page 40
all All VLANs
except All VLANs except the following
none No VLANs
remove Remove VLANs from the current list
Default:
All
Usage Guide:
To configure VLAN list of Hybrid VLAN for specific interface
Example:
To configure VLAN list (None) of Hybrid VLAN for ge4
switchport Switching mode characteristics
forbidden Adds or removes forbidden VLANs from the current list of forbidden VLANs
vlan Add or modify VLAN entry in forbidden table.
remove Remove from existing list.
<vlan_list> VLAN IDs
Default:
1
Usage Guide:
To remove forbidden VLAN ID for specific interface
mac-address Secure MAC address
<mac> MAC address in HHHH.HHHH.HHHH format
vlan VLAN.
<vlan id> VLAN ID
maximum Max secure addresses
<1-1024> Maximum addresses
Default:
N/A
Command Guide
Usage Guide:
To configure switchport port-security mode for specific interface
Example:
To configure switchport port-security mode (2 entries) for ge4
<vlan_list> VLAN IDs of the allowed VLANs when this port is in hybrid mode
add Add VLANs to the current list
except All VLANs except the following
none No VLANs
remove Remove VLANs from the current list
-
-45
Page 46
Default:
All
Usage Guide:
To configure VLAN list of trunk VLAN for specific interface
Example:
To configure VLAN list (Add VLAN ID6) of trunk VLAN for ge4
dst-ip Destination IP address based load balancing
dst-mac Destination Mac address based load balancing
src-dst-ip Source and Destination IP address based load balancing
src-dst-mac Source and Destination Mac address based loa d balancing
src-ip Source IP address based load balancing
src-mac Source Mac address based load balancing
Default:
N/A
Usage Guide:
To configure load-balance rule for groups.
Example:
To configure load-balance rule(dst-ip) for groups sa1
delay-time Delay time for dynamic leave group record fast-leave Fast Leave Processing
last-member-query-count Last Member Query Count
last-member-query-interval Last Member Query Interval
limit IGMP Limit
mrouter Multicast Router
-
-51
Page 52
multicast-vlan IGMP Snooping Multicast vlan
querier Querier
querier-timeout IGMP previous querier timeout
query-interval Query Interval
query-max-response-time IGMP Max Query Response Time
report-suppression IGMPv1/V2 Report Suppression
robustness-variable Robustness Variable
source-ip Source IP for Querier
static-group Static Group to be Joined
version IGMP Version
vlan Identify the VLAN to use
<0-260> Delay time(default:12s)
<VLAN ID> VLAN ID
<2-7> Last Member Query Count value (Default: 2)
<1000-25500> Last Member Query Interval value (D efault: 1000 ms)
Command Guide
<Port> Port
<60-300> IGMP previous querier timeout value
<1-18000> Query Interval value (Default: 125 s)
<1-25> Query Reponse Time (Default: 10 s)
<IP> Multicast IP
<1-3> Version Number (Default: 3)
<1-999> MAC-based VLAN rule ID
mac MAC address
<mac> MAC address in HHHH.HHHH.HHHH format
vlan VLAN ID
-65
-
Page 66
<vlan> VLAN ID
<1000-1999> IP Subnet-based VLAN rule ID
ipv4 IP address
<ipv4 subnet> IP address in A.B.C.D/M format
<2000-2099> Protocol-based VLAN rule ID
proto proto - specify an ethernet protocol classification
<2000-2099> Protocol-based VLAN rule ID
<0-65535> ethernet decimal
arp protocol - Address Resolution
atalkaarp protocol - Appletalk AARP
atalkddp protocol - Appletalk DDP atmmulti protocol - MultiProtocol Over ATM
atmtransport protocol - Frame-based ATM Transport
dec protocol - DEC Assigned
deccustom protocol - DEC Customer use
Command Guide
decdiagnostics protocol - DEC Diagnostics
decdnadumpload protocol - DEC DNA Dump/Load
decdnaremoteconsole protocol - DEC DNA Remote Console
decdnarouting protocol - DEC DNA Routing
declat protocol - DEC LAT
decsyscomm protocol - DEC Systems Comms Arch
g8bpqx25 protocol - G8BPQ AX.25
vlan VLAN ID
<2-4094> Create VLAN ID
private-vlan VLAN ID
association Set vlan type to secondary VLAN
community Set vlan type to community VLAN
isolated Set vlan type to isolated VLAN
primary Set vlan type to primary VLAN
disable disable web function
enable enable web function
max-connect max-connect
<1-8> max num of connect
refresh-interval refresh-interval
<100-10000> time of refresh interval (default 1000 ms)
copy Copy from source to destination
flash:filename | tftp://server/path-and-filename File in FLASH or on TFTP server
running-config Currently running configuration
startup-config Startup configuration Output modifiers
syntax-check Perform syntax check on source configuration
Default:
None
Usage Guide:
To copy configuration from source to destination
Example:
To copy configuration from source (running-config) to destination (startup-config)
file The file on flash
private-config Erase configuration in NV memory
startup-config Erase configuration in NV memory
Default:
None
Usage Guide:
To erase data of Flash
Command Guide
Example:
To erase startup-config to default factory configuration(Factory Reset)
Switch # erase startup-config
erase startup-config? (y/n): y
4.10 exit
4.10.1 exit
Command:
exit
exit Exit from EXEC mode
Default:
None
Usage Guide:
To exit EXEC mode
Example:
To exit EXEC mode
Switch # disable
-75
-
Page 76
Switch > exit
Press ENTER to get started
4.11 no
4.11.1 no
Command:
no
no Negate a command or set its defaults
Command Guide
Default:
N/A
Usage Guide:
To default the function
Example:
To disable the function (lacp system-priority 1)
Switch# no lacp system-priority 1
4.12 ping
4.12.1 ping
Command:
ping <ip_addr>
<ip_addr> ICMP destination address
Default:
N/A
Usage Guide:
To run the IPv4 Ping function
Example:
To run the IPv4 Ping (192.168.0.5) function
-76
-
Page 77
Switch# ping 192.168.0.5
PING 192.168.0.5 (192.168.0.5): 100 data bytes
100 bytes from 192.168.0.5: icmp_seq=0 time=1.763 ms
100 bytes from 192.168.0.5: icmp_seq=1 time=0.957 ms
100 bytes from 192.168.0.5: icmp_seq=2 time=1.313 ms
100 bytes from 192.168.0.5: icmp_seq=3 time=0.931 ms
100 bytes from 192.168.0.5: icmp_seq=4 time=1.280 ms
----192.168.0.5 PING Statistics---5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.931/1.248/1.763 ms
4.13 reboot
Command Guide
4.13.1 reboot
Command:
reboot {unconditionally}
unconditionally no interactivity
Default:
None
Usage Guide:
To reboot the switch
Example:
To reboot the switch
Switch # reboot
System configuration has been modified. Save? [y/n]: y
Building configuration...
[OK!]
Proceed with reboot? [y/n]y
-
-77
Page 78
4.14 show
4.14.1 show cpuusage
Command:
show cpuusage
Default:
N/A
Usage Guide:
To display the CPU usage.
Example:
To display the CPU usage.
Command Guide
Switch # show cpuusage
cpu0: 32%
4.14.2 show debugging
Command:
show debugging
Default:
N/A
Usage Guide:
To display debugging functions.
Example:
To display debugging functions.
Switch # show debugging
NSM debugging status:
Snmp debugging is off
LLDP debugging status:
IGMP Snooping Debugging status:
LACP debugging status:
-78
-
Page 79
Snmp debugging is off
MSTP debugging status:
Snmp debugging is off
DHCP snooping debugging status:
4.14.3 show flowcontrol
Command:
show flowcontrol
Command Guide
Default:
N/A
Usage Guide:
To display IEEE 802.3x Flow Control Statistics.
Example:
To display IEEE 802.3x Flow Control Statistics.
Switch # show flowcon trol
Port Send FlowControl Receive FlowControl RxPause TxPause
admin oper admin oper
Switch # show history
service terminal-length 1
do sh ru
service terminal-length
snmp-server community 22 ro
snmp-server contact snmp-server contact Server123
snmp-server contact Server123
snmp-server enable traps
snmp-server group qq
snmp-server group qq v3 auth
snmp-server host 192.168.0.4
snmp-server host 192.168.0.4 traps www
snmp-server location 123
snmp-server location Server123
show cpuusage
Command Guide
show debugging
show flash
show flow
show flowcontrol
show history
4.14.5 show interface
Command:
show interface [<port_type_list> | switchport]
<port_type_list> port_type_list
switchport Show interface switchport informati on
Default:
N/A
Usage Guide:
To display the interface information.
Example:
To display the interface information for interface ge1.
Switch # show interface ge1
Interface ge1
-80
-
Page 81
Hardware is Ethernet, address is 005e.be00.05b4 (bia 0 05e.be00.05b4)
index 5001 metric 1 jumbo-frame 13312 duplex-half
<UP,BROADCAST,MULTICAST>
VRF Binding: Not bound
DHCP client: no started
input packets 00, bytes 00, dropped 00, multicast packets 00
output packets 00, bytes 00, multicast packets 00 broadcast packets 00
4.14.6 show ip arp
Command:
show ip arp
Command Guide
Default:
N/A
Usage Guide:
To display the ARP table.
Example:
To display the ARP table for all.
Switch # show ip arp
192.168.0.45 via VLAN1:d4-3d-7e-fd-e3-ac
192.168.0.78 via VLAN1:00-30-4f-97-72-2d
4.14.7 show ip dhcp snooping
Command:
show ip dhcp snooping
Default:
N/A
Usage Guide:
To display the DHCP Snooping configuration.
Example:
To display the DHCP Snooping configuration.
-81
-
Page 82
Switch # show ip dhcp snooping
switch DHCP snooping is enabled
DHCP snooping is configured on following VLANS:
1
Verification of hwaddr field is enabled
4.14.8 show ip igmp snooping
Command:
show ip igmp snooping [ vlan <vlan_list> ] [ group ( vlan <vlan_list> ) ] [mrouter
( vlan <vlan_list> ) ] ] [querier ( vlan <vlan_list> )]
group IGMP Snooping group information
mrouter IGMP Snooping Mrouter information
Command Guide
querier IGMP Snooping Querier information
vlan Identify the VLAN to use
Default:
N/A
Usage Guide:
To display the IGMP Snooping information.
Example:
To display the IGMP Snooping information (Querier mode, VLAN 1).
Switch # show ip igmp snooping querier vlan 1
Global IGMP Snooping Querier Configuration
------------------------------------
vlan :1
-----------------------------------Admin State :Disable
Querier IP Address :0.0.0.0
Last-Member-Query-Count :2
Last-Member-Query-Interval :1000(ms)
Query Interval :125(s)
Other Querier Interval :255(s)
Query Response Time :10(s)
-
-82
Page 83
4.14.9 show ip interface brief
Command:
show ip interface brief
brief Brief IP interface status
Default:
N/A
Usage Guide:
To display the IP interface status.
Example:
To display the IP interface status.
Switch # show ip interface brief
Interface IP-Address Status Protocol
Command Guide
ge1 unassigned up down
ge2 unassigned up down
4.14.10 show ip route
Command:
show ip route
Default:
N/A
Usage Guide:
To display the IP Routing table.
Example:
To display the IP Routing table.
Switch # show ip route
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default
Gateway of last resort is 192.168.0.254 to network 0.0.0.0
-
-83
Page 84
S* 0.0.0.0/0 [1/0] via 192.168.0.254, vlan1
C 127.0.0.0/8 is directly connected, lo
C 192.168.0.0/24 is directly connected, vlan1
S 192.168.1.0/24 [1/0] via 192.168.0.10, vlan1
4.14.11 show lacp
Command:
show lacp { counter | etherchannel | port | sys-id }
lacp Link Aggregation Control Protocol (LACP)
mstp Multiple Spanning Tree Protocol (MSTP)
vlan Add, delete, or modify values associated with a single VLAN
Default:
N/A
Usage Guide:
To display the running-config.
Example:
To display the running-config.
-
-88
Page 89
Command Guide
Switch # show running-config
!
!
spanning-tree mst config
!
no multiple-spanning-tree enable
!
interface lo
mtu 32768
!
interface vlan1
ip address 192.168.0.100/24
!
interface ge1
jumbo-frame 13312
4.14.21 show snmp
Command:
show snmp {community | contact | engine-id | group | host | location | sub-agent |
user | view}
community show community information
contact contact
engine-id engineID of the local agent
group show SNMPv3 groups
host notify target information
location location
sub-agent sub agent
user show SNMPv3 users
view show SNMPv3 views
brief Display Brief information
config Display Configuration information
detail Display detailed information
instance Display instance information
interface Interface information
<1-15> instance_id
Command Guide
<port_type> Port Type
Default:
N/A
Usage Guide:
To display the STP information.
Example:
To display the STP information.
Switch # show spanning-tree mst brief
Multiple spanning tree protocol Disabled
%% MST 0 VLAN : 1
Root ID 32768-0011.2233.4457
Bridge ID 32768-0011.2233.4457
Reg Root ID 32768-0011.2233.4457
4.14.23 show startup-config
Command:
show startup-config
Default:
N/A
-90
-
Page 91
Usage Guide:
To display the startup-config.
Example:
To display the startup-config.
Switch # show startup-config
!
!
spanning-tree mst config
!
no multiple-spanning-tree enable
!
interface lo
mtu 32768
!
Command Guide
interface vlan1
ip address 192.168.0.100/24
!
interface ge1
jumbo-frame 13312
4.14.24 show static-channel-group
Command:
show static-channel-group
Default:
N/A
Usage Guide:
To display the Static channel.
Example:
To display the Static channel.
Switch # show static-channel-group
-91
-
Page 92
4.14.25 show storm-control
Command:
show storm-control <port_type>
<port_type> Port Type
Default:
N/A
Usage Guide:
To display the storm-control configuration.
Example:
To display the storm-control configuration with ge1.
Switch # show storm-control ge1
Command Guide
Port BcastLevel McastLevel DlfLevel
ge1 disable disable disable
4.14.26 show system-runtime
Command:
show system-runtime
Default:
N/A
Usage Guide:
To display the system-runtime information.
Example:
To display the system-runtime information.
Switch # show system-runtime
The system running time:DAY:0 HOUR:0 MIN:39 SEC:26
4.14.27 show systime
Command:
show systime
-92
-
Page 93
Default:
N/A
Usage Guide:
To display the system time information.
Example:
To display the system time information.
Switch # show systime
The current time:2000-01-01 00:40:05
4.14.28 show user
Command Guide
Command:
show user
Default:
N/A
Usage Guide:
To display the user status.
Example:
To display the user status for all.
Switch # show user
username admin password ******
4.14.29 show version
Command:
show version
Default:
N/A
Usage Guide:
To display the software and system information.
Example:
-93
-
Page 94
To display the software and system information.
Switch # show verison
Version : 1.0b151208
Created : 2015-12-08 17:02:08
Product Name: GS-2240-48T4X
MAC Address : 0011.2233.4455
DRAM SIZE : 262144K bytes
FLASH SIZE : 32768K bytes
Running Time: DAY:0 HOUR:0 MIN:41 SEC:58