ZyXEL RGS200-12P User guide

Type
User guide
Contents
i
RGS Series
Rugged Switch Series
Version 1
Edition 2, 07/2019
CLI Reference Guide
Default Login Details
LAN IP Address
http://192.168.1.1
User Name
admin
Password
1234
Copyright © 2019 Zyxel Communications Corporation
Contents
ii
IMPORTANT!
READ CAREFULLY BEFORE USE.
KEEP THIS GUIDE FOR FUTURE REFERENCE.
This is a Reference Guide for a series of products intended for people who want to configure the
Switch via Command Line Interface (CLI).
Note: Some commands or command options in this guide may not be available in your
product. See your product's User’s Guide for a list of supported features. Every effort has
been made to ensure that the information in this guide is accurate.
Related Documentation
Users Guide
The User’s Guide explains how to use the Web Configurator to configure the Switch.
Note: It is recommended you use the Web Configurator to configure the Switch.
More Information
Go to support.zyxel.com to find other information on the Switch.
RGS Series User’s Guide
Contents
iii
CONTENTS
1
SCOPE ................................................................................................................................................................... 2
1.1 SCOPE ................................................................................................................................................................... 2
1.2 AUDIENCE .............................................................................................................................................................. 2
1.3 PRE-REQUIRED KNOWLEDGE ...................................................................................................................................... 2
1.4 ACCESS TO HARDWARE INTERFACE .............................................................................................................................. 2
1.5 RELATED DOCUMENTS .............................................................................................................................................. 2
2 OPERATOR INTERFACE .................................................................................................................................. 4
2.1 INTRODUCTION ....................................................................................................................................................... 4
2.2 CONNECT INTERFACE ................................................................................................................................................ 4
2.3 SCREEN DESCRIPTION ............................................................................................................................................... 4
2.4 EXECUTION MODES ................................................................................................................................................. 5
2.5 GETTING HELP ........................................................................................................................................................ 6
2.6 TERMINAL KEY FUNCTION ......................................................................................................................................... 6
2.7 NOTAT ION CONVENTIONS ......................................................................................................................................... 6
3 COMMANDS DESCRIPTIONS.......................................................................................................................... 8
3.1 INITIALIZE MODE COMMANDS ................................................................................................................................... 8
3.1.1 exit ............................................................................................................................................................... 8
3.1.2 configure terminal ....................................................................................................................................... 8
3.1.3 enable .......................................................................................................................................................... 8
3.1.4 Show terminal .............................................................................................................................................. 8
3.1.5 Show history ................................................................................................................................................ 8
3.1.6 Show clock ................................................................................................................................................... 8
3.1.7 Show clock detail ......................................................................................................................................... 8
3.2 ENABLE MODE COMMANDS ...................................................................................................................................... 9
3.2.1 configure terminal ....................................................................................................................................... 9
3.2.2 disable ......................................................................................................................................................... 9
3.2.3 show aaa...................................................................................................................................................... 9
3.2.4 show access management ............................................................................................................................ 9
3.2.5 show access-list ........................................................................................................................................... 9
3.2.6 show aggregation ...................................................................................................................................... 10
3.2.7 show alarm ................................................................................................................................................ 10
3.2.8 show cpu-load ........................................................................................................................................... 10
3.2.9 show green-ethernet .................................................................................................................................. 10
3.2.10 show ip ...................................................................................................................................................... 10
3.2.11 show ipmc ................................................................................................................................................... 11
3.2.12 show ipv6 .................................................................................................................................................... 11
3.2.13 show lacp .................................................................................................................................................... 11
3.2.14 show line..................................................................................................................................................... 11
3.2.15 show logging ............................................................................................................................................. 12
3.2.16 show loop-protec ....................................................................................................................................... 12
3.2.17 show ntp status .......................................................................................................................................... 12
3.2.18 show users ................................................................................................................................................. 12
3.2.19 show running-cfg ....................................................................................................................................... 12
3.2.20 show running-config interface Gigabit ..................................................................................................... 12
3.2.21 show running-config interface vlan ........................................................................................................... 12
3.2.22 show running-config all-defaults ............................................................................................................... 12
3.2.23 show running-config feature ...................................................................................................................... 13
3.2.24 show running-config line ........................................................................................................................... 13
3.2.25 show running-config vlan .......................................................................................................................... 13
3.2.26 show version .............................................................................................................................................. 13
3.2.27 show clock ................................................................................................................................................. 13
3.2.28 show ddmi.................................................................................................................................................. 13
Contents
iv
3.2.29
show version .............................................................................................................................................. 14
3.2.30 show system inventory ............................................................................................................................... 14
3.2.31 show mac address table aging-time ........................................................................................................... 14
3.2.32 show mac address table ............................................................................................................................. 14
3.2.33 show mac address table conf ..................................................................................................................... 14
3.2.34 show mac address table count ................................................................................................................... 14
3.2.35 show mac address table learning .............................................................................................................. 14
3.2.36 show mac address table static ................................................................................................................... 15
3.2.37 show mac address table interface .............................................................................................................. 15
3.2.38 show mac address vlan <vlanid> .............................................................................................................. 15
3.2.39 show mvr ................................................................................................................................................... 15
3.2.40 show fdb static table .................................................................................................................................. 15
3.2.41 show fdbstatic interface gigabit <portNo> ............................................................................................... 16
3.2.42 show fdbstatic vlan <vlanid> .................................................................................................................... 16
3.2.43 show interface port < port_type_list > ..................................................................................................... 16
3.2.44 show interface port <portNo> statistics ................................................................................................... 17
3.2.45 show platform phy ..................................................................................................................................... 17
3.2.46 show poe .................................................................................................................................................... 17
3.2.47 show port-security ..................................................................................................................................... 17
3.2.48 show profile alarm ..................................................................................................................................... 18
3.2.49 show snmp ................................................................................................................................................. 18
3.2.50 show spanning-tree .................................................................................................................................... 19
3.2.51 show switchport forbidden ........................................................................................................................ 19
3.2.52 show tacacs-server .................................................................................................................................... 19
3.2.53 show vlan ................................................................................................................................................... 19
3.2.54 show vlan id ............................................................................................................................................... 19
3.2.55 show vlan name ......................................................................................................................................... 19
3.2.56 show vlan brief .......................................................................................................................................... 20
3.2.57 show vlan status ........................................................................................................................................ 20
3.2.58 show qos-queue-mapping .......................................................................................................................... 20
3.2.59 show interface ports <portNo> priority ................................................................................................... 20
3.2.60 show qos .................................................................................................................................................... 20
3.2.61 show queue-shaper .................................................................................................................................... 21
3.2.62 show port-shaper ....................................................................................................................................... 21
3.2.63 show interface gigabit <portNo> storm-control ....................................................................................... 21
3.2.64 show interface gigabit <portNo> transceiver ........................................................................................... 21
3.2.65 show qos interface ..................................................................................................................................... 21
3.2.66 show qos maps ........................................................................................................................................... 21
3.2.67 show qos qce ............................................................................................................................................. 22
3.2.68 show qos storm {unknown-uc|unknown-mc|broadcast} ............................................................................ 22
3.2.69 show port-mirror ....................................................................................................................................... 22
3.2.70 show rmon ................................................................................................................................................. 22
3.2.71 show interface gigabit <portNo>.............................................................................................................. 22
3.2.72 show interface vlan.................................................................................................................................... 23
3.2.73 show interface vlan <vlanid> ................................................................................................................... 23
3.2.74 show interface gigabit <portNo> vlan ...................................................................................................... 23
3.2.75 show multicast-fdb..................................................................................................................................... 23
3.2.76 show dot1x ................................................................................................................................................. 23
3.2.77 show dot1x status ...................................................................................................................................... 23
3.2.78 show dot1x statistics .................................................................................................................................. 23
3.2.79 show radius-server [ statistics ] ................................................................................................................ 24
3.2.80 show voice ................................................................................................................................................. 24
3.2.81 show web ................................................................................................................................................... 24
3.3 CONFIGURE MODE COMMANDS ............................................................................................................................... 25
3.3.1 interface gigabit <portNo> ....................................................................................................................... 25
3.3.2 interface vlan <vlanid> ............................................................................................................................ 25
3.3.3 aaa ............................................................................................................................................................. 25
3.3.4 access ........................................................................................................................................................ 25
3.3.5 access-list .................................................................................................................................................. 25
Contents
v
3.3.6
aggregation mode ...................................................................................................................................... 25
3.3.7 alarm history clear .................................................................................................................................... 26
3.3.8 banner ....................................................................................................................................................... 26
3.3.9 ddmi ........................................................................................................................................................... 26
3.3.10 default access-list rate-limiter ................................................................................................................... 26
3.3.11 profile sch .................................................................................................................................................. 26
3.3.12 ntp server <1-5> ip-address <ip> ............................................................................................................ 26
3.3.13 clock timezone ........................................................................................................................................... 26
3.3.14 clock summer-time set [start-time] [end-time] .......................................................................................... 27
3.3.15 account add <username> ......................................................................................................................... 27
3.3.16 account delete <username> ...................................................................................................................... 27
3.3.17 configuration save and replace ................................................................................................................. 27
3.3.18 clear ip igmp snooping statistics ............................................................................................................... 28
3.3.19 clear logging ............................................................................................................................................. 28
3.3.20 clear mac address-table ............................................................................................................................ 28
3.3.21 debug ......................................................................................................................................................... 28
3.3.22 delete ......................................................................................................................................................... 28
3.3.23 dir .............................................................................................................................................................. 28
3.3.24 do ............................................................................................................................................................... 28
3.3.25 duplex ........................................................................................................................................................ 28
3.3.26 editing ........................................................................................................................................................ 29
3.3.27 firmware .................................................................................................................................................... 29
3.3.28 flowcontrol ................................................................................................................................................ 29
3.3.29 frame-sizes................................................................................................................................................. 29
3.3.30 green-etherneteee ...................................................................................................................................... 29
3.3.31 green-etherneteee urgent-queues ............................................................................................................... 29
3.3.32 help ............................................................................................................................................................ 30
3.3.33 iparp inspection ......................................................................................................................................... 30
3.3.34 ip arp inspection translate ......................................................................................................................... 30
3.3.35 ip arp inspection entry ............................................................................................................................... 30
3.3.36 ip arp inspection vlan ................................................................................................................................ 30
3.3.37 ip dns proxy ............................................................................................................................................... 30
3.3.38 ip http secure-redirect ................................................................................................................................ 31
3.3.39 ip http secure-server .................................................................................................................................. 31
3.3.40 ip source binding interface ........................................................................................................................ 31
3.3.41 ip ssh ......................................................................................................................................................... 31
3.3.42 ip name-server ........................................................................................................................................... 31
3.3.43 ip route ...................................................................................................................................................... 31
3.3.44 ip verify...................................................................................................................................................... 31
3.3.45 ipmc profile ............................................................................................................................................... 32
3.3.46 ipmc range ................................................................................................................................................. 32
3.3.47 lacp ............................................................................................................................................................ 32
3.3.48 line ............................................................................................................................................................. 32
3.3.49 login host ................................................................................................................................................... 32
3.3.50 login level .................................................................................................................................................. 32
3.3.51 login on...................................................................................................................................................... 33
3.3.52 logout ........................................................................................................................................................ 33
3.3.53 mac address-table aging-time ................................................................................................................... 33
3.3.54 mac address-table static ............................................................................................................................ 33
3.3.55 more ........................................................................................................................................................... 33
3.3.56 no ............................................................................................................................................................... 33
3.3.57 ping ............................................................................................................................................................ 33
3.3.58 port-security .............................................................................................................................................. 33
3.3.59 privilege..................................................................................................................................................... 34
3.3.60 reload ........................................................................................................................................................ 34
3.3.61 rmon .......................................................................................................................................................... 34
3.3.62 rmon alarm ................................................................................................................................................ 34
3.3.63 rmon alarm ................................................................................................................................................ 35
3.3.64 terminal ..................................................................................................................................................... 36
Contents
vi
3.3.65
vlan <vlanid>............................................................................................................................................ 36
3.3.66 vlan <vlanid> <name> ............................................................................................................................. 36
3.3.67 vlan disable <vlanid> ............................................................................................................................... 36
3.3.68 mac address-table aging-time <time> ...................................................................................................... 36
3.3.69 mtu <value> .............................................................................................................................................. 36
3.3.70 media-type ................................................................................................................................................. 37
3.3.71 monitor destination interface .................................................................................................................... 37
3.3.72 monitor source interface............................................................................................................................ 37
3.3.73 monitor source cpu .................................................................................................................................... 37
3.3.74 speed .......................................................................................................................................................... 37
3.3.75 tacacs-server host ...................................................................................................................................... 38
3.3.76 tacacs-server key ....................................................................................................................................... 38
3.3.77 tacacs-server timeout ................................................................................................................................ 38
3.3.78 traps .......................................................................................................................................................... 38
3.3.79 upnp ........................................................................................................................................................... 38
3.3.80 upnp advertising-duration ......................................................................................................................... 38
3.3.81 upnp ttl ...................................................................................................................................................... 39
3.3.82 username ................................................................................................................................................... 39
3.3.83 web ............................................................................................................................................................ 39
3.3.84 flow-control {enable|disble} ...................................................................................................................... 39
3.3.85 speed .......................................................................................................................................................... 40
3.3.86 port {enable/disable} ................................................................................................................................. 40
3.3.87 Date/Time .................................................................................................................................................. 40
3.4 VLAN MODE COMMANDS ...................................................................................................................................... 40
3.4.1 vlan ............................................................................................................................................................ 40
3.4.2 vlan ethertype s-custom-port ..................................................................................................................... 41
3.4.3 vlan-trunking ............................................................................................................................................. 41
3.4.4 switchport access vlan ............................................................................................................................... 41
3.4.5 switchport forbidden vlan .......................................................................................................................... 41
3.4.6 switchport hybrid acceptable-frame-type .................................................................................................. 41
3.4.7 switchport hybrid allowed vlan ................................................................................................................. 41
3.4.8 switchport hybrid egress-tag ..................................................................................................................... 42
3.4.9 switchport hybrid ingress-filtering ............................................................................................................ 42
3.4.10 switchport mode ........................................................................................................................................ 42
3.4.11 switchport trunk allowed vlan ................................................................................................................... 42
3.5 INTERFACE VLAN MODE COMMANDS ....................................................................................................................... 42
3.5.1 interface..................................................................................................................................................... 42
3.5.2 interface vlan ............................................................................................................................................. 42
3.5.3 ip address .................................................................................................................................................. 43
3.5.4 ip name-server ........................................................................................................................................... 43
3.5.5 ip dhcp relay .............................................................................................................................................. 43
3.5.6 ip dhcp relay information option ............................................................................................................... 43
3.5.7 ip dhcp snooping ....................................................................................................................................... 43
3.5.8 ip helper-address ....................................................................................................................................... 43
3.5.9 ipv6 address ............................................................................................................................................... 43
3.5.10 ipv6mtu ...................................................................................................................................................... 44
3.6 RINGV2 GROUP MODE COMMANDS ........................................................................................................................ 45
3.6.1 ringv2 protect ............................................................................................................................................ 45
3.6.2 guard-time ................................................................................................................................................. 45
3.6.3 mode .......................................................................................................................................................... 45
3.6.4 node1 interface GigabitEthernet <portNo>} ............................................................................................ 45
3.6.5 node2 interface GigabitEthernet <portNo>} ............................................................................................ 45
3.6.6 role ............................................................................................................................................................ 45
3.7 SPANNING TREE .................................................................................................................................................... 46
3.7.1 spanning-tree ............................................................................................................................................. 46
3.7.2 spanning-tree aggregation ........................................................................................................................ 46
3.7.3 spanning-tree auto-edge ............................................................................................................................ 46
3.7.4 spanning-tree auto-edge ............................................................................................................................ 46
3.7.5 spanning-tree bpdu-guard ......................................................................................................................... 46
Contents
vii
3.7.6
spanning-tree edge .................................................................................................................................... 46
3.7.7 spanning-tree edge bpdu-filter .................................................................................................................. 46
3.7.8 spanning-tree mode ................................................................................................................................... 47
3.7.9 spanning-tree mst cost ............................................................................................................................... 47
3.7.10 spanning-tree mst port-priority ................................................................................................................. 47
3.7.11 spanning-tree mst priority ......................................................................................................................... 47
3.7.12 spanning-tree mst vlan .............................................................................................................................. 47
3.7.13 spanning-tree mst forward-time ................................................................................................................ 48
3.7.14 spanning-tree mst max-age ........................................................................................................................ 48
3.7.15 spanning-tree mst max-hops ...................................................................................................................... 48
3.7.16 spanning-tree mst name ............................................................................................................................. 48
3.7.17 spanning-tree mst <instance> ................................................................................................................... 48
3.7.18 spanning-tree recovery .............................................................................................................................. 49
3.7.19 spanning-tree transmit .............................................................................................................................. 49
3.8 SNMP CONFIGURE COMMAND ............................................................................................................................... 49
3.8.1 snmp-server ............................................................................................................................................... 49
3.8.2 snmp-server access .................................................................................................................................... 49
3.8.3 snmp-server community v2c ...................................................................................................................... 49
3.8.4 snmp-server community v3 ........................................................................................................................ 49
3.8.5 snmp-server host ....................................................................................................................................... 50
3.8.6 snmp-server host traps .............................................................................................................................. 50
3.8.7 snmp-server trap ....................................................................................................................................... 50
3.8.8 snmp-server user ....................................................................................................................................... 50
3.8.9 snmp-server version .................................................................................................................................. 50
3.8.10 snmp-server view ....................................................................................................................................... 50
3.8.11 SNMP trap receive ipv6 host ..................................................................................................................... 51
3.8.12 snmp-server contact .................................................................................................................................. 51
3.8.13 snmp-server engine-id ............................................................................................................................... 51
3.8.14 snmp-server location ................................................................................................................................. 51
3.8.15 snmp-server security-to-group .................................................................................................................. 51
3.8.16 SNMP trap receive ipv4 host ..................................................................................................................... 51
3.9 QOS FUNCTION COMMAND..................................................................................................................................... 52
3.9.1 qos qce ....................................................................................................................................................... 52
3.9.2 qos storm ................................................................................................................................................... 52
3.9.3 qos cos ....................................................................................................................................................... 52
3.9.4 qos dscp-classify ........................................................................................................................................ 52
3.9.5 qos dscp-remark ........................................................................................................................................ 52
3.9.6 qos dscp-translate ..................................................................................................................................... 52
3.9.7 qos map cos-dscp ...................................................................................................................................... 52
3.9.8 qos map cos-dscp ...................................................................................................................................... 53
3.9.9 qos map dscp-egress-translation ............................................................................................................... 53
3.9.10 qos map dscp-ingress-translation .............................................................................................................. 54
3.9.11 qos policer ................................................................................................................................................. 54
3.9.12 qos wrr ...................................................................................................................................................... 54
3.9.13 qos queue-shaper....................................................................................................................................... 55
3.9.14 qos queue-policer ...................................................................................................................................... 55
3.9.15 qos shaper <unit> ..................................................................................................................................... 55
3.10 IGMP FUNCTIONAL COMMANDS ............................................................................................................................. 55
3.10.1 ip igmp host-proxy [ leave-proxy ] ............................................................................................................ 55
3.10.2 ip igmp snooping ....................................................................................................................................... 55
3.10.3 ip igmp snooping immediate-leave ............................................................................................................ 55
3.10.4 ip igmp snooping last-member-query-interval .......................................................................................... 55
3.10.5 ip igmp snooping max-groups ................................................................................................................... 55
3.10.6 ip igmp snooping mrouter ......................................................................................................................... 56
3.10.7 ip igmp snooping querier .......................................................................................................................... 56
3.10.8 ip igmp snooping query-interval ............................................................................................................... 56
3.10.9 ip igmp snooping vlan ............................................................................................................................... 56
3.10.10 ip igmp ssm-range ..................................................................................................................................... 56
3.10.11 ip igmp unknown-flooding ......................................................................................................................... 56
Contents
viii
3.10.12
clear ip igmp snooping statistics ............................................................................................................... 56
3.11 MVR FUNCTIONAL COMMANDS .............................................................................................................................. 57
3.11.1 mvr ............................................................................................................................................................ 57
3.11.2 mvr immediate-leave ................................................................................................................................. 57
3.11.3 mvr name channel ..................................................................................................................................... 57
3.11.4 mvr frame priority ..................................................................................................................................... 57
3.11.5 mvr name <word16> frame tagged .......................................................................................................... 57
3.11.6 mvr name <word16> igmp-address <ipv4_ucast> ................................................................................... 57
3.11.7 mvr name <word16> last-member-query-interval <0-31744> ................................................................ 57
3.11.8 mvr name <word16> mode ....................................................................................................................... 57
3.11.9 mvr name <word16> type ......................................................................................................................... 58
3.11.10 mvr vlan ..................................................................................................................................................... 58
3.11.11 mvr vlan <vlan_list> channel ................................................................................................................... 58
3.11.12 mvr vlan <vlan_list> frame priority ......................................................................................................... 58
3.11.13 mvr vlan <vlan_list> frame tagged ........................................................................................................... 58
3.11.14 mvr vlan <vlan_list> igmp-address .......................................................................................................... 58
3.11.15 mvr vlan <vlan_list> mode ....................................................................................................................... 58
3.11.16 mvr vlan <vlan_list> type ......................................................................................................................... 58
3.12 MLD FUNCTIONAL COMMANDS ............................................................................................................................... 59
3.12.1 ipv6 mld host-proxy ................................................................................................................................... 59
3.12.2 ipv6 mld snooping ..................................................................................................................................... 59
3.12.3 ipv6 mld snooping compatibility ............................................................................................................... 59
3.12.4 ipv6 mld snooping immediate-leave .......................................................................................................... 59
3.12.5 ipv6 mld snooping last-member-query-interval......................................................................................... 59
3.12.6 ipv6 mld snooping max-groups.................................................................................................................. 59
3.12.7 ipv6 mld snooping mrouter ........................................................................................................................ 59
3.12.8 ipv6 mld snooping query-interval .............................................................................................................. 60
3.12.9 ipv6 mld snooping query-max-response-time ............................................................................................ 60
3.12.10 ipv6 mld snooping vlan ............................................................................................................................. 60
3.12.11 ipv6 mld ssm-range ................................................................................................................................... 60
3.12.12 ipv6 mld unknown-flooding ....................................................................................................................... 60
3.12.13 ipv6 route ................................................................................................................................................... 60
3.13 AUTHENTICATE MODE COMMANDS .......................................................................................................................... 61
3.13.1 radius-server attribute 32 .......................................................................................................................... 61
3.13.2 radius-server attribute 4 ............................................................................................................................ 61
3.13.3 radius-server attribute 95 .......................................................................................................................... 61
3.13.4 radius-server deadtime .............................................................................................................................. 61
3.13.5 radius-server host [ auth-port] [ acct-port ] [ timeout ] [ retransmit ] [ key] ....................................... 61
3.13.6 radius -server key ...................................................................................................................................... 61
3.13.7 radius-server retransmit ............................................................................................................................ 62
3.13.8 radius-server timeout ................................................................................................................................ 62
3.13.9 tacacs-server deadtime <1-1440> ............................................................................................................ 62
3.13.10 tacacs-server host [ auth-port] [ timeout ] [ key] ..................................................................................... 62
3.13.11 tacacs-server deadtime <1-1440> ............................................................................................................ 62
3.13.12 tacacs-server deadtime <1-1440> ............................................................................................................ 62
3.13.13 dot1x feature .............................................................................................................................................. 62
3.13.14 dot1x authentication timer......................................................................................................................... 63
3.13.15 dot1x max-reauth-req ................................................................................................................................ 63
3.13.16 dot1x re-authentication ............................................................................................................................. 63
3.13.17 dot1x system-auth-controln ....................................................................................................................... 63
3.13.18 dot1x timeout ............................................................................................................................................. 63
3.13.19 dot1x guest-vlan ........................................................................................................................................ 63
3.13.20 dot1x initialize ........................................................................................................................................... 63
3.13.21 dot1x port-control ...................................................................................................................................... 64
3.13.22 dot1x radius-vlan....................................................................................................................................... 64
3.13.23 show radius-server [ statistics ] ................................................................................................................ 64
3.13.24 enable ........................................................................................................................................................ 64
3.13.25 end ............................................................................................................................................................. 64
3.13.26 exit ............................................................................................................................................................. 64
Contents
ix
3.13.27
hostname ................................................................................................................................................... 64
3.14 LOOP-PROTECTION CONFIGURE COMMANDS .............................................................................................................. 65
3.14.1 loop-protect ............................................................................................................................................... 65
3.14.2 loop-protect action .................................................................................................................................... 65
3.14.3 loop-protect shutdown-time ....................................................................................................................... 65
3.14.4 loop-protect transmit-time ......................................................................................................................... 65
3.14.5 loop-protect tx-mode ................................................................................................................................. 65
3.15 LLDP CONFIGURE COMMANDS ................................................................................................................................ 65
3.15.1 lldp holdtime .............................................................................................................................................. 65
3.15.2 lldp med ..................................................................................................................................................... 65
3.15.3 lldp receive ................................................................................................................................................ 66
3.15.4 lldp reinit <1-10> ..................................................................................................................................... 66
3.15.5 lldp timer <5-32768>................................................................................................................................ 66
3.15.6 lldp tlv-select ............................................................................................................................................. 67
3.15.7 lldp transmission-delay ............................................................................................................................. 67
3.15.8 lldp transmit .............................................................................................................................................. 67
3.16 RFC2544 TESTING CONFIGURE COMMANDS.............................................................................................................. 67
3.16.1 rfc2544 profile <word32>......................................................................................................................... 67
3.16.2 rfc2544 rename profile .............................................................................................................................. 67
3.16.3 rfc2544 save <word32> <word>.............................................................................................................. 67
3.16.4 rfc2544 start <word32> profile <word32> [ desc <line128> ]............................................................... 68
3.16.5 rfc2544 stop <word32> ............................................................................................................................ 68
3.16.6 show rfc2544 profile [ <word32> ] .......................................................................................................... 68
3.17 GVRP CONFIGURE COMMANDS ............................................................................................................................... 68
3.17.1 gvrp ........................................................................................................................................................... 68
3.17.2 gvrpjoin request vlan ................................................................................................................................. 68
3.17.3 gvrpleave request vlan ............................................................................................................................... 68
3.17.4 gvrp max-vlans .......................................................................................................................................... 68
3.17.5 gvrp time { [ join-time <1-20> ] [ leave-time <60-300> ] [ leave-all-time <1000-50>] ........................ 69
3.18 VOICE VLAN CONFIGURE COMMANDS ...................................................................................................................... 69
3.18.1 voice vlan .................................................................................................................................................. 69
3.18.2 voice vlan aging-time ................................................................................................................................ 69
3.18.3 voice vlan class ......................................................................................................................................... 69
3.18.4 voice vlan oui ............................................................................................................................................ 69
3.18.5 voice vlan vid ............................................................................................................................................. 69
3.19 PROFILE ALARM COMMANDS ................................................................................................................................... 70
3.19.1 profile alarm .............................................................................................................................................. 70
3.19.2 alarm ......................................................................................................................................................... 70
3.20 POE COMMANDS .................................................................................................................................................. 70
3.20.1 poe management mode .............................................................................................................................. 70
3.20.2 poe supply.................................................................................................................................................. 70
3.20.3 poe 4pairs .................................................................................................................................................. 71
3.20.4 poe mode ................................................................................................................................................... 71
3.20.5 poe operation ............................................................................................................................................ 71
3.20.6 poe power .................................................................................................................................................. 71
3.20.7 poe priority ................................................................................................................................................ 72
3.20.8 poe reset .................................................................................................................................................... 72
3.20.9 poe schedule .............................................................................................................................................. 72
Contents
x
[LIST OF TABLES]
Table 2-1 List of Execution Modes .................................................................................................................. 5
Table 2-2 List of Terminal Keys ....................................................................................................................... 6
[LIST OF FIGURES]
Figure 2-1 Screen Description ........................................................................................................................ 5
1
1. Scope
1.1 Scope
1.2 Audience
1.3 Pre-required Knowledge
1.4 Access to Hardware Interface
1.5 Related Documents
2
1 Scope
1.1 Scope
This user guide describes the commands and parameters of the Command Line Interface
(CLI) as implemented in the current version of RGS series software. These commands are
used to set-up, administer and maintain the system.
1.2 Audience
The guide is intended for Operating personnel (sometimes called craft persons).
1.3 Pre-required Knowledge
The reader must be familiar with the:
Basic operations of RGS series (see the HW Installation Guide).
Security and activity monitoring constraints that limit how a command is implemented.
1.4 Access to Hardware Interface
Access to the hardware interface is by a terminal (or computer with terminal emulation
software). Requirements for the terminal are:
RS-232 ASCII port
Selectable transmission baud rate
Full alphanumeric capability
Selectable odd/even or no parity check
1.5 Related Documents
You may want to refer to the following related documents:
RGS series Quick Start Guide
3
2. Operator Interface
2.1 Introduction
2.2 Connect Interface
2.3 Authorization Level
2.4 Screen Description
2.5 Execution Modes
2.6 Getting Help
2.7 Terminal Key Function
2.8 Notation Conventions
4
2 Operator Interface
2.1 Introduction
Access to the Switch is protected by a logon security system. You can log on to the switch
with the user name and password. After three failed logon attempts, the system refuses
further attempts.
After you log on, the system monitors the interface for periods of inactivity. If the interface is
inactive for too long, you are automatically logged off.
The CLI initial user name is (admin) and none password (). You should change the
password as soon as possible, because the initial password is known to anyone who reads
this manual. You can also change the user name or add additional user names. Use the
“account add” command to enter a new user identification, password and authorization level.
2.2 Connect Interface
Interface
Parameter
Console
Baud rate: 115200bps,
Data bit: 8,
Parity: None,
Stop bit: 1
Telnet Port 23
SSH Port 22 (In Windows, you can run terminal emulator such as PuTTY)
2.3 Screen Description
1.
Connecting to RGS series Ethernet port(RJ45 Ethernet port)
2. Key-in the command under Telnet: Telnet 192.168.1.1
Login with default account and password.
Username: admin
Password: 1234
5
Figure 2-1 Screen Description
2.4 Execution Modes
The CLI contains several execution modes. Users will see different set of commands under
different execution modes. Table 2-1 lists all the execution modes and their purposes. When
users enter a certain execution mode, the corresponding mode prompt will be displayed
automatically on the screen. The mode prompts of all the execution modes are also listed in
Table 2-1.
Table 2-1 List of Execution Modes
Access Level
Prompt
Guest
>
Guest
#
Guest
(conf)#
Engineer
(alarm-profile-conf)#
Engineer
(gigabit-intf-conf)#
Engineer
(acl-profile-conf)#
Engineer
(sch-profile-conf)#
Engineer
(vlan-intf-conf)#
Engineer
(igmp-mvr-profile-conf)#
Engineer
(igmp-acl-profile-conf)#
Engineer
(ring)#
Engineer
(trunk-group-conf)#
6
2.5 Getting help
The user can get help by entering a question mark ‘?’ at each position in the command. The
displayed result depends on the execution mode and previous input.
2.6 Terminal Key Function
Following is the list of all the terminal keys and their function.
Table 2-2 List of Terminal Keys
ENTER
Run a CLI config script
CTRL-M
TAB Tab completion.
If tab is pressed after a non-whitespace character, complete the word
before the Tab.
If tab is pressed after a whitespace character, complete the next word.
CTRL-I
?
Display available commands
If ? is pressed after a non-whitespace character, show possible
choices for this word.
If ? is
pressed after a whitespace character, show possible choices for
the next word.
<Up Arrow>
Up history
CTRL-P
<Down Arrow>
Down history
CTRL-N
Home
Move the cursor to the beginning of the input line
CTRL-A
End
Move the cursor to the end of the input line
CTRL-E
<Left Arrow>
Move the cursor backward
CTRL-B
<Right Arrow>
Move the cursor forward
CTRL-F
BACKSPACE
Erase the character before the cursor
CTRL-H
2.7 Notation Conventions
The notation conventions for the parameter syntax of each CLI command are as follows:
Parameters enclosed in [ ] are optional.
Parameter values are separated by a vertical bar “|” only when one of the specified
values can be used.
Parameter values are enclosed in { } when you must use one of the values specified.
7
3. Commands Descriptions
3.1 Initialize Mode Commands
3.2 Enable Mode Commands
3.3 Configure Mode Commands
3.4 VLAN Mode Commands
3.5 Interface VLAN Mode Commands
3.6 Ring Group Mode Commands
3.7 Spanning Tree Configure Commands
3.8 sFlow Configure Command
3.9 SNMP Configure Command
3.10 Qos Function Command
3.11 IGMP Functional Commands
3.12 MVR Functional Commands
3.13 MLD Functional Commands
3.14 Authenticate Mode Commands
3.15 Loop-Protection Configure commands
3.16 LLDP Configure commands
3.17 RFC2544 Testing Configure Commands
3.18 GVRP Configure Commands
3.19 Voice VLAN Configure Commands
8
3 Commands Descriptions
3.1 Initialize Mode Commands
The commands in this section (except ‘enable’ command) can be executed under all
command modes. These commands are global commands.
3.1.1 exit
Description
Exit current mode and quit CLI.
Syntax
exit
Parameter
None
3.1.2 configure terminal
Description
Enter configuration mode.
Syntax
configure terminal
Parameter
None
3.1.3 enable
Description
Enter enable mode.
Syntax
enable
Parameter
None
3.1.4 Show terminal
Description
Show CLI environment variables
Syntax
show terminal
Parameter
None
3.1.5 Show history
Description
Show command history (Note: commands issued in one execution
mode only appear in history of that execution mode)
Syntax
show history
Parameter
None
3.1.6 Show clock
Description
Show current time
Syntax
show clock [detail]
Parameter
None
3.1.7 Show clock detail
Description
Show detailed information
Syntax
show clock detail
Parameter
None
9
3.2 Enable Mode Commands
All the “show - -” commands in this section can also be executed under any other command
mode except Initialize Mode.
3.2.1 configure terminal
Description
Enter configuration mode.
Syntax
configure
Parameter
None
3.2.2 disable
Description
Enter init mode.
Syntax
disable
Parameter
None
3.2.3 show aaa
Description
Show AAA
Syntax
show aaa
Parameter
None
3.2.4 show access management
Description
Access management configuration
Syntax
show access management [ statistics | <access_id_list> ]
Parameter
Name
Description
statistics
Statistics data
access_id_list
ID of access management entry
3.2.5 show access-list
Description
Access list
Syntax
show access-list [ interface [ ( <port_type> [ <v_port_type_list> ] ) ] ]
[ rate-limiter [ <rate_limiter_list> ] ] [ ace statistics [ <ace_list> ] ]
show access-list ace-status [ static ] [ loop-protect ] [ dhcp ] [ ptp ]
[ upnp ] [ arp-inspection ] [ mep ] [ ipmc ] [ ip-source-
guard ]
[ ip-mgmt ] [ conflicts ] [ switch <switch_list> ]
Parameter
Name
Description
interface
Select an interface to configure
ace-status
The local ACEs status
port_type
GigabitEthernet,1 Gigabit Ethernet Port
v_port_type_list
PORT_LIST, Port list in 1/1-14
rate-limiter
Rate limiter
rate_limiter_list
<RateLimiterList : 1~16> Rate limiter ID
ace
Access list entry
statistics
Traffic statistics
ace_list
<AceId : 1~256> ACE ID
static
The ACEs that are configured by users manually
loop-protect
The ACEs that are configured by Loop Protect
module
ipmc
The ACEs that are configured by IPMC module
ip-source-guard
The ACEs that are configured by IP Source Guard
module
10
dhcp
The ACEs that are configured by DHCP module
conflicts
The ACEs that did not get applied to the hardware
due to hardware limitations
arp-inspection
The ACEs that are configured by ARP Inspection
module
3.2.6 show aggregation
Description
Aggregation
Syntax
show aggregation [ mode ]
Parameter
Name
Description
mode
Traffic distribution mode
3.2.7 show alarm
Description
Alarm information
Syntax
show alarm { history | current }
Parameter
Name
Description
current
Show alarm current infomation
history
Show alarm history infomation
3.2.8 show cpu-load
Description
CPU LOAD
Syntax
show cpu-load
Parameter
3.2.9 show green-ethernet
Description
EEE
Syntax
show green-ethernet [ interface ( <port_type> [ <port_list> ] ) ]
show green-ethernet eee [ interface ( <port_type> [ <port_list> ] ) ]
show green-ethernet energy-
detect [ interface ( <port_type>
[ <port_list> ] ) ]
show green-ethernet short-reach [ interfac
e ( <port_type>
[ <port_list> ] ) ]
Parameter
Name
Description
EEE
Shows EEE status for a specific port or
ports
energy-detect
Shows EEE energy-detect status for a specific port or
ports
short-reach
Shows EEE short-reach status for a specific
port or ports
interface
Shows EEE status for a specific port or ports
port_type
GigabitEthernet, 1 Gigabit Ethernet Port
port_list
<port_type_list> Port list in 1/1-14
3.2.10 show ip
Description
IP information
Syntax
show ip
Parameter
Name
Description
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82

ZyXEL RGS200-12P User guide

Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI