q-Tech QSW-2900 User manual

QTECH QSW-2900 Ethernet Switch
User’s Manual
Command Line Reference Manual
1. Accessing Switch Command
2. PortConfiguration Command
3. VLAN Configuration Command
4. Multicast Protocol Configuration
Command
5. ACL Configuration Command
6. QOS Configuration Command
7. STP Configuration Command
8. 802.1x Configuration Command
9. SNTP Client Configuration
Command
10. Syslog Configuration Command
11. SSH Configuration Command
12. Switch Management and
Maintenance Command


Content
Chapter 1 Switch Logging in Command......................................................1-1
1.1 Switch Logging in Command.................................................................1-1
1.1.1 cls................................................................................................1-1
1.1.2 configure terminal........................................................................1-2
1.1.3 enable..........................................................................................1-3
1.1.4 end...............................................................................................1-3
1.1.5 exit...............................................................................................1-5
1.1.6 help..............................................................................................1-6
1.1.7 hostname.....................................................................................1-6
1.1.8 interface.......................................................................................1-8
1.1.9 muser...........................................................................................1-9
1.1.10 quit...........................................................................................1-10
1.1.11 show muser .............................................................................1-11
1.1.12 show username.......................................................................1-11
1.1.13 stop..........................................................................................1-12
1.1.14 timeout.....................................................................................1-13
1.1.15 username username privilege.................................................1-14
1.1.16 username change-password...................................................1-16
Chapter 2 Port Configuration Command.....................................................2-1
2.1 Ethernet Interface Configuration Command..........................................2-1
2.1.1 clear interface..............................................................................2-2
2.1.2 description...................................................................................2-3
2.1.3 duplex..........................................................................................2-4
2.1.4 flow-control..................................................................................2-6
2.1.5 ingress acceptable-frame............................................................2-7
2.1.6 ingress filtering............................................................................2-8
I

2.1.7 priority..........................................................................................2-9
2.1.8 show description........................................................................2-11
2.1.9 show interface...........................................................................2-12
2.1.10 show statistics interface ..........................................................2-13
2.1.11 shutdown .................................................................................2-14
2.1.12 speed.......................................................................................2-15
2.1.13 bandwidth-control....................................................................2-17
2.1.14 show bandwidth-control...........................................................2-18
2.1.15 switchport access....................................................................2-19
2.1.16 switchport mode......................................................................2-20
2.1.17 switchport trunk allowed vlan..................................................2-21
2.1.18 switchport trunk native vlan.....................................................2-23
2.1.19 tag............................................................................................2-24
2.1.20 show statistics dynamic interface............................................2-26
2.1.21 show utilization interface.........................................................2-26
2.2 Interface Mirror Configuration Command............................................2-27
2.2.1 mirror destination-interface........................................................2-27
2.2.2 mirror source-interface..............................................................2-28
2.2.3 show mirror................................................................................2-30
2.3 Port CAR Configuration Command.....................................................2-31
2.3.1 port-car......................................................................................2-31
2.3.2 port-car-open-time.....................................................................2-32
2.3.3 port-car-rate...............................................................................2-33
2.3.4 show port-car.............................................................................2-34
2.4 Port LACP Configuration Command....................................................2-35
2.4.1 channel-group ...........................................................................2-35
2.4.2 channel-group mode .................................................................2-36
2.4.3 channel-group load-balance......................................................2-38
2.4.4 lacp system-priority ...................................................................2-38
II

2.4.5 lacp port-priority.........................................................................2-40
2.4.6 show lacp sys-id........................................................................2-41
2.4.7 show lacp internal......................................................................2-42
2.4.8 show lacp neighbor ...................................................................2-43
2.5 Port Alarm Configuration Command....................................................2-44
2.5.1 alarm all-packets .......................................................................2-44
2.5.2 alarm all-packets threshold .......................................................2-45
2.5.3 show alarm all-packets..............................................................2-46
2.5.4 show alarm all-packets interface...............................................2-47
Chapter 3 VLAN Configuration Command ..................................................3-1
3.1 VLAN Configuration...............................................................................3-1
3.1.1 description...................................................................................3-1
3.1.2 show vlan.....................................................................................3-2
3.1.3 switchport ....................................................................................3-3
3.1.4 vlan..............................................................................................3-5
3.2 GVRP Configuration Command ............................................................3-7
3.2.1 gvrp..............................................................................................3-7
3.2.2 show gvrp....................................................................................3-8
3.2.3 show gvrp interface.....................................................................3-9
3.2.4 garp permit vlan.........................................................................3-10
3.2.5 show garp permit vlan...............................................................3-11
3.3 QinQ command ...................................................................................3-12
3.3.1 dtag............................................................................................3-12
3.3.2 dtag mode..................................................................................3-14
3.3.3 dtag insert..................................................................................3-15
3.3.4 dtag pass-through......................................................................3-16
3.3.5 rewrite-outer-vlan ......................................................................3-17
3.3.6 vlan-swap ..................................................................................3-18
3.3.7 show dtag..................................................................................3-19
III

3.3.8 show rewrite-outer-vlan.............................................................3-20
3.3.9 show vlan-swap.........................................................................3-20
Chapter 4 Multicast Protocol Configuration Command ...............................4-1
4.1 Static Multicast Configuration Command ..............................................4-1
4.1.1 multicast mac-address ................................................................4-1
4.1.2 multicast mac-address vlan interface..........................................4-2
4.1.3 show multicast.............................................................................4-4
4.2 IGMP snooping and GMRP Configuration Command...........................4-6
4.2.1 gmrp ............................................................................................4-6
4.2.2 igmp-snooping.............................................................................4-7
4.2.3 igmp-snooping host-aging-time...................................................4-8
4.2.4 igmp-snooping max-response-time.............................................4-9
4.2.5 igmp-snooping fast-leave..........................................................4-10
4.2.6 igmp-snooping group-limit.........................................................4-11
4.2.7 igmp-snooping permit/deny group.............................................4-12
4.2.8 igmp-snooping route-port forward.............................................4-13
4.2.9 show gmrp.................................................................................4-14
4.2.10 show gmrp interface................................................................4-14
4.2.11 garp permit multicast mac-address.........................................4-16
4.2.12 show garp permit multicast......................................................4-17
4.2.13 show igmp-snooping ...............................................................4-18
4.2.14 igmp-snooping route-port vlan vlanID interface interface-list..4-18
4.2.15 no igmp-snooping router-port-age...........................................4-20
4.2.16 igmp-snooping general-query source-ip ipaddress.................4-20
4.2.17 igmp-snooping query-max-respon seconds............................4-21
4.2.18 igmp-snooping querier-vlan vlanID .........................................4-22
4.2.19 igmp-snooping query-interval seconds ...................................4-23
4.2.20 igmp-snooping querier.............................................................4-24
4.3 Cross-VLAN Multicast Configuration...................................................4-25
IV

4.3.1 cross-vlan multicast...................................................................4-25
4.3.2 cross-vlan multicast...................................................................4-26
4.3.3 show cross-vlan multicast .........................................................4-27
Chapter 5 ACL Configuration Command...................................................5-29
5.1 ACL configuration command list..........................................................5-29
5.1.1 absolute.....................................................................................5-29
5.1.2 access-group.............................................................................5-32
5.1.3 access-list..................................................................................5-34
5.1.4 access-list extended..................................................................5-42
5.1.5 access-list link...........................................................................5-45
5.1.6 access-list match-order.............................................................5-48
5.1.7 access-list standard...................................................................5-49
5.1.8 access-list user..........................................................................5-52
5.1.9 { permit | deny } .........................................................................5-55
5.1.10 periodic....................................................................................5-63
5.1.11 show access-list config............................................................5-67
5.1.12 show access-list config statistic...............................................5-69
5.1.13 show access-list runtime.........................................................5-70
5.1.14 show access-list runtime statistic............................................5-72
5.1.15 show time-range......................................................................5-73
5.1.16 time-range...............................................................................5-75
Chapter 6 QOS Configuration Command....................................................6-1
6.1 QoS Configuration Command...............................................................6-1
6.1.1 queue-scheduler..........................................................................6-1
6.1.2 queue-scheduler cos-map...........................................................6-3
6.1.3 show queue-scheduler................................................................6-4
6.1.4 show queue-scheduler cos-map.................................................6-5
6.1.5 port-isolation................................................................................6-6
6.1.6 show port-isolation ......................................................................6-7
V

