Lenovo RackSwitch G8332 Command Reference Manual

Specifications

Brand: Lenovo
Category: Network Router
Model: RackSwitch G8332 (Command Reference Manual)
File Type: PDF
File Size: —
Pages: 776

Read Online

Read the Lenovo RackSwitch G8332 Command Reference Manual online using the built-in PDF viewer.

Text of the manual

Lenovo RackSwitch G8332 ISCLI—Industry Standard CLI Command Reference for Lenovo Enterprise Network Operating System 8.4

Note: Before using this information and the product it supports, read the general information in the Safety information and Environmental Notices and User Guide documents on the Lenovo Documentation CD, and the Warranty Information document that comes with the product. First Edition (September 2016) © Copyright Lenovo 2016 Portions © Copyright IBM Corporation 2014 LIMITED AND RESTRICTED RIGHTS NOTICE: If data or software is delivered pursuant a General Services Administration “GSA” contract, use, reproduction, or disclosure is subject to restrictions set forth in Contract No. GS‐35F‐05925. Lenovo and the Lenovo logo are trademarks of Lenovo in the United States, other countries, or both.

© Copyright Lenovo 2016

3 Contents Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Who Should Use This Book   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .16 How This Book Is Organized .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .17 Typographic Conventions  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .18 Chapter 1. ISCLI Basics . . . . . . . . . . . . . . . . . . . . . 21 ISCLI Command Modes .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .22 Global Commands   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .26 Command Line Interface Shortcuts  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .29 CLI List and Range Inputs  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .29 Command Abbreviation  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .29 Tab Completion.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .29 User Access Levels  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .30 Idle Timeout .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .31 Chapter 2. Information Commands. . . . . . . . . . . . . . . . . 33 System Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .34 CLI Display Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .36 Error Disable and Recovery Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .37 SNMPv3 System Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .38 SNMPv3 USM User Table Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .39 SNMPv3 View Table Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .40 SNMPv3 Access Table Information    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .41 SNMPv3 Group Table Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .42 SNMPv3 Community Table Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .42 SNMPv3 Target Address Table Information.   .   .   .   .   .   .   .   .   .   .   .   .43 SNMPv3 Target Parameters Table Information   .   .   .   .   .   .   .   .   .   .   .44 SNMPv3 Notify Table Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .44 SNMPv3 Dump Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .45 General System Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .46 Show Specific System Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .47 Show Recent Syslog Messages   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .48 User Status .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .49 LDAP Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .50 Layer 2 Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .51 802.1X Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .54 FDB Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .56 FDB Multicast Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .57 Show All FDB Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .58 Clearing Entries from the Forwarding Database  .   .   .   .   .   .   .   .   .   .   .58 Link Aggregation Control Protocol Information .   .   .   .   .   .   .   .   .   .   .   .   .59 Link Aggregation Control Protocol    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .60 Layer 2 Failover Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .61 Layer 2 Failover Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .61 Hot Links Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .63 LLDP Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .64 LLDP Remote Device Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .65

4 G8332 Command Reference for ENOS 8.4

Unidirectional Link Detection Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 66 UDLD Port Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 66 802.1x Discovery Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 67 802.1x Port Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 67 OAM Discovery Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 68 OAM Port Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 68 vLAG Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 69 vLAG Aggregation Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 70 vLAG Peer Gateway Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 70 vLAG VRRP Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 70 Spanning Tree Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 71 RSTP Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 72 PVRST Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 74 Spanning Tree Bridge Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 76 Spanning Tree Root Information    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 77 Multiple Spanning Tree Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 78 Link Aggregation Group (LAG) Information  .   .   .   .   .   .   .   .   .   .   .   .   .   . 80 VLAN Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 81 Layer 3 Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 83 IP Routing Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 87 Show All IP Route Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 88 ARP Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 90 ARP Address List Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 91 Show All ARP Entry Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 91 Dynamic ARP Inspection Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 93 BGP Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 94 BGP Peer Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 95 BGP Group Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 96 BGP Summary Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 97 Dump BGP Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 97 OSPF Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   . 98 OSPF General Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   100 OSPF Interface Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   100 OSPF Loopback Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   101 OSPF Port Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   101 OSPF Information Route Codes .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   101 OSPF Database Information    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   102 OSPFv3 Information    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   104 OSPFv3 Information Dump.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   106 OSPFv3 Interface Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   106 OSPFv3 Database Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   107 OSPFv3 Route Codes Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   108 Routing Information Protocol    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   109 RIP Routes Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   110 RIP Interface Information    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   110 IPv6 Routing Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   111 IPv6 Routing Table Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   112 IPv6 Neighbor Cache Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   113 IPv6 Neighbor Cache Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   113 IPv6 Neighbor Discovery Prefix Information  .   .   .   .   .   .   .   .   .   .   .   .   .   114 ECMP Static Route Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   115

© Copyright Lenovo 2016

Contents 5 IGMP Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  116 IGMP Querier Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  118 IGMP Group Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  119 IGMP Multicast Router Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  119 IPMC Group Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  120 MLD Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  121 VRRP Information    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  123 Interface Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  125 IPv6 Interface Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  126 IPv6 Path MTU Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  127 IP Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  128 IKEv2 Information    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  130 IKEv2 Information Dump.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  131 IP Security Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  132 IPsec Manual Policy Information    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  133 DHCP Snooping Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  134 PIM Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  135 PIM Component Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  136 PIM Interface Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  136 PIM Neighbor Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  137 PIM Multicast Route Information Commands .   .   .   .   .   .   .   .   .   .   .  138 PIM Multicast Route Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  139 Quality of Service Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  140 802.1p Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  141 WRED and ECN Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  142 Access Control List Information    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  143 Access Control List Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  144 Access Control List VxLAN Information  .   .   .   .   .   .   .   .   .   .   .   .   .  146 Access Control IPv6 List Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  146 NAT Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  148 NAT Status Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  148 NAT Translations Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  149 OpenFlow Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  150 OpenFlow Global Configuration Information .   .   .   .   .   .   .   .   .   .   .   .   .  151 OpenFlow Flow Allocation Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  153 OpenFlow Group Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  155 OpenFlow Configuration Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  156 OpenFlow Table Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  158 RMON Information Commands   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  160 RMON History Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  161 RMON Alarm Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  162 RMON Event Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  163 Link Status Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  164 Port Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  165 Port Transceiver Status   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  166 VM Ready Information Commands .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  168 VMReady Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  170 VM OUI Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  170 VM Port Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  171 VM Portchannel Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  171

6 G8332 Command Reference for ENOS 8.4

VM Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   172 VM Check Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   172 VM Group Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   173 VM Bandwidth Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   173 VM Profile Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   173 VMware Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   174 VMware Hello Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   175 VMware Host Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   175 VMware VM Information    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   177 ESX Server ‐ Switchport Mapping .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   177 EVB Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   178 EVB VSIType Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   179 EVB VMs Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   180 Networking Virtualization Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   181 VXLAN Gateway Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   182 VXLAN Gateway FDB Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   183 VXLAN Gateway Datapath Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   184 VXLAN Gateway Tunnel Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   185 VXLAN Gateway Virtual Network Information.   .   .   .   .   .   .   .   .   .   .   .   185 VXLAN Gateway Virtual Port Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   185 SSL Host Certificate Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   186 Converged Enhanced Ethernet Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   187 DCBX Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   188 DCBX Control Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   189 DCBX Feature Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   190 DCBX ETS Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   192 DCBX PFC Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   194 DCBX Application Protocol Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   195 ETS Information   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   197 PFC Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   198 FCoE Initialization Protocol Snooping Information  .   .   .   .   .   .   .   .   .   .   .   .   199 FIP Snooping FCoE Forwarder Information    .   .   .   .   .   .   .   .   .   .   .   .   .   200 FCoE Forwarder Information    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   201 Fabric Login Database Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   203 Fibre Channel Name Server Database Information    .   .   .   .   .   .   .   .   .   .   203 Fabric Device Management Interface Database Information    .   .   .   .   .   .   204 Registered State Change Notification Information .   .   .   .   .   .   .   .   .   .   .   205 Zone Information .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   205 Information Dump  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   206 Chapter 3. Statistics Commands . . . . . . . . . . . . . . . . . 207 Port Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   208 802.1X Authenticator Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   211 802.1X Authenticator Diagnostics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   212 BootStrap Protocol Relay Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   215 Bridging Statistics.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   216 Ethernet Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   217 Interface Statistics.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   220 Interface Protocol Statistics.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   223 Link Statistics    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   223

© Copyright Lenovo 2016

Contents 7 RMON Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  224 QoS Queue Counter‐Based Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  227 QoS Queue Rate‐Based Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  228 Link Aggregation Group (LAG) Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  229 Layer 2 Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  230 FDB Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  233 LACP Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  234 Hotlinks Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  235 LLDP Port Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  236 Spanning Tree Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  237 OAM Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  238 vLAG Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  239 vLAG ISL Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  240 Layer 3 Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  241 IPv4 Statistics.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  247 IPv6 Statistics.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  249 IPv4 Route Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  254 IPv6 Route Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  255 ARP statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  256 DNS Statistics    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  257 ICMP Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  258 TCP Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  260 UDP Statistics    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  262 IGMP Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  263 MLD Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  265 MLD Global Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  266 OSPF Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  268 OSPF Global Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  269 OSPFv3 Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  273 OSPFv3 Global Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  274 VRRP Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  278 PIM Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  279 Routing Information Protocol Statistics.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  280 DHCP Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  281 DHCP Snooping Statistics    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  281 OpenFlow Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  282 Management Processor Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  298 MP Packet Statistics Commands.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  300 MP Packet Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  301 Management Processor Packet Thread Statistics .   .   .   .   .   .   .   .   .   .   .   .  305 Logged Packet Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  306 TCP Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  310 UDP Statistics    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  311 MP Specific Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  312 CPU Statistics.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  313 CPU Statistics History .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  314 QoS Statistics.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  315 Access Control List Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  317 ACL Statistics.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  318

8 G8332 Command Reference for ENOS 8.4

VMAP Statistics    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   318 Networking Virtualization Statistics    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   319 VXLAN Gateway Virtual Network Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   320 VXLAN Gateway Virtual Port Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   320 FCoE Initialization Protocol Snooping Statistics.   .   .   .   .   .   .   .   .   .   .   .   .   .   321 FCoE Forwarder Statistics .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   322 SNMP Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   324 NTP Statistics   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   328 PTP Statistics    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   330 NAT Statistics  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   331 Statistics Dump   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   332 Chapter 4. Configuration Commands . . . . . . . . . . . . . . . 333 Viewing and Saving Changes   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   336 Saving the Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   336 System Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   337 System Error Disable and Recovery Configuration    .   .   .   .   .   .   .   .   .   .   343 Link Flap Dampening Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   344 System Host Log Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   345 SSH Server Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   350 RADIUS Server Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   352 TACACS+ Server Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   354 LDAP Server Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   359 NTP Server Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   366 System SNMP Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   369 SNMPv3 Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   372 User Security Model Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   374 SNMPv3 View Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   375 View‐based Access Control Model Configuration  .   .   .   .   .   .   .   .   .   376 SNMPv3 Group Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   377 SNMPv3 Community Table Configuration  .   .   .   .   .   .   .   .   .   .   .   .   378 SNMPv3 Target Address Table Configuration.   .   .   .   .   .   .   .   .   .   .   379 SNMPv3 Target Parameters Table Configuration   .   .   .   .   .   .   .   .   .   380 SNMPv3 Notify Table Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   381 System Access Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   382 Management Network Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   383 NETCONF Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   385 NETCONF over SSH Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   385 User Access Control Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   386 System User ID Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   387 Strong Password Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   388 HTTPS Access Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   389 Custom Daylight Saving Time Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   392 sFlow Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   393 sFlow Port Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   394 Server Port Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   395 Port Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   396 Port Error Disable and Recovery Configuration .   .   .   .   .   .   .   .   .   .   .   .   402 Port Link Flap Dampening Configuration    .   .   .   .   .   .   .   .   .   .   .   .   402 Port Link Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   403

© Copyright Lenovo 2016

Contents 9 Temporarily Disabling a Port .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  404 UniDirectional Link Detection Configuration .   .   .   .   .   .   .   .   .   .   .   .   .  405 Port OAM Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  406 Port ACL Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  407 Port WRED Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  408 Port WRED Transmit Queue Configuration .   .   .   .   .   .   .   .   .   .   .   .  409 Quality of Service Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  410 802.1p Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  410 DSCP Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  411 Control Plane Protection .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  412 Weighted Random Early Detection Configuration .   .   .   .   .   .   .   .   .   .   .  414 WRED Transmit Queue Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  415 Access Control Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  416 Access Control List Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  417 ACL Mirroring Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  418 Ethernet Filtering Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  418 IPv4 Filtering Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  420 TCP/UDP Filtering Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  421 Packet Format Filtering Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .  423 ACL Metering Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  424 ACL Re‐Mark Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  425 ACL VxLAN Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  426 ACL IPv6 Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  427 IPv6 Filtering Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  428 IPv6 TCP/UDP Filtering Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .  429 IPv6 Re‐Mark Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  431 IPv6 Metering Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  433 ACL Log Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  434 ACL Group Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  435 Management ACL Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  436 MACL IPv4 Filtering Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  436 MACL TCP/UDP Filtering Configuration .   .   .   .   .   .   .   .   .   .   .   .   .  438 VMAP Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  440 Port Mirroring  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  446 Port‐Mirroring Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  446 Layer 2 Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  447 802.1X Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  447 802.1X Global Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  448 802.1X Guest VLAN Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  450 802.1X Port Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  451 Spanning Tree Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  453 MSTP Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  456 RSTP/PVRST Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  460 Forwarding Database Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  465 Static Multicast MAC Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  466 Static FDB Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  467 ECP Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  469 LLDP Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  470 LLDP Port Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  471 LLDP Optional TLV configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  472

10 G8332 Command Reference for ENOS 8.4

Link Aggregation Group (LAG) Configuration  .   .   .   .   .   .   .   .   .   .   .   .   474 Link Aggregation Group (LAG) Hash Configuration.   .   .   .   .   .   .   .   475 Layer 2 Link Aggregation Group (LAG) Hash.   .   .   .   .   .   .   .   .   .   .   477 Layer 3 Link Aggregation Group (LAG) Hash.   .   .   .   .   .   .   .   .   .   .   478 Virtual Link Aggregation Group (vLAG) Configuration  .   .   .   .   .   .   .   .   479 vLAG Health Check Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   481 vLAG ISL Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   482 Link Aggregation Control Protocol Configuration.   .   .   .   .   .   .   .   .   .   .   483 LACP Port Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   484 Layer 2 Failover Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   486 Failover Trigger Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   486 Failover Manual Monitor Port Configuration  .   .   .   .   .   .   .   .   .   .   .   487 Failover Manual Monitor Control Configuration    .   .   .   .   .   .   .   .   .   488 Hot Links Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   489 Hot Links Trigger Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   490 Hot Links Master Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   491 Hot Links Backup Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   492 VLAN Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   493 Protocol‐Based VLAN Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   494 Private VLAN Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   496 Flooding VLAN Configuration Menu   .   .   .   .   .   .   .   .   .   .   .   .   .   .   497 Layer 3 Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   498 IP Interface Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   500 IPv6 Neighbor Discovery Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   503 Default Gateway Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   506 IPv4 Static Route Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   507 IP Multicast Route Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   509 ARP Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   510 ARP Local Proxy Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   510 ARP Static Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   511 Dynamic ARP Inspection Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   512 IP Forwarding Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   513 Network Address Translation Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   514 Network Filter Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   518 Routing Map Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   519 IP Access List Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   522 Policy‐Based Routing Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   523 Autonomous System Filter Path Configuration  .   .   .   .   .   .   .   .   .   .   525 Routing Information Protocol Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   526 RIP Interface Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   527 RIP Route Redistribution Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   529 Open Shortest Path First Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   530 Area Index Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   531 OSPF Summary Range Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   533 OSPF Interface Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   534 OSPF Virtual Link Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   536 OSPF Host Entry Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   538 OSPF Route Redistribution Configuration   .   .   .   .   .   .   .   .   .   .   .   .   539 OSPF MD5 Key Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   539 Open Shortest Path First Version 3 Configuration .   .   .   .   .   .   .   .   .   .   .   540 OSPFv3 Area Index Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   542

