iscli—industry standard cli command reference · iscli—industry standard cli command reference...
TRANSCRIPT
-
Lenovo RackSwitch G8052
ISCLI—Industry Standard CLI Command ReferenceFor Networking OS 8.3
-
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 (May 2015)© Copyright Lenovo 2015Portions © 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 2015 3
ContentsPreface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Who Should Use This Book . . . . . . . . . . . . . . . . . . . . . . .16How This Book Is Organized . . . . . . . . . . . . . . . . . . . . . . .17Typographic Conventions . . . . . . . . . . . . . . . . . . . . . . . .18
Chapter 1. ISCLI Basics . . . . . . . . . . . . . . . . . . . . . 21ISCLI Command Modes . . . . . . . . . . . . . . . . . . . . . . . . .22Global Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .26Command Line Interface Shortcuts . . . . . . . . . . . . . . . . . . . .28
CLI List and Range Inputs . . . . . . . . . . . . . . . . . . . . . .28Command Abbreviation . . . . . . . . . . . . . . . . . . . . . . .28Tab Completion. . . . . . . . . . . . . . . . . . . . . . . . . . .28
User Access Levels . . . . . . . . . . . . . . . . . . . . . . . . . . .29Idle Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Chapter 2. Information Commands . . . . . . . . . . . . . . . . 31System Information . . . . . . . . . . . . . . . . . . . . . . . . . . .32
CLI Display Information . . . . . . . . . . . . . . . . . . . . . . .34Error Disable and Recovery Information . . . . . . . . . . . . . . . .35SNMPv3 System Information . . . . . . . . . . . . . . . . . . . . .36
SNMPv3 USM User Table Information . . . . . . . . . . . . . . .37SNMPv3 View Table Information . . . . . . . . . . . . . . . . .38SNMPv3 Access Table Information . . . . . . . . . . . . . . . .39SNMPv3 Group Table Information. . . . . . . . . . . . . . . . .40SNMPv3 Community Table Information . . . . . . . . . . . . . .40SNMPv3 Target Address Table Information . . . . . . . . . . . . .41SNMPv3 Target Parameters Table Information . . . . . . . . . . .42SNMPv3 Notify Table Information. . . . . . . . . . . . . . . . .42SNMPv3 Dump Information . . . . . . . . . . . . . . . . . . .43
General System Information . . . . . . . . . . . . . . . . . . . . .44Show Specific System Information . . . . . . . . . . . . . . . . .45
Show Recent Syslog Messages . . . . . . . . . . . . . . . . . . . .46User Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
Stacking Information . . . . . . . . . . . . . . . . . . . . . . . . . .48Stacking Switch Information . . . . . . . . . . . . . . . . . . . . .51
Layer 2 Information . . . . . . . . . . . . . . . . . . . . . . . . . . .52802.1X Information . . . . . . . . . . . . . . . . . . . . . . . . .55FDB Information . . . . . . . . . . . . . . . . . . . . . . . . . .57
FDB Multicast Information . . . . . . . . . . . . . . . . . . . .58Show All FDB Information . . . . . . . . . . . . . . . . . . . .59Clearing Entries from the Forwarding Database . . . . . . . . . . .59
Link Aggregation Control Protocol Information . . . . . . . . . . . . .60Link Aggregation Control Protocol . . . . . . . . . . . . . . . .61
Layer 2 Failover Information . . . . . . . . . . . . . . . . . . . . .62Layer 2 Failover Information . . . . . . . . . . . . . . . . . . .62
Hot Links Information . . . . . . . . . . . . . . . . . . . . . . . .64LLDP Information. . . . . . . . . . . . . . . . . . . . . . . . . .65
-
4 G8052 Command Reference for N/OS 8.3
LLDP Remote Device Information . . . . . . . . . . . . . . . . . 66Unidirectional Link Detection Information . . . . . . . . . . . . . . . 67
UDLD Port Information . . . . . . . . . . . . . . . . . . . . . 67802.1x Discovery Information. . . . . . . . . . . . . . . . . . . . . 68
802.1x Port Information . . . . . . . . . . . . . . . . . . . . . 68OAM Discovery Information . . . . . . . . . . . . . . . . . . . . . 69
OAM Port Information. . . . . . . . . . . . . . . . . . . . . . 69vLAG Information . . . . . . . . . . . . . . . . . . . . . . . . . 70
vLAG Trunk Information . . . . . . . . . . . . . . . . . . . . 71Spanning Tree Information. . . . . . . . . . . . . . . . . . . . . . 72
RSTP Information . . . . . . . . . . . . . . . . . . . . . . . . 73PVRST Information . . . . . . . . . . . . . . . . . . . . . . . 75Spanning Tree Bridge Information. . . . . . . . . . . . . . . . . 77Spanning Tree Root Information . . . . . . . . . . . . . . . . . 78Multiple Spanning Tree Information . . . . . . . . . . . . . . . . 79
Trunk Group Information . . . . . . . . . . . . . . . . . . . . . . 81VLAN Information . . . . . . . . . . . . . . . . . . . . . . . . . 82
Layer 3 Information. . . . . . . . . . . . . . . . . . . . . . . . . . . 84IP Routing Information . . . . . . . . . . . . . . . . . . . . . . . 88
Show All IP Route Information . . . . . . . . . . . . . . . . . . 89ARP Information . . . . . . . . . . . . . . . . . . . . . . . . . . 91
ARP Address List Information . . . . . . . . . . . . . . . . . . 92Show All ARP Entry Information . . . . . . . . . . . . . . . . . 93Dynamic ARP Inspection Information . . . . . . . . . . . . . . . 94
BGP Information . . . . . . . . . . . . . . . . . . . . . . . . . . 95BGP Peer Information . . . . . . . . . . . . . . . . . . . . . . 96BGP Summary Information . . . . . . . . . . . . . . . . . . . . 96Dump BGP Information . . . . . . . . . . . . . . . . . . . . . 96
OSPF Information. . . . . . . . . . . . . . . . . . . . . . . . . . 97OSPF General Information . . . . . . . . . . . . . . . . . . . . 99OSPF Interface Information . . . . . . . . . . . . . . . . . . . . 99OSPF Loopback Information . . . . . . . . . . . . . . . . . . 100OSPF Port Information . . . . . . . . . . . . . . . . . . . . . 100OSPF Information Route Codes . . . . . . . . . . . . . . . . . 100OSPF Database Information . . . . . . . . . . . . . . . . . . 101
OSPFv3 Information . . . . . . . . . . . . . . . . . . . . . . . 103OSPFv3 Information Dump. . . . . . . . . . . . . . . . . . . 105OSPFv3 Interface Information. . . . . . . . . . . . . . . . . . 105OSPFv3 Database Information . . . . . . . . . . . . . . . . . 106OSPFv3 Route Codes Information . . . . . . . . . . . . . . . . 107
Routing Information Protocol . . . . . . . . . . . . . . . . . . . 108RIP Routes Information . . . . . . . . . . . . . . . . . . . . 109RIP Interface Information . . . . . . . . . . . . . . . . . . . 109
IPv6 Routing Information . . . . . . . . . . . . . . . . . . . . . 110IPv6 Routing Table Information . . . . . . . . . . . . . . . . . 111
IPv6 Neighbor Cache Information. . . . . . . . . . . . . . . . . . 112IPv6 Neighbor Cache Information . . . . . . . . . . . . . . . . 112
IPv6 Neighbor Discovery Prefix Information . . . . . . . . . . . . . 113ECMP Static Route Information. . . . . . . . . . . . . . . . . . . 114IGMP Information . . . . . . . . . . . . . . . . . . . . . . . . 115
IGMP Querier Information . . . . . . . . . . . . . . . . . . . 117
-
© Copyright Lenovo 2015 Contents 5
IGMP Group Information. . . . . . . . . . . . . . . . . . . . 118IGMP Multicast Router Information . . . . . . . . . . . . . . . 118IPMC Group Information. . . . . . . . . . . . . . . . . . . . 119
MLD Information . . . . . . . . . . . . . . . . . . . . . . . . . 120VRRP Information . . . . . . . . . . . . . . . . . . . . . . . . 122Interface Information . . . . . . . . . . . . . . . . . . . . . . . 124IPv6 Interface Information . . . . . . . . . . . . . . . . . . . . . 125IPv6 Path MTU Information . . . . . . . . . . . . . . . . . . . . 126IP Information . . . . . . . . . . . . . . . . . . . . . . . . . . 127IKEv2 Information . . . . . . . . . . . . . . . . . . . . . . . . 129
IKEv2 Information Dump. . . . . . . . . . . . . . . . . . . . 130IP Security Information . . . . . . . . . . . . . . . . . . . . . . 131
IPsec Manual Policy Information . . . . . . . . . . . . . . . . 132DHCP Snooping Binding Table Information . . . . . . . . . . . . . 133PIM Information . . . . . . . . . . . . . . . . . . . . . . . . . 134
PIM Component Information . . . . . . . . . . . . . . . . . . 135PIM Interface Information . . . . . . . . . . . . . . . . . . . 135PIM Neighbor Information . . . . . . . . . . . . . . . . . . . 136PIM Multicast Route Information Commands . . . . . . . . . . . 137PIM Multicast Route Information . . . . . . . . . . . . . . . . 138
Quality of Service Information . . . . . . . . . . . . . . . . . . . . . 139802.1p Information . . . . . . . . . . . . . . . . . . . . . . . . 140WRED and ECN Information . . . . . . . . . . . . . . . . . . . . 141
Access Control List Information . . . . . . . . . . . . . . . . . . . . 142Access Control List Information . . . . . . . . . . . . . . . . . . . 143Access Control IPv6 List Information . . . . . . . . . . . . . . . . 145
OpenFlow Information . . . . . . . . . . . . . . . . . . . . . . . . 146OpenFlow Global Configuration Information . . . . . . . . . . . . . 147OpenFlow Flow Allocation Information . . . . . . . . . . . . . . . 149OpenFlow Group Information . . . . . . . . . . . . . . . . . . . 151OpenFlow Configuration Information . . . . . . . . . . . . . . . . 152OpenFlow Table Information . . . . . . . . . . . . . . . . . . . . 154
RMON Information Commands . . . . . . . . . . . . . . . . . . . . 156RMON History Information . . . . . . . . . . . . . . . . . . . . 157RMON Alarm Information . . . . . . . . . . . . . . . . . . . . . 158RMON Event Information . . . . . . . . . . . . . . . . . . . . . 159
Link Status Information . . . . . . . . . . . . . . . . . . . . . . . . 160Port Information . . . . . . . . . . . . . . . . . . . . . . . . . . . 161Port Transceiver Status . . . . . . . . . . . . . . . . . . . . . . . . 162VM Ready Information . . . . . . . . . . . . . . . . . . . . . . . . 164
VM Information . . . . . . . . . . . . . . . . . . . . . . . . . 165VM Check Information . . . . . . . . . . . . . . . . . . . . . . 166VMware Information . . . . . . . . . . . . . . . . . . . . . . . 166
VMware Host Information . . . . . . . . . . . . . . . . . . . 167EVB Information . . . . . . . . . . . . . . . . . . . . . . . . . . . 168Information Dump . . . . . . . . . . . . . . . . . . . . . . . . . . 169
-
6 G8052 Command Reference for N/OS 8.3
Chapter 3. Statistics Commands . . . . . . . . . . . . . . . . . 171Port Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
802.1X Authenticator Statistics . . . . . . . . . . . . . . . . . . . 175802.1X Authenticator Diagnostics . . . . . . . . . . . . . . . . . . 176BootStrap Protocol Relay Statistics . . . . . . . . . . . . . . . . . 179Bridging Statistics. . . . . . . . . . . . . . . . . . . . . . . . . 180Ethernet Statistics . . . . . . . . . . . . . . . . . . . . . . . . . 181Interface Statistics. . . . . . . . . . . . . . . . . . . . . . . . . 184Interface Protocol Statistics . . . . . . . . . . . . . . . . . . . . . 187Link Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 187RMON Statistics . . . . . . . . . . . . . . . . . . . . . . . . . 188QoS Queue Counter‐Based Statistics. . . . . . . . . . . . . . . . . 191QoS Queue Rate‐Based Statistics . . . . . . . . . . . . . . . . . . 192
Trunk Group Statistics . . . . . . . . . . . . . . . . . . . . . . . . 193Layer 2 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
FDB Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . 196LACP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 197Hotlinks Statistics . . . . . . . . . . . . . . . . . . . . . . . . . 198LLDP Port Statistics . . . . . . . . . . . . . . . . . . . . . . . . 199OAM Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 200vLAG Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 201
vLAG ISL Statistics . . . . . . . . . . . . . . . . . . . . . . 202Layer 3 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
IPv4 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 208IPv6 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 210IPv4 Route Statistics. . . . . . . . . . . . . . . . . . . . . . . . 215IPv6 Route Statistics. . . . . . . . . . . . . . . . . . . . . . . . 216ARP statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . 217DNS Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 218ICMP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 219TCP Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . 221UDP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 223IGMP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 224MLD Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 226
MLD Global Statistics . . . . . . . . . . . . . . . . . . . . . 227OSPF Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 229
OSPF Global Statistics . . . . . . . . . . . . . . . . . . . . . 230OSPFv3 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . 234
OSPFv3 Global Statistics . . . . . . . . . . . . . . . . . . . . 235VRRP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 239PIM Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . 240Routing Information Protocol Statistics . . . . . . . . . . . . . . . 241DHCP Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . 242
DHCP Snooping Statistics . . . . . . . . . . . . . . . . . . . 242OpenFlow Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . 243Management Processor Statistics . . . . . . . . . . . . . . . . . . . . 259
MP Packet Statistics Commands . . . . . . . . . . . . . . . . . . 260MP Packet Statistics . . . . . . . . . . . . . . . . . . . . . . . . 261Logged Packet Statistics . . . . . . . . . . . . . . . . . . . . . . 265
-
© Copyright Lenovo 2015 Contents 7
TCP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . 269UDP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 270CPU Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . 271CPU Statistics History . . . . . . . . . . . . . . . . . . . . . . . 272
QoS Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273Access Control List Statistics . . . . . . . . . . . . . . . . . . . . . . 275
ACL Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . 276VMAP Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . 276
SNMP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . 277NTP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281Statistics Dump. . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Chapter 4. Configuration Commands . . . . . . . . . . . . . . . . 285Viewing and Saving Changes . . . . . . . . . . . . . . . . . . . . . 287
Saving the Configuration. . . . . . . . . . . . . . . . . . . . . . 287System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 288
System Error Disable and Recovery Configuration. . . . . . . . . . . 293Link Flap Dampening Configuration . . . . . . . . . . . . . . . 294
System Host Log Configuration . . . . . . . . . . . . . . . . . . . 295SSH Server Configuration . . . . . . . . . . . . . . . . . . . . . 299RADIUS Server Configuration . . . . . . . . . . . . . . . . . . . 301TACACS+ Server Configuration. . . . . . . . . . . . . . . . . . . 303LDAP Server Configuration . . . . . . . . . . . . . . . . . . . . 308NTP Server Configuration . . . . . . . . . . . . . . . . . . . . . 310System SNMP Configuration . . . . . . . . . . . . . . . . . . . . 312SNMPv3 Configuration . . . . . . . . . . . . . . . . . . . . . . 315
User Security Model Configuration . . . . . . . . . . . . . . . 317SNMPv3 View Configuration . . . . . . . . . . . . . . . . . . 318View‐based Access Control Model Configuration . . . . . . . . . 319SNMPv3 Group Configuration . . . . . . . . . . . . . . . . . 320SNMPv3 Community Table Configuration . . . . . . . . . . . . 321SNMPv3 Target Address Table Configuration . . . . . . . . . . . 322SNMPv3 Target Parameters Table Configuration . . . . . . . . . 323SNMPv3 Notify Table Configuration . . . . . . . . . . . . . . . 324
System Access Configuration . . . . . . . . . . . . . . . . . . . . 325Management Network Configuration . . . . . . . . . . . . . . 326NETCONF Configuration . . . . . . . . . . . . . . . . . . . 328NETCONF over SSH Configuration . . . . . . . . . . . . . . . 328
User Access Control Configuration . . . . . . . . . . . . . . . . . 329System User ID Configuration. . . . . . . . . . . . . . . . . . 330Strong Password Configuration . . . . . . . . . . . . . . . . . 331HTTPS Access Configuration . . . . . . . . . . . . . . . . . . 332
Custom Daylight Saving Time Configuration . . . . . . . . . . . . . 335sFlow Configuration. . . . . . . . . . . . . . . . . . . . . . . . 336
sFlow Port Configuration . . . . . . . . . . . . . . . . . . . . 337Server Port Configuration . . . . . . . . . . . . . . . . . . . . . 338
Port Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 339Port Error Disable and Recovery Configuration . . . . . . . . . . . . 344
Port Link Flap Dampening Configuration. . . . . . . . . . . . . 344Port Link Configuration . . . . . . . . . . . . . . . . . . . . . . 345
-
8 G8052 Command Reference for N/OS 8.3
Temporarily Disabling a Port . . . . . . . . . . . . . . . . . . . . 346UniDirectional Link Detection Configuration . . . . . . . . . . . . . 347Port OAM Configuration . . . . . . . . . . . . . . . . . . . . . 348Port ACL Configuration . . . . . . . . . . . . . . . . . . . . . . 349Port WRED Configuration . . . . . . . . . . . . . . . . . . . . . 350
Port WRED Transmit Queue Configuration . . . . . . . . . . . . 351Stacking Configuration . . . . . . . . . . . . . . . . . . . . . . . . 352
Stacking Switch Configuration . . . . . . . . . . . . . . . . . . . 353Quality of Service Configuration . . . . . . . . . . . . . . . . . . . . 354
802.1p Configuration . . . . . . . . . . . . . . . . . . . . . . . 354DSCP Configuration . . . . . . . . . . . . . . . . . . . . . . . 355Control Plane Protection . . . . . . . . . . . . . . . . . . . . . . 356Weighted Random Early Detection Configuration. . . . . . . . . . . 358WRED Transmit Queue Configuration. . . . . . . . . . . . . . . . 359
Access Control Configuration . . . . . . . . . . . . . . . . . . . . . 360Access Control List Configuration. . . . . . . . . . . . . . . . . . 361
ACL Mirroring Configuration. . . . . . . . . . . . . . . . . . 362Ethernet Filtering Configuration . . . . . . . . . . . . . . . . 362IPv4 Filtering Configuration . . . . . . . . . . . . . . . . . . 364TCP/UDP Filtering Configuration . . . . . . . . . . . . . . . . 365Packet Format Filtering Configuration . . . . . . . . . . . . . . 367ACL Metering Configuration . . . . . . . . . . . . . . . . . . 368ACL Re‐Mark Configuration . . . . . . . . . . . . . . . . . . 369
ACL IPv6 Configuration . . . . . . . . . . . . . . . . . . . . . . 371IPv6 Filtering Configuration . . . . . . . . . . . . . . . . . . 372IPv6 TCP/UDP Filtering Configuration. . . . . . . . . . . . . . 373IPv6 Re‐Mark Configuration . . . . . . . . . . . . . . . . . . 375IPv6 Metering Configuration . . . . . . . . . . . . . . . . . . 377
ACL Log Configuration . . . . . . . . . . . . . . . . . . . . . . 378ACL Group Configuration . . . . . . . . . . . . . . . . . . . . . 379Management ACL Configuration . . . . . . . . . . . . . . . . . . 380
MACL IPv4 Filtering Configuration . . . . . . . . . . . . . . . 380MACL TCP/UDP Filtering Configuration. . . . . . . . . . . . . 382
VMAP Configuration . . . . . . . . . . . . . . . . . . . . . . . 384Port Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
Port‐Mirroring Configuration . . . . . . . . . . . . . . . . . . . 390Layer 2 Configuration. . . . . . . . . . . . . . . . . . . . . . . . . 391
802.1X Configuration . . . . . . . . . . . . . . . . . . . . . . . 391802.1X Global Configuration . . . . . . . . . . . . . . . . . . 392802.1X Guest VLAN Configuration . . . . . . . . . . . . . . . 394802.1X Port Configuration . . . . . . . . . . . . . . . . . . . 395
Spanning Tree Configuration . . . . . . . . . . . . . . . . . . . . 397MSTP Configuration. . . . . . . . . . . . . . . . . . . . . . 400RSTP/PVRST Configuration . . . . . . . . . . . . . . . . . . 403
Forwarding Database Configuration. . . . . . . . . . . . . . . . . 407Static Multicast MAC Configuration . . . . . . . . . . . . . . . 408Static FDB Configuration . . . . . . . . . . . . . . . . . . . . 409
ECP Configuration . . . . . . . . . . . . . . . . . . . . . . . . 411LLDP Configuration . . . . . . . . . . . . . . . . . . . . . . . 412
LLDP Port Configuration. . . . . . . . . . . . . . . . . . . . 413
-
© Copyright Lenovo 2015 Contents 9
LLDP Optional TLV configuration . . . . . . . . . . . . . . . . 414Trunk Configuration . . . . . . . . . . . . . . . . . . . . . . . 416Trunk Hash Configuration . . . . . . . . . . . . . . . . . . . . . 417
Trunk Hash Settings . . . . . . . . . . . . . . . . . . . . . . 418Static In‐Port Hash Settings . . . . . . . . . . . . . . . . . . . 419
Virtual Link Aggregation Group Configuration . . . . . . . . . . . . 420vLAG Health Check Configuration . . . . . . . . . . . . . . . 422vLAG ISL Configuration . . . . . . . . . . . . . . . . . . . . 423
Link Aggregation Control Protocol Configuration . . . . . . . . . . . 424LACP Port Configuration. . . . . . . . . . . . . . . . . . . . 425
Layer 2 Failover Configuration . . . . . . . . . . . . . . . . . . . 427Failover Trigger Configuration . . . . . . . . . . . . . . . . . 427Failover Manual Monitor Port Configuration . . . . . . . . . . . 428Failover Manual Monitor Control Configuration. . . . . . . . . . 429
Hot Links Configuration . . . . . . . . . . . . . . . . . . . . . . 430Hot Links Trigger Configuration . . . . . . . . . . . . . . . . 431Hot Links Master Configuration . . . . . . . . . . . . . . . . . 432Hot Links Backup Configuration . . . . . . . . . . . . . . . . 433
VLAN Configuration . . . . . . . . . . . . . . . . . . . . . . . 434Protocol‐Based VLAN Configuration. . . . . . . . . . . . . . . 435Private VLAN Configuration . . . . . . . . . . . . . . . . . . 437Flooding VLAN Configuration Menu . . . . . . . . . . . . . . 438
Layer 3 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 439IP Interface Configuration . . . . . . . . . . . . . . . . . . . . . 441IPv6 Neighbor Discovery Configuration . . . . . . . . . . . . . . . 443Default Gateway Configuration . . . . . . . . . . . . . . . . . . . 446IPv4 Static Route Configuration . . . . . . . . . . . . . . . . . . . 447IP Multicast Route Configuration . . . . . . . . . . . . . . . . . . 449ARP Configuration . . . . . . . . . . . . . . . . . . . . . . . . 450
ARP Static Configuration . . . . . . . . . . . . . . . . . . . . 450Dynamic ARP Inspection Configuration . . . . . . . . . . . . . 452
IP Forwarding Configuration . . . . . . . . . . . . . . . . . . . . 453Network Filter Configuration . . . . . . . . . . . . . . . . . . . . 454Routing Map Configuration . . . . . . . . . . . . . . . . . . . . 455
IP Access List Configuration . . . . . . . . . . . . . . . . . . 458Policy‐Based Routing Configuration . . . . . . . . . . . . . . . 459Autonomous System Filter Path Configuration . . . . . . . . . . 461
Routing Information Protocol Configuration . . . . . . . . . . . . . 462RIP Interface Configuration . . . . . . . . . . . . . . . . . . . 463RIP Route Redistribution Configuration . . . . . . . . . . . . . 465
Open Shortest Path First Configuration . . . . . . . . . . . . . . . 466Area Index Configuration . . . . . . . . . . . . . . . . . . . 467OSPF Summary Range Configuration . . . . . . . . . . . . . . 469OSPF Interface Configuration . . . . . . . . . . . . . . . . . . 470OSPF Virtual Link Configuration . . . . . . . . . . . . . . . . 472OSPF Host Entry Configuration . . . . . . . . . . . . . . . . . 474OSPF Route Redistribution Configuration . . . . . . . . . . . . 475OSPF MD5 Key Configuration . . . . . . . . . . . . . . . . . 475
Open Shortest Path First Version 3 Configuration . . . . . . . . . . . 476OSPFv3 Area Index Configuration . . . . . . . . . . . . . . . . 478OSPFv3 Summary Range Configuration . . . . . . . . . . . . . 481
-
10 G8052 Command Reference for N/OS 8.3
OSPFv3 AS‐External Range Configuration . . . . . . . . . . . . 482OSPFv3 Interface Configuration. . . . . . . . . . . . . . . . . 483OSPFv3 over IPSec Configuration . . . . . . . . . . . . . . . . 486OSPFv3 Virtual Link Configuration . . . . . . . . . . . . . . . 488OSPFv3 over IPSec for Virtual Link Configuration . . . . . . . . . 489OSPFv3 Host Entry Configuration . . . . . . . . . . . . . . . . 490OSPFv3 Redistribute Entry Configuration . . . . . . . . . . . . 491OSPFv3 Redistribute Configuration . . . . . . . . . . . . . . . 492
Border Gateway Protocol Configuration . . . . . . . . . . . . . . . 493BGP Peer Configuration . . . . . . . . . . . . . . . . . . . . 495BGP Aggregation Configuration . . . . . . . . . . . . . . . . 498BGP Neighbor Redistribution Configuration . . . . . . . . . . . 499
IGMP Configuration . . . . . . . . . . . . . . . . . . . . . . . 503IGMP Snooping Configuration . . . . . . . . . . . . . . . . . 504IGMPv3 Configuration. . . . . . . . . . . . . . . . . . . . . 505IGMP Relay Configuration . . . . . . . . . . . . . . . . . . . 506IGMP Relay Multicast Router Configuration . . . . . . . . . . . 507IGMP Static Multicast Router Configuration . . . . . . . . . . . 508IGMP Filtering Configuration. . . . . . . . . . . . . . . . . . 509IGMP Advanced Configuration . . . . . . . . . . . . . . . . . 511IGMP Querier Configuration . . . . . . . . . . . . . . . . . . 512
IKEv2 Configuration . . . . . . . . . . . . . . . . . . . . . . . 515IKEv2 Preshare Key Configuration . . . . . . . . . . . . . . . 515IKEv2 Proposal Configuration . . . . . . . . . . . . . . . . . 516IKEv2 Identification Configuration . . . . . . . . . . . . . . . 517
IPsec Configuration . . . . . . . . . . . . . . . . . . . . . . . . 518IPsec Transform Set Configuration . . . . . . . . . . . . . . . 518IPsec Traffic Selector Configuration . . . . . . . . . . . . . . . 519IPsec Dynamic Policy Configuration . . . . . . . . . . . . . . . 520IPsec Manual Policy Configuration . . . . . . . . . . . . . . . 521
Domain Name System Configuration . . . . . . . . . . . . . . . . 523Bootstrap Protocol Relay Configuration . . . . . . . . . . . . . . . 525
BOOTP Relay Broadcast Domain Configuration . . . . . . . . . . 525Option 82 Configuration . . . . . . . . . . . . . . . . . . . . 526
VRRP Configuration . . . . . . . . . . . . . . . . . . . . . . . 527Virtual Router Configuration . . . . . . . . . . . . . . . . . . 528Virtual Router Priority Tracking Configuration . . . . . . . . . . 531Virtual Router Group Configuration . . . . . . . . . . . . . . . 532VRRP Interface Configuration . . . . . . . . . . . . . . . . . 535VRRP Tracking Configuration . . . . . . . . . . . . . . . . . 536
Protocol Independent Multicast Configuration . . . . . . . . . . . . 537PIM Component Configuration . . . . . . . . . . . . . . . . . 538RP Candidate Configuration . . . . . . . . . . . . . . . . . . 539RP Static Configuration . . . . . . . . . . . . . . . . . . . . 539PIM Interface Configuration . . . . . . . . . . . . . . . . . . 540
IPv6 Default Gateway Configuration . . . . . . . . . . . . . . . . 543IPv6 Static Route Configuration. . . . . . . . . . . . . . . . . . . 544IPv6 Neighbor Discovery Cache Configuration . . . . . . . . . . . . 544IPv6 Path MTU Configuration . . . . . . . . . . . . . . . . . . . 545IPv6 Neighbor Discovery Prefix Configuration . . . . . . . . . . . . 545IPv6 Prefix Policy Table Configuration. . . . . . . . . . . . . . . . 547
-
© Copyright Lenovo 2015 Contents 11
IP Loopback Interface Configuration. . . . . . . . . . . . . . . . . 548DHCP Snooping . . . . . . . . . . . . . . . . . . . . . . . . . 549
Remote Monitoring Configuration . . . . . . . . . . . . . . . . . . . 550RMON History Configuration . . . . . . . . . . . . . . . . . . . 550RMON Event Configuration . . . . . . . . . . . . . . . . . . . . 551RMON Alarm Configuration . . . . . . . . . . . . . . . . . . . . 552
VMReady Configuration. . . . . . . . . . . . . . . . . . . . . . . . 554VM Policy Bandwidth Management . . . . . . . . . . . . . . . . . 555VM Group Configuration . . . . . . . . . . . . . . . . . . . . . 556VM Check Configuration. . . . . . . . . . . . . . . . . . . . . . 559VM Profile Configuration . . . . . . . . . . . . . . . . . . . . . 560VMWare Configuration . . . . . . . . . . . . . . . . . . . . . . 562Miscellaneous VMready Configuration . . . . . . . . . . . . . . . 563
Edge Virtual Bridge Configuration . . . . . . . . . . . . . . . . . . . 564Edge Virtual Bridge VSI Type Database Configuration . . . . . . . . . 565Edge Virtual Bridge VSI Type Profile Configuration . . . . . . . . . . 567
OpenFlow Configuration . . . . . . . . . . . . . . . . . . . . . . . 568Static Flows Configuration . . . . . . . . . . . . . . . . . . . . . 577
Microburst Detection . . . . . . . . . . . . . . . . . . . . . . . . . 581Service Location Protocol Configuration . . . . . . . . . . . . . . . . . 582Configuration Dump . . . . . . . . . . . . . . . . . . . . . . . . . 584Saving the Active Switch Configuration . . . . . . . . . . . . . . . . . 585Restoring the Active Switch Configuration . . . . . . . . . . . . . . . . 586USB Copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587
Copy to USB . . . . . . . . . . . . . . . . . . . . . . . . . . . 587Copy from USB . . . . . . . . . . . . . . . . . . . . . . . . . . 587
-
12 G8052 Command Reference for N/OS 8.3
Chapter 5. Operations Commands. . . . . . . . . . . . . . . . . 589Operations‐Level Port Commands . . . . . . . . . . . . . . . . . . . 590Operations‐Level VRRP Commands . . . . . . . . . . . . . . . . . . 591VMware Operations . . . . . . . . . . . . . . . . . . . . . . . . . 592VMware Distributed Virtual Switch Operations . . . . . . . . . . . . . 594
VMware Distributed Port Group Operations . . . . . . . . . . . . . 595Edge Virtual Bridge Operations . . . . . . . . . . . . . . . . . . . . 596
Chapter 6. Boot Options . . . . . . . . . . . . . . . . . . . . . 597Stacking Boot Options . . . . . . . . . . . . . . . . . . . . . . . 598
Scheduled Reboot of the Switch . . . . . . . . . . . . . . . . . . . . 601Netboot Configuration . . . . . . . . . . . . . . . . . . . . . . . . 602
Machine Type Model Configuration . . . . . . . . . . . . . . . . . 603USB Boot Configuration . . . . . . . . . . . . . . . . . . . . . . . . 604Updating the Switch Software Image . . . . . . . . . . . . . . . . . . 605
Loading New Software to Your Switch . . . . . . . . . . . . . . . 606Selecting a Software Image to Run . . . . . . . . . . . . . . . . . 607Uploading a Software Image from Your Switch . . . . . . . . . . . . 607
Selecting a Configuration Block . . . . . . . . . . . . . . . . . . . . 608Setting an Entitlement Serial Number . . . . . . . . . . . . . . . . . . 609Rebooting the Switch . . . . . . . . . . . . . . . . . . . . . . . . . 610Changing the Switch Profile . . . . . . . . . . . . . . . . . . . . . . 611Using the Boot Management Menu . . . . . . . . . . . . . . . . . . . 612
Boot Recovery Mode . . . . . . . . . . . . . . . . . . . . . . . 613Recovering from a Failed Image Upgrade using XModem Download . . 614Physical Presence . . . . . . . . . . . . . . . . . . . . . . . . . 616
Chapter 7. Maintenance Commands . . . . . . . . . . . . . . . . 617Forwarding Database Maintenance . . . . . . . . . . . . . . . . . . . 619Debugging Commands . . . . . . . . . . . . . . . . . . . . . . . . 620IPsec Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . 622vLAG Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . 623LLDP Cache Manipulation. . . . . . . . . . . . . . . . . . . . . . . 624ARP Cache Maintenance . . . . . . . . . . . . . . . . . . . . . . . 625IP Route Manipulation . . . . . . . . . . . . . . . . . . . . . . . . 626IGMP Snooping Maintenance . . . . . . . . . . . . . . . . . . . . . 627IGMP Multicast Routers Maintenance . . . . . . . . . . . . . . . . . . 628IPv6 Neighbor Cache Manipulation . . . . . . . . . . . . . . . . . . . 629IPv6 Route Maintenance. . . . . . . . . . . . . . . . . . . . . . . . 630Stacking Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . 631Uuencode Flash Dump . . . . . . . . . . . . . . . . . . . . . . . . 632TFTP, SFTP or FTP System Dump Copy . . . . . . . . . . . . . . . . . 633Clearing Dump Information . . . . . . . . . . . . . . . . . . . . . . 634Unscheduled System Dumps. . . . . . . . . . . . . . . . . . . . . . 635
-
© Copyright Lenovo 2015 Contents 13
Appendix A. Lenovo N/OS System Log Messages . . . . . . . . . . 637LOG_ALERT . . . . . . . . . . . . . . . . . . . . . . . . . . . . 638LOG_CRIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 642LOG_ERR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643LOG_INFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 646LOG_NOTICE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 650LOG_WARNING . . . . . . . . . . . . . . . . . . . . . . . . . . 658
Appendix B. Getting help and technical assistance . . . . . . . . . . 661
Appendix C. Notices. . . . . . . . . . . . . . . . . . . . . . . 663Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665Important Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . 666Recycling Information . . . . . . . . . . . . . . . . . . . . . . . . . 667Particulate Contamination . . . . . . . . . . . . . . . . . . . . . . . 668Telecommunication Regulatory Statement . . . . . . . . . . . . . . . . 669Electronic Emission Notices . . . . . . . . . . . . . . . . . . . . . . 670
Federal Communications Commission (FCC) Statement . . . . . . . . 670Industry Canada Class A Emission Compliance Statement . . . . . . . 670Avis de Conformité à la Réglementation dʹIndustrie Canada . . . . . . 670Australia and New Zealand Class A Statement . . . . . . . . . . . . 670European Union EMC Directive Conformance Statement . . . . . . . . 670Germany Class A Statement . . . . . . . . . . . . . . . . . . . . 671Japan VCCI Class A Statement . . . . . . . . . . . . . . . . . . . 672Japan Electronics and Information Technology Industries Association (JEITA) Statement . . . . . . . . . . . . . . . . . . . . . . . . . 673Korea Communications Commission (KCC) Statement . . . . . . . . . 673
Russia Electromagnetic Interference (EMI) Class A statement . . . . . . . . 674People’s Republic of China Class A electronic emission statement . . . . . . 675Taiwan Class A compliance statement . . . . . . . . . . . . . . . . . . 676
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677
-
14 G8052 Command Reference for N/OS 8.3
-
© Copyright Lenovo 2015 15
PrefaceThe Lenovo RackSwitch G8052 ISCLI—Industry Standard CLI Command Reference for Networking OS 8.3 describes how to configure and use the Lenovo N/OS 8.3 software with your RackSwitch G8052 (referred to as G8052 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 Installation Guide for your RackSwitch G8052. For details about configuration and operation of your G8052, see the Lenovo N/OS 8.3 Application Guide.
-
16 G8052 Command Reference for N/OS 8.3
Who Should Use This BookThis 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 2015 Preface 17
How This Book Is OrganizedChapter 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, Port Trunking 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, “Lenovo N/OS 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 G8052 Command Reference for N/OS 8.3
Typographic ConventionsThe following table describes the typographic styles used in this book.
Table 1. Typographic Conventions
Typeface or Symbol Meaning
plain fixedwidth 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 fixedwidth text
This bold type appears in command examples. It shows text that must be typed in exactly as shown. For example:
show sysinfo
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 isping
you enterping 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.