6.1.7 storm-control................................................................................6-8
Chapter 7 STP Configuration Command..................................................... 7-1
7.1 STP Configuration Command................................................................7-1
7.1.1 show spanning-tree interface......................................................7-1
7.1.2 spanning-tree...............................................................................7-3
7.1.3 spanning-tree cost.......................................................................7-4
7.1.4 spanning-tree forward-time .........................................................7-5
7.1.5 spanning-tree hello-time..............................................................7-6
7.1.6 spanning-tree max-age ...............................................................7-8
7.1.7 spanning-tree port-priority...........................................................7-9
7.1.8 spanning-tree mcheck...............................................................7-11
7.1.9 spanning-tree point-to-point ......................................................7-11
7.1.10 spanning-tree portfast .............................................................7-13
7.1.11 spanning-tree transit-limit........................................................7-14
7.1.12 spanning-tree priority...............................................................7-15
7.1.13 spanning-tree mode ................................................................7-16
7.1.14 spanning-tree remote-loop-detect...........................................7-17
7.1.15 clear spanning-tree..................................................................7-18
7.2 MSTP Configuration command ...........................................................7-19
7.2.1 spanning-tree mst max-hops.....................................................7-21
7.2.2 spanning-tree mst name............................................................7-22
7.2.3 spanning-tree mst revision........................................................7-23
7.2.4 spanning-tree mst instance vlan................................................7-23
7.2.5 spanning-tree mst instance instance-num priority.....................7-25
7.2.6 spanning-tree mst external cost................................................7-26
7.2.7 spanning-tree mst instance cost................................................7-27
7.2.8 spanning-tree mst instance port-priority....................................7-28
7.2.9 show spanning-tree mst config-id..............................................7-29
7.2.10 show spanning-tree mst instance interface.............................7-29
VI

7.2.11 spanning-tree mst config-digest-snooping...............................7-30
Chapter 8 802.1X Configuration Command................................................ 8-1
8.1 Domain Configuration Command..........................................................8-1
8.1.1 aaa...............................................................................................8-1
8.1.2 access-limit..................................................................................8-2
8.1.3 default domain-name enbale.......................................................8-4
8.1.4 domain.........................................................................................8-5
8.1.5 show domain ...............................................................................8-7
8.1.6 radius host...................................................................................8-8
8.1.7 state.............................................................................................8-9
8.2 RADIUS Server Configuration Command...........................................8-10
8.2.1 client-ip......................................................................................8-11
8.2.2 primary-ip...................................................................................8-12
8.2.3 radius host.................................................................................8-14
8.2.4 realtime-account........................................................................8-15
8.2.5 second-ip...................................................................................8-16
8.2.6 secret-key..................................................................................8-17
8.2.7 show radius host .......................................................................8-19
8.2.8 username-format.......................................................................8-20
8.3 802.1X Configuration Command.........................................................8-21
8.3.1 dot1x..........................................................................................8-22
8.3.2 dot1x daemon............................................................................8-23
8.3.3 dot1x eap-finish.........................................................................8-26
8.3.4 dot1x eap-transfer.....................................................................8-27
8.3.5 dot1x max-user..........................................................................8-28
8.3.6 dot1x port-control ......................................................................8-30
8.3.7 dot1x re-authenticate.................................................................8-32
8.3.8 dot1x re-authentication..............................................................8-33
VII

8.3.9 dot1x timeout re-authperiod......................................................8-34
8.3.10 dot1x user cut..........................................................................8-36
8.3.11 show dot1x...............................................................................8-37
8.3.12 show dot1x daemon................................................................8-38
8.3.13 show dot1x interface ...............................................................8-38
8.3.14 show dot1x session.................................................................8-39
Chapter 9 SNTP Client Configuration Command........................................ 9-1
9.1 SNTP client configuration command list................................................9-1
9.1.1 show sntp client...........................................................................9-1
9.1.2 sntp client ....................................................................................9-2
9.1.3 sntp client authenticate................................................................9-3
9.1.4 sntp client authentication-key......................................................9-4
9.1.5 sntp client broadcastdelay...........................................................9-5
9.1.6 sntp client mode..........................................................................9-6
9.1.7 sntp client multicast ttl.................................................................9-8
9.1.8 sntp client poll-interval.................................................................9-9
9.1.9 sntp client retransmit.................................................................9-10
9.1.10 sntp client retransmit-interval ..................................................9-12
9.1.11 sntp client valid-server.............................................................9-13
9.1.12 sntp server...............................................................................9-14
9.1.13 sntp trusted-key.......................................................................9-16
Chapter 10 Syslog Configiration Command..............................................10-1
10.1 Syslog Configuration Command........................................................10-1
10.1.1 show logging ...........................................................................10-2
10.1.2 show logging buffered.............................................................10-2
10.1.3 show logging flash...................................................................10-3
10.1.4 show logging filter....................................................................10-4
10.1.5 show debug.............................................................................10-5
10.1.6 logging.....................................................................................10-6
VIII

10.1.7 logging sequence-numbers.....................................................10-7
10.1.8 logging timestamps..................................................................10-7
10.1.9 logging monitor........................................................................10-9
10.1.10 terminal monitor...................................................................10-11
10.1.11 logging buffered...................................................................10-12
10.1.12 clear logging buffered..........................................................10-14
10.1.13 logging flash........................................................................10-14
10.1.14 clear logging flash ...............................................................10-16
10.1.15 logging host.........................................................................10-17
10.1.16 logging facility......................................................................10-19
10.1.17 logging source.....................................................................10-20
10.1.18 logging snmp-agent.............................................................10-21
10.1.19 debug...................................................................................10-24
10.1.20 upload logging.....................................................................10-25
Chapter 11 SSH Configuration Command..................................................11-1
11.1 SSH configuration command list........................................................11-1
11.1.1 show ssh..................................................................................11-1
11.1.2 show keyfile.............................................................................11-2
11.1.3 ssh...........................................................................................11-2
11.1.4 crypto key generate rsa...........................................................11-3
11.1.5 crypto key zeroize rsa..............................................................11-4
11.1.6 crypto key refresh....................................................................11-4
11.1.7 load keyfile...............................................................................11-5
11.1.8 upload keyfile...........................................................................11-6
Chapter 12 Switch Manage and Maintenance Command.........................12-1
12.1 Configuration Files Management ......................................................12-1
12.1.1 buildrun mode continue...........................................................12-1
12.1.2 buildrun mode stop..................................................................12-2
12.1.3 clear startup-config..................................................................12-3
IX

12.1.4 copy running-config startup-config..........................................12-3
12.1.5 copy startup-config running-config..........................................12-4
12.1.6 show running-config................................................................12-4
12.1.7 show startup-config.................................................................12-5
12.2 Online Loading Upgrade Program.....................................................12-6
12.2.1 load application ftp ..................................................................12-7
12.2.2 load application tftp..................................................................12-8
12.2.3 load application xmodem.........................................................12-9
12.2.4 load configuration ftp.............................................................12-10
12.2.5 load configuration tftp............................................................12-12
12.2.6 load configuration xmodem...................................................12-13
12.2.7 load whole-bootrom ftp..........................................................12-14
12.2.8 load whole-bootrom tftp.........................................................12-15
12.2.9 load whole-bootrom xmodem................................................12-16
12.2.10 upload alarm ftp...................................................................12-17
12.2.11 upload alarm tftp..................................................................12-18
12.2.12 upload configuration ftp.......................................................12-19
12.2.13 upload configuration tftp......................................................12-20
12.2.14 upload logging ftp................................................................12-21
12.2.15 upload logging tftp...............................................................12-22
12.3 Reboot Switch .................................................................................12-23
12.3.1 reboot ....................................................................................12-24
12.4 Basic Configuration and Maintenance.............................................12-24
12.4.1 bootp......................................................................................12-25
12.4.2 clock set.................................................................................12-27
12.4.3 dhcp.......................................................................................12-28
12.4.4 dlf-forward..............................................................................12-29
12.4.5 ipaddress...............................................................................12-30
12.4.6 ipaddress vlan.......................................................................12-32
X

12.4.7 loopback................................................................................12-33
12.4.8 vct run....................................................................................12-34
12.4.9 vct auto-run ...........................................................................12-34
12.4.10 show vct auto-run................................................................12-35
12.4.11 mac-address-table...............................................................12-36
12.4.12 mac-address-table age-time................................................12-38
12.4.13 mac-address-table learning.................................................12-39
12.4.14 mac-address-table learning mode.......................................12-39
12.4.15 ping......................................................................................12-40
12.4.16 show broadcast-suppression ..............................................12-41
12.4.17 show clock...........................................................................12-42
12.4.18 show cpu .............................................................................12-43
12.4.19 show dlf-forward..................................................................12-43
12.4.20 show ip ................................................................................12-44
12.4.21 show mac-address-table.....................................................12-45
12.4.22 show mac-address-table age-time......................................12-46
12.4.23 show mac-address-table learning.......................................12-47
12.4.24 show memory......................................................................12-48
12.4.25 show system........................................................................12-48
12.4.26 show users ..........................................................................12-49
12.4.27 show version .......................................................................12-49
12.4.28 login-access-list telnet-limit.................................................12-50
12.4.29 tracert ..................................................................................12-51
12.5 SNMP Configuration........................................................................12-53
12.5.1 show snmp community..........................................................12-54
12.5.2 show snmp contact................................................................12-54
12.5.3 show snmp host ....................................................................12-55
12.5.4 show snmp notify...................................................................12-56
12.5.5 show snmp location...............................................................12-56
XI