© Copyright Lenovo 2016

Contents 11 OSPFv3 Summary Range Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .  545 OSPFv3 AS‐External Range Configuration   .   .   .   .   .   .   .   .   .   .   .   .  546 OSPFv3 Interface Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  547 OSPFv3 over IPSec Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  550 OSPFv3 Virtual Link Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  552 OSPFv3 over IPSec for Virtual Link Configuration .   .   .   .   .   .   .   .   .  553 OSPFv3 Host Entry Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  554 OSPFv3 Redistribute Entry Configuration    .   .   .   .   .   .   .   .   .   .   .   .  555 OSPFv3 Redistribute Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  556 Border Gateway Protocol Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  557 BGP Peer Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  559 BGP Aggregation Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  562 BGP Neighbor Redistribution Configuration   .   .   .   .   .   .   .   .   .   .   .  563 BGP Peering Group Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  564 BGP Neighbor Group Redistribution Configuration   .   .   .   .   .   .   .   .  568 IGMP Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  572 IGMP Snooping Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  573 IGMPv3 Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  574 IGMP Relay Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  575 IGMP Relay Multicast Router Configuration   .   .   .   .   .   .   .   .   .   .   .  576 IGMP Static Multicast Router Configuration    .   .   .   .   .   .   .   .   .   .   .  577 IGMP Filtering Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  578 IGMP Advanced Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  580 IGMP Querier Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  581 IKEv2 Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  584 IKEv2 Preshare Key Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  584 IKEv2 Proposal Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  585 IKEv2 Identification Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  586 IPsec Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  587 IPsec Transform Set Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  587 IPsec Traffic Selector Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  588 IPsec Dynamic Policy Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  589 IPsec Manual Policy Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  590 Domain Name System Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  592 Bootstrap Protocol Relay Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  594 BOOTP Relay Broadcast Domain Configuration .   .   .   .   .   .   .   .   .   .  594 Option 82 Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  595 VRRP Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  596 Virtual Router Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  598 Virtual Router Priority Tracking Configuration   .   .   .   .   .   .   .   .   .   .  601 Virtual Router Group Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  602 VRRP Interface Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  606 VRRP Tracking Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  607 Protocol Independent Multicast Configuration   .   .   .   .   .   .   .   .   .   .   .   .  608 PIM Component Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  609 RP Candidate Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  610 RP Static Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  610 PIM Interface Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  611 IPv6 Default Gateway Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  614 IPv6 Static Route Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  615 IPv6 Neighbor Discovery Cache Configuration  .   .   .   .   .   .   .   .   .   .   .   .  615 IPv6 Path MTU Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  616

12 G8332 Command Reference for ENOS 8.4

IPv6 Neighbor Discovery Prefix Configuration  .   .   .   .   .   .   .   .   .   .   .   .   616 IPv6 Prefix Policy Table Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   618 IP Loopback Interface Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   619 DHCP Snooping   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   620 Converged Enhanced Ethernet Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   621 ETS Global Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   622 ETS Global Priority Group Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   622 Priority Flow Control Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   623 Global Priority Flow Control Configuration.   .   .   .   .   .   .   .   .   .   .   .   623 802.1p PFC Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   624 DCBX Port Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   625 FCoE Initialization Protocol Snooping Configuration  .   .   .   .   .   .   .   .   .   .   .   626 FIPS Port Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   627 FCoE Forwarder Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   628 FCoE VLAN Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   629 Zone Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   630 Zoneset Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   631 FC Alias Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   632 Remote Monitoring Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   633 RMON History Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   633 RMON Event Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   634 RMON Alarm Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   635 VMReady Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   637 VM Policy Bandwidth Management.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   637 VM Group Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   639 VM Check Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   642 VM Profile Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   643 VMWare Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   645 Miscellaneous VMReady Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   646 Edge Virtual Bridge Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   647 Edge Virtual Bridge VSI Type Database Configuration.   .   .   .   .   .   .   .   .   648 Edge Virtual Bridge VSI Type Profile Configuration .   .   .   .   .   .   .   .   .   .   650 Networking Virtualization Configuration  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   651 OpenFlow Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   652 Static Flows Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   662 Precision Time Protocol Configuration   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   666 Microburst Detection  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   668 Service Location Protocol Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   669 Configuration Dump  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   670 Saving the Active Switch Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   671 Restoring the Active Switch Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   672 USB Copy .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   673 Copy to USB .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   673 Copy from USB.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   673 Chapter 5. Operations Commands. . . . . . . . . . . . . . . . . 675 Operations‐Level Port Commands   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   676 Operations‐Level MDA Commands.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   677 Operations‐Level NAT Commands .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   678

© Copyright Lenovo 2016

Contents 13 Operations‐Level VRRP Commands.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  679 VMware Operations    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  680 VMware Distributed Virtual Switch Operations.   .   .   .   .   .   .   .   .   .   .   .   .   .  682 VMware Distributed Port Group Operations  .   .   .   .   .   .   .   .   .   .   .   .   .  683 Edge Virtual Bridge Operations.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  684 Chapter 6. Boot Options . . . . . . . . . . . . . . . . . . . . .685 Scheduled Reboot of the Switch.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  686 Netboot Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  687 Security Policy Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  688 Configuring the Number of Spanning Tree Groups  .   .   .   .   .   .   .   .   .   .   .   .  690 Machine Type Model Configuration.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  691 QSFP Port Configuration    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  692 USB Boot Configuration .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  693 Updating the Switch Software Image   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  694 Loading New Software to Your Switch.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  695 Selecting a Software Image to Run.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  696 Uploading a Software Image from Your Switch  .   .   .   .   .   .   .   .   .   .   .   .  696 Selecting a Configuration Block.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  697 Setting an Entitlement Serial Number  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  698 Rebooting the Switch  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  699 Changing the Switch Profile  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  700 Using the Boot Management Menu  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  701 Boot Recovery Mode    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  702 Recover from a Failed Image Upgrade using TFTP.   .   .   .   .   .   .   .   .   .   .  703 Recovering from a Failed Image Upgrade using XModem Download   .   .  705 Physical Presence  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  707 Chapter 7. Maintenance Commands . . . . . . . . . . . . . . . .709 Forwarding Database Maintenance  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  711 Debugging Commands   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  712 SSH Debugging    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  714 IPsec Debugging  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  715 vLAG Debugging.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  716 BGP Debugging   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  717 BGP Maintenance.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  718 DCBX Maintenance .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  719 LLDP Cache Manipulation .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  720 ARP Cache Maintenance.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  721 IP Route Manipulation    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  722 IGMP Snooping Maintenance    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  723 IGMP Multicast Routers Maintenance .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  724 Networking Virtualization Maintenance .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  725 IPv6 Neighbor Cache Manipulation .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  726 IPv6 Route Maintenance .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  727 FCoE Forwarder Maintenance   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  728 TFTP, SFTP, or FTP System Dump Copy .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  729 Clearing Dump Information  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  730 Unscheduled System Dumps .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .  731

14 G8332 Command Reference for ENOS 8.4

Appendix A. Enterprise NOS System Log Messages . . . . . . . . . 733 LOG_ALERT    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   734 LOG_CRIT   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   738 LOG_ERR .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   739 LOG_INFO   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   741 LOG_NOTICE .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   745 LOG_WARNING    .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   749 Appendix B. Getting help and technical assistance. . . . . . . . . . 751 Appendix C. Notices . . . . . . . . . . . . . . . . . . . . . . 753 Trademarks  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   755 Important Notes  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   756 Recycling Information.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   757 Particulate Contamination .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   758 Telecommunication Regulatory Statement .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   759 Electronic Emission Notices  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   760 Federal Communications Commission (FCC) Statement  .   .   .   .   .   .   .   .   760 Industry Canada Class A Emission Compliance Statement  .   .   .   .   .   .   .   760 Avis de Conformité à la Réglementation dʹIndustrie Canada  .   .   .   .   .   .   760 Australia and New Zealand Class A Statement  .   .   .   .   .   .   .   .   .   .   .   .   760 European Union ‐ Compliance to the Electromagnetic Compatibility Directive 760 Germany Class A Compliance Statement.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   761 Japan VCCI Class A Statement  .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   762 Japan Electronics and Information Technology Industries Association (JEITA) Statement.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   762 Korea Communications Commission (KCC) Statement.   .   .   .   .   .   .   .   .   763 Russia Electromagnetic Interference (EMI) Class A statement    .   .   .   .   .   .   .   764 People’s Republic of China Class A electronic emission statement.   .   .   .   .   .   765 Taiwan Class A compliance statement.   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   766 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767

© Copyright Lenovo 2016

15 Preface The Lenovo RackSwitch G8332 ISCLI—Industry Standard CLI Command Reference for Lenovo Enterprise Network Operating System 8.4 describes how to configure and use the Enterprise NOS 8.4 software with your RackSwitch G8332 (referred to as G8332 throughout this document). This guide lists each command, together with the complete syntax and a functional description, from the IS Command Line Interface (ISCLI). For documentation on installing the switches physically, see the Lenovo Installation Guide for your RackSwitch G8332. For details about configuration and operation of your G8332, see the Lenovo RackSwitch G8332 Application Guide for Lenovo Enterprise Network Operating System 8.4.

16 G8332 Command Reference for ENOS 8.4

Who Should Use This Book This book is intended for network installers and system administrators engaged in configuring and maintaining a network. The administrator should be familiar with Ethernet concepts, IP addressing, Spanning Tree Protocol, and SNMP configuration parameters.

© Copyright Lenovo 2016

Preface 17 How This Book Is Organized Chapter 1, “ISCLI Basics“, describes how to connect to the switch and access the information and configuration commands. This chapter provides an overview of the command syntax, including command modes, global commands and shortcuts. Chapter 2, “Information Commands“, shows how to view switch configuration parameters. Chapter 3, “Statistics Commands“, shows how to view switch performance statistics. Chapter 4, “Configuration Commands“, shows how to configure switch system parameters, ports, VLANs, Spanning Tree Protocol, SNMP, Port Mirroring, IP Routing, Link Aggregation and more. Chapter 5, “Operations Commands“, shows how to use commands which affect switch performance immediately, but do not alter permanent switch configurations (such as temporarily disabling ports). The commands describe how to activate or deactivate optional software features. Chapter 6, “Boot Options“, describes the use of the primary and alternate switch images, how to load a new software image and how to reset the software to factory defaults. Chapter 7, “Maintenance Commands“, shows how to generate and access a dump of critical switch state information, how to clear it and how to clear part or all of the forwarding database. Appendix A, “Enterprise NOS System Log Messages“, shows a listing of syslog messages. Appendix B, “Getting help and technical assistance“, lists the resources available from Lenovo to assist you. Appendix C, “Notices“, displays Lenovo legal information. “Index” includes pointers to the description of the key words used throughout the book.

18 G8332 Command Reference for ENOS 8.4

Typographic Conventions The following table describes the typographic styles used in this book. Table 1. Typographic Conventions Typeface or Symbol Meaning plain fixed­width text This type is used for names of commands, files, and directories used within the text. For example: View the readme.txt file. It also depicts on‐screen computer output and prompts. bold fixed­width text This bold type appears in command examples. It shows text that must be typed in exactly as shown. For example: show sys­info bold body text This bold type indicates objects such as window names, dialog box names, and icons, as well as user interface objects such as buttons, and tabs. italicized body text This italicized type indicates book titles, special terms, or words to be emphasized. angle brackets < > Indicate a variable to enter based on the description inside the brackets. Do not type the brackets when entering the command. Example: If the command syntax is ping  you enter ping 192.32.10.12 braces {} Indicate required elements in syntax descriptions where there is more than one option. You must choose only one of the options. Do not type the braces when entering the command. Example: If the command syntax is show portchannel {<1‐208>|hash|information} you enter: show portchannel <1‐208> or show portchannel hash or show portchannel information

© Copyright Lenovo 2016

Preface 19 brackets [] Indicate optional elements in syntax descriptions. Do not type the brackets when entering the command. Example: If the command syntax is show interface ip [<1‐128>] you enter show interface ip or show interface ip <1‐128> vertical line | Separates choices for command keywords and arguments. Enter only one of the choices. Do not type the vertical line when entering the command. Example: If the command syntax is show portchannel {<1‐208>|hash|information} you must enter: show portchannel <1‐208> or show portchannel hash or show portchannel information Table 1. Typographic Conventions (continued) Typeface or Symbol Meaning

© Copyright Lenovo 2016

21 Chapter 1. ISCLI Basics Your RackSwitch G8332 is ready to perform basic switching functions right out of the box. Some of the more advanced features, however, require some administrative configuration before they can be used effectively. This guide describes the individual ISCLI commands available for the G8332. The ISCLI provides a direct method for collecting switch information and performing switch configuration. Using a basic terminal, the ISCLI allows you to view information and statistics about the switch, and to perform any necessary configuration. This chapter explains how to access the Industry Standard Command Line Interface (ISCLI) for the switch.

22 G8332 Command Reference for ENOS 8.4

ISCLI Command Modes The ISCLI has three major command modes listed in order of increasing privileges, as follows:  User EXEC mode This is the initial mode of access. By default, password checking is disabled for this mode, on console.  Privileged EXEC mode This mode is accessed from User EXEC mode. This mode can be accessed using the following command: enable  Global Configuration mode This mode allows you to make changes to the running configuration. If you save the configuration, the settings survive a reload of the G8332. Several sub‐modes can be accessed from the Global Configuration mode. For more details, see Table 2. This mode can be accessed using the following command: configure terminal Each mode provides a specific set of commands. The command set of a higher‐privilege mode is a superset of a lower‐privilege mode—all lower‐privilege mode commands are accessible when using a higher‐privilege mode. The following table lists the ISCLI command modes. Table 2. ISCLI Command Modes Command Mode/Prompt Command used to enter or exit User EXEC RS G8332> Default mode, entered automatically on console Exit: exit or logout Privileged EXEC RS G8332# Enter Privileged EXEC mode, from User EXEC mode: enable Exit to User EXEC mode: disable Quit ISCLI: exit or logout Global Configuration RS G8332(config)# Enter Global Configuration mode, from Privileged EXEC mode: configure terminal Exit to Privileged EXEC: end or exit Interface IP RS G8332(config­ip­if)# Enter Interface IP Configuration mode, from Global Configuration mode: interface ip <1‐128> Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end

© Copyright Lenovo 2016

