Quanta Computer QuantaMesh User Manual

___________________________________________________________________________________________
UANTA COMPUTER INC.
_________________________________________________________________
QuantaMesh Layer 2/3/4 Managed Switch
Applicable Products
* T5032-LY6 * T3096-LY5
Edition April 2014
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
2
Comments… Suggestions… Corrections…
The User documentation Department would like to know your opinion on this manual. Your feedback helps us to optimize our documentation to suit your individual needs.
Fax forms for sending us your comments are included at the back of the manual. There you will also find the addresses of the relevant User documentation Department.
Copyright and Trademarks
Copyright © 2014 Quanta Computer Inc. All rights reserved. Delivery subject to availability; right of technical modifications reserved. All hardware and software names used are trademarks of their respective manufacturers.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
3
Document History
Revision Date Remark
0.1 4/3/2014 First Edition
-
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
4
CONTENTS
1 INTRODUCTION ......................................................................................................................................... 10
1.1 P
RODUCT OVERVIEW
..................................................................................................................................... 10
1.2 F
EATURES
.................................................................................................................................................... 12
1.3 M
ANAGEMENT OPTIONS
................................................................................................................................ 14
1.4 C
OMMAND LINE CONSOLE INTERFACE THROUGH THE SERIAL PORT OR TELNET
......................................................... 14
1.5 SNMP-B
ASED MANAGEMENT
........................................................................................................................ 15
2 INSTALLATION AND QUICK STARTUP ........................................................................................................ 18
2.1 P
ACKAGE CONTENTS
..................................................................................................................................... 18
2.2 S
WITCH INSTALLATION
................................................................................................................................... 19
2.3 I
NSTALLING THE SWITCH IN A RACK
.................................................................................................................. 20
2.4 Q
UICK STARTING THE SWITCH
......................................................................................................................... 21
2.5 S
YSTEM INFORMATION SETUP
......................................................................................................................... 22
2.5.1 Quick Start up Software Version Information .................................................................................. 22
2.5.2 Quick Start up Physical Port Data .................................................................................................... 22
2.5.3 Quick Start up User Account Management ..................................................................................... 23
2.5.4 Quick Start up IP Address ................................................................................................................. 24
2.5.5 Quick Start up Uploading from Switch to Out-of-Band PC ............................................................... 25
2.5.6 Quick Start up Downloading from Out-of-Band PC to Switch .......................................................... 25
2.5.7 Quick Start up Downloading from TFTP Server ................................................................................ 25
2.5.8 Quick Start up Factory Defaults ....................................................................................................... 26
3 CONSOLE AND TELNET ADMINISTRATION INTERFACE ............................................................................... 27
3.1 L
OCAL CONSOLE MANAGEMENT
...................................................................................................................... 27
3.2 S
ET UP YOUR SWITCH USING CONSOLE ACCESS
.................................................................................................. 27
3.3 S
ET UP YOUR SWITCH USING TELNET ACCESS
..................................................................................................... 29
3.3.1 Accessing the Switch CLI through the Network ................................................................................ 29
3.3.2 Using the Service Port or Netowrk Interface for Remote Management .......................................... 29
4 COMMAND LINE INTERFACE STRUCTURE AND MODE-BASED CLI .............................................................. 31
4.1 CLI C
OMMAND FORMAT
................................................................................................................................ 31
4.2 CLI M
ODE-BASED TOPOLOGY
......................................................................................................................... 32
5 SWITCHING COMMANDS .......................................................................................................................... 34
5.1 S
YSTEM INFORMATION AND STATISTICS COMMANDS
........................................................................................... 34
5.1.1 show arp .......................................................................................................................................... 34
5.1.2 show calendar .................................................................................................................................. 35
5.1.3 show process cpu ............................................................................................................................. 36
5.1.4 show eventlog .................................................................................................................................. 38
5.1.5 show running-config ........................................................................................................................ 39
5.1.6 show sysinfo ..................................................................................................................................... 40
5.1.7 show system ..................................................................................................................................... 41
5.1.8 show tech-support ........................................................................................................................... 42
5.1.9 show hardware ................................................................................................................................ 43
5.1.10 show version .................................................................................................................................... 45
5.1.11 show loginsession ............................................................................................................................ 46
5.1.12 show command filter ....................................................................................................................... 47
5.1.13 Digital Optical Monitor .................................................................................................................... 48
5.2 D
EVICE CONFIGURATION COMMANDS
.............................................................................................................. 50
5.2.1 Interface ........................................................................................................................................... 50
5.2.2 L2 MAC Address and Multicast Forwarding Database Tables ......................................................... 71
5.2.3 VLAN Management .......................................................................................................................... 79
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
5
5.2.4 Double VLAN commands ................................................................................................................ 103
5.2.5 GVRP and Bridge Extension............................................................................................................ 105
5.2.6 IGMP Snooping .............................................................................................................................. 116
5.2.7 IGMP Snooping Querier ................................................................................................................. 132
5.2.8 MLD Snooping ................................................................................................................................ 139
5.2.9 MLD Snooping Querier ................................................................................................................... 153
5.2.10 Port Channel .................................................................................................................................. 160
5.2.11 Storm Control ................................................................................................................................. 176
5.2.12 L2 Priority ....................................................................................................................................... 185
5.2.13 Port Mirror ..................................................................................................................................... 187
5.2.14 Link State ....................................................................................................................................... 190
5.2.15 Port Backup .................................................................................................................................... 193
5.2.16 Expandable Port Configuration ...................................................................................................... 195
5.3 M
ANAGEMENT COMMANDS
......................................................................................................................... 197
5.3.1 Network Commands ...................................................................................................................... 197
5.3.2 Serial Interface Commands ............................................................................................................ 202
5.3.3 Telnet Session Commands.............................................................................................................. 206
5.3.4 SSH Client Session Commands ....................................................................................................... 214
5.3.5 SNMP Server Commands ............................................................................................................... 217
5.3.6 SNMP Trap Commands .................................................................................................................. 233
5.3.7 SNMP Inform Commands ............................................................................................................... 243
5.3.8 Secure Shell (SSH) Commands ........................................................................................................ 244
5.3.9 Management Security Commands ................................................................................................. 247
5.3.10 DHCP Client Commands ................................................................................................................. 248
5.3.11 DHCPv6 Client Commands ............................................................................................................. 249
5.3.12 DHCP Relay Commands ................................................................................................................. 251
5.3.13 sFlow Commands ........................................................................................................................... 253
5.3.14 Service Port Commands ................................................................................................................. 264
5.3.15 Time Range Commands ................................................................................................................. 270
5.3.16 Command Scheduler Commands ................................................................................................... 274
5.4 S
PANNING TREE COMMANDS
........................................................................................................................ 277
5.4.1 Show Commands ........................................................................................................................... 277
5.4.2 Configuration Commands .............................................................................................................. 287
5.5 S
YSTEM LOG MANAGEMENT COMMANDS
....................................................................................................... 301
5.5.1 Show Commands ........................................................................................................................... 301
5.5.2 Configuration Commands .............................................................................................................. 304
5.6 E
MAIL ALERTING AND MAIL SERVER COMMANDS
............................................................................................. 311
5.6.1 Show Commands ........................................................................................................................... 311
5.6.2 Configuration Commands .............................................................................................................. 314
5.7 S
CRIPT MANAGEMENT COMMANDS
............................................................................................................... 321
5.7.1 script apply ..................................................................................................................................... 321
5.7.2 script delete ................................................................................................................................... 321
5.7.3 script show ..................................................................................................................................... 322
5.7.4 script validate ................................................................................................................................ 323
5.8 U
SER ACCOUNT MANAGEMENT COMMANDS
................................................................................................... 324
5.8.1 Show Commands ........................................................................................................................... 324
5.8.2 Configuration Commands .............................................................................................................. 327
5.9 S
ECURITY COMMANDS
................................................................................................................................. 334
5.9.1 Show Commands ........................................................................................................................... 334
5.9.2 Configuration Commands .............................................................................................................. 356
5.9.3 Dot1x Configuration Commands .................................................................................................... 361
5.9.4 Interface ConfigRadius Configuration Commands ......................................................................... 371
5.9.5 TACACS+ Configuration Commands ............................................................................................... 379
5.9.6 Port Security Configuration Commands ......................................................................................... 384
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
6
5.9.7 Denial Of Service Commands ......................................................................................................... 388
5.10 CDP (C
ISCO DISCOVERY PROTOCOL) COMMANDS
............................................................................................ 399
5.10.1 Show Commands ........................................................................................................................... 399
5.10.2 Configuration Commands .............................................................................................................. 403
5.11 SNTP (S
IMPLE NETWORK TIME PROTOCOL) COMMANDS
.................................................................................. 406
5.11.1 Show Commands ........................................................................................................................... 406
5.11.2 Configuration Commands .............................................................................................................. 409
5.12 LLDP (L
INK LAYER DISCOVERY PROTOCOL) COMMANDS
.................................................................................... 417
5.12.1 Show Commands ........................................................................................................................... 417
5.12.2 Configuration Commands .............................................................................................................. 434
5.13 VTP (VLAN T
RUNKING PROTOCOL) COMMANDS
............................................................................................. 446
5.13.1 Show Commands ........................................................................................................................... 446
5.13.2 Configuration Commands .............................................................................................................. 449
5.14 P
ROTECTED PORTS COMMANDS
.................................................................................................................... 454
5.14.1 Show Commands ........................................................................................................................... 454
5.14.2 Configuration Commands .............................................................................................................. 456
5.15 S
TATIC
MAC F
ILTERING COMMANDS
............................................................................................................. 457
5.15.1 Show Commands ........................................................................................................................... 457
5.15.2 Configuration Commands .............................................................................................................. 458
5.16 S
YSTEM UTILITIES
....................................................................................................................................... 461
5.16.1 clear ............................................................................................................................................... 461
5.16.2 copy ................................................................................................................................................ 475
5.16.3 delete ............................................................................................................................................. 478
5.16.4 dir ................................................................................................................................................... 479
5.16.5 whichboot ...................................................................................................................................... 480
5.16.6 boot-system ................................................................................................................................... 480
5.16.7 ping ................................................................................................................................................ 481
5.16.8 traceroute ...................................................................................................................................... 484
5.16.9 logging cli-command ..................................................................................................................... 486
5.16.10 calendar set................................................................................................................................ 487
5.16.11 reload ......................................................................................................................................... 487
5.16.12 configure .................................................................................................................................... 488
5.16.13 disconnect .................................................................................................................................. 488
5.16.14 hostname ................................................................................................................................... 489
5.16.15 quit ............................................................................................................................................. 489
5.16.16 cablestatus ................................................................................................................................. 490
5.16.17 AutoInstall Commands ............................................................................................................... 491
5.16.18 Capture CPU packet Commands ................................................................................................ 495
5.17 DHCP S
NOOPING COMMANDS
..................................................................................................................... 500
5.17.1 Show Commands ........................................................................................................................... 501
5.17.2 Configuration Commands .............................................................................................................. 508
5.18 IP S
OURCE GUARD
(IPSG) C
OMMANDS
......................................................................................................... 518
5.18.1 Show Commands ........................................................................................................................... 519
5.18.2 Configuration Commands .............................................................................................................. 521
5.19 D
YNAMIC
ARP I
NSPECTION
(DAI) C
OMMAND
................................................................................................. 522
5.19.1 Show Commands ........................................................................................................................... 523
5.19.2 Configuration Commands .............................................................................................................. 527
5.20 D
IFFERENTIATED SERVICE COMMAND
............................................................................................................. 532
5.20.1 General Commands........................................................................................................................ 534
5.20.2 Class Commands ............................................................................................................................ 535
5.20.3 Policy Commands ........................................................................................................................... 554
5.20.4 Service Commands ......................................................................................................................... 565
5.20.5 Show Commands ........................................................................................................................... 568
5.21 ACL C
OMMAND
......................................................................................................................................... 576
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
7
5.21.1 Show Commands ........................................................................................................................... 576
5.21.2 Configuration Commands .............................................................................................................. 583
5.22 IPV6 ACL C
OMMAND
................................................................................................................................. 593
5.22.1 Show Commands ........................................................................................................................... 593
5.22.2 Configuration Commands .............................................................................................................. 595
5.23 COS (C
LASS OF SERVICE) COMMAND
.............................................................................................................. 599
5.23.1 Show Commands ........................................................................................................................... 599
5.23.2 Configuration Commands .............................................................................................................. 604
5.24 A
UTO-VOICE OVER IP COMMANDS
................................................................................................................ 610
5.24.1 Show Commands ........................................................................................................................... 611
5.24.2 Configuration Commands .............................................................................................................. 612
5.25
I
SCSI O
PTIMIZATION COMMANDS
................................................................................................................. 613
5.25.1 Show Commands ........................................................................................................................... 613
5.25.2 Configuration Commands .............................................................................................................. 615
5.26 D
OMAIN NAME SERVER RELAY COMMANDS
.................................................................................................... 619
5.26.1 Show Commands ........................................................................................................................... 619
5.26.2 Configuration Commands .............................................................................................................. 622
5.27 UDLD C
OMMANDS
.................................................................................................................................... 630
5.27.1 Show command ............................................................................................................................. 630
5.27.2 Configuration Commands .............................................................................................................. 632
5.28 M
ULTI CHASSIS LINK AGGREGATION COMMANDS
............................................................................................. 635
5.28.1 Show Commands ........................................................................................................................... 635
5.28.2 Configuration Commands .............................................................................................................. 639
5.29 C
ONTROL PLANE PROTECTION COMMANDS
..................................................................................................... 643
5.29.1 Show Commands ........................................................................................................................... 643
5.29.2 Configuration Commands .............................................................................................................. 643
6 ROUTING COMMANDS ............................................................................................................................ 645
6.1 A
DDRESS RESOLUTION PROTOCOL
(ARP) C
OMMANDS
...................................................................................... 645
6.1.1 Show Commands ........................................................................................................................... 645
6.1.2 Configuration Commands .............................................................................................................. 648
6.2 IP R
OUTING COMMANDS
............................................................................................................................. 653
6.2.1 Show Commands ........................................................................................................................... 653
6.2.2 Configuration Commands .............................................................................................................. 668
6.3 O
PEN SHORTEST PATH FIRST
(OSPF) C
OMMANDS
........................................................................................... 675
6.3.1 Show Commands ........................................................................................................................... 675
6.3.2 Configuration Commands .............................................................................................................. 695
6.4 BOOTP/DHCP R
ELAY COMMANDS
.............................................................................................................. 724
6.4.1 Show Commands ........................................................................................................................... 724
6.4.2 Configuration Commands .............................................................................................................. 725
6.5 IP H
ELPER COMMANDS
............................................................................................................................... 728
6.5.1 Show Commands ........................................................................................................................... 728
6.5.2 Configuration Commands .............................................................................................................. 730
6.6 R
OUTING INFORMATION PROTOCOL
(RIP) C
OMMANDS
..................................................................................... 733
6.6.1 Show Commands ........................................................................................................................... 733
6.6.2 Configuration Commands .............................................................................................................. 736
6.7 R
OUTER DISCOVERY PROTOCOL COMMANDS
................................................................................................... 745
6.7.1 Show Commands ........................................................................................................................... 745
6.7.2 Configuration Commands .............................................................................................................. 746
6.8 VLAN R
OUTING COMMANDS
....................................................................................................................... 749
6.8.1 Configuration Commands .............................................................................................................. 749
6.9 V
IRTUAL ROUTER REDUNDANCY PROTOCOL
(VRRP) C
OMMANDS
....................................................................... 750
6.9.1 Show Commands ........................................................................................................................... 750
6.9.2 Configuration Commands .............................................................................................................. 755
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
8
6.10 P
OLICY BASED ROUTING
(PBR) C
OMMANDS
................................................................................................... 763
6.10.1 Show Commands ........................................................................................................................... 763
6.10.2 Configuration Commands .............................................................................................................. 765
6.11 B
ORDER GATEWAY PROTOCOL
(BGP) C
OMMANDS
........................................................................................... 778
6.11.1 Show Commands ........................................................................................................................... 778
6.11.2 Configuration Commands .............................................................................................................. 798
7 IP MULTICAST COMMANDS..................................................................................................................... 819
7.1 D
ISTANCE VECTOR MULTICAST ROUTING PROTOCOL
(DVMRP) C
OMMANDS
........................................................ 819
7.1.1 Show Commands ........................................................................................................................... 819
7.1.2 Configuration Commands .............................................................................................................. 825
7.2 I
NTERNET GROUP MANAGEMENT PROTOCOL
(IGMP) C
OMMANDS
..................................................................... 827
7.2.1 Show Commands ........................................................................................................................... 827
7.2.2 Configuration Commands .............................................................................................................. 834
7.3 MLD C
OMMANDS
...................................................................................................................................... 839
7.3.1 Show Commands ........................................................................................................................... 839
7.3.2 Configuration Commands .............................................................................................................. 843
7.4 M
ULTICAST COMMANDS
.............................................................................................................................. 847
7.4.1 Show Commands ........................................................................................................................... 847
7.4.2 Configuration Commands .............................................................................................................. 853
7.5 IPV4 P
ROTOCOL INDEPENDENT MULTICAST
(PIM) C
OMMANDS
.......................................................................... 856
7.5.1 Show Commands ........................................................................................................................... 856
7.5.2 Configuration Commands .............................................................................................................. 863
7.6 IPV6 P
ROTOCOL INDEPENDENT MULTICAST COMMANDS
................................................................................... 871
7.6.1 Show Commands ........................................................................................................................... 871
7.6.2 Configuration Commands .............................................................................................................. 878
7.7 IGMP P
ROXY COMMANDS
........................................................................................................................... 886
7.7.1 Show Commands ........................................................................................................................... 886
7.7.2 Configuration Commands .............................................................................................................. 890
7.8 MLD P
ROXY COMMANDS
............................................................................................................................ 892
7.8.1 Show Commands ........................................................................................................................... 892
7.8.2 Configuration Commands .............................................................................................................. 896
8 IPV6 COMMANDS ................................................................................................................................... 898
8.1 T
UNNEL INTERFACE COMMANDS
................................................................................................................... 898
8.1.1 Show Commands ........................................................................................................................... 898
8.1.2 Configuration Commands .............................................................................................................. 900
8.2 L
OOPBACK INTERFACE COMMANDS
................................................................................................................ 902
8.2.1 Show Commands ........................................................................................................................... 902
8.2.2 Configuration Commands .............................................................................................................. 903
8.3 IPV6 R
OUTING COMMANDS
......................................................................................................................... 904
8.3.1 Show Commands ........................................................................................................................... 904
8.3.2 Configuration Commands .............................................................................................................. 917
8.4 OSPFV3 C
OMMANDS
................................................................................................................................. 930
8.4.1 Show Commands ........................................................................................................................... 930
8.4.2 Configuration Commands .............................................................................................................. 948
8.5 RIP
NG COMMANDS
.................................................................................................................................... 972
8.5.1 Show Commands ........................................................................................................................... 972
8.5.2 Configuration Commands .............................................................................................................. 974
8.6 R
OUTING POLICY COMMANDS
...................................................................................................................... 981
8.6.1 Show Commands ........................................................................................................................... 981
8.6.2 Configuration Commands .............................................................................................................. 982
9 DATA CENTER BRIDGING COMMANDS .................................................................................................... 985
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
9
9.1 FIP S
NOOPING
........................................................................................................................................... 985
9.1.1 show dcb fip-snooping ................................................................................................................... 985
9.1.2 show fip-snooping enode ............................................................................................................... 985
9.1.3 show dcb fip-snooping session ....................................................................................................... 987
9.1.4 show dcb fip-snooping fcf .............................................................................................................. 988
9.1.5 show dcb fip-snooping vlan ........................................................................................................... 989
9.1.6 fip-snooping ................................................................................................................................... 989
9.1.7 fip-snooping vlan ........................................................................................................................... 990
9.2 P
RIORITY-BASED FLOW CONTROL
................................................................................................................... 991
9.2.1 show dcb priority-flow-control ....................................................................................................... 991
9.2.2 priority-flow-control mode ............................................................................................................. 991
9.2.3 priority-flow-control priority .......................................................................................................... 992
9.2.4 clear priority-flow-control statistics ............................................................................................... 992
9.3 E
NHANCED TRANSMISSION SELECTION
(ETS) ................................................................................................... 993
9.3.1 show dcb ets classofservice traffic-class-group ............................................................................. 993
9.3.2 show dcb ets traffic-class-group .................................................................................................... 993
9.3.3 ets classofservice traffic-class-group ............................................................................................. 995
9.3.4 ets traffic-class-group max-bandwidth .......................................................................................... 995
9.3.5 ets traffic-class-group min-bandwidth ........................................................................................... 996
9.3.6 ets traffic-class-group strict ........................................................................................................... 996
9.3.7 ets traffic-class-group weight ........................................................................................................ 997
9.4 E
THERNET VIRTUAL BRIDGING
....................................................................................................................... 998
9.4.1 show evb status ............................................................................................................................. 998
9.4.2 show evb status ............................................................................................................................. 999
9.4.3 show evb vsi-profile ..................................................................................................................... 1000
9.4.4 evb enable .................................................................................................................................... 1000
9.4.5 evb rte .......................................................................................................................................... 1001
9.5 VM T
RACER COMMANDS
........................................................................................................................... 1002
9.5.1 Show Commands ......................................................................................................................... 1002
9.5.2 Configuration Commands ............................................................................................................ 1006
10 OPENFLOW COMMANDS ................................................................................................................... 1011
10.1 S
HOW COMMANDS
................................................................................................................................... 1011
10.1.1 show openflow instance .............................................................................................................. 1011
10.1.2 show openflow controller ............................................................................................................ 1012
10.1.3 show openflow installed flows ..................................................................................................... 1013
10.1.4 show openflow installed meters .................................................................................................. 1014
10.1.5 show openflow table status ......................................................................................................... 1015
10.2 C
ONFIGURATION COMMANDS
..................................................................................................................... 1016
10.2.1 OpenFlow Instance....................................................................................................................... 1016
10.2.2 OpenFlow Enable/Disable ............................................................................................................ 1016
10.2.3 OpenFlow Controller .................................................................................................................... 1017
10.2.4 OpenFlow Hybrid Mode ............................................................................................................... 1017
10.2.5 OpenFlow VLAN in Per-VLAN mode instance ............................................................................... 1018
10.2.6 OpenFlow PORT in Per-PORT mode instance ............................................................................... 1018
10.2.7 OpenFlow Variant ........................................................................................................................ 1019
10.2.8 OpenFlow Fail Mode .................................................................................................................... 1019
10.2.9 OpenFlow ignore-legacy-protocol ................................................................................................ 1019
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
10
1 Introduction
1.1 Product Overview
The QuantaMesh Top-of-Rack (ToR) Ethernet switch provides high performance, high availability and simplicity management. They are designed for adaptability and scalability for campus and data center. The hardware configuration of each product is listed in Table 1.
Feature/Model T5032-LY6 T3096-LY5 T3048-LY8
Product Config
10/100/1000 Mbps RJ-45 ports
- - -
10G Base-T ports
-
-
1 GbE SFP ports
- - -
10 GbE SFP+ ports
- 96 48
40 GbE QSFP ports
32 - 4+2(optional)
100 GbE ports - - ­1 GbE SerDes
downlinks
- - -
Switching bandwidth (data rate, full duplex)
2560Gbps 1920Gbps 1280/1440Gbps
Special ports
Console Port 1 (RJ-45 Type) 1 (RJ-45 Type) 1 (RJ-45 Type)
Management Port
1
(10/100/1000Mbps
)
1
(10/100/1000Mbps
)
1
(10/100/1000Mbps
)
USB Port 1(USB2.0) 1(USB2.0) 1(USB2.0)
Fans/Air flow
Cooling Fans 3(hotswapable) 4(hotswapable) 3(hotswapable)
Air Flow
Front-to-Rear or
Rear-to-Front
Front-to-Rear or
Rear-to-Front
Front-to-Rear or
Rear-to-Front
Power/PS U
Hot-Swap PSU (redundant power )
1+1 AC-DC
Redundant power
supply(90-264
VAC input;
12VDC/36A
Output)
1+1 AC-DC
Redundant power
supply(90-264
VAC input;
12VDC/62A
Output)
1+1 AC-DC
Redundant power
supply(90-264
VAC input;
12VDC/36A
Output)
Table 1. Product Configuration
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
11
Simplicity
The QuantaMesh switch can be managed through industry standard command-line interface (CLI) which reduces the training and operating costs. It supports Simple Network Management Protocol (SNMP) both from standard MIB and private MIB for network administrator to easily configure, monitor, and manage remotely. The Auto-installation feature implemented helps centralized management to simplify deployment of a truly plug-and-play experience. With the evolution from IPv4 to IPv6, the QuantaMesh switch is a IPv6 integrated management device.
High Availability
The QuantaMesh switch is designed for high availability from both hardware and software perspective. The key features include:
- 1+1 hot-swappable power supplies
- Out-of-band management supported
- 802.1D, 802.1w and 802.1s supported
- Up to 32 ports per link aggregation group (LACP) and up to 64 groups
- Multi-chassis LAG (MLAG) for preventing the risks of single point failure
- Up to 32 paths ECMP routing for load balancing and redundancy
- Virtual Router Redundancy Protocol (VRRP) supported
High-Performance L2/L3 access deployments
With the compact 1U form factor, high desity ports in the front panel, fron to back or back to front airflow design, the QuantaMesh switch is idea for top-of-rack deployments in high-performance, highly demanding data centers. The high switching capacity to be a powerful solution to aggregate high-performance servers in the data center.
Advance IPv4 and IPv6 Routing
The QuantaMesh switch is a full layer 2 and layer 3 routing switch that supports advanced IPv4 and IPv6 routing features such as RIP v1/v2, OSPF/ECMP, RIPng and OSPFv3. The multicast routing features for IGMP v1/v2/v3, DVMRP, PIM-DM.SM, MLD v1/v2 and PIM-DM6/SM6 are all supported.
Data Center Application
The QuantaMesh switch is an IEEE DCB-based switch delivering a high-performance solution to integrate server edge access. The key features include:
- Congestion Notification (CN, 802.1Qau)
- Enhanced Transmission Selection (ETS, 802.1Qaz)
- Priority-based Flow Control (PFC, 802.1Qbb)
- Data Center Bridging Extension (DCBX, 802.1Qaz)
- FCoE Initiation Protocol (FIP) snooping
- Ethernet Virtual Bridging (EVB, 802.1Qbg)
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
12
1.2 Features
IEEE 802.3z and IEEE 802.3x compliant Flow Control for all ethernet ports
Supports 802.1D STP, 802.1S MSTP, and 802.1w Rapid Spanning Tree for redundant back up
bridge paths
Supports 802.1Q VLAN, Protocol-based VLAN, Subnet-based VLAN, MAC-based VLAN, Protected Port, Double VLAN, Voice VLAN, GVRP, GMRP, IGMP snooping, 802.1p Priority Queues, Port Channel, port mirroring
Link Agregation (802.1ad LACP)
Multi-chassis Link Aggregation (MLAG)
Supports VTP (VLAN Trunking Protocol)
Supports CDP
Supports LLDP with potential communication problems detection
Supports Port Security
Multi-layer Access Control (based on MAC address, IP address, VLAN, Protocol, 802.1p, DSCP)
Quality of Service (QoS) customized control
AAA support
802.1x access control and RADIUS client support
TACACS+ support
UDLD support
Error Disable Recovery support
Supports DHCP Snooping
Dynamic ARP Inspection (DAI) and IP Source Guard (IPSG)
IP ARP support
IP Routing support
VLAN Routing support
OSPF v2 and v3 support
RIP v1/v2 and RIPng support
BGP4 support
Router Discovery Protocol support
Virtual Router Redundancy Protocol (VRRP) support
32-way ECMP support
/31 subnets support
Source IP configuration support
Poilcy Based Routing (PBR)
IP Multicast support
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
13
IGMP v1, v2, and v3 support
DVMRP support
Protocol Independent Multicast - Dense Mode (PIM-DM) support for IPv4 and IPv6
Protocol Independent Multicast - Sparse Mode (PIM-SM) support for IPv4 and IPv6
IPv6 function
Supports DHCPv6 protocol, OSPFv3 protocol, Tunneling, loopback Provides to configure IPv6 rotuing interface, routing preference
DHCP Client and Relay support
IP Helper (BOOTP/DHCP Relay)
DNS Client and Relay support
Per-port bandwidth control
iSCSI Optimization support
Auto VoIP support
SNMP v1, v2, v3 network management, RMON support
CLI management support
Fully configurable either in-band or out-of-band control via RS-232 console serial connection
Telnet remote control console
TraceRoute support
Traffic Segmentation
TFTP/FTP/SCP/SFTP upgrade
SysLog support
Email Alerting support
Simple Network Time Protocol support
SSH Secure Shell version 1 and 2 support
SSL Secure HTTP TLS Version 1 and SSL version 3 support
Auto Install support
Fibre Channel Over Ethernet(FCoE)
FIP Snooping
Data Center Bridge (DCB)
Enhanced Transmission Selection (ETS, IEEE 802.1Qaz) Priority Flow Control (PFC, IEEE 802.1Qbb)
Data Center Bridge Exchange (DCBX, IEEE802.1Qaz)
Ethenet Virtual Bridge (EVB)
VEB/VEPA bridge support
OpenFlow support
Control Plane Protection (CoPP)
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
14
1.3 Management Options
The system may be managed by using one Service Ports through a Telnet, SNMP function and using the console port on the front panel through CLI command.
1.4 Command Line Console Interface through the Serial Port or
Telnet
You can also connect a computer or terminal to the serial console port or use Telnet to access the Switch. The command-line-driven interface provides complete access to all switch management features.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
15
1.5 SNMP-Based Management
You can manage the Switch with an SNMP-compatible console program. The Switch supports SNMP version 1.0, version 2.0, and version 3.0. The SNMP agent decodes the incoming SNMP messages and responds to requests with MIB objects stored in the database. The SNMP agent updates the MIB objects to generate statistics The Switch supports a comprehensive set of MIB extensions:
RFC1493 Bridge
RFC 2819 RMON-MIB
RFC 2233 Interface MIB
RFC 2618 (Radius-Auth-Client-MIB)
RFC 2620 (Radius-Acc-Client-MIB)
RFC 1724 (RIPv2-MIB)
RFC 1850 (OSPF-MIB)
RFC 1850 (OSPF-TRAP-MIB)
RFC 2787 (VRRP-MIB)
RFC 3289 - DIFFSERV-DSCP-TC
RFC 3289 - DIFFSERV-MIB
QoS-DIFFSERV-EXTENSIONS-MIB
QoS-DIFFSERV-PRIVATE-MIB
RFC 2674 802.1p
RFC 2932 (IPMROUTE-MIB)
Quanta Enterprise MIB
ROUTING-MIB
MGMD-MIB
RFC 2934 PIM-MIB
DVMRP-STD-MIB
IANA-RTPROTO-MIB
MULTICAST-MIB
ROUTING6-MIB
IEEE8021-PAE-MIB
INVENTORY-MIB
MGMT-SECURITY-MIB
QoS-MIB
QoS-ACL-MIB
QoS-COS-MIB
QoS-AUTOVOIP-MIB
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
16
QoS-DIFFSERV-PRIVATE-MIB
QoS-ISCSI-MIB
RFC 1907 - SNMPv2-MIB
RFC 2465 - IPV6-MIB
RFC 2466 - IPV6-ICMP-MIB
TACACS-MIB
IGMP/MLD Snooping
IGMP/MLD Layer2 Multicast
QoS – IPv6 ACL
Voice VLAN
Guest VLAN
LLDP-MIB
LLDP MED
RFC 2925 (DISMAN-TRACEROUTE-MIB)
RFC 2080 (RIPng)
OSPFV3-MIB
RFC 2571 - SNMP-FRAMEWORK-MIB
RFC 2572 - SNMP-MPD-MIB
RFC 2573 - SNMP-NOTIFICATION-MIB
RFC 2573 - SNMP-TARGET-MIB
RFC 2574 - SNMP-USER-BASED-SM-MIB
RFC 2576 - SNMP-COMMUNITY-MIB
RFC 2263 - USM-TARGET-TAG-MIB
RFC 3176 - SFLOW-MIB
IEEE8023-LAG-MIB (IEEE Std 802.3ad)
RFC 2674 - P-BRIDGE-MIB
RFC 2674 - Q-BRIDGE-MIB
RFC 2737 - ENTITY-MIB
RFC 2863 - IF-MIB
RFC 3635 - Etherlike-MIB
PORTSECURITY-PRIVATE-MIB
RADIUS-CLIENT-PRIVATE-MIB
RFC 5060 - PIM-STD-MIB
RFC 5240 - PIM-BSR-MIB
RFC 3419 - TRANSPORT-ADDRESS-MIB
IANA-MAU-MIB
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Introduction
17
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Installation and Quick Startup
18
2 Installation and Quick Startup
2.1 Package Contents
Before you begin installing the Switch, confirm that your package contains the following items:
One Layer 2/3/4 Managed ToR Switch
Mounting kit: 2 mounting brackets and screws
Four rubber feet with adhesive backing
Redundant AC power cord
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Installation and Quick Startup
19
2.2 Switch Installation
Installing the Switch Without the Rack
1. Install the Switch on a level surface that can safely support the weight of the Switch and its attached cables. The Switch must have adequate space for ventilation and for accessing cable connectors.
2. Set the Switch on a flat surface and check for proper ventilation. Allow at least 5 cm (2 inches) on each side of the Switch and 15 cm (6 inches) at the back for the power cable.
3. Attach the rubber feet on the marked locations on the bottom of the chassis.
The rubber feet are recommended to keep the unit from slipping.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Installation and Quick Startup
20
2.3 Installing the Switch in a Rack
You can install the Switch in most standard 19-inch (48.3-cm) racks. Refer to the illustrations below.
1. Use the supplied screws to attach a mounting bracket to each side of the Switch.
2. Align the holes in the mounting bracket with the holes in the rack.
3. Insert and tighten two screws through each of the mounting brackets.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Installation and Quick Startup
21
2.4 Quick Starting the Switch
1. Read the device Installation Guide for the connectivity procedure. In-band connectivity allows access to the Switch locally. From a remote workstation, the device must be configured with IP information (IP address, subnet mask, and default gateway).
2. Turn the Power ON.
3. Allow the device to load the software until the login prompt appears. The device initial state is called the default mode.
4. When the prompt asks for operator login, do the following:
Type the word admin in the login area. Since a number of the Quick Setup commands require
administrator account rights, suggesting logging into an administrator account.
Do not enter a password because there is no password in the default mode.
Press the <Enter> key
The CLI Privileged EXEC mode prompt will be displayed.
Use “configure” to switch to the Global Config mode from Privileged EXEC.
Use “exit” to return to the previous mode.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Installation and Quick Startup
22
2.5 System Information Setup
2.5.1 Quick Start up Software Version Information
Table 2-1. Quick Start up Software Version Information Command Details
show hardware Allows the user to see the HW & SW version the device
contains System Description - switch's model name
show version Allows the user to see Serial Number,
Part Number, and Model
name See Linux kernel version, and operation software version See HW version
2.5.2 Quick Start up Physical Port Data
Table 2-2. Quick Start up Physical Port Command Details show Interface status [<slot/port>] Displays the Ports slot/port
Type - Indicates if the port is a special type of port Admin Mode - Selects the Port Control Administration State Physical Mode - Selects the desired port speed and duplex mode Physical Status - Indicates the port speed and duplex mode Link Status - Indicates whether the link is up or down Link Trap - Determines whether or not to send a trap when link status changes LACP Mode -
Displays whether LACP is enabled or disabled on
this port Flow Mode - Indicates the status of flow control on this port Cap. Status - Indicates the port capabilities during auto-negotiation
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Installation and Quick Startup
23
2.5.3 Quick Start up User Account Management
Table 2-3. Quick Start up User Account Management Command Details show users Displays all users that are allowed to access the switch
User Access Mode -
Shows whether the user is able to change
parameters on the switch (Read/Write) or is only able to view (Read Only). As a factory default, admin has Read/Write access and guest
has Read Only access. There can only be one Read/Write user
and up to 5 Read Only users.
show loginsession
Displays all login session information
username <username> {passwd | nopasswd}
Allows the user to set passwords or change passwords needed
to login A prompt will appear after the command is entered requesting the old password. In the absence of an old password leave the area blank. The operator must press enter to execute the command. The system then prompts the user for a new password then a prompt to confirm the new password. If the new password and the confirmed password match a message will be displayed.
The user password should not be more than eight characters in
length.
copy running-config startup-config [filename]
This will save passwords and all other changes to the device. If you do not save config, all configurations will be lost when a power cycle is performed on the switch or when the switch is reset.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Installation and Quick Startup
24
2.5.4 Quick Start up IP Address
To view the network parameters the operator can access the device by the following three methods.
Simple Network Management Protocol - SNMP
Telnet/SSH
Table 2-4. Quick Start up IP Address Command Details
show ip interface Displays the Network Configurations
Interface Status – Indicates whether the interface is up or down. IP Address - IP Address of the interface Subnet Mask - IP Subnet Mask for the interface. MAC Address - The MAC Address used for this in-band connectivity Network Configurations Protocol Current - Indicates which network protocol is being used. Default is None.
ip address (Config)#interface vlan 1
(if-vlan 1)#ip address <ipaddr> <netmask> (if-vlan 1)#exit (Config)#ip default-gateway <gateway> IP Address range from 0.0.0.0 to 255.255.255.255 Subnet Mask range from 0.0.0.0 to 255.255.255.255 Gateway Address range from 0.0.0.0 to 255.255.255.255 Displays all of the login session information
show serviceport Display the serviceport’s network configurations
Interface Status – Indicates whether the interface is up or down. IP Address - IP Address of the interface. Default IP is 0.0.0.0 Subnet Mask - IP Subnet Mask for the interface. Default is
0.0.0.0 Default Gateway - The default Gateway for this interface. Default value is 0.0.0.0 Burned in MAC Address -
The Burned in MAC Address used for
out-of-band connectivity Configured IPv4 Protocol - Indicates which network protocol is being used. Default is DHCP.
serviceport ip (Config)#serviceport protocol none
(Config)#serviceport ip <ipaddr> <netmask> <gateway> (Config)#
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Installation and Quick Startup
25
2.5.5 Quick Start up Uploading from Switch to Out-of-Band PC
Table 2-5. Quick Start up Uploading from Switch to Out-of-Band PC (XMODEM) Command Details copy startup-config xmodem <filename>
This starts the upload and displays the mode of uploading and the type of upload it is and confirms the upload is taking place. For example:
If the user is using HyperTerminal, the user must specify where
the file is going to be received by the pc.
2.5.6 Quick Start up Downloading from Out-of-Band PC to Switch
Table 2-6 Quick Start up Downloading from Out-of-Band PC to Switch Command Details copy xmodem startup-config <filename>
Sets the download datatype to be an image or config file. The URL must be specified as: xmodem: filepath/ filename For example:
If the user is using HyperTerminal, the user must specify which
file is to be sent to the switch. The Switch will restart automatically once the code has been downloaded.
2.5.7 Quick Start up Downloading from TFTP Server
Before starting a TFTP server download, the operator must complete the Quick Start up for the IPAddress.
Table 2-7 Quick Start up Downloading from TFTP Server Command Details copy <url> startup-config <filename>
Sets the download datatype to be an image or config file. The URL must be specified as: tftp://ipAddr/filepath/fileName. The startup-config option downloads the config file using tftp and image option downloads the code file.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Installation and Quick Startup
26
2.5.8 Quick Start up Factory Defaults
Table 2-8 Quick Start up Factory Defaults Command Details clear config
Enter yes when the prompt pops up to clear all the configurations made to the switch.
copy running-config startup-config [filename]
Enter yes when the prompt pops up that asks if you want to save the configurations made to the switch.
reload [warm] Enter yes when the prompt pops up that asks if you want to
reset the system. You can reset the switch or cold boot the switch; both work effectively. warm – indicates only switch application is restarted.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Console and Telnet Administration Interface
27
3 Console and Telnet Administration Interface
This chapter discusses many of the features used to manage the Switch, and explains many concepts and important points regarding these features. Configuring the Switch to implement these concepts is discussed in detail in chapter 6.
The command-line interface (CLI) provides a text-based way to manage and monitor the switch features. You can access the CLI by using a direct connection to the console port or by using a Telnet or SSH client. To access the switch by using Telnet or Secure Shell (SSH), the switch must have an IP address configured on either the service port or the network interface, and the management station you use to access the device must be able to ping the switch IP address. DHCP is enabled by default on the service port. It is disabled on the network interface.
3.1 Local Console Management
Local console management involves the administration of the Switch via a direct connection to the RS-232 DCE console port. This is an Out-of-band connection, meaning that it is on a different circuit than normal network communications, and thus works even when the network is down.
The local console management connection involves a terminal or PC running terminal emulation software to operate the Switch’s built-in console program (see Chapter 6). Using the console program, a network administrator can manage, control, and monitor many functions of the Switch. Hardware components in the Switch allow it to be an active part of a manageable network. These components include a CPU, memory for data storage, other related hardware, and SNMP agent firmware. Activities on the Switch can be monitored with these components, while the Switch can be manipulated to carry out specific tasks.
3.2 Set Up your Switch Using Console Access
Out-of-band management requires connecting a terminal, such as a VT-100 or a PC running a terminal-emulation program (such as HyperTerminal, which is automatically installed with Microsoft Windows) to the RS-232 DCE console port of the Switch. Switch management using the RS-232 DCE console port is called Local Console Management to differentiate it from management done via management platforms, such as DView or HP OpenView.
Make sure the terminal or PC you are using to make this connection is configured to match these settings. If there are problems making this connection on a PC, make sure the emulation is set to VT-100 or ANSI. If you still don’t see anything, try pressing <Ctrl> + r to refresh the screen.
First-time configuration must be carried out through a console, that is, either (a) a VT100-type serial data terminal, or (b) a computer running communications software set to emulate a VT100. The console must
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Console and Telnet Administration Interface
28
be connected to the Diagnostics port. This is an RS-232 port with a 9-socket D-shell connector and DCE-type wiring. Make the connection as follows:
1. Obtain suitable cabling for the connection.You can use a null-modem RS-232 cable or an
ordinary RS-232 cable and a null-modem adapter. One end of the cable (or cable/adapter combination) must have a 9-pin D-shell connector suitable for the Diagnostics port; the other end must have a connector suitable for the console’s serial communications port.
2. Power down the devices, attach the cable (or cable/adapter combination) to the correct ports,
and restore power.
3. Set the console to use the following communication parameters for your terminal:
The console port is set for the following configuration:
Baud rate: 115,200
Data width: 8 bits
Parity: none
Stop bits: 1
Flow Control: none
A typical console connection is illustrated below:
Figure 3-1: Console Setting Environment
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Console and Telnet Administration Interface
29
3.3 Set Up your Switch Using Telnet Access
Once you have set an IP address for your Switch, you can use a Telnet program (in a VT-100 compatible terminal mode) to access and control the Switch. Most of the screens are identical, whether accessed from the console port or from a Telnet interface.
3.3.1 Accessing the Switch CLI through the Network
Remote management of the switch is available through the service port or through the network interface. To use telnet, SSH, SNMP for swith management, the switch must be connected to the network, and you must know the IP or IPv6 address of the management interface. The switch has no IP address by default. The DHCP client on the service port is enabled, and the DHCP client on the network interface is disaled.
3.3.2 Using the Service Port or Netowrk Interface for Remote Management
The service port is a dedicated Ethernet port for out-of-band management. We recommend that you use the service port to manage the switch. Traffic on this port is segregated from operational network traffic on the switch ports and cannot be switched or routed to the operational network. Additonally, if the production network is experiencing problems, the service port still allows you to access the switch management interface and troubleshoot issues. Configuration options on the service port are limited, which makes it difficult to accidentally cut off management access to the switch.
Alternatively, you can choose to manage the switch through the production network, which is known as in-band management, Bacuse in-nbad management traffic is mixed in with production netowork traffic, it is subject to all of the filtering rules usually applied on a switched/routed port such as ACLs and VLAN tagging. You can access the in-band network management interface through a connection to any front-panel port.
3.3.2.1 Configuring Service Port Information
To disable DHCP/BootP and manually assign an IPv4 address, enter commands under Global Configuration mode:
serviceport protocol none serviceport ip ipaddress netmask For example, serviceport ip 192.168.2.22 255.255.255.0
To disable DHCP/BootP and manually assign an IPv6 address, enter commands under Global Configuration mode:
serviceport protocol none dhcp6
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Console and Telnet Administration Interface
30
serviceport ipv6 enable
serviceport ipv6 address address/prefix-length
serviceport ipv6 gateway ipv6-address To view the assigned or configured network address, use: show serviceport
To enable the DHCP/DHCPv6 client on the service port, use: serviceport protocol dhcp serviceport protocol dhcp6
To enable the BootP client on service port, use: serviceport protocol bootp
3.3.2.2 Configuring the In-Band Netowrk Interface
To use a DHCP server to obtain the IP address, subnet mask, and default gateway information, use: interface vlan 1 ip address dhcp ipv6 address dhcp
To manually configure the IPv4 address, subnet mask, use: interface vlan 1 ip address ipaddress netmask
To manually configure the IPv6 address, subnet mask, use: interface vlan 1 ipv6 address address/prefix-length
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Command Line Interface Structure and Mode-based CLI
31
4 Command Line Interface Structure and
Mode-based CLI
The Command Line Interface (CLI) syntax, conventions, and terminology are described in this section. Each CLI command is illustrated using the structure outlined below.
4.1 CLI Command Format
Commands are followed by values, parameters, or both.
Example 1 ip address <ipaddr> <netmask> [<gateway>]
ip address is the command name.
<ipaddr> <netmask> are the required values for the command.
[<gateway>] is the optional value for the command.
Example 2 snmp-server location <loc>
snmp-server location is the command name.
<loc> is the required parameter for the command.
Example 3 clear vlan
clear vlan is the command name.
Command
The text in bold, non-italic font must be typed exactly as shown.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Command Line Interface Structure and Mode-based CLI
32
4.2 CLI Mode-based Topology
Parameters
Parameters are order dependent. The text in bold italics should be replaced with a name or number. To use spaces as part of a name parameter, enclose it in double quotes like this: "System Name with Spaces".
Parameters may be mandatory values, optional values, choices, or a combination.
<parameter>. The <> angle brackets indicate that a mandatory parameter must be entered in place of the brackets and text inside them.
[parameter]. The [] square brackets indicate that an optional parameter may be entered in place of the brackets and text inside them.
{choice1 | choice2}. The | indicates that only one of the parameters should be entered.The {} curly braces indicate that a parameter must be chosen from the list of choices.
Values
ipaddr This parameter is a valid IP address, made up of four decimal bytes ranging from 0 to 255.
The default for all IP parameters consists of zeros (that is, 0.0.0.0). The interface IP address of 0.0.0.0 is invalid.
macaddr The MAC address format is six hexadecimal numbers separated by colons, for example 00:06:29:32:81:40.
areaid Area IDs may be entered in dotted-decimal notation (for example, 0.0.0.1). An area ID of
0.0.0.0 is reserved for the backbone. Area IDs have the same form as IP addresses, but are distinct from IP addresses. The IP network number of the sub-netted network may be used for the area ID.
routerid The value of <router id> must be entered in 4-digit dotted-decimal notation (for example,
0.0.0.1). A router ID of 0.0.0.0 is invalid.
slot/port This parameter denotes a valid slot number, and a valid port number. For example, 0/1 represents unit number 1, slot number 0 and port number 1. The <slot/port> field is composed of a valid slot number and a valid port number separated by a forward slash (/).
logical slot/port This parameter denotes a logical slot number, and logical port number assigned. This is applicable in the case of a port-channel (LAG). The operator can use the logical slot number, and the logical port number to configure the port-channel.
Conventions
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Command Line Interface Structure and Mode-based CLI
33
Network addresses are used to define a link to a remote host, workstation, or network. Network addresses are shown using the following syntax:
Table 5-1. Network Address Syntax Address Type Format Range
IPAddr A.B.C.D
0.0.0.0 to 255.255.255.255
MacAddr
YY:YY:YY:YY:YY:YY hexidecimal digit pairs
Double quotation marks such as "System Name with Spaces" set off user defined strings. If the operator wishes to use spaces as part of a name parameter then it must be enclosed in double quotation marks.
Empty strings (““) are not valid user defined strings. Command completion finishes spelling the command when enough letters of a command are typed to uniquely identify the command word. The command may be executed by typing <enter> (command abbreviation) or the command word may be completed by typing the <tab> (command completion).
The value 'Err' designates that the requested value was not internally accessible. This should never happen and indicates that there is a case in the software that is not handled correctly.
The value of '-----' designates that the value is unknown.
Annotations
The CLI allows the user to type single-line annotations at the command prompt for use when writing test or configuration scripts and for better readability. The exclamation point (‘!’) character flags the beginning of a comment. The comment flag character can begin a word anywhere on the command line and all input following this character is ignored. Any command line that begins with the character ‘!’ is recognized as a comment line and ignored by the parser.
Some examples are provided below:
! Script file for displaying the ip interface ! Display information about interfaces show ip interface 0/1 !Displays the information about the first interface ! Display information about the next interface show ip interface 0/2 ! End of the script file
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
34
5 Switching Commands
5.1 System Information and Statistics commands
5.1.1 show arp
This command displays connectivity between the switch and other devices. The Address Resolution Protocol (ARP) cache identifies the MAC addresses of the IP stations communicating with the switch.
Syntax
show arp
Default Setting
None
Command Mode
Privileged Exec
Display Message
MAC Address: A unicast MAC address for which the switch has forwarding and/or filtering
information. The format is 6 two-digit hexadecimal numbers that are separated by colons. For example: 00:23:45:67:89:AB
IP Address: The IP address assigned to each interface. Interface: Valid slot number and a valid port number.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
35
5.1.2 show calendar
This command displays the system time.
Syntax
show calendar
Default Setting
None
Command Mode
Privileged Exec
Display Message
Current Time: displays system time
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
36
5.1.3 show process cpu
This command provides the percentage utilization of the CPU by different tasks.
Syntax
show process cpu
It is not necessarily the traffic to the CPU, but different tasks that keep the CPU busy
Default Setting
None
Command Mode
Privileged Exec
Display Message
The following shows example CLI display output for the command.
Memory Utilization Report status bytes
------ ----------
free 250978304 alloc 275599360
CPU Utilization:
PID Name 5 Secs 60 Secs 300 Secs
-----------------------------------------------------------------------------------------------------
1030 osapiTimer 0.00% 0.02% 0.02% 1032 _interrupt_thread 0.00% 0.02% 0.02% 1034 bcmL2X.0 1.99% 2.10% 1.81% 1035 bcmCNTR.0 1.59% 1.42% 1.19% 1038 bcmLINK.0 2.99% 2.84% 2.44% 1040 bcmL2X.1 1.99% 2.09% 1.81% 1041 bcmCNTR.1 1.39% 1.40% 1.19% 1042 bcmLINK.1 2.99% 2.87% 2.45% 1043 bcmRX 0.19% 0.19% 0.16%
i
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
37
1044 cpuUtilMonitorTask 0.19% 0.14% 0.11% 1046 tL7Timer0 0.00% 0.02% 0.01% 1054 simPts_task 0.00% 0.02% 0.01% 1058 Detecting SFP+ Modu 0.00% 0.02% 0.01% 1080 emWeb 0.00% 0.08% 0.06% 1085 StormCtrl Log Table 0.00% 0.03% 0.03% 1091 SNMPTask 1.79% 12.48% 37.44% 1101 dot1s_timer_task 0.19% 0.07% 0.04% 1118 sFlowTask 0.00% 0.09% 0.11% 1135 RMONTask 0.00% 0.12% 0.15% 1137 udldTask 0.00% 0.01% 0.01%
-----------------------------------------------------------------------------------------------------
Total CPU Utilization 15.37% 26.14% 49.21%
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
38
5.1.4 show eventlog
This command displays the event log, which contains error messages from the system, in the Primary Management System or in the specified unit. The event log is not cleared on a system reset.
Syntax
show eventlog [unit]
unit - The unit number of the remote system. The range is 1 to 8.
unit parameter is only support for stacking platform.
Default Setting
None
Command Mode
Privileged Exec
Display Message
File: The file in which the event originated. Line: The line number of the event. Task Id: The task ID of the event. Code: The event code. Time: The time this event occurred.
Event log information is retained across a switch reset.
!
!
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
39
5.1.5 show running-config
This command is used to display/capture the current setting of different protocol packages supported on switch. This command displays/captures only commands with settings/configurations with values that differ from the default value. The output is displayed in script format, which can be used to configure another switch with the same configuration.
When a script name is provided, the output is redirected to a configuration script. The option [all] will also enable the display/capture of all commands with settings/configurations that include values that are same as the default values. If the optional <scriptname> is provided with a file name extension of “.scr”, the output will be redirected to a script file.
Syntax
show running-config [all | <scriptname>]
all - enable the display/capture of all commands with settings/configurations that include values that are same as the default values.
<scriptname> - redirect the output to the file <scriptname>.
Default Setting
None
Command Mode
Privileged Exec
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
40
5.1.6 show sysinfo
This command displays switch brief information and MIBs supported.
Syntax
show sysinfo
Default Setting
None
Command Mode
Privileged Exec
Display Message
System Description: The text used to identify this switch. System Name: The name used to identify the switch. System Location: The text used to identify the location of the switch. May be up to 255
alpha-numeric characters. The factory default is blank. System Contact: The text used to identify a contact person for this switch. May be up to 255
alphanumeric characters. The factory default is blank.
System Object ID: The manufacturing ID. System Up Time: The time in days, hours and minutes since the last switch reboot. Current SNTP Synchronized Time: The time which is synchronized from SNTP server.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
41
5.1.7 show system
This command displays switch system information.
Syntax
show system
Default Setting
None
Command Mode
Privileged Exec
Display Message
System Description: Text used to identify this switch. System Object ID: The manufacturing ID System Information
System Up Time: The time in days, hours and minutes since the last switch reboot. System Name: Name used to identify the switch. System Location: Text used to identify the location of the switch. May be up to 255
alpha-numeric characters. The factory default is blank. System Contact: Text used to identify a contact person for this switch. May be up to 255
alphanumeric characters. The factory default is blank.
MAC Address: The burned in MAC address used for in-band connectivity. Protocol Current: Indicates which network protocol is being used. The options are bootp | dhcp |
none. DHCP Client Identifier TEXT: DCHP client identifier for this switch.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
42
5.1.8 show tech-support
This command displays system and configuration information when you contact technical support. The output of the show tech-support command combines the output of the following commands: show version, show sysinfo, show interface status, show logging, show event log, show logging buffered, show trap log, show running config, … etc.
Syntax
show tech-support
Default Setting
None
Command Mode
Privileged Exec
This command is only support on console port.
!
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
43
5.1.9 show hardware
This command displays inventory information for the switch.
Syntax
show hardware
Default Setting
None
Command Mode
Privileged Exec
Display Message
System Description: Text used to identify the product name of this switch. Machine Type: Specifies the machine model as defined by the Vital Product Data. Machine Model: Specifies the machine model as defined by the Vital Product Data. Serial Number: The unique box serial number for this switch. Label Revision Number: The label revision serial number of this switch is used for manufacturing
purposes.
Part Number: Manufacturing part number. Hardware Version: The hardware version of this switch. It is divided into four parts. The first byte is
the major version and the second byte represents the minor version.
ADT7470_1: Sensor 1 Now Temperature: The temperature of sensor 1 of ADT7470. ADT7470_1: Sensor 2 Now Temperature: The temperature of sensor 2 of ADT7470. ADT7470_1: Sensor 3 Now Temperature: The temperature of sensor 3 of ADT7470. ADT7470_1: Sensor 4 Now Temperature: The temperature of sensor 4 of ADT7470.
Depend on air flow FAN 1 – 4 connected ADT7470-1 or ADT7470-2: Front-To-Back: (Connected ADT7470-1) ADT7470_1: FAN 1 Status: Status of FAN1. It could be active or inactive. ADT7470_1: FAN 2 Status: Status of FAN2. It could be active or inactive. ADT7470_1: FAN 3 Status: Status of FAN3. It could be active or inactive.
Back-To-Front: (Connected ADT7470-2) ADT7470_2: FAN 1 Status: Status of FAN1. It could be active or inactive.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
44
ADT7470_2: FAN 2 Status: Status of FAN2. It could be active or inactive. ADT7470_2: FAN 3 Status: Status of FAN3. It could be active or inactive.
Switch Power+ y………………Active/Inactive (The yth power supply information of switch 1). Name: Name provided by Power Supply vendor. Model: Model Number provided by Power Supply vendor. Revision Number: Revision Number provided by Power Supply vendor. Manufacturer Location: Location provided by Power Supply vendor. Date of Manufacturing: Date of Manufacturing provided by Power Supply vendor. Serial Number: Serial Number provided by Power Supply vendor. Temperature 1:. Inner temperature 1 of Power Supply now Temperature 2: Inner temperature 2 of Power Supply now Fan Speed: Inner fan speed(rpm) of Power Supply now Fan Duty: Inner fan duty(%) of Power Supply now
Below 10-Giga Interface information depend on plugging SFP+ Transceiver
Interface y: (The yth 10-Giga information of switch 1). 10 Gigabit Ethernet Compliance Codes: Transceiver’s compliance codes. Vendor Name: The SFP transceiver vendor name shall be the full name of the corporation, a
commonly accepted abbreviation of the name of the corporation, the SCSI company code for the corporation, or the stock exchange code for the corporation.
Vendor Part Number: Part number provided by SFP transceiver vendor. Vendor Serial Number: Serial number provided by vendor. Vendor Revision Number: Revision level for part number provided by vendor. Vendor Manufacturing Date: The vendor’s manufacturing date.
Additional Packages: This displays the additional packages that are incorporated into this system.
!
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
45
5.1.10 show version
This command displays inventory information for the switch.
Syntax
show version
Default Setting
None
Command Mode
Privileged Exec
Display Message
System Description: Text used to identify the product name of this switch. Machine Type: Specifies the machine model as defined by the Vital Product Data. Machine Model: Specifies the machine model as defined by the Vital Product Data. Serial Number: The unique box serial number for this switch. FRU Number: The field replaceable unit number. Part Number: Manufacturing part number. Maintenance Level: The identification of the hardware change level. Manufacturer: The two-octet code that identifies the manufacturer. Burned In MAC Address: The burned-in universally administered MAC address of this switch. Software Version: The platform.function.release. maintenance number of the code currently
running on the switch.
Operating System: The operating system currently running on the switch. Network Processing Device: Identifies the network processor hardware. Additional Packages: A list of the optional software packages installed on the switch, if any. For
example, QoS, Routing, IPv6, IPv6 Management, Multicast or Data Center.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
46
5.1.11 show loginsession
This command displays current telnet and serial port connections to the switch.
Syntax
show loginsession
Default Setting
None
Command Mode
Privileged Exec
Display Message
ID: Login Session ID User Name: The name the user will use to login using the serial port or Telnet. A new user may be
added to the switch by entering a name in a blank entry. The user name may be up to 8 characters, and is not case sensitive. Two users are included as the factory default, admin, and guest.
Connection From: IP address of the telnet client machine or EIA-232 for the serial port connection. Idle Time: Time this session has been idle. Session Time: Total time this session has been connected. Session Type: Shows the type of session: telnet, serial port, SSH or HTTP/HTTPS.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
47
5.1.12 show command filter
This command displays the information that begin/include/exclude/redirect the regular expression.
Syntax
show command [| {begin | include | exclude | redirect} <LINE>]
Default Setting
None
Command Mode
Privileged Exec
Display Message
command: Any show command of the CLI begin: Begin with the line that matches include: Include lines that match exclude: Exclude lines that match redirect: output the lines to the specified URL <LINE>: Regular Expression
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
48
5.1.13 Digital Optical Monitor
5.1.13.1 show transceiver This command displays Digital Optical Monitor information for the switch.
Syntax
show transceiver {interface [<slot/port>] [detail]}
Default Setting
None
Command Mode
Privileged Exec
Display Message
DOM Admin Mode: This displays the administrative mode of Digital Optical Monitor (DOM) for the
system.
Polling Interval: Polling interval. The range of value is 300 to 1800. Interface: Valid slot number and a valid port number. Temperature: Internally measured module temperature from transceiver. Voltage: Internally measured module supply voltage from transceiver. Tx bias current: Internally measured module tx bias from transceiver. Tx Power: Internally measured module tx power from transceiver. Rx Power: Internally measured module rx power from transceiver.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
49
5.1.13.2 monitoring This command enables monitoring on all ports. The default value is disabled.
Syntax
monitoring [interval <interval>] no monitoring [interval]
< interval> - Polling interval. The range of value is 300 to 1800. no - This command disables monitoring on all ports.
Default Setting
Admin mode: Disable Interval: 600 sec.
Command Mode
Transceiver Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
50
5.2 Device Configuration Commands
5.2.1 Interface
5.2.1.1 show interface status This command displays the Port monitoring information for the system.
Syntax
show interface status [{<slot/port> | loopback <loopback-id> | port-channel <portchannel-id> | tunnel <tunnel-id> | vlan <vlan-id>}]
<slot/port> - is the desired interface number. <loopback-id> - Disaplys information for the loopback interfaces. The range of the loopback ID is 0
to 7. <portchannel-id> - Displays information for the port-channel interfaces. The range of the
port-channel ID is 1 to 64.
<tunnel-id> - Displays information for the tunnel interfaces. The range of the tunnel ID is 0 to 7. <vlan-id> - Displays information for the vlan interfaces. The range of the VLAN ID is 1 to 4093. no parameter - Displays information for all interfaces.
Default Setting
None
Command Mode
Privileged Exec
Display Message
Intf: The physical slot and physical port. Type: If not blank, this field indicates that this port is a special type of port. The possible values are:
Source: This port is a monitoring port. PC Mbr: This port is a member of a port-channel (LAG). Dest: This port is a probe port.
Admin Mode: Selects the Port control administration state. The port must be enabled in order for it
to be allowed into the network. It may be enabled or disabled. The factory default is enabled. Physical Mode: Selects the desired port speed and duplex mode. If auto-negotiation support is
selected, then the duplex mode and speed will be set from the auto-negotiation process. Note that the port's maximum capability (full duplex 100M) will be advertised. Otherwise, this object will determine the port's duplex mode and transmission rate. The factory default is Auto.
Physical Status: Indicates the port speed and duplex mode.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
51
Link Status: Indicates whether the Link is up or down. Link Trap: This object determines whether to send a trap when link status changes. The factory
default is enabled.
LACP Mode: Displays whether LACP is enabled or disabled on this port. Flow Control Mode: Displays flow control mode. The possible values are:
Disable: This port is disabled flow control. Enable: This port is enabled flow control.
Capabilities Status: Displays interface capabilities.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
52
5.2.1.2 show interface counters This command displays a summary of statistics for a specific interface or all interfaces.
Syntax
show interface counters [{<slot/port> | [port-channel <portchannel-id>]}]
<slot/port> - is the desired interface number. <portchannel-id> - is the desired port-channel interface number. The range of the port-channel ID is
1 to 64.
no paramter - Displays statistics information for all interfaces.
Default Setting
None
Command Mode
Privileged Exec
Display Message
The display parameters when the argument is '<slot/port>' or port-channel are as follows:
Packets Received Without Error: The total number of packets (including broadcast packets and multicast packets) received by the processor.
Packets Received With Error: The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
Broadcast Packets Received: The total number of packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Packets Transmitted Without Error: The total number of packets transmitted out of the interface. Transmit Packets Errors: The number of outbound packets that could not be transmitted because
of errors.
Collisions Frames: The best estimate of the total number of collisions on this Ethernet segment. Time Since Counters Last Cleared: The elapsed time, in days, hours, minutes, and seconds since
the statistics for this port were last cleared.
The display parameters if no argument is used are as follows:
Interface: The physical slot and physical port or the logical slot and logical port. Packets Received Without Error: The total number of packets (including broadcast packets and
multicast packets) received.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
53
Packets Received With Error: The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
Broadcast Packets Received: The total number of packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Packets Transmitted Without Error: The total number of packets transmitted. Transmit Packets Errors: The number of outbound packets that could not be transmitted because
of errors.
Collisions Frames: The best estimate of the total number of collisions on this Ethernet segment. Time Since Counters Last Cleared: The elapsed time, in days, hours, minutes, and seconds since
the statistics for this port were last cleared.
This command displays detailed statistics for a specific port or for all CPU traffic based upon the argument.
Syntax
show interface counters detailed {<slot/port> | port-channel <portchannel-id> | switchport}
<slot/port> - is the desired interface number. <portchannel-id> - is the desired port-channel interface number. The range of the port-channel ID is
1 to 64.
switchport - This parameter specifies whole switch or all interfaces.
Default Setting
None
Command Mode
Privileged Exec
Display Message
The display parameters when the argument is ' <slot/port>' or port-channel are as follows:
Total Packets Received (Octets): The total number of octets of data (including those in bad packets) received on the network (excluding framing bits but including FCS octets). This object can be used as a reasonable estimate of Ethernet utilization. If greater precision is desired, the etherStatsPkts and etherStatsOctets objects should be sampled before and after a common interval. The result of this equation is the value Utilization which is the percent utilization of the Ethernet segment on a scale of 0 to 100 percent.
Packets Received 64 Octets: The total number of packets (including bad packets) received that were 64 octets in length (excluding framing bits but including FCS octets).
Packets Received 65-127 Octets: The total number of packets (including bad packets) received that were between 65 and 127 octets in length inclusive (excluding framing bits but including FCS octets).
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
54
Packets Received 128-255 Octets: The total number of packets (including bad packets) received that were between 128 and 255 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Received 256-511 Octets: The total number of packets (including bad packets) received that were between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Received 512-1023 Octets: The total number of packets (including bad packets) received that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Received 1024-1518 Octets: The total number of packets (including bad packets) received that were between 1024 and 1518 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Received > 1522 Octets: The total number of packets received that were longer than 1522 octets (excluding framing bits, but including FCS octets) and were otherwise well formed.
Packets RX and TX 64 Octets: The total number of packets (including bad packets) received that were 64 octets in length (excluding framing bits but including FCS octets).
Packets RX and TX 65-127 Octets: The total number of packets (including bad packets) received that were between 65 and 127 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 128-255 Octets: The total number of packets (including bad packets) received that were between 128 and 255 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 256-511 Octets: The total number of packets (including bad packets) received that were between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 512-1023 Octets: The total number of packets (including bad packets) received that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 1024-1518 Octets: The total number of packets (including bad packets) received that were between 1024 and 1518 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 1519-1522 Octets: The total number of packets (including bad packets) received that were between 1519 and 1522 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 1523-2047 Octets: The total number of packets (including bad packets) received that were between 1523 and 2047 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 2048-4095 Octets: The total number of packets (including bad packets) received that were between 2048 and 4095 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 4096-9216 Octets: The total number of packets (including bad packets) received that were between 4096 and 9216 octets in length inclusive (excluding framing bits but including FCS octets).
Total Packets Received Without Errors
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
55
Unicast Packets Received: The number of subnetwork-unicast packets delivered to a higher-layer protocol.
Multicast Packets Received: The total number of good packets received that were directed to a multicast address. Note that this number does not include packets directed to the broadcast address.
Broadcast Packets Received: The total number of good packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Total Packets Received with MAC Errors Jabbers Received: The total number of packets received that were longer than 1518 octets
(excluding framing bits, but including FCS octets), and had either a bad FCS with an integral number of octets (FCS Error) or a bad FCS with a non-integral number of octets (Alignment Error). Note that this definition of jabber is different than the definition in IEEE-802.3 section 8.2.1.5 (10BASE5) and section 10.3.1.4 (10BASE2). These documents define jabber as the condition where any packet exceeds 20 ms. The allowed range to detect jabber is between 20 ms and 150 ms.
Undersize Received: The total number of packets received that were less than 64 octets in length with GOOD CRC(excluding framing bits but including FCS octets).
Fragments Received: The total number of packets received that were less than 64 octets in length with ERROR CRC(excluding framing bits but including FCS octets).
Alignment Errors: The total number of packets received that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had a bad FCS with a non-integral number of octets.
FCS Errors: The total number of packets received that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had a bad FCS with an integral number of octets
Overruns: The total number of frames discarded as this port was overloaded with incoming packets, and could not keep up with the inflow.
Total Packets Transmitted (Octets) Packets Transmitted 64 Octets: The total number of packets (including bad packets) received that
were 64 octets in length (excluding framing bits but including FCS octets). Packets Transmitted 65-127 Octets: The total number of packets (including bad packets) received
that were between 65 and 127 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Transmitted 128-255 Octets: The total number of packets (including bad packets) received that were between 128 and 255 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Transmitted 256-511 Octets: The total number of packets (including bad packets) received that were between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Transmitted 512-1023 Octets: The total number of packets (including bad packets) received that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Transmitted 1024-1518 Octets: The total number of packets (including bad packets) received that were between 1024 and 1518 octets in length inclusive (excluding framing bits but including FCS octets).
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
56
Packets Transmitted 1519-1522 Octets: The total number of packets (including bad packets) received that were between 1519 and 1522 octets in length inclusive (excluding framing bits but including FCS octets).
Max Info: The maximum size of the Info (non-MAC) field that this port will receive or transmit.
Total Packets Transmitted Successfully Unicast Packets Transmitted: The total number of packets that higher-level protocols requested be
transmitted to a subnetwork-unicast address, including those that were discarded or not sent. Multicast Packets Transmitted: The total number of packets that higher-level protocols requested
be transmitted to a Multicast address, including those that were discarded or not sent. Broadcast Packets Transmitted: The total number of packets that higher-level protocols requested
be transmitted to the Broadcast address, including those that were discarded or not sent.
Total Transmit Errors FCS Errors: The total number of packets transmitted that had a length (excluding framing bits, but
including FCS octets) of between 64 and 1518 octets, inclusive, but had a bad FCS with an integral number of octets
Tx Oversized: The total number of frames that exceeded the max permitted frame size. This counter has a max increment rate of 815 counts per sec. at 10 Mb/s.
Underrun Errors: The total number of frames discarded because the transmit FIFO buffer became empty during frame transmission.
Total Transmited Packets Discards Single Collision Frames: A count of the number of successfully transmitted frames on a particular
interface for which transmission is inhibited by exactly one collision. Multiple Collision Frames: A count of the number of successfully transmitted frames on a particular
interface for which transmission is inhibited by more than one collision. Excessive Collisions: A count of frames for which transmission on a particular interface fails due to
excessive collisions.
GVRP PDUs Received: The count of GVRP PDUs received in the GARP layer. GVRP PDUs Transmitted: The count of GVRP PDUs transmitted from the GARP layer. GVRP Failed and Registrations: The number of times attempted GVRP registrations could not be
completed.
GMRP PDUs received: The count of GMRP PDUs received in the GARP layer. GMRP PDUs Transmitted: The count of GMRP PDUs transmitted from the GARP layer. GMRP Failed Registrations: The number of times attempted GMRP registrations could not be
completed.
STP BPDUs Transmitted: Spanning Tree Protocol Bridge Protocol Data Units sent. STP BPDUs Received: Spanning Tree Protocol Bridge Protocol Data Units received. RSTP BPDUs Transmitted: Rapid Spanning Tree Protocol Bridge Protocol Data Units sent. RSTP BPDUs Received: Rapid Spanning Tree Protocol Bridge Protocol Data Units received.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
57
MSTP BPDUs Transmitted: Multiple Spanning Tree Protocol Bridge Protocol Data Units sent. MSTP BPDUs Received: Multiple Spanning Tree Protocol Bridge Protocol Data Units received. EAPOL Frames Received: The number of valid EAPOL frames of any type that have been received
by this authenticator. EAPOL Frames Transmitted: The number of EAPOL frames of any type that have been
transmitted by this authenticator. Time Since Counters Last Cleared: The elapsed time, in days, hours, minutes, and seconds since
the statistics for this port were last cleared.
The display parameters when the argument is ‘switchport’ are as follows:
Total Packets Received (Octets): The total number of octets of data received by the processor (excluding framing bits but including FCS octets).
Packets Received Without Error: The total number of packets (including broadcast packets and multicast packets) received by the processor.
Unicast Packets Received: The number of subnetwork-unicast packets delivered to a higher-layer protocol.
Multicast Packets Received: The total number of packets received that were directed to a multicast address. Note that this number does not include packets directed to the broadcast address.
Broadcast Packets Received: The total number of packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Receive Packets Discarded: The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. A possible reason for discarding a packet could be to free up buffer space.
Octets Transmitted: The total number of octets transmitted out of the interface, including framing characters.
Packets Transmitted without Errors: The total number of packets transmitted out of the interface. Unicast Packets Transmitted: The total number of packets that higher-level protocols requested be
transmitted to a subnetwork-unicast address, including those that were discarded or not sent. Multicast Packets Transmitted: The total number of packets that higher-level protocols requested
be transmitted to a Multicast address, including those that were discarded or not sent. Broadcast Packets Transmitted: The total number of packets that higher-level protocols requested
be transmitted to the Broadcast address, including those that were discarded or not sent. Transmit Packets Discarded: The number of outbound packets which were chosen to be
discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. A possible reason for discarding a packet could be to free up buffer space.
Most Address Entries Ever Used: The highest number of Forwarding Database Address Table entries that have been learned by this switch since the most recent reboot.
Address Entries Currently in Use: The number of Learned and static entries in the Forwarding Database Address Table for this switch.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
58
Maximum VLAN Entries: The maximum number of Virtual LANs (VLANs) allowed on this switch. Most VLAN Entries Ever Used: The largest number of VLANs that have been active on this switch
since the last reboot. Static VLAN Entries: The number of presently active VLAN entries on this switch that have been
created statically. Dynamic VLAN Entries: The number of presently active VLAN entries on this switch that have been
created by GVRP registration. VLAN Deletes: The number of VLANs on this switch that have been created and then deleted since
the last reboot. Time Since Counters Last Cleared: The elapsed time, in days, hours, minutes, and seconds, since
the statistics for this switch were last cleared.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
59
5.2.1.3 show interface counters rate This command displays a summary of port rate statistics for a specific interface or all interfaces.
Syntax
show interface counters rate [{<slot/port> | [port-channel <portchannel-id>]}]
<slot/port> - is the desired interface number. <portchannel-id> - is the desired port-channel interface number. The range of the port-channel ID is
1 to 64.
no paramter - Displays port rate statistics information for all interfaces.
Default Setting
None
Command Mode
Privileged Exec
Display Message
Interface: The physical slot and physical port or the logical slot and logical port. Minutes: Load interval. The range of value is 30 seconds to 600 seconds. Input rate: Average number of bits and packets received per second in the interval. Output rate: Average number of bits and packets transmitted per second in the interval.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
60
5.2.1.4 load-interval The load-interval change the length of time for which data is used to compute load port rate statistics.
Syntax
load-interval <30-600> no load-interval
<interval> - Load interval. The range of value is 30 seconds to 600 seconds. no - This command will be back to 300 seconds load-interval on a port.
Default Setting
300
Command Mode
Interface Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
61
5.2.1.5 show interface switch This command displays a summary of statistics for all CPU traffic.
Syntax
show interface switch
Default Setting
None
Command Mode
Privileged Exec
Display Message
Broadcast Packets Received: The total number of packets received that were directed to the
broadcast address. Note that this does not include multicast packets. Packets Received With Error: The number of inbound packets that contained errors preventing
them from being deliverable to a higher-layer protocol.
Packets Transmitted Without Error: The total number of packets transmitted out of the interface. Broadcast Packets Transmitted: The total number of packets that higher-level protocols requested
to be transmitted to the Broadcast address, including those that were discarded or not sent. Transmit Packet Errors: The number of outbound packets that could not be transmitted because of
errors. Address Entries Currently In Use: The total number of Forwarding Database Address Table
entries now active on the switch, including learned and static entries.
VLAN Entries Currently In Use: The number of VLAN entries presently occupying the VLAN table. Time Since Counters Last Cleared: The elapsed time, in days, hours, minutes, and seconds since
the statistics for this switch were last cleared.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
62
5.2.1.6 interface This command is used to enter Interface configuration mode.
Syntax
interface {<slot/port> | loopback <loopback-id> | port-channel <portchannel-id> | tunnel <tunnel-d> | vlan <vlan-id>}
<slot/port> - is the desired interface number. <loopback-id> - is the desired loopback interface number. The range of loopback ID is 0 to 7. <portchannel-id> - is the desired port-channel interface number. The range of port-channel ID is 1
to 64.
<tunnel-id> - is the desired tunnel interface number. The range of tunnel ID is 0 to 7. <vlan-id> - is the desired vlan interface number. The range of VLAN ID is 1 to 4093.
Default Setting
None
Command Mode
Global Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
63
5.2.1.7 speed-duplex This command is used to set the speed and duplex mode for the interface.
The 10-Giga interfaces could be configured to operate at 10-Giga or 1-Giga speed. Use ‘speed-duplex 1000’ to change the speed of 10-Giga port to 1G speed.
The speed of 40-Giga interfaces can not be changed by this command.
Syntax
speed-duplex 1000 no speed-duplex 1000
1000 – 1000 Mbps, only valid for 10G ports. no - This command will be back to 10G speed from 1G speed on a port.
Default Setting
None
Command Mode
Interface Config
i
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
64
This command is used to set the speed and duplex mode for all interfaces.
Syntax
speed-duplex all 1000 no speed-duplex all 1000
1000 – 1000 Mbps, only valid for 10G ports. all - This command represents all interfaces. no - This command will be back to 10G speed from 1G speed for all 10G ports.
Default Setting
None
Command Mode
Global Config
5.2.1.8 negotiate This command enables automatic negotiation on a port. The default value is enabled.
The 10-Giga and 40-Giga interfaces do not provide the following command.
Syntax
negotiate no negotiate
no - This command disables automatic negotiation on a port.
Default Setting
Disable
Command Mode
Interface Config
i
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
65
This command enables automatic negotiation on all interfaces. The default value is enabled.
Syntax
negotiate all no negotiate all
all - This command represents all interfaces. no - This command disables automatic negotiation on all interfaces.
Default Setting
Disable
Command Mode
Global Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
66
5.2.1.9 capabilities This command is used to set the capabilities on specific interface.
The 10-Giga and 40-Giga interfaces do not provide the following command.
Syntax
capabilities {{10 | 100 } {full-duplex | half-duplex}} | {1000 full-duplex } no capabilities {{10 | 100 } {full-duplex | half-duplex}} | {1000 full-duplex }
10 - 10BASE-T 100 - 100BASE-T 1000 - 1000BASE-T full-duplex - Full duplex half-duplex - Half duplex no - This command removes the advertised capability with using parameter.
Default Setting
10G full-duplex for 10G ports 40G full-duplex for 40G ports
Command Mode
Interface Config
This command is used to set the capabilities on all interfaces.
Syntax
capabilities all {{10 | 100} {full-duplex | half-duplex}} | {1000 full-duplex } no capabilities all {{10 | 100} {full-duplex | half-duplex}} | {1000 full-duplex }
10 - 10BASE-T 100 - 100BASE-T 1000 - 1000BASE-T full-duplex - Full duplex half-duplex - Half duplex all - This command represents all interfaces.
i
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
67
no - This command removes the advertised capability with using parameter
Default Setting
10 full/half duplex, 100 full/half duplex and 1000 full duplex for 1G ports. 10G full-duplex for 10G ports 40G full-duplex for 40G ports
Command Mode
Global Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
68
5.2.1.10 storm-control flowcontrol This command enables 802.3x flow control for the switch.
802.3x flow control only applies to full-duplex mode ports. If PFC feature is enabled on the same interface, 802.3x flow control will be disabled internally.
Syntax
storm-control flowcontrol no storm-control flowcontrol
no - This command disables 802.3x flow control for the switch.
Default Setting
Disabled
Command Mode
Global Config
This command enables 802.3x flow control for the specific interface.
802.3x flow control only applies to full-duplex mode ports. If PFC feature is enabled on the same interface, 802.3x flow control will be disabled internally.
Syntax
storm-control flowcontrol no storm-control flowcontrol
no - This command disables 802.3x flow control for the specific interface.
Default Setting
Disabled
Command Mode
Interface Config
5.2.1.11 shutdown This command is used to disable a port.
i
i
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
69
Syntax
shutdown no shutdown
no - This command enables a port.
Default Setting
Enabled
Command Mode
Interface Config
This command is used to disable all ports.
Syntax
shutdown all no shutdown all
all - This command represents all ports. no - This command enables all ports.
Default Setting
Enabled
Command Mode
Global Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
70
5.2.1.12 description This command is used to create an alpha-numeric description of the port.
Syntax
description <description> no description
no - This command removes the description of the port.
Default Setting
None
Command Mode
Interface Config
5.2.1.13 mdi
This command is used to configure the physical port MDI/MDIX state.
Syntax
mdi {auto|across|normal} no mdi
auto - This type is auto selecting cable type. across - This type is only allowed the Across-over cable. normal - This type is only allowed the Normal cable. no - This command restore the port mode to Auto.
Default Setting
Auto
Command Mode
Interface Config
This command is not provided for the 10-Giga SFP+ interface and 40G QSFP interface.
i
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
71
5.2.2 L2 MAC Address and Multicast Forwarding Database Tables
5.2.2.1 show mac-addr-table This command displays the forwarding database entries. If the command is entered with no parameter,
the entire table is displayed. The administrator can enter a MAC Address to display the table entry for the requested MAC address and all entries following the requested MAC address.
Syntax
show mac-addr-table [{<macaddr> <vlan-id>}]
<macaddr> - enter a MAC Address to display the table entry for the requested MAC address. <vlan-id> - VLAN ID (Range: 1 – 4093) no parameter – Displays the entire table.
Default Setting
None
Command Mode
Privileged Exec
Display Message
Mac Address: A unicast MAC address for which the switch has forwarding and/or filtering
information. The format is 6 or 8 two-digit hexadecimal numbers that are separated by colons, for example 01:23:45:67:89:AB. In an IVL system the MAC address will be displayed as 8 bytes. In an SVL system, the MAC address will be displayed as 6 bytes. Note: This software version only
supports IVL systems. Interface: The port on which this L2 MAC address was learned. IfIndex: This object indicates the if Index of the interface table entry associated with this port. Status: The status of this entry.
The meanings of the values are: Static: The value of the corresponding instance was added by the system or a user when a static
MAC filter was defined. It cannot be relearned. Learned: The value of the corresponding instance was learned by observing the source MAC
addresses of incoming traffic, and is currently in use. Management: The value of the corresponding instance (system MAC address) is also the value of
an existing instance of dot1dStaticAddress. It is identified with interface 3/1 and is currently used when enabling VLANs for routing.
Self: The value of the corresponding instance is the address of one of the switch’s physical interfaces (the system’s own MAC address).
GMRP Learned: The value of the corresponding instance was learned via GMRP and applies to Multicast.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
72
Other: The value of the corresponding instance does not fall into one of the other categories.
5.2.2.2 show mac-addr-table count This command displays the total forwarding database entries, the number of static and learnning mac
address, and the max address available on the switch.
Syntax
show mac-addr-table count
Default Setting
None
Command Mode
Privileged Exec
Display Message
Address Entries Currently in Use: The number of active entry in FDB Table. Dynamic Address count: The total learning mac addresses on the L2 MAC address Table. Static Address (User-defined) count: The total user-defined addresses on the L2 MAC address
Table.
Total MAC Addresses in use: This number of addresses are used on the L2 MAC address table. Total MAC Addresses available: The switch supports max value on the L2 MAC address table.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
73
5.2.2.3 show mac-addr-table interface This command displays the forwarding database entries. The user can search FDB table by using
interface number <slot/port>.
Syntax
show mac-addr-table interface {<slot/port> | port-channel <portchannel-id> | vlan <vlan-id>}
<slot/port> - Specifies the desired interface. <portchannel-id> - Specifies the desired port-channel interface. The range of port-channel ID is 1 to
64.
<vlan-id> - Specifies the desired VLAN interface. The range of VLAN ID is 1 to 4093.
Default Setting
None
Command Mode
Privileged Exec
Display Message
Mac Address: A unicast MAC address for which the switch has forwarding and/or filtering
information. The format is 6 or 8 two-digit hexadecimal numbers that are separated by colons, for example 01:23:45:67:89:AB. In an IVL system the MAC address will be displayed as 8 bytes. In an SVL system, the MAC address will be displayed as 6 bytes. Note: This software version only
supports IVL systems. VLAN ID: The vlan id of that mac address. Status: The status of this entry.
The meanings of the values are: Static: The value of the corresponding instance was added by the system or a user when a
static MAC filter was defined. It cannot be relearned. Learned: The value of the corresponding instance was learned by observing the source MAC
addresses of incoming traffic, and is currently in use. Management: The value of the corresponding instance (system MAC address) is also the value
of an existing instance of dot1dStaticAddress. It is identified with interface 3/1 and is currently used when enabling VLANs for routing.
Self: The value of the corresponding instance is the address of one of the switch’s physical interfaces (the system’s own MAC address).
GMRP Learned: The value of the corresponding instance was learned via GMRP and applies to Multicast.
Other: The value of the corresponding instance does not fall into one of the other categories.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
74
5.2.2.4 show mac-address-table gmrp This command displays the GARP Multicast Registration Protocol (GMRP) entries in the Multicast
Forwarding Database (MFDB) table.
Syntax
show mac-address-table gmrp
Default Setting
None
Command Mode
Privileged Exec
Display Message
MAC Address: A unicast MAC address for which the switch has forwarding and or filtering
information. The format is 6 or 8 two-digit hexadecimal numbers that are separated by colons, for example 01:23:45:67:89:AB. In an IVL system the MAC address is displayed as 8 bytes.
Type: This displays the type of the entry. Static entries are those that are configured by the end user. Dynamic entries are added to the table as a result of a learning process or protocol.
Description: The text description of this multicast table entry. Interfaces: The list of interfaces that are designated for forwarding (Fwd:) and filtering (Flt:).
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
75
5.2.2.5 show mac-address-table igmpsnooping This command displays the IGMP Snooping entries in the Multicast Forwarding Database (MFDB) table.
Syntax
show mac-address-table igmpsnooping
Default Setting
None
Command Mode
Privileged Exec
Display Message
Mac Address: A unicast MAC address for which the switch has forwarding and/or filtering
information. The format is 6 or 8 two-digit hexadecimal numbers that are separated by colons, for example 01:23:45:67:89:AB. In an IVL system the MAC address will be displayed as 8 bytes. In an SVL system, the MAC address will be displayed as 6 bytes. Note: This software version only
supports IVL systems. Type: This displays the type of the entry. Static entries are those that are configured by the end user.
Dynamic entries are added to the table as a result of a learning process or protocol.
Description: The text description of this multicast table entry. Interfaces: The list of interfaces that are designated for forwarding (Fwd:) and filtering (Flt:).
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
76
5.2.2.6 show mac-address-table multicast This command displays the MFDB information. If the command is entered with no parameter, the entire
table is displayed. This is the same as entering the all parameter. The user can display the table entry for one MAC Address by specifying the MAC address as an optional parameter.
Syntax
show mac-address-table multicast [{<macaddr> <vlan-id>]]
<macaddr> - enter a MAC Address to display the table entry for the requested MAC address <vlan-id> - VLAN ID (Range: 1 – 4093) no parameter – Displays the entire table.
Default Setting
None
Command Mode
Privileged Exec
Display Message
Mac Address: A unicast MAC address for which the switch has forwarding and/or filtering
information. The format is 6 or 8 two-digit hexadecimal numbers that are separated by colons, for example 01:23:45:67:89:AB. In an IVL system the MAC address will be displayed as 8 bytes. In an SVL system, the MAC address will be displayed as 6 bytes. Note: This software version only
supports IVL systems. Type: This displays the type of the entry. Static entries are those that are configured by the end user.
Dynamic entries are added to the table as a result of a learning process or protocol. Source: The component that is responsible for this entry in the Multicast Forwarding Database.
Possible values are IGMP Snooping, GMRP, and Static Filtering.
Description: The text description of this multicast table entry. Interfaces: The list of interfaces that are designated for forwarding (Fwd:) and filtering (Flt:). Forwarding Interfaces: The resultant forwarding list is derived from combining all the component’s
forwarding interfaces and removing the interfaces that are listed as the static filtering interfaces.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
77
5.2.2.7 show mac-address-table stats This command displays the MFDB statistics.
Syntax
show mac-address-table stats
Default Setting
None
Command Mode
Privileged Exec
Display Message
Max MFDB Table Entries: This displays the total number of entries that can possibly be in the
MFDB. Most MFDB Entries Since Last Reset: This displays the largest number of entries that have been
present in the Multicast Forwarding Database table. This value is also known as the MFDB high-water mark.
Current Entries: This displays the current number of entries in the Multicast Forwarding Database table.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
78
5.2.2.8 show mac-addr-table agetime This command displays the forwarding database address aging timeout.
Syntax
show mac-addr-table agetime
Default Setting
None
Command Mode
Privileged Exec
Display Message
Address Aging Timout: This displays the total number of seconds for Forwarding Database table.
5.2.2.9 mac-addr-table aging-time This command configures the forwarding database address aging timeout in seconds.
Syntax
mac-addr-table aging-time <10-1000000> no mac-addr-table aging-time
<10-1000000> - aging-time (Range: 10-1000000) in seconds no - This command sets the forwarding database address aging timeout to 300 seconds.
Default Setting
300
Command Mode
Global Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
79
5.2.3 VLAN Management
5.2.3.1 show vlan This command displays brief information on a list of all configured VLANs.
Syntax show vlan
Default Setting
None
Command Mode
Privileged Exec
Display Message
VLAN ID: There is a VLAN Identifier (vlanid) associated with each VLAN. The range of the VLAN ID
is 1 to 4093. VLAN Name: A string associated with this VLAN as a convenience. It can be up to 16 alphanumeric
characters, including blanks. The default is blank. VLAN ID 1 is always named `Default`. This field is optional.
VLAN Type: Type of VLAN, which can be Default, (VLAN ID = 1), can be static (one that is configured and permanently defined), or Dynamic (one that is created by GVRP registration).
Interface(s): Indicates by slot id and port number which port belongs to this VLAN.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
80
5.2.3.2 show vlan id This command displays detailed information, including interface information, for a specific VLAN.
Syntax
show vlan {id <vlanid> | name <vlanname>}
<vlanid> - VLAN ID (Range: 1 – 4093) <vlanname> - vlan name (up to 32 alphanumeric characters)
Default Setting
None
Command Mode
Privileged Exec
Display Message
VLAN ID: There is a VLAN Identifier (VID) associated with each VLAN. The range of the VLAN ID is
1 to 4093. VLAN Name: A string associated with this VLAN as a convenience. It can be up to 32 alphanumeric
characters, including blanks. The default is blank. VLAN ID 1 is always named `Default`. This field is optional.
VLAN Type: Type of VLAN, which can be Default, (VLAN ID = 1), can be static (one that is configured and permanently defined), or Dynamic (one that is created by GVRP registration).
Interface: Indicates by slot id and port number which port is controlled by the fields on this line. It is possible to set the parameters for all ports by using the selectors on the top line. Current: Determines the degree of participation of this port in this VLAN. The permissible values
are:
Include: This port is always a member of this VLAN. This is equivalent to registration fixed in the IEEE 802.1Q standard.
Exclude: This port is never a member of this VLAN. This is equivalent to registration forbidden in the IEEE 802.1Q standard.
Autodetect: Specifies to allow the port to be dynamically registered in this VLAN via GVRP. The port will not participate in this VLAN unless a join request is received on this port. This is equivalent to registration normal in the IEEE 802.1Q standard.
Configured: Determines the configured degree of participation of this port in this VLAN. The permissible values are:
Include: This port is always a member of this VLAN. This is equivalent to registration fixed in the IEEE 802.1Q standard.
Exclude: This port is never a member of this VLAN. This is equivalent to registration forbidden in the IEEE 802.1Q standard.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
81
Autodetect: Specifies to allow the port to be dynamically registered in this VLAN via GVRP. The port will not participate in this VLAN unless a join request is received on this port. This is equivalent to registration normal in the IEEE 802.1Q standard.
Tagging: Select the tagging behavior for this port in this VLAN.
Tagged: Specifies to transmit traffic for this VLAN as tagged frames. Untagged: Specifies to transmit traffic for this VLAN as untagged frames.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
82
5.2.3.3 show vlan association mac This command displays the VLAN associated with a specific configured MAC address. If no MAC
address is specified, the VLAN associations of all the configured MAC addresses are displayed.
Syntax
show vlan association mac [<macaddr>]
<macaddr> - Enter a MAC Address to display the table entry for the requested MAC address.
Default Setting
None
Command Mode
Privileged Exec
Display Message
MAC Address: A unicast MAC address for which the switch has forwarding and/or filtering
information. The format is 6 or 8 two-digit hexadecimal numbers that are separated by colons, for example 01:23:45:67:89:AB. In an IVL system the MAC address will be displayed as 8 bytes. In an SVL system, the MAC address will be displayed as 6 bytes. Note: This software version only
supports IVL systems. VLAN ID: There is a VLAN Identifier (VID) associated with each VLAN. The range of the VLAN ID is
1 to 4093. Priority: There is a priority for each MAC-based.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
83
5.2.3.4 show vlan association subnet This command displays the VLAN associated with a specific configured IP-Address and net mask. If no
IP Address and net mask are specified, the VLAN associations of all the configured IP-subnets are displayed.
Syntax
show vlan association subnet [<ipaddr> <netmask>]
<ipaddr> - The IP address. <netmask> - The subnet mask.
Default Setting
None
Command Mode
Privileged Exec
Display Message
IP Subnet: The IP address assigned to each interface. IP Mask: The subnet mask. VLAN ID: There is a VLAN Identifier (VID) associated with each VLAN. The range of the VLAN ID is
1 to 4093. Priority: There is a priority for each IPsubnet-based.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
84
5.2.3.5 show vlan internal usage This command displays the VLAN assigned to port-based routing interfaces.
Syntax
show vlan internal usage
Default Setting
None
Command Mode
Privileged Exec
Display Message
Base VLAN ID: This is the Base VLAN ID for Internal allocation of VLANs to the routing interface. Allocation Policy: Allocation Policy for VLAN ID in ascending or descending order. VLAN: This is the Used Internal VLAN ID for the Interface. Usage: This is the switch interface.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
85
5.2.3.6 show protocol group This command displays the Protocol-based VLAN information for either the entire system, or for the
indicated group.
Syntax
show protocol group [<group-name>]
<group-name> - The group name of an entry in the Protocol-based VLAN table. no parameter – Displays the entire table.
Default Setting
None
Command Mode
Privileged Exec
Display Message
Group Name: This field displays the group name of an entry in the Protocol-based VLAN table. Group ID: This field displays the group identifier of the protocol group. Protocol(s): This field indicates the type of protocol(s) for this group. VLAN: This field indicates the VLAN associated with this protocol group. Interface(s): This field lists the slot/port interface(s) that are associated with this protocol group.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
86
5.2.3.7 show interface switchport This command displays VLAN port information.
Syntax
show interface switchport [{<slot/port> | port-channel <portchannel-id>}]
<slot/port> - Interface number. <portchannel-id> - port-channel interface number. The range of port-channel ID is 1 to 64. no parameter – Display the entire table.
Default Setting
None
Command Mode
Privileged Exec
Display Message
Interface: Indicates by slot id and port number which port is controlled by the fields on this line. It is
possible to set the parameters for all ports by using the selectors on the top line. Port VLAN ID: The VLAN ID that this port will assign to untagged frames or priority tagged frames
received on this port. The value must be for an existing VLAN. The factory default is 1. Acceptable Frame Types: Specifies the types of frames that may be received on this port. The
options are 'VLAN only' and 'Admit All'. When set to 'VLAN only', untagged frames or priority tagged frames received on this port are discarded. When set to 'Admit All', untagged frames or priority tagged frames received on this port are accepted and assigned the value of the Port VLAN ID for this port. With either option, VLAN tagged frames are forwarded in accordance to the 802.1Q VLAN specification.
Ingress Filtering: May be enabled or disabled. When enabled, the frame is discarded if this port is not a member of the VLAN with which this frame is associated. In a tagged frame, the VLAN is identified by the VLAN ID in the tag. In an untagged frame, the VLAN is the Port VLAN ID specified for the port that received this frame. When disabled, all frames are forwarded in accordance with the
802.1Q VLAN bridge specification. The factory default is disabled.
GVRP: May be enabled or disabled. Mode: Indicates this interface is operating on Access mode or General mode. Default Priority: The 802.1p priority assigned to untagged packets arriving on the port.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
87
5.2.3.8 vlan database This command is used to enter VLAN Interface configuration mode.
Syntax
vlan database
Default Setting
None
Command Mode
Global Config
5.2.3.9 vlan This command creates a new VLAN and assigns it an ID. The ID is a valid VLAN identification
number (ID 1 is reserved for the default VLAN). VLAN range is 2-4093.
Syntax
vlan <vlan-list> no vlan <vlan-list>
<vlan-list> - VLAN ID (Range: 2 – 4093) – separate non-consecutive IDs with ',' and no spaces and no zeros in between the range; Use '-' for range.
no - This command deletes an existing VLAN. The ID is a valid VLAN identification number (ID 1 is reserved for the default VLAN). VLAN range is 2-4093.
Default Setting
None
Command Mode
VLAN database
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
88
5.2.3.10 vlan name This command changes the name of a VLAN. The name is an alphanumeric string of up to 32
characters, and the ID is a valid VLAN identification number. ID range is 1- 4093.
Syntax
vlan name <vlan-id> <newname> no vlan name <vlan-id>
<vlan-id> - VLAN ID (Range: 1 – 4093). <newname> - Configure a new VLAN Name (up to 32 alphanumeric characters). no - This command sets the name of a VLAN to a blank string. The VLAN ID is a valid VLAN
identification number. ID range is 1-4093.
Default Setting
The name for VLAN ID 1 is always Default. The name for other VLANs is defaulted to a blank string.
Command Mode
VLAN database
5.2.3.11 vlan association mac This command associates a MAC address to a VLAN.
Syntax
vlan association mac <macaddr> <vlan-id> [<priority>] no vlan association mac <macaddr>
<macaddr> - Enter a MAC Address to display the table entry for the requested MAC address. <vland-id> - VLAN identification number. ID range is 1-4093. < priority> - The priority value for untagged frames received. Valid priority value is 0 to 7. no - This command removes the association of a MAC address to a VLAN.
Default Setting
None
Command Mode
VLAN database
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
89
5.2.3.12 vlan association subnet This command removes the association of a MAC address to a VLAN.
Syntax
vlan association subnet <ipaddr> <netmask> <vlan-id> [<priority>] no vlan association subnet <ipaddr> <netmask>
<ipaddr> - The IP address. <netmask> - The subnet mask. <vland-id> - VLAN identification number. ID range is 1-4093. <priority> - The priority value for untagged frames received. Valid priority value is 0 to 7. no - This command removes association of a specific IP-subnet to a VLAN.
Default Setting
None
Command Mode
VLAN database
5.2.3.13 vlan makestatic This command changes a dynamically created VLAN (one that is created by GVRP registration) to a
static VLAN (one that is permanently configured and defined). The ID is a valid VLAN identification number. VLAN range is 2-4093.
Syntax
vlan makestatic <vlan-id>
<vlan-id> - VLAN ID (Range: 2 –4093).
Default Setting
None
Command Mode
VLAN database
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
90
5.2.3.14 protocol group This command attaches a <vlan-id> to the protocol-based VLAN identified by <group-name>. A group
may only be associated with one VLAN at a time, however the VLAN association can be changed.
Syntax
protocol group <group-name> <vlan-id> no protocol group <group-name> <vlan-id>
<vlan-id> - VLAN ID (Range: 1 – 4093). <group-name> - a VLAN Group Name (a character string of 1 to 16 characters). no - This command removes the <vlanid> from this protocol-based VLAN group that is identified by
this <group-name>.
Default Setting
None
Command Mode
VLAN database
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
91
5.2.3.15 switchport acceptable-frame-type This command sets the frame acceptance mode per interface. For VLAN Only mode, untagged frames
or priority frames received on this interface are discarded. For Admit All mode, untagged frames or priority frames received on this interface are accepted and assigned the value of the interface VLAN ID for this port. With either option, VLAN tagged frames are forwarded in accordance with the IEEE 802.1Q VLAN specification.
Syntax
switchport acceptable-frame-type {tagged | all} no switchport acceptable-frame-type {tagged | all}
tagged - VLAN only mode. all - Admit all mode. no - This command sets the frame acceptance mode per interface to Admit All. For Admit All mode,
untagged frames or priority frames received on this interface are accepted and assigned the value of the interface VLAN ID for this port. With either option, VLAN tagged frames are forwarded in accordance with the IEEE 802.1Q VLAN Specification.
Default Setting
Admit all
Command Mode
Interface Config
This command sets the frame acceptance mode for all interfaces. For VLAN Only mode, untagged frames or priority frames received on this interface are discarded. For Admit All mode, untagged frames or priority frames received on this interface are accepted and assigned the value of the interface VLAN ID for this port. With either option, VLAN tagged frames are forwarded in accordance with the IEEE
802.1Q VLAN specification.
Syntax
switchport acceptable-frame-type all {tagged | all} no switchport acceptable-frame-type all {tagged | all}
tagged - VLAN only mode. all – One is for Admit all mode. The other one is for all interfaces. no - This command sets the frame acceptance mode for all interfaces to Admit All. For Admit All
mode, untagged frames or priority frames received on this interface are accepted and assigned the value of the interface VLAN ID for this port. With either option, VLAN tagged frames are forwarded in accordance with the IEEE 802.1Q VLAN Specification.
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
92
Default Setting
Admit all
Command Mode
Global Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
93
5.2.3.16 switchport ingress-filtering This command enables ingress filtering. If ingress filtering is disabled, frames received with VLAN IDs
that do not match the VLAN membership of the receiving interface are admitted and forwarded to ports that are members of that VLAN.
Syntax
switchport ingress-filtering no switchport ingress-filtering
no - This command disables ingress filtering. If ingress filtering is disabled, frames received with VLAN IDs that do not match the VLAN membership of the receiving interface are admitted and forwarded to ports that are members of that VLAN.
Default Setting
Disabled
Command Mode
Interface Config
This command enables ingress filtering for all ports. If ingress filtering is disabled, frames received with VLAN IDs that do not match the VLAN membership of the receiving interface are admitted and forwarded to ports that are members of that VLAN.
Syntax
switchport ingress-filtering all no switchport ingress-filtering all
all - All interfaces. no - This command disables ingress filtering for all ports. If ingress filtering is disabled, frames
received with VLAN IDs that do not match the VLAN membership of the receiving interface are admitted and forwarded to ports that are members of that VLAN.
Default Setting
Disabled
Command Mode
Global Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
94
5.2.3.17 switchport mode access This command configures the an interface to be operated on VLAN access mode. In this mode, only one
VLAN could be assigned to this interface. Use ‘switchport access vlan <vlan-id>’ to configure the access VLAN. In VLAN access mode, only the untagged packets are handled.
Syntax
switchport mode access no switchport mode access
no - This command sets the mode to General.
Default Setting
General Mode
Command Mode
Interface Config
5.2.3.18 switchport access vlan This command configures the access VLAN ID for an interface if it is operated on access VLAN mode.
Syntax
switchport access vlan <vlan-id> no switchport access vlan
<vlan-id> - VLAN ID (Range: 1 – 4093). no - This command sets the access VLAN ID to 1.
Default Setting
1
Command Mode
Interface Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
95
5.2.3.19 switchport native vlan This command changes the VLAN ID which will be assigned to untagged or priority tagged frames per
interface.
Syntax
switchport native vlan <vlan-id> no switchport native vlan <vlan-id>
<vlan-id> - VLAN ID (Range: 1 – 4093). no - This command sets the VLAN ID per interface to 1.
Default Setting
1
Command Mode
Interface Config
This command changes the VLAN ID which will be assigned to untagged or priority tagged frames for all interfaces.
Syntax
switchport native vlan all <vlan-id>
<vlan-id> - VLAN ID (Range: 1 – 4093). all - All interfaces. no - This command sets the VLAN ID for all interfaces to 1.
Default Setting
1
Command Mode
Global Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
96
5.2.3.20 switchport allowed vlan This command configures the degree of participation for a specific interface in a VLAN. The ID is a valid
VLAN identification number, and the interface is a valid interface number.
Syntax
switchport allowed vlan {add [tagged | untagged] | remove} <vlan-list>
<vlan-list> - VLAN ID (Range: 1 – 4093) – separate non-consecutive IDs with ',' and no spaces and no zeros in between the range; Use '-' for range.
add - The interface is always a member of this VLAN. This is equivalent to registration fixed. tagged - All frames transmitted for this VLAN will be tagged. untagged - All frames transmitted for this VLAN will be untagged. remove - The interface is removed from the member of this VLAN. This is equivalent to registration
forbidden.
Default Setting
None
Command Mode
Interface Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
97
This command configures the degree of participation for all interfaces in a VLAN. The ID is a valid VLAN identification number.
Syntax
switchport allowed vlan {add {tagged | untagged} | remove} all <vlan-id>
<vlan-id> - VLAN ID (Range: 1 – 4093). all - All interfaces. add - The interface is always a member of this VLAN. This is equivalent to registration fixed. tagged - all frames transmitted for this VLAN will be tagged. untagged - all frames transmitted for this VLAN will be untagged. remove - The interface is removed from the member of this VLAN. This is equivalent to registration
forbidden.
Default Setting
None
Command Mode
Global Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
98
5.2.3.21 switchport tagging This command configures the tagging behavior for a specific interface in a VLAN to enable. If tagging is
enabled, traffic is transmitted as tagged frames. If tagging is disabled, traffic is transmitted as untagged frames. The ID is a valid VLAN identification number.
Syntax
switchport tagging <vlan-list> no switchport tagging <vlan-list>
<vlan-list> - VLAN ID (Range: 1 – 4093) – separate non-consecutive IDs with ',' and no spaces and no zeros in between the range; Use '-' for range.
no - This command configures the tagging behavior for a specific interface in a VLAN to disabled. If tagging is disabled, traffic is transmitted as untagged frames. The ID is a valid VLAN identification number.
Default Setting
Disabled
Command Mode
Interface Config
This command configures the tagging behavior for all interfaces in a VLAN to be enabled. If tagging is enabled, traffic is transmitted as tagged frames. If tagging is disabled, traffic is transmitted as untagged frames. The ID is a valid VLAN identification number.
Syntax
switchport tagging all <vlan-id>
<vlan-id> - VLAN ID (Range: 1 – 4093). all - All interfaces no - This command configures the tagging behavior for all interfaces in a VLAN to disabled. If
tagging is disabled, traffic is transmitted as untagged frames. The ID is a valid VLAN identification number.
Default Setting
Disabled
Command Mode
Global Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
99
5.2.3.22 switchport forbidden vlan This command used to configure forbidden VLANs.
Syntax
switchport forbidden vlan {add | remove} <vlan-list> no switchport forbidden
<vlan-list> - VLAN ID (Range: 1 – 4093) – separate non-consecutive IDs with ',' and no spaces and no zeros in between the range; Use '-' for range.
add - VLAND ID to add. remove - VLAND ID to remove. no - Remove the list of forbidden VLANs.
Default Setting
None
Command Mode
Interface Config
5.2.3.23 switchport priority This command configures the default 802.1p port priority assigned for untagged packets for a specific
interface.
Syntax
switchport priority <0-7> no switchport priority
<0-7> - The range for the priority is 0 - 7. no – This command restore the priority configuration to default value.
Default Setting
0
Command Mode
Interface Config
UANTA COMPUTER INC.
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
100
This command configures the port priority assigned for untagged packets for all ports presently plugged into the device. Any subsequent per port configuration will override this configuration setting.
Syntax
switchport priority all <0-7> no switchport priority all
<0-7> - The range for the priority is 0-7. all – All interfaces no – This command restores the priority value to default value for all interfaces.
Default Setting
0
Command Mode
Global Config
5.2.3.24 switchport protocol group This command adds the physical interface to the protocol-based VLAN identified by <group-name>. A
group may have more than one interface associated with it. Each interface and protocol combination can only be associated with one group. If adding an interface to a group causes any conflicts with protocols currently associated with the group, this command will fail, and the interface(s) will not be added to the group.
Syntax
switchport protocol group <group-name> no switchport protocol group <group-name>
<group-name> - a VLAN Group Name (a character string of 1 to 16 characters). no - This command removes the interface from this protocol-based VLAN group that is identified by
this <group-name>.
Default Setting
None
Command Mode
Interface Config
Loading...