12.5.6 show snmp engineID.............................................................12-57
12.5.7 show snmp group..................................................................12-58
12.5.8 show snmp user....................................................................12-58
12.5.9 show snmp view....................................................................12-59
12.5.10 snmp-server community......................................................12-60
12.5.11 snmp-server contact............................................................12-61
12.5.12 snmp-server host.................................................................12-63
12.5.13 snmp-server location...........................................................12-64
12.5.14 snmp-server name ..............................................................12-65
12.5.15 snmp-server enable traps....................................................12-66
12.5.16 snmp-server trap-source.....................................................12-68
12.5.17 snmp-server engineID.........................................................12-69
12.5.18 snmp-server view................................................................12-71
12.5.19 snmp-server group..............................................................12-72
12.5.20 snmp-server user ................................................................12-75
12.6 Manage IP Restriction Configuration...............................................12-78
12.6.1 login-access-list.....................................................................12-78
12.6.2 show login-access-list ...........................................................12-80
12.7 CPU Alarm Configuration Command...............................................12-80
12.7.1 alarm cpu...............................................................................12-81
12.7.2 alarm cpu threshold...............................................................12-81
12.7.3 show alarm cpu.....................................................................12-82
12.8 Anti-DOS Attack...............................................................................12-83
12.8.1 anti-dos ip fragment...............................................................12-83
12.8.2 show anti-dos........................................................................12-84
Chapter 13 LLDP Configuration Command............................................. 13-86
13.1 LLDP Configuration Command........................................................13-86
13.1.1 lldp.........................................................................................13-86
13.1.2 lldp hello-time........................................................................13-87
XII

XIII
13.1.3 lldp hold-time.........................................................................13-88
13.1.4 lldp { rx | tx | rxtx }..................................................................13-88
13.1.5 show lldp interface [ <interface-list> ]....................................13-89


Chapter 1 Switch Logging in Command
1.1 Switch Logging in Command
Switch logging in command includes:
cls
configure terminal
enable
end
exit
help
hostname
interface
muser
quit
show muser
show username
stop
timeout
username
username change-password
1.1.1 cls
1-1

Use cls command to clear current screen displaying
cls
【Command configuration mode】
Any configuration mode
【Example】
!Clear current screen displaying
QTECH>cls
1.1.2 configure terminal
Use configure terminal command to enter global configuration mode from
privileged mode.
configure terminal
【Command configuration mode】
Privileged mode
【Example】
QTECH#configure terminal
QTECH(config)#
1-2

【Related command】
exit,end
1.1.3 enable
Use enable command to enter privileged mode from user mode.
enable
【Command configuration mode】
User mode
【Example】
!Enter from user mode to privileged mode
QTECH>enable
QTECH#
【Related command】
exit,end
1.1.4 end
Use end command to be back from global configuration mode or other superior
1-3

mode to privileged mode.
end
【Command configuration mode】
Any configuration mode except user mode and privileged mode
【Usage】
5 levels of command line configuration mode, from inferior to superior are:
User mode
Privileged mode
Global configuration mode
Interface configuration mode, VLAN configuration mode, and
AAA configuration mode
Domain configuration mode and radius configuration mode
End command can back from global configuration mode or other superior mode
to privileged mode.
1-4
Other manuals for QSW-2900
1
Table of contents
Popular Network Hardware manuals by other brands

Cisco
Cisco SPA901-UK - Small Business Pro Provisioning guide

Aetina
Aetina Mini Series quick start guide

RSA
RSA enVision 60 Series Setup and maintenance guide

Uniden
Uniden Pro7800N2-5MP user manual

MikroTik
MikroTik RouterBOARD 33/433AH Quick setup guide and warranty information

Lucent Technologies
Lucent Technologies Stinger Installation and configuration guide