Chapter 1: ISCLI Basics 23 Interface loopback RS G8332(config­ip­loopback)# Enter Interface Loopback Configuration mode, from Global Configuration mode: interface loopback <1‐5> Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end Interface port RS G8332(config­if)# Enter Port Configuration mode, from Global Configuration mode: interface port  Exit to Privileged EXEC mode: exit Exit to Global Configuration mode: end Interface PortChannel RS G8332(config­PortChannel)# Enter PortChannel Configuration mode, from Global Configuration mode: interface portchannel {<1‐208>|lacp } Exit to Privileged EXEC mode: exit Exit to Global Configuration mode: end VLAN RS G8332(config­vlan)# Enter VLAN Configuration mode, from Global Configuration mode: vlan  Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end Router OSPF RS G8332(config­router­ospf)# Enter OSPF Configuration mode, from Global Configuration mode: router ospf Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end Router OSPFv3 RS G8332(config­router­ospf3)# Enter OSPFv3 Configuration mode, from Global Configuration mode: ipv6 router ospf Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end Router BGP RS G8332(config­router­bgp)# Enter BGP Configuration mode, from Global Configuration mode: router bgp Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end Table 2. ISCLI Command Modes (continued) Command Mode/Prompt Command used to enter or exit

24 G8332 Command Reference for ENOS 8.4

Router RIP RS G8332(config­router­rip)# Enter RIP Configuration mode, from Global Configuration mode: router rip Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end Route Map RS G8332(config­route­map)# Enter Route Map Configuration mode, from Global Configuration mode: route­map <1‐255> Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end Router VRRP RS G8332(config­vrrp)# Enter VRRP Configuration mode, from Global Configuration mode: router vrrp Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end PIM Component RS G8332(config­ip­pim­comp)# Enter Protocol Independent Multicast (PIM) Component Configuration mode, from Global Configuration mode: ip pim component <1‐2> Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end IKEv2 Proposal RS G8332(config­ikev2­prop)# Enter IKEv2 Proposal Configuration mode, from Global Configuration mode: ikev2 proposal Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end MLD Configuration RS G8332(config­router­mld)# Enter Multicast Listener Discovery Protocol Configuration mode, from Global Configuration mode: ipv6 mld Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end MST Configuration RS G8332(config­mst)# Enter Multiple Spanning Tree Protocol Configuration mode, from Global Configuration mode: spanning­tree mst configuration Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end Table 2. ISCLI Command Modes (continued) Command Mode/Prompt Command used to enter or exit

© Copyright Lenovo 2016

Chapter 1: ISCLI Basics 25 OpenFlow Instance RS G8332(config­openflow­ instance)# Enter OpenFlow Instance Configuration mode, from Global Configuration mode: openflow instance <1‐2> Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end VSI Database RS G8332(conf­vsidb)# Enter Virtual Station Interface Database Configuration mode, from Global Configuration mode: virt evb vsidb  Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end EVB Profile RS G8332(conf­evbprof)# Enter Edge Virtual Bridging VSI Type Profile Configuration mode, from Global Configuration mode: virt evb profile <1‐16> Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end VXLAN Gateway RS G8332(conf­nsx­gw)# Enter VXLAN Gateway Configuration mode, from Global Configuration mode: nwv nsx­gw Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: exit FC Zone Configuration RS G8332(config­zone)# Enter Fibre Channel Zone Configuration mode, from Global Configuration mode: zone name <1‐64 characters> vlan  Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end FC Zoneset Configuration RS G8332(config­zoneset)# Enter Fibre Channel Zoneset Configuration mode, from Global Configuration mode: zoneset name <1‐64 characters> vlan  Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end FC Alias Configuration RS G8332(config­fcalias)# Enter Fibre Channel FC Alias Configuration mode, from Global Configuration mode: fcalias name <1‐64 characters> vlan  Exit to Global Configuration mode: exit Exit to Privileged EXEC mode: end Table 2. ISCLI Command Modes (continued) Command Mode/Prompt Command used to enter or exit

26 G8332 Command Reference for ENOS 8.4

Global Commands Some basic commands are recognized throughout the ISCLI command modes. These commands are useful for obtaining online help, navigating through the interface, and for saving configuration changes. For help on a specific command, type the command, followed by help. Table 3. Description of Global Commands Command Action ? Provides more information about a specific command or lists commands available at the current level. list Lists the commands available at the current level. exit Go up one level in the command mode structure. If already at the top level, exit from the command line interface and log out. copy running­config startup­config Write configuration changes to non‐volatile flash memory. logout Exit from the command line interface and log out. traceroute Use this command to identify the route used for station‐to‐station connectivity across the network. The format is as follows: traceroute [{|} [ []] [data­port|mgt­port]] Where:  hostname/IP address: Sets the hostname or IP address of the target station.  max­hops: Sets the maximum distance to trace.  msec­delay: Sets the number of milliseconds to wait for the response. By default, the management port is used. To use a specific port, use the following options:  data port: data­port  management port: mgt­port Note: The DNS parameters must be configured if specifying hostnames.

© Copyright Lenovo 2016

Chapter 1: ISCLI Basics 27 ping Use this command to verify station‐to‐station connectivity across the network. The format is as follows: ping [{|} [ [ [ [ [ [ [dont­fragment]]]]]]] [data­port|mgt­port]] Where:  hostname/IP address: Sets the hostname or IP address of the target station.  tries: Sets the number of attempts (optional).  msec­delay: Sets the number of milliseconds between attempts (optional).  length: Sets the ping request payload size (optional).  source IP address: Sets the IP source address for the IP packet (optional).  ttl: Sets the Time to live in the IP header.  tos: Sets the Type of Service bits in the IP header.  dont­fragment: Sets the don’t fragment bit in the IP header (only for IPv4 addresses). By default, the management port is used. To use a specific port, use the following options:  data port: data­port  management port: mgt­port Note: The DNS parameters must be configured if specifying hostnames. Table 3. Description of Global Commands Command Action

28 G8332 Command Reference for ENOS 8.4

telnet This command is used to form a Telnet session between the switch and another network device. The format is as follows: telnet [{|} [] [data­port|mgt­port]] Where:  hostname/IP address: Sets the target station.  port: Sets the logical Telnet port or service number. By default, the management port is used. To use a specific port, use the following options:  data port: data­port  management port: mgt­port Note: The DNS parameters must be configured if specifying hostnames. show history This command displays the last ten issued commands. show who Displays a list of users who are currently logged in. show line Displays a list of users who are currently logged in, in table format. Table 3. Description of Global Commands Command Action

© Copyright Lenovo 2016

Chapter 1: ISCLI Basics 29 Command Line Interface Shortcuts The following shortcuts allow you to enter commands quickly and easily. CLI List and Range Inputs For VLAN and port commands that allow an individual item to be selected from within a numeric range, lists and ranges of items can now be specified. For example, the vlan command permits the following options: The numbers in a range must be separated by a dash: ­ Multiple ranges or list items are permitted using a comma: , Do not use spaces within list and range specifications. Ranges can also be used to apply the same command option to multiple items. For example, to access multiple ports with one command: Command Abbreviation Most commands can be abbreviated by entering the first characters which distinguish the command from the others in the same mode. For example, consider the following full command and a valid abbreviation: or: Tab Completion By entering the first letter of a command at any prompt and pressing , the ISCLI displays all available commands or options that begin with that letter. Entering additional letters further refines the list of commands or options displayed. If only one command fits the input text when  is pressed, that command is supplied on the command line, waiting to be entered. If multiple commands share the typed characters, when you press , the ISCLI completes the common part of the shared syntax. RS G8332(config)# vlan 1,3,4094             (access VLANs 1, 3, and 4094) RS G8332(config)# vlan 1­20             (access VLANs 1 through 20) RS G8332(config)# vlan 1­5,90­99,4090­4094      (access multiple ranges) RS G8332(config)# vlan 1­5,19,20,4090­4094      (access a mix of lists and ranges) RS G8332(config)# interface port 1­4               (access ports 1 though 4) RS G8332(config)# show mac­address­table interface port 12 RS G8332(config)# sh ma i p 12

30 G8332 Command Reference for ENOS 8.4

User Access Levels To enable better switch management and user accountability, three levels or classes of user access have been implemented on the G8332. Levels of access to CLI, Web management functions, and screens increase as needed to perform various switch management tasks. Conceptually, access classes are defined as follows:  user Interaction with the switch is completely passive—nothing can be changed on the G8332. Users may display information that has no security or privacy implications, such as switch statistics and current operational state information.  oper Operators can make temporary changes on the G8332. These changes are lost when the switch is rebooted. Operators have access to the switch management features used for daily switch operations. Because any changes an operator makes are undone by a reboot of the switch, operators cannot severely impact switch operation.  admin Administrators are the only ones that may make permanent changes to the switch configuration—changes that are persistent across a reboot of the switch. Administrators can access switch functions to configure and troubleshoot problems on the G8332. Because administrators can also make temporary (operator‐level) changes as well, they must be aware of the interactions between temporary and permanent changes. Access to switch functions is controlled through the use of unique surnames and passwords. Once you are connected to the switch via local Telnet, remote Telnet, or SSH, you are prompted to enter a password. The default user names/password for each access level are listed in the following table. Note: It is recommended that you change default switch passwords after initial configuration and as regularly as required under your network security policies. Note: With the exception of the “admin” user, access to each user level can be disabled by setting the password to an empty value. Table 4. User Access Levels User Account Description and Tasks Performed Password User The User has no direct responsibility for switch management. He or she can view all switch status information and statistics, but cannot make any configuration changes to the switch. Operator The Operator can make temporary changes that are lost when the switch is rebooted. Operators have access to the switch management features used for daily switch operations. Administrator The superuser Administrator has complete access to all command modes, information, and configuration commands on the RackSwitch G8332, including the ability to change both the user and administrator passwords. admin

© Copyright Lenovo 2016

Chapter 1: ISCLI Basics 31 Idle Timeout By default, the switch will disconnect your Telnet session after ten minutes of inactivity. This function is controlled by the following command, which can be set from 1 to 60 minutes, or disabled when set to 0: system idle <0‐60> Command mode: Global Configuration

© Copyright Lenovo 2016

33 Chapter 2. Information Commands You can view configuration information for the switch in both the user and administrator command modes. This chapter discusses how to use the command line interface to display switch information. Table 5. Information Commands Command Syntax and Usage show interface status  Displays configuration information about the selected port(s), including:  Port alias and number  Port speed  Duplex mode (half, full, or, auto)  Flow control for transmit and receive (no, yes, or, both)  Link status (up, down, or, disabled)  Port description For details, see page 164. Command mode: All show interface trunk  Displays port status information, including:  Port alias and number  Whether the port uses VLAN Tagging or not  Port VLAN ID (PVID)  Port description  VLAN membership  FDB Learning status  Flooding status For details, see page 165. Command mode: All show interface transceiver Displays the status of the port transceiver module on each port. For details, see page 166. Command mode: All show information­dump Dumps all switch information available (10K or more, depending on your configuration). If you want to capture dump data to a file, set your communication software on your workstation to capture session data prior to issuing the dump commands. Command mode: All

34 G8332 Command Reference for ENOS 8.4

System Information The information provided by each command option is briefly described in the following table, with pointers to where detailed information can be found. Table 6. System Information Options Command Syntax and Usage dir [configs|images] Displays the configuration files and NOS images currently on the switch.  configs ‐ displays only the configuration files currently on the switch  images ‐ displays only the system images currently on the switch For more details, see page 35. Command mode: Privileged EXEC show access user Displays configured user names and their status. Command mode: Privileged EXEC show logging [messages] [severity <0‐7>] [reverse]   [|{include|exclude|section|begin|head <1‐2000>|   |last <1‐2000>}] Displays the current syslog configuration, followed by the most recent 2000 syslog messages.  messages displays the most recent 2000 syslog messages only  severity displays syslog messages of the specified severity level  reverse displays syslog messages starting with the most recent message  | displays syslog messages that match one of the following filters: • include displays syslog messages that match the specified expression • exclude displays syslog messages that don’t match the specified expression • section displays syslog messages that match the specified section • begin displays syslog messages beginning from the first message that matches the specified expression • head displays the oldest syslog messages for the specified value • last displays the most recent syslog messages for the specified value For details, see page 48. Command mode: All

© Copyright Lenovo 2016

Chapter 2: Information Commands 35 The following command displays the configuration files and NOS images currently on the switch: dir Command mode: Privileged EXEC show sys­info Displays system information, including:  System date and time  Switch model name and number  Switch name and location  Time of last boot  MAC address of the switch management processor  IP address of management interface  Hardware version and part number  Software image file and version number  Configuration name  Log‐in banner, if one is configured  Internal temperatures  Fan status  Power supply status For details, see page 46. Command mode: All images: total 18528 ­rw­r­­r­­    1 root     root      10038789 Jan  8 14:16 image1 ­rw­r­­r­­    1 root     root       8932087 Jan  7 20:16 image2 ­rw­r­­r­­    1 root     root            16 Jan  8 14:18 uboot­hdr configs: total 8 ­rw­r­­r­­    1 root     root           342 Jan 11 14:43 conf1 ­rw­r­­r­­    1 root     root          7637 Jan 11 14:43 conf2 Table 6. System Information Options (continued) Command Syntax and Usage

36 G8332 Command Reference for ENOS 8.4

CLI Display Information These commands allow you to display information about the number of lines per screen displayed in the CLI. Table 7. CLI Display Information Options Command Syntax and Usage show terminal­length Displays the number of lines per screen displayed in the CLI for the current session. A value of 0 means paging is disabled. Command mode: All show line console length Displays the number of lines per screen displayed in the CLI by default for console sessions. A value of 0 means paging is disabled. Command mode: All show line vty length Displays the number of lines per screen displayed in the CLI by default for Telnet and SSH sessions. A value of 0 means paging is disabled. Command mode: All

© Copyright Lenovo 2016

Chapter 2: Information Commands 37 Error Disable and Recovery Information These commands allow you to display information about the Error Disable and Recovery feature for interface ports. Table 8. Error Disable Information Options Command Syntax and Usage show errdisable information Displays all Error Disable and Recovery information. Command mode: All show errdisable link­flap [information] Displays ports that have been disabled due to excessive link flaps. Command mode: All show errdisable recovery Displays a list ports with their Error Recovery status. Command mode: All show errdisable timers Displays a list of active recovery timers, if applicable. Command mode: All

38 G8332 Command Reference for ENOS 8.4

