Versa Technology VX-IGP-1204F User Manual

VX-IGP-1204F
8~12-Port Managed Industrial Ethernet Switch
CLI Command User Guide
Version Number: 1.0 Issue: 1.1r1, July 2015
Contents
i
CONTENTS
1! SCOPE ..................................................................................................................................................................... 3!
1.1! SCOPE!...................................................................................................................................................................!3!
1.2! AUDIENCE!..............................................................................................................................................................!3!
1.3! PRE-REQUIRED!KNOWLEDGE!.....................................................................................................................................!3!
1.4! ACCESS!TO!HARDWARE!INTERFACE!.............................................................................................................................!3!
1.5! RELATED!DOCUMENTS!.............................................................................................................................................!3!
2! OPERATOR INTERFACE ................................................................................................................................... 7!
2.1! INTRODUCTION!.......................................................................................................................................................!7!
2.2! CONNECT!INTERFACE!...............................................................................................................................................!7!
2.3! SCREEN!DESCRIPTION!...............................................................................................................................................!7!
2.4! EXECUTION!MODES!.................................................................................................................................................!8!
2.5! GETTING!HELP!........................................................................................................................................................!8!
2.6! TERMINAL!KEY!FUNCTION!.........................................................................................................................................!9!
2.7! NOTATION!CONVENTIONS!.........................................................................................................................................!9!
3! COMMANDS DESCRIPTIONS ......................................................................................................................... 12!
3.1! INITIALIZE!MODE!COMMANDS!.................................................................................................................................!12!
3.1.1! exit .............................................................................................................................................................. 12!
3.1.2! configure terminal ...................................................................................................................................... 12!
3.1.3! enable ......................................................................................................................................................... 12!
3.1.4! Show terminal ............................................................................................................................................. 12!
3.1.5! Show history ............................................................................................................................................... 12!
3.1.6! Show clock .................................................................................................................................................. 12!
3.1.7! Show clock detail ........................................................................................................................................ 12!
3.2! ENABLE!MODE!COMMANDS!....................................................................................................................................!13!
3.2.1! configure terminal ...................................................................................................................................... 13!
3.2.2! disable ........................................................................................................................................................ 13!
3.2.3! show aaa ..................................................................................................................................................... 13!
3.2.4! show access management ........................................................................................................................... 13!
3.2.5! show access-list .......................................................................................................................................... 13!
3.2.6! show aggregation ....................................................................................................................................... 14!
3.2.7! show alarm ................................................................................................................................................. 14!
3.2.8! show cpu-load ............................................................................................................................................. 14!
3.2.9! show green-ethernet ................................................................................................................................... 14!
3.2.10! show ip ........................................................................................................................................................ 14!
3.2.11! show ipmc ................................................................................................................................................... 15!
3.2.12! show ipv6 .................................................................................................................................................... 15!
3.2.13! show lacp .................................................................................................................................................... 15!
3.2.14! show line ..................................................................................................................................................... 15!
3.2.15! show logging ............................................................................................................................................... 16!
3.2.16! show loop-protec ........................................................................................................................................ 16!
3.2.17! show ntp status ........................................................................................................................................... 16!
3.2.18! show users .................................................................................................................................................. 16!
3.2.19! show running-cfg ........................................................................................................................................ 16!
3.2.20! show running-config interface Gigabit ...................................................................................................... 16!
3.2.21! show running-config interface vlan ............................................................................................................ 16!
3.2.22! show running-config all-defautls ................................................................................................................ 16!
3.2.23! show running-config feature ...................................................................................................................... 17!
3.2.24! show running-config line ............................................................................................................................ 17!
3.2.25! show running-config vlan ........................................................................................................................... 17!
3.2.26! show version ............................................................................................................................................... 17!
3.2.27! show clock .................................................................................................................................................. 17!
3.2.28! show ddmi ................................................................................................................................................... 17!
Contents
ii
3.2.29! show version ............................................................................................................................................... 18!
3.2.30! show system inventory ................................................................................................................................ 18!
3.2.31! show mac address table aging-time ........................................................................................................... 18!
3.2.32! show mac address table .............................................................................................................................. 18!
3.2.33! show mac address table conf ...................................................................................................................... 18!
3.2.34! show mac address table count .................................................................................................................... 18!
3.2.35! show mac address table learning ............................................................................................................... 18!
3.2.36! show mac address table static .................................................................................................................... 19!
3.2.37! show mac address table interface .............................................................................................................. 19!
3.2.38! show mac address vlan <vlanid> .............................................................................................................. 19!
3.2.39! show mvr ..................................................................................................................................................... 19!
3.2.40! show fdb static table ................................................................................................................................... 19!
3.2.41! show fdbstatic interface gigabit <portNo> ................................................................................................ 19!
3.2.42! show fdbstatic vlan <vlanid> ..................................................................................................................... 20!
3.2.43! show interface port < port_type_list > ...................................................................................................... 20!
3.2.44! show interface port <portNo> statistics .................................................................................................... 21!
3.2.45! show platform phy ...................................................................................................................................... 21!
3.2.46! show poe ..................................................................................................................................................... 21!
3.2.47! show port-security ...................................................................................................................................... 21!
3.2.48! show profile alarm ...................................................................................................................................... 22!
3.2.49! show sflow .................................................................................................................................................. 22!
3.2.50! show snmp .................................................................................................................................................. 22!
3.2.51! show spanning-tree ..................................................................................................................................... 23!
3.2.52! show switchport forbidden ......................................................................................................................... 23!
3.2.53! show tacacs-server ..................................................................................................................................... 23!
3.2.54! show vlan .................................................................................................................................................... 23!
3.2.55! show vlan id ................................................................................................................................................ 24!
3.2.56! show vlan name .......................................................................................................................................... 24!
3.2.57! show vlan brief ........................................................................................................................................... 24!
3.2.58! show vlan ip-subnet .................................................................................................................................... 24!
3.2.59! show vlan mac ............................................................................................................................................ 24!
3.2.60! show vlan protocol ..................................................................................................................................... 24!
3.2.61! show vlan status .......................................................................................................................................... 25!
3.2.62! show qos-queue-mapping ........................................................................................................................... 25!
3.2.63! show interface ports <portNo> priority .................................................................................................... 25!
3.2.64! show qos ..................................................................................................................................................... 25!
3.2.65! show queue-shaper ..................................................................................................................................... 26!
3.2.66! show port-shaper ........................................................................................................................................ 26!
3.2.67! show pvlan [ <pvlan_list> ] ....................................................................................................................... 26!
3.2.68! show pvlan isolation [ interface <port_type> [ <port_type_list> ] ] ....................................................... 26!
3.2.69! show interface gigabit <portNo> port-isolation ........................................................................................ 26!
3.2.70! show interface gigabit <portNo> storm-control ........................................................................................ 26!
3.2.71! show interface gigabit <portNo> transceiver ............................................................................................ 26!
3.2.72! show qos interface ...................................................................................................................................... 27!
3.2.73! show qos maps ............................................................................................................................................ 27!
3.2.74! show qos qce ............................................................................................................................................... 27!
3.2.75! show qos storm {unknown-uc|unknown-mc|broadcast} ............................................................................. 27!
3.2.76! show port-mirror ........................................................................................................................................ 27!
3.2.77! show ringv2 ................................................................................................................................................ 27!
3.2.78! show rmon .................................................................................................................................................. 28!
3.2.79! show interface gigabit <portNo> ............................................................................................................... 28!
3.2.80! show ext-tpid ............................................................................................................................................... 28!
3.2.81! show interface vlan ..................................................................................................................................... 28!
3.2.82! show interface vlan <vlanid> .................................................................................................................... 28!
3.2.83! show protocol-vlan ..................................................................................................................................... 28!
3.2.84! show interface gigabit <portNo> vlan ....................................................................................................... 28!
3.2.85! show vlan-trans .......................................................................................................................................... 29!
3.2.86! show multicast-fdb ...................................................................................................................................... 29!
3.2.87! show dot1x .................................................................................................................................................. 29!
Contents
iii
3.2.88! show dot1x status ........................................................................................................................................ 29!
3.2.89! show dot1x statistics ................................................................................................................................... 29!
3.2.90! show radius-server [ statistics ] ................................................................................................................. 29!
3.2.91! show rfc2544 profile [ <word32> ] ........................................................................................................... 29!
3.2.92! show voice .................................................................................................................................................. 30!
3.2.93! show web .................................................................................................................................................... 30!
3.3! CONFIGURE!MODE!COMMANDS!..............................................................................................................................!31!
3.3.1! interface gigabit <portNo> ........................................................................................................................ 31!
3.3.2! interface vlan <vlanid> .............................................................................................................................. 31!
3.3.3! aaa .............................................................................................................................................................. 31!
3.3.4! access .......................................................................................................................................................... 31!
3.3.5! access-list ................................................................................................................................................... 31!
3.3.6! aggregation mode ....................................................................................................................................... 31!
3.3.7! alarm history clear ..................................................................................................................................... 32!
3.3.8! banner ......................................................................................................................................................... 32!
3.3.9! ddmi ............................................................................................................................................................ 32!
3.3.10! default access-list rate-limiter .................................................................................................................... 32!
3.3.11! profile sch ................................................................................................................................................... 32!
3.3.12! ntp server <1-5> ip-address <ip> ............................................................................................................. 32!
3.3.13! clock timezone ............................................................................................................................................ 32!
3.3.14! clock summer-time set [start-time] [end-time] .......................................................................................... 33!
3.3.15! account add <username> .......................................................................................................................... 33!
3.3.16! account delete <username> ....................................................................................................................... 33!
3.3.17! syslog {enable|disable} ............................................................................................................................... 33!
3.3.18! configuration save and replace .................................................................................................................. 34!
3.3.19! clear ip igmp snooping statistics ................................................................................................................ 34!
3.3.20! clear logging ............................................................................................................................................... 34!
3.3.21! clear mac address-table ............................................................................................................................. 34!
3.3.22! debug .......................................................................................................................................................... 34!
3.3.23! delete .......................................................................................................................................................... 34!
3.3.24! dir ............................................................................................................................................................... 34!
3.3.25! do ................................................................................................................................................................ 35!
3.3.26! duplex ......................................................................................................................................................... 35!
3.3.27! editing ......................................................................................................................................................... 35!
3.3.28! firmware ..................................................................................................................................................... 35!
3.3.29! flowcontrol .................................................................................................................................................. 35!
3.3.30! frame-sizes .................................................................................................................................................. 35!
3.3.31! green-etherneteee ....................................................................................................................................... 36!
3.3.32! green-etherneteee optimize-for-power ....................................................................................................... 36!
3.3.33! green-etherneteee urgent-queues ............................................................................................................... 36!
3.3.34! help ............................................................................................................................................................. 36!
3.3.35! iparp inspection .......................................................................................................................................... 36!
3.3.36! ip arp inspection translate .......................................................................................................................... 36!
3.3.37! ip arp inspection entry ................................................................................................................................ 36!
3.3.38! ip arp inspection vlan ................................................................................................................................. 37!
3.3.39! ip dns proxy ................................................................................................................................................ 37!
3.3.40! ip http secure-redirect ................................................................................................................................ 37!
3.3.41! ip http secure-server ................................................................................................................................... 37!
3.3.42! ip source binding interface ......................................................................................................................... 37!
3.3.43! ip ssh ........................................................................................................................................................... 37!
3.3.44! ip name-server ............................................................................................................................................ 37!
3.3.45! ip route ....................................................................................................................................................... 38!
3.3.46! ip routing .................................................................................................................................................... 38!
3.3.47! ip verify ....................................................................................................................................................... 38!
3.3.48! ipmc profile ................................................................................................................................................. 38!
3.3.49! ipmc range .................................................................................................................................................. 38!
3.3.50! lacp ............................................................................................................................................................. 38!
3.3.51! line .............................................................................................................................................................. 38!
3.3.52! login host .................................................................................................................................................... 39!
Contents
iv
3.3.53! login level ................................................................................................................................................... 39!
3.3.54! login on ....................................................................................................................................................... 39!
3.3.55! logout .......................................................................................................................................................... 39!
3.3.56! mac address-table aging-time .................................................................................................................... 39!
3.3.57! mac address-table static ............................................................................................................................. 39!
3.3.58! more ............................................................................................................................................................ 39!
3.3.59! no ................................................................................................................................................................ 40!
3.3.60! ping ............................................................................................................................................................. 40!
3.3.61! port-security ............................................................................................................................................... 40!
3.3.62! privilege ...................................................................................................................................................... 40!
3.3.63! reload .......................................................................................................................................................... 40!
3.3.64! rmon ............................................................................................................................................................ 41!
3.3.65! rmon alarm ................................................................................................................................................. 41!
3.3.66! rmon alarm ................................................................................................................................................. 42!
3.3.67! terminal ...................................................................................................................................................... 42!
3.3.68! vlan <vlanid> ............................................................................................................................................. 42!
3.3.69! vlan <vlanid> <name> .............................................................................................................................. 42!
3.3.70! vlan disable <vlanid> ................................................................................................................................ 43!
3.3.71! mac address-table aging-time <time> ....................................................................................................... 43!
3.3.72! mtu <value> ............................................................................................................................................... 43!
3.3.73! media-type .................................................................................................................................................. 43!
3.3.74! monitor destination interface ..................................................................................................................... 43!
3.3.75! monitor source interface ............................................................................................................................ 43!
3.3.76! monitor source cpu ..................................................................................................................................... 44!
3.3.77! speed ........................................................................................................................................................... 44!
3.3.78! tacacs-server host ....................................................................................................................................... 44!
3.3.79! tacacs-server key ........................................................................................................................................ 44!
3.3.80! tacacs-server timeout ................................................................................................................................. 44!
3.3.81! traps ............................................................................................................................................................ 45!
3.3.82! upnp ............................................................................................................................................................ 45!
3.3.83! upnp advertising-duration .......................................................................................................................... 45!
3.3.84! upnp ttl ........................................................................................................................................................ 45!
3.3.85! username .................................................................................................................................................... 45!
3.3.86! web .............................................................................................................................................................. 45!
3.3.87! flow-control {enable|disble} ....................................................................................................................... 46!
3.3.88! speed ........................................................................................................................................................... 46!
3.3.89! port {enable/disable} .................................................................................................................................. 46!
3.3.90! Date/Time ................................................................................................................................................... 47!
3.4! VLAN!MODE!COMMANDS!.....................................................................................................................................!47!
3.4.1! vlan ............................................................................................................................................................. 47!
3.4.2! vlan ethertype s-custom-port ...................................................................................................................... 47!
3.4.3! vlan protocol ............................................................................................................................................... 47!
3.4.4! vlan-trunking .............................................................................................................................................. 47!
3.4.5! switchport access vlan ................................................................................................................................ 48!
3.4.6! switchport forbidden vlan ........................................................................................................................... 48!
3.4.7! switchport hybrid acceptable-frame-type ................................................................................................... 48!
3.4.8! switchport hybrid allowed vlan .................................................................................................................. 48!
3.4.9! switchport hybrid egress-tag ...................................................................................................................... 48!
3.4.10! switchport hybrid ingress-filtering ............................................................................................................. 49!
3.4.11! switchport mode ......................................................................................................................................... 49!
3.4.12! switchport trunk allowed vlan .................................................................................................................... 49!
3.4.13! switchport vlan protocol group .................................................................................................................. 49!
3.5! INTERFACE!VLAN!MODE!COMMANDS!......................................................................................................................!50!
3.5.1! interface ...................................................................................................................................................... 50!
3.5.2! interface vlan .............................................................................................................................................. 50!
3.5.3! ip address ................................................................................................................................................... 50!
3.5.4! ip name-server ............................................................................................................................................ 50!
3.5.5! ip dhcp excluded-address ........................................................................................................................... 50!
3.5.6! ip dhcp pool ................................................................................................................................................ 50!
Contents
v
3.5.7! ip dhcp server ............................................................................................................................................. 51!
3.5.8! ip dhcp relay ............................................................................................................................................... 51!
3.5.9! ip dhcp relay information option ................................................................................................................ 51!
3.5.10! ip dhcp retry interface vlan ........................................................................................................................ 51!
3.5.11! ip dhcp snooping ........................................................................................................................................ 51!
3.5.12! ip helper-address ........................................................................................................................................ 51!
3.5.13! ipv6 address ................................................................................................................................................ 51!
3.5.14! ipv6mtu ....................................................................................................................................................... 51!
3.6! RINGV2!GROUP!MODE!COMMANDS!........................................................................................................................!52!
3.6.1! ringv2 protect ............................................................................................................................................. 52!
3.6.2! guard-time .................................................................................................................................................. 52!
3.6.3! mode ........................................................................................................................................................... 52!
3.6.4! node1 interface GigabitEthernet <portNo>} ............................................................................................. 52!
3.6.5! node2 interface GigabitEthernet <portNo>} ............................................................................................. 52!
3.6.6! role .............................................................................................................................................................. 52!
3.7! SPANNING!TREE!....................................................................................................................................................!53!
3.7.1! spanning-tree .............................................................................................................................................. 53!
3.7.2! spanning-tree aggregation ......................................................................................................................... 53!
3.7.3! spanning-tree auto-edge ............................................................................................................................. 53!
3.7.4! spanning-tree auto-edge ............................................................................................................................. 53!
3.7.5! spanning-tree bpdu-guard .......................................................................................................................... 53!
3.7.6! spanning-tree edge ..................................................................................................................................... 53!
3.7.7! spanning-tree edge bpdu-filter ................................................................................................................... 53!
3.7.8! spanning-tree mode .................................................................................................................................... 54!
3.7.9! spanning-tree mst cost ................................................................................................................................ 54!
3.7.10! spanning-tree mst port-priority .................................................................................................................. 54!
3.7.11! spanning-tree mst priority .......................................................................................................................... 54!
3.7.12! spanning-tree mst vlan ............................................................................................................................... 54!
3.7.13! spanning-tree mst forward-time ................................................................................................................. 55!
3.7.14! spanning-tree mst max-age ........................................................................................................................ 55!
3.7.15! spanning-tree mst max-hops ....................................................................................................................... 55!
3.7.16! spanning-tree mst name .............................................................................................................................. 55!
3.7.17! spanning-tree mst <instance> .................................................................................................................... 55!
3.7.18! spanning-tree recovery ............................................................................................................................... 56!
3.7.19! spanning-tree transmit ............................................................................................................................... 56!
3.8! SFLOW!CONFIGURE!COMMAND!...............................................................................................................................!56!
3.8.1! sflow ............................................................................................................................................................ 56!
3.8.2! sflow agent-ip ............................................................................................................................................. 56!
3.8.3! sflow collector-address ............................................................................................................................... 56!
sflow collector-address [ receiver <range_list> ] [ <word> ] ............................................................................... 56!
3.8.4! sflow max-datagram-size ............................................................................................................................ 56!
3.8.5! sflow max-sampling-size ............................................................................................................................. 56!
3.8.6! sflow collector-port .................................................................................................................................... 57!
3.8.7! sflow sampling-rate .................................................................................................................................... 57!
3.8.8! sflow timeout ............................................................................................................................................... 57!
3.9! SNMP!CONFIGURE!COMMAND!...............................................................................................................................!57!
3.9.1! snmp-server ................................................................................................................................................ 57!
3.9.2! snmp-server access ..................................................................................................................................... 57!
3.9.3! snmp-server community v2c ....................................................................................................................... 58!
3.9.4! snmp-server community v3 ......................................................................................................................... 58!
3.9.5! snmp-server host ......................................................................................................................................... 58!
3.9.6! snmp-server host traps ............................................................................................................................... 58!
3.9.7! snmp-server trap ......................................................................................................................................... 58!
3.9.8! snmp-server user ........................................................................................................................................ 58!
3.9.9! snmp-server version ................................................................................................................................... 59!
3.9.10! snmp-server view ........................................................................................................................................ 59!
3.9.11! SNMP trap receive ipv6 host ...................................................................................................................... 59!
3.9.12! snmp-server contact ................................................................................................................................... 59!
3.9.13! snmp-server engine-id ................................................................................................................................ 59!
Contents
vi
3.9.14! snmp-server location .................................................................................................................................. 59!
3.9.15! snmp-server security-to-group ................................................................................................................... 60!
3.9.16! SNMP trap receive ipv4 host ...................................................................................................................... 60!
3.10! QOS!FUNCTION!COMMAND!....................................................................................................................................!60!
3.10.1! qos qce ........................................................................................................................................................ 60!
3.10.2! qos storm .................................................................................................................................................... 60!
3.10.3! qos cos ........................................................................................................................................................ 60!
3.10.4! qos dscp-classify ......................................................................................................................................... 61!
3.10.5! qos dscp-remark ......................................................................................................................................... 61!
3.10.6! qos dscp-translate ....................................................................................................................................... 61!
3.10.7! qos map cos-dscp ........................................................................................................................................ 61!
3.10.8! qos map cos-dscp ........................................................................................................................................ 61!
3.10.9! qos map dscp-egress-translation ................................................................................................................ 62!
3.10.10! qos map dscp-ingress-translation .............................................................................................................. 62!
3.10.11! qos policer .................................................................................................................................................. 63!
3.10.12! qos wrr ........................................................................................................................................................ 63!
3.10.13! qos queue-shaper ........................................................................................................................................ 63!
3.10.14! qos queue-policer ....................................................................................................................................... 63!
3.10.15! qos shaper <unit> ...................................................................................................................................... 63!
3.11! IGMP!FUNCTIONAL!COMMANDS!.............................................................................................................................!63!
3.11.1! ip igmp host-proxy [ leave-proxy ] ............................................................................................................. 63!
3.11.2! ip igmp snooping ........................................................................................................................................ 64!
3.11.3! ip igmp snooping immediate-leave ............................................................................................................. 64!
3.11.4! ip igmp snooping last-member-query-interval ........................................................................................... 64!
3.11.5! ip igmp snooping max-groups .................................................................................................................... 64!
3.11.6! ip igmp snooping mrouter .......................................................................................................................... 64!
3.11.7! ip igmp snooping querier ........................................................................................................................... 64!
3.11.8! ip igmp snooping query-interval ................................................................................................................ 64!
3.11.9! ip igmp snooping vlan ................................................................................................................................ 64!
3.11.10! ip igmp ssm-range ...................................................................................................................................... 65!
3.11.11! ip igmp unknown-flooding .......................................................................................................................... 65!
3.11.12! clear ip igmp snooping statistics ................................................................................................................ 65!
3.12! MVR!FUNCTIONAL!COMMANDS!..............................................................................................................................!65!
3.12.1! mvr .............................................................................................................................................................. 65!
3.12.2! mvr immediate-leave .................................................................................................................................. 65!
3.12.3! mvr name channel ...................................................................................................................................... 65!
3.12.4! mvr frame priority ...................................................................................................................................... 65!
3.12.5! mvr name <word16> frame tagged ........................................................................................................... 65!
3.12.6! mvr name <word16> igmp-address <ipv4_ucast> ................................................................................... 66!
3.12.7! mvr name <word16> last-member-query-interval <0-31744> ................................................................. 66!
3.12.8! mvr name <word16> mode ........................................................................................................................ 66!
3.12.9! mvr name <word16> type .......................................................................................................................... 66!
3.12.10! mvr vlan ...................................................................................................................................................... 66!
3.12.11! mvr vlan <vlan_list> channel .................................................................................................................... 66!
3.12.12! mvr vlan <vlan_list> frame priority .......................................................................................................... 66!
3.12.13! mvr vlan <vlan_list> frame tagged ............................................................................................................ 66!
3.12.14! mvr vlan <vlan_list> igmp-address ........................................................................................................... 67!
3.12.15! mvr vlan <vlan_list> mode ........................................................................................................................ 67!
3.12.16! mvr vlan <vlan_list> type .......................................................................................................................... 67!
3.13! MLD!FUNCTIONAL!COMMANDS!..............................................................................................................................!67!
3.13.1! ipv6 mld host-proxy .................................................................................................................................... 67!
3.13.2! ipv6 mld snooping ...................................................................................................................................... 67!
3.13.3! ipv6 mld snooping compatibility ................................................................................................................ 67!
3.13.4! ipv6 mld snooping immediate-leave ........................................................................................................... 67!
3.13.5! ipv6 mld snooping last-member-query-interval ......................................................................................... 68!
3.13.6! ipv6 mld snooping max-groups .................................................................................................................. 68!
3.13.7! ipv6 mld snooping mrouter ......................................................................................................................... 68!
3.13.8! ipv6 mld snooping query-interval ............................................................................................................... 68!
3.13.9! ipv6 mld snooping query-max-response-time ............................................................................................. 68!
Contents
vii
3.13.10! ipv6 mld snooping vlan ............................................................................................................................... 68!
3.13.11! ipv6 mld ssm-range .................................................................................................................................... 68!
3.13.12! ipv6 mld unknown-flooding ........................................................................................................................ 68!
3.13.13! ipv6 route .................................................................................................................................................... 69!
3.14! AUTHENTICATE!MODE!COMMANDS!..........................................................................................................................!69!
3.14.1! radius-server attribute 32 ........................................................................................................................... 69!
3.14.2! radius-server attribute 4 ............................................................................................................................. 69!
3.14.3! radius-server attribute 95 ........................................................................................................................... 69!
3.14.4! radius-server deadtime ............................................................................................................................... 69!
3.14.5! radius-server host [ auth-port] [ acct-port ] [ timeout ] [ retransmit ] [ key] ....................................... 69!
3.14.6! radius -server key ....................................................................................................................................... 70!
3.14.7! radius-server retransmit ............................................................................................................................. 70!
3.14.8! radius-server timeout ................................................................................................................................. 70!
3.14.9! tacacs-server deadtime <1-1440> ............................................................................................................. 70!
3.14.10! tacacs-server host [ auth-port] [ timeout ] [ key] ...................................................................................... 70!
3.14.11! tacacs-server deadtime <1-1440> ............................................................................................................. 70!
3.14.12! tacacs-server deadtime <1-1440> ............................................................................................................. 70!
3.14.13! dot1x feature ............................................................................................................................................... 71!
3.14.14! dot1x authentication timer .......................................................................................................................... 71!
3.14.15! dot1x max-reauth-req ................................................................................................................................. 71!
3.14.16! dot1x re-authentication .............................................................................................................................. 71!
3.14.17! dot1x system-auth-controln ........................................................................................................................ 71!
3.14.18! dot1x timeout .............................................................................................................................................. 71!
3.14.19! dot1x guest-vlan ......................................................................................................................................... 72!
3.14.20! dot1x initialize ............................................................................................................................................ 72!
3.14.21! dot1x port-control ....................................................................................................................................... 72!
3.14.22! dot1x radius-vlan ........................................................................................................................................ 72!
3.14.23! show radius-server [ statistics ] ................................................................................................................. 72!
3.14.24! enable ......................................................................................................................................................... 72!
3.14.25! end .............................................................................................................................................................. 73!
3.14.26! exit .............................................................................................................................................................. 73!
3.14.27! hostname ..................................................................................................................................................... 73!
3.15! LOOP-PROTECTION!CONFIGURE!COMMANDS!..............................................................................................................!73!
3.15.1! loop-protect ................................................................................................................................................ 73!
3.15.2! loop-protect action ..................................................................................................................................... 73!
3.15.3! loop-protect shutdown-time ........................................................................................................................ 73!
3.15.4! loop-protect transmit-time .......................................................................................................................... 73!
3.15.5! loop-protect tx-mode .................................................................................................................................. 73!
3.16! LLDP!CONFIGURE!COMMANDS!................................................................................................................................!74!
3.16.1! lldp holdtime ............................................................................................................................................... 74!
3.16.2! lldp med ...................................................................................................................................................... 74!
3.16.3! lldp receive ................................................................................................................................................. 74!
3.16.4! lldp reinit <1-10> ...................................................................................................................................... 74!
3.16.5! lldp timer <5-32768> ................................................................................................................................. 75!
3.16.6! lldp tlv-select .............................................................................................................................................. 75!
3.16.7! lldp transmission-delay .............................................................................................................................. 75!
3.16.8! lldp transmit ............................................................................................................................................... 75!
3.17! RFC2544!TESTING!CONFIGURE!COMMANDS!.............................................................................................................!75!
3.17.1! rfc2544 profile <word32> ......................................................................................................................... 75!
3.17.2! rfc2544 rename profile ............................................................................................................................... 76!
3.17.3! rfc2544 save <word32> <word> .............................................................................................................. 76!
3.17.4! rfc2544 start <word32> profile <word32> [ desc <line128> ] ............................................................... 76!
3.17.5! rfc2544 stop <word32> ............................................................................................................................. 76!
3.17.6! show rfc2544 profile [ <word32> ] ........................................................................................................... 76!
3.18! GVRP!CONFIGURE!COMMANDS!..............................................................................................................................!76!
3.18.1! gvrp ............................................................................................................................................................. 76!
3.18.2! gvrpjoin request vlan .................................................................................................................................. 76!
3.18.3! gvrpleave request vlan ................................................................................................................................ 77!
3.18.4! gvrp max-vlans ........................................................................................................................................... 77!
Contents
viii
3.18.5! gvrp time { [ join-time <1-20> ] [ leave-time <60-300> ] [ leave-all-time <1000-50>] ........................ 77!
3.19! VOICE!VLAN!CONFIGURE!COMMANDS!......................................................................................................................!77!
3.19.1! voice vlan .................................................................................................................................................... 77!
3.19.2! voice vlan aging-time ................................................................................................................................. 77!
3.19.3! voice vlan class ........................................................................................................................................... 77!
3.19.4! voice vlan oui .............................................................................................................................................. 78!
3.19.5! voice vlan vid .............................................................................................................................................. 78!
3.20! PROFILE!ALARM!COMMANDS!...................................................................................................................................!78!
3.20.1! profile alarm ............................................................................................................................................... 78!
3.20.2! alarm .......................................................................................................................................................... 78!
3.21! POE!COMMANDS!..................................................................................................................................................!78!
3.21.1! poe management mode ............................................................................................................................... 78!
3.21.2! poe supply ................................................................................................................................................... 79!
3.21.3! poe 4pairs ................................................................................................................................................... 79!
3.21.4! poe mode ..................................................................................................................................................... 79!
3.21.5! poe operation .............................................................................................................................................. 79!
3.21.6! poe power ................................................................................................................................................... 79!
3.21.7! poe priority ................................................................................................................................................. 80!
3.21.8! poe reset ..................................................................................................................................................... 80!
3.21.9! poe schedule ............................................................................................................................................... 80!
[LIST OF TABLES]
Table 2-1 List of Execution Modes ................................................................................................................. 8
Table 2-2 List of Terminal Keys ...................................................................................................................... 9
[LIST OF FIGURES]
Figure 2-1 Screen Description ........................................................................................................................ 8
Contents
ix
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
Scope
3
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 the VX-IGP-1204F 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 VX-IGP-1204F (see the 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: ! Quick Installation Guide
Scope
4
5
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
6
Operator Interface
7
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 the Ethernet port (RJ45 Ethernet port)
2. Key-in the command under Telnet: telnet 192.0.2.1
3. Login with default account and password.
Username: admin Password: (none)
8
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
Mode
Access Level
Prompt
Init Mode
Guest
>
Enable Mode
Guest
#
Config Mode
Guest
(conf)#
Alarm Profile Config Mode
Engineer
(alarm-profile-conf)#
Gigabit Interface Config Mode
Engineer
(gigabit-intf-conf)#
ACL Profile Config Mode
Engineer
(acl-profile-conf)#
scheduler Profile Config Mode
Engineer
(sch-profile-conf)#
Vlan Interface Config Mode
Engineer
(vlan-intf-conf)#
IGMP MVR Profile Config Mode
Engineer
(igmp-mvr-profile-conf)#
IGMP ACL Profile Config Mode
Engineer
(igmp-acl-profile-conf)#
RingV2 Group Config Mode
Engineer
(ring)#
Trunk Group Config Mode
Engineer
(trunk-group-conf)#
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.
192.0.2.1&
Operator Interface
9
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.
10
11
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
12
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
13
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 ] [ link-oam ] [ 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
14
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
Green Ethernet
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 [ interface ( <port_type>
[ <port_list> ] ) ]
Parameter
Name
Description
eee
Shows green ethernet EEE status for a specific port or ports
energy-detect
Shows green ethernet energy-detect status for a specific port or ports
short-reach
Shows green ethernet short-reach status for a specific port or ports
interface
Shows green ethernet 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
15
arp
Address Resolution Protocol
dhcp
Dynamic Host Configuration Protocol
http
Hypertext Transfer Protocol
igmp
Internet Group Management Protocol
interface
IP interface status and configuration
name-server
Domain Name System
route
Display the current ip routing table
source
source command
ssh
Secure Shell
statistics
Traffic statistics
verify
verify command
3.2.11 show ipmc
Description
IPMC information
Syntax
show ipmc profile [ <profile_name> ] [ detail ] show ipmc range [ <entry_name> ]
Parameter
Name
Description
profile
IPMC profile configuration
range
A range of IPv4/IPv6 multicast addresses for the profile
profile_name
<ProfileName : word16> Profile name in 16 char's
detail
Detail information of a profile
entry_name
<EntryName : word16> Range entry name in 16 char's
3.2.12 show ipv6
Description
IPv6 information
Syntax
show ipv6
Parameter
Name
Description
interface
Select an interface to configure
mld
Multicasat Listener Discovery
neighbor
IPv6 neighbors
route
IPv6 routes
statistics
Traffic statistics
3.2.13 show lacp
Description
LACP information
Syntax
show lacp { internal | statistics | system-id | neighbour }
Parameter
Name
Description
internal
Internal LACP configuration
neighbour
Neighbour LACP status
statistics
Internal LACP statistics
system-id
LACP system id
3.2.14 show line
Description
Alive line information
Syntax
show line [ alive ]
Parameter
Name
Description
alive
Display information about alive lines
16
3.2.15 show logging
Description
Logging information
Syntax
show logging <log_id> [ switch <switch_list> ] show logging [ info ] [ warning ] [ error ] [ switch <switch_list> ]
Parameter
Name
Description
log_id
<logging_id: 1-4294967295> Logging ID
error
Error
info
Infomation
warning
Warning
3.2.16 show loop-protec
Description
Loop protect information
Syntax
show loop-protect [ interface ( <port_type> [ <plist> ] ) ]
Parameter
Name
Description
interface
Interface status and configuration
port_type
GigabitEthernet, 1 Gigabit Ethernet Port
plist
<port_type_list> Port list in 1/1-14
3.2.17 show ntp status
Description
Show SNTP information.
Syntax
show sntp
Parameter
None
3.2.18 show users
Description
Show account list.
Syntax
show account
Parameter
None
3.2.19 show running-cfg
Description
Show running configuration.
Syntax
show running-cfg
Parameter
None
3.2.20 show running-config interface Gigabit
Description
Show port config
Syntax
show running-config interface ( <port_type> [ <list> ] ) [ all-defaults ]
Parameter
Name
Description
list
<port_type_list> Port list in 1/1-14
all-defaults
Include most/all default values
3.2.21 show running-config interface vlan
Description
Show default running configuration.
Syntax
show running-config interface vlan <vlan_list> [ all-defaults]
Parameter
None
3.2.22 show running-config all-defautls
Description
Show all default setting
Syntax
show running-config [ all-defaults ]
Parameter
None
Loading...
+ 64 hidden pages