SNMPv3 System Information SNMP version 3 (SNMPv3) is an extensible SNMP Framework that supplements the SNMPv2 framework by supporting the following:  a new SNMP message format  security for messages  access control  remote configuration of SNMP parameters For more details on the SNMPv3 architecture please refer to RFC2271 to RFC2276. Table 9. SNMPv3 Information Options Command Syntax and Usage show snmp­server v3 Displays all the SNMPv3 information. To view a sample, see page 45. Command mode: All show snmp­server v3 access Displays View‐based Access Control information. To view a sample, see page 41. Command mode: All show snmp­server v3 community Displays information about the community table information. To view a sample, see page 42. Command mode: All show snmp­server v3 group Displays information about the group, including the security model, user name and group name. To view a sample, see page 42. Command mode: All show snmp­server v3 notify Displays the Notify table information. To view a sample, see page 44. Command mode: All show snmp­server v3 target­address Displays the Target Address table information. To view a sample, see page 43. Command mode: All show snmp­server v3 target­parameters Displays the Target parameters table information. To view a sample, see page 44. Command mode: All

© Copyright Lenovo 2016

Chapter 2: Information Commands 39 SNMPv3 USM User Table Information The User‐based Security Model (USM) in SNMPv3 provides security services such as authentication and privacy of messages. This security model makes use of a defined set of user identities displayed in the USM user table. The following command displays SNMPv3 user information: show snmp­server v3 user Command mode: All The USM user table contains the following information:  the user name  a security name in the form of a string whose format is independent of the Secuity Model  an authentication protocol, which is an indication that the messages sent on behalf of the user can be authenticated  the privacy protocol show snmp­server v3 user Displays User Security Model (USM) table information. To view the table, see page 39. Command mode: All show snmp­server v3 view Displays information about view, subtrees, mask and type of view. To view a sample, see page 40. Command mode: All Table 9. SNMPv3 Information Options (continued) Command Syntax and Usage Engine ID = 80:00:4F:4D:03:08:17:F4:8C:E8:00 usmUser Table: User Name                        Protocol ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ adminmd5                         HMAC_MD5, DES PRIVACY adminsha                         HMAC_SHA, DES PRIVACY v1v2only                         NO AUTH,  NO PRIVACY adminshaaes                      HMAC_SHA, AES PRIVACY Table 10. USM User Table Information Parameters Field Description User Name A string representing the user name you can use to access the switch. Protocol Whether messages sent from this user are protected from disclosure using a privacy protocol. Enterprise NOS supports DES algorithm for privacy and two authentication algorithms: MD5 and HMAC‐SHA.

40 G8332 Command Reference for ENOS 8.4

SNMPv3 View Table Information The user can control and restrict the access allowed to a group to only a subset of the management information in the management domain that the group can access within each context by specifying the group’s rights in terms of a particular MIB view for security reasons. The following command displays the SNMPv3 View Table: show snmp­server v3 view Command mode: All View Name            Subtree                Mask           Type ­­­­­­­­­­­­­­­­­    ­­­­­­­­­­­­­­­­­­   ­­­­­­­­­­­­­­  ­­­­­­­­ iso                  1.3                                  included v1v2only             1.3                                  included v1v2only             1.3.6.1.6.3.15                       excluded v1v2only             1.3.6.1.6.3.16                       excluded v1v2only             1.3.6.1.6.3.18                       excluded Table 11. SNMPv3 View Table Information Parameters Field Description View Name Displays the name of the view. Subtree Displays the MIB subtree as an OID string. A view subtree is the set of all MIB object instances which have a common Object Identifier prefix to their names. Mask Displays the bit mask. Type Displays whether a family of view subtrees is included or excluded from the MIB view.

© Copyright Lenovo 2016

Chapter 2: Information Commands 41 SNMPv3 Access Table Information The access control subsystem provides authorization services. The vacmAccessTable maps a group name, security information, a context, and a message type, which could be the read or write type of operation or notification into a MIB view. The View‐based Access Control Model defines a set of services that an application can use for checking access rights of a group. This groupʹs access rights are determined by a read‐view, a write‐view and a notify‐view. The read‐view represents the set of object instances authorized for the group while reading the objects. The write‐view represents the set of object instances authorized for the group when writing objects. The notify‐view represents the set of object instances authorized for the group when sending a notification. The following command displays SNMPv3 access information: show snmp­server v3 access Command mode: All Group Name Model   Level        ReadV      WriteV     NotifyV ­­­­­­­­­­ ­­­­­­­ ­­­­­­­­­­­­ ­­­­­­­­­­ ­­­­­­­­­­ ­­­­­­­­­­ v1v2grp    snmpv1  noAuthNoPriv iso        iso        v1v2only admingrp   usm     authPriv     iso        iso        iso Table 12. SNMPv3 Access Table Information Field Description Group Name Displays the name of group. Model Displays the security model used, for example, SNMPv1, or SNMPv2 or USM. Level Displays the minimum level of security required to gain rights of access. For example, noAuthNoPriv, authNoPriv, or authPriv. ReadV Displays the MIB view to which this entry authorizes the read access. WriteV Displays the MIB view to which this entry authorizes the write access. NotifyV Displays the Notify view to which this entry authorizes the notify access.

42 G8332 Command Reference for ENOS 8.4

SNMPv3 Group Table Information A group is a combination of security model and security name that defines the access rights assigned to all the security names belonging to that group. The group is identified by a group name. The following command displays SNMPv3 group information: show snmp­server v3 group Command mode: All SNMPv3 Community Table Information The following command displays the SNMPv3 community table information stored in the SNMP engine: show snmp­server v3 community Command mode: All All active SNMPv3 groups are listed below: Sec Model  User Name                      Group Name ­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ snmpv1     v1v2only                       v1v2grp usm        adminmd5                       admingrp usm        adminsha                       admingrp usm        adminshaaes                    admingrp Table 13. SNMPv3 Group Table Information Parameters Field Description Sec Model Displays the security model used, which is any one of: USM, SNMPv1, SNMPv2, and SNMPv3. User Name Displays the name for the group. Group Name Displays the access name of the group. Index      Name       User Name            Tag ­­­­­­­­­­ ­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­­ trap1      public     v1v2only             v1v2trap Table 14. SNMPv3 Community Table Information Parameters Field Description Index Displays the unique index value of a row in this table Name Displays the community string, which represents the configuration. User Name Displays the User Security Model (USM) user name. Tag Displays the community tag. This tag specifies a set of transport endpoints from which a command responder application accepts management requests and to which a command responder application sends an SNMP trap.

© Copyright Lenovo 2016

Chapter 2: Information Commands 43 SNMPv3 Target Address Table Information The following command displays SNMPv3 target address information stored in the SNMP engine: show snmp­server v3 target­address Command mode: All Name       Transport Addr                Port Taglist    Params ­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ ­­­­ ­­­­­­­­­­ ­­­­­­­­­­­­­­­ trap1      47.81.25.66                   162  v1v2trap   v1v2param Table 15. SNMPv3 Target Address Table Information Parameters Field Description Name Displays the locally arbitrary, but unique identifier associated with this snmpTargetAddrEntry. Transport Addr Displays the transport addresses. Port Displays the SNMP UDP port number. Taglist This column contains a list of tag values which are used to select target addresses for a particular SNMP message. Params The value of this object identifies an entry in the snmpTargetParamsTable. The identified entry contains SNMP parameters to be used when generating messages to be sent to this transport address.

44 G8332 Command Reference for ENOS 8.4

SNMPv3 Target Parameters Table Information The following command displays SNMPv3 target parameters information: show snmp­server v3 target­parameters Command mode: All SNMPv3 Notify Table Information The following command displays the SNMPv3 Notify Table: show snmp­server v3 notify Command mode: All Name            MP Model   User Name         Sec Model  Sec Level ­­­­­­­­­­­­­­­ ­­­­­­­­­­ ­­­­­­­­­­­­­­­­­ ­­­­­­­­­­ ­­­­­­­­­­­­ v1v2param       snmpv2c    v1v2only          snmpv1     noAuthNoPriv Table 16. SNMPv3 Target Parameters Table Information Field Description Name Displays the locally arbitrary, but unique identifier associated with this snmpTargeParamsEntry. MP Model Displays the Message Processing Model used when generating SNMP messages using this entry. User Name Displays the securityName, which identifies the entry on whose behalf SNMP messages will be generated using this entry. Sec Model Displays the security model used when generating SNMP messages using this entry. The system may choose to return an inconsistentValue error if an attempt is made to set this variable to a value for a security model the system does not support. Sec Level Displays the level of security used when generating SNMP messages using this entry. Name                 Tag ­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­ v1v2trap             v1v2trap Table 17. SNMPv3 Notify Table Information Field Description Name The locally arbitrary, but unique identifier associated with this snmpNotifyEntry. Tag This represents a single tag value which is used to select entries in the snmpTargetAddrTable. Any entry in the snmpTargetAddrTable that contains a tag value equal to the value of this entry, is selected. If this entry contains a value of zero length, no entries are selected.

© Copyright Lenovo 2016

Chapter 2: Information Commands 45 SNMPv3 Dump Information The following command displays SNMPv3 information: show snmp­server v3 Command mode: All Engine ID = 80:00:4F:4D:03:08:17:F4:8C:E8:00 usmUser Table: User Name                        Protocol ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ adminmd5                         HMAC_MD5, DES PRIVACY adminsha                         HMAC_SHA, DES PRIVACY v1v2only                         NO AUTH,  NO PRIVACY adminshaaes                      HMAC_SHA, AES PRIVACY vacmAccess Table: Group Name Model   Level        ReadV      WriteV     NotifyV ­­­­­­­­­­ ­­­­­­­ ­­­­­­­­­­­­ ­­­­­­­­­­ ­­­­­­­­­­ ­­­­­­­­­­ v1v2grp    snmpv1  noAuthNoPriv iso        iso        v1v2only admingrp   usm     authPriv     iso        iso        iso vacmViewTreeFamily Table: View Name            Subtree                   Mask            Type ­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­  ­­­­­­­­­ iso                  1                                         included v1v2only             1                                         included v1v2only             1.3.6.1.6.3.15                            excluded v1v2only             1.3.6.1.6.3.16                            excluded v1v2only             1.3.6.1.6.3.18                            excluded vacmSecurityToGroup Table: All active SNMPv3 groups are listed below: Sec Model  User Name                        Group Name ­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ snmpv1     v1v2only                        v1v2grp usm        adminmd5                        admingrp usm        adminsha                        admingrp usm        adminshaaes                     admingrp snmpCommunity Table: Index            Name       User Name            Tag ­­­­­­­­­­­­­­­­ ­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­­­­ trap1            public     v1v2only             v1v2trap snmpNotify Table: Name                 Tag ­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­ v1v2trap             v1v2trap snmpTargetAddr Table: Name            Transport Addr            Port Taglist      Params ­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­­­­­­ ­­­­ ­­­­­­­­­­­­ ­­­­­­­­­­­­­ trap1           47.81.25.66               162  v1v2trap     v1v2param snmpTargetParams Table: Name                 MP Model User Name            Sec Model Sec Level ­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­ ­­­­­­­­­­­­ v1v2param            snmpv2c  v1v2only             snmpv1    noAuthNoPriv

46 G8332 Command Reference for ENOS 8.4

General System Information The following command displays system information: show sys­info Command mode: All System Information at  5:00:53 Fri Mar 13, 2015 Time zone: No timezone configured Daylight Savings Time Status: Disabled Lenovo RackSwitch G8332 Switch has been up for 0 days, 0 hours, 2 minutes and 6 seconds. Last boot:  5:00:09 Fri Mar 13, 2015 (reset from console) MAC address: a8:97:dc:88:c9:00    IP (If 1) address: 0.0.0.0 Management Port MAC Address: a8:97:dc:88:c9:fe Management Port IP Address (if 128): 10.241.39.14 Hardware Revision: 0 Hardware Part No:  BAC­00095­00 Switch Serial No:  Y019CM3CA180 Manufacturing date: 13/49 MTM Value: 8036­HC4 ESN: MM17503 Software Version 8.4.1.0 (FLASH image1), active configuration. Boot kernel version 8.4.1.0 USB Boot: disabled Temperature CPU Local       : 32 C Temperature Rear  In/Ex     : 28 C Temperature Front In/Ex     : 25 C Temperature Hot Spot        : 32 C Temperature Asic Max        : 36 C Temperature MDA             : 30 C System Warning at 85 C / Shutdown at 95 C / Set Point is 70 C Fan 1 Module 1:  7021rpm  60pwm(23%) Front­To­Back Fan 2 Module 1:  7447rpm  60pwm(23%) Front­To­Back Fan 3 Module 2:  6733rpm  60pwm(23%) Front­To­Back Fan 4 Module 2:  7447rpm  60pwm(23%) Front­To­Back Fan 5 Module 3:  6687rpm  60pwm(23%) Front­To­Back Fan 6 Module 3:  7447rpm  60pwm(23%) Front­To­Back Fan 7 Module 4:  6922rpm  60pwm(23%) Front­To­Back Fan 8 Module 4:  7123rpm  60pwm(23%) Front­To­Back System Fan Airflow: Front­To­Back Power Supply 1: Front­To­Back [94Y8104] Power Supply 2: Front­To­Back [] MDA CurrType=8x40GbE BootType=8x40GbE LastEvent=StartUp CurrState=Active MDA CPLD Firmware=0.4   Power Faults: PS2­I2C PS2­Vin PS2­Pwr     Fan Faults: None Service Faults: Too­Few­PS

© Copyright Lenovo 2016

Chapter 2: Information Commands 47 Note: The display of temperature will come up only if the temperature of any of the sensors exceeds the temperature threshold. There will be a warning from the software if any of the sensors exceeds this temperature threshold. The switch will shut down if the power supply overheats. System information includes:  System date and time  Switch model  Switch name and location  Time of last boot  MAC address of the switch management processor  Software image file and version number, and configuration name.  IP address of the management interface  Hardware version and part number  Log‐in banner, if one is configured  Internal temperatures  Fan status  Power supply status Show Specific System Information The following table lists commands used for displaying specific entries from the general system information screen. Sample output for command show version brief: Displays the software version number, image file and configuration name. Table 18. Specific System Information Options Command Syntax and Usage show environment fan Displays information about internal temperatures and fan status. Command mode: All show environment power Displays information about power supply status. Command mode: All show version brief Displays the software version number, image file and configuration name. For a sample output, see below. Command mode: All Software Version 8.4.1.0 (FLASH image1), active configuration.

48 G8332 Command Reference for ENOS 8.4

Show Recent Syslog Messages The following command displays system log messages: show logging [messages] [severity <0‐7>] [reverse] Command mode: All Each syslog message has a severity level associated with it, included in text form as a prefix to the log message. One of eight different prefixes is used, depending on the condition that the administrator is being notified of, as shown here.  EMERG Indicates the system is unusable  ALERT Indicates action should be taken immediately  CRIT Indicates critical conditions  ERR Indicates error conditions or errored operations  WARNING Indicates warning conditions  NOTICE Indicates a normal but significant condition  INFO Indicates an information message  DEBUG Indicates a debug‐level message The severity option filters only syslog messages with a specific severity level between 0 and 7, from EMERG to DEBUG correspondingly. The reverse option displays the output in reverse order, from the newest entry to the oldest. Current syslog configuration:   host 0.0.0.0 via MGT port, severity 7, facility 0   host2 0.0.0.0 via MGT port, severity2 7, facility2 0   console enabled   severity level of console output 6   severity level of write to flash 7   syslogging all features   Syslog source loopback interface not set Nov  2  5:49:53 172.25.254.19 INFO    console: System log cleared by user admin. Nov  2  5:51:23 172.25.254.19 CRIT    system: Fan Mod 4 Removed Nov  2  5:54:27 172.25.254.19 CRIT    system: **** MAX TEMPERATURE (61) ABOVE FAIL THRESH **** Nov  2  5:54:27 172.25.254.19 CRIT    system: **** PLATFORM THERMAL SHUTDOWN **** Nov  2  6:02:06 0.0.0.0 NOTICE  system: link up on management port MGT Nov  2  6:02:06 0.0.0.0 INFO    system: booted version 0.0.0 from FLASH image2, active configuration Nov  2  6:02:09 0.0.0.0 NOTICE  system: SR SFP+ inserted at port 63 is Approved Nov  2  6:02:12 0.0.0.0 NOTICE  system: 1m DAC  inserted at port 64 is Accepted Nov  2  6:02:12 0.0.0.0 NOTICE  system: link up on management port MGT Nov  2  6:03:11 0.0.0.0 NOTICE  ip: MGT port default gateway 172.25.1.1 operational Nov  2  6:22:54 172.25.254.19 NOTICE  mgmt: admin(admin) login on Console Nov  2  6:33:00 172.25.254.19 NOTICE  mgmt: admin(admin) idle timeout from Console

© Copyright Lenovo 2016

Chapter 2: Information Commands 49 User Status The following command displays user status information: show access user Command mode: All except User EXEC This command displays the status of the configured usernames. Usernames:   user     ­ enabled ­ offline   oper     ­ disabled ­ offline   admin    ­ Always Enabled ­ online 1 session Current User ID table:   1: name paul   , dis, cos user    , password valid, offline Current strong password settings:   strong password status: disabled

50 G8332 Command Reference for ENOS 8.4

LDAP Information The following command displays LDAP server configuration information: show ldap­server Command mode: All except User EXEC  for LDAP configured in legacy mode:  for LDAP configured in enhanced mode: Current LDAP settings:  Primary LDAP Server (null) via MGT port  Secondary LDAP Server (null) via MGT port  Current LDAP server (null)  LDAP port 389, Retries 3, Timeout 5, LDAP server OFF, Backdoor access disabled  LDAP domain name  LDAP user attribute uid Current LDAP settings:  LDAP server 1    10.10.43.55:389 via MGT port  LDAP server 2    LDAPserver109:389 via DATA port  LDAP server 3     (null)  LDAP server 4     (null)  LDAP Bind Mode Login Credentials  LDAP Bind DN (null)  Retries 3, Timeout 5, LDAP server OFF, Backdoor access disabled  LDAP domain name  LDAP attributes    user attribute uid    group attribute memberOf    login attribute ibm­chassisRole  LDAP group filter (null)

© Copyright Lenovo 2016

Chapter 2: Information Commands 51 Layer 2 Information The following commands display Layer 2 information: Table 19. Layer 2 Information Commands Command Syntax and Usage show dot1x information Displays 802.1X Information. For details, see page 54. Command mode: All show failover trigger <1‐8> information Displays Layer 2 Failover information. For details, see page 61. Command mode: All show hotlinks information Displays Hot Links information.  For details, see page 63. Command mode: All show layer2 information Dumps all Layer 2 switch information available (10K lines or more, depending on your configuration). If you want to capture dump data to a file, set your communication software on your workstation to capture session data prior to issuing the dump commands. Command mode: All show lldp information Displays Link Layer Discovery Protocol (LLDP) information. For details, see page 64. Command mode: All show portchannel information Displays the state of each port in the various Link Aggregation Groups (LAGs). For details, see page 80. Command mode: All

52 G8332 Command Reference for ENOS 8.4

show spanning­tree Displays Spanning Tree information, including the status (on or off), Spanning Tree mode (RSTP, PVRST, or MSTP) and VLAN membership. In addition to seeing if STG is enabled or disabled, you can view the following STG bridge information:  Priority  Hello interval  Maximum age value  Forwarding delay  Aging time You can also see the following port‐specific STG information:  Port alias and priority  Cost  State For details, see page 71. Command mode: All show spanning­tree blockedports Lists the ports blocked by each STP instance. Command mode: All show spanning­tree mst configuration Displays the current MSTP settings. Command mode: All show spanning­tree mst <0‐32> [information] Displays Spanning Tree information for the specified instance. 0 is used for CIST. CIST bridge information includes:  Priority  Hello interval  Maximum age value  Forwarding delay  Root bridge information (priority, MAC address, path cost, root port) CIST port information includes:  Port number and priority  Cost  State For details, see page 78. Command mode: All Table 19. Layer 2 Information Commands (continued) Command Syntax and Usage

© Copyright Lenovo 2016

Chapter 2: Information Commands 53 show spanning­tree root Displays root bridge ID for every spanning‐tree instance and the path cost associated to it. For details, see page 77. Command mode: All show spanning­tree stp <1‐128> [information] Displays information about a specific Spanning Tree Group. For details, see page 72. Command mode: All show vlag Displays vLAG Information. For details, see page 69. Command mode: All show vlan Displays VLAN configuration information for all configured VLANs, including:  VLAN Number  VLAN Name  Status  Port membership of the VLAN For details, see page 81. Command mode: All Table 19. Layer 2 Information Commands (continued) Command Syntax and Usage

54 G8332 Command Reference for ENOS 8.4

802.1X Information The following command displays 802.1X information: show dot1x information Command mode: All The following table describes the IEEE 802.1X parameters. System capability : Authenticator System status     : disabled Protocol version  : 1 Guest VLAN status : disabled Guest VLAN        : none                                    Authenticator    Backend   Assigned Port    Auth Mode    Auth Status     PAE State     Auth State   VLAN ­­­­­  ­­­­­­­­­­­­  ­­­­­­­­­­­­  ­­­­­­­­­­­­­­  ­­­­­­­­­­ ­­­­­­­­ *1     force­auth    unauthorized  initialize      initialize   none *2     force­auth    unauthorized  initialize      initialize   none *3     force­auth    unauthorized  initialize      initialize   none Table 20. 802.1X Parameter Descriptions Parameter Description Port Displays each port’s alias. Auth Mode Displays the Access Control authorization mode for the port. The Authorization mode can be one of the following:  force­unauth  auto  force­auth Auth Status Displays the current authorization status of the port, either authorized or unauthorized. Authenticator PAE State Displays the Authenticator Port Access Entity State. The PAE state can be one of the following:  initialize  disconnected  connecting  authenticating  authenticated  aborting  held  forceAuth

© Copyright Lenovo 2016

Chapter 2: Information Commands 55 Backend Auth State Displays the Backend Authorization State. The Backend Authorization state can be one of the following:  initialize  request  response  success  fail  timeout  idle Assigned VLAN Displays corresponding VLAN associated with the port. Table 20. 802.1X Parameter Descriptions (continued) Parameter Description

56 G8332 Command Reference for ENOS 8.4

FDB Information The forwarding database (FDB) contains information that maps the media access control (MAC) address of each known device to the switch port where the device address was learned. The FDB also shows which other ports have seen frames destined for a particular MAC address. Note: The master forwarding database supports up to 128K MAC address entries on the MP per switch. Table 21. FDB Information Options Command Syntax and Usage show mac­address­table Displays all entries in the Forwarding Database. Command mode: All show mac­address­table all Displays all unicast and multicast entries in the Forwarding Database. Command mode: All show mac­address­table address  Displays a single database entry by its MAC address. You are prompted to enter the MAC address of the device. Enter the MAC address using the format, xx:xx:xx:xx:xx:xx. For example, 08:00:20:12:34:56. You can also enter the MAC address using the format, xxxxxxxxxxxx. For example, 080020123456. Command mode: All show mac­address­table configured­static Displays all configured static MAC entries in the FDB. Command mode: All show mac­address­table interface port  Displays all FDB entries for a particular port. Command mode: All show mac­address­table multicast Displays all static multicast MAC entries in the FDB. For details, see page 57. Command mode: All show mac­address­table portchannel <1‐208> Displays all FDB entries for a particular Link Aggregation Group (LAG). Command mode: All show mac­address­table private­vlan  Displays all FDB entries on a single private VLAN. Command mode: All

© Copyright Lenovo 2016

Chapter 2: Information Commands 57 FDB Multicast Information The following commands display FDB multicast information. show mac­address­table state {unknown|forward|trunk} Displays all FDB entries for a particular state. Command mode: All show mac­address­table static Displays all static unicast MAC entries in the FDB. Command mode: All show mac­address­table vlan  Displays all FDB entries on a single VLAN. Command mode: All Table 21. FDB Information Options (continued) Command Syntax and Usage Table 22. Multicast FDB Information Options Command Syntax and Usage show mac­address­table multicast Displays all Multicast MAC entries in the FDB. Command mode: All show mac­address­table multicast address  Displays a single multicast entry by its MAC address. You are prompted to enter the MAC address of the device. Enter the MAC address using the format, xx:xx:xx:xx:xx:xx. For example, 08:00:20:12:34:56. You can also enter the MAC address using the format, xxxxxxxxxxxx. For example, 080020123456. Command mode: All show mac­address­table multicast interface port    Displays all multicast entries for a particular port. Command mode: All show mac­address­table multicast vlan  Displays all multicast entries on a single VLAN. Command mode: All

58 G8332 Command Reference for ENOS 8.4

Show All FDB Information The following command displays Forwarding Database information: show mac­address­table Command mode: All An address that is in the forwarding (FWD) state, means that it has been learned by the switch. When in the aggregation (TRK) state, the port field represents the Link Aggregation Group (LAG) number. If the state for the port is listed as unknown (UNK), the MAC address has not yet been learned by the switch, but has only been seen as a destination address. When an address is in the unknown state, no outbound port is indicated, although ports which reference the address as a destination are listed under “Reference ports.” Clearing Entries from the Forwarding Database To clear the entire FDB, refer to “Forwarding Database Maintenance” on page 711. Mac address Aging Time: 300      MAC address       VLAN     Port    Trnk  State  Permanent  Openflow   ­­­­­­­­­­­­­­­­­  ­­­­­­­­  ­­­­­­­  ­­­­  ­­­­­  ­­­­­­­­­  ­­­­­­­­   a8:97:dc:8a:1e:00       1              105  TRK   a8:97:dc:8a:1e:01       1              105  TRK   a8:97:dc:8a:1e:02       2              105  TRK   a8:97:dc:8a:1e:63       3              105  TRK   a8:97:dc:d1:f4:00       4              105  TRK   a8:97:dc:d1:f5:00       5              105  TRK

© Copyright Lenovo 2016

Chapter 2: Information Commands 59 Link Aggregation Control Protocol Information Use these commands to display LACP status information about each port on the G8332. Table 23. LACP Information Options Command Syntax and Usage show lacp Displays the current LCAP configuration. Command mode: All show lacp aggregator  Displays detailed information about the LACP aggregator. Command mode: All show lacp information Displays a summary of LACP information. For details, see page 60. Command mode: All show lacp information state {down|off|up} Displays a summary of LACP information for the interfaces that are down, off or up. Command mode: All show interface port  lacp [information] Displays LACP information about the selected port. Command mode: All

60 G8332 Command Reference for ENOS 8.4

Link Aggregation Control Protocol The following command displays LACP information: show lacp information Command mode: All LACP dump includes the following information for each port in the G8332:  mode Displays the port’s LACP mode (active, passive or off).  adminkey Displays the value of the port’s adminkey.  operkey Shows the value of the port’s operational key.  selected Indicates whether the port has been selected to be part of a Link Aggregation Group.  prio Shows the value of the port priority.  aggr Displays the aggregator associated with each port.  trunk This value represents the LACP Link Aggregation Group (LAG) number.  status Displays the status of LACP on the port (up or down).  minlinks Displays the minimum number of active links in the LACP Link Aggregation Group (LAG). port mode   adminkey operkey selected   prio  aggr trunk status minlinks ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ 1    active 65535    65535   yes        32768 1    65     up    1 2    active 65535    65535   yes        32768 1    65     up    1 3    active 65535    65535   individual 32768 ­­   ­­    down   1 4    active 65535    65535   yes        32768 1    65     up    1 5    active 65535    65535   yes        32768 1    65     up    1 6    active 65535    65535   yes        32768 1    65     up    1 7    active 65535    65535   yes        32768 1    65     up    1 8    active 65535    65535   yes        32768 1    65     up    1 9    active 1000     1000    suspended  32768 ­­   ­­    down   1 10   active 1000     1000    suspended  32768 ­­   ­­    down   1 ... (*) LACP PortChannel is statically bound to the admin key

© Copyright Lenovo 2016

Chapter 2: Information Commands 61 Layer 2 Failover Information The following commands display Layer 2 Failover information: Layer 2 Failover Information The following command displays Layer 2 Failover information: show failover trigger information Command mode: All Table 24. Layer 2 Failover Information Options Command Syntax and Usage show failover trigger [information] Displays a summary of Layer 2 Failover information. For details, see page 61. Command mode: All show failover trigger  [information] Displays detailed information about the selected Layer 2 Failover trigger. Command mode: All Failover: On Trigger 1 Manual Monitor: Enabled Trigger 1 limit: 0 Monitor State: Up Member      Status ­­­­­­­­­   ­­­­­­­­­­­  17         Operational Control State: Auto Controlled Member      Status ­­­­­­­­­   ­­­­­­­­­­­ Physical ports  1          Operational Trigger 2: Disabled Trigger 3: Disabled Trigger 4: Disabled Trigger 5: Disabled Trigger 6: Disabled Trigger 7: Disabled Trigger 8: Disabled

62 G8332 Command Reference for ENOS 8.4

A monitor port’s Failover status is Operational only if all the following conditions hold true:  Port link is up.  If Spanning‐Tree is enabled, the port is in the Forwarding state.  If the port is a member of an LACP Link Aggregation Group (LAG), the port is aggregated. If any of these conditions are not true, the monitor port is considered to be failed. A control port is considered to be operational if the monitor trigger state is Up. Even if a port’s link status is Down, Spanning‐Tree status is Blocking, and the LACP status is Not Aggregated, from a teaming perspective the port status is Operational, since the trigger is Up. A control port’s status is displayed as Failed only if the monitor trigger state is Down.

© Copyright Lenovo 2016

Chapter 2: Information Commands 63 Hot Links Information The following command displays Hot Links information: show hotlinks information Command mode: All Hot Links information includes the following:  Hot Links status (on or off)  Status of BPDU flood option  Status of FDB send option  Status and configuration of each Hot Links trigger Hot Links Info: Trigger Current global Hot Links setting: ON Hot Links BPDU flood: disabled Hot Links FDB update: disabled FDB update rate (pps): 200 Current Trigger 1 setting: enabled name "Trigger 1", preempt enabled, fdelay 1 sec Active state: None Master settings: port 1 Backup settings: port 2

64 G8332 Command Reference for ENOS 8.4

LLDP Information The following commands display LLDP information. Table 25. LLDP Information Options Command Syntax and Usage show lldp Displays the current Link Layer Discovery Protocol (LLDP) configuration. Command mode: All show lldp information Displays all LLDP information. Command mode: All show lldp port [] Displays LLDP information for all ports or a specific port. Command mode: All show lldp port  tlv evb Displays Edge Virtual Bridge (EVB) type‐length‐value (TLV) information for the specified port. Command mode: All show lldp receive Displays information about the LLDP receive state machine. Command mode: All show lldp remote­device [<1‐256>|detail] Displays information received from LLDP‐capable devices. For more information, see page 65. Command mode: All show lldp remote­device port  Displays information received from LLDP‐capable devices for a specific port. A list of ports needs to be delimited by ʹ,ʹ and a range of ports delimited by ʹ‐ʹ. Command mode: All show lldp transmit Displays information about the LLDP transmit state machine. Command mode: All

© Copyright Lenovo 2016

Chapter 2: Information Commands 65 LLDP Remote Device Information The following command displays LLDP remote device information: show lldp remote­device Command mode: All LLDP remote device information provides a summary of information about remote devices connected to the switch. To view detailed information about a device, as shown below, follow the command with the index number of the remote device. To view detailed information about all devices, use the detail option. LLDP Remote Devices Information Legend(possible values in DMAC column) : NB   ­ Nearest Bridge          ­ 01­80­C2­00­00­0E NnTB ­ Nearest non­TPMR Bridge ­ 01­80­C2­00­00­03 NCB  ­ Nearest Customer Bridge ­ 01­80­C2­00­00­00 Total number of current entries: 9 LocalPort|Index|Remote Chassis ID  |Remote Port        |Remote System Name|DMAC ­­­­­­­­­|­­­­­|­­­­­­­­­­­­­­­­­­­|­­­­­­­­­­­­­­­­­­­|­­­­­­­­­­­­­­­­­­|­­­­ 1        | 1   | 00 00 c9 e5 47 e3 | 00­00­c9­e5­47­e3 |                  | NB 1        | 2   | 00 00 c9 e5 47 e3 | 00­00­c9­e5­47­e3 |                  | NnTB 2        | 3   | 00 90 fa 75 0e c5 | 00­90­fa­75­0e­c5 |                  | NB 14       | 4   | a8 97 dc d1 f8 00 | 60                |                  | NB 14       | 5   | a8 97 dc d1 f8 00 | 60                |                  | NnTB 15       | 6   | a8 97 dc d1 f8 00 | 80                |                  | NB 15       | 7   | a8 97 dc d1 f8 00 | 80                |                  | NnTB 18       | 8   | 00 90 fa 3d 48 49 | 00­90­fa­3d­48­49 |                  | NB MGT      | 9   | 74 99 75 c5 08 00 | 6                 | G8052­54         | NB Local Port Alias: 1         Remote Device Index     : 15         Remote Device TTL       : 99         Remote Device RxChanges : false         Chassis Type            : Mac Address         Chassis Id              : 00­18­b1­33­1d­00         Port Type               : Locally Assigned         Port Id                 : 23         Port Description        : 23         System Name        :         System Description : Lenovo RackSwitch G8296, Lenovo Networking OS: version 8.2.0.3, Boot image: version 8.2.0.3         System Capabilities Supported : bridge, router         System Capabilities Enabled   : bridge, router         Remote Management Address:                 Subtype             : IPv4                 Address             : 10.100.120.181                 Interface Subtype   : ifIndex                 Interface Number    : 128                 Object Identifier   :

66 G8332 Command Reference for ENOS 8.4

Unidirectional Link Detection Information The following commands display UDLD information: UDLD Port Information The following command displays UDLD information for the selected port: show interface port  udld Command mode: All UDLD information includes the following:  Status (enabled or disabled)  Mode (normal or aggressive)  Port state (link up or link down)  Bi‐directional status (unknown, unidirectional, bidirectional, TX‐RX loop, neighbor mismatch) Table 26. UDLD Information Options Command Syntax and Usage show udld Displays all UDLD information. Command mode: All show interface port  udld Displays UDLD information about the selected port. Command mode: All UDLD information on port 1 Port enable administrative configuration setting: Enabled Port administrative mode: normal Port enable operational state: link up Port operational state: advertisement Port bidirectional status: bidirectional Message interval: 15 Time out interval: 5 Neighbor cache: 1 neighbor detected    Entry #1    Expiration time: 31 seconds    Device Name:    Device ID: 00:da:c0:00:04:00    Port ID: 1

© Copyright Lenovo 2016

Chapter 2: Information Commands 67 802.1x Discovery Information The following commands display 802.1x information: 802.1x Port Information The following command displays 802.1x information for the selected port: show interface port  dot1x Command mode: All 802.1x port display shows information about the selected port and the peer to which the link is connected. Table 27. 802.1x Discovery Information Options Command Syntax and Usage show interface port  dot1x Displays 802.1x information about the selected port. Command mode: All show dot1x Displays all 802.1x information. Command mode: All show dot1x  Displays 802.1x information for specified port. Command mode: All                  Quiet  Tx    Max  Supp    Server ReAuth ReAuth  VLAN Port Auth Mode  Period Period Req Timeout Timeout Status Period Assign ­­­­ ­­­­­­­­­­ ­­­­­­ ­­­­­­ ­­­ ­­­­­­­ ­­­­­­­ ­­­­­­ ­­­­­­ ­­­­­­ G    force­auth 60     30     2   30      30      off    3600   off 1    force­auth 60     30     2   30      30      off    3600   off ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ G ­ Global port configuration

68 G8332 Command Reference for ENOS 8.4

OAM Discovery Information The following commands display OAM information: OAM Port Information The following command displays OAM information for the selected port: show interface port  oam Command mode: All OAM port display shows information about the selected port and the peer to which the link is connected. Table 28. OAM Discovery Information Options Command Syntax and Usage show interface port  oam Displays OAM information about the selected port. Command mode: All show oam Displays all OAM information. Command mode: All OAM information on port 1 State enabled Mode active Link up Satisfied Yes Evaluating No Remote port information: Mode active MAC address 00:da:c0:00:04:00 Stable Yes State valid Yes Evaluating No

© Copyright Lenovo 2016

Chapter 2: Information Commands 69 vLAG Information The following commands display Virtual Link Aggregation Group (vLAG) information: Table 29. vLAG Information Options Command Syntax and Usage show vlag Displays the current vLAG configuration. Command mode: All show vlag adminkey <1‐65535> Displays vLAG LACP information. Command mode: All show vlag adminkey <1‐65535> information Displays all vLAG LACP information. Command mode: All show vlag information Displays all vLAG information. Command mode: All show vlag isl Displays vLAG Inter‐Switch Link (ISL) information. Command mode: All show vlag peer­gateway Displays the current state of the vLAG peer gateway. For details, see page 70. Command mode: All show vlag portchannel <1‐104> Displays vLAG static Link Aggregation Group (LAG) information. Command mode: All show vlag portchannel <1‐104> information Displays all vLAG static Link Aggregation Group (LAG) information. Command mode: All

70 G8332 Command Reference for ENOS 8.4

vLAG Aggregation Information The following command displays vLAG information for the Link Aggregation Group (LAG): show vlag portchannel <1‐104> Command mode: All vLAG Peer Gateway Information The following command displays the current state of the vLAG peer gateway. show vlag peer­gateway Command mode: All vLAG VRRP Information The following command displays vLAG related VRRP information: show vlag vrrp Command mode: All vLAG is enabled on trunk 13 Protocol ­ Static Current settings: enabled     ports:  13 Current L2 trunk hash settings:     smac dmac Current L3 trunk hash settings:     sip dip Current ingress port hash: disabled Current L4 port hash: disabled Current FCoE trunk hash settings:     sid did Current peer gateway state: disabled vLAG VRRP mode: Active vLAG related VRRP information:    1: vrid   1, local role master, peer role backup   10: vrid   1, local role backup, peer role backup  100: vrid   1, local role backup, peer role master vLAG VRRP mode: Passive vLAG related VRRP information:    1: vrid   1, local role master, peer role init   10: vrid   1, local role backup, peer role init  100: vrid   1, local role backup, peer role init

© Copyright Lenovo 2016

Chapter 2: Information Commands 71 Spanning Tree Information The following command displays Spanning Tree information: show spanning­tree Command mode: All Max PVRST Instances: 128 Pvst+ compatibility mode enabled ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ Spanning Tree Group 1: On (PVRST) VLANs:  1 Current Root:            Path­Cost  Port Hello MaxAge FwdDel  8001 a8:97:dc:8a:86:00        0       0    2     20     15 Prev Root:               Port        Replaced at  8001 74:99:75:be:26:00  24          10:01:50  7­16­2016 Parameters:  Priority  Hello  MaxAge  FwdDel  Aging   Topology Change Counts               32769      2      20      15     300                  5     Port      Prio    Cost    State  Role Designated Bridge      Des Port    Type ­­­­­­­­­­­­­ ­­­­ ­­­­­­­­­­ ­­­­­  ­­­­ ­­­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­ ­­­­­­­­­­ 2              128       500!  DISC  DSB  8051­00:00:00:00:00:00     8002        P2P 4              128       500!  DISC  DSB  8051­00:00:00:00:00:00     800a        P2P 15             128       500!  FWD   DESG 8051­a8:97:dc:8a:86:00     8036        P2P ! = Automatic path cost. ...

72 G8332 Command Reference for ENOS 8.4

RSTP Information The following command displays RSTP information: show spanning­tree stp <1> information Command mode: All The switch software uses the Per VLAN Rapid Spanning Tree Protocol (PVRST) spanning tree mode, with IEEE 802.1D (2004) Rapid Spanning Tree Protocol (RSTP) or IEEE 802.1Q (2003) Multiple Spanning Tree Protocol (MSTP), as alternatives. The following port‐specific information is also displayed: Spanning Tree Group 1: On (RSTP) VLANs:  1 10 4095 Current Root:            Path­Cost  Port Hello MaxAge FwdDel  8000 00:25:03:49:29:00        0       0    2     20     15 Parameters:  Priority  Hello  MaxAge  FwdDel  Aging   Topology Change Counts               32768      2      20      15     300                  1 Port        Prio Cost State Role Designated Bridge      Des Port  Type ­­­­­­­­­­­ ­­­­ ­­­­ ­­­­­ ­­­­ ­­­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­ ­­­­­­ 1    (pc12) 128  490!+ FWD  DESG 8000­00:25:03:49:29:00   8026     P2P 2    (pc12) 128  490!+ FWD  DESG 8000­00:25:03:49:29:00   8026     P2P 3    (pc12) 128  490!+ FWD  DESG 8000­00:25:03:49:29:00   8026     P2P 4    (pc12) 128  490!+ FWD  DESG 8000­00:25:03:49:29:00   8026     P2P MGT  0      0          FWD  * * = STP turned off for this port. ! = Automatic path cost. + = Portchannel cost, not the individual port cost. Table 30. PVRST/RSTP/MSTP Port Parameter Descriptions Parameter Description Priority (port) The Port Priority parameter helps determine which bridge port becomes the designated port. In a network topology that has multiple bridge ports connected to a single segment, the port with the lowest port priority becomes the designated port for the segment. Cost The Port Path cost parameter is used to help determine the designated port for a segment. Generally speaking, the faster the port, the lower the path cost. A setting of 0 indicates that the cost will be set to the appropriate default after the link speed has been auto negotiated. State The State field shows the current state of the port. The State field can be one of the following: Discarding (DISC), Learning (LRN), or Forwarding (FWD). Role The Role field shows the current role of this port in the Spanning Tree. The port role can be one of the following: Designated (DESG), Root (ROOT), Alternate (ALTN) or Backup (BKUP).

© Copyright Lenovo 2016

Chapter 2: Information Commands 73 Designated Bridge The Designated Bridge shows information about the bridge connected to each port, if applicable. Information includes the priority (in hexadecimal notation) and MAC address of the Designated Bridge. Designated Port The Designated Port field shows the port on the Designated Bridge to which this port is connected. Type Type of link connected to the port, and whether the port is an edge port. Link type values are AUTO, P2P or SHARED. Table 30. PVRST/RSTP/MSTP Port Parameter Descriptions (continued) Parameter Description

74 G8332 Command Reference for ENOS 8.4

PVRST Information The following command displays PVRST information: show spanning­tree stp <1‐128> information Command mode: All You can configure the switch software to use the IEEE 802.1D (2004) Rapid Spanning Tree Protocol (RSTP), the IEEE 802.1Q (2003) Multiple Spanning Tree Protocol (MSTP) or PerVLAN Rapid Spanning Tree Protocol (PVRST). The following port‐specific information is also displayed: Spanning Tree Group 1: On (PVRST) VLANs:  1 Current Root:            Path­Cost  Port Hello MaxAge FwdDel  8001 a8:97:dc:03:d5:00      490       1    2     20     15 Prev Root:               Port        Replaced at  8001 a8:97:dc:d2:12:00  0           16:33:08  3­ 3­2016 Parameters:  Priority  Hello  MaxAge  FwdDel  Aging   Topology Change Counts               32769      2      20      15     300                  8     Port      Prio    Cost    State  Role Designated Bridge      Des Port    Type ­­­­­­­­­­­­­ ­­­­ ­­­­­­­­­­ ­­­­­  ­­­­ ­­­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­ ­­­­­­­­­­ 1     (pc1)    128       490!+ FWD   ROOT 8001­a8:97:dc:03:d5:00     8042        P2P 2     (pc1)    128       490!+ FWD   ROOT 8001­a8:97:dc:03:d5:00     8042        P2P 3     (pc1)    128       490!+ FWD   ROOT 8001­a8:97:dc:03:d5:00     8042        P2P 4     (pc1)    128       490!+ FWD   ROOT 8001­a8:97:dc:03:d5:00     8042        P2P 11             128      2000!  FWD   DESG 8001­a8:97:dc:d2:12:00     800b        P2P 13             128      2000!  FWD   DESG 8001­a8:97:dc:d2:12:00     800d        P2P 14             128      2000!  FWD   DESG 8001­a8:97:dc:d2:12:00     800e        P2P 16             128      2000!  FWD   DESG 8001­a8:97:dc:d2:12:00     8010        P2P ! = Automatic path cost. + = Portchannel cost, not the individual port cost. Table 31. RSTP/MSTP/PVRST Port Parameter Descriptions Parameter Description Prio (port) The Port Priority parameter helps determine which bridge port becomes the designated port. In a network topology that has multiple bridge ports connected to a single segment, the port with the lowest port priority becomes the designated port for the segment. Cost The port Path Cost parameter is used to help determine the designated port for a segment. Generally speaking, the faster the port, the lower the path cost. A setting of 0 indicates that the cost will be set to the appropriate default after the link speed has been auto negotiated. State The State field shows the current state of the port. The State field can be one of the following: Discarding (DISC), Learning (LRN), Forwarding (FWD) or Disabled (DSB).

© Copyright Lenovo 2016

Chapter 2: Information Commands 75 Role The Role field shows the current role of this port in the Spanning Tree. The port role can be one of the following: Designated (DESG), Root (ROOT), Alternate (ALTN), Backup (BKUP) or Disabled (DSB). Designated Bridge The Designated Bridge shows information about the bridge connected to each port, if applicable. Information includes the priority (in hexadecimal notation) and MAC address of the Designated Bridge. Designated Port The port ID of the port on the Designated Bridge to which this port is connected. Type Type of link connected to the port, and whether the port is an edge port. Link type values are AUTO, P2P or SHARED. Table 31. RSTP/MSTP/PVRST Port Parameter Descriptions (continued) Parameter Description

76 G8332 Command Reference for ENOS 8.4

Spanning Tree Bridge Information The following command displays Spanning Tree bridge information: show spanning­tree bridge Command mode: All show spanning­tree vlan  bridge Command mode: All STG       Priority    Hello     MaxAge    FwdDel    Protocol  VLANs ­­­­­­    ­­­­­­­­    ­­­­­­    ­­­­­­    ­­­­­­    ­­­­­­­­  ­­­­­ 1         32768       2         20        15        PVRST     1 2         32768       2         20        15        PVRST     2 128       32768       2         20        15        PVRST     4095 Vlan       Priority     Hello     MaxAge         FwdDel        Protocol ­­­­­­     ­­­­­­­­     ­­­­­­    ­­­­­­         ­­­­­­        ­­­­­­­­ 1          32768        2         20             15            MSTP Table 32. Bridge Parameter Descriptions Parameter Description VLAN VLANs that are part of the Spanning Tree Group Priority The bridge priority parameter controls which bridge on the network will become the STP root bridge. The lower the value, the higher the priority. Hello The hello time parameter specifies, in seconds, how often the bridge transmits a configuration bridge protocol data unit (BPDU). Any bridge that is not the root bridge uses the root bridge hello value. MaxAge The maximum age parameter specifies, in seconds, the maximum time the bridge waits without receiving a configuration bridge protocol data unit before it reconfigures the STP network. FwdDel The forward delay parameter specifies, in seconds, the amount of time that a bridge port has to wait before it changes from discarding state to learning state and from learning state to forwarding state. Protocol The STP protocol run by the Spanning Tree Group.

© Copyright Lenovo 2016

Chapter 2: Information Commands 77 Spanning Tree Root Information The following command displays information about the root bridge ID for every spanning‐tree instance and the path cost associated to it: show spanning­tree root Command mode: All Instance   Root ID                Path­Cost Hello MaxAge FwdDel Root Port ­­­­­­­­­­ ­­­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­­ ­­­­­ ­­­­­­ ­­­­­­ ­­­­­­­­­ 1          8001 08:17:f4:32:95:00 0         2     20     15             0 3          8003 08:17:f4:32:95:00 0         2     20     15             0 6          8001 08:17:f4:fb:d8:00 20000     2     20     15            27 17         8011 08:17:f4:32:95:00 0         2     20     15             0 Table 33. Bridge Parameter Descriptions Parameter Description Instance Spanning Tree instance Root ID Indicates the root switch bridge priority and MAC address. Path‐Cost The port path cost is used to help determine the designated port for a segment. Hello The hello time parameter specifies, in seconds, how often the bridge transmits a configuration bridge protocol data unit (BPDU). Any bridge that is not the root bridge uses the root bridge hello value. MaxAge The maximum age parameter specifies, in seconds, the maximum time the bridge waits without receiving a configuration bridge protocol data unit before it reconfigure the STP network. FwdDel The forward delay parameter specifies, in seconds, the amount of time that a bridge port has to wait before it changes from discarding state to learning state and from learning state to forwarding state. Root Port The elected root port for the STP instance (port used to reach the root switch).

78 G8332 Command Reference for ENOS 8.4

Multiple Spanning Tree Information The following command displays Multiple Spanning Tree (MSTP) information: show spanning­tree mst <0‐32> information Command mode: All In addition to seeing Common Internal Spanning Tree (CIST) status, you can view the following CIST bridge information: Mstp Digest: 0x9f71e12a07f4e3004fe0ce1f241a7b66 ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ Spanning Tree Group 5: On (MSTP) VLANs MAPPED:  5 VLANs:  5 Current Root:            Path­Cost  Port  0000 a8:97:dc:88:c9:00        0       0 Parameters:  Priority  Aging   Topology Change Counts                   0     300                  1     Port   Prio  Cost  State  Role Designated Bridge      Des Port  Type ­­­­­­­­­­ ­­­­ ­­­­­­ ­­­­­  ­­­­ ­­­­­­­­­­­­­­­­­­­­­­ ­­­­­­­­ ­­­­­­­­ 1  (pc105) 128   156!+  FWD   DESG 0000­a8:97:dc:88:c9:00  80e8    P2P 2  (pc105) 128   156!+  FWD   DESG 0000­a8:97:dc:88:c9:00  80e8    P2P 4          128   500!   FWD   DESG 0000­a8:97:dc:88:c9:00  800a    P2P,edge 22 (pc105) 128   156!+  FWD   DESG 0000­a8:97:dc:88:c9:00  80e8    P2P ! = Automatic path cost. + = Portchannel cost, not the individual port cost. Table 34. CIST Parameter Descriptions Parameter Description CIST Root The CIST Root shows information about the root bridge for the Common Internal Spanning Tree (CIST). Values on this row of information refer to the CIST root. CIST Regional Root The CIST Regional Root shows information about the root bridge for this MSTP region. Values on this row of information refer to the regional root. Priority (bridge) The bridge priority parameter controls which bridge on the network will become the STP root bridge. Hello The hello time parameter specifies, in seconds, how often the bridge transmits a configuration bridge protocol data unit (BPDU). Any bridge that is not the root bridge uses the root bridge hello value. MaxAge The maximum age parameter specifies, in seconds, the maximum time the bridge waits without receiving a configuration bridge protocol data unit before it reconfigure the STP network.

© Copyright Lenovo 2016

Chapter 2: Information Commands 79 The following port‐specific CIST information is also displayed: FwdDel The forward delay parameter specifies, in seconds, the amount of time that a bridge port has to wait before it changes from discarding state to learning state and from learning state to forwarding state. Hops The maximum number of bridge hops a packet can traverse before it is dropped. The default value is 20. Table 35. CIST Parameter Descriptions Parameter Description Prio (port) The port priority parameter helps determine which bridge port becomes the designated port. In a network topology that has multiple bridge ports connected to a single segment, the port with the lowest port priority becomes the designated port for the segment. Cost The port path cost parameter is used to help determine the designated port for a segment. Generally speaking, the faster the port, the lower the path cost. A setting of 0 indicates that the cost will be set to the appropriate default after the link speed has been auto negotiated. State The state field shows the current state of the port. The state field can be either Discarding (DISC), Learning (LRN) or Forwarding (FWD). Role The Role field shows the current role of this port in the Spanning Tree. The port role can be one of the following: Designated (DESG), Root (ROOT), Alternate (ALTN), Backup (BKUP), Disabled (DSB) or Master (MAST). Designated Bridge The Designated Bridge shows information about the bridge connected to each port, if applicable. Information includes the priority (in hexadecimal notation) and MAC address of the Designated Bridge. Designated Port The port ID of the port on the Designated Bridge to which this port is connected. Type Type of link connected to the port, and whether the port is an edge port. Link type values are AUTO, P2P or SHARED. Table 34. CIST Parameter Descriptions (continued) Parameter Description

80 G8332 Command Reference for ENOS 8.4

Link Aggregation Group (LAG) Information The following command displays Link Aggregation Group (LAG) information: show portchannel information Command mode: All When LAGs are configured, you can view the state of each port in the various LAGs. Note: If Spanning Tree Protocol on any port in the LAG is set to forwarding, the remaining ports in the LAG will also be set to forwarding. Trunk group 1: Enabled Protocol ­ Static Port state:   1: STG  1 forwarding   2: STG  1 forwarding

© Copyright Lenovo 2016

Chapter 2: Information Commands 81 VLAN Information The following commands display VLAN information: Table 36. VLAN Information Options Command Syntax and Usage show vlan Displays the current VLAN configuration. Command mode: All show vlan  Displays the current configuration for the specified VLAN. Command mode: All show vlan private­vlan [type] Displays Private VLAN information.  type lists only the VLAN type for each private VLAN: community, isolated or primary Command mode: All show vlan information Displays information about all VLANs, including:  VLAN number and name  VLAN statistics  Port membership  VLAN status (enabled or disabled)  Protocol VLAN status  Spanning Tree membership  Private VLAN information  Flooding settings  VMAP configuration Command mode: All show vlan  information Displays information only about the specified VLAN. Command mode: All show protocol­vlan  Displays Protocol VLAN information. Command mode: All

82 G8332 Command Reference for ENOS 8.4

The following command displays VLAN information: show vlan Command mode: All This information display includes all configured VLANs and all member ports that have an active link state. Port membership is represented in slot/port format. VLAN information includes:  VLAN Number  VLAN Name  Status  Port membership of the VLAN  Protocol VLAN information (if available)  Private VLAN information (if available) VLAN                Name                Status           Ports ­­­­  ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­  ­­­­­­ ­­­­­­­­­­­­­­­­­­­­­­­­­ 1     Default VLAN                       ena   1­20 2     VLAN 2                             dis   21­22 100   VLAN 100                           ena   empty 200   VLAN 200                           ena   empty 300   VLAN 300                           ena   empty 4095  Mgmt VLAN                          ena   MGT Primary       Secondary    Type           Ports ­­­­­­­­­­­­  ­­­­­­­­­­­­ ­­­­­­­­­ ­­­­­­­­­­­­­­­ 100           200          isolated  14 100           300          community 12

© Copyright Lenovo 2016

Chapter 2: Information Commands 83 Layer 3 Information The following commands display Layer 3 information: Table 37. Layer 3 Information Commands Command Syntax and Usage show ikev2 Displays IKEv2  information. For more information options, see page 130. Command mode: All show interface ip Displays IP interface Information. For details, see page 125. Command mode: All show [ip] arp Displays Address Resolution Protocol (ARP) information. For details, see page 90. Command mode: All show ip bgp Displays Border Gateway Protocol (BGP) information. For details, see page 97. Command mode: All show ip bootp­relay Displays the current parameters for the BOOTP Relay broadcast domain. Command mode: All show ip dhcp snooping Displays DHCP Snooping information. For details, see page 134. Command mode: All show ip dns Displays the current Domain Name System settings. Command mode: All show ip ecmp Displays ECMP static route information. For details, see page 115. Command mode: All show ip gateway <1‐4> Displays the current gateway settings. Command mode: All show ipv6 gateway6 {<1>|<4>} Displays the current IPv6 default gateway configuration. Command mode: All

84 G8332 Command Reference for ENOS 8.4

show ip igmp Displays IGMP Information. For more IGMP information options, see page 116. Command mode: All show ip information Displays all IP information. Command mode: All show ip interface brief Displays IP Information. For details, see page 128.  IP information, includes:  IP interface information: Interface number, IP address, subnet mask, VLAN number, and operational status.  Default gateway information: Metric for selecting which configured gateway to use, gateway number, IP address, and health status  IP forwarding settings, network filter settings, route map settings Command mode: All show ipv6 interface  Displays IPv6 interface information. For details, see page 126. Command mode: All show ip match­address [<1‐256>] Displays the current the Network Filter configuration. Command mode: All show ip mroute Displays the current IP multicast routes. Command mode: All show ip nat Displays NAT status information. For details, see page 148. Command mode: All show ipv6 mld Displays Multicast Listener Discovery (MLD) information. For more MLD information options, see page 121. Command mode: All show ipv6 neighbors Displays IPv6 Neighbor Cache information. For more information options, see page 113. Command mode: All Table 37. Layer 3 Information Commands (continued) Command Syntax and Usage

© Copyright Lenovo 2016

Chapter 2: Information Commands 85 show ip ospf information Displays the OSPF information. For details, see page 98. Command mode: All show ipv6 ospf information Displays OSPFv3 information. For more OSPFv3 information options, see page 104. Command mode: All show ip pim component [<1‐2>] Displays Protocol Independent Multicast (PIM) component information. For more PIM information options, see page 135. Command mode: All show ipv6 pmtu [] Displays IPv6 Path MTU information. For details, see page 127. Command mode: All show ip policy Displays the current routing policy information. Command mode: All show ip prefix­policy Displays the current Prefix Policy Table configuration. Command mode: All show ipv6 prefix Displays IPv6 Neighbor Discovery prefix information. For details, see page 114. Command mode: All show ip rip Displays the current Routing Information Protocol (RIP) configuration. For details, see page 109. Command mode: All show ip route Displays all routes configured on the switch. For details, see page 88. Command mode: All show ipv6 route Displays IPv6 routing information. For more information options, see page 111. Command mode: All Table 37. Layer 3 Information Commands (continued) Command Syntax and Usage

86 G8332 Command Reference for ENOS 8.4

show ip routing Displays the current IP forwarding settings. Command mode: All show ip slp information Displays Service Location Protocol (SLP) information. Command mode: All show ip slp directory­agents Displays SLP Directory Agent (DA) information. Command mode: All show ip slp user­agents Displays SLP User Agent (UA) information. Command mode: All show ip tenant [info] <1‐30> Displays tenant information. Command mode: All show ip vrrp information Displays VRRP information. For details, see page 123. Command mode: All show ipsec manual­policy Displays information about manual key management policy for IP security. For more information options, see page 132. Command mode: All show layer3 Dumps all Layer 3 switch information available (10K or more, depending on your configuration). If you want to capture dump data to a file, set your communication software on your workstation to capture session data before issuing the dump commands. Command mode: All show layer3 igmp­groups Displays the total number of IGMP groups that are registered on the switch. Command mode: All show layer3 ipmc­groups Displays the total number of current IP multicast (IPMC) groups that are registered on the switch. Command mode: All Table 37. Layer 3 Information Commands (continued) Command Syntax and Usage

© Copyright Lenovo 2016

Chapter 2: Information Commands 87 IP Routing Information Using the commands listed in the following table, you can display all or a portion of the IP routes currently held in the switch. Table 38. Route Information Options Command Syntax and Usage show ip route [all] Displays all routes configured in the switch. For more information, see page 88. Command mode: All show ip route address  Displays a single route by destination IP address. Command mode: All show ip route ecmphash Displays the current ECMP hashing mechanism. Command mode: All show ip route gateway  Displays routes to a single gateway. Command mode: All show ip route interface  Displays routes on a single interface. Command mode: All show ip route port  Displays routes on a single port. Command mode: All show ip route static Displays static routes configured on the switch. Command mode: All show ip route tag {address|bgp|broadcast|fixed|martian|   |multicast|ospf|rip|static} Displays routes of a single tag. For a description of IP routing tags, see Table 40 on page 88. Command mode: All show ip route type {broadcast|direct|indirect|local|   |martian|multicast} Displays routes of a single type. For a description of IP routing types, see Table 39 on page 88. Command mode: All

88 G8332 Command Reference for ENOS 8.4

Show All IP Route Information The following command displays IP route information: show ip route Command mode: All The following table describes the Type parameters. The following table describes the Tag parameters. Mgmt routes: Status code: * ­ best     Destination         Mask          Gateway        Type      Tag    Metric If   ­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­ ­­­­­­­­­ ­­­­­­­­­ ­­­­­­ ­­­ * 192.168.50.0    255.255.255.0   192.168.50.50   direct    fixed            128 * 192.168.50.50   255.255.255.255 192.168.50.50   local     addr             128 * 192.168.50.255  255.255.255.255 192.168.50.255  broadcast broadcast        128 Data routes: Status code: * ­ best     Destination         Mask          Gateway        Type      Tag    Metric If   ­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­ ­­­­­­­­­ ­­­­­­­­­ ­­­­­­ ­­­ * 127.0.0.0       255.0.0.0       0.0.0.0         martian   martian * 224.0.0.0       224.0.0.0       0.0.0.0         martian   martian * 224.0.0.0       240.0.0.0       0.0.0.0         multicast addr * 255.255.255.255 255.255.255.255 255.255.255.255 broadcast broadcast Table 39. IP Routing Type Parameters Parameter Description indirect The next hop to the host or subnet destination will be forwarded through a router at the Gateway address. direct Packets will be delivered to a destination host or subnet attached to the switch. local Indicates a route to one of the switch’s IP interfaces. broadcast Indicates a broadcast route. martian The destination belongs to a host or subnet which is filtered out. Packets to this destination are discarded. multicast Indicates a multicast route. Table 40. IP Routing Tag Parameters Parameter Description fixed The address belongs to a host or subnet attached to the switch. static The address is a static route which has been configured on the RackSwitch G8332. addr The address belongs to one of the switch’s IP interfaces.

© Copyright Lenovo 2016

Chapter 2: Information Commands 89 rip The address was learned by the Routing Information Protocol (RIP). ospf The address was learned by Open Shortest Path First (OSPF). bgp The address was learned via Border Gateway Protocol (BGP). broadcast Indicates a broadcast address. martian The address belongs to a filtered group. multicast Indicates a multicast address. Table 40. IP Routing Tag Parameters (continued) Parameter Description

90 G8332 Command Reference for ENOS 8.4

ARP Information The ARP information includes IP address and MAC address of each entry, address status flags (see Table 42 on page 92), VLAN, age and port for the address. Table 41. ARP Information Options Command Syntax and Usage show [ip] arp [all] Displays all ARP entries. including:  IP address and MAC address of each entry  Address status flag  The VLAN and port to which the address belongs  The elapsed time (in seconds) since the ARP entry was learned For more information, see page 91. Command mode: All show ip arp data Displays all data ARP entries. Command mode: All show [ip] arp find  Displays a single ARP entry by IP address. Command mode: All show ip arp inspection Displays the current Dynamic ARP Inspection (DAI) configuration settings. For details, see page 93. Command mode: All show [ip] arp interface port  Displays the ARP entries on a single port. Command mode: All show ip arp management Displays all management ARP entries. Command mode: All show [ip] arp reply Displays the ARP entries for the switch’s IP interfaces. Command mode: All

© Copyright Lenovo 2016

Chapter 2: Information Commands 91 ARP Address List Information The following command displays owned ARP address list information: show [ip] arp reply Command mode: All Show All ARP Entry Information The following command displays ARP information: show [ip] arp Command mode: All show [ip] arp static Displays all static ARP entries. Command mode: All show [ip] arp vlan  Displays the ARP entries on a single VLAN. Command mode: All Table 41. ARP Information Options (continued) Command Syntax and Usage     IP address        IP mask        MAC address     VLAN Pass­Up   ­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­­­  ­­­­ ­­­­­   1.1.1.1         255.255.255.255 08:17:f4:62:64:00     1   2.2.2.2         255.255.255.255 08:17:f4:62:64:00     1   46.0.0.1        255.255.255.255 08:17:f4:62:64:00  4094   3.3.3.20        255.255.255.255 08:17:f4:62:64:00     3 Mgmt ARP entries: Total number of Mgmt ARP entries : 6     IP address    Flags    MAC address     VLAN   Age Port   ­­­­­­­­­­­­­­­ ­­­­­ ­­­­­­­­­­­­­­­­­ ­­­­­­  ­­­ ­­­­   9.228.143.1           74:99:75:d1:c4:00   4095    0 MGT   9.228.143.11     P    74:99:75:be:20:fe   4095      MGT   9.228.143.62          00:50:56:81:e3:d3   4095  152 MGT   9.228.143.92          00:50:56:81:9d:9c   4095  121 MGT   9.228.143.93          00:50:56:81:1b:29   4095  107 MGT   9.228.143.94          00:50:56:81:d3:8b   4095   63 MGT Data ARP entries: Current ARP configuration:   rearp 5 No static ARP configured. Total number data ARP entries : 2     IP address    Flags    MAC address     VLAN   Age Port   ­­­­­­­­­­­­­­­ ­­­­­ ­­­­­­­­­­­­­­­­­ ­­­­­­  ­­­ ­­­­   192.168.1.1           fc:cf:62:9d:87:00      2  127 20/1   192.168.1.2      P    74:99:75:be:20:00      2

92 G8332 Command Reference for ENOS 8.4

The Port field shows the target port of the ARP entry. The Flags field is interpreted as follows: Table 42. ARP Flag Parameters Flag Description P Permanent entry created for switch IP interface. R Indirect route entry. U Unresolved ARP entry. The MAC address has not been learned.

© Copyright Lenovo 2016

Chapter 2: Information Commands 93 Dynamic ARP Inspection Information The following commands display Dynamic ARP Inspection (DAI) information: show ip arp inspection interfaces [] Command mode: All show ip arp inspection vlan [] Command mode: All Table 43. Dynamic ARP Inspection Information Options Command Syntax and Usage show ip arp inspection Displays the current DAI configuration settings. Command mode: All show ip arp inspection interfaces [] Displays the current DAI configuration settings for the selected interfaces. Command mode: All show ip arp inspection vlan [] Displays the current DAI configuration settings for the selected VLANs. Command mode: All Interface  Trust State ­­­­­­­­­  ­­­­­­­­­­­ 1          Trusted 2          Trusted 3          Untrusted 4          Untrusted ... Vlan  Configuration ­­­­  ­­­­­­­­­­­­­    2  Enabled

94 G8332 Command Reference for ENOS 8.4

BGP Information The following commands display BGP information: Table 44. BGP Peer Information Options Command Syntax and Usage show ip bgp aggregate­address [<1‐16>] Displays the current BGP aggregation configuration. Command mode: All show ip bgp information Displays the BGP routing table. See page 97 for a sample output. Command mode: All show ip bgp neighbor [<1‐192>] Displays the current BGP peer configuration. Command mode: All show ip bgp neighbor advertised­routes Displays all BGP advertised routes to all neighbors. Command mode: All show ip bgp neighbor <1‐192> advertised­routes Displays all BGP advertised routes to a specific peer. Command mode: All show ip bgp neighbor group Displays BGP group information. See page 96 for a sample output. Command mode: All show ip bgp neighbor information Displays BGP peer information. See page 95 for a sample output. Command mode: All show ip bgp neighbor <1‐192> information Displays BGP peer information for a specific peer. Command mode: All show ip bgp neighbor <1‐192> redistribute Displays BGP neighbor redistribution. Command mode: All

© Copyright Lenovo 2016

Chapter 2: Information Commands 95 BGP Peer Information Following is an example of the information provided by the following command: show ip bgp neighbor information Command mode: All show ip bgp neighbor <1‐192> routes Displays BGP peer routes. Command mode: All show ip bgp neighbor summary Displays peer summary information such as AS, message received, message sent, up/down or state. See page 97 for a sample output. Command mode: All Table 44. BGP Peer Information Options (continued) Command Syntax and Usage BGP Peer Information: Static Peers:   1: 3.5.0.3         , version 4, TTL 255, TTL Security hops 0     Remote AS: 10000, Local AS: 10000, Link type: IBGP     Remote router ID: 3.3.3.3,    Local router ID: 5.5.5.5     next­hop­self disabled     RR client disabled     BGP status: established, Old status: established     Total received packets: 4321, Total sent packets: 4309     Received updates: 12, Sent updates: 0     Keepalive: 60, Holdtime: 180, MinAdvTime: 60     LastErrorCode: unknown(0), LastErrorSubcode: unspecified(0)     Established state transitions: 1

96 G8332 Command Reference for ENOS 8.4

BGP Group Information Following is an example of the information provided by the following command: show ip bgp neighbor group Command mode: All BGP Group Information: Local router ID: 1.1.1.2, Local AS: 100 Group 1:     Name: toG82642007     Addr: 192.168.128.0    Mask: 255.255.255.248     Remote AS list: 200     Dynamic Peers Limit: 8     Dynamic Peers in established state: 1  Dynamic Peers of this group:  97: 192.168.128.4, Group: 1 (toG82642007), TTL 1     Remote AS: 200, Local AS: 100, Link type: EBGP     Remote router ID: 2.2.1.2, Local router ID: 1.1.1.2     Configured Version: 4     Negotiated Version: 4     Total path attribute out: 0     In Total Messages: 74     Out Total Messages: 74     In Updates: 0     Out Updates: 0     Established Time: 01:12:36     MinAdvTime: 00:01:00     Configured holdtime: 00:03:00     Negotiated holdtime: 00:03:00     Configured keepalive 00:01:00     Negotiated keepalive 00:01:00     In Update Last Time: 00:00:00     Out Update Last Time: 00:14:32     Last Send Time: 01:26:54     Last Received Time: 01:26:54     In­rmap list count: 0     Out­rmap list count: 0 ...

© Copyright Lenovo 2016

Chapter 2: Information Commands 97 BGP Summary Information Following is an example of the information provided by the following command: show ip bgp neighbor summary Command mode: All Dump BGP Information Following is an example of the information provided by the following command: show ip bgp information [ ] [longer_prefix] Command mode: All The IPv4 network and mask options restrict the output to a specific network in the BGP routing table. BGP Peer Summary Information:       Peer         V    AS     MsgRcvd  MsgSent Up/Down   State    ­­­­­­­­­­­­­­­ ­ ­­­­­­­­ ­­­­­­­­ ­­­­­­­­ ­­­­­­­­ ­­­­­­­­­­ 1: 205.178.23.142  4      142      113      121 00:00:28 established 2: 205.178.15.148  0      148        0        0 never    connect Status codes: * valid, > best, = multipath, i ­ internal Origin codes: i ­ IGP, e ­ EGP, ? ­ incomplete Network         Mask            Next Hop        Metric LcPrf  Wght  Path ­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­ ­­­­­­­­­­­­­­­ ­­­­­­ ­­­­­ ­­­­­ ­­­­­­ *> 1.1.1.0      255.255.255.0   0.0.0.0                          0      ? *> 10.100.100.0 255.255.255.0   0.0.0.0                          0      ? *> 10.100.120.0 255.255.255.0   0.0.0.0                          0      ?

98 G8332 Command Reference for ENOS 8.4

OSPF Information The following commands display OSPF information: Table 45. OSPF Information Options Command Syntax and Usage show interface ip <1‐128> ospf Displays the current OSPF settings for the specified IP interface. Command mode: All show ip ospf area <0‐19> Displays OSPF settings for a particular area index. Command mode: All show ip ospf area information [<0‐19>] Displays area information for all areas or a particular area index. Command mode: All show ip ospf area­range <1‐16> Displays the current OSPF summary range settings. Command mode: All show ip ospf area­virtual­link <1‐3> Displays the current OSPF virtual link settings. Command mode: All show ip ospf area­virtual­link information Displays information about all the configured virtual links. Command mode: All show ip ospf general­information Displays general OSPF information. See page 100 for a sample output. Command mode: All show ip ospf host <1‐128> Displays the current OSPF host entries. Command mode: All show ip ospf host information Displays OSPF host configuration information. Command mode: All show ip ospf information Displays the OSPF information. Command mode: All

© Copyright Lenovo 2016

Chapter 2: Information Commands 99 show ip ospf interface [] Displays OSPF information for all IP interfaces or a particular interface. See page 100 for a sample output. Command mode: All show ip ospf interface loopback [<1‐5>] Displays OSPF information for all loopback interfaces or a particular loopback interface. See page 101 for a sample output. Command mode: All show ip ospf interface port [] Displays OSPF information for all ports or a particular port. For details, see page 101. Command mode: All show ip ospf neighbor Displays the status of all the current neighbors. Command mode: All show ip ospf redistribute Displays the current OSPF redistribute settings. Command mode: All show ip ospf routes Displays OSPF routing table. See page 101 for a sample output. Command mode: All show ip ospf summary­range <0‐19> Displays the list of summary ranges belonging to non‐NSSA areas. Command mode: All show ip ospf summary­range­nssa <0‐19> Displays the list of summary ranges belonging to NSSA areas. Command mode: All Table 45. OSPF Information Options (continued) Command Syntax and Usage

100 G8332 Command Reference for ENOS 8.4

OSPF General Information The following command displays general OSPF information: show ip ospf general­information Command mode: All OSPF Interface Information The following command displays OSPF interface information: show ip ospf interface  Command mode: All OSPF Version 2 Router ID: 10.10.10.1 Started at 1663 and the process uptime is 4626 Area Border Router: yes, AS Boundary Router: no LS types supported are 6 External LSA count 0 External LSA checksum sum 0x0 Number of interfaces in this router is 2 Number of virtual links in this router is 1 16 new lsa received and 34 lsa originated from this router Total number of entries in the LSDB 10 Database checksum sum 0x0 Total neighbors are 1, of which                                   2 are >=INIT state,                                   2 are >=EXCH state,                                   2 are =FULL state Number of areas is 2, of which 3­transit 0­nssa         Area Id : 0.0.0.0         Authentication : none         Import ASExtern : yes         Number of times SPF ran : 8         Area Border Router count : 2         AS Boundary Router count : 0         LSA count : 5         LSA Checksum sum : 0x2237B         Summary : noSummary Ip Address 10.10.12.1, Area 0.0.0.1, Admin Status UP    Router ID 10.10.10.1, State DR, Priority 1    Designated Router (ID) 10.10.10.1, Ip Address 10.10.12.1    Backup Designated Router (ID) 10.10.14.1, Ip Address 10.10.12.2    Timer intervals, Hello 10, Dead 40, Wait 1663, Retransmit 5,                 Poll interval 0, Transit delay 1    Neighbor count is 1   If Events 4, Authentication type none

Other Network Router Manuals