Sie sind auf Seite 1von 684

LenovoRackSwitchG8052

ISCLIIndustryStandardCLI
CommandReference
ForNetworkingOS8.3

Note:Beforeusingthisinformationandtheproductitsupports,readthegeneralinformationintheSafetyinformationand
EnvironmentalNoticesandUserGuidedocumentsontheLenovoDocumentationCDandtheWarrantyInformationdocumentthatcomes
withtheproduct.

FirstEdition(May2015)
CopyrightLenovo2015
PortionsCopyrightIBMCorporation2014.
LIMITEDANDRESTRICTEDRIGHTSNOTICE:IfdataorsoftwareisdeliveredpursuantaGeneralServices
AdministrationGSAcontract,use,reproduction,ordisclosureissubjecttorestrictionssetforthinContractNo.
GS35F05925.
LenovoandtheLenovologoaretrademarksofLenovointheUnitedStates,othercountries,orboth.

Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
WhoShouldUseThisBook .......................16
HowThisBookIsOrganized .......................17
TypographicConventions ........................18
Chapter 1. ISCLI Basics . . . . . . . . . . . . . . . . . . . . . 21
ISCLICommandModes.........................22
GlobalCommands ...........................26
CommandLineInterfaceShortcuts....................28
CLIListandRangeInputs......................28
CommandAbbreviation .......................28
TabCompletion...........................28
UserAccessLevels ...........................29
IdleTimeout..............................30
Chapter 2. Information Commands . . . . . . . . . . . . . . . . 31
SystemInformation...........................32
CLIDisplayInformation.......................34
ErrorDisableandRecoveryInformation ................35
SNMPv3SystemInformation .....................36
SNMPv3USMUserTableInformation ...............37
SNMPv3ViewTableInformation .................38
SNMPv3AccessTableInformation ................39
SNMPv3GroupTableInformation.................40
SNMPv3CommunityTableInformation..............40
SNMPv3TargetAddressTableInformation .............41
SNMPv3TargetParametersTableInformation ...........42
SNMPv3NotifyTableInformation.................42
SNMPv3DumpInformation...................43
GeneralSystemInformation .....................44
ShowSpecificSystemInformation.................45
ShowRecentSyslogMessages ....................46
UserStatus .............................47
StackingInformation ..........................48
StackingSwitchInformation .....................51
Layer2Information ...........................52
802.1XInformation .........................55
FDBInformation ..........................57
FDBMulticastInformation....................58
ShowAllFDBInformation....................59
ClearingEntriesfromtheForwardingDatabase ...........59
LinkAggregationControlProtocolInformation .............60
LinkAggregationControlProtocol ................61
Layer2FailoverInformation .....................62
Layer2FailoverInformation ...................62
HotLinksInformation ........................64
LLDPInformation..........................65
Copyright Lenovo 2015

LLDPRemoteDeviceInformation ................. 66
UnidirectionalLinkDetectionInformation............... 67
UDLDPortInformation ..................... 67
802.1xDiscoveryInformation..................... 68
802.1xPortInformation..................... 68
OAMDiscoveryInformation..................... 69
OAMPortInformation...................... 69
vLAGInformation......................... 70
vLAGTrunkInformation .................... 71
SpanningTreeInformation...................... 72
RSTPInformation........................ 73
PVRSTInformation....................... 75
SpanningTreeBridgeInformation................. 77
SpanningTreeRootInformation ................. 78
MultipleSpanningTreeInformation ................ 79
TrunkGroupInformation ...................... 81
VLANInformation......................... 82
Layer3Information........................... 84
IPRoutingInformation ....................... 88
ShowAllIPRouteInformation.................. 89
ARPInformation .......................... 91
ARPAddressListInformation.................. 92
ShowAllARPEntryInformation................. 93
DynamicARPInspectionInformation............... 94
BGPInformation.......................... 95
BGPPeerInformation...................... 96
BGPSummaryInformation .................... 96
DumpBGPInformation ..................... 96
OSPFInformation.......................... 97
OSPFGeneralInformation.................... 99
OSPFInterfaceInformation .................... 99
OSPFLoopbackInformation .................. 100
OSPFPortInformation ..................... 100
OSPFInformationRouteCodes ................. 100
OSPFDatabaseInformation .................. 101
OSPFv3Information ....................... 103
OSPFv3InformationDump................... 105
OSPFv3InterfaceInformation.................. 105
OSPFv3DatabaseInformation ................. 106
OSPFv3RouteCodesInformation................ 107
RoutingInformationProtocol ................... 108
RIPRoutesInformation.................... 109
RIPInterfaceInformation ................... 109
IPv6RoutingInformation ..................... 110
IPv6RoutingTableInformation ................. 111
IPv6NeighborCacheInformation.................. 112
IPv6NeighborCacheInformation................ 112
IPv6NeighborDiscoveryPrefixInformation ............. 113
ECMPStaticRouteInformation ................... 114
IGMPInformation ........................ 115
IGMPQuerierInformation ................... 117

G8052 Command Reference for N/OS 8.3

IGMPGroupInformation....................118
IGMPMulticastRouterInformation...............118
IPMCGroupInformation ....................119
MLDInformation.........................120
VRRPInformation ........................122
InterfaceInformation.......................124
IPv6InterfaceInformation.....................125
IPv6PathMTUInformation....................126
IPInformation ..........................127
IKEv2Information ........................129
IKEv2InformationDump....................130
IPSecurityInformation ......................131
IPsecManualPolicyInformation ................132
DHCPSnoopingBindingTableInformation.............133
PIMInformation.........................134
PIMComponentInformation ..................135
PIMInterfaceInformation ...................135
PIMNeighborInformation ...................136
PIMMulticastRouteInformationCommands...........137
PIMMulticastRouteInformation ................138
QualityofServiceInformation.....................139
802.1pInformation........................140
WREDandECNInformation....................141
AccessControlListInformation ....................142
AccessControlListInformation ...................143
AccessControlIPv6ListInformation ................145
OpenFlowInformation........................146
OpenFlowGlobalConfigurationInformation.............147
OpenFlowFlowAllocationInformation ...............149
OpenFlowGroupInformation...................151
OpenFlowConfigurationInformation ................152
OpenFlowTableInformation....................154
RMONInformationCommands....................156
RMONHistoryInformation....................157
RMONAlarmInformation.....................158
RMONEventInformation .....................159
LinkStatusInformation ........................160
PortInformation...........................161
PortTransceiverStatus........................162
VMReadyInformation ........................164
VMInformation .........................165
VMCheckInformation ......................166
VMwareInformation.......................166
VMwareHostInformation ...................167
EVBInformation...........................168
InformationDump ..........................169

Copyright Lenovo 2015

Contents

Chapter 3. Statistics Commands . . . . . . . . . . . . . . . . . 171


PortStatistics ............................ 172
802.1XAuthenticatorStatistics ................... 175
802.1XAuthenticatorDiagnostics.................. 176
BootStrapProtocolRelayStatistics ................. 179
BridgingStatistics......................... 180
EthernetStatistics ......................... 181
InterfaceStatistics......................... 184
InterfaceProtocolStatistics ..................... 187
LinkStatistics .......................... 187
RMONStatistics ......................... 188
QoSQueueCounterBasedStatistics................. 191
QoSQueueRateBasedStatistics .................. 192
TrunkGroupStatistics........................ 193
Layer2Statistics ........................... 194
FDBStatistics........................... 196
LACPStatistics.......................... 197
HotlinksStatistics ......................... 198
LLDPPortStatistics ........................ 199
OAMStatistics .......................... 200
vLAGStatistics .......................... 201
vLAGISLStatistics ...................... 202
Layer3Statistics ........................... 203
IPv4Statistics .......................... 208
IPv6Statistics .......................... 210
IPv4RouteStatistics........................ 215
IPv6RouteStatistics........................ 216
ARPstatistics........................... 217
DNSStatistics.......................... 218
ICMPStatistics .......................... 219
TCPStatistics........................... 221
UDPStatistics.......................... 223
IGMPStatistics.......................... 224
MLDStatistics .......................... 226
MLDGlobalStatistics ..................... 227
OSPFStatistics .......................... 229
OSPFGlobalStatistics ..................... 230
OSPFv3Statistics ......................... 234
OSPFv3GlobalStatistics .................... 235
VRRPStatistics.......................... 239
PIMStatistics........................... 240
RoutingInformationProtocolStatistics ............... 241
DHCPStatistics.......................... 242
DHCPSnoopingStatistics................... 242
OpenFlowStatistics.......................... 243
ManagementProcessorStatistics .................... 259
MPPacketStatisticsCommands .................. 260
MPPacketStatistics ........................ 261
LoggedPacketStatistics ...................... 265

G8052 Command Reference for N/OS 8.3

TCPStatistics ...........................269
UDPStatistics ..........................270
CPUStatistics...........................271
CPUStatisticsHistory .......................272
QoSStatistics.............................273
AccessControlListStatistics ......................275
ACLStatistics...........................276
VMAPStatistics..........................276
SNMPStatistics ...........................277
NTPStatistics ............................281
StatisticsDump............................283
Chapter 4. Configuration Commands . . . . . . . . . . . . . . . . 285
ViewingandSavingChanges .....................287
SavingtheConfiguration......................287
SystemConfiguration.........................288
SystemErrorDisableandRecoveryConfiguration...........293
LinkFlapDampeningConfiguration ...............294
SystemHostLogConfiguration ...................295
SSHServerConfiguration.....................299
RADIUSServerConfiguration...................301
TACACS+ServerConfiguration...................303
LDAPServerConfiguration ....................308
NTPServerConfiguration.....................310
SystemSNMPConfiguration ....................312
SNMPv3Configuration......................315
UserSecurityModelConfiguration ...............317
SNMPv3ViewConfiguration ..................318
ViewbasedAccessControlModelConfiguration .........319
SNMPv3GroupConfiguration.................320
SNMPv3CommunityTableConfiguration ............321
SNMPv3TargetAddressTableConfiguration ...........322
SNMPv3TargetParametersTableConfiguration .........323
SNMPv3NotifyTableConfiguration ...............324
SystemAccessConfiguration....................325
ManagementNetworkConfiguration ..............326
NETCONFConfiguration ...................328
NETCONFoverSSHConfiguration ...............328
UserAccessControlConfiguration.................329
SystemUserIDConfiguration..................330
StrongPasswordConfiguration .................331
HTTPSAccessConfiguration ..................332
CustomDaylightSavingTimeConfiguration.............335
sFlowConfiguration........................336
sFlowPortConfiguration ....................337
ServerPortConfiguration.....................338
PortConfiguration ..........................339
PortErrorDisableandRecoveryConfiguration ............344
PortLinkFlapDampeningConfiguration.............344
PortLinkConfiguration......................345
Copyright Lenovo 2015

Contents

TemporarilyDisablingaPort .................... 346


UniDirectionalLinkDetectionConfiguration ............. 347
PortOAMConfiguration ..................... 348
PortACLConfiguration ...................... 349
PortWREDConfiguration ..................... 350
PortWREDTransmitQueueConfiguration ............ 351
StackingConfiguration ........................ 352
StackingSwitchConfiguration................... 353
QualityofServiceConfiguration .................... 354
802.1pConfiguration ....................... 354
DSCPConfiguration ....................... 355
ControlPlaneProtection ...................... 356
WeightedRandomEarlyDetectionConfiguration ........... 358
WREDTransmitQueueConfiguration................ 359
AccessControlConfiguration ..................... 360
AccessControlListConfiguration.................. 361
ACLMirroringConfiguration.................. 362
EthernetFilteringConfiguration ................ 362
IPv4FilteringConfiguration .................. 364
TCP/UDPFilteringConfiguration ................ 365
PacketFormatFilteringConfiguration .............. 367
ACLMeteringConfiguration .................. 368
ACLReMarkConfiguration.................. 369
ACLIPv6Configuration ...................... 371
IPv6FilteringConfiguration .................. 372
IPv6TCP/UDPFilteringConfiguration.............. 373
IPv6ReMarkConfiguration .................. 375
IPv6MeteringConfiguration .................. 377
ACLLogConfiguration...................... 378
ACLGroupConfiguration..................... 379
ManagementACLConfiguration .................. 380
MACLIPv4FilteringConfiguration ............... 380
MACLTCP/UDPFilteringConfiguration............. 382
VMAPConfiguration....................... 384
PortMirroring ............................ 390
PortMirroringConfiguration ................... 390
Layer2 Configuration......................... 391
802.1XConfiguration ....................... 391
802.1XGlobalConfiguration .................. 392
802.1XGuestVLANConfiguration............... 394
802.1XPortConfiguration ................... 395
SpanningTreeConfiguration .................... 397
MSTPConfiguration...................... 400
RSTP/PVRSTConfiguration .................. 403
ForwardingDatabaseConfiguration................. 407
StaticMulticastMACConfiguration............... 408
StaticFDBConfiguration .................... 409
ECPConfiguration ........................ 411
LLDPConfiguration ....................... 412
LLDPPortConfiguration.................... 413

G8052 Command Reference for N/OS 8.3

LLDPOptionalTLVconfiguration ................414
TrunkConfiguration .......................416
TrunkHashConfiguration .....................417
TrunkHashSettings......................418
StaticInPortHashSettings...................419
VirtualLinkAggregationGroupConfiguration............420
vLAGHealthCheckConfiguration ...............422
vLAGISLConfiguration ....................423
LinkAggregationControlProtocolConfiguration...........424
LACPPortConfiguration....................425
Layer2FailoverConfiguration...................427
FailoverTriggerConfiguration.................427
FailoverManualMonitorPortConfiguration ...........428
FailoverManualMonitorControlConfiguration ..........429
HotLinksConfiguration......................430
HotLinksTriggerConfiguration ................431
HotLinksMasterConfiguration .................432
HotLinksBackupConfiguration ................433
VLANConfiguration.......................434
ProtocolBasedVLANConfiguration...............435
PrivateVLANConfiguration..................437
FloodingVLANConfigurationMenu ..............438
Layer3Configuration .........................439
IPInterfaceConfiguration .....................441
IPv6NeighborDiscoveryConfiguration...............443
DefaultGatewayConfiguration ...................446
IPv4StaticRouteConfiguration ...................447
IPMulticastRouteConfiguration..................449
ARPConfiguration ........................450
ARPStaticConfiguration ....................450
DynamicARPInspectionConfiguration .............452
IPForwardingConfiguration....................453
NetworkFilterConfiguration ....................454
RoutingMapConfiguration ....................455
IPAccessListConfiguration..................458
PolicyBasedRoutingConfiguration ...............459
AutonomousSystemFilterPathConfiguration..........461
RoutingInformationProtocolConfiguration .............462
RIPInterfaceConfiguration ...................463
RIPRouteRedistributionConfiguration.............465
OpenShortestPathFirstConfiguration ...............466
AreaIndexConfiguration ...................467
OSPFSummaryRangeConfiguration..............469
OSPFInterfaceConfiguration..................470
OSPFVirtualLinkConfiguration................472
OSPFHostEntryConfiguration .................474
OSPFRouteRedistributionConfiguration ............475
OSPFMD5KeyConfiguration .................475
OpenShortestPathFirstVersion3Configuration ...........476
OSPFv3AreaIndexConfiguration ................478
OSPFv3SummaryRangeConfiguration.............481
Copyright Lenovo 2015

Contents

OSPFv3ASExternalRangeConfiguration ............ 482


OSPFv3InterfaceConfiguration ................. 483
OSPFv3overIPSecConfiguration ................ 486
OSPFv3VirtualLinkConfiguration............... 488
OSPFv3overIPSecforVirtualLinkConfiguration ......... 489
OSPFv3HostEntryConfiguration ................ 490
OSPFv3RedistributeEntryConfiguration............ 491
OSPFv3RedistributeConfiguration............... 492
BorderGatewayProtocolConfiguration ............... 493
BGPPeerConfiguration.................... 495
BGPAggregationConfiguration ................ 498
BGPNeighborRedistributionConfiguration ........... 499
IGMPConfiguration ....................... 503
IGMPSnoopingConfiguration ................. 504
IGMPv3Configuration..................... 505
IGMPRelayConfiguration ................... 506
IGMPRelayMulticastRouterConfiguration ........... 507
IGMPStaticMulticastRouterConfiguration........... 508
IGMPFilteringConfiguration .................. 509
IGMPAdvancedConfiguration................. 511
IGMPQuerierConfiguration .................. 512
IKEv2Configuration....................... 515
IKEv2PreshareKeyConfiguration ............... 515
IKEv2ProposalConfiguration ................. 516
IKEv2IdentificationConfiguration............... 517
IPsecConfiguration........................ 518
IPsecTransformSetConfiguration ............... 518
IPsecTrafficSelectorConfiguration............... 519
IPsecDynamicPolicyConfiguration ............... 520
IPsecManualPolicyConfiguration............... 521
DomainNameSystemConfiguration ................ 523
BootstrapProtocolRelayConfiguration ............... 525
BOOTPRelayBroadcastDomainConfiguration .......... 525
Option82Configuration .................... 526
VRRPConfiguration ....................... 527
VirtualRouterConfiguration .................. 528
VirtualRouterPriorityTrackingConfiguration.......... 531
VirtualRouterGroupConfiguration ............... 532
VRRPInterfaceConfiguration ................. 535
VRRPTrackingConfiguration ................. 536
ProtocolIndependentMulticastConfiguration............ 537
PIMComponentConfiguration ................. 538
RPCandidateConfiguration .................. 539
RPStaticConfiguration.................... 539
PIMInterfaceConfiguration.................. 540
IPv6DefaultGatewayConfiguration................ 543
IPv6StaticRouteConfiguration................... 544
IPv6NeighborDiscoveryCacheConfiguration ............ 544
IPv6PathMTUConfiguration ................... 545
IPv6NeighborDiscoveryPrefixConfiguration ............ 545
IPv6PrefixPolicyTableConfiguration................ 547

10

G8052 Command Reference for N/OS 8.3

IPLoopbackInterfaceConfiguration.................548
DHCPSnooping.........................549
RemoteMonitoringConfiguration...................550
RMONHistoryConfiguration ...................550
RMONEventConfiguration ....................551
RMONAlarmConfiguration ....................552
VMReadyConfiguration........................554
VMPolicyBandwidthManagement.................555
VMGroupConfiguration .....................556
VMCheckConfiguration......................559
VMProfileConfiguration .....................560
VMWareConfiguration ......................562
MiscellaneousVMreadyConfiguration ...............563
EdgeVirtualBridgeConfiguration ...................564
EdgeVirtualBridgeVSITypeDatabaseConfiguration.........565
EdgeVirtualBridgeVSITypeProfileConfiguration ..........567
OpenFlowConfiguration .......................568
StaticFlowsConfiguration .....................577
MicroburstDetection .........................581
ServiceLocationProtocolConfiguration.................582
ConfigurationDump .........................584
SavingtheActiveSwitchConfiguration .................585
RestoringtheActiveSwitchConfiguration ................586
USBCopy ..............................587
CopytoUSB...........................587
CopyfromUSB ..........................587

Copyright Lenovo 2015

Contents

11

Chapter 5. Operations Commands. . . . . . . . . . . . . . . . . 589


OperationsLevelPortCommands ................... 590
OperationsLevelVRRPCommands .................. 591
VMwareOperations......................... 592
VMwareDistributedVirtualSwitchOperations ............. 594
VMwareDistributedPortGroupOperations ............. 595
EdgeVirtualBridgeOperations .................... 596
Chapter 6. Boot Options . . . . . . . . . . . . . . . . . . . . . 597
StackingBootOptions ....................... 598
ScheduledRebootoftheSwitch .................... 601
NetbootConfiguration........................ 602
MachineTypeModelConfiguration ................. 603
USBBootConfiguration ........................ 604
UpdatingtheSwitchSoftwareImage.................. 605
LoadingNewSoftwaretoYourSwitch ............... 606
SelectingaSoftwareImagetoRun ................. 607
UploadingaSoftwareImagefromYourSwitch............ 607
SelectingaConfigurationBlock .................... 608
SettinganEntitlementSerialNumber.................. 609
RebootingtheSwitch ......................... 610
ChangingtheSwitchProfile ...................... 611
UsingtheBootManagementMenu ................... 612
BootRecoveryMode....................... 613
RecoveringfromaFailedImageUpgradeusingXModemDownload .. 614
PhysicalPresence......................... 616
Chapter 7. Maintenance Commands . . . . . . . . . . . . . . . . 617
ForwardingDatabaseMaintenance................... 619
DebuggingCommands........................ 620
IPsecDebugging ........................... 622
vLAGDebugging .......................... 623
LLDPCacheManipulation....................... 624
ARPCacheMaintenance ....................... 625
IPRouteManipulation........................ 626
IGMPSnoopingMaintenance..................... 627
IGMPMulticastRoutersMaintenance .................. 628
IPv6NeighborCacheManipulation ................... 629
IPv6RouteMaintenance........................ 630
StackingMaintenance ......................... 631
UuencodeFlashDump ........................ 632
TFTP,SFTPorFTPSystemDumpCopy................. 633
ClearingDumpInformation ...................... 634
UnscheduledSystemDumps...................... 635

12

G8052 Command Reference for N/OS 8.3

Appendix A. Lenovo N/OS System Log Messages . . . . . . . . . . 637


LOG_ALERT............................638
LOG_CRIT.............................642
LOG_ERR ..............................643
LOG_INFO .............................646
LOG_NOTICE ............................650
LOG_WARNING ..........................658
Appendix B. Getting help and technical assistance . . . . . . . . . . 661
Appendix C. Notices . . . . . . . . . . . . . . . . . . . . . . . 663
Trademarks .............................665
ImportantNotes ...........................666
RecyclingInformation .........................667
ParticulateContamination .......................668
TelecommunicationRegulatoryStatement ................669
ElectronicEmissionNotices ......................670
FederalCommunicationsCommission(FCC)Statement ........670
IndustryCanadaClassAEmissionComplianceStatement.......670
AvisdeConformitlaRglementationdIndustrieCanada ......670
AustraliaandNewZealandClassAStatement ............670
EuropeanUnionEMCDirectiveConformanceStatement ........670
GermanyClassAStatement....................671
JapanVCCIClassAStatement ...................672
JapanElectronicsandInformationTechnologyIndustriesAssociation
(JEITA) Statement .........................673
KoreaCommunicationsCommission(KCC)Statement .........673
RussiaElectromagneticInterference(EMI)ClassAstatement ........674
PeoplesRepublicofChinaClassAelectronicemissionstatement ......675
TaiwanClassAcompliancestatement ..................676
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677

Copyright Lenovo 2015

Contents

13

14

G8052 Command Reference for N/OS 8.3

Preface
TheLenovoRackSwitchG8052ISCLIIndustryStandardCLICommandReferencefor
NetworkingOS8.3describeshowtoconfigureandusetheLenovoN/OS8.3
softwarewithyourRackSwitchG8052(referredtoasG8052throughoutthis
document).Thisguidelistseachcommand,togetherwiththecompletesyntaxand
afunctionaldescription,fromtheISCommandLineInterface(ISCLI).
Fordocumentationoninstallingtheswitchesphysically,seetheInstallationGuide
foryourRackSwitchG8052.Fordetailsaboutconfigurationandoperationofyour
G8052,seetheLenovoN/OS8.3ApplicationGuide.

Copyright Lenovo 2015

15

Who Should Use This Book


Thisbookisintendedfornetworkinstallersandsystemadministratorsengagedin
configuringandmaintaininganetwork.Theadministratorshouldbefamiliarwith
Ethernetconcepts,IPaddressing,SpanningTreeProtocolandSNMPconfiguration
parameters.

16

G8052 Command Reference for N/OS 8.3

How This Book Is Organized


Chapter 1,ISCLIBasics,describeshowtoconnecttotheswitchandaccessthe

informationandconfigurationcommands.Thischapterprovidesanoverviewof
thecommandsyntax,includingcommandmodes,globalcommandsand
shortcuts.
Chapter 2,InformationCommands,showshowtoviewswitchconfiguration

parameters.
Chapter 3,StatisticsCommands,showshowtoviewswitchperformancestatistics.
Chapter 4,ConfigurationCommands,showshowtoconfigureswitchsystem

parameters,ports,VLANs,SpanningTreeProtocol,SNMP,PortMirroring,IP
Routing,PortTrunkingandmore.
Chapter 5,OperationsCommands,showshowtousecommandswhichaffect
switchperformanceimmediately,butdonotalterpermanentswitch
configurations(suchastemporarilydisablingports).Thecommandsdescribehow
toactivateordeactivateoptionalsoftwarefeatures.
Chapter 6,BootOptions,describestheuseoftheprimaryandalternateswitch

images,howtoloadanewsoftwareimageandhowtoresetthesoftwaretofactory
defaults.
Chapter 7,MaintenanceCommands,showshowtogenerateandaccessadumpof

criticalswitchstateinformation,howtoclearitandhowtoclearpartorallofthe
forwardingdatabase.
AppendixA,LenovoN/OSSystemLogMessages,showsalistingofsyslog

messages.
AppendixB,Gettinghelpandtechnicalassistance,liststheresourcesavailable

fromLenovotoassistyou.
AppendixC,Notices,displaysLenovolegalinformation.
Indexincludespointerstothedescriptionofthekeywordsusedthroughoutthe

book.

Copyright Lenovo 2015

Preface

17

Typographic Conventions
Thefollowingtabledescribesthetypographicstylesusedinthisbook.
Table 1. TypographicConventions
Typeface or Symbol

Meaning

plainfixedwidth Thistypeisusedfornamesofcommands,files,and
text
directoriesusedwithinthetext.Forexample:
Viewthereadme.txtfile.
Italsodepictsonscreencomputeroutputandprompts.
boldfixedwidth
text

Thisboldtypeappearsincommandexamples.Itshows
textthatmustbetypedinexactlyasshown.For
example:
showsysinfo

boldbodytext

Thisboldtypeindicatesobjectssuchaswindownames,
dialogboxnames,andicons,aswellasuserinterface
objectssuchasbuttons,andtabs.

italicizedbodytext

Thisitalicizedtypeindicatesbooktitles,specialterms,
orwordstobeemphasized.

anglebrackets<>

Indicateavariabletoenterbasedonthedescription
insidethebrackets.Donottypethebracketswhen
enteringthecommand.
Example:Ifthecommandsyntaxis
ping<IPaddress>
youenter
ping192.32.10.12

braces{}

Indicaterequiredelementsinsyntaxdescriptions
wherethereismorethanoneoption.Youmustchoose
onlyoneoftheoptions.Donottypethebraceswhen
enteringthecommand.
Example:Ifthecommandsyntaxis
showportchannel{<152>|hash|information}
youenter:
show portchannel <152>
or
showportchannelhash
or
showportchannelinformation

18

G8052 Command Reference for N/OS 8.3

Table 1. TypographicConventions(continued)
Typeface or Symbol

Meaning

brackets[]

Indicateoptionalelementsinsyntaxdescriptions.Do
nottypethebracketswhenenteringthecommand.
Example:Ifthecommandsyntaxis
showinterfaceip [<1128>]
youenter
showinterfaceip
or
showinterfaceip <1128>

verticalline|

Separateschoicesforcommandkeywordsand
arguments.Enteronlyoneofthechoices.Donottype
theverticallinewhenenteringthecommand.
Example:Ifthecommandsyntaxis
showportchannel{<152>|hash|information}
youmustenter:
show portchannel <152>
or
showportchannelhash
or
showportchannelinformation

Copyright Lenovo 2015

Preface

19

20

G8052 Command Reference for N/OS 8.3

Chapter 1. ISCLI Basics


YourRackSwitchG8052isreadytoperformbasicswitchingfunctionsrightoutof
thebox.Someofthemoreadvancedfeatures,however,requiresome
administrativeconfigurationbeforetheycanbeusedeffectively.
ThisguidedescribestheindividualISCLIcommandsavailablefortheG8052.
TheISCLIprovidesadirectmethodforcollectingswitchinformationand
performingswitchconfiguration.Usingabasicterminal,theISCLIallowsyouto
viewinformationandstatisticsabouttheswitch,andtoperformanynecessary
configuration.
ThischapterexplainshowtoaccesstheISCommandLineInterface(ISCLI)forthe
switch.

Copyright Lenovo 2015

21

ISCLI Command Modes


TheISCLIhasthreemajorcommandmodeslistedinorderofincreasingprivileges,
asfollows:

UserEXECmode
Thisistheinitialmodeofaccess.Bydefault,passwordcheckingisdisabledfor
thismode,onconsole.

PrivilegedEXECmode
ThismodeisaccessedfromUserEXECmode.Thismodecanbeaccessedusing
thefollowingcommand:enable

GlobalConfigurationmode
Thismodeallowsyoutomakechangestotherunningconfiguration.Ifyousave
theconfiguration,thesettingssurviveareloadoftheG8052.Severalsubmodes
canbeaccessedfromtheGlobalConfigurationmode.Formoredetails,see
Table 2.Thismodecanbeaccessedusingthefollowingcommand:configure
terminal

Eachmodeprovidesaspecificsetofcommands.Thecommandsetofa
higherprivilegemodeisasupersetofalowerprivilegemodealllowerprivilege
modecommandsareaccessiblewhenusingahigherprivilegemode.
ThefollowingtableliststheISCLIcommandmodes.
Table 2. ISCLICommandModes
Command Mode/Prompt

Command used to enter or exit

UserEXEC

Defaultmode,enteredautomaticallyonconsole

RS G8052>

Exit:exitorlogout

PrivilegedEXEC

EnterPrivilegedEXECmode,fromUserEXECmode:enable

RS G8052#

ExittoUserEXECmode:disable
QuitISCLI:exitorlogout

GlobalConfiguration
RS G8052(config)#

EnterGlobalConfigurationmode,fromPrivilegedEXECmode:
configureterminal
ExittoPrivilegedEXEC:endorexit

InterfaceIP
RS G8052(configipif)#

EnterInterfaceIPConfigurationmode,fromGlobal
Configurationmode:interfaceip<IPinterfacenumber>
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

Interfaceloopback
RS G8052(configiploopback)#

EnterInterfaceLoopbackConfigurationmode,fromGlobal
Configurationmode:interfaceloopback<15>
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

22

G8052 Command Reference for N/OS 8.3

Table 2. ISCLICommandModes(continued)
Command Mode/Prompt

Command used to enter or exit

Interfaceport

EnterPortConfigurationmode,fromGlobalConfiguration
mode:
interfaceport<portaliasornumber>

RS G8052(configif)#

ExittoPrivilegedEXECmode:exit
ExittoGlobalConfigurationmode:end
InterfacePortChannel
RS G8052(configPortChannel)#

EnterPortChannel(trunkgroup)Configurationmode,from
GlobalConfigurationmode:
interfaceportchannel{<trunknumber>|lacp<key>}
ExittoPrivilegedEXECmode:exit
ExittoGlobalConfigurationmode:end

VLAN
RS G8052(configvlan)#

EnterVLANConfigurationmode,fromGlobalConfiguration
mode:
vlan<VLANID(14094)>
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

RouterOSPF
RS G8052(configrouterospf)#

EnterOSPFConfigurationmode,fromGlobalConfiguration
mode:
routerospf
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

RouterOSPFv3

EnterOSPFv3Configurationmode,fromGlobalConfiguration
mode:
RS G8052(configrouterospf3)# ipv6routerospf
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end
RouterBGP
RS G8052(configrouterbgp)#

EnterBGPConfigurationmode,fromGlobalConfiguration
mode:
routerbgp
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

RouterRIP
RS G8052(configrouterrip)#

EnterRIPConfigurationmode,fromGlobalConfiguration
mode:
routerrip
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

Copyright Lenovo 2015

Chapter 1: ISCLI Basics

23

Table 2. ISCLICommandModes(continued)
Command Mode/Prompt

Command used to enter or exit

RouteMap

EnterRouteMapConfigurationmode,fromGlobal
Configurationmode:
routemap<1255>

RS G8052(configroutemap)#

ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end
RouterVRRP
RS G8052(configvrrp)#

EnterVRRPConfigurationmode,fromGlobalConfiguration
mode:
routervrrp
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

PIMComponent
RS G8052(configippimcomp)#

EnterProtocolIndependentMulticast(PIM)Component
Configurationmode,fromGlobalConfigurationmode:
ippimcomponent<12>
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

IKEv2Proposal
RS G8052(configikev2prop)#

EnterIKEv2ProposalConfigurationmode,fromGlobal
Configurationmode:
ikev2proposal
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

MLDConfiguration
RS G8052(configroutermld)#

EnterMulticastListenerDiscoveryProtocolConfiguration
mode,fromGlobalConfigurationmode:
ipv6mld
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

MSTConfiguration
RS G8052(configmst)#

EnterMultipleSpanningTreeProtocolConfigurationmode,
fromGlobalConfigurationmode:
spanningtreemstconfiguration
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

OpenFlowInstance
RS G8052(configopenflow
instance)#

EnterOpenFlowInstanceConfigurationmode,fromGlobal
Configurationmode:
openflowinstance<12>
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

24

G8052 Command Reference for N/OS 8.3

Table 2. ISCLICommandModes(continued)
Command Mode/Prompt

Command used to enter or exit

VSIDatabase

EnterVirtualStationInterfaceDatabaseConfigurationmode,
fromGlobalConfigurationmode:
virtevbvsidb<VSIDBnumber>

RS G8052(confvsidb)#

ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end
EVBProfile
RS G8052(confevbprof)#

EnterEdgeVirtualBridgingVSITypeProfileConfiguration
mode,fromGlobalConfigurationmode:
virtevbprofile<116>
ExittoGlobalConfigurationmode:exit
ExittoPrivilegedEXECmode:end

Copyright Lenovo 2015

Chapter 1: ISCLI Basics

25

Global Commands
SomebasiccommandsarerecognizedthroughouttheISCLIcommandmodes.
Thesecommandsareusefulforobtainingonlinehelp,navigatingthroughthe
interface,andforsavingconfigurationchanges.
Forhelponaspecificcommand,typethecommand,followedbyhelp.
Table 3. DescriptionofGlobalCommands
Command

Action

Providesmoreinformationaboutaspecific
commandorlistscommandsavailableatthecurrent
level.

list

Liststhecommandsavailableatthecurrentlevel.

exit

Gouponelevelinthecommandmodestructure.If
alreadyatthetoplevel,exitfromthecommandline
interfaceandlogout.

copyrunningconfig Writeconfigurationchangestononvolatileflash
startupconfig
memory.
logout

Exitfromthecommandlineinterfaceandlogout.

ping

Usethiscommandtoverifystationtostation
connectivityacrossthenetwork.Theformatisas
follows:
ping<hostname>|<IPaddress>[n<tries
(04294967295)>][w<msecdelay(04294967295)>]
[l<length(0/3265500/2080)>][s<IPsource>]
[i<ttl(1255)>][v<tos(0255)>][f][t]
Where:

n:Setsthenumberofattempts(optional).

w:Setsthenumberofmillisecondsbetween
attempts(optional).

l:Setsthepingrequestpayloadsize
(optional).

s:SetstheIPsourceaddressfortheIPpacket
(optional).

i:SetstheTimetoliveintheIPheader.

v:SetstheTypeofServicebitsintheIPheader.

f:SetsthedontfragmentbitintheIPheader
(onlyforIPv4addresses).

t:Pingscontinuously(sameasn0).

26

G8052 Command Reference for N/OS 8.3

Table 3. DescriptionofGlobalCommands
Command

Action

traceroute

Usethiscommandtoidentifytherouteusedfor
stationtostationconnectivityacrossthenetwork.
Theformatisasfollows:
traceroute<hostname>|<IPaddress>
[<maxhops(132)>[<msecdelay(14294967295)>]]
Wherehostname/IPaddressisthehostnameorIP
addressofthetargetstation,maxhops(optional)is
themaximumdistancetotrace(132devices),and
msecdelay(optional)isthenumberofmillisecondsto
waitfortheresponse.
Aswithping,theDNSparametersmustbe
configuredifspecifyinghostnames.

telnet

ThiscommandisusedtoformaTelnetsession
betweentheswitchandanothernetworkdevice.The
formatisasfollows:
telnet{<hostname>|<IPaddress>}[<port>]
WhereIPaddressorhostnamespecifiesthetarget
station.UseofahostnamerequiresDNSparameters
tobeconfiguredontheswitch.
PortisthelogicalTelnetportorservicenumber.

Copyright Lenovo 2015

showhistory

Thiscommanddisplaysthelasttenissued
commands.

showwho

Displaysalistofuserswhoarecurrentlyloggedin.

showline

Displaysalistofuserswhoarecurrentlyloggedin,
intableformat.

Chapter 1: ISCLI Basics

27

Command Line Interface Shortcuts


Thefollowingshortcutsallowyoutoentercommandsquicklyandeasily.

CLI List and Range Inputs


ForVLANandportcommandsthatallowanindividualitemtobeselectedfrom
withinanumericrange,listsandrangesofitemscannowbespecified.For
example,thevlancommandpermitsthefollowingoptions:
RS
RS
RS
RS

G8052(config)#vlan1,3,4094
(accessVLANs1,3,and4094)
G8052(config)#vlan120
(accessVLANs1through20)
G8052(config)#vlan15,9099,40904094(accessmultipleranges)
G8052(config)#vlan15,19,20,40904094(accessamixoflistsandranges)

Thenumbersinarangemustbeseparatedbyadash:<startofrange><endofrange>
Multiplerangesorlistitemsarepermittedusingacomma:<rangeoritem1>,
<rangeoritem2>
Donotusespaceswithinlistandrangespecifications.
Rangescanalsobeusedtoapplythesamecommandoptiontomultipleitems.For
example,toaccessmultipleportswithonecommand:
RS G8052(config)#interfaceport14

(Accessports1though4)

Command Abbreviation
Mostcommandscanbeabbreviatedbyenteringthefirstcharacterswhich
distinguishthecommandfromtheothersinthesamemode.Forexample,consider
thefollowingfullcommandandavalidabbreviation:
RS G8052(config)#showmacaddresstableinterfaceport12

or:
RS G8052(config)#shmaip12

Tab Completion
Byenteringthefirstletterofacommandatanypromptandpressing<Tab>,the
ISCLIdisplaysallavailablecommandsoroptionsthatbeginwiththatletter.
Enteringadditionallettersfurtherrefinesthelistofcommandsoroptions
displayed.Ifonlyonecommandfitstheinputtextwhen<Tab>ispressed,that
commandissuppliedonthecommandline,waitingtobeentered.
Ifmultiplecommandssharethetypedcharacters,whenyoupress<Tab>,the
ISCLIcompletesthecommonpartofthesharedsyntax.

28

G8052 Command Reference for N/OS 8.3

User Access Levels


Toenablebetterswitchmanagementanduseraccountability,threelevelsorclasses
ofuseraccesshavebeenimplementedontheG8052.LevelsofaccesstoCLI,Web
managementfunctions,andscreensincreaseasneededtoperformvariousswitch
managementtasks.Conceptually,accessclassesaredefinedasfollows:

user
Interactionwiththeswitchiscompletelypassivenothingcanbechangedon
theG8052.Usersmaydisplayinformationthathasnosecurityorprivacy
implications,suchasswitchstatisticsandcurrentoperationalstateinformation.

oper
OperatorscanmaketemporarychangesontheG8052.Thesechangesarelost
whentheswitchisrebooted.Operatorshaveaccesstotheswitchmanagement
featuresusedfordailyswitchoperations.Becauseanychangesanoperator
makesareundonebyarebootoftheswitch,operatorscannotseverelyimpact
switchoperation.

admin
Administratorsaretheonlyonesthatmaymakepermanentchangestothe
switchconfigurationchangesthatarepersistentacrossarebootoftheswitch.
Administratorscanaccessswitchfunctionstoconfigureandtroubleshoot
problemsontheG8052.Becauseadministratorscanalsomaketemporary
(operatorlevel)changesaswell,theymustbeawareoftheinteractionsbetween
temporaryandpermanentchanges.

Accesstoswitchfunctionsiscontrolledthroughtheuseofuniquesurnamesand
passwords.OnceyouareconnectedtotheswitchvialocalTelnet,remoteTelnet,or
SSH,youarepromptedtoenterapassword.Thedefaultusernames/passwordfor
eachaccesslevelarelistedinthefollowingtable.
Note: Itisrecommendedthatyouchangedefaultswitchpasswordsafterinitial
configurationandasregularlyasrequiredunderyournetworksecuritypolicies.
Table 4. UserAccessLevels
User Account

Description and Tasks Performed

Password

User

TheUserhasnodirectresponsibilityforswitch
management.Heorshecanviewallswitchstatus
informationandstatistics,butcannotmakeany
configurationchangestotheswitch.

Operator

TheOperatorcanmaketemporarychangesthat
arelostwhentheswitchisrebooted.Operators
haveaccesstotheswitchmanagementfeatures
usedfordailyswitchoperations.

ThesuperuserAdministratorhascompleteaccess admin
Administrator toallcommandmodes,information,and
configurationcommandsontheRackSwitch
G8052,includingtheabilitytochangeboththe
userandadministratorpasswords.

Note: Withtheexceptionoftheadminuser,accesstoeachuserlevelcanbe
disabledbysettingthepasswordtoanemptyvalue.
Copyright Lenovo 2015

Chapter 1: ISCLI Basics

29

Idle Timeout
Bydefault,theswitchwilldisconnectyourTelnetsessionaftertenminutesof
inactivity.Thisfunctioniscontrolledbythefollowingcommand,whichcanbeset
from1to60minutes,ordisabledwhensetto0:
systemidle<060>
Commandmode:GlobalConfiguration

30

G8052 Command Reference for N/OS 8.3

Chapter 2. Information Commands


Youcanviewconfigurationinformationfortheswitchinboththeuserand
administratorcommandmodes.Thischapterdiscusseshowtousethecommand
lineinterfacetodisplayswitchinformation.
Table 5. InformationCommands
Command Syntax and Usage

showinterfacestatus<portaliasornumber>
Displaysconfigurationinformationabouttheselectedport(s),including:

Portaliasandnumber

Portspeed

Duplexmode(half,fullorauto)

Flowcontrolfortransmitandreceive(no,yesorboth)

Linkstatus(up,downordisabled)

Portdescription

Fordetails,seepage 160.
Commandmode:All
showinterfacetrunk<portaliasornumber>
Displaysportstatusinformation,including:

Portaliasandnumber

WhethertheportusesVLANTaggingornot

PortVLANID(PVID)

Portdescription

VLANmembership

FDBLearningstatus

Floodingstatus

Fordetails,seepage 161.
Commandmode:All
showinterfacetransceiver
Displaysthestatusoftheporttransceivermoduleoneachport.Fordetails,see
page 162.
Commandmode:All
showinformationdump
Dumpsallswitchinformationavailable(10Kormore,dependingonyour
configuration).
Ifyouwanttocapturedumpdatatoafile,setyourcommunicationsoftware
onyourworkstationtocapturesessiondatapriortoissuingthedump
commands.
Commandmode:All

Copyright Lenovo 2015

31

System Information
Theinformationprovidedbyeachcommandoptionisbrieflydescribedinthe
followingtable,withpointerstowheredetailedinformationcanbefound.
Table 6. SystemInformationOptions
Command Syntax and Usage

showsysinfo
Displayssysteminformation,including:

Systemdateandtime

Switchmodelnameandnumber

Switchnameandlocation

Timeoflastboot

MACaddressoftheswitchmanagementprocessor

IPaddressofmanagementinterface

Hardwareversionandpartnumber

Softwareimagefileandversionnumber

Configurationname

Loginbanner,ifoneisconfigured

Internaltemperatures

Fanstatus

Powersupplystatus

Fordetails,seepage 44.
Commandmode:All

32

G8052 Command Reference for N/OS 8.3

Table 6. SystemInformationOptions(continued)
Command Syntax and Usage

showlogging[messages][severity<07>][reverse]
[|{include|exclude|section|begin|head<12000>|
|last<12000>}]
Displaysthecurrentsyslogconfiguration,followedbythemostrecent2000
syslogmessages.

messagesdisplaysthemostrecent2000syslogmessagesonly

severitydisplayssyslogmessagesofthespecifiedseveritylevel

reversedisplayssyslogmessagesstartingwiththemostrecentmessage

|displayssyslogmessagesthatmatchoneofthefollowingfilters:
includedisplayssyslogmessagesthatmatchthespecifiedexpression
excludedisplayssyslogmessagesthatdontmatchthespecified
expression
sectiondisplayssyslogmessagesthatmatchthespecifiedsection
begindisplayssyslogmessagesbeginningfromthefirstmessagethat
matchesthespecifiedexpression
headdisplaystheoldestsyslogmessagesforthespecifiedvalue
lastdisplaysthemostrecentsyslogmessagesforthespecifiedvalue

Fordetails,seepage 46.
Commandmode:All
showaccessuser
Displaysconfiguredusernamesandtheirstatus.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 2: Information Commands

33

CLI Display Information


Thesecommandsallowyoutodisplayinformationaboutthenumberoflinesper
screendisplayedintheCLI.
Table 7. CLIDisplayInformationOptions
Command Syntax and Usage

showterminallength
DisplaysthenumberoflinesperscreendisplayedintheCLIforthecurrent
session.Avalueof0meanspagingisdisabled.
Commandmode:All
showlineconsolelength
DisplaysthenumberoflinesperscreendisplayedintheCLIbydefaultfor
consolesessions.Avalueof0meanspagingisdisabled.
Commandmode:All
showlinevtylength
DisplaysthenumberoflinesperscreendisplayedintheCLIbydefaultfor
TelnetandSSHsessions.Avalueof0meanspagingisdisabled.
Commandmode:All

34

G8052 Command Reference for N/OS 8.3

Error Disable and Recovery Information


ThesecommandsallowyoutodisplayinformationabouttheErrorDisableand
Recoveryfeatureforinterfaceports.
Table 8. ErrorDisableInformationOptions
Command Syntax and Usage

showerrdisableinformation
DisplaysallErrorDisableandRecoveryinformation.
Commandmode:All
showerrdisablelinkflap[information]
Displaysportsthathavebeendisabledduetoexcessivelinkflaps.
Commandmode:All
showerrdisablerecovery
DisplaysalistportswiththeirErrorRecoverystatus.
Commandmode:All
showerrdisabletimers
Displaysalistofactiverecoverytimers,ifapplicable.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

35

SNMPv3 System Information


SNMPversion3(SNMPv3)isanextensibleSNMPFrameworkthatsupplements
theSNMPv2frameworkbysupportingthefollowing:

anewSNMPmessageformat

securityformessages

accesscontrol

remoteconfigurationofSNMPparameters

FormoredetailsontheSNMPv3architecturepleaserefertoRFC2271toRFC2276.
Table 9. SNMPv3InformationOptions
Command Syntax and Usage

showsnmpserverv3
DisplaysalltheSNMPv3information.Toviewasample,seepage 43.
Commandmode:All
showsnmpserverv3access
DisplaysViewbasedAccessControlinformation.Toviewasample,see
page 39.
Commandmode:All
showsnmpserverv3community
Displaysinformationaboutthecommunitytableinformation.Toviewa
sample,seepage 40.
Commandmode:All
showsnmpserverv3group
Displaysinformationaboutthegroup,includingthesecuritymodel,user
nameandgroupname.Toviewasample,seepage 40.
Commandmode:All
showsnmpserverv3notify
DisplaystheNotifytableinformation.Toviewasample,seepage 42.
Commandmode:All
showsnmpserverv3targetaddress
DisplaystheTargetAddresstableinformation.Toviewasample,seepage 41.
Commandmode:All
showsnmpserverv3targetparameters
DisplaystheTargetparameterstableinformation.Toviewasample,seepage 42.
Commandmode:All

36

G8052 Command Reference for N/OS 8.3

Table 9. SNMPv3InformationOptions(continued)
Command Syntax and Usage

showsnmpserverv3user
DisplaysUserSecurityModel(USM)tableinformation.Toviewthetable,see
page 37.
Commandmode:All
showsnmpserverv3view
Displaysinformationaboutview,subtrees,maskandtypeofview.Toviewa
sample,seepage 38.
Commandmode:All

SNMPv3 USM User Table Information


TheUserbasedSecurityModel(USM)inSNMPv3providessecurityservicessuch
asauthenticationandprivacyofmessages.Thissecuritymodelmakesuseofa
definedsetofuseridentitiesdisplayedintheUSMusertable.Thefollowing
commanddisplaysSNMPv3userinformation:
showsnmpserverv3user
Commandmode:All
TheUSMusertablecontainsthefollowinginformation:
theusername
asecuritynameintheformofastringwhoseformatisindependentofthe
SecuityModel
anauthenticationprotocol,whichisanindicationthatthemessagessenton
behalfoftheusercanbeauthenticated
theprivacyprotocol

EngineID=80:00:4F:4D:03:08:17:F4:8C:E8:00
usmUserTable:
UserNameProtocol

adminmd5HMAC_MD5,DESPRIVACY
adminshaHMAC_SHA,DESPRIVACY
v1v2onlyNOAUTH,NOPRIVACY
adminshaaesHMAC_SHA,AESPRIVACY

Table 10. USMUserTableInformationParameters


Field

Description

UserName Astringrepresentingtheusernameyoucanusetoaccesstheswitch.
Protocol

Copyright Lenovo 2015

Whethermessagessentfromthisuserareprotectedfromdisclosure
usingaprivacyprotocol.LenovoN/OSsupportsDESalgorithmfor
privacyandtwoauthenticationalgorithms:MD5andHMACSHA.

Chapter 2: Information Commands

37

SNMPv3 View Table Information


Theusercancontrolandrestricttheaccessallowedtoagrouptoonlyasubsetof
themanagementinformationinthemanagementdomainthatthegroupcanaccess
withineachcontextbyspecifyingthegroupsrightsintermsofaparticularMIB
viewforsecurityreasons.
ThefollowingcommanddisplaystheSNMPv3ViewTable:
showsnmpserverv3view
Commandmode:All
ViewNameSubtreeMaskType

iso1.3included
v1v2only1.3included
v1v2only1.3.6.1.6.3.15excluded
v1v2only1.3.6.1.6.3.16excluded
v1v2only1.3.6.1.6.3.18excluded

Table 11. SNMPv3ViewTableInformationParameters

38

Field

Description

ViewName

Displaysthenameoftheview.

Subtree

DisplaystheMIBsubtreeasanOIDstring.Aviewsubtreeisthe
setofallMIBobjectinstanceswhichhaveacommonObject
Identifierprefixtotheirnames.

Mask

Displaysthebitmask.

Type

Displayswhetherafamilyofviewsubtreesisincludedor
excludedfromtheMIBview.

G8052 Command Reference for N/OS 8.3

SNMPv3 Access Table Information


Theaccesscontrolsubsystemprovidesauthorizationservices.
ThevacmAccessTablemapsagroupname,securityinformation,acontext,anda
messagetype,whichcouldbethereadorwritetypeofoperationornotification
intoaMIBview.
TheViewbasedAccessControlModeldefinesasetofservicesthatanapplication
canuseforcheckingaccessrightsofagroup.Thisgroupsaccessrightsare
determinedbyareadview,awriteviewandanotifyview.Thereadview
representsthesetofobjectinstancesauthorizedforthegroupwhilereadingthe
objects.Thewriteviewrepresentsthesetofobjectinstancesauthorizedforthe
groupwhenwritingobjects.Thenotifyviewrepresentsthesetofobjectinstances
authorizedforthegroupwhensendinganotification.
ThefollowingcommanddisplaysSNMPv3accessinformation:
showsnmpserverv3access
Commandmode:All
GroupNameModelLevelReadVWriteVNotifyV

v1v2grpsnmpv1noAuthNoPrivisoisov1v2only
admingrpusmauthPrivisoisoiso

Table 12. SNMPv3AccessTableInformation

Copyright Lenovo 2015

Field

Description

GroupName

Displaysthenameofgroup.

Model

Displaysthesecuritymodelused,forexample,SNMPv1,or
SNMPv2orUSM.

Level

Displaystheminimumlevelofsecurityrequiredtogainrights
ofaccess.Forexample,noAuthNoPriv,authNoPriv,or
authPriv.

ReadV

DisplaystheMIBviewtowhichthisentryauthorizestheread
access.

WriteV

DisplaystheMIBviewtowhichthisentryauthorizesthewrite
access.

NotifyV

DisplaystheNotifyviewtowhichthisentryauthorizesthe
notifyaccess.

Chapter 2: Information Commands

39

SNMPv3 Group Table Information


Agroupisacombinationofsecuritymodelandsecuritynamethatdefinesthe
accessrightsassignedtoallthesecuritynamesbelongingtothatgroup.Thegroup
isidentifiedbyagroupname.
ThefollowingcommanddisplaysSNMPv3groupinformation:
showsnmpserverv3group
Commandmode:All
AllactiveSNMPv3groupsarelistedbelow:
SecModelUserNameGroupName

snmpv1v1v2onlyv1v2grp
usmadminmd5admingrp
usmadminshaadmingrp
usmadminshaaesadmingrp

Table 13. SNMPv3GroupTableInformationParameters


Field

Description

SecModel

Displaysthesecuritymodelused,whichisanyoneof:USM,
SNMPv1,SNMPv2,andSNMPv3.

UserName

Displaysthenameforthegroup.

GroupName

Displaystheaccessnameofthegroup.

SNMPv3 Community Table Information


ThefollowingcommanddisplaystheSNMPv3communitytableinformation
storedintheSNMPengine:
showsnmpserverv3community
Commandmode:All
IndexNameUserNameTag

trap1publicv1v2onlyv1v2trap

Table 14. SNMPv3CommunityTableInformationParameters


Field

Description

Index

Displaystheuniqueindexvalueofarowinthistable

Name

Displaysthecommunitystring,whichrepresentstheconfiguration.

UserName DisplaystheUserSecurityModel(USM)username.
Tag

40

Displaysthecommunitytag.Thistagspecifiesasetoftransport
endpointsfromwhichacommandresponderapplicationaccepts
managementrequestsandtowhichacommandresponder
applicationsendsanSNMPtrap.

G8052 Command Reference for N/OS 8.3

SNMPv3 Target Address Table Information


ThefollowingcommanddisplaysSNMPv3targetaddressinformationstoredin
theSNMPengine:
showsnmpserverv3targetaddress
Commandmode:All
NameTransportAddrPortTaglistParams

trap147.81.25.66162v1v2trapv1v2param

Table 15. SNMPv3TargetAddressTableInformationParameters

Copyright Lenovo 2015

Field

Description

Name

Displaysthelocallyarbitrary,butuniqueidentifierassociated
withthissnmpTargetAddrEntry.

Transport
Addr

Displaysthetransportaddresses.

Port

DisplaystheSNMPUDPportnumber.

Taglist

Thiscolumncontainsalistoftagvalueswhichareusedtoselect
targetaddressesforaparticularSNMPmessage.

Params

Thevalueofthisobjectidentifiesanentryinthe
snmpTargetParamsTable.Theidentifiedentrycontains
SNMPparameterstobeusedwhengeneratingmessagestobe
senttothistransportaddress.

Chapter 2: Information Commands

41

SNMPv3 Target Parameters Table Information


ThefollowingcommanddisplaysSNMPv3targetparametersinformation:
showsnmpserverv3targetparameters
Commandmode:All
NameMPModelUserNameSecModelSecLevel

v1v2paramsnmpv2cv1v2onlysnmpv1noAuthNoPriv

Table 16. SNMPv3TargetParametersTableInformation


Field

Description

Name

Displaysthelocallyarbitrary,butuniqueidentifierassociatedwith
thissnmpTargeParamsEntry.

MPModel

DisplaystheMessageProcessingModelusedwhengenerating
SNMPmessagesusingthisentry.

UserName

DisplaysthesecurityName,whichidentifiestheentryonwhose
behalfSNMPmessageswillbegeneratedusingthisentry.

SecModel

DisplaysthesecuritymodelusedwhengeneratingSNMP
messagesusingthisentry.Thesystemmaychoosetoreturnan
inconsistentValueerrorifanattemptismadetosetthis
variabletoavalueforasecuritymodelthesystemdoesnot
support.

SecLevel

DisplaysthelevelofsecurityusedwhengeneratingSNMP
messagesusingthisentry.

SNMPv3 Notify Table Information


ThefollowingcommanddisplaystheSNMPv3NotifyTable:
showsnmpserverv3notify
Commandmode:All
NameTag

v1v2trapv1v2trap

Table 17. SNMPv3NotifyTableInformation

42

Field

Description

Name

Thelocallyarbitrary,butuniqueidentifierassociatedwiththis
snmpNotifyEntry.

Tag

Thisrepresentsasingletagvaluewhichisusedtoselectentriesin
thesnmpTargetAddrTable.Anyentryinthe
snmpTargetAddrTablethatcontainsatagvalueequaltothe
valueofthisentry,isselected.Ifthisentrycontainsavalueofzero
length,noentriesareselected.

G8052 Command Reference for N/OS 8.3

SNMPv3 Dump Information


ThefollowingcommanddisplaysSNMPv3information:
showsnmpserverv3
Commandmode:All
EngineID=80:00:4F:4D:03:08:17:F4:8C:E8:00
usmUserTable:
UserNameProtocol

adminmd5HMAC_MD5,DESPRIVACY
adminshaHMAC_SHA,DESPRIVACY
v1v2onlyNOAUTH,NOPRIVACY
adminshaaesHMAC_SHA,AESPRIVACY
vacmAccessTable:
GroupNameModelLevelReadVWriteVNotifyV

v1v2grpsnmpv1noAuthNoPrivisoisov1v2only
admingrpusmauthPrivisoisoiso
vacmViewTreeFamilyTable:
ViewNameSubtreeMaskType

iso1included
v1v2only1included
v1v2only1.3.6.1.6.3.15excluded
v1v2only1.3.6.1.6.3.16excluded
v1v2only1.3.6.1.6.3.18excluded
vacmSecurityToGroupTable:
AllactiveSNMPv3groupsarelistedbelow:
SecModelUserNameGroupName

snmpv1v1v2onlyv1v2grp
usmadminmd5admingrp
usmadminshaadmingrp
usmadminshaaesadmingrp
snmpCommunityTable:
IndexNameUserNameTag

trap1publicv1v2onlyv1v2trap
snmpNotifyTable:
NameTag

v1v2trapv1v2trap
snmpTargetAddrTable:
NameTransportAddrPortTaglistParams

trap147.81.25.66162v1v2trapv1v2param
snmpTargetParamsTable:
NameMPModelUserNameSecModelSecLevel

v1v2paramsnmpv2cv1v2onlysnmpv1noAuthNoPriv

Copyright Lenovo 2015

Chapter 2: Information Commands

43

General System Information


Thefollowingcommanddisplayssysteminformation:
showsysinfo
Commandmode:All
SystemInformationat15:03:47TueApr7,2015
Timezone:Notimezoneconfigured
DaylightSavingsTimeStatus:Disabled
LenovoRackSwitchG8052
Switchhasbeenupfor0days,0hours,9minutesand38seconds.
Lastboot:17:16:46SunDec27,2003(resetfromconsole)
MACaddress:de:eb:00:00:00:00IP(If1)address:192.168.49.50
HardwareRevision:0
BoardRevision:*
SwitchSerialNo:CH4105001Q
HardwarePartNo:BAC0006900SparePartNo:BAC0006900
Manufacturingdate:11/04

SoftwareVersion8.3.1(FLASHimage2),activeconfiguration.
Bootkernelversion8.3.1
USBBoot:disabled

TemperatureTop:29C
TemperatureBottom:23C
TemperatureFanCtrl88:31C
TemperatureFanCtrl8a:34C
TemperatureFanCtrl8c:35C
TemperaturePhy0x01:39C
TemperaturePhy0x09:36C
TemperaturePhy0x11:38C
TemperaturePhy0x21:37C
TemperaturePhy0x29:38C
TemperaturePhy0x31:38C
SystemWarningat60C/Shutdownat80C/SetPointis55C
PHYsWarningat100C/Shutdownat120C
Fan1Module1:NotInstalled
Fan2Module1:NotInstalled
Fan3Module2:7837rpm90pwm(9%bias:65)FrontToBack
Fan4Module2:5325rpm90pwm(9%bias:65)FrontToBack
Fan5Module3:7917rpm90pwm(9%bias:65)FrontToBack
Fan6Module3:5465rpm90pwm(9%bias:65)FrontToBack
Fan7Module4:8083rpm90pwm(9%bias:65)FrontToBack
Fan8Module4:5421rpm90pwm(9%bias:65)FrontToBack
SystemFanAirflow:FrontToBack
PowerSupply1:FrontToBack[DS4503_REV02.XM]
PowerSupply2:FrontToBack[DS4503_REV02.XM]
PowerFaults:PS1VinPS1Pwr
FanFaults:None
ServiceFaults:None

44

G8052 Command Reference for N/OS 8.3

Note: Thedisplayoftemperaturewillcomeuponlyifthetemperatureofanyof
thesensorsexceedsthetemperaturethreshold.Therewillbeawarningfromthe
softwareifanyofthesensorsexceedsthistemperaturethreshold.Theswitchwill
shutdownifthepowersupplyoverheats.
Systeminformationincludes:

Systemdateandtime

Switchmodel

Switchnameandlocation

Timeoflastboot

MACaddressoftheswitchmanagementprocessor

Softwareimagefileandversionnumber,andconfigurationname.

IPaddressofthemanagementinterface

Hardwareversionandpartnumber

Loginbanner,ifoneisconfigured

Internaltemperatures

Fanstatus

Powersupplystatus

Show Specific System Information


Thefollowingtablelistscommandsusedfordisplayingspecificentriesfromthe
generalsysteminformationscreen.
Table 18. SpecificSystemInformationOptions
Command Syntax and Usage

showenvironmentfan
Displaysinformationaboutinternaltemperaturesandfanstatus.
Commandmode:All
showenvironmentpower
Displaysinformationaboutpowersupplystatus.
Commandmode:All
showversionbrief
Displaysthesoftwareversionnumber,imagefileandconfigurationname.For
asampleoutput,seebelow.
Commandmode:All
Sampleoutputforcommandshowversionbrief:
SoftwareVersion8.3.1(FLASHimage2),activeconfiguration.

Displaysthesoftwareversionnumber,imagefileandconfigurationname.

Copyright Lenovo 2015

Chapter 2: Information Commands

45

Show Recent Syslog Messages


Thefollowingcommanddisplayssystemlogmessages:
showlogging[messages][severity<07>][reverse]
Commandmode:All
Currentsyslogconfiguration:
host0.0.0.0,severity7,facility0
host20.0.0.0,severity27,facility20
consoleenabled
severitylevelofconsoleoutput6
severitylevelofwritetoflash7
sysloggingallfeatures
Syslogsourceloopbackinterfacenotset

Nov25:49:53172.25.254.19INFOconsole:Systemlogclearedbyuser
admin.
Nov25:51:23172.25.254.19CRITsystem:FanMod4Removed
Nov25:54:27172.25.254.19CRITsystem:****MAXTEMPERATURE(61)
ABOVEFAILTHRESH****
Nov25:54:27172.25.254.19CRITsystem:****PLATFORMTHERMAL
SHUTDOWN****
Nov26:02:060.0.0.0NOTICEsystem:linkuponmanagementportMGT
Nov26:02:060.0.0.0INFOsystem:bootedversion0.0.0fromFLASH
image2,activeconfiguration
Nov26:02:090.0.0.0NOTICEsystem:SRSFP+insertedatport63is
Approved
Nov26:02:120.0.0.0NOTICEsystem:1mDACinsertedatport64is
Accepted
Nov26:03:11172.25.254.19NOTICEsystem:ReceivedDHCPOffer
IP:172.25.254.19Mask:255.255.0.
Broadcast172.25.255.255GW:172.25.1.1
Nov26:22:54172.25.254.19NOTICEmgmt:admin(admin)loginonConsole
Nov26:33:00172.25.254.19NOTICEmgmt:admin(admin)idletimeout
fromConsole

Eachsyslogmessagehasaseveritylevelassociatedwithit,includedintextformas
aprefixtothelogmessage.Oneofeightdifferentprefixesisused,dependingon
theconditionthattheadministratorisbeingnotifiedof,asshownhere.

EMERG
ALERT
CRIT
ERR
WARNING
NOTICE
INFO
DEBUG

Indicatesthesystemisunusable
Indicatesactionshouldbetakenimmediately
Indicatescriticalconditions
Indicateserrorconditionsorerroredoperations
Indicateswarningconditions
Indicatesanormalbutsignificantcondition
Indicatesaninformationmessage
Indicatesadebuglevelmessage

Theseverityoptionfiltersonlysyslogmessageswithaspecificseveritylevel
between0and7,fromEMERGtoDEBUGcorrespondingly.
Thereverseoptiondisplaystheoutputinreverseorder,fromthenewestentryto
theoldest.

46

G8052 Command Reference for N/OS 8.3

User Status
Thefollowingcommanddisplaysuserstatusinformation:
showaccessuser
Commandmode:AllexceptUserEXEC
Usernames:
userenabledoffline
operdisabledoffline
adminAlwaysEnabledonline1session
CurrentUserIDtable:
1:namepaul,dis,cosuser,passwordvalid,offline
Currentstrongpasswordsettings:
strongpasswordstatus:disabled

Thiscommanddisplaysthestatusoftheconfiguredusernames.

Copyright Lenovo 2015

Chapter 2: Information Commands

47

Stacking Information
ThefollowingcommandslisttheStackinginformationoptions.
Note: Thefollowingcommandsareavailableonlyinstacking.
Table 19. StackingInformationOptions
Command Syntax and Usage

showinterfacelinkstatedetached
Displayslinkinformationforalldetachedports.
Commandmode:All
showinterfacelinktype{external|nonstacking|stacking}
Displayslinkinformationforallportsthatmatchoneofthefollowingoptions:

externaldisplayslinkinformationforexternalportsonly

nonstackingdisplayslinkinformationfornonstackingportsonly

stackingdisplayslinkinformationforstackingportsonly

Commandmode:All
showinterfacelinkswitch<configuredswitchnumber(18)>
Displayslinkinformationforthespecifiedconfiguredswitch.
Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:All
showinterfacelinkswitch<configuredswitchnumber(18)>state
{detached|disabled|down|errdisabled|up}
Displayslinkinformationforalltheportsofthespecifiedconfiguredswitch
thatmatchoneofthefollowingoptions:

detacheddisplayslinkinformationfordetachedportsonly

disableddisplayslinkinformationfordisabledportsonly

downdisplayslinkinformationonlyforportsinlinkdownportstate

errdisableddisplayslinkinformationforerrordisabledportsonly

updisplayslinkinformationonlyforportsinlinkupportstate

Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:All
showinterfacelinkswitch<configuredswitchnumber(18)>type
{external|nonstacking|stacking}
Displayslinkinformationforalltheportsofthespecifiedconfiguredswitch
thatmatchoneofthefollowingoptions:

externaldisplayslinkinformationforexternalportsonly

nonstackingdisplayslinkinformationfornonstackingportsonly

stackingdisplayslinkinformationforstackingportsonly

Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:All

48

G8052 Command Reference for N/OS 8.3

Table 19. StackingInformationOptions


Command Syntax and Usage

showsysinfoswn<attachedswitchnumber(116)>
Displayssysteminformationforthespecifiedattachedswitch,including:

Systemdateandtime

Switchmodelnameandnumber

Switchnameandlocation

Timeoflastboot

MACaddressoftheswitchmanagementprocessor

IPaddressofmanagementinterface

Hardwareversionandpartnumber

Softwareimagefileandversionnumber

Configurationname

Loginbanner,ifoneisconfigured

Internaltemperatures

Fanstatus

Powersupplystatus

Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:All
showstackattachedswitches
Displaystheattachedswitchesinthestack.
Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:All
showstackbackup
Displaystheunitnumberofthebackupswitch.
Commandmode:All
showstackdynamic
Displaysallstackinginformation.
Commandmode:All
showstacklink
Displayslinkinformationforeachswitchinthestack,listedbyassigned
switchnumber.
Commandmode:All
showstackname
Displaysthenameofthestack.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

49

Table 19. StackingInformationOptions


Command Syntax and Usage

showstackpathmap[<configuredswitchnumber(18)>]
Displaysthestackingpacketpathmapthatshowshowthestackswitchesare
connected.
Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:All
showstackpushstatus
Displaysthestatusofthemostrecentfirmwareandconfigurationfilepush
fromthemastertomemberswitches.
Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:All
showstackswitch
Displaysinformationabouteachswitchinthestack,including:

ConfiguredSwitchNumber(csnum)

AttachedSwitchNumber(asnum)

MACaddress

Stackingstate

Fordetails,seepage 51.
Commandmode:All
showstackswitchnumber[<configuredswitchnumber(18)>]
DisplaystheMACaddressesforallconfiguredswitchesinthestackora
specificconfiguredswitch.
Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:All
showstackversion
Displaysthefirmwareversionnumberfortheselectedswitch.
Commandmode:All

50

G8052 Command Reference for N/OS 8.3

Stacking Switch Information


ThefollowingcommanddisplaysStackingswitchinformation:
showstackswitch
Commandmode:All
Stackname:MyStack
Localswitchisthemaster.
Localswitch:
csnum1
MACfc:cf:62:b2:ff:00
SwitchType10(G8052)
SwitchMode(cfg)Master
Priority225
StackMACfc:cf:62:b2:ff:1f
Masterswitch:
csnum1
MACfc:cf:62:b2:ff:00
Backupswitch:
csnum2
MACfc:cf:62:5e:94:00
ConfiguredSwitches:

csnumMACasnum

C1fc:cf:62:b2:ff:00A1
C2fc:cf:62:5e:94:00A2
C3fc:cf:62:b1:a0:00A3
C4fc:cf:62:b2:c6:00A4
C5fc:cf:62:b3:03:00A5
AttachedSwitchesinStack:

asnumMACcsnumState

A1fc:cf:62:b2:ff:00C1IN_STACK
A2fc:cf:62:5e:94:00C2IN_STACK
A3fc:cf:62:b1:a0:00C3IN_STACK
A4fc:cf:62:b2:c6:00C4IN_STACK
A5fc:cf:62:b3:03:00C5IN_STACK

Stackswitchinformationincludesthefollowing:

Copyright Lenovo 2015

Stackname

Detailsaboutthelocalswitchfromwhichthecommandwasissued

ConfiguredswitchnumberandMACoftheStackMasterandStackBackup

Configuredswitchnumbersandtheirassociatedassignedswitchnumbers

Attachedswitchnumbersandtheirassociatedconfiguredswitchnumbers

Chapter 2: Information Commands

51

Layer 2 Information
ThefollowingcommandsdisplayLayer2information:
Table 20. Layer2InformationCommands
Command Syntax and Usage

showdot1xinformation
Displays802.1XInformation.Fordetails,seepage 55.
Commandmode:All
showfailovertrigger<18>information
DisplaysLayer2Failoverinformation.Fordetails,seepage 62.
Commandmode:All
showhotlinksinformation
DisplaysHotLinksinformation.Fordetails,seepage 64.
Commandmode:All
showlayer2information
DumpsallLayer2switchinformationavailable(10Klinesormore,depending
onyourconfiguration).
Ifyouwanttocapturedumpdatatoafile,setyourcommunicationsoftware
onyourworkstationtocapturesessiondatapriortoissuingthedump
commands.
Commandmode:All
showlldpinformation
DisplaysLinkLayerDiscoveryProtocol(LLDP)information.Fordetails,see
page 65.
Commandmode:All
showportchannelinformation
Displaysthestateofeachportinthevarioustrunkgroups.Fordetails,see
page 81.
Commandmode:All

52

G8052 Command Reference for N/OS 8.3

Table 20. Layer2InformationCommands(continued)


Command Syntax and Usage

showspanningtree
DisplaysSpanningTreeinformation,includingthestatus(onoroff),Spanning
Treemode(RSTP,PVRST,orMSTP)andVLANmembership.
InadditiontoseeingifSTGisenabledordisabled,youcanviewthefollowing
STGbridgeinformation:

Priority

Hellointerval

Maximumagevalue

Forwardingdelay

Agingtime

YoucanalsoseethefollowingportspecificSTGinformation:

Portaliasandpriority

Cost

State

Fordetails,seepage 72.
Commandmode:All
showspanningtreeblockedports
ListstheportsblockedbyeachSTPinstance.
Commandmode:All
showspanningtreemstconfiguration
DisplaysthecurrentMSTPsettings.
Commandmode:All
showspanningtreemst<032>[information]
DisplaysSpanningTreeinformationforthespecifiedinstance.0isusedfor
CIST.
CISTbridgeinformationincludes:

Priority

Hellointerval

Maximumagevalue

Forwardingdelay

Rootbridgeinformation(priority,MACaddress,pathcost,rootport)

CISTportinformationincludes:

Portnumberandpriority

Cost

State

Fordetails,seepage 79.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

53

Table 20. Layer2InformationCommands(continued)


Command Syntax and Usage

showspanningtreeroot
DisplaysrootbridgeIDforeveryspanningtreeinstanceandthepathcost
associatedtoit.Fordetails,seepage 78.
Commandmode:All
showspanningtreestp<1128>[information]
DisplaysinformationaboutaspecificSpanningTreeGroup.Fordetails,see
page 73.
Commandmode:All
showvlag
DisplaysvLAGInformation.Fordetails,seepage 70.
Commandmode:All
showvlan
DisplaysVLANconfigurationinformationforallconfiguredVLANs,
including:

VLANNumber

VLANName

Status

PortmembershipoftheVLAN

Fordetails,seepage 82.
Commandmode:All

54

G8052 Command Reference for N/OS 8.3

802.1X Information
Thefollowingcommanddisplays802.1Xinformation:
showdot1xinformation
Commandmode:All
Systemcapability:Authenticator
Systemstatus:disabled
Protocolversion:1
GuestVLANstatus:disabled
GuestVLAN:none
AuthenticatorBackendAssigned
PortAuthModeAuthStatusPAEStateAuthStateVLAN

*1forceauthunauthorizedinitializeinitializenone
*2forceauthunauthorizedinitializeinitializenone
*3forceauthunauthorizedinitializeinitializenone

ThefollowingtabledescribestheIEEE802.1Xparameters.
Table 21. 802.1XParameterDescriptions

Copyright Lenovo 2015

Parameter

Description

Port

Displayseachportsalias.

AuthMode

DisplaystheAccessControlauthorizationmodeforthe
port.TheAuthorizationmodecanbeoneofthefollowing:

forceunauth

auto

forceauth

AuthStatus

Displaysthecurrentauthorizationstatusoftheport,either
authorizedorunauthorized.

Authenticator
PAEState

DisplaystheAuthenticatorPortAccessEntityState.The
PAEstatecanbeoneofthefollowing:

initialize

disconnected

connecting

authenticating

authenticated

aborting

held

forceAuth

Chapter 2: Information Commands

55

Table 21. 802.1XParameterDescriptions(continued)


Parameter

Description

BackendAuth
State

DisplaystheBackendAuthorizationState.TheBackend
Authorizationstatecanbeoneofthefollowing:

AssignedVLAN

56

G8052 Command Reference for N/OS 8.3

initialize

request

response

success

fail

timeout

idle

DisplayscorrespondingVLANassociatedwiththeport.

FDB Information
Theforwardingdatabase(FDB)containsinformationthatmapsthemediaaccess
control(MAC)addressofeachknowndevicetotheswitchportwherethedevice
addresswaslearned.TheFDBalsoshowswhichotherportshaveseenframes
destinedforaparticularMACaddress.
Note: Themasterforwardingdatabasesupportsupto32KMACaddressentries
ontheMPperswitch.
Table 22. FDBInformationOptions
Command Syntax and Usage

showmacaddresstable
DisplaysallentriesintheForwardingDatabase.
Commandmode:All
showmacaddresstableall
DisplaysallunicastandmulticastentriesintheForwardingDatabase.
Commandmode:All
showmacaddresstableaddress<MACaddress>
DisplaysasingledatabaseentrybyitsMACaddress.Youarepromptedto
entertheMACaddressofthedevice.EntertheMACaddressusingtheformat,
xx:xx:xx:xx:xx:xx.Forexample,08:00:20:12:34:56.
YoucanalsoentertheMACaddressusingtheformat,xxxxxxxxxxxx.
For example,080020123456.
Commandmode:All
showmacaddresstableconfiguredstatic
DisplaysallconfiguredstaticMACentriesintheFDB.
Commandmode:All
showmacaddresstableinterfaceport<portaliasornumber>
DisplaysallFDBentriesforaparticularport.
Commandmode:All
showmacaddresstablemulticast
DisplaysallstaticmulticastMACentriesintheFDB.Fordetails,seepage 58.
Commandmode:All
showmacaddresstableportchannel<1104>
DisplaysallFDBentriesforaparticulartrunkgroup(portchannel).
Commandmode:All
showmacaddresstableprivatevlan<VLANID(24094)>
DisplaysallFDBentriesonasingleprivateVLAN.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

57

Table 22. FDBInformationOptions(continued)


Command Syntax and Usage

showmacaddresstablestate{unknown|forward|trunk}
DisplaysallFDBentriesforaparticularstate.
Commandmode:All
showmacaddresstablestatic
DisplaysallstaticunicastMACentriesintheFDB.
Commandmode:All
showmacaddresstablevlan<VLANID(14094)>
DisplaysallFDBentriesonasingleVLAN.
Commandmode:All

FDB Multicast Information


ThefollowingcommandsdisplayFDBmulticastinformation.
Table 23. MulticastFDBInformationOptions
Command Syntax and Usage

showmacaddresstablemulticast
DisplaysallMulticastMACentriesintheFDB.
Commandmode:All
showmacaddresstablemulticastaddress<MACaddress>
DisplaysasinglemulticastentrybyitsMACaddress.Youarepromptedto
entertheMACaddressofthedevice.EntertheMACaddressusingtheformat,
xx:xx:xx:xx:xx:xx.Forexample,08:00:20:12:34:56.
YoucanalsoentertheMACaddressusingtheformat,xxxxxxxxxxxx.
Forexample,080020123456.
Commandmode:All
showmacaddresstablemulticastinterface
port<portaliasornumber>
Displaysallmulticastentriesforaparticularport.
Commandmode:All
showmacaddresstablemulticastvlan<VLANID(14094)>
DisplaysallmulticastentriesonasingleVLAN.
Commandmode:All

58

G8052 Command Reference for N/OS 8.3

Show All FDB Information


ThefollowingcommanddisplaysForwardingDatabaseinformation:
showmacaddresstable
Commandmode:All
MACaddressVLANPortTrnkStatePermanent

00:04:38:90:54:1814FWD
00:09:6b:9b:01:5f113FWD
00:11:43:c4:79:8314FWDP

Anaddressthatisintheforwarding(FWD)state,meansthatithasbeenlearnedby
theswitch.Wheninthetrunking(TRK)state,theportfieldrepresentsthetrunk
groupnumber.Ifthestatefortheportislistedasunknown(UNK),theMAC
addresshasnotyetbeenlearnedbytheswitch,buthasonlybeenseenasa
destinationaddress.
Whenanaddressisintheunknownstate,nooutboundportisindicated,although
portswhichreferencetheaddressasadestinationarelistedunderReference
ports.

Clearing Entries from the Forwarding Database


TocleartheentireFDB,refertoForwardingDatabaseMaintenanceonpage 619.

Copyright Lenovo 2015

Chapter 2: Information Commands

59

Link Aggregation Control Protocol Information


UsethesecommandstodisplayLACPstatusinformationabouteachportonthe
G8052.
Table 24. LACPInformationOptions
Command Syntax and Usage

showlacp
DisplaysthecurrentLCAPconfiguration.
Commandmode:All
showlacpaggregator<aggregatorID>
DisplaysdetailedinformationabouttheLACPaggregator.
Commandmode:All
showlacpinformation
DisplaysasummaryofLACPinformation.Fordetails,seepage 61.
Commandmode:All
showlacpinformationstate{down|off|up}
DisplaysasummaryofLACPinformationfortheinterfacesthataredown,off
orup.
Commandmode:All
showinterfaceport<portaliasornumber>lacp[information]
DisplaysLACPinformationabouttheselectedport.
Commandmode:All

60

G8052 Command Reference for N/OS 8.3

Link Aggregation Control Protocol


ThefollowingcommanddisplaysLACPinformation:
showlacpinformation
Commandmode:All
portmodeadminkeyoperkeyselectedprioaggrtrunkstatusminlinks

1active6553565535yes32768165up1
2active6553565535yes32768165up1
3active6553565535individual32768down1
4active6553565535yes32768165up1
5active6553565535yes32768165up1
6active6553565535yes32768165up1
7active6553565535yes32768165up1
8active6553565535yes32768165up1
9active10001000suspended32768down1
10active10001000suspended32768down1
...
(*)LACPPortChannelisstaticallyboundtotheadminkey

LACPdumpincludesthefollowinginformationforeachportintheG8052:

Copyright Lenovo 2015

mode

DisplaystheportsLACPmode(active,passiveoroff).

adminkey

Displaysthevalueoftheportsadminkey.

operkey

Showsthevalueoftheportsoperationalkey.

selected

Indicateswhethertheporthasbeenselectedtobepartofa
LinkAggregationGroup.

prio

Showsthevalueoftheportpriority.

aggr

Displaystheaggregatorassociatedwitheachport.

trunk

ThisvaluerepresentstheLACPtrunkgroupnumber.

status

DisplaysthestatusofLACPontheport(upordown).

minlinks

DisplaystheminimumnumberofactivelinksintheLACP
trunk.

Chapter 2: Information Commands

61

Layer 2 Failover Information


ThefollowingcommandsdisplayLayer2Failoverinformation:
Table 25. Layer2FailoverInformationOptions
Command Syntax and Usage

showfailovertrigger[information]
DisplaysasummaryofLayer2Failoverinformation.Fordetails,seepage 62.
Commandmode:All
showfailovertrigger<triggernumber>[information]
DisplaysdetailedinformationabouttheselectedLayer2Failovertrigger.
Commandmode:All

Layer 2 Failover Information


ThefollowingcommanddisplaysLayer2Failoverinformation:
showfailovertriggerinformation
Commandmode:All
Failover:On
Trigger1ManualMonitor:Enabled
Trigger1limit:0
MonitorState:Up
MemberStatus

17Operational
ControlState:AutoControlled
MemberStatus

Physicalports
1Operational
Trigger2:Disabled
Trigger3:Disabled
Trigger4:Disabled
Trigger5:Disabled
Trigger6:Disabled
Trigger7:Disabled
Trigger8:Disabled

62

G8052 Command Reference for N/OS 8.3

AmonitorportsFailoverstatusisOperationalonlyifallthefollowing
conditionsholdtrue:

Portlinkisup.

IfSpanningTreeisenabled,theportisintheForwardingstate.

IftheportisamemberofanLACPtrunkgroup,theportisaggregated.

Ifanyoftheseconditionsarenottrue,themonitorportisconsideredtobefailed.
AcontrolportisconsideredtobeoperationalifthemonitortriggerstateisUp.
EvenifaportslinkstatusisDown,SpanningTreestatusisBlocking,andthe
LACPstatusisNotAggregated,fromateamingperspectivetheportstatusis
Operational,sincethetriggerisUp.
AcontrolportsstatusisdisplayedasFailedonlyifthemonitortriggerstateis
Down.

Copyright Lenovo 2015

Chapter 2: Information Commands

63

Hot Links Information


ThefollowingcommanddisplaysHotLinksinformation:
showhotlinksinformation
Commandmode:All
HotLinksInfo:Trigger
CurrentglobalHotLinkssetting:ON
HotLinksBPDUflood:disabled
HotLinksFDBupdate:disabled
FDBupdaterate(pps):200
CurrentTrigger1setting:enabled
name"Trigger1",preemptenabled,fdelay1sec
Activestate:None
Mastersettings:
port1
Backupsettings:
port2

HotLinksinformationincludesthefollowing:

64

HotLinksstatus(onoroff)

StatusofBPDUfloodoption

StatusofFDBsendoption

StatusandconfigurationofeachHotLinkstrigger

G8052 Command Reference for N/OS 8.3

LLDP Information
ThefollowingcommandsdisplayLLDPinformation.
Table 26. LLDPInformationOptions
Command Syntax and Usage

showlldp
DisplaysthecurrentLinkLayerDiscoveryProtocol(LLDP)configuration.
Commandmode:All
showlldpinformation
DisplaysallLLDPinformation.
Commandmode:All
showlldpport[<portaliasornumber>]
DisplaysLLDPinformationforallportsoraspecificport.
Commandmode:All
showlldpport<portaliasornumber>tlvevb
DisplaysEdgeVirtualBridge(EVB)typelengthvalue(TLV)informationfor
thespecifiedport.
Commandmode:All
showlldpreceive
DisplaysinformationabouttheLLDPreceivestatemachine.
Commandmode:All
showlldpremotedevice[<1256>|detail]
DisplaysinformationreceivedfromLLDPcapabledevices.Formore
information,seepage 66.
Commandmode:All
showlldpremotedeviceport<portaliasornumber>
DisplaysinformationreceivedfromLLDPcapabledevicesforaspecificport.
Alistofportsneedstobedelimitedby,andarangeofportsdelimitedby.
Commandmode:All
showlldptransmit
DisplaysinformationabouttheLLDPtransmitstatemachine.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

65

LLDP Remote Device Information


ThefollowingcommanddisplaysLLDPremotedeviceinformation:
showlldpremotedevice
Commandmode:All
LLDPRemoteDevicesInformation
Legend(possiblevaluesinDMACcolumn):
NBNearestBridge0180C200000E
NnTBNearestnonTPMRBridge0180C2000003
NCBNearestCustomerBridge0180C2000000
Totalnumberofcurrententries:9
LocalPort|Index|RemoteChassisID|RemotePort|RemoteSystemName|DMAC
|||||
1|1|0000c9e547e3|0000c9e547e3||NB
1|2|0000c9e547e3|0000c9e547e3||NnTB
2|3|0090fa750ec5|0090fa750ec5||NB
14|4|a897dcd1f800|60||NB
14|5|a897dcd1f800|60||NnTB
15|6|a897dcd1f800|80||NB
15|7|a897dcd1f800|80||NnTB
18|8|0090fa3d4849|0090fa3d4849||NB
MGT|9|749975c50800|6|G805254|NB

LLDPremotedeviceinformationprovidesasummaryofinformationabout
remotedevicesconnectedtotheswitch.Toviewdetailedinformationabouta
device,asshownbelow,followthecommandwiththeindexnumberoftheremote
device.Toviewdetailedinformationaboutalldevices,usethedetailoption.
LocalPortAlias:1
RemoteDeviceIndex:15
RemoteDeviceTTL:99
RemoteDeviceRxChanges:false
ChassisType:MacAddress
ChassisId:0018b1331d00
PortType:LocallyAssigned
PortId:23
PortDescription:23
SystemName:
SystemDescription:LenovoRackSwitchG8296,LenovoNetworking
OS:version8.2.0.3,Bootimage:version8.2.0.3
SystemCapabilitiesSupported:bridge,router
SystemCapabilitiesEnabled:bridge,router
RemoteManagementAddress:
Subtype:IPv4
Address:10.100.120.181
InterfaceSubtype:ifIndex
InterfaceNumber:128
ObjectIdentifier:

66

G8052 Command Reference for N/OS 8.3

Unidirectional Link Detection Information


ThefollowingcommandsdisplayUDLDinformation:
Table 27. UDLDInformationOptions
Command Syntax and Usage

showudld
DisplaysallUDLDinformation.
Commandmode:All
showinterfaceport<portaliasornumber>udld
DisplaysUDLDinformationabouttheselectedport.
Commandmode:All

UDLD Port Information


ThefollowingcommanddisplaysUDLDinformationfortheselectedport:
showinterfaceport<portaliasornumber>udld
Commandmode:All
UDLDinformationonport1
Portenableadministrativeconfigurationsetting:Enabled
Portadministrativemode:normal
Portenableoperationalstate:linkup
Portoperationalstate:advertisement
Portbidirectionalstatus:bidirectional
Messageinterval:15
Timeoutinterval:5
Neighborcache:1neighbordetected
Entry#1
Expirationtime:31seconds
DeviceName:
DeviceID:00:da:c0:00:04:00
PortID:1

UDLDinformationincludesthefollowing:

Copyright Lenovo 2015

Status(enabledordisabled)

Mode(normaloraggressive)

Portstate(linkuporlinkdown)

Bidirectionalstatus(unknown,unidirectional,bidirectional,TXRXloop,
neighbormismatch)

Chapter 2: Information Commands

67

802.1x Discovery Information


Thefollowingcommandsdisplay802.1xinformation:
Table 28. 802.1xDiscoveryInformationOptions
Command Syntax and Usage

showinterfaceport<portaliasornumber>dot1x
Displays802.1xinformationabouttheselectedport.
Commandmode:All
showdot1x
Displaysall802.1xinformation.
Commandmode:All
showdot1x<portaliasornumber>
Displays802.1xinformationforspecifiedport.
Commandmode:All

802.1x Port Information


Thefollowingcommanddisplays802.1xinformationfortheselectedport:
showinterfaceport<portaliasornumber>dot1x
Commandmode:All
QuietTxMaxSuppServerReAuthReAuthVLAN
PortAuthModePeriodPeriodReqTimeoutTimeoutStatusPeriodAssign

Gforceauth603023030off3600off
1forceauth603023030off3600off

GGlobalportconfiguration

802.1xportdisplayshowsinformationabouttheselectedportandthepeerto
whichthelinkisconnected.

68

G8052 Command Reference for N/OS 8.3

OAM Discovery Information


ThefollowingcommandsdisplayOAMinformation:
Table 29. OAMDiscoveryInformationOptions
Command Syntax and Usage

showinterfaceport<portaliasornumber>oam
DisplaysOAMinformationabouttheselectedport.
Commandmode:All
showoam
DisplaysallOAMinformation.
Commandmode:All

OAM Port Information


ThefollowingcommanddisplaysOAMinformationfortheselectedport:
showinterfaceport<portaliasornumber>oam
Commandmode:All
OAMinformationonport1
Stateenabled
Modeactive
Linkup
SatisfiedYes
EvaluatingNo
Remoteportinformation:
Modeactive
MACaddress00:da:c0:00:04:00
StableYes
StatevalidYes
EvaluatingNo

OAMportdisplayshowsinformationabouttheselectedportandthepeerto
whichthelinkisconnected.

Copyright Lenovo 2015

Chapter 2: Information Commands

69

vLAG Information
ThefollowingcommandsdisplayVirtualLinkAggregationGroup(vLAG)
information:
Table 30. vLAGInformationOptions
Command Syntax and Usage

showvlag
DisplaysthecurrentvLAGconfiguration.
Commandmode:All
showvlagadminkey<165535>
DisplaysvLAGLACPinformation.
Commandmode:All
showvlagadminkey<165535>information
DisplaysallvLAGLACPinformation.
Commandmode:All
showvlaginformation
DisplaysallvLAGinformation.
Commandmode:All
showvlagisl
DisplaysvLAGInterSwitchLink(ISL)information.
Commandmode:All
showvlagportchannel<152>
DisplaysvLAGstatictrunkgroupinformation.
Commandmode:All
showvlagportchannel<152>information
DisplaysallvLAGstatictrunkgroupinformation.
Commandmode:All

70

G8052 Command Reference for N/OS 8.3

vLAG Trunk Information


ThefollowingcommanddisplaysvLAGinformationforthetrunkgroup:
showvlagportchannel<152>
Commandmode:All
vLAGisenabledontrunk13
ProtocolStatic
Currentsettings:enabled
ports:13
CurrentL2trunkhashsettings:
smacdmac
CurrentL3trunkhashsettings:
sipdip
Currentingressporthash:disabled
CurrentL4porthash:disabled

Copyright Lenovo 2015

Chapter 2: Information Commands

71

Spanning Tree Information


ThefollowingcommanddisplaysSpanningTreeinformation:
showspanningtree
Commandmode:All
Pvst+compatibilitymodeenabled
MstpDigest:0x9170ece876e20888e8c7c15170abd4dc
CommonInternalSpanningTree:
VLANsMAPPED:1244093
VLANs:1
CurrentRoot:PathCostPortMaxAgeFwdDel
8000de:eb:00:00:00:00002015
CistRegionalRoot:PathCost
8000de:eb:00:00:00:000
Parameters:PriorityMaxAgeFwdDelHops
32768201520
PortPrioCostStateRoleDesignatedBridgeDesPortHelloType

112820000!FWDDESG8000de:eb:00:00:00:0080012P2P
!=Automaticpathcost.

SpanningTreeGroup3:On(MSTP)
VLANsMAPPED:3
VLANs:3
CurrentRoot:PathCostPort
8000de:eb:00:00:00:0000
Parameters:PriorityAgingTopologyChangeCounts
327683000
PortPrioCostStateRoleDesignatedBridgeDesPortType

Note:ThereisnoactiveSTPportinSpanningTreeGroup3.

SpanningTreeGroup30:On(MSTP)
VLANsMAPPED:4094
VLANs:4094
CurrentRoot:PathCostPort
8000de:eb:00:00:00:0000
Parameters:PriorityAgingTopologyChangeCounts
327683001
PortPrioCostStateRoleDesignatedBridgeDesPortType

112820000!FWDDESG8000de:eb:00:00:00:008001P2P
!=Automaticpathcost.

72

G8052 Command Reference for N/OS 8.3

RSTP Information
ThefollowingcommanddisplaysRSTPinformation:
showspanningtreestp<1128>information
Commandmode:All
SpanningTreeGroup1:On(RSTP)
VLANs:134094
CurrentRoot:PathCostPortHelloMaxAgeFwdDel
8000de:eb:00:00:00:000022015
Parameters:PriorityHelloMaxAgeFwdDelAgingTopologyChangeCounts
32768220153001
PortPrioCostStateRoleDesignatedBridgeDesPortType

112820000!FWDDESG8000de:eb:00:00:00:008001P2P
!=Automaticpathcost.

TheswitchsoftwareusesthePerVLANRapidSpanningTreeProtocol(PVRST)
spanningtreemode,withIEEE802.1D(2004)RapidSpanningTreeProtocol(RSTP)
orIEEE802.1Q(2003)MultipleSpanningTreeProtocol(MSTP),asalternatives.
Thefollowingportspecificinformationisalsodisplayed:
Table 31. PVRST/RSTP/MSTPPortParameterDescriptions
Parameter

Description

Priority
(port)

ThePortPriorityparameterhelpsdeterminewhichbridgeport
becomesthedesignatedport.Inanetworktopologythathas
multiplebridgeportsconnectedtoasinglesegment,theportwith
thelowestportprioritybecomesthedesignatedportforthe
segment.

Cost

ThePortPathcostparameterisusedtohelpdeterminethe
designatedportforasegment.Generallyspeaking,thefasterthe
port,thelowerthepathcost.Asettingof0indicatesthatthecost
willbesettotheappropriatedefaultafterthelinkspeedhasbeen
autonegotiated.

State

TheStatefieldshowsthecurrentstateoftheport.TheStatefield
canbeoneofthefollowing:Discarding(DISC),Learning(LRN),or
Forwarding(FWD).

Role

TheRolefieldshowsthecurrentroleofthisportintheSpanning
Tree.Theportrolecanbeoneofthefollowing:Designated(DESG),
Root(ROOT),Alternate(ALTN),Backup(BKUP).

Designated TheDesignatedBridgeshowsinformationaboutthebridge
Bridge
connectedtoeachport,ifapplicable.Informationincludesthe
priority(inhexadecimalnotation)andMACaddressofthe
DesignatedBridge.

Copyright Lenovo 2015

Chapter 2: Information Commands

73

Table 31. PVRST/RSTP/MSTPPortParameterDescriptions(continued)


Parameter

Description

Designated TheDesignatedPortfieldshowstheportontheDesignatedBridge
Port
towhichthisportisconnected.
Type

74

Typeoflinkconnectedtotheport,andwhethertheportisanedge
port.LinktypevaluesareAUTO,P2P,orSHARED.

G8052 Command Reference for N/OS 8.3

PVRST Information
ThefollowingcommanddisplaysPVRSTinformation:
showspanningtreestp<1128>information
Commandmode:All
Pvst+compatibilitymodeenabled

SpanningTreeGroup1:On(PVRST)
VLANs:11274094
CurrentRoot:PathCostPortHelloMaxAgeFwdDel
800108:17:f4:8c:bc:0020002022015
Parameters:PriorityHelloMaxAgeFwdDelAgingTopologyChangeCounts
3276922015300254
PortPrioCostStateRoleDesignatedBridgeDesPortType

1128500!FWDDESG800108:17:f4:af:ae:008001P2P
17(pc1)128990!+FWDDESG800108:17:f4:af:ae:008400P2P
18(pc1)128990!+FWDDESG800108:17:f4:af:ae:008400P2P
1900FWD*
201282000!FWDROOT800108:17:f4:8c:bc:00801cP2P
*=STPturnedoffforthisport.
!=Automaticpathcost.
+=Portchannelcost,nottheindividualportcost.

YoucanconfiguretheswitchsoftwaretousetheIEEE802.1D(2004)Rapid
SpanningTreeProtocol(RSTP),theIEEE802.1Q(2003)MultipleSpanningTree
Protocol(MSTP)orPerVLANRapidSpanningTreeProtocol(PVRST).
Thefollowingportspecificinformationisalsodisplayed:
Table 32. RSTP/MSTP/PVRSTPortParameterDescriptions

Copyright Lenovo 2015

Parameter

Description

Prio(port)

ThePortPriorityparameterhelpsdeterminewhichbridge
portbecomesthedesignatedport.Inanetworktopologythat
hasmultiplebridgeportsconnectedtoasinglesegment,the
portwiththelowestportprioritybecomesthedesignated
portforthesegment.

Cost

TheportPathCostparameterisusedtohelpdeterminethe
designatedportforasegment.Generallyspeaking,thefaster
theport,thelowerthepathcost.Asettingof0indicatesthat
thecostwillbesettotheappropriatedefaultafterthelink
speedhasbeenautonegotiated.

State

TheStatefieldshowsthecurrentstateoftheport.TheState
fieldinRSTPorMSTPmodecanbeoneofthefollowing:
Discarding(DISC),Learning(LRN),Forwarding(FWD)or
Disabled(DSB).

Chapter 2: Information Commands

75

Table 32. RSTP/MSTP/PVRSTPortParameterDescriptions(continued)

76

Parameter

Description

Role

TheRolefieldshowsthecurrentroleofthisportinthe
SpanningTree.Theportrolecanbeoneofthefollowing:
Designated(DESG),Root(ROOT),Alternate(ALTN),Backup
(BKUP)orDisabled(DSB).

Designated
Bridge

TheDesignatedBridgeshowsinformationaboutthebridge
connectedtoeachport,ifapplicable.Informationincludes
thepriority(inhexadecimalnotation)andMACaddressof
theDesignatedBridge.

DesignatedPort

TheportIDoftheportontheDesignatedBridgetowhich
thisportisconnected.

Type

Typeoflinkconnectedtotheport,andwhethertheportisan
edgeport.LinktypevaluesareAUTO,P2PorSHARED.

G8052 Command Reference for N/OS 8.3

Spanning Tree Bridge Information


ThefollowingcommanddisplaysSpanningTreebridgeinformation:
showspanningtreebridge
Commandmode:All
STGPriorityHelloMaxAgeFwdDelProtocolVLANs

13276822015PVRST1
23276822015PVRST2
1283276822015PVRST4095

showspanningtreevlan<VLANID(14094)>bridge
Commandmode:All
VlanPriorityHelloMaxAgeFwdDelProtocol

13276822015MSTP

Table 33. BridgeParameterDescriptions

Copyright Lenovo 2015

Parameter

Description

VLAN

VLANsthatarepartoftheSpanningTreeGroup

Priority

Thebridgepriorityparametercontrolswhichbridgeonthe
networkwillbecometheSTProotbridge.Thelowerthe
value,thehigherthepriority.

Hello

Thehellotimeparameterspecifies,inseconds,howoftenthe
bridgetransmitsaconfigurationbridgeprotocoldataunit
(BPDU).Anybridgethatisnottherootbridgeusestheroot
bridgehellovalue.

MaxAge

Themaximumageparameterspecifies,inseconds,the
maximumtimethebridgewaitswithoutreceivinga
configurationbridgeprotocoldataunitbeforeitreconfigures
theSTPnetwork.

FwdDel

Theforwarddelayparameterspecifies,inseconds,the
amountoftimethatabridgeporthastowaitbeforeit
changesfromlearningstatetolearningstateandfrom
learningstatetoforwardingstate.

Protocol

TheSTPprotocolrunbytheSpanningTreeGroup

Chapter 2: Information Commands

77

Spanning Tree Root Information


ThefollowingcommanddisplaysinformationabouttherootbridgeIDforevery
spanningtreeinstanceandthepathcostassociatedtoit:
showspanningtreeroot
Commandmode:All
InstanceRootIDPathCostHelloMaxAgeFwdDelRootPort

1800108:17:f4:32:95:000220150
3800308:17:f4:32:95:000220150
6800108:17:f4:fb:d8:00200002201527
17801108:17:f4:32:95:000220150

Table 34. BridgeParameterDescriptions

78

Parameter

Description

Instance

SpanningTreeinstance

RootID

IndicatestherootswitchbridgepriorityandMACaddress.

PathCost

Theportpathcostisusedtohelpdeterminethedesignated
portforasegment.

Hello

Thehellotimeparameterspecifies,inseconds,howoftenthe
bridgetransmitsaconfigurationbridgeprotocoldataunit
(BPDU).Anybridgethatisnottherootbridgeusestheroot
bridgehellovalue.

MaxAge

Themaximumageparameterspecifies,inseconds,the
maximumtimethebridgewaitswithoutreceivinga
configurationbridgeprotocoldataunitbeforeitreconfigure
theSTPnetwork.

FwdDel

Theforwarddelayparameterspecifies,inseconds,the
amountoftimethatabridgeporthastowaitbeforeit
changesfromlearningstatetolearningstateandfrom
learningstatetoforwardingstate.

RootPort

TheelectedrootportfortheSTPinstance(portusedtoreach
therootswitch).

G8052 Command Reference for N/OS 8.3

Multiple Spanning Tree Information


ThefollowingcommanddisplaysMultipleSpanningTree(MSTP)information:
showspanningtreemst<032>information
Commandmode:All
MstpDigest:0x9f71e12a07f4e3004fe0ce1f241a7b66

SpanningTreeGroup5:On(MSTP)
VLANsMAPPED:5
VLANs:5
CurrentRoot:PathCostPort
0000a8:97:dc:88:c9:0000
Parameters:PriorityAgingTopologyChangeCounts
03001
PortPrioCostStateRoleDesignatedBridgeDesPortType

1(pc105)128156!+FWDDESG0000a8:97:dc:88:c9:0080e8P2P
2(pc105)128156!+FWDDESG0000a8:97:dc:88:c9:0080e8P2P
4128500!FWDDESG0000a8:97:dc:88:c9:00800aP2P,edge
27(pc105)128156!+FWDDESG0000a8:97:dc:88:c9:0080e8P2P
!=Automaticpathcost.
+=Portchannelcost,nottheindividualportcost.

InadditiontoseeingCommonInternalSpanningTree(CIST)status,youcanview
thefollowingCISTbridgeinformation:
Table 35. CISTParameterDescriptions

Copyright Lenovo 2015

Parameter

Description

CISTRoot

TheCISTRootshowsinformationabouttherootbridgefor
theCommonInternalSpanningTree(CIST).Valuesonthis
rowofinformationrefertotheCISTroot.

CISTRegional
Root

TheCISTRegionalRootshowsinformationabouttheroot
bridgeforthisMSTPregion.Valuesonthisrowof
informationrefertotheregionalroot.

Priority(bridge)

Thebridgepriorityparametercontrolswhichbridgeonthe
networkwillbecometheSTProotbridge.

Hello

Thehellotimeparameterspecifies,inseconds,howoftenthe
bridgetransmitsaconfigurationbridgeprotocoldataunit
(BPDU).Anybridgethatisnottherootbridgeusestheroot
bridgehellovalue.

MaxAge

Themaximumageparameterspecifies,inseconds,the
maximumtimethebridgewaitswithoutreceivinga
configurationbridgeprotocoldataunitbeforeitreconfigure
theSTPnetwork.

Chapter 2: Information Commands

79

Table 35. CISTParameterDescriptions(continued)


Parameter

Description

FwdDel

Theforwarddelayparameterspecifies,inseconds,the
amountoftimethatabridgeporthastowaitbeforeit
changesfromlearningstatetolearningstateandfrom
learningstatetoforwardingstate.

Hops

Themaximumnumberofbridgehopsapacketcantraverse
beforeitisdropped.Thedefaultvalueis20.

ThefollowingportspecificCISTinformationisalsodisplayed:
Table 36. CISTParameterDescriptions

80

Parameter

Description

Prio(port)

Theportpriorityparameterhelpsdeterminewhichbridge
portbecomesthedesignatedport.Inanetworktopologythat
hasmultiplebridgeportsconnectedtoasinglesegment,the
portwiththelowestportprioritybecomesthedesignated
portforthesegment.

Cost

Theportpathcostparameterisusedtohelpdeterminethe
designatedportforasegment.Generallyspeaking,thefaster
theport,thelowerthepathcost.Asettingof0indicatesthat
thecostwillbesettotheappropriatedefaultafterthelink
speedhasbeenautonegotiated.

State

Thestatefieldshowsthecurrentstateoftheport.Thestate
fieldcanbeeitherDiscarding(DISC),Learning(LRN)or
Forwarding(FWD).

Role

TheRolefieldshowsthecurrentroleofthisportinthe
SpanningTree.Theportrolecanbeoneofthefollowing:
Designated(DESG),Root(ROOT),Alternate(ALTN),Backup
(BKUP),Disabled(DSB),Master(MAST)orUnknown(UNK).

Designated
Bridge

TheDesignatedBridgeshowsinformationaboutthebridge
connectedtoeachport,ifapplicable.Informationincludes
thepriority(inhexadecimalnotation)andMACaddressof
theDesignatedBridge.

DesignatedPort

TheportIDoftheportontheDesignatedBridgetowhich
thisportisconnected.

Type

Typeoflinkconnectedtotheport,andwhethertheportisan
edgeport.LinktypevaluesareAUTO,P2PorSHARED.

G8052 Command Reference for N/OS 8.3

Trunk Group Information


ThefollowingcommanddisplaysTrunkGroupinformation:
showportchannelinformation
Commandmode:All
Trunkgroup1:Enabled
ProtocolStatic
Portstate:
1:STG1forwarding
2:STG1forwarding

Whentrunkgroupsareconfigured,youcanviewthestateofeachportinthe
varioustrunkgroups.
Note: IfSpanningTreeProtocolonanyportinthetrunkgroupissetto
forwarding,theremainingportsinthetrunkgroupwillalsobesetto
forwarding.

Copyright Lenovo 2015

Chapter 2: Information Commands

81

VLAN Information
ThefollowingcommandsdisplayVLANinformation:
Table 37. VLANInformationOptions
Command Syntax and Usage

showvlan
DisplaysthecurrentVLANconfiguration.
Commandmode:All
showvlan<VLANID(14094)>
DisplaysthecurrentconfigurationforthespecifiedVLAN.
Commandmode:All
showvlanprivatevlan[type]
DisplaysPrivateVLANinformation.

typelistsonlytheVLANtypeforeachprivateVLAN:community,isolated
orprimary

Commandmode:All
showvlaninformation
DisplaysinformationaboutallVLANs,including:

VLANnumberandname

VLANstatistics

VLANcreationtime

Portmembership

VLANstatus(enabledordisabled)

ProtocolVLANstatus

SpanningTreemembership

VMAPconfiguration

Commandmode:All
showvlan<VLANID(14094)>information
DisplaysinformationonlyaboutthespecifiedVLAN.
Commandmode:All
showprotocolvlan<protocolnumber(18)>
DisplaysProtocolVLANinformation.
Commandmode:All

82

G8052 Command Reference for N/OS 8.3

ThefollowingcommanddisplaysVLANinformation:
showvlan
Commandmode:All
VLANNameStatusPorts

1DefaultVLANena120
2VLAN2dis2122
100VLAN100enaempty
200VLAN200enaempty
300VLAN300enaempty
4095MgmtVLANenaMGT
PrimarySecondaryTypePorts

100200isolated14
100300community12

ThisinformationdisplayincludesallconfiguredVLANsandallmemberportsthat
haveanactivelinkstate.Portmembershipisrepresentedinslot/portformat.
VLANinformationincludes:

Copyright Lenovo 2015

VLANNumber

VLANName

Status

PortmembershipoftheVLAN

ProtocolVLANinformation(ifavailable)

PrivateVLANinformation(ifavailable)

Chapter 2: Information Commands

83

Layer 3 Information
ThefollowingcommandsdisplayLayer3information:
Table 38. Layer3InformationCommands
Command Syntax and Usage

showikev2
DisplaysIKEv2information.Formoreinformationoptions,seepage 129.
Commandmode:All
showinterfaceip
DisplaysIPinterfaceInformation.Fordetails,seepage 124.
Commandmode:All
show[ip]arp
DisplaysAddressResolutionProtocol(ARP)information.Fordetails,see
page 91.
Commandmode:All
showipbgp
DisplaysBorderGatewayProtocol(BGP)information.Fordetails,seepage 96.
Commandmode:All
showipbootprelay
DisplaysthecurrentparametersfortheBOOTPRelaybroadcastdomain.
Commandmode:All
showipdhcpsnooping
DisplaysDHCPSnoopinginformation.Fordetails,seepage 133.
Commandmode:All
showipdns
DisplaysthecurrentDomainNameSystemsettings.
Commandmode:All
showipecmp
DisplaysECMPstaticrouteinformation.Fordetails,seepage 114.
Commandmode:All
showipgateway<14>
Displaysthecurrentgatewaysettings.
Commandmode:All
showipv6gateway6
DisplaysthecurrentIPv6defaultgatewayconfiguration.
Commandmode:All

84

G8052 Command Reference for N/OS 8.3

Table 38. Layer3InformationCommands(continued)


Command Syntax and Usage

showipigmp
DisplaysIGMPInformation.FormoreIGMPinformationoptions,see
page 115.
Commandmode:All
showipinformation
DisplaysallIPinformation.
Commandmode:All
showipinterfacebrief
DisplaysIPInformation.Fordetails,seepage 127.
IPinformation,includes:

IPinterfaceinformation:Interfacenumber,IPaddress,subnetmask,VLAN
number,andoperationalstatus.

Defaultgatewayinformation:Metricforselectingwhichconfigured
gatewaytouse,gatewaynumber,IPaddress,andhealthstatus

IPforwardingsettings,networkfiltersettings,routemapsettings

Commandmode:All
showipv6interface<interfacenumber>
DisplaysIPv6interfaceinformation.Fordetails,seepage 125.
Commandmode:All
showipmatchaddress[<1256>]
DisplaysthecurrenttheNetworkFilterconfiguration.
Commandmode:All
showipmroute
DisplaysthecurrentIPmulticastroutes.
Commandmode:All
showipv6mld
DisplaysMulticastListenerDiscovery(MLD)information.FormoreMLD
informationoptions,seepage 120.
Commandmode:All
showipv6neighbors
DisplaysIPv6NeighborCacheinformation.Formoreinformationoptions,see
page 112.
Commandmode:All
showipospfinformation
DisplaystheOSPFinformation.Fordetails,seepage 97.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

85

Table 38. Layer3InformationCommands(continued)


Command Syntax and Usage

showipv6ospfinformation
DisplaysOSPFv3information.FormoreOSPFv3informationoptions,see
page 103.
Commandmode:All
showippimcomponent[<12>]
DisplaysProtocolIndependentMulticast(PIM)componentinformation.For
morePIMinformationoptions,seepage 134.
Commandmode:All
showipv6pmtu[<destinationIPv6address>]
DisplaysIPv6PathMTUinformation.Fordetails,seepage 126.
Commandmode:All
showippolicy
Displaysthecurrentroutingpolicyinformation.
Commandmode:All
showipprefixpolicy
DisplaysthecurrentPrefixPolicyTableconfiguration.
Commandmode:All
showipv6prefix
DisplaysIPv6NeighborDiscoveryprefixinformation.Fordetails,see
page 113.
Commandmode:All
showiprip
DisplaysthecurrentRoutingInformationProtocol(RIP)configuration.For
details,seepage 108.
Commandmode:All
showiproute
Displaysallroutesconfiguredontheswitch.Fordetails,seepage 89.
Commandmode:All
showipv6route
DisplaysIPv6routinginformation.Formoreinformationoptions,see
page 110.
Commandmode:All
showiprouting
DisplaysthecurrentIPforwardingsettings.
Commandmode:All

86

G8052 Command Reference for N/OS 8.3

Table 38. Layer3InformationCommands(continued)


Command Syntax and Usage

showipslpinformation
DisplaysServiceLocationProtocol(SLP)information.
Commandmode:All
showipslpdirectoryagents
DisplaysSLPDirectoryAgent(DA)information.
Commandmode:All
showipslpuseragents
DisplaysSLPUserAgent(UA)information.
Commandmode:All
showipvrrpinformation
DisplaysVRRPinformation.Fordetails,seepage 122.
Commandmode:All
showipsecmanualpolicy
DisplaysinformationaboutmanualkeymanagementpolicyforIPsecurity.
Formoreinformationoptions,seepage 131.
Commandmode:All
showlayer3
DumpsallLayer3switchinformationavailable(10Kormore,dependingon
yourconfiguration).
Ifyouwanttocapturedumpdatatoafile,setyourcommunicationsoftware
onyourworkstationtocapturesessiondatabeforeissuingthedump
commands.
Commandmode:All
showlayer3igmpgroups
DisplaysthetotalnumberofIGMPgroupsthatareregisteredontheswitch.
Commandmode:All
showlayer3ipmcgroups
DisplaysthetotalnumberofcurrentIPmulticast(IPMC)groupsthatare
registeredontheswitch.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

87

IP Routing Information
Usingthecommandslistedinthefollowingtable,youcandisplayalloraportion
oftheIProutescurrentlyheldintheswitch.
Table 39. RouteInformationOptions
Command Syntax and Usage

showiproute[all]
Displaysallroutesconfiguredintheswitch.Formoreinformation,see
page 89.
Commandmode:All
showiprouteaddress<IPaddress>
DisplaysasingleroutebydestinationIPaddress.
Commandmode:All
showiprouteecmphash
DisplaysthecurrentECMPhashingmechanism.
Commandmode:All
showiproutegateway<IPaddress>
Displaysroutestoasinglegateway.
Commandmode:All
showiprouteinterface<interfacenumber>
Displaysroutesonasingleinterface.
Commandmode:All
showiprouteport<portaliasornumber>
Displaysroutesonasingleport.
Commandmode:All
showiproutestatic
Displaysstaticroutesconfiguredontheswitch.
Commandmode:All
showiproutetag{address|bgp|broadcast|fixed|martian|
|multicast|ospf|rip|static}
Displaysroutesofasingletag.ForadescriptionofIProutingtags,seeTable 41
onpage 89.
Commandmode:All
showiproutetype{broadcast|direct|indirect|local|
|martian|multicast}
Displaysroutesofasingletype.ForadescriptionofIProutingtypes,see
Table 40onpage 89.
Commandmode:All

88

G8052 Command Reference for N/OS 8.3

Show All IP Route Information


ThefollowingcommanddisplaysIProuteinformation:
showiproute
Commandmode:All
Statuscode:*best
DestinationMaskGatewayTypeTagMetrIf

*0.0.0.00.0.0.0172.31.1.1indirectstatic1
*12.0.0.0255.0.0.00.0.0.0martianmartian
*12.31.0.0255.255.0.0172.31.36.139directfixed1
*12.31.36.139255.255.255.255172.31.36.139localaddr1
*12.31.255.255255.255.255.255172.31.255.255broadcastbroadcast1
*224.0.0.0224.0.0.00.0.0.0martianmartian
*224.0.0.0240.0.0.00.0.0.0multicastaddr
*255.255.255.255255.255.255.255255.255.255.255broadcastbroadcast

ThefollowingtabledescribestheTypeparameters.
Table 40. IPRoutingTypeParameters
Parameter

Description

indirect

Thenexthoptothehostorsubnetdestinationwillbeforwarded
througharouterattheGatewayaddress.

direct

Packetswillbedeliveredtoadestinationhostorsubnet
attachedtotheswitch.

local

IndicatesaroutetooneoftheswitchsIPinterfaces.

broadcast

Indicatesabroadcastroute.

martian

Thedestinationbelongstoahostorsubnetwhichisfilteredout.
Packetstothisdestinationarediscarded.

multicast

Indicatesamulticastroute.

ThefollowingtabledescribestheTagparameters.
Table 41. IPRoutingTagParameters

Copyright Lenovo 2015

Parameter

Description

fixed

Theaddressbelongstoahostorsubnetattachedtotheswitch.

static

Theaddressisastaticroutewhichhasbeenconfiguredonthe
RackSwitchG8052.

addr

TheaddressbelongstooneoftheswitchsIPinterfaces.

rip

TheaddresswaslearnedbytheRoutingInformationProtocol
(RIP).

ospf

TheaddresswaslearnedbyOpenShortestPathFirst(OSPF).

bgp

TheaddresswaslearnedviaBorderGatewayProtocol(BGP).

Chapter 2: Information Commands

89

Table 41. IPRoutingTagParameters(continued)

90

Parameter

Description

broadcast

Indicatesabroadcastaddress.

martian

Theaddressbelongstoafilteredgroup.

multicast

Indicatesamulticastaddress.

G8052 Command Reference for N/OS 8.3

ARP Information
TheARPinformationincludesIPaddressandMACaddressofeachentry,address
statusflags(seeTable 43onpage 93),VLAN,ageandportfortheaddress.
Table 42. ARPInformationOptions
Command Syntax and Usage

show[ip]arp[all]
DisplaysallARPentries.including:

IPaddressandMACaddressofeachentry

Addressstatusflag

TheVLANandporttowhichtheaddressbelongs

Theelapsedtime(inseconds)sincetheARPentrywaslearned

Formoreinformation,seepage 93.
Commandmode:All
show[ip]arpfind<IPaddress>
DisplaysasingleARPentrybyIPaddress.
Commandmode:All
showiparpinspection
DisplaysthecurrentDynamicARPInspection(DAI)configurationsettings.
Fordetails,seepage 94.
Commandmode:All
show[ip]arpinterfaceport<portaliasornumber>
DisplaystheARPentriesonasingleport.
Commandmode:All
show[ip]arpreply
DisplaystheARPentriesfortheswitchsIPinterfaces.
Commandmode:All
show[ip]arpstatic
DisplaysallstaticARPentries.
Commandmode:All
show[ip]arpvlan<VLANID(14095)>
DisplaystheARPentriesonasingleVLAN.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

91

ARP Address List Information


ThefollowingcommanddisplaysownedARPaddresslistinformation:
show[ip]arpreply
Commandmode:All
IPaddressIPmaskMACaddressVLANPassUp

1.1.1.1255.255.255.25508:17:f4:62:64:001
2.2.2.2255.255.255.25508:17:f4:62:64:001
46.0.0.1255.255.255.25508:17:f4:62:64:004094
3.3.3.20255.255.255.25508:17:f4:62:64:003

92

G8052 Command Reference for N/OS 8.3

Show All ARP Entry Information


ThefollowingcommanddisplaysARPinformation:
show[ip]arp
Commandmode:All
CurrentARPconfiguration:
rearp5
NostaticARPconfigured.
TotalnumberdataARPentries:12
IPaddressFlagsMACaddressVLANAgePort

10.100.121.100:22:00:ad:45:00409401
10.100.121.2Pfc:cf:62:e7:7f:004094
10.100.121.1844:37:e6:6f:69:9740941361
10.100.121.13008:17:f4:6f:1e:fe409461
10.100.121.14534:40:b5:40:3f:fe4094831
10.100.121.15134:40:b5:40:ad:fe40942721
10.100.121.15234:40:b5:40:53:fe40941411
10.100.121.17034:40:b5:df:32:8a40942741
10.100.121.17134:40:b5:df:32:8a409461
10.100.121.247a8:97:dc:d1:df:fe4094821
10.100.121.250a8:97:dc:dd:eb:fe4094981
11.0.0.1Pfc:cf:62:e7:7f:004094

ThePortfieldshowsthetargetportoftheARPentry.
TheFlagsfieldisinterpretedasfollows:
Table 43. ARPFlagParameters

Copyright Lenovo 2015

Flag

Description

PermanententrycreatedforswitchIPinterface.

Indirectrouteentry.

UnresolvedARPentry.TheMACaddresshasnotbeenlearned.

Chapter 2: Information Commands

93

Dynamic ARP Inspection Information


ThefollowingcommandsdisplayDynamicARPInspection(DAI)information:
Table 44. DynamicARPInspectionInformationOptions
Command Syntax and Usage

showiparpinspection
DisplaysthecurrentDAIconfigurationsettings.
Commandmode:All
showiparpinspectioninterfaces[<portaliasornumber>]
DisplaysthecurrentDAIconfigurationsettingsfortheselectedinterfaces.
Commandmode:All
showiparpinspectionvlan[<VLANID(14094)>]
DisplaysthecurrentDAIconfigurationsettingsfortheselectedVLANs.
Commandmode:All
showiparpinspectioninterfaces[<portaliasornumber>]
Commandmode:All
InterfaceTrustState

1Trusted
2Trusted
3Untrusted
4Untrusted
...

showiparpinspectionvlan[<VLANID(14094)>]
Commandmode:All
VlanConfiguration

2Enabled

94

G8052 Command Reference for N/OS 8.3

BGP Information
ThefollowingcommandsdisplayBGPinformation:
Table 45. BGPPeerInformationOptions
Command Syntax and Usage

showipbgpaggregateaddress[<116>]
DisplaysthecurrentBGPaggregationconfiguration.
Commandmode:All
showipbgpinformation
DisplaystheBGProutingtable.Seepage 96forasampleoutput.
Commandmode:All
showipbgpneighbor[<112>]
DisplaysthecurrentBGPpeerconfiguration.
Commandmode:All
showipbgpneighboradvertisedroutes
DisplaysallBGPadvertisedroutestoallneighbors.
Commandmode:All
showipbgpneighbor<112>advertisedroutes
DisplaysallBGPadvertisedroutestoaspecificpeer.
Commandmode:All
showipbgpneighborinformation
DisplaysBGPpeerinformation.Seepage 96forasampleoutput.
Commandmode:All
showipbgpneighbor<112>information
DisplaysBGPpeerinformationforaspecificpeer.
Commandmode:All
showipbgpneighbor<112>redistribute
DisplaysBGPneighborredistribution.
Commandmode:All
showipbgpneighbor<112>routes
DisplaysBGPpeerroutes.
Commandmode:All
showipbgpneighborsummary
DisplayspeersummaryinformationsuchasAS,messagereceived,message
sent,up/downorstate.Seepage 96forasampleoutput.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

95

BGP Peer Information


Followingisanexampleoftheinformationprovidedbythefollowingcommand:
showipbgpneighborinformation
Commandmode:All
BGPPeerInformation:
StaticPeers:
1:3.5.0.3,version4,TTL255,TTLSecurityhops0
RemoteAS:10000,LocalAS:10000,Linktype:IBGP
RemoterouterID:3.3.3.3,LocalrouterID:5.5.5.5
nexthopselfdisabled
RRclientdisabled
BGPstatus:established,Oldstatus:established
Totalreceivedpackets:4321,Totalsentpackets:4309
Receivedupdates:12,Sentupdates:0
Keepalive:60,Holdtime:180,MinAdvTime:60
LastErrorCode:unknown(0),LastErrorSubcode:unspecified(0)
Establishedstatetransitions:1

BGP Summary Information


Followingisanexampleoftheinformationprovidedbythefollowingcommand:
showipbgpneighborsummary
Commandmode:All
BGPPeerSummaryInformation:
PeerVASMsgRcvdMsgSentUp/DownState

1:205.178.23.142414211312100:00:28established
2:205.178.15.148014800neverconnect

Dump BGP Information


Followingisanexampleoftheinformationprovidedbythefollowingcommand:
showipbgpinformation[<IPv4network><IPv4mask>]
Commandmode:All
Statuscodes:*valid,>best,=multipath,iinternal
Origincodes:iIGP,eEGP,?incomplete
NetworkMaskNextHopMetricLcPrfWghtPath

*>1.1.1.0255.255.255.00.0.0.00?
*>10.100.100.0255.255.255.00.0.0.00?
*>10.100.120.0255.255.255.00.0.0.00?

TheIPv4networkandmaskoptionsrestricttheoutputtoaspecificnetworkinthe
BGProutingtable.

96

G8052 Command Reference for N/OS 8.3

OSPF Information
ThefollowingcommandsdisplayOSPFinformation:
Table 46. OSPFInformationOptions
Command Syntax and Usage

showinterfaceip<interfacenumber>ospf
DisplaysthecurrentOSPFsettingsforthespecifiedIPinterface.
Commandmode:All
showipospfarea<019>
DisplaysOSPFsettingsforaparticularareaindex.
Commandmode:All
showipospfareainformation[<019>]
Displaysareainformationforallareasoraparticularareaindex.
Commandmode:All
showipospfarearange<116>
DisplaysthecurrentOSPFsummaryrangesettings.
Commandmode:All
showipospfareavirtuallink<13>
DisplaysthecurrentOSPFvirtuallinksettings.
Commandmode:All
showipospfareavirtuallinkinformation
Displaysinformationaboutalltheconfiguredvirtuallinks.
Commandmode:All
showipospfgeneralinformation
DisplaysgeneralOSPFinformation.Seepage 99forasampleoutput.
Commandmode:All
showipospfhost<1128>
DisplaysthecurrentOSPFhostentries.
Commandmode:All
showipospfhostinformation
DisplaysOSPFhostconfigurationinformation.
Commandmode:All
showipospfinformation
DisplaystheOSPFinformation.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

97

Table 46. OSPFInformationOptions(continued)


Command Syntax and Usage

showipospfinterface[<IPinterfacenumber>]
DisplaysOSPFinformationforallIPinterfacesoraparticularinterface.See
page 99forasampleoutput.
Commandmode:All
showipospfinterfaceloopback[<15>]
DisplaysOSPFinformationforallloopbackinterfacesoraparticularloopback
interface.Seepage 100forasampleoutput.
Commandmode:All
showipospfinterfaceport[<portaliasornumber>]
DisplaysOSPFinformationforallportsoraparticularport.Fordetails,see
page 100.
Commandmode:All
showipospfneighbor
Displaysthestatusofallthecurrentneighbors.
Commandmode:All
showipospfredistribute
DisplaysthecurrentOSPFredistributesettings.
Commandmode:All
showipospfroutes
DisplaysOSPFroutingtable.Seepage 100forasampleoutput.
Commandmode:All
showipospfsummaryrange<019>
DisplaysthelistofsummaryrangesbelongingtononNSSAareas.
Commandmode:All
showipospfsummaryrangenssa<019>
DisplaysthelistofsummaryrangesbelongingtoNSSAareas.
Commandmode:All

98

G8052 Command Reference for N/OS 8.3

OSPF General Information


ThefollowingcommanddisplaysgeneralOSPFinformation:
showipospfgeneralinformation
Commandmode:All
OSPFVersion2
RouterID:10.10.10.1
Startedat1663andtheprocessuptimeis4626
AreaBorderRouter:yes,ASBoundaryRouter:no
LStypessupportedare6
ExternalLSAcount0
ExternalLSAchecksumsum0x0
Numberofinterfacesinthisrouteris2
Numberofvirtuallinksinthisrouteris1
16newlsareceivedand34lsaoriginatedfromthisrouter
TotalnumberofentriesintheLSDB10
Databasechecksumsum0x0
Totalneighborsare1,ofwhich
2are>=INITstate,
2are>=EXCHstate,
2are=FULLstate
Numberofareasis2,ofwhich3transit0nssa
AreaId:0.0.0.0
Authentication:none
ImportASExtern:yes
NumberoftimesSPFran:8
AreaBorderRoutercount:2
ASBoundaryRoutercount:0
LSAcount:5
LSAChecksumsum:0x2237B
Summary:noSummary

OSPF Interface Information


ThefollowingcommanddisplaysOSPFinterfaceinformation:
showipospfinterface<interfacenumber>
Commandmode:All
IpAddress10.10.12.1,Area0.0.0.1,AdminStatusUP
RouterID10.10.10.1,StateDR,Priority1
DesignatedRouter(ID)10.10.10.1,IpAddress10.10.12.1
BackupDesignatedRouter(ID)10.10.14.1,IpAddress10.10.12.2
Timerintervals,Hello10,Dead40,Wait1663,Retransmit5,
Pollinterval0,Transitdelay1
Neighborcountis1IfEvents4,Authenticationtypenone

Copyright Lenovo 2015

Chapter 2: Information Commands

99

OSPF Loopback Information


ThefollowingcommanddisplaysOSPFinformationforaparticularloopback
interface.Ifnoparameterissupplied,itdisplaysOSPFinformationforallthe
loopbackinterfaces:
showipospfinterfaceloopback<15>
Commandmode:All
IpAddress123.123.123.1,Area0.0.0.0,Passiveinterface,AdminStatusUP
RouterID1.1.1.1,StateLoopback,Priority1
DesignatedRouter(ID)0.0.0.0,IpAddress0.0.0.0
BackupDesignatedRouter(ID)0.0.0.0,IpAddress0.0.0.0
Timerintervals,Hello10,Dead40,Wait40,Retransmit5,Transitdelay1
Neighborcountis0IfEvents1,Authenticationtypenone

OSPF Port Information


ThefollowingcommanddisplaysOSPFinformationforaparticularport.Ifno
parameterissupplied,itdisplaysOSPFinformationforalltheports:
showipospfinterfaceport<portaliasornumber>
Commandmode:All
IpAddress10.241.39.82,Area0.0.0.0,AdminStatusUP
RouterID1.1.1.1,StateWaiting,Priority1
DesignatedRouter(ID)0.0.0.0,IpAddress0.0.0.0
BackupDesignatedRouter(ID)0.0.0.0,IpAddress0.0.0.0
Timerintervals,Hello10,Dead40,Wait40,Retransmit5,Transitdelay1
Neighborcountis0IfEvents1,Authenticationtypenone

OSPF Information Route Codes


ThefollowingcommanddisplaysOSPFrouteinformation:
showipospfroutes
Commandmode:All
Codes:IAOSPFinterarea,
N1OSPFNSSAexternaltype1,N2OSPFNSSAexternaltype2
E1OSPFexternaltype1,E2OSPFexternaltype2
IA10.10.0.0/16via200.1.1.2
IA40.1.1.0/28via20.1.1.2
IA80.1.1.0/24via200.1.1.2
IA100.1.1.0/24via20.1.1.2
IA140.1.1.0/27via20.1.1.2
IA150.1.1.0/28via200.1.1.2
E2172.18.1.1/32via30.1.1.2
E2172.18.1.2/32via30.1.1.2
E2172.18.1.3/32via30.1.1.2
E2172.18.1.4/32via30.1.1.2
E2172.18.1.5/32via30.1.1.2
E2172.18.1.6/32via30.1.1.2
E2172.18.1.7/32via30.1.1.2
E2172.18.1.8/32via30.1.1.2

100

G8052 Command Reference for N/OS 8.3

OSPF Database Information


ThefollowingcommandsdisplayOSPFDatabaseinformation:
Table 47. OSPFDatabaseInformationOptions
Command Syntax and Usage

showipospfdatabase
DisplaysalltheLinkStateAdvertisements(LSAs).
Commandmode:All
showipospfdatabaseadvertisingrouter<routerID(IPaddress)>
Takesadvertisingrouterasaparameter.DisplaysalltheLSAsintheLS
databasethathavetheadvertisingrouterwiththespecifiedrouterID,for
example:20.1.1.1.
Commandmode:All
showipospfdatabasearea<019>
DisplaysLSdatabaseinformationforthespecifiedOSPFarea.
Commandmode:All
showipospfdatabaseasbrsummary[advertisingrouter
<routerID(IPaddress)>|linkstateid<linkstateID(IPaddress)>|self]
DisplaysASBRsummaryLSAs.Theusageofthiscommandisasfollows:

asbrsummaryadvertisingrouter20.1.1.1displaysASBR
summaryLSAshavingtheadvertisingrouter20.1.1.1.

asbrsummarylinkstateid10.1.1.1displaysASBRsummary
LSAshavingthelinkstateID10.1.1.1.

asbrsummaryselfdisplaystheselfadvertisedASBRsummaryLSAs.

asbrsummarywithnoparametersdisplaysalltheASBRsummaryLSAs.

Commandmode:All
showipospfdatabasedatabasesummary
DisplaysthefollowinginformationabouttheLSdatabaseinatableformat:

NumberofLSAsofeachtypeineacharea.

TotalnumberofLSAsforeacharea.

TotalnumberofLSAsforeachLSAtypeforallareascombined.

TotalnumberofLSAsforallLSAtypesforallareascombined.

Noparametersarerequired.
Commandmode:All
showipospfdatabaseexternal[advertisingrouter
<routerID(IPaddress)>|linkstateid<linkstateID(IPaddress)>|self]
DisplaystheASexternal(type5)LSAswithdetailedinformationofeachfield
oftheLSAs.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

101

Table 47. OSPFDatabaseInformationOptions(continued)


Command Syntax and Usage

showipospfdatabasenetwork[advertisingrouter
<routerID(IPaddress)>|linkstateid<linkstateID(IPaddress)>|self]
Displaysthenetwork(type2)LSAswithdetailedinformationofeachfieldof
theLSA.
Commandmode:All
showipospfdatabasenssa[advertisingrouter
<routerID(IPaddress)>|linkstateid<linkstateID(IPaddress)>|self]
DisplaystheNSSA(type7)LSAswithdetailedinformationofeachfieldofthe
LSAs.
Commandmode:All
showipospfdatabaserouter[advertisingrouter
<routerID(IPaddress)>|linkstateid<linkstateID(IPaddress)>|self]
Displaystherouter(type1)LSAswithdetailedinformationofeachfieldofthe
LSAs.
Commandmode:All
showipospfdatabaseself
DisplaysalltheselfadvertisedLSAs.Noparametersarerequired.
Commandmode:All
showipospfdatabasesummary[advertisingrouter
<routerID(IPaddress)>|linkstateid<linkstateID(IPaddress)>|self]
Displaysthenetworksummary(type3)LSAswithdetailedinformationof
eachfieldoftheLSAs.
Commandmode:All

102

G8052 Command Reference for N/OS 8.3

OSPFv3 Information
ThefollowingcommandsdisplayOSPFv3information:
Table 48. OSPFv3InformationOptions
Command Syntax and Usage

showipv6ospfarea<areaindex(02)>
DisplaystheOSPFv3areainformation.
Commandmode:All
showipv6ospfareas
DisplaystheOSPFv3AreaTable.
Commandmode:All
showipv6ospfarearange<116>
DisplaysthecurrentOSPFv3summaryrangesettings.
Commandmode:All
showipv6ospfarearangeinformation
DisplaysOSPFv3summaryranges.
Commandmode:All
showipv6ospfareavirtuallink<13>
DisplaysthecurrentOSPFv3virtuallinksettings.
Commandmode:All
showipv6ospfareavirtuallinkinformation
Displaysinformationaboutalltheconfiguredvirtuallinks.
Commandmode:All
showipv6ospfborderrouters
DisplaysOSPFv3routestoanABRorASBR.
Commandmode:All
showipv6ospfhost<1128>
DisplaysthecurrentOSPFv3hostentries.
Commandmode:All
showipv6ospfhostinformation
DisplaysOSPFv3hostconfigurationinformation.
Commandmode:All
showipv6ospfinformation
DisplaysallOSPFv3information.Toviewasampledisplay,seepage 105.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

103

Table 48. OSPFv3InformationOptions(continued)


Command Syntax and Usage

showipv6ospfinterface[<interfacenumber>]
Displaysinterfaceinformationforaparticularinterface.Ifnoparameteris
supplied,itdisplaysinformationforalltheinterfaces.Toviewasample
display,seepage 105.
Commandmode:All
showipv6ospfneighbor[<nbrrouterID(IPaddress)>]
DisplaysthestatusofaneighborwithaparticularrouterID.IfnorouterIDis
supplied,itdisplaystheinformationaboutallthecurrentneighbors.
Commandmode:All
showipv6ospfredistconfig<1128>
DisplaysthecurrentOSPFv3redistributionconfigurationforthespecified
entry.
Commandmode:All
showipv6ospfredistconfiginformation
DisplaysOSPFv3redistributioninformationtobeappliedtorouteslearned
fromtheroutetable.
Commandmode:All
showipv6ospfrequestlist[<nbrrouterID(IPaddress)>]
DisplaystheOSPFv3requestlist.IfnorouterIDissupplied,itdisplaysthe
informationaboutallthecurrentneighbors.
Commandmode:All
showipv6ospfretranslist[<nbrrouterID(IPaddress)>]
DisplaystheOSPFv3retransmissionlist.IfnorouterIDissupplied,itdisplays
theinformationaboutallthecurrentneighbors.
Commandmode:All
showipv6ospfroutes
DisplaysOSPFv3routingtable.Toviewasampledisplay,seepage 107.
Commandmode:All
showipv6ospfsummaryprefix<116>
DisplaysthecurrentOSPFv3ASexternalrange.
Commandmode:All
showipv6ospfsummaryprefixinformation
DisplaystheOSPFv3externalsummaryaddressconfigurationinformation.
Commandmode:All

104

G8052 Command Reference for N/OS 8.3

OSPFv3 Information Dump


ThefollowingcommanddisplaysOSPFv3information:
showipv6ospfinformation
Commandmode:All
RouterId:1.0.0.1ABRType:StandardABR
SPFscheduledelay:5secsHoldtimebetweentwoSPFs:10secs
ExitOverflowInterval:0RefBW:100000ExtLsdbLimit:none
TraceValue:0x00008000AsScopeLsa:2ChecksumSum:0xfe16
PassiveInterface:Disable
NssaAsbrDefaultRouteTranslation:Disable
AutonomousSystemBoundaryRouter
RedistributingExternalRoutesfromconnected,metric10,metrictype
asExtType1,notagset
NumberofAreasinthisrouter1
Area0.0.0.0
Numberofinterfacesinthisareais1
NumberofAreaScopeLsa:7ChecksumSum:0x28512
NumberofIndicationLsa:0SPFalgorithmexecuted:2times

OSPFv3 Interface Information


ThefollowingcommanddisplaysOSPFv3interfaceinformation:
showipv6ospfinterface
Commandmode:All
Ospfv3InterfaceInformation
InterfaceId:1InstanceId:0AreaId:0.0.0.0
LocalAddress:fe80::222:ff:fe7d:5d00RouterId:1.0.0.1
NetworkType:BROADCASTCost:1State:BACKUP
DesignatedRouterId:2.0.0.2localaddress:
fe80::218:b1ff:fea1:6c01
BackupDesignatedRouterId:1.0.0.1localaddress:
fe80::222:ff:fe7d:5d00
TransmitDelay:1secPriority:1IfOptions:0x0
Timerintervalsconfigured:
Hello:10,Dead:40,Retransmit:5
Helloduein6sec
NeighborCountis:1,Adjacentneighborcountis:1
Adjacentwithneighbor2.0.0.2

Copyright Lenovo 2015

Chapter 2: Information Commands

105

OSPFv3 Database Information


ThefollowingcommandsdisplayOSPFv3Databaseinformation:
Table 49. OSPFv3DatabaseInformationOptions
Command Syntax and Usage

showipv6ospfdatabase[detail|hex]
DisplaysalltheLinkStateAdvertisements(LSAs).
Commandmode:All
showipv6ospfdatabaseasexternal[detail|hex]
DisplaysASExternalLSAsdatabaseinformation.Ifnoparameterissupplied,
itdisplayscondensedinformation.
Commandmode:All
showipv6ospfdatabaseinterprefix[detail|hex]
DisplaysInterAreaPrefixLSAsdatabaseinformation.Ifnoparameteris
supplied,itdisplayscondensedinformation.
Commandmode:All
showipv6ospfdatabaseinterrouter[detail|hex]
DisplaysInterArearouterLSAsdatabaseinformation.Ifnoparameteris
supplied,itdisplayscondensedinformation.
Commandmode:All
showipv6ospfdatabaseintraprefix[detail|hex]
DisplaysIntraAreaPrefixLSAsdatabaseinformation.Ifnoparameteris
supplied,itdisplayscondensedinformation.
Commandmode:All
showipv6ospfdatabaselink[detail|hex]
DisplaysLinkLSAsdatabaseinformation.Ifnoparameterissupplied,it
displayscondensedinformation.
Commandmode:All
showipv6ospfdatabasenetwork[detail|hex]
DisplaysNetworkLSAsdatabaseinformation.Ifnoparameterissupplied,it
displayscondensedinformation.
Commandmode:All
showipv6ospfdatabasenssa[detail|hex]
DisplaysType7(NSSA)LSAdatabaseinformation.Ifnoparameteris
supplied,itdisplayscondensedinformation.
Commandmode:All
showipv6ospfdatabaserouter[detail|hex]
DisplaystheRouterLSAswithdetailedinformationofeachfieldoftheLSAs.
Ifnoparameterissupplied,itdisplayscondensedinformation.
Commandmode:All

106

G8052 Command Reference for N/OS 8.3

OSPFv3 Route Codes Information


ThefollowingcommanddisplaysOSPFv3routeinformation:
showipv6ospfroutes
Commandmode:All
Dest/NextHp/CostRt.TypeArea
PrefixLengthIfIndex
3ffe::10:0:0:0fe80::290:69ff30interArea0.0.0.0
/80fe90:b4bf/vlan1
3ffe::20:0:0:0fe80::290:69ff20interArea0.0.0.0
/80fe90:b4bf/vlan1
3ffe::30:0:0:0::/vlan210intraArea0.0.0.0
/80
3ffe::60:0:0:6fe80::211:22ff10interArea0.0.0.0
/128fe33:4426/vlan2

Copyright Lenovo 2015

Chapter 2: Information Commands

107

Routing Information Protocol


Thefollowingcommandsdisplayinformation:
Table 50. RoutingInformationProtocolOptions
Command Syntax and Usage

showiprip
DisplaysthecurrentRIPconfiguration.
Commandmode:All
showipripinterface[<IPinterfacenumber>|port<portaliasornumber>]
DisplaysthecurrentRIPinterfaceconfiguration.Formoreinformation,see
page 109.
Commandmode:All
showipripredistribute
DisplaysthecurrentRIProuteredistributeconfiguration.
Commandmode:All
showipriproutes
DisplaysRIProutes.Formoreinformation,seepage 109.
Commandmode:All

108

G8052 Command Reference for N/OS 8.3

RIP Routes Information


ThefollowingcommanddisplaysRIProuteinformation:
showipriproutes
Commandmode:All
>>IPRouting#
30.1.1.0/24directlyconnected
3.0.0.0/8via30.1.1.11metric4
4.0.0.0/16via30.1.1.11metric16
10.0.0.0/8via30.1.1.2metric3
20.0.0.0/8via30.1.1.2metric2

ThistablecontainsalldynamicrouteslearnedthroughRIP,includingtheroutes
thatareundergoinggarbagecollectionwithmetric=16.Thistabledoesnotcontain
locallyconfiguredstaticroutes.

RIP Interface Information


ThefollowingcommanddisplaysRIPuserinformation:
showipripinterface<interfacenumber>
Commandmode:All
RIPUSERCONFIGURATION:
RIP:ON,update30
RIPonInterface49:101.1.1.10,enabled
version2,listenenabled,supplyenabled,defaultnone
poisondisabled,splithorizonenabled,triggenabled,mcastenabled,metric1
authnone,keynone

Copyright Lenovo 2015

Chapter 2: Information Commands

109

IPv6 Routing Information


ThefollowingtablediscribestheIPv6Routinginformationoptions.
Table 51. IPv6RoutingInformationOptions
Command Syntax and Usage

showipv6route
DisplaysallIPv6routinginformation.Formoreinformation,seepage 111.
Commandmode:All
showipv6routeaddress<IPv6address>
DisplaysasingleroutebydestinationIPv6address.
Commandmode:All
showipv6routegateway<IPv6gatewayaddress>
Displaysroutestoasinglegateway.
Commandmode:All
showipv6routeinterface<interfacenumber>
Displaysroutesonasingleinterface.
Commandmode:All
showipv6routestatic
Displaysthecurrentstaticrouteconfiguration.
Commandmode:All
showipv6routesummary
DisplaysasummaryofIPv6routinginformation,includinginactiveroutes.
Commandmode:All
showipv6routetype{connected|static|ospf}
Displaysroutesofasingletype.ForadescriptionofIProutingtypes,see
Table 40onpage 89.
Commandmode:All

110

G8052 Command Reference for N/OS 8.3

IPv6 Routing Table Information


ThefollowingcommanddisplaysIPv6routinginformation:
showipv6route
Commandmode:All
IPv6RoutingTable3entries
Codes:CConnected,SStatic
OOSPF
DDataGatewayfromRA
S::/0[1/20]
via2001:2:3:4::1,Interface2
C2001:2:3:4::/64[1/1]
via::,Interface2
Cfe80::20f:6aff:feec:f701/128[1/1]

Notethatthefirstnumberinsidethebracketsrepresentsthemetricandthesecond
numberrepresentsthepreferencefortheroute.

Copyright Lenovo 2015

Chapter 2: Information Commands

111

IPv6 Neighbor Cache Information


ThefollowingcommandsdisplayIPv6NeighborCacheinformation:
Table 52. IPv6NeighborCacheInformationOptions
Command Syntax and Usage

showipv6neighbors
DisplaysallIPv6NeighborCacheentries.Formoreinformation,seepage 112.
Commandmode:All
showipv6neighborsfind<IPv6address>
DisplaysasingleIPv6NeighborCacheentrybyIPaddress.
Commandmode:All
showipv6neighborsinterfaceport<portaliasornumber>
DisplaysIPv6NeighborCacheentriesonasingleport.
Commandmode:All
showipv6neighborsstatic
DisplaysstaticIPv6NeighborCacheentries.
Commandmode:All
showipv6neighborsvlan<VLANID(14094)>
DisplaysIPv6NeighborCacheentriesonasingleVLAN.
Commandmode:All

IPv6 Neighbor Cache Information


ThefollowingcommanddisplaysasummaryofIPv6NeighborCacheinformation:
showipv6neighbors
Commandmode:All
IPv6AddressAgeLinklayerAddrStateIFVLANPort

2001:2:3:4::11000:50:bf:b7:76:b0Reachable211
fe80::250:bfff:feb7:76b0000:50:bf:b7:76:b0Stale212

112

G8052 Command Reference for N/OS 8.3

IPv6 Neighbor Discovery Prefix Information


ThefollowingcommanddisplaysasummaryofIPv6NeighborDiscoveryprefix
information:
showipv6prefix
Commandmode:All
Codes:AAddress,PPrefixAdvertisement
DDefault,NNotAdvertised
[L]OnlinkFlagisset
[A]AutonomousFlagisset
AD10::64[LA]Validlifetime2592000,Preferredlifetime604800
P20::64[LA]Validlifetime200,Preferredlifetime100

NeighborDiscoveryprefixinformationincludesinformationaboutallconfigured
prefixes.
ThefollowingcommanddisplaysIPv6NeighborDiscoveryprefixinformationfor
aninterface:
showipv6prefixinterface<interfacenumber>
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

113

ECMP Static Route Information


ThefollowingcommanddisplaysEqualCostMultiPath(ECMP)route
information:
showipecmp
Commandmode:All
Currentecmpstaticroutes:
DestinationMaskGatewayIfGWStatus

10.10.1.1255.255.255.255100.10.1.11up
200.20.2.21down
10.20.2.2255.255.255.25510.233.3.31up
10.20.2.2255.255.255.25510.234.4.41up
10.20.2.2255.255.255.25510.235.5.51up
ECMPhealthcheckpinginterval:1
ECMPhealthcheckretriesnumber:3
ECMPHashMechanism:dipsip

ECMProuteinformationshowsthestatusofeachECMProuteconfiguredonthe
switch.

114

G8052 Command Reference for N/OS 8.3

IGMP Information
ThefollowingcommandsdisplayIGMPinformation:
Table 53. IGMPMulticastGroupInformationCommands
Command Syntax and Usage

showipigmp
DisplaysthecurrentIGMPconfigurationparameters.
Commandmode:All
showipigmpfiltering
DisplayscurrentIGMPFilteringparameters.
Commandmode:All
showipigmpgroups
Displaysinformationforallmulticastgroups.Fordetails,seepage 118.
Commandmode:All
showipigmpgroupsaddress<IPaddress>
DisplaysasingleIGMPmulticastgroupbyitsIPaddress.
Commandmode:All
showipigmpgroupsdetail<IPaddress>
DisplaysdetailsaboutanIGMPmulticastgroup,includingsourceandtimer
information.
Commandmode:All
showipigmpgroupsinterfaceport<portaliasornumber>
DisplaysallIGMPmulticastgroupsonasingleport.
Commandmode:All
showipigmpgroupsportchannel<1104>
DisplaysallIGMPmulticastgroupsonasingletrunkgroup.
Commandmode:All
showipigmpgroupsvlan<VLANID(14094)>
DisplaysallIGMPmulticastgroupsonasingleVLAN.
Commandmode:All
showipigmpipmcgrp
DisplaysinformationforallIPMCgroups.Fordetails,seepage 119.
Commandmode:All
showipigmpmrouter[dynamic|interfaceport
<portaliasornumber>|portchannel<1104>|static]
DisplaysinformationforallMrouters,alldynamic/staticMrouterports
installedorMrouterportsspecifictoaspecifiedinterface/portchannel.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

115

Table 53. IGMPMulticastGroupInformationCommands(continued)


Command Syntax and Usage

showipigmpmrouterinformation
DisplaysIGMPMulticastRouterinformation.Fordetails,seepage 118.
Commandmode:All
showipigmpmroutervlan<VLANID(14094)>
DisplaysIGMPMulticastRouterinformationforthespecifiedVLAN.
Commandmode:All
showipigmpprofile<116>
DisplaysinformationaboutthecurrentIGMPfilter.
Commandmode:All
showipigmpquerierport<portaliasornumber>
DisplaysIGMPQuerierinformationforaparticularport.
Commandmode:All
showipigmpqueriervlan<VLANID(14094)>
DisplaysIGMPQuerierinformationforaparticularVLAN.Fordetails,see
page 117.
Commandmode:All
showipigmprelay
DisplaysIGMPRelayinformation.
Commandmode:All
showipigmpsnoop
DisplaysIGMPSnoopinginformation.
Commandmode:All
showipigmpsnoopigmpv3
DisplaysthecurrentIGMPv3Snoopingconfiguration.
Commandmode:All

116

G8052 Command Reference for N/OS 8.3

IGMP Querier Information


ThefollowingcommanddisplaysIGMPQuerierinformationforaparticular
VLAN:
showipigmpqueriervlan<VLANID(14094)>
Commandmode:All
CurrentIGMPQuerierinformation:
IGMPQuerierinformationforvlan1:
OtherIGMPqueriernone
Switchquerierenabled,currentstate:Querier
Switchqueriertype:Ipv4,address1.1.1.1,
Switchqueriergeneralqueryinterval:125secs,
Switchqueriermaxresponseinterval:100'tenthsofsecs',
Switchquerierstartupinterval:31secs,count:2
Switchquerierrobustness:2
IGMPconfiguredversionisv3
IGMPOperatingversionisv3

IGMPQuerierinformationincludes:

Copyright Lenovo 2015

VLANnumber

Querierstatus

OtherIGMPqueriernone

IGMPquerierpresent,address:(IPorMACaddress)
OtherIGMPquerierpresent,interval(minutes:seconds)

Querierelectiontype(IPv4orMAC)andaddress

Queryinterval

Querierstartupinterval

Maximumqueryresponseinterval

Querierrobustnessvalue

IGMPversionnumber

Chapter 2: Information Commands

117

IGMP Group Information


ThefollowingcommanddisplaysIGMPGroupinformation:
showipigmpgroups
Commandmode:All
Totalentries:5TotalIGMPgroups:2
Note:The<TotalIGMPgroups>numberiscomputedas
thenumberofunique(Group,Vlan)entries!
Note:Localgroups(224.0.0.x)arenotsnoopedandwillnotappear.
SourceGroupVLANPortVersionModeExpiresFwd

10.1.1.1232.1.1.124V3INC4:16Yes
10.1.1.5232.1.1.124V3INC4:16Yes
*232.1.1.124V3INCNo
10.10.10.43235.0.0.191V3EXC2:26No
*235.0.0.191V3EXCYes

IGMPGroupinformationincludes:

IGMPsourceaddress
IGMPGroupaddress
VLANandport
IGMPversion
IGMPv3filtermode
Expirationtimervalue
IGMPmulticastforwardingstate

IGMP Multicast Router Information


ThefollowingcommanddisplaysMrouterinformation:
showipigmpmrouterinformation
Commandmode:All
Totalentries:3Totalnumberofdynamicmrouters:2
Totalnumberofinstalledstaticmrouters:1
SrcIPVLANPortVersionExpiresMRTQRVQQIC

10.1.1.1221V34:091282125
10.1.1.5223V24:09125
*924V2static

IGMPMrouterinformationincludes:

118

SourceIPaddress
VLANandportwheretheMrouterisconnected
IGMPversion
Mrouterexpiration
Maximumqueryresponsetime
QueriersRobustnessVariable(QRV)
QueriersQueryIntervalCode(QQIC)

G8052 Command Reference for N/OS 8.3

IPMC Group Information


ThefollowingcommanddisplaysIGMPIPMCgroupinformation:
showipigmpipmcgrp
Commandmode:All
Totalnumberofdisplayedipmcgroups:4
Legend(possiblevaluesinTypecolumn):
SHstatichostDRdynamicregistered
SPstaticprimaryDUdynamicunregistered
SBstaticbackupMmrouter
Oother

SourceGroupVlanPortTypeTimeleft
============================================================
*232.0.0.11DU6sec
*232.0.0.21DU6sec
*232.0.0.31DU6sec
*232.0.0.41DU6sec

IGMPIPMCGroupinformationincludes:

Copyright Lenovo 2015

IGMPsourceaddress

IGMPgroupaddress

VLANandport

TypeofIPMCgroup

Expirationtimervalue

Chapter 2: Information Commands

119

MLD Information
ThefollowingtabledescribesthecommandsusedtoviewMLDinformation.
Table 54. MLDInformationCommands
Command Syntax and Usage

showipv6mldgroups
DisplaysMLDmulticastgroupinformation.
Commandmode:All
showipv6mldgroupsaddress<IPv6address>
DisplaysgroupinformationforthespecifiedIPv6address.
Commandmode:All
showipv6mldgroupsinterfaceport<portaliasornumber>
DisplaysMLDgroupsonasingleinterfaceport.
Commandmode:All
showipv6mldgroupsportchannel<1104>
Displaysgroupsonasingleportchannel.
Commandmode:All
showipv6mldgroupsvlan<VLANID(14094)>
DisplaysgroupsonasingleVLAN.
Commandmode:All
showipv6mldinterface[<1128>]
DisplaysinformationforallMLDinterfacesoraspecificMLDinterface.
Commandmode:All
showipv6mldmrouter
DisplaysallMLDMrouterports.Seepage 121forsampleoutput.
Commandmode:All

120

G8052 Command Reference for N/OS 8.3

MLD Mrouter Information


ThefollowingcommanddisplaysMLDMrouterinformation:
showipv6mldmrouter
Commandmode:All
Source:fe80:0:0:0:200:14ff:fea8:40c9
Port/Vlan:26/4
Interface:3
QRV:2QQIC:125
MaximumResponseDelay:1000
Version:MLDv2Expires:1:02

ThefollowingtabledescribestheMLDMrouterinformationdisplayedinthe
output.
Table 55. MLDMrouter
Statistic

Description

Source

Displaysthelinklocaladdressofthereporter.

Port/Vlan

Displaystheport/vlanonwhichthegeneralqueryis
received.

Interface

Displaystheinterfacenumberonwhichthegeneralquery
isreceived.

QRV

DisplaystheQueriersrobustnessvariablevalue.

QQIC

DisplaystheQueriersqueryintervalcode.

MaximumResponse Displaystheconfiguredmaximumqueryresponsetime.
Delay

Copyright Lenovo 2015

Version

DisplaystheMLDversionconfiguredontheinterface.

Expires

Displaystheamountoftimethatmustpassbeforethe
multicastrouterdecidesthattherearenomorelisteners
foramulticastaddressoraparticularsourceonalink.

Chapter 2: Information Commands

121

VRRP Information
VirtualRouterRedundancyProtocol(VRRP)supportonRackSwitchG8052provides
redundancybetweenroutersinaLAN.Thisisaccomplishedbyconfiguringthe
samevirtualrouterIPaddressandIDnumberoneachparticipatingVRRPcapable
routingdevice.Oneofthevirtualroutersisthenelectedasthemaster,basedona
numberofprioritycriteria,andassumescontrolofthesharedvirtualrouterIP
address.Ifthemasterfails,oneofthebackupvirtualrouterswillassumerouting
authorityandtakecontrolofthevirtualrouterIPaddress.
ThefollowingtabledescribescommandstoviewVRRPinformation:
Table 56. VRRPInformationCommands
Command Syntax and Usage

showipvrrp
DisplaysthecurrentVRRPparameters.
Commandmode:All
showipvrrpgroup
Displaysthecurrentconfigurationinformationforthevirtualroutergroup.
Commandmode:All
showipvrrpgrouptrack
Displaysthecurrentconfigurationforprioritytrackingforthevirtualrouter.
Commandmode:All
showipvrrpinformation
DisplaysVRRPinformation.Fordetails,seepage 123.
Commandmode:All
showipvrrpinterface<1128>
DisplaysthecurrentconfigurationforthisIPinterfacesauthentication
parameters.
Commandmode:All
showipvrrptrackingpriorityincrement
Displaysthecurrentconfigurationofprioritytrackingincrementvalues.
Commandmode:All
showipvrrpvirtualrouter<1128>
Displaysthecurrentconfigurationinformationforthisvirtualrouter.
Commandmode:All
showipvrrpvirtualrouter<1128>track
Displaysthecurrentconfigurationforprioritytrackingforthisvirtualrouter.
Commandmode:All

122

G8052 Command Reference for N/OS 8.3

ThefollowingcommanddisplaysVRRPinformation:
showipvrrpinformation
Commandmode:All
VRRPinformation:
1: vrid2,205.178.18.210, if1,renter,prio100,master
2: vrid1,205.178.18.202, if1,renter,prio100,backup
3: vrid3,205.178.18.204, if1,renter,prio100,master

Whenvirtualroutersareconfigured,youcanviewthestatusofeachvirtualrouter
usingthiscommand.VRRPinformationincludes:
Virtualrouternumber
VirtualrouterIDandIPaddress
Interfacenumber
Ownershipstatus

owneridentifiesthepreferredmastervirtualrouter.Avirtualrouteristhe
ownerwhentheIPaddressofthevirtualrouteranditsIPinterfacearethe
same.

renteridentifiesvirtualrouterswhicharenotownedbythisdevice.

Priorityvalue.Duringtheelectionprocess,thevirtualrouterwiththehighest
prioritybecomesmaster.
Activitystatus

Copyright Lenovo 2015

masteridentifiestheelectedmastervirtualrouter.

backupidentifiesthatthevirtualrouterisinbackupmode.

initidentifiesthatthevirtualrouteriswaitingforastartupevent.
Forexample,onceitreceivesastartupevent,ittransitionstomasterifits
priorityis255,(theIPaddressowner)ortransitionstobackupifitisnottheIP
addressowner.

Chapter 2: Information Commands

123

Interface Information
Thefollowingcommanddisplaysinterfaceinformation:
showinterfaceip
Commandmode:All
Interfaceinformation:
1:IP4127.31.35.5255.255.0.0172.31.255.255,vlan1,up
2:IP62002:0:0:0:0:0:0:5/64,vlan1,up
fe80::213:aff:fe4f:7c01
3:IP63003:0:0:0:0:0:0:5/64,vlan2,up
fe80::213:aff:fe4f:7c02
127:IP610:90:90:0:0:0:0:97/64,vlan4095,DOWN
128:IP410.90.90.97255.255.255.010.90.90.255,vlan4095,up

Foreachinterface,thefollowinginformationisdisplayed:
IPv4interfaceaddressandsubnetmask
IPv6addressandprefix
VLANassignment
Status(up,DOWN,disabled)

Note: IfroutingisenabledusingthenoswitchportcommandinInterface
Portmode,thiscommandalsodisplaysIPinterfacesconfiguredonphysicalports
aswellasLACPandLAGs.

124

G8052 Command Reference for N/OS 8.3

IPv6 Interface Information


ThefollowingcommanddisplaysIPv6interfaceinformation:
showipv6interface<interfacenumber>
Commandmode:All
Interfaceinformation:
2:IP62001:0:0:0:225:3ff:febb:bb15/64,vlan1,up
fe80::225:3ff:febb:bb15
Linklocaladdress:
fe80::225:3ff:febb:bb15
Globalunicastaddress(es):
2001::225:3ff:febb:bb15/64
Anycastaddress(es):
NotConfigured.
Joinedgroupaddress(es):
ff02::1
ff02::2
ff02::1:ffbb:bb15
MTUis1500
ICMPredirectsareenabled
NDDADisenabled,NumberofDADattempts:1
NDrouteradvertisementisdisabled

Foreachinterface,thefollowinginformationisdisplayed:

Copyright Lenovo 2015

IPv6interfaceaddressandprefix

VLANassignment

Status(up,downordisabled)

PathMTUsize

StatusofICMPredirects

StatusofNeighborDiscovery(ND)DuplicateAddressDetection(DAD)

StatusofNeighborDiscoveryrouteradvertisements

Chapter 2: Information Commands

125

IPv6 Path MTU Information


ThefollowingcommanddisplaysIPv6PathMTUinformation:
showipv6pmtu[<destinationIPv6address>]
Commandmode:All
PathMTUDiscoveryinfo:
MaxCacheEntryNumber:10
CurrentCacheEntryNumber:2
CacheTimeoutInterval:10minutes
DestinationAddressSincePMTU
5000:1::300:02:261400
FE80::203:A0FF:FED6:141D00:06:551280

PathMTUDiscoveryinformationprovidesinformationaboutentriesinthePath
MTUcache.ThePMTUfieldindicatesthemaximumpacketsizeinoctetsthatcan
successfullytraversethepathfromtheswitchtothedestinationnode.Itisequalto
theminimumlinkMTUofallthelinksinthepathtothedestinationnode.

126

G8052 Command Reference for N/OS 8.3

IP Information
ThefollowingcommanddisplaysLayer3information:
showipinterfacebrief
Commandmode:All
IPinformation:
ASnumber0
Interfaceinformation:
1:IP410.241.37.30255.255.255.12810.241.37.127,vlan1,up
Loopbackinterfaceinformation:
Defaultgatewayinformation:metricstrict
1:10.241.37.1,upactive
DefaultIP6gatewayinformation:
ECMPHashMechanism:dipsip
CurrentBOOTPrelaysettings:OFF
Globalservers:

Server1address0.0.0.0
Server2address0.0.0.0
Server3address0.0.0.0
Server4address0.0.0.0
Server5address0.0.0.0
CurrentBOOTPrelayoption82settings:OFF
CurrentBOOTPrelayoption82policy:Replace
CurrentDHCPSnoopingsettings:Off
DHCPSnoopingisconfiguredonthefollowingVLANs:
empty
Insertionofoption82informationisDisable
InterfaceTrustedRatelimit(pps)

1Nonone
2Nonone
3Nonone
4Nonone
5Nonone
...
47Nonone
48Nonone
XGE1Nonone
XGE2Nonone
XGE3Nonone
XGE4Nonone
CurrentIPforwardingsettings:ON,dirbrdisabled,noicmprddisabled,
ICMPv6redirectdisabled
Currentnetworkfiltersettings:none
Currentroutemapsettings:none
RIPisdisabled.
OSPFisdisabled.
CurrentOSPFv3settings:OSPFv3isdisabled.
CurrentPIMsettings:OFF
BGPisdisabled.
Copyright Lenovo 2015

Chapter 2: Information Commands

127

IPinformationincludes:

128

IPinterfaceinformation:Interfacenumber,IPaddress,subnetmask,broadcast
address,VLANnumberandoperationalstatus.

Defaultgatewayinformation:Metricforselectingwhichconfiguredgatewayto
use,gatewaynumber,IPaddressandhealthstatus

BootPrelaysettings

IPforwardingsettings,includingtheforwardingstatusofdirectedbroadcasts
andthestatusofICMPredirects

Networkfiltersettings,ifapplicable

Routemapsettings,ifapplicable

G8052 Command Reference for N/OS 8.3

IKEv2 Information
ThefollowingtablelistscommandsthatdisplayinformationaboutIKEv2.
Table 57. IKEv2InformationCommands
Command Syntax and Usage

showikev2
DisplaysallIKEv2information.Seepage 130forsampleoutput.
Commandmode:All
showikev2cacert
DisplaystheCAcertificate.
Commandmode:All
showikev2hostcert
Displaysthehostcertificate.
Commandmode:All
showikev2identity
DisplaysIKEv2identityinformation.
Commandmode:All
showikev2presharekey
DisplaystheIKEv2presharekey.
Commandmode:All
showikev2proposal
DisplaystheIKEv2proposal.
Commandmode:All
showikev2retransmitinterval
DisplaystheIKEv2retransmitinterval.
Commandmode:All
showikev2sa
DisplaystheIKEv2SA.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

129

IKEv2 Information Dump


ThefollowingcommanddisplaysIKEv2information:
showikev2
Commandmode:All
IKEv2retransmittime:20
IKEv2cookienotification:disable
IKEv2authenticationmethod:Presharedkey
IKEv2proposal:
Cipher:3des
Authentication:sha1
DHGroup:dh24
Localpresharekey:ibm123
IKEv2chooseIPv6addressasIDtype

IKEv2informationincludes:

130

IKEv2retransmittime,inseconds.

WhetherIKEv2cookienotificationisenabled.

TheIKEv2proposalinforce.Thisincludestheencryptionalgorithm(cipher),
theauthenticationalgorithmtypeandtheDiffieHellman(DH)group,which
determinesthestrengthofthekeyusedinthekeyexchangeprocess.HigherDH
groupnumbersaremoresecurebutrequireadditionaltimetocomputethekey.

Thelocalpresharekey.

WhetherIKEv2isusingIPv4orIPv6addressesastheIDtype.

G8052 Command Reference for N/OS 8.3

IP Security Information
ThefollowingtabledescribesthecommandsusedtodisplayinformationaboutIP
security.
Table 58. IPsecInformationCommands
Command Syntax and Usage

showipsecdynamicpolicy[<110>]
Displaysdynamicpolicyinformation.
Commandmode:All
showipsecmanualpolicy[<110>]
Displaysmanualpolicyinformation.Seepage 132forsampleoutput.
Commandmode:All
showipsecsa
Displaysallsecurityassociationinformation.
Commandmode:All
showipsecspd
Displaysallsecuritypolicyinformation.
Commandmode:All
showipsectrafficselector[<110>]
DisplaysIPsectrafficselectorinformation.
Commandmode:All
showipsectransformset[<110>]
DisplaysIPsectransformsetinformation.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

131

IPsec Manual Policy Information


ThefollowingcommanddisplaysIPsecmanualkeymanagementpolicy
information:
showipsecmanualpolicy
Commandmode:All
IPsecmanualpolicy1
IPAddress:2002:0:0:0:0:0:0:151
AssociatedtransformID:1
AssociatedtrafficselectorID:1
INESPSPI:9900
INESPencryptionKEY:3456789abcdef012
INESPauthenticationKEY:23456789abcdef0123456789abcdef0123456789
OUTESPSPI:7700
OUTESPencryptionKEY:6789abcdef012345
OUTESPauthenticationKEY:56789abcdef0123456789abcdef0123456789abc
Appliedoninterface:
interface1

IPsecmanualpolicyinformationincludes:

132

TheIPaddressoftheremotepeer

ThetransformsetIDassociatedwiththispolicy

TrafficselectorIDassociatedwiththispolicy

ESPinboundSPI

ESPinboundencryptionkey

ESPinboundauthenticationkey

ESPoutboundSPI

ESPoutboundencryptionkey

ESPoutboundauthenticationkey

Theinterfacetowhichthismanualpolicyhasbeenapplied

G8052 Command Reference for N/OS 8.3

DHCP Snooping Binding Table Information


ThefollowingcommanddisplaystheDHCPbindingtable:
showipdhcpsnoopingbinding
Commandmode:All
MacAddressIPAddressLease(seconds)TypeVLANInterface

00:00:01:00:02:0110.0.0.11600dynamic100port1
02:1c:5f:d1:18:9c210.38.197.6386337Static1271
06:51:4d:e6:16:2d194.116.155.19086337Static1051
08:69:0f:1d:ba:3d40.90.17.2686337Static1501
08:a2:6d:00:36:5640.194.18.21386337Static1081
0e:a7:f8:a2:74:2c130.254.47.12986337Static1711
0e:b7:64:02:97:7c35.92.27.11086337Static2491
Totalnumberofbindings:7

TheDHCPSnoopingbindingtabledisplaysinformationforeachentryinthetable.
EachentryhasaMACaddress,anIPaddress,theleasetime,theinterfacetowhich
theentryappliesandtheVLANtowhichtheinterfacebelongs.

Copyright Lenovo 2015

Chapter 2: Information Commands

133

PIM Information
ThefollowingcommandsdisplayPIMinformation:
Table 59. PIMInformationOptions
Command Syntax and Usage

showippimbsr[<componentID(12)>]
DisplaysinformationaboutthePIMbootstraprouter(BSR).
Commandmode:All
showippimcomponent[<componentID(12)>]
DisplaysPIMcomponentinformation.Fordetails,seepage 135.
Commandmode:All
showippimelectedrp[group<multicastgroupIPaddress>]
DisplaysalistoftheelectedRendezvousPoints.
Commandmode:All
showippiminterface[<interfacenumber>|detail|
|loopback<loopbackinterfacenumber>|port<portaliasornumber>]
DisplaysPIMinterfaceinformation.Toviewsampleoutput,seepage 135.
Commandmode:All
showippimmroute
DisplaysinformationaboutPIMmulticastroutes.Formoreinformationabout
displayingPIMmulticastrouteinformation,seepage 137.
Commandmode:All
showippimneighbor[<interfacenumber>|port<portaliasornumber>]
DisplaysPIMneighborinformation.Toviewsampleoutput,seepage 136.
Commandmode:All
showippimneighborfilters
DisplaysinformationaboutPIMneighborfilters.
Commandmode:All
showippimrpcandidate[<componentID(12)>]
DisplaysalistofthecandidateRendezvousPointsconfigured.
Commandmode:All
showippimrpset[<RPIPaddress>]
DisplaysalistoftheRendezvousPointslearned.
Commandmode:All
showippimrpstatic[<componentID(12)>]
DisplaysalistofthestaticRendezvousPointsconfigured.
Commandmode:All

134

G8052 Command Reference for N/OS 8.3

PIM Component Information


ThefollowingcommanddisplaysProtocolIndependentMulticast(PIM)
componentinformation:
showippimcomponent[<componentID(12)>]
Commandmode:All
PIMComponentInformation

ComponentId:1
PIMMode:sparse,PIMVersion:2
ElectedBSR:0.0.0.0
CandidateRPHoldtime:0

PIMcomponentinformationincludesthefollowing:

ComponentID

Mode(sparse,dense)

PIMVersion

ElectedBootstrapRouter(BSR)address

CandidateRendezvousPoint(RP)holdtime,inseconds

PIM Interface Information


ThefollowingcommanddisplaysinformationaboutPIMinterfaces:
showippiminterface
Commandmode:All
AddressIfName/IfIdVer/ModeNbrQryDRAddressDRPrioCountInterval

40.0.0.3net4/42/Sparse13040.0.0.31
50.0.0.3net5/52/Sparse03050.0.0.31

PIMinterfaceinformationincludesthefollowingforeachPIMinterface:

Copyright Lenovo 2015

IPaddress

NameandID

Versionandmode

Neighborcount

Queryinterval

DesignatedRouteraddress

DesignatedRouterpriorityvalue

Chapter 2: Information Commands

135

PIM Neighbor Information


ThefollowingcommanddisplaysPIMneighborinformation:
showippimneighbor
Commandmode:All
NeighbourIfName/IdxUptime/ExpiryVerDRPri/ModeCompIdOverrideLan
AddressIntervalDelay

40.0.0.2net4/400:00:37/79v21/S100
40.0.0.4net1/16000:03:41/92v232/S200

PIMneighborinformationincludesthefollowing:

136

NeighborIPaddress,interfacenameandinterfaceID

NameandIDofinterfaceusedtoreachthePIMneighbor

Uptime(thetimesincethisneighborbecametheneighborofthelocalrouter)

ExpiryTime(theminimumtimeremainingbeforethisPIMneighborexpires)

Versionnumber

DesignatedRouterpriorityandmode

ComponentID

Overrideinterval

LANdelayinterval

G8052 Command Reference for N/OS 8.3

PIM Multicast Route Information Commands


ThefollowingcommandsdisplayPIMMulticastRouteinformation:
Table 60. PIMMulticastRouteInformationOptions
Command Syntax and Usage

showippimmroute
DisplaysinformationaboutallPIMmulticastroutes.
Commandmode:All
showippimmroute[<componentID(12)>]
DisplaysPIMmulticastroutesfortheselectedcomponent.
Commandmode:All
showippimmroutecount
DisplaysacountofPIMmulticastroutesofeachtype.
Commandmode:All
showippimmrouteflags[s][r][w]
DisplaysPIMmulticastroutesbasedontheselectedentryflags.Enterflagsin
anycombination:

S:ShortestPathTree(SPT)bit

R:RendezvousPointTree(RPT)bit

W:Wildcardbit

Commandmode:All
showippimmroutegroup<multicastgroupIPaddress>
DisplaysPIMmulticastroutesfortheselectedmulticastgroup.
Commandmode:All
showippimmrouteinterface{<interfacenumber>|port
<portaliasornumber>}
DisplaysPIMmulticastroutesfortheselectedincomingIPinterface.
Commandmode:All
showippimmroutesource<multicastsourceIPaddress>
DisplaysPIMmulticastroutesfortheselectedsourceIPaddress.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

137

PIM Multicast Route Information


ThefollowingcommanddisplaysPIMmulticastrouteinformation:
showippimmroute
Commandmode:All
IPMulticastRoutingTable

RouteFlagsS:SPTBitW:WildCardBitR:RPTBit
Timers:Uptime/Expires
(8.8.8.111,224.2.2.100),00:42:03/00:01:11
IncomingInterface:net44,RPFnbr:44.44.44.1,RouteFlags:S
OutgoingInterfaceList:
net17,Forwarding/Sparse,00:42:03/
(*,224.2.2.100),00:45:15/,RP:88.88.88.2
IncomingInterface:net5,RPFnbr:5.5.5.2,RouteFlags:WR
OutgoingInterfaceList:
net17,Forwarding/Sparse,00:45:15/
Totalnumberof(*,G)entries:1
Totalnumberof(S,G)entries:1

138

G8052 Command Reference for N/OS 8.3

Quality of Service Information


ThefollowingcommandsdisplayQoSinformation:
Table 61. QoSinformationOptions
Command Syntax and Usage

showqosprotocolpacketcontrolinformationqueue
Displaysthepacketrateconfiguredforeachpacketqueue.
Commandmode:All
showqosprotocolpacketcontrolinformationprotocol
Displaysofmappingofprotocolpackettypestoeachpacketqueuenumber.
Thestatusindicateswhethertheprotocolisrunningornotrunning.
Commandmode:All
showqosrandomdetect
DisplaysWREDandECNinformation.Fordetails,seepage 141.
Commandmode:All
showqostransmitqueue
Displaysthecurrent802.1pparameters.
Commandmode:All
showqostransmitqueueinformation
Displaysall802.1pinformation.Fordetails,seepage 140.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

139

802.1p Information
Thefollowingcommanddisplays802.1pinformation:
showqostransmitqueueinformation
Commandmode:All
CurrentprioritytoCOSqueueinformation:
PriorityCOSqWeight

001
101
201
301
401
501
601
714
Currentportpriorityinformation:
PortPriorityCOSqWeight

1001
2001
3001
4001
5001
6001
7001
...
48001
XGE1001
XGE2001
XGE3001
XGE4001

ThefollowingtabledescribestheIEEE802.1pprioritytoCOSqueueinformation.
Table 62. 802.1pPrioritytoCOSQueueParameterDescriptions
Parameter

Description

Priority

Displaysthe802.1pPrioritylevel.

COSq

DisplaystheClassofServicequeue.

Weight

DisplaystheschedulingweightoftheCOSqueue.

ThefollowingtabledescribestheIEEE802.1pportpriorityinformation.
Table 63. 802.1pPortPriorityParameterDescriptions

140

Parameter

Description

Port

Displaystheportalias.

Priority

Displaysthe802.1pPrioritylevel.

G8052 Command Reference for N/OS 8.3

Table 63. 802.1pPortPriorityParameterDescriptions(continued)


Parameter

Description

COSq

DisplaystheClassofServicequeue.

Weight

Displaystheschedulingweight.

WRED and ECN Information


ThefollowingcommanddisplaysWREDandECNinformation:
showqosrandomdetect
Commandmode:All
Currentwredandecnconfiguration:
GlobalECN:Disable
GlobalWRED:Disable
WREDTcpMinThrTcpMaxThrTcpDrateNonTcpMinThrNonTcpMaxThrNonTcpDrate
TQ0:Dis000000
TQ1:Dis000000
TQ2:Dis000000
TQ3:Dis000000
TQ4:Dis000000
TQ5:Dis000000
TQ6:Dis000000
TQ7:Dis000000

Copyright Lenovo 2015

Chapter 2: Information Commands

141

Access Control List Information


ThefollowingcommandsdisplayAccessControlList(ACL)information:
Table 64. ACLInformationOptions
Command Syntax and Usage

showaccesscontrolgroup[<1640>]
DisplaysACLgroupinformation.
Commandmode:All
showaccesscontrollist[<1640>]
DisplaysACLlistinformation.Fordetails,seepage 143.
Commandmode:All
showaccesscontrollist6[<1128>]
DisplaysIPv6ACLlistinformation.Fordetails,seepage 145.
Commandmode:All
showaccesscontrollog
DisplaysthecurrentACLlogparameters.
Commandmode:All
showaccesscontrolmacl[<1128>]
DisplaysthecurrentMACLparameters.
Commandmode:All
showaccesscontrolvmap[<1128>]
DisplaysVMAPinformation.
Commandmode:All

142

G8052 Command Reference for N/OS 8.3

Access Control List Information


ThefollowingcommandsdisplayIPv4AccessControlList(ACL)information:
Table 65. IPv4AccessControlListInformationCommands
Command Syntax and Usage

showaccesscontrollist[<1640>]
DisplaysACLlistinformation.Toviewsampleoutput,seepage 144.
Commandmode:All
showaccesscontrollist<1640>ethernet
DisplaysthecurrentEthernetparametersforthespecifiedACL.
Commandmode:All
showaccesscontrollist<1640>ipv4
DisplaysthecurrentIPv4parametersforthespecifiedACL.
Commandmode:All
showaccesscontrollist<1640>meter
DisplaysthecurrentmeteringparametersforthespecifiedACL.
Commandmode:All
showaccesscontrollist<1640>mirror
DisplaysthecurrentportmirroringparametersforthespecifiedACL.
Commandmode:All
showaccesscontrollist<1640>packetformat
DisplaysthecurrentPacketFormatparametersforthespecifiedACL.
Commandmode:All
showaccesscontrollist<1640>remark
DisplaysthecurrentremarkparametersforthespecifiedACL.
Commandmode:All
showaccesscontrollist<1640>tcpudp
DisplaysthecurrentTCP/UDPFilteringparametersforthespecifiedACL.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

143

ThefollowingcommanddisplaysAccessControlList(ACL)information:
showaccesscontrollist<1640>
Commandmode:All
CurrentACLListinformation:

Filter1profile:
Ethernet
SMAC:00:00:aa:aa:01:fe/ff:ff:ff:ff:ff:ff
DMAC:00:0d:60:9c:ec:d5/ff:ff:ff:ff:ff:ff
VID:10/0xfff
Ethertype:IP(0x0800)
Priority:3
Meter
Settodisabled
Setcommittedrate:64
Setmaxburstsize:32
ReMark
SetuseofTOSprecedencetodisabled
PacketFormat
Ethernetformat:None
Taggingformat:Any
IPformat:None
Actions:Deny
Statistics:enabled
MirrorTargetConfiguration:
Mirrortargetdestination:port
Egressportformirrortarget:4

IftheACLisbeingusedwithPolicyBasedRouting(PBR),theoutputfromthis
commandismorelikethefollowing:
Filter1profile:routemap16
IPv4
Protocol:17
Actions:Permit
:dscp22
Statistics:enabled
InstalledonPort16

AccessControlList(ACL)informationincludesconfigurationsettingsforeach
ACL.
Table 66. ACLListParameterDescriptions

144

Parameter

Description

Filterx
profile

IndicatestheACLnumber.

Ethernet

DisplaystheACLEthernetheaderparameters,ifconfigured.

IPv4

DisplaystheACLIPv4headerparameters,ifconfigured.

TCP/UDP

DisplaystheACLTCP/UDPheaderparameters,ifconfigured.

Meter

DisplaystheACLmeterparameters.

G8052 Command Reference for N/OS 8.3

Table 66. ACLListParameterDescriptions


Parameter

Description

ReMark

DisplaystheACLremarkparameters.

Packet
Format

DisplaystheACLPacketFormatparameters,ifconfigured.

Actions

DisplaystheconfiguredactionfortheACL.

Statistics

DisplaysstatusofACLstatistics(enabledordisabled).

DisplaysACLportmirroringparameters.
Mirror
Target
Configurat
ion
Filterx
profile

IndicatestheACLnumber.

Access Control IPv6 List Information


ThefollowingcommandsdisplayIPv4AccessControlList(ACL)information:
Table 67. IPv6AccessControlListInformationCommands
Command Syntax and Usage

showaccesscontrollist6[<1128>]
DisplaysthecurrentACLparameters.
Commandmode:All
showaccesscontrollist6<1128>ipv6
DisplaysthecurrentIPv6parametersforthespecifiedACL.
Commandmode:All
showaccesscontrollist6<1128>meter
DisplayscurrentmeteringparametersforthespecifiedACL.
Commandmode:All
showaccesscontrollist6<1128>remark
DisplayscurrentremarkparametersforthespecifiedACL.
Commandmode:All
showaccesscontrollist6<1128>tcpudp
DisplaysthecurrentTCP/UDPFilteringparametersforthespecifiedACL.
Commandmode:All

Copyright Lenovo 2015

Chapter 2: Information Commands

145

OpenFlow Information
ThefollowingcommandsdisplayOpenFlowinformation.
Table 68. OpenFlowInformationOptions
Command Syntax and Usage

showopenflow[flowallocation|group|information|table]
DisplaysthecurrentOpenFlowconfiguration.Formoreinformation,see
page 147.

flowallocationdisplaystheconfigured,currentandmaximum
numberofflowsforallOpenFlowinstances.Formoreinformation,see
page 149.

groupdisplaysgroupinformationforallOpenFlow1.3instances.Formore
information,seepage 151.

informationdisplaystheconfigurationforallOpenFlowinstances.For
moreinformation,seepage 152.

tabledisplaysthebasicandemergencyflowtablesforallOpenFlow
instances.Formoreinformation,seepage 154.

Commandmode:All
showopenflowinstance<12>[group|information|table]
DisplaysOpenFlowinformationforthespecifiedinstanceID:

groupdisplaysgroupinformationperinstance

informationdisplaystheinstanceconfiguration

tabledisplaysthebasicandemergencyflowtablesperinstance

Commandmode:All

146

G8052 Command Reference for N/OS 8.3

OpenFlow Global Configuration Information


ThefollowingcommanddisplaystheglobalOpenFlowconfigurationparameters
forallinstances:
showopenflow
Commandmode:All
InOpenFlow1.0:
ProtocolVersion:1.0
OpenflowState:Enabled
FDBTablePriority:1000
FDBTableFDBtimeout:Disabled
Openflowinstance1iscurrentlydisabled
OpenflowInstanceID:2
state:enabled,buffering:disabled
retry4,emergencytimeout30
echoreqinterval30,echoreplytimeout15
minflowtimeout:usecontrollerprovidedvalues.
maxflowsacl:MaximumAvailable
maxflowsunicastfdb:MaximumAvailable
maxflowsmulticastfdb:MaximumAvailable
emergencyfeature:disabled
dpid:0x0002749975ab5c00
ports:1819,24,3538
edgeports:3536
ControllerId:1
ActiveController
IPAddress:9.70.31.71,port:6633

Copyright Lenovo 2015

Chapter 2: Information Commands

147

InOpenFlow1.3:
ProtocolVersion:1.3.1
OpenflowState:Enabled
FDBTablePriority:1000
FDBTableFDBtimeout:Disabled
OpenflowInstanceID:1
state:enabled,buffering:disabled,tablemiss:drop
echoreqinterval30,echoreplytimeout15,retry4
minflowtimeout:usecontrollerprovidedvalues.
maxflowsacl:MaximumAvailable
maxflowsunicastfdb:MaximumAvailable
maxflowsmulticastfdb:MaximumAvailable
dpid:0x0000000000000da3
tablemisscookie:0xffffffffffffffff
mirrortocontrollercookie:0xffffffffffffffff
sendtocontrollercookie:0xffffffffffffffff
ports:12
portchannel:52,104
edgeportchannel:52,104
ControllerId:1
ActiveController
IPAddress:9.228.143.52,port:6633

OpenflowInstanceID:2
state:disabled,buffering:disabled,tablemiss:drop
echoreqinterval30,echoreplytimeout15,retry4
minflowtimeout:usecontrollerprovidedvalues.
maxflowsacl:MaximumAvailable
maxflowsunicastfdb:MaximumAvailable
maxflowsmulticastfdb:MaximumAvailable
dpid:0x0002fccf62b1b300
tablemisscookie:0xffffffffffffffff
mirrortocontrollercookie:0xffffffffffffffff
sendtocontrollercookie:0xffffffffffffffff

148

G8052 Command Reference for N/OS 8.3

OpenFlow Flow Allocation Information


ThefollowingcommanddisplaystheOpenFlowflowallocationforallinstances:
showopenflowflowallocation
Commandmode:All
InOpenFlow1.0:
FlowAllocationInformation

Instance1
MaximumACLCountConfigured:MaximumAvailable
MaximumUnicastFDBCountConfigured:MaximumAvailable
MaximumMulticastFDBCountConfigured:MaximumAvailable
BasicEntries
CurrentACLCount:6
CurrentUnicastFDBCount:0
CurrentMulticastFDBCount:0
EmergencyEntries
CurrentACLCount:0
CurrentUnicastFDBCount:0
CurrentMulticastFDBCount:0
MaximumCurrentAvailability
MaximumAvailableACLCount:1494
MaximumAvailableUnicastFDBCount:30976
MaximumAvailableMulticastFDBCount:1024
Instance2
...

Copyright Lenovo 2015

Chapter 2: Information Commands

149

InOpenFlow1.3:
FlowAllocationInformation

Instance1
MaximumACLCountConfigured:MaximumAvailable
MaximumUnicastFDBCountConfigured:MaximumAvailable
MaximumMulticastFDBCountConfigured:MaximumAvailable
BasicEntries
CurrentACLCount:5
CurrentUnicastFDBCount:0
CurrentMulticastFDBCount:0
StaticEntries
CurrentstaticACLCount:0
MaximumCurrentAvailability
MaximumAvailableACLCount:1495
MaximumAvailableUnicastFDBCount:30976
MaximumAvailableMulticastFDBCount:1024
Instance2

MaximumACLCountConfigured:MaximumAvailable
MaximumUnicastFDBCountConfigured:MaximumAvailable
MaximumMulticastFDBCountConfigured:MaximumAvailable
BasicEntries
CurrentACLCount:0
CurrentUnicastFDBCount:0
CurrentMulticastFDBCount:0
StaticEntries
CurrentstaticACLCount:0
MaximumCurrentAvailability
MaximumAvailableACLCount:1495
MaximumAvailableUnicastFDBCount:30976
MaximumAvailableMulticastFDBCount:1024

150

G8052 Command Reference for N/OS 8.3

OpenFlow Group Information


ThefollowingcommanddisplaystheOpenFlow1.3groupinformationforall
instances:
showopenflowgroup
Commandmode:All
OpenflowInstanceId:1
Groupcount:3
Group1,Type:ALL,Bucketcount:2
Bucket#0:output:INGRESS
Bucket#1:output:1
Group2,Type:ALL,Bucketcount:2
Bucket#0:output:INGRESS
Bucket#1:output:PCH104
Group3,Type:ALL,Bucketcount:2
Bucket#0:output:PCH52
Bucket#1:output:PCH104
Openflowinstance2iscurrentlydisabled

Copyright Lenovo 2015

Chapter 2: Information Commands

151

OpenFlow Configuration Information


ThefollowingcommanddisplaystheOpenFlowconfigurationforallinstances:
showopenflowinformation
Commandmode:All
InOpenFlow1.0:
OpenflowfeatureisEnabled

Openflowinstance1iscurrentlydisabled

OpenflowInstanceID:2
State:Enabled
DataPathID:0x0002749975ab5c00
MaxRetriespercontroller:4
EchoRequestInterval:30
EchoReplyTimeout:15
EmergencyTimeout:30
Minflowtimeout:0,usecontrollerprovidedvalues.
MaxACLFlows:MaximumAvailable
MaxUnicastFDBFlows:MaximumAvailable
MaxMulticastFDBFlows:MaximumAvailable
Buffering:Disabled
OperationalMode:Normal
MissSendLen:65535
PortAliasStatusStateConfigCurrentAdvertisedSupportedPeer
1818e0x2000x20xc00x00x00x0
1919e0x2000x20xc00x00x00x0
2424d0x2010x20xc00x00x00x0
3535d0x2010x20x00x00x00x0
3636d0x2010x20x00x00x00x0
3737d0x2010x20x00x00x00x0
3838d0x2010x20x00x00x00x0
NumberofPorts:7
ConfiguredControllers:
OpenflowController1:
IPAddress:9.70.31.71
Port:6633
State:Active
RetryCount:0

152

G8052 Command Reference for N/OS 8.3

InOpenFlow1.3:
OpenflowfeatureisEnabled

OpenflowInstanceID:1
State:Enabled
DataPathID:0x0000000000000da3
Tablemisscookie:0xffffffffffffffff
Mirrortocontrollercookie:0xffffffffffffffff
Sendtocontrollercookie:0xffffffffffffffff
MaxRetriespercontroller:4
EchoRequestInterval:30
EchoReplyTimeout:15
Minflowtimeout:0,usecontrollerprovidedvalues.
MaxACLFlows:MaximumAvailable
MaxUnicastFDBFlows:MaximumAvailable
MaxMulticastFDBFlows:MaximumAvailable
Buffering:Disabled
TableMiss:Drop
OperationalMode:Normal
MissSendLen:65535
PortAliasStatusStateConfigCurrentAdvertisedSupportedPeer
11e0x00x00x28200x00x00x0
22e0x00x00x28200x00x00x0
10052PCH52e0x00x00x2c000x00x00x0
10104PCH104e0x00x00x2c000x00x00x0
NumberofPorts:2
NumberofPortchannels:2
Openflowedgeportchannel:52,104
ConfiguredControllers:
OpenflowController1:
IPAddress:9.228.143.52
Port:6633
State:Active

Openflowinstance2iscurrentlydisabled

Copyright Lenovo 2015

Chapter 2: Information Commands

153

OpenFlow Table Information


Thefollowingcommanddisplaysthebasicandemergencyflowtablesforall
instances:
showopenflowtable
Commandmode:All
InOpenFlow1.0:
Openflowinstance1iscurrentlydisabled
OpenflowInstanceId:2
BASICFLOWTABLE
CONTROLLERADDEDFLOWS
Flow:1
FilterBased,priority:0,hardtimeout:0,idletimeout:0
cookie:0x0
QUALIFIERS:
ACTION:drop
STATS:packets=0,bytes=0
Flow:2
FilterBased,priority:65535,hardtimeout:0,idletimeout:0
cookie:0x0
QUALIFIERS:ethertype:0x88cc
protocol:0,tos:0
srcip:0.0.0.0/32,dstip:0.0.0.0/32
srcport:0,dstport:0
ACTION:output:CONTROLLER[MaxLen:65535/bytes(C/S)]
STATS:packets=0,bytes=0
Flow:3
FilterBased,priority:2,hardtimeout:0,idletimeout:0
cookie:0x0
QUALIFIERS:
ACTION:output:CONTROLLER[MaxLen:65535/bytes(C/S)]
STATS:packets=0,bytes=0
EMERGENCYFLOWTABLE
CONTROLLERADDEDFLOWS
Flow:1
FilterBased,priority:32768,hardtimeout:0,idletimeout:0
cookie:0x0
QUALIFIERS:srcmac:003333333333
ACTION:output:46
STATS:packets=0,bytes=0
Flow:2
FilterBased,priority:32768,hardtimeout:0,idletimeout:0
cookie:0x0
QUALIFIERS:srcmac:001122330855
ACTION:output:46
STATS:packets=0,bytes=0

154

G8052 Command Reference for N/OS 8.3

InOpenFlow1.3:
OpenflowInstanceId:1
CONTROLLERaddedFLOWs
Flow1,FDBBased,priority:1000,hardtimeout:0
cookie:0x0
QUALIFIERS:ethdst:00:00:08:00:00:01,vlanvid:5
Instruction:write_action
ACTION:output:PCH52
Flow2,FDBBased,priority:1000,hardtimeout:0
cookie:0x0
QUALIFIERS:ethdst:01:00:08:00:00:03,vlanvid:5
Instruction:write_action
ACTION:group:3
Flow3,FDBBased,priority:1000,hardtimeout:0
cookie:0x0
QUALIFIERS:ethdst:01:00:08:00:00:03,vlanvid:6
Instruction:write_action
ACTION:output:PCH104
Flow4,FilterBased,priority:181,hardtimeout:0,idletimeout:0
cookie:0x0
QUALIFIERS:inport:1
ethdst:00:00:08:00:00:05
vlanvid:5
Instruction:write_action
ACTION:group:2
STATS:packets=3183951,bytes=216508736
Flow5,FilterBased,priority:65535,hardtimeout:0,idletimeout:0
cookie:0x0
QUALIFIERS:ethtype:0x88cc
Instruction:write_action
ACTION:output:CONTROLLER[MaxLen:65535/bytes(C/S)]
STATS:packets=36005,bytes=6624920
Flow6,FilterBased,priority:0,hardtimeout:0,idletimeout:0
cookie:0x0
QUALIFIERS:
Instruction:empty
ACTION:drop
STATS:packets=2013496579,bytes=137882020312

Openflowinstance2iscurrentlydisabled

OpenFlowtableinformationincludesdetailedconfigurationinformationforeach
entryintheflowtable.
Note: Flowqualifiersusedformatchingpacketsarenotlistedinthedisplayifthe
qualifierissettoany.

Copyright Lenovo 2015

Chapter 2: Information Commands

155

RMON Information Commands


ThefollowingtabledescribestheRemoteMonitoring(RMON)Information
commands.
Table 69. RMONInformationOptions
Command Syntax and Usage

showrmon
DisplaysallRMONinformation.
Commandmode:All
showrmonalarm[<165535>]
DisplaysRMONAlarminformation.Fordetails,seepage 158.
Commandmode:All
showrmonevent[<165535>]
DisplaysRMONEventinformation.Fordetails,seepage 159.
Commandmode:All
showrmonhistory[<165535>]
DisplaysRMONHistoryinformation.Fordetails,seepage 157.
Commandmode:All

156

G8052 Command Reference for N/OS 8.3

RMON History Information


ThefollowingcommanddisplaysRMONHistoryinformation:
showrmonhistory
Commandmode:All
RMONHistorygroupconfiguration:
IndexIFOIDIntervalRbnumGbnum

11.3.6.1.2.1.2.2.1.1.243055
21.3.6.1.2.1.2.2.1.1.223055
31.3.6.1.2.1.2.2.1.1.203055
41.3.6.1.2.1.2.2.1.1.193055
51.3.6.1.2.1.2.2.1.1.24180055
IndexOwner

1dan

ThefollowingtabledescribestheRMONHistoryInformationparameters.
Table 70. RMONHistoryParameterDescriptions

Copyright Lenovo 2015

Parameter

Description

Index

Displaystheindexnumberthatidentifieseachhistoryinstance.

IFOID

DisplaystheMIBObjectIdentifier.

Interval

Displaysthetimeintervalforeachsamplingbucket.

Rbnum

Displaysthenumberofrequestedbuckets,whichisthenumberof
dataslotsintowhichdataistobesaved.

Gbnum

Displaysthenumberofgrantedbucketsthatmayholdsampled
data.

Owner

Displaystheownerofthehistoryinstance.

Chapter 2: Information Commands

157

RMON Alarm Information


ThefollowingcommanddisplaysRMONalarminformation:
showrmonalarm
Commandmode:All
RMONAlarmgroupconfiguration:
IndexIntervalSampleTyperLimitfLimitlastvalue

11800abseither007822
IndexrEvtIdxfEvtIdxOID

1001.3.6.1.2.1.2.2.1.10.1
IndexOwner

1dan

ThefollowingtabledescribestheRMONAlarmInformationparameters.
Table 71. RMONAlarmParameterDescriptions
Parameter

Description

Index

Displaystheindexnumberthatidentifieseachalarminstance.

Interval

Displaysthetimeintervaloverwhichdataissampledand
comparedwiththerisingandfallingthresholds.

Sample

Displaysthemethodofsamplingtheselectedvariableand
calculatingthevaluetobecomparedagainstthethresholds,as
follows:

Type

158

absabsolutevalue,thevalueoftheselectedvariableis
compareddirectlywiththethresholdsattheendofthe
samplinginterval.

deltadeltavalue,thevalueoftheselectedvariableatthelast
sampleissubtractedfromthecurrentvalue,andthedifference
comparedwiththethresholds.

Displaysthetypeofalarm,asfollows:

fallingalarmistriggeredwhenafallingthresholdis
crossed.

risingalarmistriggeredwhenarisingthresholdiscrossed.

eitheralarmistriggeredwheneitherarisingorfalling
thresholdiscrossed.

rLimit

Displaystherisingthresholdforthesampledstatistic.

fLimit

Displaysthefallingthresholdforthesampledstatistic.

Lastvalue

Displaysthelastsampledvalue.

G8052 Command Reference for N/OS 8.3

Table 71. RMONAlarmParameterDescriptions(continued)


Parameter

Description

rEvtIdx

Displaystherisingalarmeventindexthatistriggeredwhenarising
thresholdiscrossed.

fEvtIdx

Displaysthefallingalarmeventindexthatistriggeredwhena
fallingthresholdiscrossed.

OID

DisplaystheMIBObjectIdentifierforeachalarmindex.

Owner

Displaystheownerofthealarminstance.

RMON Event Information


ThefollowingcommanddisplaysRMONeventinformation:
showrmonevent
Commandmode:All
RMONEventgroupconfiguration:
IndexTypeLastSentDescription

1both0D:0H:1M:20SEvent_1
2none0D:0H:0M:0SEvent_2
3log0D:0H:0M:0SEvent_3
4trap0D:0H:0M:0SEvent_4
5both0D:0H:0M:0SLogandtrapeventforLinkDown
10both0D:0H:0M:0SLogandtrapeventforLinkUp
11both0D:0H:0M:0SSendlogandtrapforicmpInMsg
15both0D:0H:0M:0SSendlogandtrapforicmpInEchos
IndexOwner

1dan

ThefollowingtabledescribestheRMONEventInformationparameters.
Table 72. RMONEventParameterDescriptions

Copyright Lenovo 2015

Parameter

Description

Index

Displaystheindexnumberthatidentifieseacheventinstance.

Type

Displaysthetypeofnotificationprovidedforthisevent,as
follows:none,log,traporboth.

Lastsent

Displaysthetimethatpassedsincethelastswitchreboot,when
themostrecenteventwastriggered.Thisvalueisclearedwhen
theswitchreboots.

Description

Displaysatextdescriptionoftheevent.

Owner

Displaystheownerofthealarminstance.

Chapter 2: Information Commands

159

Link Status Information


Thefollowingcommanddisplayslinkinformation:
showinterfacestatus[<portaliasornumber>]
Commandmode:All
AliasPortSpeedDuplexFlowCtrlLinkDescription
TXRX
11anyautononodown1
22100fullnonoup2
33anyautononodown3
44anyautononodown4
55anyautononodown5
66anyautononodown6
77anyautononodown7
88anyautononodown8
99anyautononodown9
1010anyautononodown10
...
4747anyautononodown47
4848anyautononodown48
XGE1491G/10GfullnonodownXGE1
XGE2501G/10GfullnonodownXGE2
XGE3511G/10GfullnonodownXGE3
XGE4521G/10GfullnonodownXGE4

UsethiscommandtodisplaylinkstatusinformationabouteachportontheG8052,
including:

160

Portaliasorportnumber

Portdescription

PortspeedandDuplexmode(half,fullorany)

Flowcontrolfortransmitandreceive(no,yesorboth)

Linkstatus(up,downordisabled)

G8052 Command Reference for N/OS 8.3

Port Information
Thefollowingcommanddisplaysportinformation:
showinterfacetrunk<portaliasornumber>
Commandmode:All
AliasPortTagRMONLrnFldOpenflowPVIDDESCRIPTIONVLAN(s)
TrkNVLAN

11ndeed40944094
22ndeed11
33ndeed11
44ndeed11
55ndeed11
66ndeed11
77ndeed11
88ndeed11
99ndeed11
1010ndeed11
...
4747ndeed11
4848ndeed11
XGE149ndeed11
XGE250ndeed11
XGE351ndeed11
XGE452ndeed11
*=PVID/NativeVLANistagged.
#=PVIDisingresstagged.
Trk=Trunkmode
NVLAN=NativeVLAN

Portinformationincludes:

Copyright Lenovo 2015

Portaliasornumber

WhethertheportusesVLANtaggingornot(yorn)

WhethertheporthasRemoteMonitoring(RMON)enabled

WhethertheporthasFDBlearningenabled(Lrn)

WhethertheporthasPortFloodingenabled(Fld)

WhethertheporthasOpenFlowenabled(Openflow)

WhethertheportusesingressVLANtaggingornot(#)

WhethertheportusesPVID/NativeVLANtaggingornot(*)

PortVLANID(PVID)

Portdescription

VLANmembership

Chapter 2: Information Commands

161

Port Transceiver Status


Thefollowingcommanddisplaysthestatusofthetransceivermoduleoneach
port:
showinterfacetransceiver
Commandmode:All
PortLinkTransceiverVendorPartApprove

XGE1xge1LINKPasDAC1.0mBLADENETWORKBNQSSPCBL1MAccepted
XGE2xge2LINKPasDAC3.0mBLADENETWORKBNSPCBL3MApproved
XGE3xge3LINKSR_SFP+850nmBLADENETWORKBNCKMSPSRApproved
XGE4xge4LINKSR_SFP+850nmBLADENETWORKBNCKMSPSRApproved

Thiscommanddisplaysinformationaboutthetransceivermoduleoneachport,as
follows:

162

Portnumberandalias

Portstatus

Media/Transceivertype(LX,LR,SX,SR,DAC,PasDAC)andlaserwavelength,
innanometers

Vendorname

Partnumber

Approvalstatus

G8052 Command Reference for N/OS 8.3

Usethefollowingcommandtodisplayextendedtransceiverinformation:
showinterfaceport<portaliasornumber>transceiverdetails
Commandmode:All
PortTXLinkTXFltVoltsDegsCTXuWRXuWTransceiverApprove

XGE1xge1EnaLINKN/AN/AN/AN/AN/APasQD1.0mApproved
BLADENETWORKPart:BNQSQSCBL1MDate:110925S/N:3548Y350VT19P8EM

Copyright Lenovo 2015

Chapter 2: Information Commands

163

VM Ready Information
ThefollowingcommanddisplayinformationaboutVirtualMachines(VMs).
Table 73. VirtualMachinesInformationOptions
Command Syntax and Usage

showvirt
Displaysthecurrentvirtualizationparameters.
Commandmode:All
showvirtoui
DisplaysalltheconfiguredMACOUIs.
Commandmode:All
showvirtport<portaliasornumber>
DisplaysVirtualMachineinformationfortheselectedport.
Commandmode:All
showvirtportchannel<1104>
DisplaysVirtualMachineinformationfortheselectedportchannel.
Commandmode:All
showvirtvm[v][r]
DisplaysallVirtualMachineinformation.

vdisplaysverboseinformation

rrescansdatacenter

Commandmode:All
showvirtvmcheck
DisplaysthecurrentVMChecksettings.
Commandmode:All
showvirtvmgroup[<11024>]
DisplaysthecurrentVMGroupparameters.
Commandmode:All
showvirtvmpolicyvmbandwidth
[<MACaddress>|<UUID>|<name>|<IPaddress>|<indexnumber>]
DisplaysthecurrentVMbandwidthmanagementparameters.
Commandmode:All

164

G8052 Command Reference for N/OS 8.3

Table 73. VirtualMachinesInformationOptions


Command Syntax and Usage

showvirtvmprofile[<profilename>]
DisplaysthecurrentVMProfileparameters.
Commandmode:All
showvirtvmware
DisplaysthecurrentVMwareparameters.
Commandmode:All

VM Information
ThefollowingcommanddisplaysVMinformation:
showvirtvm
Commandmode:All
IPAddressVMACAddressIndexPortVMGroup(Profile)CheckStatus

*127.31.46.5000:50:56:4e:62:f543
*127.31.46.1000:50:56:4f:f2:8524
+127.31.46.5100:50:56:72:ec:8613
+127.31.46.1100:50:56:7c:1c:ca34
127.31.46.2500:50:56:9c:00:c854
127.31.46.1500:50:56:9c:21:2f04
127.31.46.3500:50:56:9c:29:2963
Numberofentries:7
*indicatesVMwareESXServiceConsoleInterface
+indicatesVMwareESX/ESXiVMKernelorManagementInterface

VMinformationincludesthefollowingforeachVirtualMachine(VM):

Copyright Lenovo 2015

StateoftheVirtualMachine(~indicatestheVMisinactive/idle)

IPaddress

MACaddress

IndexnumberassignedtotheVM

ServerportonwhichtheVMwasdetected

VMgroupthatcontainstheVM,ifapplicable

VMCheckstatusforthecorrespondingVM

Chapter 2: Information Commands

165

VM Check Information
ThefollowingcommanddisplaysVMCheckinformation:
showvirtvmcheck
Commandmode:All
ActiontotakeforspoofedVMs:
Basic:Operdisablethelink
Advanced:InstallACLtodroptraffic
Maximumnumberofaclsthatcanbeusedformacspoofing:50
Trustedportsbyconfiguration:empty

VMware Information
UsethesecommandstodisplayinformationaboutVirtualMachines(VMs)and
VMwarehostsinthedatacenter.Thesecommandsrequirethepresenceofa
configuredVirtualCenter.
Table 74. VMwareInformationOptions
Command Syntax and Usage

showvirtvmwarehello
DisplaysVirtualMachinehellosettings.
Commandmode:All
showvirtvmwarehosts
DisplaysalistofVMwarehosts.
Commandmode:All
showvirtvmwareshowhost{<hostUUID>|<hostIPaddress>|<hostname>}
DisplaysdetailedinformationaboutaspecificVMwarehost.
Commandmode:All
showvirtvmwareshowvm{<VMUUID>|<VMIPaddress>|<VMname>}
DisplaysdetailedinformationaboutaspecificVirtualMachine(VM).
Commandmode:All
showvirtvmwareswitchportmapping
DisplaysESXServerswitchportmapping.
Commandmode:All
showvirtvmwarevms
DisplaystheUUIDsandthenamesofallVMwareVMs.
Commandmode:All

166

G8052 Command Reference for N/OS 8.3

VMware Host Information


ThefollowingcommanddisplaysVMhostinformation:
showvirtvmwarehosts
Commandmode:All
UUIDName(s),IPAddress

80a42681d0e55910a0bfbd23bd3f7803127.12.41.30
3c2e063c153cdd118b32a78dd1909a69127.12.46.10
64f1fe30143cdd1184f2a8ba2cd7ae40127.12.44.50
c818938e143cdd119f7ad8defa4b83bf127.12.46.20
fc719af0093cdd1195beb0adac1bcf86127.12.46.30
009a581a143cdd11be4cc9fb65ff04ec127.12.46.40

VMhostinformationincludesthefollowing:

Copyright Lenovo 2015

UUIDassociatedwiththeVMwarehost.

NameorIPaddressoftheVMwarehost.

Chapter 2: Information Commands

167

EVB Information
ThefollowingcommandsdisplayEdgeVirtualBridge(EVB)VirtualStation
Interface(VDP)discoveryandconfigurationinformation.
Table 75. EVBInformationOptions
Command Syntax and Usage

showvirtevbprofile
DisplaysallEVBprofileparameters.
Commandmode:All
showvirtevbprofile<profilenumber>[ports]
DisplaystheselectedEVBprofileparameters.Itcanincludeports.
Commandmode:All
showvirtevbprofileports
DisplaysallEVBprofileparametersincludingports.
Commandmode:All
showvirtevbvdptlv
DisplaysallactiveVirtualStationInterface(VSI)DiscoveryandConfiguration
Protocol(VDP)typelengthvalues(TLVs).
Commandmode:All
showvirtevbvdpvm
DisplaysallassociatedVirtualMachines(VMs).
Commandmode:All
showvirtevbvsidb<VSIdatabasenumber(1)>
DisplaysVirtualStationInterfacedatabaseinformation.
Commandmode:All
showvirtevbvsitypes[mgrid<0255>|typeid<116777215>|
|version<0255>]
DisplaysthecurrentVirtualStationInterfaceTypedatabaseparameters.
Commandmode:All

168

G8052 Command Reference for N/OS 8.3

Information Dump
Thefollowingcommanddumpsswitchinformation:
showinformationdump
Commandmode:All
Usethedumpcommandtodumpallswitchinformationavailable(10Kormore,
dependingonyourconfiguration).Thisdataisusefulfortuninganddebugging
switchperformance.
Ifyouwanttocapturedumpdatatoafile,setyourcommunicationsoftwareon
yourworkstationtocapturesessiondatapriortoissuingthedumpcommands.

Copyright Lenovo 2015

Chapter 2: Information Commands

169

170

G8052 Command Reference for N/OS 8.3

Chapter 3. Statistics Commands


YoucanusetheStatisticsCommandstoviewswitchperformancestatisticsinboth
theuserandadministratorcommandmodes.Thischapterdiscusseshowtousethe
commandlineinterfacetodisplayswitchstatistics.
Table 76. StatisticsCommands
Command Syntax and Usage

showcounters
Dumpsallswitchstatistics.Usethiscommandtogatherdatafortuningand
debuggingswitchperformance.Ifyouwanttocapturedumpdatatoafile,set
yourcommunicationsoftwareonyourworkstationtocapturesessiondata
priortoissuingthedumpcommand.Fordetails,seepage 283.
Commandmode:All
showlayer3counters
DisplaysLayer3statistics.
Commandmode:All
showntpcounters
DisplaysNetworkTimeProtocol(NTP)Statistics.Seepage 281forasample
outputandadescriptionofNTPStatistics.
Commandmode:All
showsnmpservercounters
DisplaysSNMPstatistics.Seepage 277forsampleoutput.
Commandmode:All
clearcpu
ClearsallCPUutilizationstatistics.
Commandmode:PrivilegedEXEC
clearcounters
Clearsallstatisticsforallinterfaces.
Commandmode:PrivilegedEXEC
clearinterfaceport<portaliasornumber>counters
Clearsallstatisticsforthespecifiedport.
Commandmode:All
clearmpcounters
ClearsallMPrelatedstatistics.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

171

Port Statistics
Thesecommandsdisplaytrafficstatisticsonaportbyportbasis.Trafficstatistics
includeSNMPManagementInformationBase(MIB)objects.
Table 77. PortStatisticsCommands
Command Syntax and Usage

showinterfaceport<portaliasornumber>bitrateusage
Displaysthetrafficrateinkilobitspersecond.
Commandmode:All
showinterfaceport<portaliasornumber>bridgingcounters
Displaysbridging(dot1)statisticsfortheport.Seepage 180forsample
output.
Commandmode:All
showinterfaceport<portaliasornumber>bridgingrate
Displayspersecondbridging(dot1)statisticsfortheport.
Commandmode:All
showinterfaceport<portaliasornumber>dot1xcounters
DisplaysIEEE802.1Xstatisticsfortheport.Seepage 175forsampleoutput.
Commandmode:All
showinterfaceport<portaliasornumber>egressqueuecounters
[<queuenumber(07)>|drop]
Displaysthetotalnumberofpacketsandbyteseithersuccessfullytransmitted
ordroppedforeachqueueofthespecifiedports.

queuenumberfilterstheoutputtothespecifiedqueuenumber

droplistsonlythequeueswithdroppedtraffic(nonzerocountersfor
droppedpackets/bytescounters)

Seepage 191forsampleoutput.
Commandmode:All
showinterfaceport<portaliasornumber>egressqueuerate
[<queuenumber(07)>|drop]
Displaysthenumberofpacketsandbytespersecondeithersuccessfully
transmittedordroppedforeachqueueofthespecifiedports.

queuenumberfilterstheoutputtothespecifiedqueuenumber

droplistsonlythequeueswithdroppedtraffic(nonzeroratesfordropped
packets/bytes)

Seepage 192forsampleoutput.
Commandmode:All

172

G8052 Command Reference for N/OS 8.3

Table 77. PortStatisticsCommands(continued)


Command Syntax and Usage

showinterfaceport<portaliasornumber>ethernetcounters
DisplaysEthernet(dot3)statisticsfortheport.Seepage 181forsample
output.
Commandmode:All
showinterfaceport<portaliasornumber>ethernetrate
DisplayspersecondEthernet(dot3)statisticsfortheport.
Commandmode:All
showinterfaceport<portaliasornumber>interfacecounters
Displaysinterfacestatisticsfortheport.Seepage 184forsampleoutput.
Commandmode:All
showinterfaceport<portaliasornumber>interfacerate
Displayspersecondinterfacestatisticsfortheport.
Commandmode:All
showinterfaceport<portaliasornumber>ipcounters
DisplaysIPstatisticsfortheport.Seepage 187forsampleoutput.
Commandmode:All
showinterfaceport<portaliasornumber>iprate
DisplayspersecondIPstatisticsfortheport.
Commandmode:All
showinterfaceport<portaliasornumber>linkcounters
Displayslinkstatisticsfortheport.Seepage 187forsampleoutput.
Commandmode:All
showinterfaceport<portaliasornumber>oamcounters
DisplaysOperation,Administrative,andMaintenance(OAM)protocol
statisticsfortheport.
Commandmode:All
showinterfaceport<portaliasornumber>rmoncounters
DisplaysRemoteMonitoring(RMON)statisticsfortheport.Seepage 188for
sampleoutput.
Commandmode:All
showipbootprelaycountersinterface<portaliasornumber>
DisplaysBOOTPrelaystatisticsfortheport.Seepage 179forsampleoutput.
Commandmode:All
clearcounters
Clearsstatisticsforallports.
Commandmode:PrivilegedEXEC
Copyright Lenovo 2015

Chapter 3: Statistics Commands

173

Table 77. PortStatisticsCommands(continued)


Command Syntax and Usage

clearinterfaces
Clearscountersforallinterfacesandqueues.
Commandmode:PrivilegedEXEC
clearinterfaceport<portaliasornumber>counters
Clearsallstatisticsfortheport.
Commandmode:PrivilegedEXEC
clearinterfaceport<portaliasornumber>egressqueuecounter
ClearsallQoSegresscountersforthespecifiedportsforallqueues.
Commandmode:PrivilegedEXEC
clearipbootprelaycounters[interface<portaliasornumber>]
ClearsBOOTPrelaystatisticsforaspecificportsorallports.
Commandmode:PrivilegedEXEC

174

G8052 Command Reference for N/OS 8.3

802.1X Authenticator Statistics


Usethefollowingcommandtodisplaythe802.1Xauthenticatorstatisticsofthe
selectedport:
showinterfaceport<portaliasornumber>dot1xcounters
Commandmode:All
AuthenticatorStatistics:
eapolFramesRx=925
eapolFramesTx=3201
eapolStartFramesRx=2
eapolLogoffFramesRx=0
eapolRespIdFramesRx=463
eapolRespFramesRx=460
eapolReqIdFramesTx=1820
eapolReqFramesTx=1381
invalidEapolFramesRx=0
eapLengthErrorFramesRx=0
lastEapolFrameVersion=1
lastEapolFrameSource=00:01:02:45:ac:51

Thefollowingtabledescribesthe802.1Xauthenticatorstatistics.
Table 78. 802.1XAuthenticatorStatisticsofaPort

Copyright Lenovo 2015

Statistics

Description

eapolFramesRx

TotalnumberofEAPOLframesreceived

eapolFramesTx

TotalnumberofEAPOLframestransmitted

eapolStartFramesRx

TotalnumberofEAPOLStartframesreceived

eapolLogoffFramesRx

TotalnumberofEAPOLLogoffframesreceived

eapolRespIdFramesRx

TotalnumberofEAPOLResponseIdentityframes
received

eapolRespFramesRx

TotalnumberofResponseframesreceived

eapolReqIdFramesTx

TotalnumberofRequestIdentityframes
transmitted

eapolReqFramesTx

TotalnumberofRequestframestransmitted

invalidEapolFramesRx

TotalnumberofinvalidEAPOLframesreceived

eapLengthErrorFramesRx

TotalnumberofEAPlengtherrorframesreceived

lastEapolFrameVersion

Theprotocolversionnumbercarriedinthemost
recentlyreceivedEAPOLframe.

lastEapolFrameSource

ThesourceMACaddresscarriedinthemost
recentlyreceivedEAPOLframe.

Chapter 3: Statistics Commands

175

802.1X Authenticator Diagnostics


Usethefollowingcommandtodisplaythe802.1Xauthenticatordiagnosticsofthe
selectedport:
showinterfaceport<portaliasornumber>dot1xcounters
Commandmode:All
AuthenticatorDiagnostics:
authEntersConnecting=1820
authEapLogoffsWhileConnecting=0
authEntersAuthenticating=463
authSuccessesWhileAuthenticating=5
authTimeoutsWhileAuthenticating=0
authFailWhileAuthenticating=458
authReauthsWhileAuthenticating=0
authEapStartsWhileAuthenticating=0
authEapLogoffWhileAuthenticating=0
authReauthsWhileAuthenticated=3
authEapStartsWhileAuthenticated=0
authEapLogoffWhileAuthenticated=0
backendResponses=923
backendAccessChallenges=460
backendOtherRequestsToSupplicant=460
backendNonNakResponsesFromSupplicant=460
backendAuthSuccesses=5
backendAuthFails=458

Thefollowingtabledescribesthe802.1Xauthenticatordiagnosticsstatistics.
Table 79. 802.1XAuthenticatorDiagnosticsofaPort

176

Statistics

Description

authEntersConnecting

Totalnumberoftimesthatthestate
machinetransitionstotheCONNECTING
statefromanyotherstate.

authEapLogoffsWhileConnecting

Totalnumberoftimesthatthestate
machinetransitionsfromCONNECTING
toDISCONNECTEDasaresultof
receivinganEAPOLLogoffmessage.

authEntersAuthenticating

Totalnumberoftimesthatthestate
machinetransitionsfromCONNECTING
toAUTHENTICATING,asaresultofan
EAPResponse/Identitymessagebeing
receivedfromtheSupplicant.

authSuccessesWhileAuthenticating

Totalnumberoftimesthatthestate
machinetransitionsfrom
AUTHENTICATINGto
AUTHENTICATED,asaresultofthe
BackendAuthenticationstatemachine
indicatingsuccessfulauthenticationofthe
Supplicant.

G8052 Command Reference for N/OS 8.3

Table 79. 802.1XAuthenticatorDiagnosticsofaPort(continued)


Statistics

Description

authTimeoutsWhileAuthenticating

Totalnumberoftimesthatthestate
machinetransitionsfrom
AUTHENTICATINGtoABORTING,asa
resultoftheBackendAuthenticationstate
machineindicatingauthenticationtimeout.

authFailWhileAuthenticating

Totalnumberoftimesthatthestate
machinetransitionsfrom
AUTHENTICATINGtoHELD,asaresult
oftheBackendAuthenticationstate
machineindicatingauthenticationfailure.

authReauthsWhileAuthenticating

Totalnumberoftimesthatthestate
machinetransitionsfrom
AUTHENTICATINGtoABORTING,asa
resultofareauthenticationrequest

authEapStartsWhileAuthenticating

Totalnumberoftimesthatthestate
machinetransitionsfrom
AUTHENTICATINGtoABORTING,asa
resultofanEAPOLStartmessagebeing
receivedfromtheSupplicant.

authEapLogoffWhileAuthenticating Totalnumberoftimesthatthestate
machinetransitionsfrom
AUTHENTICATINGtoABORTING,asa
resultofanEAPOLLogoffmessagebeing
receivedfromtheSupplicant.

Copyright Lenovo 2015

authReauthsWhileAuthenticated

Totalnumberoftimesthatthestate
machinetransitionsfrom
AUTHENTICATEDtoCONNECTING,as
aresultofareauthenticationrequest.

authEapStartsWhileAuthenticated

Totalnumberoftimesthatthestate
machinetransitionsfrom
AUTHENTICATEDtoCONNECTING,as
aresultofanEAPOLStartmessagebeing
receivedfromtheSupplicant.

authEapLogoffWhileAuthenticated

Totalnumberoftimesthatthestate
machinetransitionsfrom
AUTHENTICATEDtoDISCONNECTED,
asaresultofanEAPOLLogoffmessage
beingreceivedfromtheSupplicant.

backendResponses

Totalnumberoftimesthatthestate
machinesendsaninitialAccessRequest
packettotheAuthenticationserver.
IndicatesthattheAuthenticatorattempted
communicationwiththeAuthentication
Server.

Chapter 3: Statistics Commands

177

Table 79. 802.1XAuthenticatorDiagnosticsofaPort(continued)

178

Statistics

Description

backendAccessChallenges

Totalnumberoftimesthatthestate
machinereceivesaninitial
AccessChallengepacketfromthe
Authenticationserver.Indicatesthatthe
AuthenticationServerhascommunication
withtheAuthenticator.

backendOtherRequests
ToSupplicant

Totalnumberoftimesthatthestate
machinesendsanEAPRequestpacket
(otherthananIdentity,Notification,
Failure,orSuccessmessage)tothe
Supplicant.Indicatesthatthe
AuthenticatorchoseanEAPmethod.

backendNonNakResponses
FromSupplicant

Totalnumberoftimesthatthestate
machinereceivesaresponsefromthe
SupplicanttoaninitialEAPRequest,and
theresponseissomethingotherthan
EAPNAK.IndicatesthattheSupplicant
canrespondtotheAuthenticator.schosen
EAPmethod.

backendAuthSuccesses

Totalnumberoftimesthatthestate
machinereceivesanAcceptmessagefrom
theAuthenticationServer.Indicatesthat
theSupplicanthassuccessfully
authenticatedtotheAuthenticationServer.

backendAuthFails

Totalnumberoftimesthatthestate
machinereceivesaRejectmessagefromthe
AuthenticationServer.Indicatesthatthe
Supplicanthasnotauthenticatedtothe
AuthenticationServer.

G8052 Command Reference for N/OS 8.3

BootStrap Protocol Relay Statistics


UsethefollowingcommandtodisplaytheBOOTPRelaystatisticsoftheselected
port:
showipbootprelaycountersinterface<portaliasornumber>
Commandmode:All
BOOTPRelaystatisticsforport1:
Requestsreceivedfromclient:0
Requestsrelayedtoserver:0
Requestsrelayedwithoption82:0
Requestsdroppeddueto...
relaynotallowed:0
noserverorunreachableserver:0
packetorprocessingerrors:0
Repliesreceivedfromserver:0
Repliesrelayedtoclient:0
Repliesdroppeddueto...
packetorprocessingerrors:0

Copyright Lenovo 2015

Chapter 3: Statistics Commands

179

Bridging Statistics
Usethefollowingcommandtodisplaythebridgingstatisticsoftheselectedport:
showinterfaceport<portaliasornumber>bridgingcounters
Commandmode:All
Bridgingstatisticsforport1:
dot1PortInFrames:63242584
dot1PortOutFrames:63277826
dot1PortInDiscards:0
dot1TpLearnedEntryDiscards:0
dot1StpPortForwardTransitions:0

Thefollowingtabledescribesthebridgingstatistics.
Table 80. BridgingStatisticsofaPort

180

Statistics

Description

dot1PortInFrames

Thenumberofframesthathavebeenreceivedbythis
portfromitssegment.Aframereceivedontheinterface
correspondingtothisportisonlycountedbythisobject
ifandonlyifitisforaprotocolbeingprocessedbythe
localbridgingfunction,includingbridgemanagement
frames.

dot1PortOutFrames

Thenumberofframesthathavebeentransmittedby
thisporttoitssegment.Notethataframetransmitted
ontheinterfacecorrespondingtothisportisonly
countedbythisobjectifandonlyifitisforaprotocol
beingprocessedbythelocalbridgingfunction,
includingbridgemanagementframes.

dot1PortInDiscards

Countofvalidframesreceivedwhichwerediscarded
(thatis,filtered)bytheForwardingProcess.

dot1TpLearnedEntry
Discards

ThetotalnumberofForwardingDatabaseentries,
whichhavebeenorwouldhavebeenlearnt,buthave
beendiscardedduetoalackofspacetostorethemin
theForwardingDatabase.Ifthiscounterisincreasing,it
indicatesthattheForwardingDatabaseisregularly
becomingfull(aconditionwhichhasunpleasant
performanceeffectsonthesubnetwork).Ifthiscounter
hasasignificantvaluebutisnotpresentlyincreasing,it
indicatesthattheproblemhasbeenoccurringbutisnot
persistent.

dot1StpPortForward
Transitions

Thenumberoftimesthisporthastransitionedfromthe
LearningstatetotheForwardingstate.

G8052 Command Reference for N/OS 8.3

Ethernet Statistics
Usethefollowingcommandtodisplaytheethernetstatisticsoftheselectedport:
showinterfaceport<portaliasornumber>ethernetcounters
Commandmode:All
Ethernetstatisticsforport1:
dot3StatsAlignmentErrors:0
dot3StatsFCSErrors:0
dot3StatsSingleCollisionFrames:0
dot3StatsMultipleCollisionFrames:0
dot3StatsLateCollisions:0
dot3StatsExcessiveCollisions:0
dot3StatsInternalMacTransmitErrors:NA
dot3StatsFrameTooLongs:0
dot3StatsInternalMacReceiveErrors:0

Thefollowingtabledescribestheethernetstatistics.
Table 81. EthernetStatisticsofaPort
Statistics

Description

dot3StatsAlignmentErrors Acountofframesreceivedonaparticularinterface
thatarenotanintegralnumberofoctetsinlength
anddonotpasstheFrameCheckSequence(FCS)
check.
Thecountrepresentedbyaninstanceofthisobjectis
incrementedwhenthealignmentErrorstatusis
returnedbytheMACservicetotheLogicalLink
Control(LLC)(orotherMACuser).Receivedframes
forwhichmultipleerrorconditionsobtainedare,
accordingtotheconventionsofIEEE802.3Layer
Management,countedexclusivelyaccordingtothe
errorstatuspresentedtotheLLC.
dot3StatsFCSErrors

Acountofframesreceivedonaparticularinterface
thatareanintegralnumberofoctetsinlengthbutdo
notpasstheFrameCheckSequence(FCS)check.
Thecountrepresentedbyaninstanceofthisobjectis
incrementedwhentheframeCheckErrorstatusis
returnedbytheMACservicetotheLLC(orother
MACuser).Receivedframesforwhichmultiple
errorconditionsobtainedare,accordingtothe
conventionsofIEEE802.3LayerManagement,
countedexclusivelyaccordingtotheerrorstatus
presentedtotheLLC.

Copyright Lenovo 2015

Chapter 3: Statistics Commands

181

Table 81. EthernetStatisticsofaPort(continued)


Statistics

Description

dot3StatsSingleCollision
Frames

Acountofsuccessfullytransmittedframesona
particularinterfaceforwhichtransmissionis
inhibitedbyexactlyonecollision.
Aframethatiscountedbyaninstanceofthisobject
isalsocountedbythecorrespondinginstanceof
eithertheifOutUcastPkts,
ifOutMulticastPkts,or
ifOutBroadcastPkts,andisnotcountedbythe
correspondinginstanceofthe
dot3StatsMultipleCollisionFrameobject.

dot3StatsMultipleCollision Acountofsuccessfullytransmittedframesona
Frames
particularinterfaceforwhichtransmissionis
inhibitedbymorethanonecollision.
Aframethatiscountedbyaninstanceofthisobject
isalsocountedbythecorrespondinginstanceof
eithertheifOutUcastPkts,
ifOutMulticastPkts,or
ifOutBroadcastPkts,andisnotcountedbythe
correspondinginstanceofthe
dot3StatsSingleCollisionFramesobject.
dot3StatsLateCollisions

Thenumberoftimesthatacollisionisdetectedona
particularinterfacelaterthan512bittimesintothe
transmissionofapacket.
Fivehundredandtwelvebittimescorrespondsto
51.2microsecondsona10Mbit/ssystem.A(late)
collisionincludedinacountrepresentedbyan
instanceofthisobjectisalsoconsideredasa
(generic)collisionforpurposesofother
collisionrelatedstatistics.

dot3StatsExcessive
Collisions

Acountofframesforwhichtransmissionona
particularinterfacefailsduetoexcessivecollisions.

dot3StatsInternalMac
TransmitErrors

Acountofframesforwhichtransmissionona
particularinterfacefailsduetoaninternalMACsub
layertransmiterror.Aframeisonlycountedbyan
instanceofthisobjectifitisnotcountedbythe
correspondinginstanceofeitherthe
dot3StatsLateCollisionsobject,the
dot3StatsExcessiveCollisionsobject,orthe
dot3StatsCarrierSenseErrorsobject.
Theprecisemeaningofthecountrepresentedbyan
instanceofthisobjectisimplementationspecific.In
particular,aninstanceofthisobjectmayrepresenta
countoftransmissionerrorsonaparticularinterface
thatarenototherwisecounted.

182

G8052 Command Reference for N/OS 8.3

Table 81. EthernetStatisticsofaPort(continued)


Statistics

Description

dot3StatsFrameTooLongs

Acountofframesreceivedonaparticularinterface
thatexceedthemaximumpermittedframesize.
Thecountrepresentedbyaninstanceofthisobjectis
incrementedwhentheframeTooLongstatusis
returnedbytheMACservicetotheLLC(orother
MACuser).Receivedframesforwhichmultiple
errorconditionsobtainedare,accordingtothe
conventionsofIEEE802.3LayerManagement,
countedexclusivelyaccordingtotheerrorstatus
presentedtotheLLC.

dot3StatsInternalMac
ReceiveErrors

Acountofframesforwhichreceptionona
particularinterfacefailsduetoaninternalMACsub
layerreceiveerror.Aframeisonlycountedbyan
instanceofthisobjectifitisnotcountedbythe
correspondinginstanceofeitherthe
dot3StatsFrameTooLongsobject,the
dot3StatsAlignmentErrorsobject,orthe
dot3StatsFCSErrorsobject.
Theprecisemeaningofthecountrepresentedbyan
instanceofthisobjectisimplementationspecific.In
particular,aninstanceofthisobjectmayrepresenta
countofreceivederrorsonaparticularinterfacethat
arenototherwisecounted.

Copyright Lenovo 2015

Chapter 3: Statistics Commands

183

Interface Statistics
Usethefollowingcommandtodisplaytheinterfacestatisticsoftheselectedport:
showinterfaceport<portaliasornumber>interfacecounters
Commandmode:All
Interfacestatisticsforport1:
ifHCInCountersifHCOutCounters
Octets:5169708031351721056808
UcastPkts:6535639965385714
BroadcastPkts:06516
MulticastPkts:00
FlowCtrlPkts:00
PriFlowCtrlPkts:00
Discards:00
Errors:021187

IngressDiscardreasons:EgressDiscardreasons:
VLANDiscards:0HOLblockingDiscards:0
FilterDiscards:0MMUDiscards:0
PolicyDiscards:0CellErrorDiscards:0
NonForwardingState:0MMUAgingDiscards:0
IBP/CBPDiscards:0OtherDiscards:0
EmptyEgressPortmap:3085*
*Checkfor"HOLblocking"discardsonassociatedegressports

Thefollowingtabledescribestheinterfacestatistics.
Table 82. InterfaceStatisticsofaPort

184

Statistics

Description

ifInOctets

Thetotalnumberofoctetsreceivedontheinterface,
includingframingcharacters.

ifInUcastPkts

Thenumberofpackets,deliveredbythissublayertoa
highersublayer,whichwerenotaddressedtoa
multicastorbroadcastaddressatthissublayer.

ifInBroadcastPkts

Thenumberofpackets,deliveredbythissublayertoa
highersublayer,whichwereaddressedtoabroadcast
addressatthissublayer.

ifInMulticastPkts

Thetotalnumberofpacketsthathigherlevelprotocols
requestedtobetransmitted,andwhichwereaddressed
toamulticastaddressatthissublayer,includingthose
thatwerediscardedornotsent.ForaMAClayer
protocol,thisincludesbothGroupandFunctional
addresses.

ifInFlowControlPkts

Thetotalnumberofflowcontrolpausepackets
receivedontheinterface.

G8052 Command Reference for N/OS 8.3

Table 82. InterfaceStatisticsofaPort(continued)


Statistics

Description

ifInPriFlowControlPkts Thetotalnumberofpriorityflowcontrolpausepackets
receivedontheinterface.

Copyright Lenovo 2015

ifInDiscards

Thenumberofinboundpacketswhichwerechosento
bediscardedeventhoughnoerrorshadbeendetectedto
preventtheirbeingdeliveredtoahigherlayerprotocol.
Onepossiblereasonfordiscardingsuchapacketcould
betofreeupbufferspace.

ifInErrors

Forpacketorientedinterfaces,thenumberofinbound
packetsthatcontainederrorspreventingthemfrom
beingdeliveredtoahigherlayerprotocol.For
characterorientedorfixedlengthinterfaces,the
numberofinboundtransmissionunitsthatcontained
errorspreventingthemfrombeingdeliverabletoa
higherlayerprotocol.

ifOutOctets

Thetotalnumberofoctetstransmittedoutofthe
interface,includingframingcharacters.

ifOutUcastPkts

Thetotalnumberofpacketsthathigherlevelprotocols
requestedtobetransmitted,andwhichwerenot
addressedtoamulticastorbroadcastaddressatthis
sublayer,includingthosethatwerediscardedornot
sent.

ifOutBroadcastPkts

Thetotalnumberofpacketsthathigherlevelprotocols
requestedtobetransmitted,andwhichwereaddressed
toabroadcastaddressatthissublayer,includingthose
thatwerediscardedornotsent.Thisobjectisa64bit
versionofifOutBroadcastPkts.

ifOutMulticastPkts

Thetotalnumberofpacketsthathigherlevelprotocols
requestedtobetransmitted,andwhichwereaddressed
toamulticastaddressatthissublayer,includingthose
thatwerediscardedornotsent.ForaMAClayer
protocol,thisincludesbothGroupandFunctional
addresses.Thisobjectisa64bitversionof
ifOutMulticastPkts.

ifOutFlowControlPkts

Thetotalnumberofflowcontrolpausepackets
transmittedoutoftheinterface.

ifOutDiscards

Thenumberofoutboundpacketswhichwerechosento
bediscardedeventhoughnoerrorshadbeendetectedto
preventtheirbeingtransmitted.Onepossiblereasonfor
discardingsuchapacketcouldbetofreeupbuffer
space.

Chapter 3: Statistics Commands

185

Table 82. InterfaceStatisticsofaPort(continued)


Statistics

Description

ifOutErrors

Forpacketorientedinterfaces,thenumberofoutbound
packetsthatcouldnotbetransmittedbecauseoferrors.
Forcharacterorientedorfixedlengthinterfaces,the
numberofoutboundtransmissionunitsthatcouldnot
betransmittedbecauseoferrors.

VLANDiscards

DiscardedbecausethepacketwastaggedwithaVLAN
towhichthisportisnotamember.

FilterDiscards

DroppedbytheContentAwareEngine(userconfigured
filter).

PolicyDiscards

Droppedduetopolicysetting.Forexample,duetoa
userconfiguredstaticentry.

NonForwardingState

Discardedbecausetheingressportisnotinthe
forwardingstate.

IBP/CBPDiscards

DiscardedbecauseofIngressBackPressure(flow
control),orbecausetheCommonBufferPoolisfull(for
example,insufficientpacketbuffering).

HOLblockingDis

DiscardedbecauseoftheHeadOfLine(HOL)blocking

cards

mechanism.Lowprioritypacketsareplacedinasepa
ratequeueandcanbediscardedwhileapplicationsor
theTCPprotocoldeterminewhetheraretransmissionis
necessary.HOLblockingforcestransmissiontostop
untiltheoverloadedegressportbuffercanreceivedata
again.

MMUDiscards

DiscardedbecauseoftheMemoryManagementUnit.

CellErrorDiscards
MMUAgingDiscards
OtherDiscards

186

G8052 Command Reference for N/OS 8.3

Discardedpacketsnotincludedinanycategory.

Interface Protocol Statistics


Usethefollowingcommandtodisplaytheinterfaceprotocolstatisticsofthe
selectedport:
showinterfaceport<portaliasornumber>ipcounters
Commandmode:All
GEAIPstatisticsforport1:
ipInReceives:0
ipInHeaderError:0
ipInDiscards:0

Thefollowingtabledescribestheinterfaceprotocolstatistics.
Table 83. InterfaceProtocolStatisticsofaPort
Statistics

Description

ipInReceives

Thetotalnumberofinputdatagramsreceivedfrom
interfaces,includingthosereceivedinerror.

ipInHeaderErrors

ThenumberofinputdatagramsdiscardedbecausetheIP
addressintheirIPheadersdestinationfieldwasnota
validaddresstobereceivedatthisentity(theswitch).

ipInDiscards

ThenumberofinputIPdatagramsforwhichnoproblems
wereencounteredtopreventtheircontinuedprocessing,
butwhichwerediscarded(forexample,forlackofbuffer
space).Notethatthiscounterdoesnotincludeany
datagramsdiscardedwhileawaitingreassembly.

Link Statistics
Usethefollowingcommandtodisplaythelinkstatisticsoftheselectedport:
showinterfaceport<portaliasornumber>linkcounters
Commandmode:All
Linkstatisticsforport1:
linkStateChange:1

Thefollowingtabledescribesthelinkstatistics.
Table 84. LinkStatisticsofaPort

Copyright Lenovo 2015

Statistics

Description

linkStateChange

Thetotalnumberoflinkstatechanges.

Chapter 3: Statistics Commands

187

RMON Statistics
UsethefollowingcommandtodisplaytheRemoteMonitoring(RMON)statistics
oftheselectedport:
showinterfaceport<portaliasornumber>rmoncounters
Commandmode:All
RMONstatisticsforport1:
etherStatsDropEvents:NA
etherStatsOctets:538
etherStatsPkts:4
etherStatsBroadcastPkts:1
etherStatsMulticastPkts:3
etherStatsCRCAlignErrors:0
etherStatsUndersizePkts:0
etherStatsOversizePkts:0
etherStatsFragments:0
etherStatsJabbers:0
etherStatsCollisions:0
etherStatsPkts64Octets:3
etherStatsPkts65to127Octets:0
etherStatsPkts128to255Octets:0
etherStatsPkts256to511Octets:1
etherStatsPkts512to1023Octets:0
etherStatsPkts1024to1518Octets:0

ThefollowingtabledescribestheRMONstatistics.
Table 85. RMONStatisticsofaPort

188

Statistics

Description

etherStatsDropEvents

Thetotalnumberofpacketsreceivedthatwere
droppedbecauseofsystemresource
constraints.

etherStatsOctets

Thetotalnumberofoctetsofdata(including
thoseinbadpackets)receivedonthenetwork
(excludingframingbitsbutincludingFCS
octets).

etherStatsPkts

Thetotalnumberofpackets(includingbad
packets,broadcastpackets,andmulticast
packets)received.

etherStatsBroadcastPkts

Thetotalnumberofgoodpacketsreceivedthat
weredirectedtothebroadcastaddress.

etherStatsMulticastPkts

Thetotalnumberofgoodpacketsreceivedthat
weredirectedtoamulticastaddress.

G8052 Command Reference for N/OS 8.3

Table 85. RMONStatisticsofaPort(continued)

Copyright Lenovo 2015

Statistics

Description

etherStatsCRCAlignErrors

Thetotalnumberofpacketsreceivedthathad
alength(excludingframingbits,butincluding
FCSoctets)ofbetween64and1518octets,
inclusive,buthadeitherabadFrameCheck
Sequence(FCS)withanintegralnumberof
octets(FCSError)orabadFCSwitha
nonintegralnumberofoctets(Alignment
Error).

etherStatsUndersizePkts

Thetotalnumberofpacketsreceivedthatwere
lessthan64octetslong(excludingframingbits
butincludingFCSoctets)andwereotherwise
wellformed.

etherStatsOversizePkts

Thetotalnumberofpacketsreceivedthatwere
longerthan1518octets(excludingframingbits
butincludingFCSoctets)andwereotherwise
wellformed.

etherStatsFragments

Thetotalnumberofpacketsreceivedthatwere
lessthan64octetsinlength(excludingframing
bitsbutincludingFCSoctets)andhadeithera
badFrameCheckSequence(FCS)withan
integralnumberofoctets(FCSError)orabad
FCSwithanonintegralnumberofoctets
(AlignmentError).

etherStatsJabbers

Thetotalnumberofpacketsreceivedthatwere
longerthan1518octets(excludingframing
bits,butincludingFCSoctets),andhadeither
abadFrameCheckSequence(FCS)withan
integralnumberofoctets(FCSError)orabad
FCSwithanonintegralnumberofoctets
(AlignmentError).Jabberisdefinedasthe
conditionwhereanypacketexceeds20ms.
Theallowedrangetodetectjabberisbetween
20msand150ms.

etherStatsCollisions

Thebestestimateofthetotalnumberof
collisionsonthisEthernetsegment.

etherStatsPkts64Octets

Thetotalnumberofpackets(includingbad
packets)receivedthatwerelessthanorequal
to64octetsinlength(excludingframingbits
butincludingFCSoctets).

etherStatsPkts65to127Octets

Thetotalnumberofpackets(includingbad
packets)receivedthatweregreaterthan64
octetsinlength(excludingframingbitsbut
includingFCSoctets).

Chapter 3: Statistics Commands

189

Table 85. RMONStatisticsofaPort(continued)

190

Statistics

Description

etherStatsPkts128to255Octets

Thetotalnumberofpackets(includingbad
packets)receivedthatweregreaterthan127
octetsinlength(excludingframingbitsbut
includingFCSoctets).

etherStatsPkts256to511Octets

Thetotalnumberofpackets(includingbad
packets)receivedthatweregreaterthan255
octetsinlength(excludingframingbitsbut
includingFCSoctets).

etherStatsPkts512to1023
Octets

Thetotalnumberofpackets(includingbad
packets)receivedthatweregreaterthan511
octetsinlength(excludingframingbitsbut
includingFCSoctets).

etherStatsPkts1024to1518
Octets

Thetotalnumberofpackets(includingbad
packets)receivedthatweregreaterthan1023
octetsinlength(excludingframingbitsbut
includingFCSoctets).

G8052 Command Reference for N/OS 8.3

QoS Queue Counter-Based Statistics


UsethefollowingcommandtodisplaythecounterbasedQoSqueuestatisticsof
theselectedport:
showinterfaceport<portaliasornumber>egressqueuecounters
Commandmode:All
QoSstatisticsforport1:
QoSQueue0:
TxPackets:31
DroppedPackets:0
TxBytes:10444
DroppedBytes:0
QoSQueue1:
TxPackets:0
DroppedPackets:0
TxBytes:0
DroppedBytes:0
QoSQueue2:
TxPackets:0
DroppedPackets:0
TxBytes:0
DroppedBytes:0
QoSQueue3:
TxPackets:0
DroppedPackets:0
TxBytes:0
DroppedBytes:0
...
QoSQueue7:
TxPackets:900
DroppedPackets:0
TxBytes:64320
DroppedBytes:0

ThefollowingtabledescribesthecounterbasedQoSqueuestatistics.
Table 86. QoSQueueCounterBasedStatisticsofaPort

Copyright Lenovo 2015

Statistics

Description

TxPackets

Totalnumberofsuccessfullytransmitted
packetsfortheQoSqueue

DroppedPackets

TotalnumberofdroppedpacketsfortheQoS
queue

TxBytes

Totalnumberofsuccessfullytransmittedbytes
fortheQoSqueue

DroppedBytes

TotalnumberofdroppedbytesfortheQoS
queue

Chapter 3: Statistics Commands

191

QoS Queue Rate-Based Statistics


UsethefollowingcommandtodisplaytheratebasedQoSqueuestatisticsofthe
selectedport:
showinterfaceport<portaliasornumber>egressqueuerate
Commandmode:All
QoSRateforport1:
QoSQueue0:
TxPackets:5
DroppedPackets:0
TxBytes:363
DroppedBytes:0
QoSQueue1:
TxPackets:0
DroppedPackets:0
TxBytes:0
DroppedBytes:0
QoSQueue2:
TxPackets:0
DroppedPackets:0
TxBytes:0
DroppedBytes:0
QoSQueue3:
TxPackets:0
DroppedPackets:0
TxBytes:0
DroppedBytes:0
...
QoSQueue7:
TxPackets:0
DroppedPackets:0
TxBytes:0
DroppedBytes:0

ThefollowingtabledescribestheratebasedQoSqueuestatistics.
Table 87. QoSQueueRateBasedStatisticsofaPort

192

Statistics

Description

TxPackets

Numberofsuccessfullytransmittedpackets
persecondfortheQoSqueue

DroppedPackets

Numberofdroppedpacketspersecondforthe
QoSqueue

TxBytes

Numberofsuccessfullytransmittedbytesper
secondfortheQoSqueue

DroppedBytes

Numberofdroppedbytespersecondforthe
QoSqueue

G8052 Command Reference for N/OS 8.3

Trunk Group Statistics


ThefollowingcommandsdisplayTrunkGroupstatistics:
Table 88. TrunkGroupStatisticsCommands
Command Syntax and Usage

showinterfaceportchannel<1104>
interfacecounters
Displaysinterfacestatisticsforthetrunkgroup.
Commandmode:All
clearinterfaceportchannel<1104>counters
Clearsallthestatisticsontheselectedtrunkgroup.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 3: Statistics Commands

193

Layer 2 Statistics
ThefollowingcommandsdisplayLayer2statistics:
Table 89. Layer2StatisticsCommands
Command Syntax and Usage

showhotlinkscounters
DisplaysHotLinksstatistics.Seepage 198forsampleoutput.
Commandmode:All
showinterfaceport<portaliasornumber>lacpcounters
DisplaysLinkAggregationControlProtocol(LACP)statistics.Seepage 197
forsampleoutput.
Commandmode:All
showinterfaceport<portaliasornumber>lldpcounters
DisplaysLLDPstatistics.Seepage 199forsampleoutput.
Commandmode:All
showmacaddresstablecounters
DisplaysFDBstatistics.Seepage 196forsampleoutput.
Commandmode:All
showmacaddresstablecountersall
DisplaysallFDBstatisticsforallFDBentries.
Commandmode:All
showmacaddresstablecountersinterfaceport
<portaliasornumber>
DisplaysFDBstatisticsforaparticularport.
Commandmode:All
showmacaddresstablecountersportchannel <1104>
DisplaysallFDBstatisticsforaparticulartrunkgroup(portchannel).
Commandmode:All
showmacaddresstablecountersstate{unknown|forward|
|trunk}
DisplaysallFDBstatisticsforaparticularstate.
Commandmode:All
showmacaddresstablecountersstatic
DisplaysallFDBstatisticsforallstaticFDBentries.
Commandmode:All

194

G8052 Command Reference for N/OS 8.3

Table 89. Layer2StatisticsCommands


Command Syntax and Usage

showmacaddresstablecountersunicast
DisplaysallFDBstatisticsforallUnicastFDBentries.
Commandmode:All
showmacaddresstablecountersvlan <VLANID(14094)>
DisplaysallFDBstatisticsonasingleVLAN.
Commandmode:All
showoamcounters
DisplaysOAMstatistics.Seepage 200forsampleoutput.
Commandmode:All
showvlagstatistics
DisplaysallvLAGstatistics.Seepage 201forsampleoutput.
Commandmode:All
clearhotlinks
ClearsallHotLinksstatistics.
Commandmode:PrivilegedEXEC
clearinterfaceport<portaliasornumber>lacpcounters
ClearsLinkAggregationControlProtocol(LACP)statistics.
Commandmode:PrivilegedEXEC
clearinterfaceport<portaliasornumber>lldpcounters
ClearsLinkLayerDetectionProtocol(LLDP)statisticsforthespecifiedport.
Commandmode:PrivilegedEXEC
clearmacaddresstablecounters
ClearsFDBstatistics.
Commandmode:PrivilegedEXEC
clearvlagstatistics
ClearsallvLAGstatistics.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 3: Statistics Commands

195

FDB Statistics
Usethefollowingcommandtodisplaystatisticsregardingtheuseofthe
forwardingdatabase,includingthenumberofnewentries,finds,andunsuccessful
searches:
showmacaddresstablecounters
Commandmode:All
FDBstatistics:
current:83hiwat:855

FDBstatisticsaredescribedinthefollowingtable:
Table 90. ForwardingDatabaseStatistics

196

Statistic

Description

current

CurrentnumberofentriesintheForwardingDatabase.

hiwat

Highestnumberofentriesrecordedatanygiventimein
theForwardingDatabase.

G8052 Command Reference for N/OS 8.3

LACP Statistics
UsethefollowingcommandtodisplayLinkAggregationControlProtocol(LACP)
statistics:
showinterfaceport<portaliasornumber>lacpcounters
Commandmode:All
Port1:

ValidLACPDUsreceived:870
ValidMarkerPDUsreceived:0
ValidMarkerRspPDUsreceived:0
Unknownversion/TLVtype:0
Illegalsubtypereceived:0
LACPDUstransmitted:6031
MarkerPDUstransmitted:0
MarkerRspPDUstransmitted:0

LinkAggregationControlProtocol(LACP)statisticsaredescribedinthefollowing
table:
Table 91. LACPStatistics

Copyright Lenovo 2015

Statistic

Description

ValidLACPDUs
received

TotalnumberofvalidLACPdataunitsreceived.

ValidMarkerPDUs
received

TotalnumberofvalidLACPmarkerdataunitsreceived.

ValidMarkerRsp
PDUsreceived

TotalnumberofvalidLACPmarkerresponsedataunits
received.

Unknown
version/TLVtype

TotalnumberofLACPdataunitswithanunknown
versionortype,length,andvalue(TLV)received.

Illegalsubtype
received

TotalnumberofLACPdataunitswithanillegalsubtype
received.

LACPDUs
transmitted

TotalnumberofLACPdataunitstransmitted.

MarkerPDUs
transmitted

TotalnumberofLACPmarkerdataunitstransmitted.

MarkerRspPDUs
transmitted

TotalnumberofLACPmarkerresponsedataunits
transmitted.

Chapter 3: Statistics Commands

197

Hotlinks Statistics
UsethefollowingcommandtodisplayHotLinksstatistics:
showhotlinkscounters
Commandmode:All
HotLinksTriggerStats:
Trigger1statistics:
TriggerName:Trigger1
Masteractive:0
Backupactive:0
FDBupdate:0failed:0

ThefollowingtabledescribestheHotlinksstatistics:
Table 92. HotlinksStatistics

198

Statistic

Description

Masteractive

TotalnumberoftimestheMasterinterfacetransitionedtothe
Activestate.

Backupactive

TotalnumberoftimestheBackupinterfacetransitionedtothe
Activestate.

FDBupdate

TotalnumberofFDBupdaterequestssent.

failed

TotalnumberofFDBupdaterequeststhatfailed.

G8052 Command Reference for N/OS 8.3

LLDP Port Statistics


UsethefollowingcommandtodisplayLLDPstatistics:
showinterfaceport<portaliasornumber>lldpcounters
Commandmode:All
LLDPPort1Statistics

FramesTransmitted:0
FramesReceived:0
FramesReceivedinErrors:0
FramesDiscarded:0
TLVsUnrecognized:0
NeighborsAgedOut:0
...

ThefollowingtabledescribestheLLDPportstatistics:
Table 93. LLDPportStatistics
Statistic

Description

Frames
Transmitted

TotalnumberofLLDPframestransmitted.

FramesReceived

TotalnumberofLLDPframesreceived.

FramesReceived TotalnumberofLLDPframesthathaderrors.
inErrors

Copyright Lenovo 2015

Frames
Discarded

TotalnumberofLLDPframesdiscarded.

TLVs
Unrecognized

TotalnumberofunrecognizedTLV(Type,Length,and
Value)fieldsreceived.

NeighborsAged
Out

Totalnumberofneighbordevicesthathavehadtheir
LLDPinformationagedout.

Chapter 3: Statistics Commands

199

OAM Statistics
UsethefollowingcommandtodisplayOAMstatistics:
showoamcounters
Commandmode:All
OAMstatisticsonport1

InformationOAMPDUTx:0
InformationOAMPDURx:0
UnsupportedOAMPDUTx:0
UnsupportedOAMPDUTx:0
Localfaults

0Linkfaultrecords
0Criticalevents
0Dyinggasps
Remotefaults

0Linkfaultrecords
0Criticalevents
0Dyinggasps

OAMstatisticsincludethefollowing:

200

TotalnumberofOAMProtocolDataUnits(OAMPDU)transmittedand
received.

TotalnumberofunsupportedOAMProtocolDataUnits(OAMPDU)
transmittedandreceived.

Localfaultsdetected.

Remotefaultsdetected.

G8052 Command Reference for N/OS 8.3

vLAG Statistics
ThefollowingtabledescribesthevLAGstatisticscommands:
Table 94. vLAGStatisticsOptions
Command Syntax and Usage

showvlagstatistics
DisplaysallvLAGstatistics.Seepage 201forsampleoutput.
Commandmode:All
showvlagislstatistics
DisplaysvLAGISLstatisticsfortheselectedport.Seepage 202forsample
output.
Commandmode:All
clearvlagstatistics
ClearsallvLAGstatistics.
Commandmode:PrivilegedEXEC
UsethefollowingcommandtodisplayvLAGstatistics:
showvlagstatistics
Commandmode:All
vLAGPDUsent:
RoleElection:10SystemInfo:7
PeerInstanceEnable:624PeerInstanceDisable:52
FDBDynamicAdd:166079FDBDynamicDel:33856
FDBInactiveAdd:0FDBInactiveDel:0
HealthCheck:4665ISLHello:2126
Other:0Unknown:0

vLAGPDUreceived:
RoleElection:11SystemInfo:6
PeerInstanceEnable:572PeerInstanceDisable:52
FDBDynamicAdd:122523FDBDynamicDel:38991
FDBInactiveAdd:7200FDBInactiveDel:0
HealthCheck:4656ISLHello:2114
Other:0Unknown:0

vLAGIGMPpacketsforwarded:
IGMPReports:0
IGMPLeaves:0

Copyright Lenovo 2015

Chapter 3: Statistics Commands

201

ThefollowingtabledescribesthevLAGstatistics:
Table 95. VLAGStatistics
Statistic

Description

RoleElection

TotalnumberofvLAGPDUssent/receivedforrole
elections.

SystemInfo

TotalnumberofvLAGPDUssent/receivedforgetting
systeminformation.

PeerInstance
Enable

TotalnumberofvLAGPDUssent/receivedforenabling
peerinstance.

PeerInstance
Disable

TotalnumberofvLAGPDUssent/receivedfordisabling
peerinstance.

FDBDynamicAdd

TotalnumberofvLAGPDUssent/receivedforaddition
ofFDBdynamicentry.

FDBDynamicDel

TotalnumberofvLAGPDUssent/receivedfordeletion
ofFDBdynamicentry.

FDBInactiveAdd

TotalnumberofvLAGPDUssent/receivedforaddition
ofFDBinactiveentry.

FDBInactiveDel

TotalnumberofvLAGPDUssent/receivedfordeletion
ofFDBinactiveentry.

HealthCheck

TotalnumberofvLAGPDUssent/receivedforhealth
checks.

ISLHello

TotalnumberofvLAGPDUssent/receivedforISL
hello.

Other

TotalnumberofvLAGPDUssent/receivedforother
reasons.

Unknown

TotalnumberofvLAGPDUssent/receivedforunknown
operations.

vLAG ISL Statistics


UsethefollowingcommandtodisplayvLAGstatistics:
showvlagislstatistics
Commandmode:All
InCounterOutCounter
Octets:27558202288
Packets:2104426

ISLstatisticsincludethetotalnumberofoctetsreceived/transmitted,andthetotal
numberofpacketsreceived/transmittedovertheInterSwitchLink(ISL).

202

G8052 Command Reference for N/OS 8.3

Layer 3 Statistics
ThefollowingcommandsdisplayLayer3statistics:
Table 96. Layer3StatisticsCommands
Command Syntax and Usage

show[ip]arpcounters
DisplaysAddressResolutionProtocol(ARP)statistics.Seepage 217for
sampleoutput.
Commandmode:All
showiparpinspectionstatistics[vlan<VLANID(14094)>]
DisplaysDynamicARPInspectionstatistics.Seepage 217forsampleoutput.
Commandmode:All
showipcounters
DisplaysInternetProtocol(IP)statistics.Seepage 208forsampleoutput.
Commandmode:All
showipv6counters
DisplaysInternetProtocolversion6(IPv6)statistics.Seepage 210forsample
output.
Commandmode:All
showipdhcpsnoopingcounters
DisplaysDynamicHostControlProtocol(DHCP)Snoopingstatistics.
Commandmode:All
showipdnscounters
DisplaysDomainNameSystem(DNS)statistics.Seepage 218forsample
output.
Commandmode:All
showipgea[bucket<IPaddress>|ecmp<IPaddress><IPnetmask>]
DisplaysGigabitEthernetAggregators(GEA)statistics.GEAstatisticsare
usedbyserviceandsupportpersonnel.
Commandmode:All
showipicmpcounters
DisplaysInternetControlMessageProtocol(ICMP)statistics.Seepage 219for
sampleoutput.
Commandmode:All
showipigmpcounters
DisplaysInternetGroupManagementProtocol(IGMP)statistics.Seepage 224
forsampleoutput.
Commandmode:All

Copyright Lenovo 2015

Chapter 3: Statistics Commands

203

Table 96. Layer3StatisticsCommands(continued)


Command Syntax and Usage

showipigmpport<portaliasornumber>counter
DisplaysportIGMPstatistics.
Commandmode:All
showipigmpvlan<VLANID(14094)>counter
DisplaysIGMPstatisticsforaspecificVLAN.Seepage 224forsampleoutput.
Commandmode:All
showipv6mldcounters
DisplaysMLDstatistics.Seepage 227forsampleoutput.
Commandmode:All
showipv6neighborscounters
DisplaysIPv6NeighborCachestatistics.
Commandmode:All
showipospfcounters
DisplaysOpenShortestPathFirst(OSPF)statistics.Seepage 230forsample
output.
Commandmode:All
showipv6ospfcounters
DisplaysOpenShortestPathFirstversion3(OSPFv3)statistics.Seepage 235
forsampleoutput.
Commandmode:All
showippimcounters
DisplaysProtocolIndependentMulticast(PIM)statisticsforallconfigured
PIMinterfaces.Seepage 240forsampleoutput.
Commandmode:All
showippiminterface{<interfacenumber>|loopback|port
<portaliasornumber>}counters
DisplaysPIMstatisticsfortheselectedinterface.
Commandmode:All
showippimmroutecount
Displaysstatisticsofvariousmulticastentrytypes.
Commandmode:All
showippolicystatistics
Displaysstatisticsforthecurrentroutingpolicy.
Commandmode:All

204

G8052 Command Reference for N/OS 8.3

Table 96. Layer3StatisticsCommands(continued)


Command Syntax and Usage

showipripcounters
DisplaysRoutingInformationProtocol(RIP)statistics.Seepage 241for
sampleoutput.
Commandmode:All
showiproutecounters
DisplaysIPv4routestatistics.Seepage 215forsampleoutput.
Commandmode:All
showipv6routecounters
DisplaysIPv6routestatistics.Seepage 216forsampleoutput.
Commandmode:All
showipslpcounters
DisplaysServiceLocationProtocol(SLP)statistics.
Commandmode:All
showiptcpcounters
DisplaysTransmissionControlProtocol(TCP)statistics.Seepage 221for
sampleoutput.
Commandmode:All
showipudpcounters
DisplaysUserDatagramProtocol(UDP)statistics.Seepage 223forsample
output.
Commandmode:All
showipvrrpcounters
Whenvirtualroutersareconfigured,youcandisplaytheprotocolstatisticsfor
VirtualRouterRedundancyProtocol(VRRP).Seepage 239forsampleoutput.
Commandmode:All
showlayer3counters
DumpsallLayer3statistics.Usethiscommandtogatherdatafortuningand
debuggingswitchperformance.Ifyouwanttocapturedumpdatatoafile,set
yourcommunicationsoftwareonyourworkstationtocapturesessiondata
priortoissuingthedumpcommand.
Commandmode:All
cleariparpcounters
ClearsAddressResolutionProtocol(ARP)statistics.
Commandmode:PrivilegedEXEC
cleariparpinspectionstatistics[vlan<VLANID(14094)>]
ClearsDynamicARPInspectionstatistics.
Commandmode:PrivilegedEXEC
Copyright Lenovo 2015

Chapter 3: Statistics Commands

205

Table 96. Layer3StatisticsCommands(continued)


Command Syntax and Usage

clearipcounters
ClearsIPv4statistics.UsethiscommandwithcautionasitdeletesalltheIPv4
statistics.
Commandmode:PrivilegedEXEC
clearipv6counters
ClearsIPv6statistics.UsethiscommandwithcautionasitdeletesalltheIPv6
statistics.
Commandmode:PrivilegedEXEC
clearipdhcpsnoopingcounters
ClearsDHCPSnoopingstatistics.
Commandmode:PrivilegedEXEC
clearipdnscounters
ClearsDomainNameSystem(DNS)statistics.
Commandmode:PrivilegedEXEC
clearipicmpcounters
ClearsInternetControlMessageProtocol(ICMP)statistics.
Commandmode:PrivilegedEXEC
clearipigmp[<VLANID(14094)>]counters
ClearsallIGMPstatistics.ThevlanoptionclearsIGMPstatisticsonlyfora
specificVLAN.
Commandmode:PrivilegedEXEC
clearipv6mldcounters
ClearsMLDstatistics.
Commandmode:PrivilegedEXEC
clearipv6neighborscounters
ClearsallIPv6NeighborCachestatisticsfromswitchmemory.
Commandmode:PrivilegedEXEC
clearipospfcounters
ClearsOpenShortestPathFirst(OSPF)statistics.
Commandmode:PrivilegedEXEC
clearipv6ospfcounters
ClearsOpenShortestPathFirstversion3(OSPFv3)statistics.
Commandmode:PrivilegedEXEC
clearippimcounters
ClearsPIMstatisticsforallinterfaces.
Commandmode:PrivilegedEXEC

206

G8052 Command Reference for N/OS 8.3

Table 96. Layer3StatisticsCommands(continued)


Command Syntax and Usage

clearippiminterface{<interfacenumber>|port<portaliasornumber>}
counters
ClearsPIMstatisticsontheselectedinterface.
Commandmode:PrivilegedEXEC
clearipripcounters
ClearsRoutingInformationProtocol(RIP)statistics.
Commandmode:PrivilegedEXEC
cleariproutecounters
ClearsIPv4routestatistics.
Commandmode:PrivlegedEXEC
clearipv6routecounters
ClearsIPv6routestatistics.
Commandmode:PrivilegedEXEC
clearipslpcounters
ClearsSLPstatistics.
Commandmode:PrivilegedEXEC
cleariptcpcounters
ClearsTransmissionControlProtocol(TCP)statistics.
Commandmode:PrivilegedEXEC
clearipudpcounters
ClearsUserDatagramProtocol(UDP)statistics.
Commandmode:PrivilegedEXEC
clearipvrrpcounters
ClearsVRRPstatistics.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 3: Statistics Commands

207

IPv4 Statistics
ThefollowingcommanddisplaysIPv4statistics:
showipcounters
Commandmode:All
IPstatistics:
ipInReceives:0ipInHdrErrors:0
ipInAddrErrors:0
ipInUnknownProtos:0ipInDiscards:0
ipInDelivers:0ipOutRequests:1274
ipOutDiscards:0
ipDefaultTTL:255

UsethefollowingcommandtoclearIPv4statistics:
clearipcounters
Table 97. IPv4Statistics
Statistics

Description

ipInReceives

Thetotalnumberofinputdatagramsreceivedfrom
interfaces,includingthosereceivedinerror.

ipInHdrErrors

Thenumberofinputdatagramsdiscardedduetoerrorsin
theirIPheaders,includingbadchecksums,version
numbermismatch,otherformaterrors,timetolive
exceeded,errorsdiscoveredinprocessingtheirIPoptions,
andsoforth.

ipInAddrErrors

ThenumberofinputdatagramsdiscardedbecausetheIP
addressintheirIPheadersdestinationfieldwasnota
validaddresstobereceivedatthisentity(theswitch).This
countincludesinvalidaddresses(forexample,0.0.0.0)and
addressesofunsupportedClasses(forexample,ClassE).
ForentitieswhicharenotIPGatewaysandthereforedo
notforwarddatagrams,thiscounterincludesdatagrams
discardedbecausethedestinationaddresswasnotalocal
address.

ipInUnknownProtos Thenumberoflocallyaddresseddatagramsreceived
successfullybutdiscardedbecauseofanunknownor
unsupportedprotocol.

208

ipInDiscards

ThenumberofinputIPdatagramsforwhichnoproblems
wereencounteredtopreventtheircontinuedprocessing,
butwhichwerediscarded(forexample,forlackofbuffer
space).Notethatthiscounterdoesnotincludeany
datagramsdiscardedwhileawaitingreassembly.

ipInDelivers

Thetotalnumberofinputdatagramssuccessfully
deliveredtoIPuserprotocols(includingICMP).

G8052 Command Reference for N/OS 8.3

Table 97. IPv4Statistics(continued)

Copyright Lenovo 2015

Statistics

Description

ipOutRequests

ThetotalnumberofIPdatagramswhichlocalIP
userprotocols(includingICMP)suppliedtoIPinrequests
fortransmission.Notethatthiscounterdoesnotinclude
anydatagramscountedinipForwDatagrams.

ipOutDiscards

ThenumberofoutputIPdatagramsforwhichnoproblem
wasencounteredtopreventtheirtransmissiontotheir
destination,butwhichwerediscarded(forexample,for
lackofbufferspace).Notethatthiscounterwouldinclude
datagramscountedinipForwDatagramsifanysuch
packetsmetthis(discretionary)discardcriterion.

ipDefaultTTL

ThedefaultvalueinsertedintotheTimeToLive(TTL)
fieldoftheIPheaderofdatagramsoriginatedatthisentity
(theswitch),wheneveraTTLvalueisnotsuppliedbythe
transportlayerprotocol.

Chapter 3: Statistics Commands

209

IPv6 Statistics
ThefollowingcommanddisplaysIPv6statistics:
showipv6counters
Commandmode:All
IPv6Statistics
***************
144Rcvd0HdrErrors0TooBigErrors
0AddrErrors0FwdDgrams0UnknownProtos
0Discards144Delivers130OutRequests
0OutDiscards0OutNoRoutes0ReasmReqds
0ReasmOKs0ReasmFails
0FragOKs0FragFails0FragCreates
7RcvdMCastPkt2SentMcastPkts0TruncatedPkts
0RcvdRedirects0SentRedirects
ICMPStatistics
***************
Received:
33ICMPPkts0ICMPErrPkt0DestUnreach0TimeExcds
0ParmProbs0PktTooBigMsg9ICMPEchoReq10ICMPEchoReps
0RouterSols0RouterAdv5NeighSols9NeighAdv
0Redirects0AdminProhib0ICMPBadCode
Sent:
19ICMPMsgs0ICMPErrMsgs0DstUnReach0TimeExcds
0ParmProbs0PktTooBigs10EchoReq9EchoReply
0RouterSols0RouterAdv11NeighSols5NeighborAdv
0RedirectMsgs0AdminProhibMsgs
UDPstatistics
**************
Received:
0UDPDgrams0UDPNoPorts0UDPErrPkts
Sent:
0UDPDgrams

UsethefollowingcommandtoclearIPv6statistics:
clearipv6counters
Commandmode:PrivilegedEXEC
ThefollowingtabledescribestheIPv6statistics.
Table 98. IPv6Statistics

210

Statistic

Description

Rcvd

Numberofdatagramsreceivedfrominterfaces,including
thosereceivedinerror.

HdrErrors

NumberofdatagramsdiscardedduetoerrorsintheirIP
headers,includingbadchecksums,versionnumber
mismatch,otherformaterrors,timetoliveexceeded,errors
discoveredinprocessingtheirIPoptions,andsoforth.

TooBigErrors

Thenumberofinputdatagramsthatcouldnotbeforwarded
becausetheirsizeexceededthelinkMTUofoutgoing
interface.

G8052 Command Reference for N/OS 8.3

Table 98. IPv6Statistics(continued)

Copyright Lenovo 2015

Statistic

Description

AddrErrors

NumberofdatagramsdiscardedbecausetheIPaddressin
theirIPheadersdestinationfieldwasnotavalidaddressto
bereceivedatthisentity(theswitch).Thiscountincludes
invalidaddresses.ForentitieswhicharenotIPGateways
andthereforedonotforwarddatagrams,thiscounter
includesdatagramsdiscardedbecausethedestination
addresswasnotalocaladdress.

FwdDgrams

Numberofinputdatagramsforwhichthisentity(the
switch)wasnottheirfinalIPdestination,asaresultofwhich
anattemptwasmadetofindaroutetoforwardthemtothat
finaldestination.InentitieswhichdonotactasIPGateways,
thiscounterwillincludeonlythosepackets,whichwere
SourceRoutedviathisentity(theswitch),andtheSource
Routeoptionprocessingwassuccessful.

UnknownProtos

Numberoflocallyaddresseddatagramsreceived
successfullybutdiscardedbecauseofanunknownor
unsupportedprotocol.

Discards

NumberofIPdatagramsforwhichnoproblemswere
encounteredtopreventtheircontinuedprocessing,but
whichwerediscarded(forexample,forlackofbufferspace).
Notethatthiscounterdoesnotincludeanydatagrams
discardedwhileawaitingreassembly.

Delivers

NumberofdatagramssuccessfullydeliveredtoIP
userprotocols(includingICMP).

OutRequests

NumberofIPdatagramswhichlocalIPuserprotocols
(includingICMP)suppliedtoIPinrequestsfor
transmission.

OutDiscards

NumberofoutputIPdatagramsforwhichnoproblemwas
encounteredtopreventtheirtransmissiontotheir
destination,butwhichwerediscarded(forexample,forlack
ofbufferspace).

OutNoRoutes

NumberofIPdatagramsdiscardedbecausenoroutecould
befoundtotransmitthemtotheirdestination.Notethatthis
includesanydatagramswhichahostcannotroutebecause
allofitsdefaultgatewaysaredown.

ReasmReqds

NumberofIPfragmentsreceivedwhichneededtobe
reassembledatthisentity(theswitch).

ReasmOKs

NumberofIPdatagramssuccessfullyreassembled.

ReasmFails

NumberoffailuresdetectedbytheIPreassembly
algorithm(forwhateverreason:timedout,errors,andso
forth).Notethatthisisnotnecessarilyacountofdiscarded
IPfragmentssincesomealgorithms(notablythealgorithm
inRFC815)canlosetrackofthenumberoffragmentsby
combiningthemastheyarereceived.

Chapter 3: Statistics Commands

211

Table 98. IPv6Statistics(continued)


Statistic

Description

FragOKs

NumberofIPdatagramsthathavebeensuccessfully
fragmentedatthisentity(theswitch).

FragFails

NumberofIPdatagramsthathavebeendiscardedbecause
theyneededtobefragmentedatthisentity(theswitch)but
couldnotbe,forexample,becausetheirDon'tFragment
flagwasset.

FragCreates

NumberofIPdatagramfragmentsthathavebeengenerated
asaresultoffragmentationatthisentity(theswitch).

RcvdMCastPkt

Thenumberofmulticastpacketsreceivedbytheinterface.

SentMcastPkts

Thenumberofmulticastpacketstransmittedbythe
interface.

TruncatedPkts

Thenumberofinputdatagramsdiscardedbecause
datagramframedidntcarryenoughdata.

RcvdRedirects

ThenumberofRedirectmessagesreceivedbytheinterface.

SentRedirects

ThenumberofRedirectmessagessent.

ThefollowingtabledescribestheIPv6ICMPstatistics.
Table 99. ICMPStatistics
Statistic

Description

Received

212

ICMPPkts

NumberofICMPmessageswhichtheentity(theswitch)
received.

ICMPErrPkt

NumberofICMPmessageswhichtheentity(theswitch)
receivedbutdeterminedashavingICMPspecificerrors
(badICMPchecksums,badlength,andsoforth).

DestUnreach

NumberofICMPDestinationUnreachablemessages
received.

TimeExcds

NumberofICMPTimeExceededmessagesreceived.

ParmProbs

NumberofICMPParameterProblemmessagesreceived.

PktTooBigMsg

ThenumberofICMPPacketTooBigmessagesreceivedby
theinterface.

ICMPEchoReq

NumberofICMPEcho(request)messagesreceived.

ICMPEchoReps

NumberofICMPEchoReplymessagesreceived.

RouterSols

NumberofRouterSolicitationmessagesreceivedbytheswitch.

RouterAdv

NumberofRouterAdvertisementsreceivedbytheswitch.

NeighSols

NumberofNeighborSolicitationsreceivedbytheswitch.

NeighAdv

NumberofNeighborAdvertisementsreceivedbythe
switch.

G8052 Command Reference for N/OS 8.3

Table 99. ICMPStatistics


Statistic

Description

Redirects

NumberofICMPRedirectmessagesreceived.

AdminProhib

ThenumberofICMPdestinationunreachable/communication
administrativelyprohibitedmessagesreceivedbytheinterface.

ICMPBadCode

ThenumberofICMPParameterProblemmessagesreceived
bytheinterface.

Sent
ICMPMsgs

NumberofICMPmessageswhichthisentity(theswitch)
attemptedtosend.

ICMPErrMsgs

NumberofICMPmessageswhichthisentity(theswitch)
didnotsendduetoproblemsdiscoveredwithinICMPsuch
asalackofbuffer.Thisvalueshouldnotincludeerrors
discoveredoutsidetheICMPlayersuchastheinabilityofIP
toroutetheresultantdatagram.Insomeimplementations
theremaybenotypesoferrorsthatcontributetothis
countersvalue.

DstUnReach

NumberofICMPDestinationUnreachablemessagessent.

TimeExcds

NumberofICMPTimeExceededmessagessent.

ParmProbs

NumberofICMPParameterProblemmessagessent.

PktTooBigs

ThenumberofICMPPacketTooBigmessagessentbythe
interface.

EchoReq

NumberofICMPEcho(request)messagessent.

EchoReply

NumberofICMPEchoReplymessagessent.

RouterSols

NumberofRouterSolicitationmessagessentbytheswitch.

RouterAdv

NumberofRouterAdvertisementssentbytheswitch.

NeighSols

NumberofNeighborSolicitationssentbytheswitch.

NeighAdv

NumberofNeighborAdvertisementssentbytheswitch.

RedirectMsgs

NumberofICMPRedirectmessagessent.Forahost,this
objectwillalwaysbezero,sincehostsdonotsendredirects.

AdminProhibMsgs NumberofICMPdestinationunreachable/communication
administrativelyprohibitedmessagessent.

Copyright Lenovo 2015

Chapter 3: Statistics Commands

213

ThefollowingtabledescribestheUDPstatistics.
Table 100. UDPStatistics
Statistic

Description

Received
UDPDgrams

NumberofUDPdatagramsreceivedbytheswitch.

UDPNoPorts

NumberofreceivedUDPdatagramsforwhichtherewasno
applicationatthedestinationport.

UDPErrPkts

NumberofreceivedUDPdatagramsthatcouldnotbe
deliveredforreasonsotherthanthelackofanapplicationat
thedestinationport.

Sent
UDPDgrams

214

G8052 Command Reference for N/OS 8.3

NumberofUDPdatagramssentfromthisentity(the
switch).

IPv4 Route Statistics


ThefollowingcommanddisplaysIPv4routestatistics:
showiproutecounters
Commandmode:All
Routestatistics:
Currenttotaloutstandingroutes:2
Highestnumbereverrecorded:2
Currentstaticroutes:0
CurrentRIProutes:0
CurrentOSPFroutes:0
CurrentBGProutes:0
Maximumsupportedroutes:4096
ECMPstatistics(activeinASIC):
MaximumnumberofECMProutes:3782
MaximumnumberofstaticECMProutes:128
NumberofrouteswithECMPpaths:0

ThefollowingtabledescribestheIPv4routestatistics.
Table 101. IPv4RouteStatistics
Statistics

Description

Currenttotal
outstandingroutes

Totalnumberofoutstandingroutesintheroutetable.

Highestnumberever Highestnumberofrouteseverrecordedintheroutetable.
recorded
Currentstaticroutes

Totalnumberofstaticroutesintheroutetable.

CurrentRIProutes

TotalnumberofRIProutesintheroutetable.

CurrentOSPFroutes

TotalnumberofOSPFroutesintheroutetable.

CurrentBGProutes

TotalnumberofBGProutesintheroutetable.

Maximumsupported Maximumnumberofroutesthataresupported.
routes
Maximumnumberof MaximumnumberofECMProutesthataresupported.
ECMProutes
Maximumnumberof MaximumnumberofstaticECMProutesthatare
staticECMProutes
supported.
Numberofroutes
withECMPpaths

CurrentnumberofroutesthatcontainECMPpaths.

UsethefollowingcommandtoclearallIPv4routestatistics:
cleariproutecounters
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 3: Statistics Commands

215

IPv6 Route Statistics


ThefollowingcommanddisplaysIPv6routestatistics:
showipv6routecounters
Commandmode:All
IPV6Routestatistics:
ipv6RoutesCur:4ipv6RoutesHighWater:6
ipv6RoutesMax:1156
ECMPstatistics:

MaximumnumberofECMProutes:600
MaxECMPpathsallowedforoneroute:5
NumberofrouteswithECMPpaths:0

ThefollowingtabledescribestheIPv6routestatistics.
Table 102. IPv6RouteStatistics
Statistics

Description

ipv6RoutesCur

Totalnumberofoutstandingroutesintheroutetable.

ipv6RoutesHighWater Highestnumberofrouteseverrecordedintheroute
table.
ipv6RoutesMax

Maximumnumberofroutesthataresupported.

Maximumnumberof MaximumnumberofECMProutessupported.
ECMProutes
MaxECMPpaths
allowedforoneroute

MaximumnumberofECMPpathssupportedforeach
route.

Numberofroutes
withECMPpaths

CurrentnumberofroutesthatcontainECMPpaths.

UsethefollowingcommandtoclearallIPv6routestatistics:
clearipv6routecounters
Commandmode:PrivilegedEXEC

216

G8052 Command Reference for N/OS 8.3

ARP statistics
ThefollowingcommanddisplaysAddressResolutionProtocolstatistics.
show[ip]arpcounters
Commandmode:All
ARPstatistics:
arpEntriesCur:3arpEntriesHighWater:4
arpEntriesMax:8191

ThefollowingtabledescribestheARPstatistics.
Table 103. ARPStatistics
Statistic

Description

arpEntriesCur

ThetotalnumberofoutstandingARPentriesinthe
ARPtable.

arpEntriesHighWater

ThehighestnumberofARPentrieseverrecordedin
theARPtable.

arpEntriesMax

ThemaximumnumberofARPentriesthatare
supported.

ThefollowingcommanddisplaysDynamicARPInspectionstatistics.
showiparpinspectionstatistics[vlan<VLANID(14094)>]
Commandmode:All
VlanForwardedDropped

2100200

Copyright Lenovo 2015

Chapter 3: Statistics Commands

217

DNS Statistics
ThefollowingcommanddisplaysDomainNameSystemstatistics.
showipdnscounters
Commandmode:All
DNSstatistics:
dnsInRequests:0
dnsOutRequests:0
dnsBadRequests:0

ThefollowingtabledescribestheDNSstatistics.
Table 104. DNSStatistics

218

Statistics

Description

dnsInRequests

ThetotalnumberofDNSresponsepacketsthathavebeen
received.

dnsOutRequests

ThetotalnumberofDNSresponsepacketsthathavebeen
transmitted.

dnsBadRequests

ThetotalnumberofDNSrequestpacketsreceivedthat
weredropped.

G8052 Command Reference for N/OS 8.3

ICMP Statistics
ThefollowingcommanddisplaysICMPstatistics:
showipicmpcounters
Commandmode:All
ICMPstatistics:
icmpInMsgs:245802icmpInErrors:1393
icmpInDestUnreachs:41icmpInTimeExcds:0
icmpInParmProbs:0icmpInSrcQuenchs:0
icmpInRedirects:0icmpInEchos:18
icmpInEchoReps:244350icmpInTimestamps:0
icmpInTimestampReps:0icmpInAddrMasks:0
icmpInAddrMaskReps:0icmpOutMsgs:253810
icmpOutErrors:0icmpOutDestUnreachs:15
icmpOutTimeExcds:0icmpOutParmProbs:0
icmpOutSrcQuenchs:0icmpOutRedirects:0
icmpOutEchos:253777icmpOutEchoReps:18
icmpOutTimestamps:0icmpOutTimestampReps:0
icmpOutAddrMasks:0icmpOutAddrMaskReps:0

ThefollowingtabledescribestheICMPstatistics.
Table 105. ICMPStatistics

Copyright Lenovo 2015

Statistic

Description

icmpInMsgs

ThetotalnumberofICMPmessageswhichtheentity
(theswitch)received.Notethatthiscounterincludes
allthosecountedbyicmpInErrors.

icmpInErrors

ThenumberofICMPmessageswhichtheentity(the
switch)receivedbutdeterminedashaving
ICMPspecificerrors(badICMPchecksums,bad
length,andsoforth).

icmpInDestUnreachs

ThenumberofICMPDestinationUnreachable
messagesreceived.

icmpInTimeExcds

ThenumberofICMPTimeExceededmessages
received.

icmpInParmProbs

ThenumberofICMPParameterProblemmessages
received.

icmpInSrcQuenchs

ThenumberofICMPSourceQuench(bufferalmost
full,stopsendingdata)messagesreceived.

icmpInRedirects

ThenumberofICMPRedirectmessagesreceived.

icmpInEchos

ThenumberofICMPEcho(request)messages
received.

icmpInEchoReps

ThenumberofICMPEchoReplymessagesreceived.

icmpInTimestamps

ThenumberofICMPTimestamp(request)messages
received.

Chapter 3: Statistics Commands

219

Table 105. ICMPStatistics


Statistic

Description

icmpInTimestampReps

ThenumberofICMPTimestampReplymessages
received.

icmpInAddrMasks

ThenumberofICMPAddressMaskRequest
messagesreceived.

icmpInAddrMaskReps

ThenumberofICMPAddressMaskReplymessages
received.

icmpOutMsgs

ThetotalnumberofICMPmessageswhichthisentity
(theswitch)attemptedtosend.Notethatthiscounter
includesallthosecountedbyicmpOutErrors.

icmpOutErrors

ThenumberofICMPmessageswhichthisentity(the
switch)didnotsendduetoproblemsdiscovered
withinICMPsuchasalackofbuffer.Thisvalue
shouldnotincludeerrorsdiscoveredoutsidethe
ICMPlayersuchastheinabilityofIPtoroutethe
resultantdatagram.Insomeimplementationsthere
maybenotypesoferrorsthatcontributetothis
countersvalue.

icmpOutDestUnreachs

ThenumberofICMPDestinationUnreachable
messagessent.

icmpOutTimeExcds

ThenumberofICMPTimeExceededmessagessent.

icmpOutParmProbs

ThenumberofICMPParameterProblemmessages
sent.

icmpOutSrcQuenchs

ThenumberofICMPSourceQuench(bufferalmost
full,stopsendingdata)messagessent.

icmpOutRedirects

ThenumberofICMPRedirectmessagessent.Fora
host,thisobjectwillalwaysbezero,sincehostsdonot
sendredirects.

icmpOutEchos

ThenumberofICMPEcho(request)messagessent.

icmpOutEchoReps

ThenumberofICMPEchoReplymessagessent.

icmpOutTimestamps

ThenumberofICMPTimestamp(request)messages
sent.

icmpOutTimestampReps ThenumberofICMPTimestampReplymessages
sent.

220

icmpOutAddrMasks

ThenumberofICMPAddressMaskRequest
messagessent.

icmpOutAddrMaskReps

ThenumberofICMPAddressMaskReplymessages
sent.

G8052 Command Reference for N/OS 8.3

TCP Statistics
ThefollowingcommanddisplaysTCPstatistics:
showiptcpcounters
Commandmode:All
TCPstatistics:
tcpRtoAlgorithm:4tcpRtoMin:0
tcpRtoMax:240000tcpMaxConn:512
tcpActiveOpens:252214tcpPassiveOpens:7
tcpAttemptFails:528tcpEstabResets:4
tcpInSegs:756401tcpOutSegs:756655
tcpRetransSegs:0tcpInErrs:0
tcpCurrEstab:0tcpCurConn:3
tcpOutRsts:417

ThefollowingtabledescribestheTCPstatistics.
Table 106. TCPStatistics

Copyright Lenovo 2015

Statistic

Description

tcpRtoAlgorithm

Thealgorithmusedtodeterminethetimeoutvalueused
forretransmittingunacknowledgedoctets.

tcpRtoMin

TheminimumvaluepermittedbyaTCPimplementation
fortheretransmissiontimeout,measuredin
milliseconds.Morerefinedsemanticsforobjectsofthis
typedependuponthealgorithmusedtodeterminethe
retransmissiontimeout.Inparticular,whenthetimeout
algorithmisrsre(3),anobjectofthistypehasthesemantics
oftheLBOUNDquantitydescribedinRFC793.

tcpRtoMax

ThemaximumvaluepermittedbyaTCPimplementation
fortheretransmissiontimeout,measuredin
milliseconds.Morerefinedsemanticsforobjectsofthis
typedependuponthealgorithmusedtodeterminethe
retransmissiontimeout.Inparticular,whenthetimeout
algorithmisrsre(3),anobjectofthistypehasthesemantics
oftheUBOUNDquantitydescribedinRFC793.

tcpMaxConn

ThelimitonthetotalnumberofTCPconnectionsthe
entity(theswitch)cansupport.Inentitieswherethe
maximumnumberofconnectionsisdynamic,thisobject
shouldcontainthevalue1.

tcpActiveOpens

ThenumberoftimesTCPconnectionshavemadeadirect
transitiontotheSYNSENTstatefromtheCLOSEDstate.

tcpPassiveOpens

ThenumberoftimesTCPconnectionshavemadeadirect
transitiontotheSYNRCVDstatefromtheLISTENstate.

Chapter 3: Statistics Commands

221

Table 106. TCPStatistics(continued)

222

Statistic

Description

tcpAttemptFails

ThenumberoftimesTCPconnectionshavemadeadirect
transitiontotheCLOSEDstatefromeithertheSYNSENT
stateortheSYNRCVDstate,plusthenumberoftimes
TCPconnectionshavemadeadirecttransitiontothe
LISTENstatefromtheSYNRCVDstate.

tcpEstabResets

ThenumberoftimesTCPconnectionshavemadeadirect
transitiontotheCLOSEDstatefromeitherthe
ESTABLISHEDstateortheCLOSEWAITstate.

tcpInSegs

Thetotalnumberofsegmentsreceived,includingthose
receivedinerror.Thiscountincludessegmentsreceivedon
currentlyestablishedconnections.

tcpOutSegs

Thetotalnumberofsegmentssent,includingthoseon
currentconnectionsbutexcludingthosecontainingonly
retransmittedoctets.

tcpRetransSegs

Thetotalnumberofsegmentsretransmittedthatis,the
numberofTCPsegmentstransmittedcontainingoneor
morepreviouslytransmittedoctets.

tcpInErrs

Thetotalnumberofsegmentsreceivedinerror(for
example,badTCPchecksums).

tcpCurrEstab

Thetotalnumberofoutstandingmemoryallocationsfrom
heapbyTCPprotocolstack.

tcpCurConn

ThetotalnumberofoutstandingTCPsessionsthatare
currentlyopened.

tcpOutRsts

ThenumberofTCPsegmentssentcontainingtheRSTflag.

G8052 Command Reference for N/OS 8.3

UDP Statistics
ThefollowingcommanddisplaysUDPstatistics:
showipudpcounters
Commandmode:All
UDPstatistics:
udpInDatagrams:54udpOutDatagrams:43
udpInErrors:0udpNoPorts:1578077

ThefollowingtabledescribestheUDPstatistics.
Table 107. UDPStatistics

Copyright Lenovo 2015

Statistic

Description

udpInDatagrams

ThetotalnumberofUDPdatagramsdeliveredtothe
switch.

udpOutDatagrams

ThetotalnumberofUDPdatagramssentfromthisentity
(theswitch).

udpInErrors

ThenumberofreceivedUDPdatagramsthatcouldnotbe
deliveredforreasonsotherthanthelackofanapplication
atthedestinationport.

udpNoPorts

ThetotalnumberofreceivedUDPdatagramsforwhich
therewasnoapplicationatthedestinationport.

Chapter 3: Statistics Commands

223

IGMP Statistics
ThefollowingcommanddisplaysstatisticsabouttheuseoftheIGMPMulticast
Groups:
showipigmpcounters
Commandmode:All
IGMPvlan2statistics:

rxIgmpValidPkts:0rxIgmpInvalidPkts:0
rxIgmpGenQueries:0rxIgmpGrpSpecificQueries:0
rxIgmpGroupSrcSpecificQueries:0rxIgmpDiscardPkts:0
rxIgmpLeaves:0rxIgmpReports:0
txIgmpReports:0txIgmpGrpSpecificQueries:0
txIgmpLeaves:0rxIgmpV3CurrentStateRecords:0
rxIgmpV3SourceListChangeRecords:0rxIgmpV3FilterChangeRecords:0
txIgmpGenQueries:0rxPimHellos:0

ThefollowingcommanddisplaysstatisticsabouttheuseoftheIGMPMulticast
GroupsforaspecificVLAN:
showipigmpvlan<VLANID(14094)>counter
Commandmode:All
IGMPvlan147statistics:

rxIgmpValidPkts:0rxIgmpInvalidPkts:0
rxIgmpGenQueries:0rxIgmpGrpSpecificQueries:0
rxIgmpGroupSrcSpecificQueries:0rxIgmpDiscardPkts:0
rxIgmpLeaves:0rxIgmpReports:0
txIgmpReports:0txIgmpGrpSpecificQueries:0
txIgmpLeaves:0rxIgmpV3CurrentStateRecords:0
rxIgmpV3SourceListChangeRecords:0rxIgmpV3FilterChangeRecords:0
txIgmpGenQueries:0rxPimHellos:0

ThefollowingtabledescribestheIGMPstatistics.
Table 108. IGMPStatistics

224

Statistic

Description

rxIgmpValidPkts

TotalnumberofvalidIGMPpackets
received

rxIgmpInvalidPkts

Totalnumberofinvalidpackets
received

rxIgmpGenQueries

TotalnumberofGeneralMembership
Querypacketsreceived

rxIgmpGrpSpecificQueries

TotalnumberofMembershipQuery
packetsreceivedfromspecificgroups

rxIgmpGroupSrcSpecificQueries

TotalnumberofGroupSourceSpecific
Queries(GSSQ)received

G8052 Command Reference for N/OS 8.3

Table 108. IGMPStatistics(continued)

Copyright Lenovo 2015

Statistic

Description

rxIgmpDiscardPkts

TotalnumberofIGMPpackets
discarded

rxIgmpLeaves

TotalnumberofLeaverequests
received

rxIgmpReports

TotalnumberofMembershipReports
received

txIgmpReports

TotalnumberofMembershipreports
transmitted

txIgmpGrpSpecificQueries

TotalnumberofMembershipQuery
packetstransmittedtospecificgroups

txIgmpLeaves

TotalnumberofLeavemessages
transmitted

rxIgmpV3CurrentStateRecords

TotalnumberofCurrentStaterecords
received

rxIgmpV3SourceListChangeRecords

TotalnumberofSourceListChange
recordsreceived

rxIgmpV3FilterChangeRecords

TotalnumberofFilterChangerecords
received

txIgmpGenQueries

TotalnumberofGeneralMembership
Querypacketstransmitted

rxPimHellos

TotalnumberofPIMhellosreceived

Chapter 3: Statistics Commands

225

MLD Statistics
ThefollowingtabledescribesthecommandsusedtoviewMLDstatistics.
Table 109. MLDStatisticsCommands
Command Syntax and Usage

showipv6mldcounters
DisplaysMLDstatistics.Seepage 227forsampleoutput.
Commandmode:All
showipv6mldgroupscounters
DisplaystotalnumberofMLDentries.
Commandmode:All
showipv6mldinterfacecounters
DisplaystotalnumberofMLDentries.
Commandmode:All
showipv6mldinterface<interfacenumber>counters
DisplaystotalnumberofMLDentriesontheinterface.
Commandmode:All
clearipv6mldcounters
ClearsMLDcounters.
Commandmode:PrivilegedEXEC

226

G8052 Command Reference for N/OS 8.3

MLD Global Statistics


ThefollowingcommanddisplaysMLDglobalstatisticsforallMLDpackets
receivedonallinterfaces:
showipv6mldcounters
Commandmode:All
MLDglobalstatistics:

TotalL3IPv6(S,G,V)entries:2
TotalMLDgroups:2
BadLength:0
BadChecksum:0
BadReceiveIf:0
Receivenonlocal:0
InvalidPackets:4
MLDpacketstatisticsforinterfaces:
MLDinterfacepacketstatisticsforinterface1:
MLDmsgtypeReceivedSentxErrors

GeneralQuery010670
MASQuery000
MASSQQuery000
MLDv1Report000
MLDv1Done000
MLDv2Report106910840
INCCSRs(v2)100
EXCCSRs(v2)213410930
TO_INCFMCRs(v2)100
TO_EXCFMCRs(v2)0150
ALLOWSLCRs(v2)000
BLOCKSLCRs(v2)000
MLDinterfacepacketstatisticsforinterface2:
MLDmsgtypeReceivedSentxErrors

MLDinterfacepacketstatisticsforinterface3:
MLDmsgtypeReceivedSentxErrors

GeneralQuery024670
MASQuery000
MASSQQuery000
MLDv1Report000
MLDv1Done000
MLDv2Report224720
INCCSRs(v2)100
EXCCSRs(v2)024760
TO_INCFMCRs(v2)000
TO_EXCFMCRs(v2)080
ALLOWSLCRs(v2)000
BLOCKSLCRs(v2)100

Copyright Lenovo 2015

Chapter 3: Statistics Commands

227

ThefollowingtabledescribesthefieldsintheMLDglobalstatisticsoutput.
Table 110. MLDGlobalStatistics

228

Statistic

Description

BadLength

Numberofmessagesreceivedwithlengtherrors.

BadChecksum

NumberofmessagesreceivedwithaninvalidIP
checksum.

BadReceiveIf

Numberofmessagesreceivedonaninterfacenotenabled
forMLD.

Receivenonlocal

Numberofmessagesreceivedfromnonlocalsenders.

Invalidpackets

Numberofrejectedpackets.

GeneralQuery
(v1/v2)

Numberofgeneralquerypackets.

MASQuery(v1/v2)

Numberofmulticastaddressspecificquerypackets.

MASSQQuery(v2)

Numberofmulticastaddressandsourcespecificquery
packets.

ListenerReport(v1)

Numberofpacketssentbyamulticastlistenerinresponse
toMLDv1query.

Listener
Done(v1/v2)

Numberofpacketssentbyahostwhenitwantstostop
receivingmulticasttraffic.

ListenerReport(v2)

Numberofpacketssentbyamulticastlistenerinresponse
toMLDv2query.

MLDv2INCmode
CSRs

Numberofcurrentstaterecordswithincludefiltermode.

MLDv2EXCmode
CSRs

Numberofcurrentstaterecordswithexcludefiltermode.

MLDv2TO_INC
FMCRs

Numberoffiltermodechangerecordsforwhichthefilter
modehaschangedtoincludemode.

MLDv2TO_EXC
FMCRs

Numberoffiltermodechangerecordsforwhichthefilter
modehaschangedtoexcludemode.

MLDv2ALLOW
SLCRs

Numberofsourcelistchangerecordsforwhichthe
specifiedsourcesfromwherethedataistobereceivedhas
changed.

MLDv2BLOCK
SLCRs

Numberofsourcelistchangerecordsforwhichthe
specifiedsourcesfromwherethedataistobereceivedis
tobeblocked.

G8052 Command Reference for N/OS 8.3

OSPF Statistics
ThefollowingcommandsdisplayOSPFstatistics:
Table 111. OSPFStatisticsCommands
Command Syntax and Usage

showipospfcounters
DisplaysglobalOSPFstatistics.Seepage 230forsampleoutput.
Commandmode:All
showipospfarea[<019>]counters
DisplaysOSPFstatisticsforallareasoraspecifiedarea.
Commandmode:All
showipospfinterface[<interfacenumber>|port<portaliasornumber>]
counters
DisplaysOSPFstatisticsforallinterfacesoraspecifiedinterface.
Commandmode:All
clearipospfcounters
ClearsOSPFstatistics.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 3: Statistics Commands

229

OSPF Global Statistics


ThefollowingcommanddisplaysstatisticsaboutOSPFpacketsreceivedonall
OSPFareasandinterfaces:
showipospfcounters
Commandmode:All
OSPFstats

Rx/TxStats:RxTx

Pkts00
hello23518
database412
lsrequests31
lsacks77
lsupdates97
Nbrchangestats:IntfchangeStats:
hello2hello4
start0down2
n2way2loop0
adjointok2unloop0
negotiationdone2waittimer2
exchangedone2backup0
badrequests0nbrchange5
badsequence0
loadingdone2
n1way0
rst_ad0
down1
Timerskickoff
hello514
retransmit1028
lsalock0
lsaack0
dbage0
summary0
aseexport0

ThefollowingtabledescribestheOSPFgeneralstatistics.
Table 112. OSPFGeneralStatistics
Statistic

Description

Rx/TxStats:

230

RxPkts

ThesumtotalofallOSPFpacketsreceivedonallOSPFareas
andinterfaces.

TxPkts

ThesumtotalofallOSPFpacketstransmittedonallOSPF
areasandinterfaces.

RxHello

ThesumtotalofallHellopacketsreceivedonallOSPFareas
andinterfaces.

G8052 Command Reference for N/OS 8.3

Table 112. OSPFGeneralStatistics(continued)


Statistic

Description

TxHello

ThesumtotalofallHellopacketstransmittedonallOSPF
areasandinterfaces.

RxDatabase

ThesumtotalofallDatabaseDescriptionpacketsreceivedon
allOSPFareasandinterfaces.

TxDatabase

ThesumtotalofallDatabaseDescriptionpacketstransmitted
onallOSPFareasandinterfaces.

RxlsRequests

ThesumtotalofallLinkStateRequestpacketsreceivedonall
OSPFareasandinterfaces.

TxlsRequests

ThesumtotalofallLinkStateRequestpacketstransmittedon
allOSPFareasandinterfaces.

RxlsAcks

ThesumtotalofallLinkStateAcknowledgementpackets
receivedonallOSPFareasandinterfaces.

TxlsAcks

ThesumtotalofallLinkStateAcknowledgementpackets
transmittedonallOSPFareasandinterfaces.

RxlsUpdates

ThesumtotalofallLinkStateUpdatepacketsreceivedonall
OSPFareasandinterfaces.

TxlsUpdates

ThesumtotalofallLinkStateUpdatepacketstransmittedon
allOSPFareasandinterfaces.

NbrChangeStats:

Copyright Lenovo 2015

hello

ThesumtotalofallHellopacketsreceivedfromneighborson
allOSPFareasandinterfaces.

Start

Thesumtotalnumberofneighborsinthisstate(thatis,an
indicationthatHellopacketsshouldnowbesenttothe
neighboratintervalsofHelloIntervalseconds.)acrossall
OSPFareasandinterfaces.

n2way

Thesumtotalnumberofbidirectionalcommunication
establishmentbetweenthisrouterandotherneighboring
routers.

adjointok

Thesumtotalnumberofdecisionstobemade(again)asto
whetheranadjacencyshouldbeestablished/maintainedwith
theneighboracrossallOSPFareasandinterfaces.

negotiation
done

Thesumtotalnumberofneighborsinthisstatewhereinthe
Master/slaverelationshiphasbeennegotiated,andsequence
numbershavebeenexchanged,acrossallOSPFareasand
interfaces.

exchangedone

Thesumtotalnumberofneighborsinthisstate(thatis,inan
adjacencysfinalstate)havingtransmittedafullsequenceof
DatabaseDescriptionpackets,acrossallOSPFareasand
interfaces.

Chapter 3: Statistics Commands

231

Table 112. OSPFGeneralStatistics(continued)


Statistic

Description

badrequests

ThesumtotalnumberofLinkStateRequestswhichhavebeen
receivedforalinkstateadvertisementnotcontainedinthe
databaseacrossallinterfacesandOSPFareas.

badsequence

ThesumtotalnumberofDatabaseDescriptionpacketswhich
havebeenreceivedthateither:

HasanunexpectedDDsequencenumber

Unexpectedlyhastheinitbitset

HasanoptionsfielddifferingfromthelastOptionsfield
receivedinaDatabaseDescriptionpacket.

Anyoftheseconditionsindicatethatsomeerrorhasoccurred
duringadjacencyestablishmentforallOSPFareasand
interfaces.
loadingdone

Thesumtotalnumberoflinkstateupdatesreceivedforall
outofdateportionsofthedatabaseacrossallOSPFareasand
interfaces.

n1way

ThesumtotalnumberofHellopacketsreceivedfrom
neighbors,inwhichthisrouterisnotmentionedacrossall
OSPFinterfacesandareas.

rst_ad

ThesumtotalnumberoftimestheNeighboradjacencyhas
beenresetacrossallOPSFareasandinterfaces.

down

ThetotalnumberofNeighboringroutersdown(thatis,inthe
initialstateofaneighborconversation.)acrossallOSPFareas
andinterfaces.

IntfChangeStats:

232

hello

ThesumtotalnumberofHellopacketssentonallinterfaces
andareas.

down

ThesumtotalnumberofinterfacesdowninallOSPFareas.

loop

Thesumtotalofinterfacesnolongerconnectedtotheattached
networkacrossallOSPFareasandinterfaces.

unloop

Thesumtotalnumberofinterfaces,connectedtotheattached
networkinallOSPFareas.

waittimer

ThesumtotalnumberoftimestheWaitTimerhasbeenfired,
indicatingtheendofthewaitingperiodthatisrequiredbefore
electinga(Backup)DesignatedRouteracrossallOSPFareas
andinterfaces.

backup

ThesumtotalnumberofBackupDesignatedRoutersonthe
attachednetworkforallOSPFareasandinterfaces.

nbrchange

Thesumtotalnumberofchangesinthesetofbidirectional
neighborsassociatedwithanyinterfaceacrossallOSPFareas.

G8052 Command Reference for N/OS 8.3

Table 112. OSPFGeneralStatistics(continued)


Statistic

Description

TimersKickoff:

Copyright Lenovo 2015

hello

ThesumtotalnumberoftimestheHellotimerhasbeenfired
(whichtriggersthesendofaHellopacket)acrossallOPSF
areasandinterfaces.

retransmit

ThesumtotalnumberoftimestheRetransmittimerhasbeen
firedacrossallOPSFareasandinterfaces.

lsalock

ThesumtotalnumberoftimestheLinkStateAdvertisement
(LSA)locktimerhasbeenfiredacrossallOSPFareasand
interfaces.

lsaack

ThesumtotalnumberoftimestheLSAAcktimerhasbeen
firedacrossallOSPFareasandinterfaces.

dbage

Thetotalnumberoftimesthedatabaseage(Dbage)hasbeen
fired.

summary

ThetotalnumberoftimestheSummarytimerhasbeenfired.

aseexport

ThetotalnumberoftimestheAutonomousSystemExport
(ASE)timerhasbeenfired.

Chapter 3: Statistics Commands

233

OSPFv3 Statistics
ThefollowingcommandsdisplayOSPFv3statistics:
Table 113. OSPFv3StatisticsCommands
Command Syntax and Usage

showipv6ospfcounters
DisplaysOSPFv3statistics.Seepage 235forsampleoutput.
Commandmode:All
showipv6ospfarea[<areaindex(02)>]counters
DisplaysOSPFv3statisticsforallareasoraspecifiedarea.
Commandmode:All
showipv6ospfinterface[<interfacenumber>]counters
DisplaysOSPFv3statisticsforallinterfacesoraspecifiedinterface.
Commandmode:All
clearipv6ospfcounters
ClearsOSPFv3statistics.
Commandmode:PrivilegedEXEC

234

G8052 Command Reference for N/OS 8.3

OSPFv3 Global Statistics


ThefollowingcommanddisplaysstatisticsaboutOSPFv3packetsreceivedonall
OSPFv3areasandinterfaces:
showipv6ospfcounters
Commandmode:All
OSPFv3stats

Rx/Tx/DisdStats:RxTxDiscarded

Pkts9695959330
hello909789940
database39516
lsrequests1680
lsacks1723600
lsupdates3711800
Errors
rxonpasvintf0
rxbutospfoff0
rxonintfnotup0
rxversionmismatch0
rxrtridiszero0
rxwithourrtrid0
instanceidmismatch0
areamismatch0
destaddrmismatch0
badchecksum0
noassociatednbr0
badpackettype0
hellomismatch0
optionsmismatch0
deadmismatch0
badnbma/ptompnbr0
Nbrchangestats:IntfchangeStats:
down0down5
attempt0loop0
init1waiting6
n2way1ptop0
exstart1dr4
exchangedone1backup6
loadingdone1drother0
full1allevents33
allevents6
Timerskickoff
hello8988
wait6
poll0
nbrprobe0

Copyright Lenovo 2015

Chapter 3: Statistics Commands

235

TheOSPFv3GeneralStatisticscontainthesumtotalofallOSPFv3packetsreceived
onallOSPFv3areasandinterfaces.
ThefollowingtabledescribestheOSPFv3generalstatistics.
Table 114. OSPFv3GeneralStatistics
Statistics

Description

Rx/TxStats:

236

RxPkts

ThesumtotalofallOSPFv3packetsreceivedonallOSPFv3
interfaces.

TxPkts

ThesumtotalofallOSPFv3packetstransmittedonall
OSPFv3interfaces.

Discarded
Pkts

ThesumtotalofallOSPFv3packetsdiscarded.

Rxhello

ThesumtotalofallHellopacketsreceivedonallOSPFv3
interfaces.

Txhello

ThesumtotalofallHellopacketstransmittedonallOSPFv3
interfaces.

Discarded
hello

ThesumtotalofallHellopacketsdiscarded,including
packetsforwhichnoassociatedinterfacehasbeenfound.

Rxdatabase

ThesumtotalofallDatabaseDescriptionpacketsreceivedon
allOSPFv3interfaces.

Txdatabase

ThesumtotalofallDatabaseDescriptionpacketstransmitted
onallOSPFv3interfaces.

Discarded
database

ThesumtotalofallDatabaseDescriptionpacketsdiscarded.

Rxlsrequests

ThesumtotalofallLinkStateRequestpacketsreceivedonall
OSPFv3interfaces.

Txlsrequests

ThesumtotalofallLinkStateRequestpacketstransmittedon
allOSPFv3interfaces.

Discardedls
requests

ThesumtotalofallLinkStateRequestpacketsdiscarded.

Rxlsacks

ThesumtotalofallLinkStateAcknowledgementpackets
receivedonallOSPFv3interfaces.

Txlsacks

ThesumtotalofallLinkStateAcknowledgementpackets
transmittedonallOSPFv3interfaces.

Discardedls
acks

ThesumtotalofallLinkStateAcknowledgementpackets
discarded.

Rxlsupdates

ThesumtotalofallLinkStateUpdatepacketsreceivedonall
OSPFv3interfaces.

G8052 Command Reference for N/OS 8.3

Table 114. OSPFv3GeneralStatistics(continued)


Statistics

Description

Txlsupdates

ThesumtotalofallLinkStateUpdatepacketstransmittedon
allOSPFv3interfaces.

Discardedls
updates

ThesumtotalofallLinkStateUpdatepacketsdiscarded.

NbrChangeStats:
down

ThetotalnumberofNeighboringroutersdown(intheinitial
stateofaneighborconversation)acrossallOSPFv3interfaces.

attempt

Thetotalnumberoftransitionsintoattemptstateof
neighboringroutersacrossallOSPFv3interfaces.

init

Thetotalnumberoftransitionsintoinitstateofneighboring
routersacrossallOSPFv3interfaces.

n2way

Thetotalnumberofbidirectionalcommunication
establishmentbetweenthisrouterandotherneighboring
routers.

exstart

Thetotalnumberoftransitionsintoexstartstateof
neighboringroutersacrossallOSPFv3interfaces

exchange
done

Thetotalnumberofneighborsinthisstate(thatis,inan
adjacencysfinalstate)havingtransmittedafullsequenceof
DatabaseDescriptionpackets,acrossallOSPFv3interfaces.

loadingdone

Thetotalnumberoflinkstateupdatesreceivedforall
outofdateportionsofthedatabaseacrossallOSPFv3
interfaces.

full

Thetotalnumberoftransitionsintofullstateofneighboring
routersacrossallOSPFv3interfaces.

allevents

Thetotalnumberofstatetransitionsofneighboringrouters
acrossallOSPFv3interfaces.

IntfChangeStats:

Copyright Lenovo 2015

down

ThetotalnumberoftransitionsintodownstateofallOSPFv3
interfaces.

loop

Thetotalnumberoftransitionsintoloopbackstateofall
OSPFv3interfaces.

waiting

Thetotalnumberoftransitionsintowaitingstateofall
OSPFv3interfaces.

ptop

Thetotalnumberoftransitionsintopointtopointstateofall
OSPFv3interfaces.

dr

ThetotalnumberoftransitionsintoDesignatedRouterother
stateofallOSPFv3interfaces.

Chapter 3: Statistics Commands

237

Table 114. OSPFv3GeneralStatistics(continued)


Statistics

Description

backup

Thetotalnumberoftransitionsintobackupstateofall
OSPFv3interfaces.

allevents

ThetotalnumberofchangesassociatedwithanyOSPFv3
interface,includingchangesintointernalstates.

TimersKickoff:
hello

ThetotalnumberoftimestheHellotimerhasbeenfired
(whichtriggersthesendofaHellopacket)acrossallOSPFv3
interfaces.

wait

Thetotalnumberoftimesthewaittimerhasbeenfired(which
causesaninterfacetoexitwaitingstate),acrossallOPSFv3
interfaces.

poll

Thetotalnumberoftimesthetimerwhosefiringcauseshellos
tobesenttoinactiveNBMAandDemandCircuitneighbors
hasbeenfired,acrossallOPSFv3interfaces.

nbrprobe

Thetotalnumberoftimestheneighborprobetimerhasbeen
fired,acrossallOPSFv3interfaces.

NumberofLSAs:

238

originated

ThenumberofLSAsoriginatedbythisrouter.

rcvdnewer
originations

ThenumberofLSAsreceivedthathavebeendeterminedtobe
neweroriginations.

G8052 Command Reference for N/OS 8.3

VRRP Statistics
VirtualRouterRedundancyProtocol(VRRP)supportontheG8052provides
redundancybetweenroutersinaLAN.Thisisaccomplishedbyconfiguringthe
samevirtualrouterIPaddressandIDnumberoneachparticipatingVRRPcapable
routingdevice.Oneofthevirtualroutersisthenelectedasthemaster,basedona
numberofprioritycriteria,andassumescontrolofthesharedvirtualrouterIP
address.Ifthemasterfails,oneofthebackupvirtualrouterswillassumerouting
authorityandtakecontrolofthevirtualrouterIPaddress.
Whenvirtualroutersareconfigured,youcandisplaytheprotocolstatisticsfor
VRRP.ThefollowingcommanddisplaysVRRPstatistics:
showipvrrpcounters
Commandmode:All
VRRPstatistics:
vrrpInAdvers:0vrrpBadAdvers:0
vrrpOutAdvers:0vrrpOutGratuitousARPs:0
vrrpBadVersion:0vrrpBadVrid:0
vrrpBadAddress:0vrrpBadData:0
vrrpBadPassword:0vrrpBadInterval:0

ThefollowingtabledescribestheVRRPstatistics.
Table 115. VRRPStatistics

Copyright Lenovo 2015

Statistics

Description

vrrpInAdvers

ThetotalnumberofvalidVRRPadvertisementsthathave
beenreceived.

vrrpBadAdvers

ThetotalnumberofVRRPadvertisementsreceivedthat
weredropped.

vrrpOutAdvers

ThetotalnumberofVRRPadvertisementsthathavebeen
sent.

vrrpBadVersion

ThetotalnumberofVRRPadvertisementsreceivedthat
hadabadversionnumber.

vrrpOut
GratuitousARPs

ThetotalnumberofVRRPgratuitousARPsthathavebeen
sent.

vrrpBadVrid

ThetotalnumberofVRRPadvertisementsreceivedthat
hadabadvirtualrouterID.

vrrpBadAddress

ThetotalnumberofVRRPadvertisementsreceivedthat
hadabadaddress.

vrrpBadData

ThetotalnumberofVRRPadvertisementsreceivedthat
hadbaddata.

vrrpBadPassword

ThetotalnumberofVRRPadvertisementsreceivedthat
hadabadpassword.

vrrpBadInterval

ThetotalnumberofVRRPadvertisementsreceivedthat
hadabadinterval.
Chapter 3: Statistics Commands

239

PIM Statistics
ThefollowingcommanddisplaysProtocolIndependentMulticast(PIM)statistics:
showippimcounters
Commandmode:All
HelloTx/Rx:2595/2596
Join/PruneTx/Rx:0/0
AssertTx/Rx:0/0
RegisterTx/Rx:0/0
NullRegTx/Rx:0/0
RegStopTx/Rx:0/0
CandRPAdvTx/Rx:973/0
BSRTx/Rx:0/1298
GraftTx/Rx:0/0
GraftAckTx/Rx:0/0
McastdataTx/Rx:0/0
MDPdropTx/Rx:0/0
CTLdropTx/Rx:0/0
Badpkts:0

ThefollowingtabledescribesthePIMstatistics.
Table 116. PIMStatistics

240

Statistics

Description

HelloTx/Rx

NumberofHellomessagestransmittedorreceived

Join/PruneTx/Rx

NumberofJoin/Prunemessagestransmittedorreceived

AssertTx/Rx

NumberofAssertmessagestransmittedorreceived

RegisterTx/Rx

NumberofRegistermessagestransmittedorreceived

NullRegTx/Rx

NumberofNULLregistermessagesreceived

RegStopTx/Rx

NumberofRegisterStopmessagestransmittedorreceived

CandRPAdvTx/Rx

NumberofCandidateRPAdvertisementstransmittedor
received

BSRTx/Rx

NumberofBootstrapRouter(BSR)messagestransmitted
orreceived

GraftTx/Rx

NumberofGraftmessagestransmittedorreceived

GraftAckTx/Rx

NumberofGraftAcknowledgementstransmittedor
received

McastdataTx/Rx

Numberofmulticastdatagramstransmittedorreceived

MDPdropTx/Rx

NumberofMulticastdatapacketTx/Rxdropped

CTLdropTx/Rx

NumberofPIMcontrolpacketTx/Rxdropped

Badpkts

NumberofbadPIMpacketsreceived

G8052 Command Reference for N/OS 8.3

Routing Information Protocol Statistics


ThefollowingcommanddisplaysRIPstatistics:
showipripcounters
Commandmode:All
RIPALLSTATSINFORMATION:
RIPpacketsreceived=12
RIPpacketssent=75
RIPrequestreceived=0
RIPresponserecevied=12
RIPrequestsent=3
RIPreponsesent=72
RIProutetimeout=0
RIPbadsizepacketreceived=0
RIPbadversionreceived=0
RIPbadzerosreceived=0
RIPbadsrcportreceived=0
RIPbadsrcIPreceived=0
RIPpacketsfromselfreceived=0

Copyright Lenovo 2015

Chapter 3: Statistics Commands

241

DHCP Statistics
ThefollowingcommandsdisplayDHCPstatistics:
Table 117. DHCPStatisticsOptions
Command Syntax and Usage

showipdhcpsnoopingcounters
DisplaysDHCPSnoopingstatistics.
Commandmode:All
clearipdhcpsnoopingcounters
ClearsDHCPSnoopingstatistics.
Commandmode:PrivilegedEXEC

DHCP Snooping Statistics


ThefollowingcommanddisplaysDHCPSnoopingstatistics:
showipdhcpsnoopingcounters
Commandmode:All
DHCPSnoopingstatistics:
ReceivedRequestpackets2
ReceivedReplypackets2
ReceviedInvalidpackets0
Droppedpacketsoutofrate0
Droppedpacketsotherreason0

DHCPSnoopingStatisticscountallDHCPpacketsprocessedbyDHCPsnooping.

242

G8052 Command Reference for N/OS 8.3

OpenFlow Statistics
ThefollowingcommandsdisplayOpenFlowstatistics:
Table 118. OpenFlowStatisticsCommands
Command Syntax and Usage

showopenflowstatistics
DisplaysOpenFlowtrafficstatisticsforeachOpenFlowinstance.
Commandmode:All
showopenflow instance <12>statistics
DisplaysOpenFlowtrafficstatisticsforthespecifiedinstanceID.
Commandmode:All
clearopenflow statistics
ClearsOpenFlowdataforallinstances.
Commandmode:PrivilegedEXEC
clearopenflow instance <12> statistics
ClearsOpenFlowdataforthespecifiedinstanceID.
Commandmode:PrivilegedEXEC
UsethefollowingcommandtodisplayOpenFlowtrafficstatisticsforeach
OpenFlowinstance:
showopenflowstatistics
Commandmode:All
InOpenFlow1.0:
Openflowinstance1iscurrentlydisabled

Openflowstatisticsforinstance2
FlowCount
BasicFlows:3
(ACLBased:3,UnicastFDBBased:0,MulticastFDBBased:0)
EmergencyFlows:0
(ACLBased:0,UnicastFDBBased:0,MulticastFDBBased:0)
BufferingCount:
OpenflowPacketsBuffered:0
OpenflowPacketsTimedout:0
OpenflowPacketsRetrieved:0
OpenflowPacketsRetrieveattempts:0
MessageCount
HelloSent:1HelloReceived:1
EchoRequestSent:31EchoRequestReceived:60
EchoReplySent:60EchoReplyReceived:31
Vendor:0

Copyright Lenovo 2015

Chapter 3: Statistics Commands

243

VendorFlowMod:
Add:0
Modify:0
ModifyStrict:0
Delete:0
DeleteStrict:0
FeatureRequest:1FeatureReply:1
GetConfigRequest:0GetConfigReply:0
SetConfig:1
PacketIn
NoMatch:0
Action:0
ActionMirror:0
FlowRemoved:
IdleTimeout:0
HardTimeout:0
Delete:0
VendorFlowRemoved:
IdleTimeout:0
HardTimeout:0
Delete:0
PortStatus:
Add:0
Delete:0
Modify:0
PacketOut:1088
FlowMod:
Add:3
Modify:0
ModifyStrict:0
Delete:0
DeleteStrict:1
PortMod:0
StatisticsRequest:
Desc:1
Flow:15
Aggregate:0
Table:0
Port:15
Vendor:0
stats:0
statsstrict:0
StatisticsReply:
Desc:1
Flow:15
Aggregate:0
Table:0
Port:15
Vendor:0
stats:0
statsstrict:0
BarrierRequest:2
BarrierReply:2
ErrorMessages
HelloFailedSent:
Incompatible:0
HelloFailedRecv:
Incompatible:0

244

G8052 Command Reference for N/OS 8.3

BadRequest:
BadVersion:0
BadType:0
BadStat:0
BadVendor:0
BadSubtype:0
BadLen:0
BufferEmpty:0
BufferUnknown:0
BadAction:
BadType:0
BadLen:0
BadOutPort:0
BadArgument:0
Toomany:0
FlowModFailed:
AllTableFull:0
Overlap:0
PermissionError:0
EmergencyTimeout:0
BadCommand:0
Unsupported:0
PortModFailed:
BadPort:0
Badhwaddr:0

InOpenflow1.3:
Openflowstatisticsforinstance1
FlowCount
StaticFlows:0
ACLBased:0
DynamicFlows:2
ACLBased:2
UnicastFDBBased:0
MulticastFDBBased:0
GroupCount:0
BufferingCount:
OpenflowPacketsBuffered:0
OpenflowPacketsTimedout:0
OpenflowPacketsRetrieved:0
OpenflowPacketsRetrieveattempts:0
MessageCount
HelloSent:3HelloReceived:3
EchoRequestSent:12003EchoRequestReceived:23857
EchoReplySent:23857EchoReplyReceived:12002
FeatureRequest:3FeatureReply:3
GetConfigRequest:0GetConfigReply:0
SetConfig:3
PacketIn
NoMatch:0
Action:0

Copyright Lenovo 2015

Chapter 3: Statistics Commands

245

FlowRemoved:
IdleTimeout:0
HardTimeout:0
Delete:0
GroupDelete:0
PortStatus:
Add:1
Delete:0
Modify:3
PacketOut:33054
FlowMod:
Add:6
Modify:0
ModifyStrict:0
Delete:0
DeleteStrict:0
GroupMod:
Add:0
Modify:0
Delete:0
PortMod:0
MultipartRequest:
Switchdescription:6
Individualflowstatistics:5993
Aggregateflowstatistics:0
Flowtablestatistics:0
Portstatistics:5993
Groupcounterstatistics:0
Groupdescription:0
Groupfeatures:0
Portdescription:3
MultipartReply:
Switchdescription:6
Individualflowstatistics:5993
Aggregateflowstatistics:0
Flowtablestatistics:0
Portstatistics:5993
Groupcounterstatistics:0
Groupdescription:0
Groupfeatures:0
Portdescription:3
BarrierRequest:3
BarrierReply:3
ErrorMessages
HelloFailedSent:
Incompatible:0
HelloFailedRecv:
Incompatible:0
BadRequest:
BadVersion:0
BadType:0
BadMultipart:0
Permissionerror:0
BadLen:0
BufferEmpty:0
BufferUnknown:0
BadTableID:0
BadPort:0
BadPacket:0
MultipartBufferOverflow:0

246

G8052 Command Reference for N/OS 8.3

BadAction:
BadType:0
BadLen:0
BadOutPort:0
BadArgument:0
PermissionError:0
Toomany:0
BadOutGroup:0
MatchInconsistent:0
UnsupportedOrder:0
BadSetType:0
BadSetLen:0
BadSetArgument:0
BadInstruction:
UnknownInstruction:0
UnsupportInstruction:0
BadLen:0
PermissionError:0
BadMatch:
BadType:0
BadLen:0
BadMACAddrMask:0
BadIPAddrMask:0
BadWildcards:0
BadField:0
BadValue:0
BadMask:0
BadPrerequisites:0
DuplicatedField:0
FlowModFailed:
Unknown:0
TableFull:0
BadTableID:0
Overlap:0
PermissionError:0
BadTimeout:0
BadCommand:0
BadFlags:0
GroupModFailed:
GroupExists:0
InvalidGroup:0
WeightUnsupported:0
OutofGroups:0
OutofBuckets:0
ChainingUnsupported:0
WatchUnsupported:0
Loop:0
UnknownGroup:0
ChainedGroup:0
BadType:0
BadCommand:0
BadBucket:0
BadWatch:0
PermissionError:0
PortModFailed:
BadPort:0
Badhwaddr:0
BadConfig:0
BadAdvertise:0
PermissionError:0
SwitchConfigFailed:
BadFlags:0
PermissionError:0
Openflowinstance2iscurrentlydisabled
Copyright Lenovo 2015

Chapter 3: Statistics Commands

247

ThefollowingtabledescribestheOpenFlowstatistics.
Table 119. OpenFlowStatistics
Parameter

Description

FlowCount
BasicFlows

Countofflowsstoredinthebasicflowtable,sortedby
type:ACL,unicastFDBandmulticastFDB.

EmergencyFlows

Countofflowsstoredintheemergencyflowtable,sorted
bytype:ACL,unicastFDBandmulticastFDB.

StaticFlows

Countofflowsstoredinthestaticflowtable,sortedby
type:ACL,unicastFDB,multicastFDB.Availableonlyin
OpenFlow1.3.

DynamicFlows

Countofflowsstoredinthedynamicflowtable,sortedby
type:ACL,unicastFDB,multicastFDB.Availableonlyin
OpenFlow1.3.

GroupCount

Countofinstalledgroups.

BufferingCount

248

OpenflowPackets
Buffered

Countofpacketsbuffered.

OpenflowPackets
Timedout

Countofbufferedpacketsdroppedduetotimeout.

OpenflowPackets
Retrieved

Countofpacketsretrieved.

OpenflowPackets
Retrieveattempts

Countofattemptsmadetoretrievethebuffer.

MessageCount

CountofmessagesexchangedbetweentheControllerand
theswitch.

HelloSent

CountofHellomessagessentfromtheswitchtothe
Controller.

HelloReceived

CountofHellomessagesreceivedbytheswitchfromthe
Controller.

EchoRequest
Sent

CountofEchoRequestmessagessentfromtheswitchto
theController.

EchoRequest
Received

CountofEchoRequestmessagesreceivedbytheswitch
fromtheController.

EchoReplySent

CountofEchoReplymessagessentbytheswitchtothe
Controller.

EchoReply
Received

CountofEchoReplymessagesreceivedbytheswitch
fromtheController.

G8052 Command Reference for N/OS 8.3

Table 119. OpenFlowStatistics


Parameter

Description

Vendor

CountofVendormessagesreceivedbytheswitchfrom
theController.AvailableonlyinOpenFlow1.0.

VendorFlowMod

AvailableonlyinOpenFlow1.0.

Add

Countofvendordefinedaddflow_modmessages
receivedbytheswitch.AvailableonlyinOpenFlow1.0.

Modify

Countofvendordefinedmodifyflow_modmessages
receivedbytheswitch.AvailableonlyinOpenFlow1.0.

ModifyStrict

Countofvendordefinedmodify_strictflow_mod
messagesreceivedbytheswitch.Availableonlyin
OpenFlow1.0.

Delete

Countofvendordefineddeleteflow_modmessages
receivedbytheswitch.AvailableonlyinOpenFlow1.0.

DeleteStrict

Countofvendordefineddeletestrictflow_mod
messagesreceivedbytheswitch.Availableonlyin
OpenFlow1.0.

FeatureRequest

CountofFeatureRequestmessagesreceivedfromthe
Controllerbytheswitch.

FeatureReply

CountofFeatureReplymessagessentfromtheswitch
totheController.

GetConfigRequest

CountofGetConfigRequestmessagesreceivedfrom
theControllerbytheswitch.

GetConfigReply

CountofGetConfigReplymessagessentfromthe
switchtotheController.

SetConfig

CountofSetConfigmessagesreceivedfromthe
Controllerbytheswitch.

PacketIn

Copyright Lenovo 2015

NoMatch

CountofPacketInmessagessenttotheControllerdue
tonomatchingflows.

Action

CountofPacketInmessagessenttotheControllerdue
toactionexplicitlyaskingtoforwardtotheController.

ActionMirror

CountofNECspecificPacketInmessagessenttothe
Controllerduetoactionexplicitlyaskingtoforwardtothe
Controller.AvailableonlyinOpenFlow1.0.

Chapter 3: Statistics Commands

249

Table 119. OpenFlowStatistics


Parameter

Description

FlowRemoved
IdleTimeout

Countofflowentriesremovedduetoidletimeout
expiration.

HardTimeout

Countofflowentriesremovedduetohardtimeout
expiration.

Delete

Countofflowentriesremovedduetoexplicitdeletion.

GroupDelete

Countofflowentriesremovedduetodeletionof
associatedgroup.AvailableonlyinOpenFlow1.3.

VendorFlow
Removed

AvailableonlyinOpenFlow1.0.

IdleTimeout

Countofvendordefinedflowentriesremoveddueto
idletimeoutexpiration.AvailableonlyinOpenFlow1.0.

HardTimeout

Countofvendordefinedflowentriesremoveddueto
hardtimeoutexpiration.AvailableonlyinOpenFlow1.0.

Delete

Countofvendordefinedflowentriesremoveddueto
explicitdeletion.AvailableonlyinOpenFlow1.0.

PortStatus
Add

Countofportstatusmessagessenttriggeredby
addingaporttoOpenFlow.

Delete

Countofportstatusmessagessenttriggeredby
removingaportfromOpenFlow.

Modify

Countofportstatusmessagessenttriggeredbya
modificationofaportbelongingtoOpenFlow(for
example,up/downstatus).

PacketOut

Countofpacketoutmessagesreceivedfromthe
Controller.

FlowMod

250

Add

Countofaddflow_modmessagesreceivedbytheswitch.

Modify

Countofmodifyflow_modmessagesreceivedbythe
switch.

ModifyStrict

Countofmodify_strictflow_modmessagesreceived
bytheswitch.

Delete

Countofdeleteflow_modmessagesreceivedbythe
switch.

DeleteStrict

Countofdeletestrictflow_modmessagesreceived
bytheswitch.

G8052 Command Reference for N/OS 8.3

Table 119. OpenFlowStatistics

Copyright Lenovo 2015

Parameter

Description

GroupMod

AvailableonlyinOpenFlow1.3

Add

CountofGroupAddmessagesreceivedfromController.
AvailableonlyinOpenFlow1.3.

Modify

CountofGroupModifymessagesreceivedfrom
Controller.AvailableonlyinOpenFlow1.3.

Delete

CountofGroupDeletemessagesreceivedfromController.
AvailableonlyinOpenFlow1.3.

PortMod

Countofport_modmessagesreceivedbytheswitchfrom
theController.

StatisticsRequest

AvailableonlyinOpenFlow1.0.

Desc

CountofDescriptionstatisticsrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.0.

Flow

CountofFlowstatisticsrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.0.

Aggregate

CountofAggregatestatisticsrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.0.

Table

CountofTablestatisticsrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.0.

Port

CountofPortstatisticsrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.0.

Vendor

AvailableonlyinOpenFlow1.0.

stats

CountofVendorstatisticsrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.0.

statsstrict

CountofVendorstrictstatisticsrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.0.

StatisticsReply

AvailableonlyinOpenFlow1.0.

Desc

CountofDescriptionstatisticsrequestssenttothe
Controllerbytheswitch.AvailableonlyinOpenFlow1.0.

Flow

CountofFlowstatisticsrequestssenttotheControllerby
theswitch.AvailableonlyinOpenFlow1.0.

Aggregate

CountofAggregatestatisticsrequestssenttothe
Controllerbytheswitch.AvailableonlyinOpenFlow1.0.

Table

CountofTablestatisticsrequestssenttotheControllerby
theswitch.AvailableonlyinOpenFlow1.0.

Port

CountofPortstatisticsrequestssenttotheControllerby
theswitch.AvailableonlyinOpenFlow1.0.

Chapter 3: Statistics Commands

251

Table 119. OpenFlowStatistics

252

Parameter

Description

Vendor

AvailableonlyinOpenFlow1.0.

stats

CountofVendorstatisticsrequestssenttotheController
bytheswitch.AvailableonlyinOpenFlow1.0.

statsstrict

CountofVendorstrictstatisticsrequestssenttothe
Controllerbytheswitch.AvailableonlyinOpenFlow1.0.

MultipartRequest

AvailableonlyinOpenFlow1.3

Switchdescription

CountofSwitchDescriptionrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.3.

Individualflow
statistics

CountofIndividualFlowstatisticsrequestsreceivedfrom
theControllerbytheswitch.AvailableonlyinOpenFlow
1.3.

Aggregateflow
statistics

CountofAggregatestatisticsrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.3.

Flowtablestatistics

CountofTablestatisticsrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.3.

Portstatistics

CountofPortstatisticsrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.3.

Groupcounter
statistics

CountofGroupstatisticsrequestsreceivedfromthe
Controller.AvailableonlyinOpenFlow1.3.

Groupdescription

CountofGroupdescriptionrequestsreceivedfromthe
Controller.AvailableonlyinOpenFlow1.3.

Groupfeatures

CountofGroupfeaturesrequestsreceivedfromthe
Controller.AvailableonlyinOpenFlow1.3.

Portdescription

CountofPortdescriptionsrequestsreceivedfromthe
Controllerbytheswitch.AvailableonlyinOpenFlow1.3.

MultipartReply

AvailableonlyinOpenFlow1.3

Switchdescription

CountofSwitchDescriptionrepliessenttotheController
bytheswitch.AvailableonlyinOpenFlow1.3.

Individualflow
statistics

CountofIndividualFlowstatisticsrepliessenttothe
Controllerbytheswitch.AvailableonlyinOpenFlow1.3.

Aggregateflow
statistics

CountofAggregatestatisticsrepliessenttotheController
bytheswitch.AvailableonlyinOpenFlow1.3.

Flowtablestatistics

CountofTablestatisticsrepliessenttotheControllerby
theswitch.AvailableonlyinOpenFlow1.3.

Portstatistics

CountofPortstatisticsrepliessenttotheControllerbythe
switch.AvailableonlyinOpenFlow1.3.

G8052 Command Reference for N/OS 8.3

Table 119. OpenFlowStatistics


Parameter

Description

Groupcounter
statistics

CountofGroupstatisticsrepliessenttotheController.
AvailableonlyinOpenFlow1.3.

Groupdescription

CountofGroupdescriptionrepliessenttotheController.
AvailableonlyinOpenFlow1.3.

Groupfeatures

CountofGroupfeaturesrepliessenttotheController.
AvailableonlyinOpenFlow1.3.

Portdescription

CountofPortdescriptionrepliessenttotheControllerby
theswitch.AvailableonlyinOpenFlow1.3.

BarrierRequest

Countofbarrierrequestmessagesreceivedfromthe
Controllerbytheswitch.

BarrierReply

CountofbarrierreplymessagessenttotheController
bytheswitch.

ErrorMessages

Countoferrormessageshandledsending/receivingerror
messages.

HelloFailedSent
Incompatible

Countoferrormessagessentbytheswitchiftheversionin
theHellomessageisincompatiblewiththeversionofthe
Controller.

HelloFailedRecv
Incompatible

Countoferrormessagesreceivedbytheswitchifthe
versionintheHellomessageisincompatiblewiththe
versionoftheController.

BadRequest

Copyright Lenovo 2015

BadVersion

Countoferrormessagessentduetobadversioninthe
requestheader.

BadType

Countoferrormessagessentduetobadtypeinthe
requestheader.

BadStat

Countoferrormessagessentduetoaspecificstatistics
requestthatisnotsupported.AvailableonlyinOpenFlow
1.0.

BadVendor

Countoferrormessagessentduetovendorspecific
messagethatisnotsupported.Availableonlyin
OpenFlow1.0.

BadSubtype

Countoferrormessagessentduetomessagesubtypethat
isnotsupported.AvailableonlyinOpenFlow1.0.

BadMultipart

Countoferrormessagessentduetounknownmultipart
requesttypespecifiedinthemultipartrequest
message.AvailableonlyinOpenFlow1.3.

Chapter 3: Statistics Commands

253

Table 119. OpenFlowStatistics


Parameter

Description

Permissionerror

Countoferrormessagessentbecausetheactionreceived
intheflowmodmessagePortModFailedisnot
permitted.AvailableonlyinOpenFlow1.3.

BadLen

Countoferrormessagessentduetowrongrequestlength
fortypeofmessagereceivedintherequestheader.

BufferEmpty

Countoferrormessagessentwhenthespecifiedbufferin
therequestdoesnotexist.

BufferUnknown

Countoferrormessagessentwhenthespecifiedbufferin
therequestisunknown.

BadTableID

Countoferrormessagessentwhenthespecified
tableidintherequestisinvalidorthetableid
doesntexist.AvailableonlyinOpenFlow1.3.

BadPort

Countoferrormessagessentduetoinvalidportinthe
portmodmessage.AvailableonlyinOpenFlow1.3.

BadPacket

Countoferrormessagessentwhenthespecifiedpacketis
invalidinpacketout.AvailableonlyinOpenFlow1.3.

MultipartBuffer
Overflow

Countoferrormessagessentwhenthespecifiedbufferin
themultipartrequestisoverflowed.Availableonlyin
OpenFlow1.3.

BadAction

254

BadType

Countoferrormessagessentduetoduetounknown
actiontypespecifiedinflow_modmessage.

BadLen

Countoferrormessagessentduetowrongactionlength
fortypeofmessagereceivedintheflow_modmessage.

BadOutPort

Countoferrormessagesentduetoinvalidportinthe
actionfieldspecifiedflow_modmessage.

BadArgument

Countoferrormessagesentduetobadactionargumentin
flow_modmessagethatisnotsupported.

PermissionError

Countoferrormessagesentduetopermissionerrorwhile
processingtheflow_modmessagereceived.Availableonly
inOpenFlow1.3.

TooMany

Countoferrormessagesentduetotoomanyactions
receivedintheflow_modmessagethatcannotbe
handled.

BadOutGroup

Countoferrormessagesentduetoinexistentgroupinthe
flow_modmessagereceived.AvailableonlyinOpenFlow
1.3.

G8052 Command Reference for N/OS 8.3

Table 119. OpenFlowStatistics


Parameter

Description

MatchInconsistent

Countoferrormessagessentbecausetheactioncannot
applyforthismatchorbecausethereisasetfield
missingprerequisite.AvailableonlyinOpenFlow1.3.

UnsupportedOrder

Countoferrormessagessentbecausetheactionorderin
anapplyactionsinstructionisunsupportedforthe
actionlist.AvailableonlyinOpenFlow1.3.

BadSetType

Countoferrormessagessentduetounsupportedtypein
thesetfieldaction.AvailableonlyinOpenFlow1.3.

BadSetLen

Countoferrormessagessentduetolengthprobleminthe
setfieldaction.AvailableonlyinOpenFlow1.3.

BadSetArgument

Countoferrormessagessentduetobadargumentinthe
setfieldaction.AvailableonlyinOpenFlow1.3.

BadInstruction

AvailableonlyinOpenFlow1.3

UnknownInstructio Countoferrormessagessentduetounknowninstruction
n
inthereceivedflowmodmessage.Availableonlyin
OpenFlow1.3.

Copyright Lenovo 2015

Unsupport
Instruction

Countoferrormessagessentduetounsupported
instructioninthereceivedflowmodmessage.Available
onlyinOpenFlow1.3.

BadLen

Countoferrormessagessentduetowronginstruction
length.AvailableonlyinOpenFlow1.3.

PermissionError

Countoferrormessagessentduetopermissionerror
whileprocessingtheinstruction.Availableonlyin
OpenFlow1.3.

BadMatch

AvailableonlyinOpenFlow1.3

BadType

Countoferrormessagessentduetounsupportedmatch
typeinthematch.AvailableonlyinOpenFlow1.3.

BadLen

Countoferrormessagessentduetowrongmatchlength.
AvailableonlyinOpenFlow1.3.

BadMACAddr
Mask

CountoferrormessagessentduetounsupportedMAC
addressmaskinthematch.AvailableonlyinOpenFlow
1.3.

BadIPAddrMask

CountoferrormessagessentduetounsupportedIP
addressmaskinthematch.AvailableonlyinOpenFlow
1.3.

BadWildcards

Countoferrormessagessentduetounsupported
combinationoffieldsmaskedoromittedinthematch.
AvailableonlyinOpenFlow1.3.

Chapter 3: Statistics Commands

255

Table 119. OpenFlowStatistics


Parameter

Description

BadField

Countoferrormessagessentduetounsupportedfield
typeinthematch.AvailableonlyinOpenFlow1.3.

BadValue

Countoferrormessagessentduetounsupportedvaluein
amatchfield.AvailableonlyinOpenFlow1.3.

BadMask

Countoferrormessagessentduetounsupportedmask
(neitheraMACaddressnoranIPaddressmask)inthe
match.AvailableonlyinOpenFlow1.3.

BadPrerequisites

Countoferrormessagessentduetounfulfilled
prerequisiteinthematch.AvailableonlyinOpenFlow1.3.

DuplicatedField

Countoferrormessagessentduetoduplicatedfieldsin
thematch.AvailableonlyinOpenFlow1.3.

FlowModFailed
AllTableFull

Countoferrormessagesduetotablefullwhenaddingor
updatingflow_modmessage.AvailableonlyinOpenFlow
1.0.

Unknown

Countoferrormessagessentwhentheerroris
unspecified.AvailableonlyinOpenFlow1.3.

TableFull

Countoferrormessagessentbecauseoffulltablewhen
addingorupdatingtheflowmodmessage.Available
onlyinOpenFlow1.3.

BadTableID

Countoferrormessagessentbecausethespecified
tableidintheflowmodmessageisinvalidorbecause
thetableiddoesntexist.AvailableonlyinOpenFlow
1.3.

Overlap

Countoferrormessagessentduetoanattempttoadd
overlappingflow_modmessages.

PermissionError

Countoferrormessagesduetopermissionsnotavailable
toperformactionreceivedintheflow_modmessage
Port_Mod_Failed.

Countoferrormessagessentduetoinvalid
EmergencyTimeout emergencytimeoutintheflowmodmessage.Available
onlyinOpenFlow1.0.

256

BadTimeout

Countoferrormessagessentwhenthespecifiedidle/hard
timeoutintheflow_modmessageisunsupported.
AvailableonlyinOpenFlow1.3.

BadCommand

Countoferrormessagessentduetounknowncommand.

Unsupported

Countoferrormessagessentduetounsupportedaction
list.AvailableonlyinOpenFlow1.0.

G8052 Command Reference for N/OS 8.3

Table 119. OpenFlowStatistics


Parameter

Description

BadFlags

Countoferrormessagessentwhenthespecifiedflagsin
theflow_modmessageareunsupported.Availableonlyin
OpenFlow1.3.

GroupModFailed

AvailableonlyinOpenFlow1.3

GroupExists

CountoferrormessagesenttoControllerduetoalready
existinggroup.AvailableonlyinOpenFlow1.3.

InvalidGroup

CountoferrormessagesenttoControllerduetoinvalid
group.AvailableonlyinOpenFlow1.3.

Weight
Unsupported

CountoferrormessagesenttoControllerdueto
unsupportedweightparameter.Availableonlyin
OpenFlow1.3.

OutofGroups

CountoferrormessagesenttoControllerduetofullgroup
table.AvailableonlyinOpenFlow1.3.

OutofBuckets

CountoferrormessagesenttoControllerduetofull
bucketcountpergroup.AvailableonlyinOpenFlow1.3.

Chaining
Unsupported

CountoferrormessagesenttoControllerdueto
unsupportedgroupsthatforwardtogroups.Available
onlyinOpenFlow1.3.

WatchUnsupported CountoferrormessagesenttoControllerdueto
unsupportedwatchparameter.Availableonlyin
OpenFlow1.3.

Copyright Lenovo 2015

Loop

CountoferrormessagesenttoControllerdueto
unsupportedcheckingthatnoloopiscreatedwhile
chaininggroups.AvailableonlyinOpenFlow1.3.

UnknownGroup

CountoferrormessagesenttoControllerdueto
unsupportedgrouptype.AvailableonlyinOpenFlow1.3.

ChainedGroup

CountoferrormessagesenttoControllerdueto
unsupportedgroupsthatforwardtogroups.Available
onlyinOpenFlow1.3.

BadType

CountoferrormessagesenttoControllerduetowrong
grouptype.AvailableonlyinOpenFlow1.3.

BadCommand

CountoferrormessagesenttoControllerdueto
unsupportedcommand.AvailableonlyinOpenFlow1.3.

BadBucket

CountoferrormessagesenttoControllerduetoerrorin
bucket.AvailableonlyinOpenFlow1.3.

BadWatch

CountoferrormessagesenttoControllerduetoerrorin
watchgroup.AvailableonlyinOpenFlow1.3.

PermissionError

CountoferrormessagesenttoControllerduepermission
error.AvailableonlyinOpenFlow1.3.
Chapter 3: Statistics Commands

257

Table 119. OpenFlowStatistics


Parameter

Description

PortModFailed

258

BadPort

Countoferrormessagessentduetoinvalidportin
port_modmessage.

Badhwaddr

Countoferrormessagessentduetowronghardware
addressspecifiedinport_modmessage.

BadConfig

Countoferrormessagessentduetoinvalidconfiginthe
port_modmessage.AvailableonlyinOpenFlow1.3.

BadAdvertise

Countoferrormessagessentduetoinvalidadvertisein
theport_modmessage.AvailableonlyinOpenFlow1.3.

PermissionError

Countoferrormessagessentduetopermissionerror
whileprocessingtheport_modmessage.Availableonly
inOpenFlow1.3.

SwitchConfig
Failed

AvailableonlyinOpenFlow1.3

BadFlags

Countoferrormessagessentduetoinvalidflagsinthe
switchconfigmessage.AvailableonlyinOpenFlow
1.3.

PermissionError

Countoferrormessagessentduetopermissionerror
whileprocessingtheswitchconfigmessage.Available
onlyinOpenFlow1.3.

G8052 Command Reference for N/OS 8.3

Management Processor Statistics


ThefollowingcommandsdisplayMPstatistics:
Table 120. ManagementProcessorStatisticsCommands
Command Syntax and Usage

showmppacketcounters
Displayspacketstatistics,tocheckforleadsandload.Toviewasampleoutput
andadescriptionofthestats,seepage 261.
Commandmode:All
showmptcpblock
DisplaysallTCPcontrolblocksthatareinuse.Toviewasampleoutputanda
descriptionofthestats,seepage 269.
Commandmode:All
showmpudpblock
DisplaysallUDPcontrolblocksthatareinuse.Toviewasampleoutput,see
page 270.
Commandmode:All
showprocessescpu
DisplaysCPUutilizationforperiodsof1second,5seconds,1minuteand5
minutes.Toviewasampleoutputandadescriptionofthestats,seepage 271.
Commandmode:All

Copyright Lenovo 2015

Chapter 3: Statistics Commands

259

MP Packet Statistics Commands


ThefollowingcommandsdisplayMPPacketstatistics:
Table 121. PacketStatisticsCommands
Command Syntax and Usage

showmppacketcounters
Displayspacketstatistics,tocheckforleadsandload.Toviewasampleoutput
andadescriptionofthestats,seepage 261.
Commandmode:All
showmppacketdump{all|rx|tx}

alldisplaysallpacketstatisticsandlogsreceivedorsentbytheCPU.

rxdisplaysallpacketstatisticsandlogsreceivedbytheCPU.

txdisplaysallpacketstatisticsandlogssentbytheCPU.

Commandmode:All
showmppacketlast{both|rx|tx}<numberoflogs(11000)>

bothdisplaysalistofthemostrecentpacketsreceivedorsentbytheCPU.

rxdisplaysalogofthemostrecentpacketsreceivedbytheCPU.

txdisplaysalogofthemostrecentpacketssentbytheCPU.

Commandmode:All
showmppacketlogs{all|rx|tx}

alldisplaysalogofallpacketsreceivedorsentbytheCPU.

rxdisplaysalogofpacketsreceivedbytheCPU.

txdisplaysalogofpacketssentbytheCPU.

Commandmode:All
showmppacketparse{rx|tx}<parsingoption>
Displaysalistofreceivedorsentpacketsthatfittheparsingoption.Foralist
ofparsingoptions,seepage 265.
Commandmode:All
clearmppacketlogs
Clearsallpacketstatisticsandlogs.
Commandmode:PrivilegedEXEC

260

G8052 Command Reference for N/OS 8.3

MP Packet Statistics
ThefollowingcommanddisplaysMPpacketstatistics:
showmppacketcounters
Commandmode:All
CPUpacketstatisticsat10:11:10WedOct22,2014
Packetrate:IncomingOutgoing

1second:20
4seconds:10
64seconds:20
Packetcounters:ReceivedSent

Totalpackets:359121289149
Sincebootup:359121289149
BPDUs:34178404
Ciscopackets:00
ARPRequests:1004191
ARPReplies:49880
LACPpackets:00
IPv4packets:10039486826
ICMPRequests:077321
ICMPReplies:773150
IGMPpackets:00
PIMpackets:00
VRRPpackets:00
TCPpackets:84174
FTP00
HTTP00
SSH00
TACACS00
TELNET84174
TCPother00
UDPpackets:176669331
DHCP135105175
NTP33
PTP00
RADIUS00
SNMP41534153
TFTP00
UDPother00
RIPpackets:00
OSPFpackets:00
BGPpackets:00
IPv6packets:66478
LLDPPDUs:516223848
FCoEFIPPDUs:00
ECPPDUs:064
MgmtSockPackets:19252986833
Other:14147762

Copyright Lenovo 2015

Chapter 3: Statistics Commands

261

PacketBufferStatistics:

allocs:973757
frees:973753
failures:0
dropped:0
smallpacketbuffers:

current:1
max:2048
threshold:512
hiwatermark:2
hiwatertime:15:11:47MonOct20,2014
mediumpacketbuffers:

current:3
max:2048
threshold:512
hiwatermark:5
hiwatertime:15:12:17MonOct20,2014
jumbopacketbuffers:

current:0
max:16
hiwatermark:0
pkt_hdrstatistics:

current:0
max:3072
hiwatermark:12

ThefollowingtabledescribesMPpacketstatistics.
Table 122. PacketStatistics
Statistics

Description

PacketsreceivedbyCPU

262

Totalpackets

Totalnumberofpacketsreceived

BPDUs

TotalnumberofspanningtreeBridgeProtocolData
Unitsreceived.

Ciscopackets

TotalnumberofUniDirectionalLinkDetection(UDLD)
packetsandCiscoDiscoveryProtocol(CDP)packets
received.

ARPpackets

TotalnumberofAddressResolutionProtocolpackets
received.

IPv4packets

TotalnumberofIPv4packetsreceived.

IPv6packets

TotalnumberofIPv6packetsreceived.

LLDPPDUs

TotalnumberofLinkLayerDiscoveryProtocoldata
unitsreceived.

Other

Totalnumberofotherpacketsreceived.

G8052 Command Reference for N/OS 8.3

Table 122. PacketStatistics(continued)


Statistics

Description

PacketBufferStatistics
allocs

Totalnumberofpacketallocationsfromthepacket
bufferpoolbytheTCP/IPprotocolstack.

frees

Totalnumberoftimesthepacketbuffersarefreed
(released)tothepacketbufferpoolbytheTCP/IP
protocolstack.

failures

Totalnumberofpacketallocationfailuresfromthe
packetbufferpoolbytheTCP/IPprotocolstack.

smallpacketbuffers
current

Totalnumberofpacketallocationswithsizelessthan
128bytesfromthepacketbufferpoolbytheTCP/IP
protocolstack.

max

Maximumnumberofsmallpacketallocations
supported.

threshold

Thresholdvalueforsmallpacketallocations,beyond
whichonlyhighprioritysmallpacketsareallowed.

hiwatermark

Thehighestnumberofpacketallocationwithsizeless
than128bytesfromthepacketbufferpoolbytheTCP/IP
protocolstack.

hiwatertime

Timestampthatindicateswhenthehiwatermarkwas
reached.

mediumpacketbuffers

Copyright Lenovo 2015

current

Totalnumberofpacketallocationswithsizebetween
128to1536bytesfromthepacketbufferpoolbythe
TCP/IPprotocolstack.

max

Maximumnumberofmediumpacketallocations
supported.

threshold

Thresholdvalueformediumpacketallocations,beyond
whichonlyhighprioritymediumpacketsareallowed.

hiwatermark

Thehighestnumberofpacketallocationwithsize
between128to1536bytesfromthepacketbufferpoolby
theTCP/IPprotocolstack.

hiwatertime

Timestampthatindicateswhenthehiwatermarkwas
reached.

Chapter 3: Statistics Commands

263

Table 122. PacketStatistics(continued)


Statistics

Description

jumbopacketbuffers
current

Totalnumberofpacketallocationswithmorethan1536
bytesfromthepacketbufferpoolbytheTCP/IPprotocol
stack.

max

Maximumnumberofjumbopacketallocations
supported.

hiwatermark

Thehighestnumberofpacketallocationwithmorethan
1536bytesfromthepacketbufferpoolbytheTCP/IP
protocolstack.

pkt_hdrstatistics

264

current

Totalnumberofpacketallocationswithmorethan1536
bytesfromthepacketbufferpoolbytheTCP/IPprotocol
stack.

max

Maximumnumberofpacketallocationswithmorethan
1536bytesfromthepacketbufferpoolbytheTCP/IP
protocolstack.

hiwatermark

Thehighestnumberofpacketallocationwithmorethan
1536bytesfromthepacketbufferpoolbytheTCP/IP
protocolstack.

G8052 Command Reference for N/OS 8.3

Logged Packet Statistics


Thefollowingcommanddisplaysloggedpacketsthathavebeenreceivedorsent,
basedonthespecifiedfilter:
showmppacketparse{rx|tx}<parsingoption>
Thefilteroptionsaredescribedinthefollowingtable.
Table 123. PacketLogParsingOptions
Command Syntax and Usage

showmppacketparse{rx|tx}arp
DisplaysonlyARPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}bgp
DisplaysonlyBGPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}bpdu
DisplaysonlyBPDUslogged
Commandmode:All
showmppacketparse{rx|tx}cisco
DisplaysonlyCiscopackets(BPDU/CDP/UDLD)logged.
Commandmode:All
showmppacketparse{rx|tx}dhcp
DisplaysonlyDHCPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}ecp
DisplaysonlyECPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}fcoe
DisplaysonlyFCoEFIPPDUslogged.
Commandmode:All
showmppacketparse{rx|tx}ftp
DisplaysonlyFTPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}http
DisplaysonlyHTTPpacketslogged.
Commandmode:All

Copyright Lenovo 2015

Chapter 3: Statistics Commands

265

Table 123. PacketLogParsingOptions(continued)


Command Syntax and Usage

showmppacketparse{rx|tx}https
DisplaysonlyHTTPSpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}icmp
DisplaysonlyICMPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}igmp
DisplaysonlyIGMPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}ipaddr<IPv4address>
DisplaysonlyloggedpacketswiththespecifiedIPv4address.
Commandmode:All
showmppacketparse{rx|tx}ipv4
DisplaysonlyIPv4packetslogged.
Commandmode:All
showmppacketparse{rx|tx}ipv6
DisplaysonlyIPv6packetslogged.
Commandmode:All
showmppacketparse{rx|tx}lacp
DisplaysonlyLACPPDUslogged.
Commandmode:All
showmppacketparse{rx|tx}lldp
DisplaysonlyLLDPPDUslogged.
Commandmode:All
showmppacketparse{rx|tx}mac<MACaddress>
DisplaysonlyloggedpacketswiththespecifiedMACaddress.
Commandmode:All
showmppacketparse{rx|tx}ntp
DisplaysonlyNTPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}ospf
DisplaysonlyOSPFpacketslogged.
Commandmode:All

266

G8052 Command Reference for N/OS 8.3

Table 123. PacketLogParsingOptions(continued)


Command Syntax and Usage

showmppacketparse{rx|tx}other
Displayslogsofallpacketsnotexplicitlyselectable.
Commandmode:All
showmppacketparse{rx|tx}pim
DisplaysonlyPIMpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}port<portaliasornumber>
Displaysonlyloggedpacketswiththespecifiedport.
Commandmode:All
showmppacketparse{rx|tx}radius
DisplaysonlyRADIUSpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}rarp
DisplaysonlyReverseARPpackets.
Commandmode:All
showmppacketparse{rx|tx}raw
Displaysrawpacketbufferinadditiontoheaders.
Commandmode:All
showmppacketparse{rx|tx}rip
DisplaysonlyRIPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}snmp
DisplaysonlySNMPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}ssh
DisplaysonlySSHpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}tacacs
DisplaysonlyTACACSpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}tcp
DisplaysonlyTCPpacketslogged.
Commandmode:All

Copyright Lenovo 2015

Chapter 3: Statistics Commands

267

Table 123. PacketLogParsingOptions(continued)


Command Syntax and Usage

showmppacketparse{rx|tx}tcpother
DisplaysonlyTCPotherportpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}telnet
DisplaysonlyTELNETpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}tftp
DisplaysonlyTFTPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}udp
DisplaysonlyUDPpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}udpother
DisplaysonlyUDPotherportpacketslogged.
Commandmode:All
showmppacketparse{rx|tx}vlan<VLANID(14095)>
DisplaysonlyloggedpacketswiththespecifiedVLAN.
Commandmode:All
showmppacketparse{rx|tx}vrrp
DisplaysonlyVRRPpacketslogged.
Commandmode:All

268

G8052 Command Reference for N/OS 8.3

TCP Statistics
ThefollowingcommanddisplaysMPTCPstatistics:
showmptcpblock
Commandmode:All
AllTCPallocatedcontrolblocks:
15d7bae8:0:0:0:0:0:0:0:00<=>
0:0:0:0:0:0:0:0830listen
15d7b978:0.0.0.00<=>
0.0.0.0830listen
15d1f700:0:0:0:0:0:0:0:00<=>
0:0:0:0:0:0:0:080listen
15d1f5b0:0.0.0.00<=>
0.0.0.080listen
15d7af58:0:0:0:0:0:0:0:00<=>
0:0:0:0:0:0:0:023listen
15d7add8:0.0.0.00<=>
0.0.0.023listen
15d82558:0:0:0:0:0:0:0:00<=>
0:0:0:0:0:0:0:022listen
15d817f0:0.0.0.00<=>
0.0.0.022listen

ThefollowingtabledescribestheMPTCPstatistics.
Table 124. MPSpecifiedTCPStatistics

Copyright Lenovo 2015

Statistics

Description

14835bd8

Memory

0.0.0.0

DestinationIPaddress

Destinationport

172.31.38.107

SourceIP

80

Sourceport

listen

State

Chapter 3: Statistics Commands

269

UDP Statistics
ThefollowingcommanddisplaysMPUDPstatistics:
showmpudpblock
Commandmode:All
DataPorts:

AllUDPallocatedcontrolblocks:
68:listen
161:listen
500:listen

270

G8052 Command Reference for N/OS 8.3

CPU Statistics
ThefollowingcommandsdisplayCPUusestatistics:
showprocessescpu
Commandmode:All
TotalCPUUtilization:For1second:0.66%
For5second:3.02%
For1minute:3.73%
For5minute:3.69%
Highestthreadutil:100%by58(I2C)at11:31:32SatMar10,2012

ThreadThreadUtilizationStatus
IDName1sec5sec1Min5Min

1STEM0.00%0.00%0.00%0.00%idle
2STP0.00%0.00%0.00%0.00%idle
3MFDB0.00%0.00%0.00%0.00%idle
4TND0.00%0.00%0.00%0.00%idle
5CONS0.00%0.01%0.38%0.08%running
6TNET0.00%0.00%0.00%0.00%idle
...
123PBR0.00%0.00%0.00%0.00%idle
124HIST0.00%0.00%0.00%0.00%idle
126NORM0.00%0.00%0.00%0.00%idle
127DONE0.00%0.00%0.00%0.00%idle

ThefollowingtabledescribestheCPUstatistics.
Table 125. CPUStatistics

Copyright Lenovo 2015

Statistics

Description

ThreadID

ThethreadIDnumber.

ThreadName

Thenameofthethread.

1sec

ThepercentofCPUuseover1second.

5sec

ThepercentofCPUuseover5seconds.

1Min

ThepercentofCPUuseover1minute.

5Min

ThepercentofCPUuseover5minutes.

Status

Thestatusoftheprocess.

Chapter 3: Statistics Commands

271

CPU Statistics History


ThefollowingcommanddisplaysahistoryofCPUusestatistics:
showprocessescpuhistory
Commandmode:All
CPUUtilizationHistory

17(IP)98%at22:17:24MonFeb20,2012
59(LACP)9%at22:17:33MonFeb20,2012
110(ETMR)12%at22:17:34MonFeb20,2012
110(ETMR)12%at22:17:36MonFeb20,2012
110(ETMR)12%at22:17:40MonFeb20,2012
110(ETMR)12%at22:17:45MonFeb20,2012
110(ETMR)17%at22:17:47MonFeb20,2012
110(ETMR)18%at22:17:49MonFeb20,2012
110(ETMR)25%at22:20:28MonFeb20,2012
110(ETMR)26%at22:39:08MonFeb20,2012
37(SNMP)28%at22:46:20MonFeb20,2012
94(PROX)57%at23:29:36MonFeb20,2012
94(PROX)63%at23:29:37MonFeb20,2012
94(PROX)63%at23:29:39MonFeb20,2012
58(I2C)64%at16:21:54TueFeb21,2012
5(CONS)86%at18:41:54TueFeb21,2012
58(I2C)88%at18:41:55TueFeb21,2012
58(I2C)88%at21:29:41SatFeb25,2012
58(I2C)98%at12:04:59TueFeb28,2012
58(I2C)100%at11:31:32SatMar10,2012

272

G8052 Command Reference for N/OS 8.3

QoS Statistics
ThefollowingcommandsdisplayQoSstatistics:
Table 126. QoSStatisticsCommands
Command Syntax and Usage

showqosprotocolpacketcontrolprotocolcounters
[<packettype>]
Displaysthetotalpacketcountoftheselectedpackettypereceivedby
hardware.Thefollowingpackettypesareallowed:

802.1x(IEEE802.1xpackets)

applicationcripackets(criticalpacketsofvariousapplications)

arpbcast(ARPbroadcastpackets)

arpucast(ARPunicastreplypackets)

bpdu(SpanningTreeProtocolpackets)

ciscobpdu(CiscoSTPpackets)

destunknown(packetswithdestinationnotyetlearned)

dhcp(DHCPpackets)

ecp(ECPpackets)

icmp(ICMPpackets)

icmp6(ICMP6packets)

igmp(IGMPpackets)

ipv4miscellaneous(IPv4packetswithIPoptionsandTTLexception)

ipv6nd(IPv6NeighborDiscoverypackets)

lacp(LACPpackets)

lldp(LLDPpackets)

oflowcntrler(packetsthathittheOpenFlowsendtocontrollerfilter)

oflowdefault(packetsthathittheOpenFlowdefaultfilter)

oflowmgmt(packetsthathittheOpenFlowmanagementfilter)

ospf(OSPFpackets)

ospf3(OSPF3Packets)

pim(PIMpackets)

rip(RIPpackets)

system(systemprotocols,suchastftp,ftp,telnetorssh)

udld(UDLDpackets)

vlag(VLAGpackets)

vrrp(VRRPpackets)

Commandmode:All

Copyright Lenovo 2015

Chapter 3: Statistics Commands

273

Table 126. QoSStatisticsCommands


Command Syntax and Usage

showqosprotocolpacketcontrolqueuecounters
[<packetqueuenumber043>|all]
Displaysthetotalnumberofpacketsreceivedbyeachqueue.Thealloption
displaysthenumberofpacketsreveivedbyallqueues,includingthereserved
packetqueues.
Commandmode:All
clearqosprotocolpacketcontrolall
Clearsallpacketqueuestatistics.
Commandmode:PrivilegedEXEC
clearqosprotocolpacketcontrolprotocolcounters
[<packettype>]
Clearspacketqueuestatisticsfortheselectedpackettype.
Commandmode:PrivilegedEXEC
clearqosprotocolpacketcontrolqueuecounters
[<queuenumber>]
Clearspacketqueuestatisticsfortheselectedqueue.
Commandmode:PrivilegedEXEC

274

G8052 Command Reference for N/OS 8.3

Access Control List Statistics


ThefollowingcommandsdisplayACLstatistics:
Table 127. ACLStatisticsCommands
Command Syntax and Usage

showaccesscontrolcounters
DisplaysallACLstatistics.
Commandmode:All
showaccesscontrollist<1640>counters
DisplaystheAccessControlListstatisticsforaspecificACL.
Commandmode:All
showaccesscontrollist6<1128>counters
DisplaystheIPv6ACLstatisticsforaspecificACL.
Commandmode:All
showaccesscontrolmacl<1128>counters
DisplaystheACLstatisticsforaspecificmanagementACL(MACL).
Commandmode:All
showaccesscontrolmeter<1127>counters
DisplaysACLmeterstatistics.
Commandmode:All
showaccesscontrolvmap<1128>counters
DisplaysVLANMapstatisticsfortheselectedVMAP.Forasampledisplay,
seepage 276.
Commandmode:All
clearaccesscontrollist{<1640>|all}counters
ClearsACLstatistics.
Commandmode:PrivilegedEXEC
clearaccesscontrollist6{<1128>|all}counters
ClearsIPv6ACLstatistics.
Commandmode:PrivilegedEXEC
clearaccesscontrolmacl{<1128>|all}counters
ClearsManagementACL(MACL)statistics.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 3: Statistics Commands

275

Table 127. ACLStatisticsCommands(continued)


Command Syntax and Usage

clearaccesscontrolmeter<1127>counters
ClearsACLmeterstatistics.
Commandmode:PrivilegedEXEC
clearaccesscontrolvmap{<1128>}counters
ClearsVLANMapstatistics.
Commandmode:PrivilegedEXEC

ACL Statistics
ThisoptiondisplaysACLstatistics.
showaccesscontrolcounters
Commandmode:All
HitsforACL1:26057515
HitsforACL2:26057497

VMAP Statistics
ThefollowingcommanddisplaysVLANMapstatistics.
showaccesscontrolvmap<1128>counters
Commandmode:All
HitsforVMAP1:57515

276

G8052 Command Reference for N/OS 8.3

SNMP Statistics
ThefollowingcommanddisplaysSNMPstatistics:
showsnmpservercounters
Commandmode:All
SNMPstatistics:
snmpInPkts:150097snmpInBadVersions:0
snmpInBadC'tyNames:0snmpInBadC'tyUses:0
snmpInASNParseErrs:0snmpEnableAuthTraps:0
snmpOutPkts:150097snmpInBadTypes:0
snmpInTooBigs:0snmpInNoSuchNames:0
snmpInBadValues:0snmpInReadOnlys:0
snmpInGenErrs:0snmpInTotalReqVars:798464
snmpInTotalSetVars:2731snmpInGetRequests:17593
snmpInGetNexts:131389snmpInSetRequests:615
snmpInGetResponses:0snmpInTraps:0
snmpOutTooBigs:0snmpOutNoSuchNames:1
snmpOutBadValues:0snmpOutReadOnlys:0
snmpOutGenErrs:1snmpOutGetRequests:0
snmpOutGetNexts:0snmpOutSetRequests:0
snmpOutGetResponses:150093snmpOutTraps:4
snmpSilentDrops:0snmpProxyDrops:0

ThefollowingtabldescribestheSNMPstatistics.
Table 128. SNMPStatistics

Copyright Lenovo 2015

Statistic

Description

snmpInPkts

ThetotalnumberofMessagesdeliveredtothe
SNMPentityfromthetransportservice.

snmpInBadVersions

ThetotalnumberofSNMPMessages,whichwere
deliveredtotheSNMPprotocolentityandwerefor
anunsupportedSNMPversion.

snmpInBadCtyNames

ThetotalnumberofSNMPMessagesdeliveredto
theSNMPentitywhichusedanSNMPcommunity
namenotknowntothesaidentity(theswitch).

snmpInBadCtyUses

ThetotalnumberofSNMPMessagesdeliveredto
theSNMPprotocolentitywhichrepresentedan
SNMPoperationwhichwasnotallowedbythe
SNMPcommunitynamedintheMessage.

Chapter 3: Statistics Commands

277

Table 128. SNMPStatistics(continued)


Statistic

Description

snmpInASNParseErrs

ThetotalnumberofASN.1orBERerrors
encounteredbytheSNMPprotocolentitywhen
decodingSNMPMessagesreceived.
Note: OSIsmethodofspecifyingabstractobjectsis
calledASN.1(AbstractSyntaxNotationOne,
definedinX.208),andonesetofrulesfor
representingsuchobjectsasstringsofonesand
zerosiscalledtheBER(BasicEncodingRules,
definedinX.209).ASN.1isaflexiblenotationthat
allowsonetodefineavarietyofdatatypes,from
simpletypessuchasintegersandbitstringsto
structuredtypessuchassetsandsequences.BER
describeshowtorepresentorencodevaluesofeach
ASN.1typeasastringofeightbitoctets.

278

snmpEnableAuthTraps

Anobjecttoenableordisabletheauthentication
trapsgeneratedbythisentity(theswitch).

snmpOutPkts

ThetotalnumberofSNMPMessageswhichwere
passedfromtheSNMPprotocolentitytothe
transportservice.

snmpInBadTypes

ThetotalnumberofSNMPMessageswhichfailed
ASNparsing.

snmpInTooBigs

ThetotalnumberofSNMPProtocolDataUnits
(PDUs)whichweredeliveredtotheSNMPprotocol
entityandforwhichthevalueoftheerrorstatus
fieldistoobig.

snmpInNoSuchNames

ThetotalnumberofSNMPProtocolDataUnits
(PDUs)whichweredeliveredtotheSNMPprotocol
entityandforwhichthevalueoftheerrorstatus
fieldisnoSuchName.

snmpInBadValues

ThetotalnumberofSNMPProtocolDataUnits
(PDUs)whichweredeliveredtotheSNMPprotocol
entityandforwhichthevalueoftheerrorstatus
fieldisbadValue.

snmpInReadOnlys

ThetotalnumberofvalidSNMPProtocolDataUnits
(PDUs),whichweredeliveredtotheSNMPprotocol
entityandforwhichthevalueoftheerrorstatus
fieldis`readOnly.Itshouldbenotedthatitisa
protocolerrortogenerateanSNMPPDU,which
containsthevalue`readOnlyintheerrorstatus
field.Assuch,thisobjectisprovidedasameansof
detectingincorrectimplementationsoftheSNMP.

G8052 Command Reference for N/OS 8.3

Table 128. SNMPStatistics(continued)

Copyright Lenovo 2015

Statistic

Description

snmpInGenErrs

ThetotalnumberofSNMPProtocolDataUnits
(PDUs),whichweredeliveredtotheSNMPprotocol
entityandforwhichthevalueoftheerrorstatus
fieldisgenErr.

snmpInTotalReqVars

ThetotalnumberofMIBobjectswhichhavebeen
retrievedsuccessfullybytheSNMPprotocolentity
asaresultofreceivingvalidSNMPGetRequestand
GetNextProtocolDataUnits(PDUs).

snmpInTotalSetVars

ThetotalnumberofMIBobjects,whichhavebeen
alteredsuccessfullybytheSNMPprotocolentityas
aresultofreceivingvalidSNMPSetRequest
ProtocolDataUnits(PDUs).

snmpInGetRequests

ThetotalnumberofSNMPGetRequestProtocol
DataUnits(PDUs),whichhavebeenacceptedand
processedbytheSNMPprotocolentity.

snmpInGetNexts

ThetotalnumberofSNMPGetNextProtocolData
Units(PDUs),whichhavebeenacceptedand
processedbytheSNMPprotocolentity.

snmpInSetRequests

ThetotalnumberofSNMPSetRequestProtocol
DataUnits(PDUs),whichhavebeenacceptedand
processedbytheSNMPprotocolentity.

snmpInGetResponses

ThetotalnumberofSNMPGetResponseProtocol
DataUnits(PDUs),whichhavebeenacceptedand
processedbytheSNMPprotocolentity.

snmpInTraps

ThetotalnumberofSNMPTrapProtocolDataUnits
(PDUs),whichhavebeenacceptedandprocessedby
theSNMPprotocolentity.

snmpOutTooBigs

ThetotalnumberofSNMPProtocolDataUnits
(PDUs),whichweregeneratedbytheSNMP
protocolentityandforwhichthevalueofthe
errorstatusfieldistoobig.

snmpOutNoSuchNames

ThetotalnumberofSNMPProtocolDataUnits
(PDUs),whichweregeneratedbytheSNMP
protocolentityandforwhichthevalueofthe
errorstatusisnoSuchName.

snmpOutBadValues

ThetotalnumberofSNMPProtocolDataUnits
(PDUs),whichweregeneratedbytheSNMP
protocolentityandforwhichthevalueofthe
errorstatusfieldisbadValue.

snmpOutReadOnlys

Notinuse.

Chapter 3: Statistics Commands

279

Table 128. SNMPStatistics(continued)

280

Statistic

Description

snmpOutGenErrs

ThetotalnumberofSNMPProtocolDataUnits
(PDUs),whichweregeneratedbytheSNMP
protocolentityandforwhichthevalueofthe
errorstatusfieldisgenErr.

snmpOutGetRequests

ThetotalnumberofSNMPGetRequestProtocol
DataUnits(PDUs),whichhavebeengeneratedby
theSNMPprotocolentity.

snmpOutGetNexts

ThetotalnumberofSNMPGetNextProtocolData
Units(PDUs),whichhavebeengeneratedbythe
SNMPprotocolentity.

snmpOutSetRequests

ThetotalnumberofSNMPSetRequestProtocol
DataUnits(PDUs),whichhavebeengeneratedby
theSNMPprotocolentity.

snmpOutGetResponses

ThetotalnumberofSNMPGetResponseProtocol
DataUnits(PDUs),whichhavebeengeneratedby
theSNMPprotocolentity.

snmpOutTraps

ThetotalnumberofSNMPTrapProtocolDataUnits
(PDUs),whichhavebeengeneratedbytheSNMP
protocolentity.

snmpSilentDrops

ThetotalnumberofGetRequestPDUs,
GetNextRequestPDUs,
GetBulkRequestPDUs,SetRequestPDUs,and
InformRequestPDUsdeliveredtothe
OSPFSNMPv2entitywhichweresilentlydropped
becausethesizeofareplycontaininganalternate
ResponsePDUwithanemptyvariablebindings
fieldwasgreaterthaneitheralocalconstraintorthe
maximummessagesizeassociatedwiththe
originatoroftherequest.

snmpProxyDrops

ThetotalnumberofGetRequestPDUs,
GetNextRequestPDUs,
GetBulkRequestPDUs,SetRequestPDUs,and
InformRequestPDUsdeliveredtotheSNMP
entitywhichweresilentlydroppedbecausethe
transmissionofthemessagetoaproxytargetfailed
inamannersuchthatnoResponsePDUcouldbe
returned.

G8052 Command Reference for N/OS 8.3

NTP Statistics
LenovoN/OSusesNTP(NetworkTimingProtocol)version3tosynchronizethe
switchsinternalclockwithanatomictimecalibratedNTPserver.WithNTP
enabled,theswitchcanaccuratelyupdateitsinternalclocktobeconsistentwith
otherdevicesonthenetworkandgeneratesaccuratesyslogs.
ThefollowingcommanddisplaysNTPstatistics:
showntpcounters
Commandmode:All
NTPstatistics:
PrimaryServer:
RequestsSent:17
ResponsesReceived:17
Updates:1
SecondaryServer:
RequestsSent:0
ResponsesReceived:0
Updates:0
Lastupdatebasedonresponsefromprimaryserver.
Lastupdatetime:15:22:05WedNov28,2012
Currentsystemtime:8:05:21ThuNov29,2012

ThefollowingtabledescribestheNTPstatistics.
Table 129. NTPStatistics
Field

Description

PrimaryServer

RequestsSent:ThetotalnumberofNTPrequeststhe
switchsenttotheprimaryNTPservertosynchronize
time.

ResponsesReceived:ThetotalnumberofNTP
responsesreceivedfromtheprimaryNTPserver.

Updates:Thetotalnumberoftimestheswitchupdated
itstimebasedontheNTPresponsesreceivedfromthe
primaryNTPserver.

RequestsSent:ThetotalnumberofNTPrequeststhe
switchsenttothesecondaryNTPservertosynchronize
time.

ResponsesReceived:ThetotalnumberofNTP
responsesreceivedfromthesecondaryNTPserver.

Updates:Thetotalnumberoftimestheswitchupdated
itstimebasedontheNTPresponsesreceivedfromthe
secondaryNTPserver.

SecondaryServer

Lastupdatebased
onresponsefrom
primaryserver

Copyright Lenovo 2015

Lastupdateoftimeontheswitchbasedoneitherprimary
orsecondaryNTPresponsereceived.

Chapter 3: Statistics Commands

281

Table 129. NTPStatistics


Field

Description

Lastupdatetime

Thetimestampshowingthetimewhentheswitchwaslast
updated.

Currentsystem
time

Theswitchsystemtimewhenthefollowingcommandwas
issued:
showntpcounters

ThefollowingcommanddisplaysinformationaboutNTPassociatedpeers:
showntpassociations
Commandmode:All
addressrefclockstwhen(s)offset(s)
*12.200.151.18198.72.72.103353162
*synced,#unsynced

ThefollowingtabledescribestheNTPassociationsstatistics.
Table 130. NTPAssociations

282

Field

Description

address

Peeraddress

refclock

Peerreferenceclockaddress

st

Peerstratum

when(s)

TimeinsecondssincethelatestNTPpacketwasreceived
fromthepeer

offset(s)

Offsetinsecondsbetweenthepeerclockandlocalclock

G8052 Command Reference for N/OS 8.3

Statistics Dump
Thefollowingcommanddumpsswitchstatistics:
showcounters
Usethedumpcommandtodumpallswitchstatistics(40Kormore,dependingon
yourconfiguration).Thisdatacanbeusedtotuneordebugswitchperformance.
Ifyouwanttocapturedumpdatatoafile,setyourcommunicationsoftwareon
yourworkstationtocapturesessiondatapriortoissuingthedumpcommand.

Copyright Lenovo 2015

Chapter 3: Statistics Commands

283

284

G8052 Command Reference for N/OS 8.3

Chapter 4. Configuration Commands


ThischapterdiscusseshowtousetheCommandLineInterface(CLI)formaking,
viewingandsavingswitchconfigurationchanges.Manyofthecommands,
althoughnotnew,displaymoreordifferentinformationthanintheprevious
version.Importantdifferencesarecalledoutinthetext.
Table 131. GeneralConfigurationCommands
Command Syntax and Usage

copyrunningconfigbackupconfig
Copythecurrent(running)configurationfromswitchmemorytothe
backupconfigpartition.Fordetails,seepage 585.
Commandmode:PrivilegedEXEC
copyrunningconfigstartupconfig
Copythecurrent(running)configurationfromswitchmemorytothe
startupconfigpartition.
Commandmode:PrivilegedEXEC
copyrunningconfig{ftp|tftp|sftp}
BacksupcurrentconfigurationtoafileontheselectedFTP/TFTP/SFTPserver.
Commandmode:PrivilegedEXEC
copy{ftp|tftp|sftp}runningconfig
RestorescurrentconfigurationfromaFTP/TFTP/SFTPserver.Fordetails,see
page 586.
Commandmode:PrivilegedEXEC
copy{tftp|sftp}{cacert|hostkey|hostcert|publickey}
ImportinterfaceusedbyNISTcertifiedtestlaboratoriesforUSGv6(NISTSP
500267)certificationpurposes.RequiredforRSAdigitalsignature
authenticationverificationduringIKEv2interoperabilitytesting.UsesTFTPor
SFTPtoimport:

cacert:CertificateAuthorityrootcertificate

hostkey:hostprivatekey

hostcert:hostpublickey

publickey:hostpublickey

Commandmode:PrivilegedEXEC
write[memory]
Copythecurrent(running)configurationfromswitchmemorytothe
activeconfigpartition.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

285

Table 131. GeneralConfigurationCommands


Command Syntax and Usage

showrunningconfig
Dumpscurrentconfigurationtoascriptfile.Fordetails,seepage 584.
Commandmode:PrivilegedEXEC
showrunningconfigdiff
Displaysrunningconfigurationchangesthathavebeenappliedbutnotsaved
toflashmemory.
Commandmode:PrivilegedEXEC

286

G8052 Command Reference for N/OS 8.3

Viewing and Saving Changes


Asyouusetheconfigurationcommandstosetswitchparameters,thechangesyou
maketakeeffectimmediately.Youdonotneedtoapplythem.Configuration
changesarelostthenexttimetheswitchboots,unlessyousavethechanges.
Youcanviewallrunningconfigurationchangesthathavebeenappliedbutnot
savedtoflashmemoryusingtheshowrunningconfigdiffcommandin
PrivilegedEXECmode.
Note: SomeoperationscanoverridethesettingsoftheConfigurationcommands.
Therefore,settingsyouviewusingtheConfigurationcommands(forexample,
portstatus)mightdifferfromruntimeinformationthatyouviewusingthe
Informationcommands.TheInformationcommandsdisplaycurrentruntime
informationofswitchparameters.

Saving the Configuration


Youmustsaveconfigurationsettingstoflashmemory,sotheG8052reloadsthe
settingsafterareboot.
Note: Ifyoudonotsavethechanges,theywillbelostthenexttimethesystemis
rebooted.
Tosavethenewconfiguration,enterthefollowingcommand:
RS G8052#copyrunningconfigstartupconfig

or:
RS G8052#write[memory]

Note: Thewritecommanddoesntprompttheuserforconfirmation.
Whenyousaveconfigurationchanges,thechangesaresavedtotheactive
configurationblock.Forinstructionsonselectingtheconfigurationtorunatthe
nextsystemreboot,seeSelectingaConfigurationBlockonpage 608.

Copyright Lenovo 2015

Chapter 4: Configuration Commands

287

System Configuration
Thesecommandsprovideconfigurationofswitchmanagementparameterssuchas
userandadministratorprivilegemodepasswords,webbasedmanagement
settingsandmanagementaccesslists.
Table 132. SystemConfigurationOptions
Command Syntax and Usage

banner<180characters>
Configuresaloginbannerofupto80characters.Whenauseroradministrator
logsintotheswitch,theloginbannerisdisplayed.Itisalsodisplayedaspartof
theoutputfromtheshowsysinfocommand.
Commandmode:Globalconfiguration
nobanner
Deletestheloginbanner.
Commandmode:Globalconfiguration
[no]bootstrictenable
Enablesordisablesswitchoperationinsecuritystrictmode.Whenenabled,
theauthenticationandprivacyprotocolsandalgorithmsofthedeviceare
compliantwithNISTSP800131A,withnoncomplaintprotocolsand
algorithmsdisabled.
Note:Thissettingisappliedonlyafterareboot,duringwhichthedevicewill
beresettodefaultfactoryconfiguration.
Bydefault,thissettingisdisabled.
Commandmode:Globalconfiguration.
hostname<164characters>
Enablesdisplayingofthehostname(systemadministratorsname)inthe
CommandLineInterface(CLI).
Commandmode:Globalconfiguration
nohostname
Deletesthehostnamesetbythesystemadministratoranddisplaysthedefault
systemhostnameintheCLI.
Commandmode:Globalconfiguration
lineconsolelength<0300>
ConfiguresthenumberoflinesperscreendisplayedintheCLIbydefaultfor
consolesessions.Settingitto0disablespaging.
Thedefaultvalueis28.
Commandmode:Globalconfiguration
nolineconsole
Setslineconsolelengthtothedefaultvalueof28.
Commandmode:Globalconfiguration

288

G8052 Command Reference for N/OS 8.3

Table 132. SystemConfigurationOptions(continued)


Command Syntax and Usage

linevtylength<0300>
SetsthedefaultnumberoflinesperscreendisplayedforTelnetandSSH
sessions.Avalueof0disablespaging.
Thedefaultvalueis28.
Commandmode:Globalconfiguration
nolinevty
Setslinevtylengthtothedefaultvalueof28.
Commandmode:Globalconfiguration
[no]prompting
EnablesordisablesCLIconfirmationprompts.
Bydefault,thissettingsisenabled.
Note:Whendisabled,theswitchwillchoosethedefaultanswer.
Commandmode:Globalconfiguration
systemcustomdst
ConfiguresCustomDaylightSavingTimesettings.Forcommandoptions,see
page 335.
Commandmode:Globalconfiguration
systemdate<yyyy><mm><dd>
Promptstheuserforthesystemdate.Thedateretainsitsvaluewhenthe
switchisrebooted.
Commandmode:Globalconfiguration
[no]systemdaylight
Enablesordisablesdaylightsavingstimeinthesystemclock.Whenenabled,
theswitchwilladdanextrahourtothesystemclocksothatitisconsistent
withthelocalclock.
Bydefault,thisoptionisdisabled.
Commandmode:Globalconfiguration
[no]systemdefaultip
EnablesordisablesdefaultIPaddressoninterface1.
Thedefaultsettingisenabled.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

289

Table 132. SystemConfigurationOptions(continued)


Command Syntax and Usage

[no]systemdhcp[hostname|syslog]
EnablesordisablesDynamicHostControlProtocolforsettingtheIPaddress
oninterface1.Whenenabled,theIPaddressobtainedfromtheDHCPserver
overridesthestaticIPaddress.
Thedefaultsettingisenabled.

hostnameenablesordisableshostnameoptionsupport

syslogenablesordisableslogserveroptionsupport

Commandmode:Globalconfiguration
systemidle<060>
SetstheidletimeoutforCLIsessionsinminutes.Avalueof0disablesthe
systemidletimeout.
Thedefaultvalueis10minutes.
Commandmode:Globalconfiguration
systemlinkscan{fast|normal|slow}
Configuresthelinkscanintervalusedtopollthestatusofports.Thevaluesfor
thedifferentintervalsare:

fast75miliseconds

normal150miliseconds

slow500miliseconds

Commandmode:Globalconfiguration
systemnotice<maximum2021charactermultilineloginnotice><.toend>
[addline<noticetext>]
DisplaysaloginnoticeimmediatelybeforetheEnterpassword:prompt.
Thisnoticecancontainupto2021charactersandnewlines.Theaddline
optionaddsnewlinesoftexttotheexistingloginnoticewithoutreplacingit.
Commandmode:Globalconfiguration
nosystemnotice
Deletestheloginnotice.
Commandmode:Globalconfiguration
[no]systempacketlogging
EnablesordisablesloggingofpacketsthatcometotheCPU.
Thedefaultsettingisenabled.
Commandmode:Globalconfiguration

290

G8052 Command Reference for N/OS 8.3

Table 132. SystemConfigurationOptions(continued)


Command Syntax and Usage

[no]systemresetcontrol
Enablesordisablestheresetcontrolflag.Whenenabled,theswitchcontinues
tofunctionafteracrashofthemainprocessor,usingthelastknownLayer2/3
information.
Thedefaultsettingisenabled.
Commandmode:Globalconfiguration
[no]systemserverportsport<portaliasornumber>
Addsorremovesthespecifiedporttothelistofserverports.Formoredetails,
seepage 338.
Commandmode:Globalconfiguration
[no]systemserviceledenable
Enables(on)ordisables(off)theServiceRequiredLEDonthefrontpanelof
theswitchunit.
Commandmode:Globalconfiguration
systemtime<hh>:<mm>:<ss>
Configuresthesystemtimeusinga24hourclockformat.Thetimeretainsits
valuewhentheswitchisrebooted.
Commandmode:Globalconfiguration
systemtimezone[<timezoneindex(1374)>]
Configuresthetimezonewheretheswitchresides.Youarepromptedtoselect
yourlocation(continent,country,region)bythetimezonewizard.Oncea
regionisselected,theswitchupdatesthetimetoreflectlocalchangesto
DaylightSavingsTime,etc.
Thetimezonecanbedirectlyspecifiedusingitsuniquetimezoneindex.
Commandmode:Globalconfiguration
nosystemtimezone
Deletesthetimezoneconfiguration.
Commandmode:Globalconfiguration
systemusbeject
AllowsyoutosafelyremoveaUSBdrivefromtheUSBport,without
corruptingfilesonthedrive.
Commandmode:Globalconfiguration
terminaldontask
DisablesCLIconfirmationpromptsforthecurrentsession.Theswitchwill
choosethedefaultanswer.
Note:Whenusingthiscommandanysettingsconfiguredthroughthe
promptingcommandwillbetemporarilydisregardedforthedurationofthe
currentsession.
Commandmode:All
Copyright Lenovo 2015

Chapter 4: Configuration Commands

291

Table 132. SystemConfigurationOptions(continued)


Command Syntax and Usage

noterminaldontask
EnablesCLIconfirmationpromptsforthecurrentsession.
Note:Whenusingthiscommandanysettingsconfiguredthroughthe
promptingcommandwillbetemporarilydisregardedforthedurationofthe
currentsession.
Commandmode:All
terminallength<0300>
ConfiguresthenumberoflinesperscreendisplayedintheCLIforthecurrent
session.Avalueof0disablespaging.
Bydefault,itissettothecorrespondinglinevtylengthorline
consolelengthvalueineffectatlogin.
Commandmode:All
sslminimumversion{tls10|tls11|tls12}
ConfigurestheminimumacceptedTransportLayerSecurity(TLS)version.

tls10TLSversion1.0

tls11TLSversion1.1

tls12TLSversion1.2

Commandmode:Globalconfiguration
showbootstrict
Displaysthecurrentsecuritystrictmodestatus.
Commandmode:Globalconfiguration
showsystem
Displaysthecurrentsystemparameters.
Commandmode:All

292

G8052 Command Reference for N/OS 8.3

System Error Disable and Recovery Configuration


TheErrorDisableandRecoveryfeatureallowstheswitchtoautomaticallydisable
aportifanerrorconditionisdetectedontheport.Theportremainsinthe
errordisabledstateuntilitisreenabledmanuallyorreenabledautomaticallyby
theswitchafteratimeoutperiodhaselapsed.Theerrordisabledstateofaport
doesnotpersistacrossasystemreboot.
Table 133. ErrorDisableConfigurationOptions
Command Syntax and Usage

[no]errdisablerecovery
Globallyenablesordisablesautomaticerrorrecoveryforerrordisabledports.
Thedefaultsettingisdisabled.
Note:Eachportmusthaveerrorrecoveryenabledtoparticipateinautomatic
errorrecovery.
Commandmode:Globalconfiguration
errdisabletimeout<3086400>
Configurestheerrorrecoverytimeout,inseconds.Afterthetimerexpires,the
switchattemptstoreenabletheport.
Thedefaultvalueis300seconds.
Note:Whenyouchangethetimeoutvalue,allcurrenterrorrecoverytimers
arereset.
Commandmode:Globalconfiguration
showerrdisable
DisplaysthecurrentsystemErrorDisableconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

293

Link Flap Dampening Configuration


TheLinkFlapDampeningfeatureallowstheswitchtoautomaticallydisableaport
iftoomanylinkflaps(linkup/linkdown)aredetectedontheportduringa
specifiedtimeinterval.Theportremainsintheerrordisabledstateuntilitis
reenabledmanuallyorreenabledautomaticallybytheswitchafteratimeout
periodhaselapsed.
Table 134. LinkFlapDampeningConfigurationOptions
Command Syntax and Usage

[no]errdisablelinkflapenable
EnablesordisablesLinkFlapDampening.
Commandmode:Globalconfiguration
errdisablelinkflapmaxflaps<1100>
Configuresthemaximumnumberoflinkflapsallowedintheconfiguredtime
period.
Thedefaultvalueis5.
Commandmode:Globalconfiguration
errdisablelinkflaptime<5500>
Configuresthetimeperiod,inseconds.
Thedefaultvalueis30seconds.
Commandmode:Globalconfiguration
showerrdisablelinkflap
DisplaysthecurrentLinkFlapDampeningparameters.
Commandmode:All

294

G8052 Command Reference for N/OS 8.3

System Host Log Configuration


ThefollowingtabledescribestheSystemHostLogcommands.
Table 135. HostLogConfigurationOptions
Command Syntax and Usage

loggingbufferseverity<07>
Setstheseveritylevelofthesyslogmessagessavedtoflashmemory.
Thedefaultis7,whichmeanslogallseveritylevels.
Commandmode:Globalconfiguration
nologgingbufferseverity
Disablesthesavingofsyslogmessagestotheflashmemory.
Commandmode:Globalconfiguration
[no]loggingconsole
Enablesordisablesdeliveringsyslogmessagestotheconsole.
Thedefaultsettingisenabled.
Note:Whennecessary,disablingconsoleloggingensurestheswitchisnot
affectedbysyslogmessages.
Commandmode:Globalconfiguration
loggingconsoleseverity<07>
Thisoptionsetstheseveritylevelofsyslogmessagesdeliveredviatheconsole,
telnet,andSSH.Thesystemdisplaysonlymessageswiththeselectedseverity
levelandabove.Forexample,ifyousettheconsoleseverityto2,only
messageswithseveritylevelof1and2aredisplayed.
Thedefaultis7,whichmeanslogallseveritylevels.
Commandmode:Globalconfiguration
nologgingconsoleseverity
Disablesdeliveringsyslogmessagestotheconsolebasedonseverity.
Commandmode:Globalconfiguration
logginghost<12>address<IPv4address>
SetstheIPaddressofthefirstorsecondsysloghost.
Commandmode:Globalconfiguration
logginghost<12>address6<IPv6address>
SetstheIPv6addressofthefirstorsecondsysloghost.
Commandmode:Globalconfiguration
logginghost<12>facility<07>
Thisoptionsetsthefacilitylevelofthefirstorsecondsysloghostdisplayed.
Thedefaultvalueis0.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

295

Table 135. HostLogConfigurationOptions(continued)


Command Syntax and Usage

logginghost<12>severity<07>
Thisoptionsetstheseveritylevelofthefirstorsecondsysloghostdisplayed.
Thedefaultvalueis7,whichmeanslogallseveritylevels.
Commandmode:Globalconfiguration
nologginghost<12>
Deletesthespecifiedsysloghost.
Commandmode:Globalconfiguration
[no]logginglog{all|<feature>}
Enablesordisablesfeaturesforwhichsyslogmessagescanbegenerated.You
canchoosetoenable/disablesyslogonallavailablefeaturesbyusingthe
optionallorenable/disablespecificfeatures(suchasvlans,stg,orssh).
Foracompletelistoffeatures,seepage 297.
Commandmode:Globalconfiguration
[no]loggingpdropenable
Enablesordisablespacketdroplogging.
Bydefault,theswitchgeneratesthesemessagesonceevery30minutes.
Commandmode:Globalconfiguration
loggingpdropinterval<030>
Configuresthepacketdroplogginginterval,inminutes.
Thedefaultvalueis30minutes.
Commandmode:Globalconfiguration
loggingsourceinterfaceloopback<15>
Setstheloopbackinterfacenumberforsyslogs.
Commandmode:Globalconfiguration
nologgingsourceinterfaceloopback
Removestheloopbackinterfaceforsyslogs.
Commandmode:Globalconfiguration

296

G8052 Command Reference for N/OS 8.3

Table 135. HostLogConfigurationOptions(continued)


Command Syntax and Usage

[no]loggingsynchronous[level{<07>|all}]
Enablesordisablessynchronousloggingmessages.Whenenabled,logging
messagesaredisplayedsynchronously.
Thelevelparametersetsthemessageseveritylevel.Messageswithaseverity
levelequaltoorhigherthanthisvaluearedisplayedasynchronously.Low
numbersindicategreaterseverity.Thealloptiondisplaysallmessages
asynchronously,regardlesstheseveritylevel.
Thedefaultsettingis2.
Commandmode:Globalconfiguration
showlogging[messages][severity<07>][reverse]
[|{include|exclude|section|begin|head<12000>|
|last<12000>}]
Displaysthecurrentsyslogsettings,followedbythemostrecent2000syslog
messages.

messagesdisplaysthemostrecent2000syslogmessagesonly

severitydisplayssyslogmessagesofthespecifiedseveritylevel

reversedisplayssyslogmessagesstartingwiththemostrecentmessage

|displayssyslogmessagesthatmatchoneofthefollowingfilters:
includedisplayssyslogmessagesthatmatchthespecifiedexpression
excludedisplayssyslogmessagesthatdontmatchthespecified
expression
sectiondisplayssyslogmessagesthatmatchthespecifiedsection
begindisplayssyslogmessagesbeginningfromthefirstmessagethat
matchesthespecifiedexpression
headdisplaystheoldestsyslogmessagesforthespecifiedvalue
lastdisplaysthemostrecentsyslogmessagesforthespecifiedvalue

Fordetails,seepage 46.
Commandmode:All
Thefollowinglistdisplaysthefeaturesavailableforthe[no]logginglog
command:

Copyright Lenovo 2015

arpinspectionDynamicARPInspectionlogging

bgpBGPlogging

cfgConfigurationlogging

cfgchgConfigurationChangelogging

cliCommandLineInterfacelogging

consoleConsolelogging

difftrakConfigurationDifferenceTrackinglogging

dot1x802.1xlogging

Chapter 4: Configuration Commands

297

298

failoverFailoverlogging

hotlinksHotLinkslogging

igmpgroupIGMPgrouplogging

igmpmrouterIGMPmrouterlogging

igmpquerierIGMPquerierlogging

ipInternetProtocolversion4logging

ipv6InternetProtocolversion6logging

lacpLinkAggregationControlProtocollogging

linkSystemPortLinklogging

lldpLLDPlogging

managementManagementlogging

mldMLDlogging

netconfNETCONFConfigurationProtocollogging

ntpNetworkTimeProtocollogging

openflowOpenflowlogging

ospfOSPFlogging

ospfv3OSPFversion3logging

privatevlanPrivateVLANlogging

rmonRemoteMonitoringlogging

serverSyslogserverlogging

slpServiceLocationProtocollogging

spanningtreegroupSpanningtreegrouplogging

sshSecureShelllogging

stackingStackinglogging(availableonlyinstacking)

systemSystemlogging

vlagVirtualLinkAggregationlogging

vlanVLANlogging

vmVirtualMachinelogging

vrrpVirtualRouterRedundancyProtocollogging

webWeblogging

G8052 Command Reference for N/OS 8.3

SSH Server Configuration


FortheRackSwitchG8052,thesecommandsenableSecureShellaccessfromanySSH
client.
Table 136. SSHServerConfigurationOptions
Command Syntax and Usage

[no]sshenable
EnablesordisablestheSSHserver.
Commandmode:Globalconfiguration
sshgeneratehostkey
GeneratetheRSAhostkey.
Commandmode:Globalconfiguration
sshmaxauthattempts<120>
SetsthemaximumnumberofSSHauthenticationattempts.
Thedefaultvalueis2.
Commandmode:Globalconfiguration
nosshmaxauthattempts
ResetsthemaximumnumberofSSHauthenticationattemptstoitsdefault
valueof2.
Commandmode:Globalconfiguration
sshport<TCPportnumber(165535)>
SetstheSSHserverportnumber.
Thedefaultportnumberis22.
Commandmode:Globalconfiguration
nosshport
ResetstheSSHserverporttothedefaultportnumber22.
Commandmode:Globalconfiguration
sshpublickeyindex<1100>{adduser|deluser}username
<username>
Assignsanotherusernameforexistingpublickeysorremovesausername.
Commandmode:Globalconfiguration
[no]sshscpenable
EnablesordisablestheSCPapplyandsave.
Commandmode:Globalconfiguration
sshscppassword
SettheadministrationpasswordforSCPaccess.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

299

Table 136. SSHServerConfigurationOptions(continued)


Command Syntax and Usage

showssh
DisplaysthecurrentSSHserverconfiguration.
Commandmode:All
showsshclienthostkey{address<SFTPserverIPaddress>|all}
DisplaysthecurrentSFTP/SSHhostkeyconfiguration.

address:DisplaysaspecificSFTP/SSHhostkey

all:DisplaysallSFTP/SSHhostkeys

Commandsmode:All
showsshclientpubkey{all|index<1100>|username<username>}
DisplaysthecurrentSSHpublickeyconfiguration.

all:DisplaysallSSHpublickeys

index:DisplaysaspecificSSHpublickey

username:DisplaysalltheSSHpublickeysofaparticularuser

Commandmode:All
clearsshclienthostkey{address<SFTPserverIPaddress>|all}
ClearsstoredSFTP/SSHhostkeyconfiguration.

address:ClearsaspecificSFTP/SSHhostkey

all:ClearsallSFTP/SSHhostkeys

Commandmode:PrivilegedEXEC
clearsshclientpubkey{all|index<1100>|username<username>}
Clearsstoredpublickeyconfiguration.

all:ClearsallSSHpublickeys

index:ClearsaspecificSSHpublickey

username:ClearsaparticularusernamefromalltheSSHpublickeys

Commandmode:PrivilegedEXEC

300

G8052 Command Reference for N/OS 8.3

RADIUS Server Configuration


ThefollowingtabledescribestheRADIUSServercommands.
Table 137. RADIUSServerConfigurationOptions
Command Syntax and Usage

[no]radiusserverbackdoor
EnablesordisablestheRADIUSbackdoorforTelnet/SSH/HTTP/HTTPS.The
defaultvalueisdisabled.
ToobtaintheRADIUSbackdoorpasswordforyourswitch,contactyour
ServiceandSupportline.
Commandmode:Globalconfiguration
[no]radiusserverenable
EnablesordisablestheRADIUSserver.
Commandmode:Globalconfiguration
radiusserverport<UDPportnumber(15003000)>
ConfigurestheRADIUSserverport.EnterthenumberoftheUDPporttobe
configured.
Thedefaultportis1645.
Commandmode:Globalconfiguration
defaultradiusserverport
ResetstheRADIUSserverporttothedefaultUDPport1645.
Commandmode:Globalconfiguration
radiusserverprimaryhost{<hostname>|<IPaddress>}key
<132characters>
SetstheprimaryRADIUSserveraddressandthesharedsecretbetweenthe
switchandtheRADIUSserver(s).
Commandmode:Globalconfiguration
noradiusserverprimaryhost[key]
DeletestheprimaryRADIUSserver.Thekeyoptiononlydeletestheshared
secretbetweentheswitchandtheRADIUSserver.
Commandmode:Globalconfiguration
radiusserverretransmit<13>
Setsthenumberoffailedauthenticationrequestsbeforeswitchingtoa
differentRADIUSserver.
Thedefaultis3requests.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

301

Table 137. RADIUSServerConfigurationOptions(continued)


Command Syntax and Usage

radiusserversecondaryhost{<hostname>|<IPaddress>}key
<132characters>
SetsthesecondaryRADIUSserveraddressandthesharedsecretbetweenthe
switchandtheRADIUSserver(s).
Commandmode:Globalconfiguration
[no]radiusserversecondaryhost[key]
DeletesthesecondaryRADIUSserver.Thekeyoptiononlydeletestheshared
secretbetweentheswitchandtheRADIUSserver.
Commandmode:Globalconfiguration
[no]radiusserversecurebackdoor
EnablesordisablestheRADIUSbackdoorusingsecurepasswordfor
telnet/SSH/HTTP/HTTPS.Thiscommanddoesnotapplywhenbackdooris
enabled.
Commandmode:Globalconfiguration
radiusservertimeout<110>
Setstheamountoftime,inseconds,beforeaRADIUSserverauthentication
attemptisconsideredtohavefailed.
Thedefaultis3seconds.
Commandmode:Globalconfiguration
ipradiussourceinterfaceloopback<15>
SetstheRADIUSsourceloopbackinterface.
Commandmode:Globalconfiguration
noipradiussourceinterfaceloopback
RemovesallRADIUSsourceloopbackinterfaces.
Commandmode:Globalconfiguration
showradiusserver
DisplaysthecurrentRADIUSserverparameters.
Commandmode:All

302

G8052 Command Reference for N/OS 8.3

TACACS+ Server Configuration


TACACS(TerminalAccessControllerAccessControlsystem)isanauthentication
protocolthatallowsaremoteaccessservertoforwardauserslogonpasswordto
anauthenticationservertodeterminewhetheraccesscanbeallowedtoagiven
system.TACACSisnotanencryptionprotocolandthereforelesssecurethan
TACACS+andRemoteAuthenticationDialInUserService(RADIUS)protocols.
BothTACACSandTACACS+aredescribedinRFC1492.
TACACS+protocolismorereliablethanRADIUS,asTACACS+usesthe
TransmissionControlProtocol(TCP)whereasRADIUSusestheUserDatagram
Protocol(UDP).Also,RADIUScombinesauthenticationandauthorizationina
userprofile,whereasTACACS+separatesthetwooperations.
TACACS+offersthefollowingadvantagesoverRADIUSastheauthentication
device:

TACACS+isTCPbased,soitfacilitatesconnectionorientedtraffic.

Itsupportsfullpacketencryption,asopposedtopasswordonlyin
authenticationrequests.

Itsupportsdecoupledauthentication,authorizationandaccounting.

Table 138. TACACS+ServerConfigurationOptions


Command Syntax and Usage

[no]tacacsserveraccountingenable
EnablesordisablesTACACS+accounting.
Commandmode:Globalconfiguration
tacacsserverattempts<110>
Setsthenumberoffailedloginattemptsbeforedisconnectingtheuser.
Thedefaultis2attempts.
Commandmode:Globalconfiguration
notacacsserverattempts
Resetsthenumberoffailedloginattemptstothedefaultvalueof2.
Commandmode:Globalconfiguration
[no]tacacsserverbackdoor
EnablesordisablestheTACACS+backdoorforTelnet,SSH/SCPor
HTTP/HTTPS.
EnablingthisfeatureallowsyoutobypasstheTACACS+servers.Itis
recommendedthatyouuseSecureBackdoortoensuretheswitchissecured,
becauseSecureBackdoordisallowsaccessthroughthebackdoorwhenthe
TACACS+serversareresponding.
Thedefaultsettingisdisabled.
ToobtaintheTACACS+backdoorpasswordforyourG8052,contactyour
ServiceandSupportline.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

303

Table 138. TACACS+ServerConfigurationOptions(continued)


Command Syntax and Usage

tacacsserverchpassp<132characters>
DefinesthepasswordfortheprimaryTACACS+server.
Commandmode:Globalconfiguration
tacacsserverchpasss<132characters>
DefinesthepasswordforthesecondaryTACACS+server.
Commandmode:Globalconfiguration
[no]tacacsservercommandauthorization
EnablesordisablesTACACS+commandauthorization.
Commandmode:Globalconfiguration
[no]tacacsservercommandlogging
EnablesordisablesTACACS+commandlogging.
Commandmode:Globalconfiguration
tacacsserverdirectedrequest[notruncate|restricted]
EnablesTACACS+directedrequest,whichusesaspecifiedTACACS+server
forauthentication,authorization,accounting.Whendirectedrequestis
enabled,eachusermustaddaconfiguredTACACS+serverhostnametothe
username(forexample,username@hostname)duringlogin.
Thiscommandallowsthefollowingoptions:

restricted:OnlytheusernameissenttothespecifiedTACACS+server.

notruncate:TheentireloginstringissenttotheTACACS+server.

Commandmode:Globalconfiguration
notacacsserverdirectedrequest
DisablesTACACS+directedrequest.
Commandmode:Globalconfiguration
[no]tacacsserverenable
EnablesordisablestheTACACS+server.
Bydefault,theserverisdisabled.
Commandmode:Globalconfiguration
[no]tacacsserverenablebypass
Enablesordisablestheenablebypassforadministratorprivilege.
Bydefault,enablebypassisenabled.
Commandmode:Globalconfiguration
[no]tacacsserverencryptionenable
EnablesordisablestheencryptionofTACACS+packets.
Commandmode:Globalconfiguration

304

G8052 Command Reference for N/OS 8.3

Table 138. TACACS+ServerConfigurationOptions(continued)


Command Syntax and Usage

[no]tacacsserverpasswordchange
EnablesordisablesTACACS+passwordchange.
Thedefaultvalueisdisabled.
Commandmode:Globalconfiguration
tacacsserverport<TCPportnumber(165000)>
EnterthenumberoftheTCPporttobeconfigured.
Thedefaultis49.
Commandmode:Globalconfiguration
defaulttacacsserverport
ResetstheTACACS+serverporttothedefaultportnumber49.
Commandmode:Globalconfiguration
tacacsserverprimaryhost{<hostname>|<IPaddress>}key
<132characters>
SetstheprimaryTACACS+serveraddressandthesharedsecretbetweenthe
switchandtheTACACS+server(s).
Commandmode:Globalconfiguration
notacacsserverprimaryhost[key]
DeletestheprimaryTACACS+server.Thekeyoptiononlyremovesthe
sharedsecretbetweentheswitchandtheTACACS+server.
Commandmode:Globalconfiguration
[no]tacacsserverprivilegemapping
EnablesordisablesTACACS+privilegelevelmapping.
Thedefaultvalueisdisabled.
Commandmode:Globalconfiguration
tacacsserverretransmit<13>
Setsthenumberoffailedauthenticationrequestsbeforeswitchingtoa
differentTACACS+server.
Thedefaultis3requests.
Commandmode:Globalconfiguration
tacacsserversecondaryhost{<hostname>|<IPaddress>}key
<132characters>
SetsthesecondaryTACACS+serveraddressandthesharedsecretbetweenthe
switchandtheTACACS+server(s).
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

305

Table 138. TACACS+ServerConfigurationOptions(continued)


Command Syntax and Usage

notacacsserversecondaryhost[key]
DeletesthesecondaryTACACS+server.Thekeyoptiononlyremovesthe
sharedsecretbetweentheswitchandtheTACACS+server.
Commandmode:Globalconfiguration
[no]tacacsserversecurebackdoor
EnablesordisablesTACACS+securebackdooraccessthroughTelnet,
SSH/SCPorHTTP/HTTPSonlywhentheTACACS+serversarenot
responding.
Thisfeatureisrecommendedtopermitaccesstotheswitchwhenthe
TACACS+serversbecomeunresponsive.Ifnobackdoorisenabled,theonly
waytogainaccesswhenTACACS+serversareunresponsiveistousetheback
doorviatheconsoleport.
Thedefaultisdisabled.
Commandmode:Globalconfiguration
tacacsservertimeout<415>
Setstheamountoftime,inseconds,beforeaTACACS+serverauthentication
attemptisconsideredtohavefailed.Thedefaultis5seconds.
Commandmode:Globalconfiguration
tacacsserverusermapping<015>{user|oper|admin}
MapsaTACACS+authorizationleveltoaswitchuserlevel.EnteraTACACS+
authorizationlevel(015),followedbythecorrespondingswitchuserlevel.
Commandmode:Globalconfiguration
notacacsserverusermapping<015>
RemovesaTACACS+authorizationlevel.
Commandmode:Globalconfiguration
iptacacsserversourceinterfaceloopback<15>
SetstheTACACS+sourceloopbackinterface.
Commandmode:Globalconfiguration
noiptacacsserversourceinterfaceloopback
DeletesallTACACS+sourceloopbackinterfaces.
Commandmode:Globalconfiguration
primarypassword
ConfiguresthepasswordfortheprimaryTACACS+server.TheCLIwill
promptyouforinput.
Commandmode:Globalconfiguration

306

G8052 Command Reference for N/OS 8.3

Table 138. TACACS+ServerConfigurationOptions(continued)


Command Syntax and Usage

secondarypassword
ConfiguresthepasswordforthesecondaryTACACS+server.TheCLIwill
promptyouforinput.
Commandmode:Globalconfiguration
showtacacsserver
DisplayscurrentTACACS+configurationparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

307

LDAP Server Configuration


LDAP(LightweightDirectoryAccessProtocol)isanauthenticationprotocolthat
allowsaremoteaccessservertoforwardauserslogonpasswordtoan
authenticationservertodeterminewhetheraccesscanbeallowedtoagiven
system.
Table 139. LDAPServerConfigurationOptions
Command Syntax and Usage

ldapserverattributeusername<1128characters>
SetsacustomizedLDAPuserattribute.Theuserattributeneedstobesettocn
ifLDAPserverisMSactivedirectory.
Thedefaultvalueisuid.
Commandmode:Globalconfiguration
noldapserverattribute[username]
ResetstheLDAPattributestoitsdefaultvalue.Theusernameoptiononly
resetstheLDAPuserattributetoitsdefaultvalueofuid.
Commandmode:Globalconfiguration
[no]ldapserverbackdoor
EnablesordisablestheLDAPbackdoorforTelnet,SSH/SCPorHTTP/HTTPS.
Thedefaultsettingisdisabled.
ToobtaintheLDAPbackdoorpasswordforyourG8052,contactyourService
andSupportline.
Commandmode:Globalconfiguration
ldapserverdomain<1128characters>
SetsthedomainnamefortheLDAPserver.Enterthefullpathforyour
organization.Forexample:
ou=people,dc=mydomain,dc=com
Commandmode:Globalconfiguration
noldapserverdomain
RemovestheLDAPserverdomainname.
Commandmode:Globalconfiguration
[no]ldapserverenable
EnablesordisablestheLDAPserver.
Commandmode:Globalconfiguration
ldapserverport<UDPportnumber(165000)>
EnterthenumberoftheUDPporttobeconfigured.
Thedefaultportis389.
Commandmode:Globalconfiguration

308

G8052 Command Reference for N/OS 8.3

Table 139. LDAPServerConfigurationOptions(continued)


Command Syntax and Usage

defaultldapserverport
ResetstheLDAPserverporttothedefaultportnumber389.
Commandmode:Globalconfiguration
ldapserverprimaryhost<IPaddress>
SetstheprimaryLDAPserveraddress.
Commandmode:Globalconfiguration
noldapserverprimaryhost
DeletestheprimaryLDAPserver.
Commandmode:Globalconfiguration
ldapserverretransmit<13>
Setsthenumberoffailedauthenticationrequestsbeforeswitchingtoa
differentLDAPserver.
Thedefaultis3requests.
Commandmode:Globalconfiguration
ldapserversecondaryhost<IPaddress>
SetsthesecondaryLDAPserveraddress.
Commandmode:Globalconfiguration
noldapserversecondaryhost
DeletesthesecondaryLDAPserver.
Commandmode:Globalconfiguration
ldapservertimeout<415>
Setstheamountoftime,inseconds,beforeaLDAPserverauthentication
attemptisconsideredtohavefailed.
Thedefaultis5seconds.
Commandmode:Globalconfiguration
showldapserver
DisplaysthecurrentLDAPserverparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

309

NTP Server Configuration


ThesecommandsallowyoutosynchronizetheswitchclocktoaNetworkTime
Protocol(NTP)server.Bydefault,thisoptionisdisabled.
Table 140. NTPServerConfigurationOptions
Command Syntax and Usage

[no]ntpenable
EnablesordisablestheNTPsynchronizationservice.
Commandmode:Globalconfiguration
ntpinterval<544640>
Specifiestheinterval,thatis,howoften,inminutes,toresynchronizethe
switchclockwiththeNTPserver.
Thedefaultvalueis1440.
Commandmode:Globalconfiguration
ntpipv6primaryserver<IPv6address>
PromptsfortheIPv6addressoftheprimaryNTPservertowhichyouwantto
synchronizetheswitchclock.
Commandmode:Globalconfiguration
nontpipv6primaryserver
DeletestheIPv6primaryNTPserver.
Commandmode:Globalconfiguration
ntpipv6secondaryserver<IPv6address>
PromptsfortheIPv6addressofthesecondaryNTPservertowhichyouwant
tosynchronizetheswitchclock.
Commandmode:Globalconfiguration
nontpipv6secondaryserver
DeletestheIPv6secondaryNTPserver.
Commandmode:Globalconfiguration
ntpprimaryserver{<IPaddress>|<hostname>}
PromptsfortheIPaddressorhostnameoftheprimaryNTPservertowhich
youwanttosynchronizetheswitchclock.
Commandmode:Globalconfiguration
nontpprimaryserver
DeletestheprimaryNTPserver.
Commandmode:Globalconfiguration

310

G8052 Command Reference for N/OS 8.3

Table 140. NTPServerConfigurationOptions(continued)


Command Syntax and Usage

ntpoffset<086400>
Configurestheminimumoffsetinsecondsbetweentheswitchclockandthe
NTPserverthattriggersasystemlogmessage.
Thedefaultvalueis300seconds.
Commandmode:Globalconfiguration
nontpoffset
ResetstheNTPoffsettothedefault300secondsvalue.
Commandmode:Globalconfiguration
ntpsecondaryserver{<IPaddress>|<hostname>}
PromptsfortheIPaddressorhostnameofthesecondaryNTPservertowhich
youwanttosynchronizetheswitchclock.
Commandmode:Globalconfiguration
nontpsecondaryserver
DeletesthesecondaryNTPserver.
Commandmode:Globalconfiguration
ntpsourceloopback<15>
SetstheNTPsourceloopbackinterface.
Commandmode:Globalconfiguration
nontpsourceloopback
DeletesallNTPsourceloopbackinterface.
Commandmode:Globalconfiguration
[no]ntpsynclogs
EnablesordisablesinformationallogsforNTPsynchronizationfailures.
Defaultsettingisenabled.
Commandmode:Globalconfiguration
showntp
DisplaysthecurrentNTPservicesettings.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

311

System SNMP Configuration


LenovoN/OSsupportsSNMPbasednetworkmanagement.InSNMPmodelof
networkmanagement,amanagementstation(client/manager)accessesasetof
variablesknownasMIBs(ManagementInformationBase)providedbythe
manageddevice(agent).IfyouarerunninganSNMPnetworkmanagement
stationonyournetwork,youcanmanagetheswitchusingthefollowingstandard
SNMPMIBs:
MIBII(RFC1213)
EthernetMIB(RFC1643)
BridgeMIB(RFC1493)

AnSNMPagentisasoftwareprocessonthemanageddevicethatlistensonUDP
port161forSNMPmessages.EachSNMPmessagesenttotheagentcontainsalist
ofmanagementobjectstoretrieveortomodify.
SNMPparametersthatcanbemodifiedinclude:

Systemname

Systemlocation

Systemcontact

UseoftheSNMPsystemauthenticationtrapfunction

Readcommunitystring

Writecommunitystring

Trapcommunitystrings

Table 141. SystemSNMPOptions


Command Syntax and Usage

[no]snmpserverauthenticationtrapenable
Enablesordisablestheuseofthesystemauthenticationtrapfacility.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
snmpservercontact<164characters>
Configuresthenameofthesystemcontact.Thecontactcanhaveamaximum
of64characters.
Commandmode:Globalconfiguration
nosnmpservercontact
Deletesthenameofthesystemcontact.
Commandmode:Globalconfiguration
snmpserverhost<traphostIPaddress><traphostcommunitystring
(133characters)>
Addsatraphostserver.
Commandmode:Globalconfiguration

312

G8052 Command Reference for N/OS 8.3

Table 141. SystemSNMPOptions(continued)


Command Syntax and Usage

nosnmpserverhost<traphostIPaddress>
Removesthetraphostserver.
Commandmode:Globalconfiguration
[no]snmpserverlinktrapenable
EnablesordisablesgloballythesendingofSNMPlinkupandlinkdowntraps.
Thedefaultsettingisenabled.
Commandmode:Globalconfiguration
[no]snmpserverlinktrapport<portaliasornumber>enable
EnablesordisablesthesendingofSNMPlinkupandlinkdowntrapsfora
specificsystemport.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
snmpserverlocation<164characters>
Configuresthenameofthesystemlocation.Thelocationcanhaveamaximum
of64characters.
Commandmode:Globalconfiguration
nosnmpserverlocation
Deletesthenameofthesystemlocation.
Commandmode:Globalconfiguration
snmpservername<164characters>
Configuresthenameforthesystem.Thenamecanhaveamaximumof64
characters.
Commandmode:Globalconfiguration
nosnmpservername
Deletesthenameofthesystem.
Commandmode:Globalconfiguration
snmpserverreadcommunity<132characters>
ConfigurestheSNMPreadcommunitystring.Thereadcommunitystring
controlsSNMPgetaccesstotheswitch.Itcanhaveamaximumof32
characters.
Thedefaultreadcommunitystringispublic.
Commandmode:Globalconfiguration
[no]snmpserverreadcommunityadditional<132characters>
AddsorremovesanadditionalSNMPreadcommunitystring.Upto7
additionalreadcommunitystringsaresupported.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

313

Table 141. SystemSNMPOptions(continued)


Command Syntax and Usage

snmpservertimeout<130>
SetsthetimeoutvaluefortheSNMPstatemachine,inminutes.
Commandmode:Globalconfiguration
snmpservertrapsource{<IPinterfacenumber>|loopback<15>}
ConfiguresthesourceinterfaceforSNMPtraps.
Commandmode:Globalconfiguration
nosnmpservertrapsource[loopback]
DeletesallsourceinterfacesforSNMPtraps.Theloopbackoptiononly
removestheloopbacksourceinterfaces.
Commandmode:Globalconfiguration
snmpserverwritecommunity<132characters>
ConfigurestheSNMPwritecommunitystring.Thewritecommunitystring
controlsSNMPsetaccesstotheswitch.Itcanhaveamaximumof32
characters.
Thedefaultwritecommunitystringisprivate.
Commandmode:Globalconfiguration
[no]snmpserverwritecommunityadditional<132characters>
AddsorremovesanadditionalSNMPwritecommunitystring.Upto7
additionalwritecommunitystringsaresupported.
Commandmode:Globalconfiguration
showsnmpserver
DisplaysthecurrentSNMPconfiguration.
Commandmode:All

314

G8052 Command Reference for N/OS 8.3

SNMPv3 Configuration
SNMPversion3(SNMPv3)isanextensibleSNMPFrameworkthatsupplements
theSNMPv2Frameworkbysupportingthefollowing:

anewSNMPmessageformat

securityformessages

accesscontrol

remoteconfigurationofSNMPparameters

FormoredetailsontheSNMPv3architecturepleaserefertoRFC3411toRFC3418.
Table 142. SNMPv3ConfigurationOptions
Command Syntax and Usage

snmpserveraccess<132>
Thiscommandallowsyoutospecifyaccessrights.TheViewbasedAccess
ControlModeldefinesasetofservicesthatanapplicationcanuseforchecking
accessrightsoftheuser.Youneedaccesscontrolwhenyouhavetoprocess
retrievalormodificationrequestfromanSNMPentity.Toviewcommand
options,seepage 319.
Commandmode:Globalconfiguration
snmpservercommunity<116>
Thecommunitytablecontainsobjectsformappingcommunitystringsand
versionindependentSNMPmessageparameters.Toviewcommandoptions,
seepage 321.
Commandmode:Globalconfiguration
snmpservergroup<117>
Agroupmapstheusernametotheaccessgroupnamesandtheiraccessrights
neededtoaccessSNMPmanagementobjects.Agroupdefinestheaccessrights
assignedtoallnamesthatbelongtoaparticulargroup.Toviewcommand
options,seepage 320.
Commandmode:Globalconfiguration
snmpservernotify<116>
Anotificationapplicationtypicallymonitorsasystemforparticulareventsor
conditions,andgeneratesNotificationClassmessagesbasedontheseevents
orconditions.Toviewcommandoptions,seepage 324.
Commandmode:Globalconfiguration
snmpservertargetaddress<116>
Thiscommandallowsyoutoconfiguredestinationinformation,consistingof
atransportdomainandatransportaddress.Thisisalsotermedastransport
endpoint.TheSNMPMIBprovidesamechanismforperformingsource
addressvalidationonincomingrequests,andforselectingcommunitystrings
basedontargetaddressesforoutgoingnotifications.Toviewcommand
options,seepage 322.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

315

Table 142. SNMPv3ConfigurationOptions(continued)


snmpservertargetparameters<116>
ThiscommandallowsyoutoconfigureSNMPparameters,consistingof
messageprocessingmodel,securitymodel,securitylevel,andsecurityname
information.Theremaybemultipletransportendpointsassociatedwitha
particularsetofSNMPparameters,oraparticulartransportendpointmaybe
associatedwithseveralsetsofSNMPparameters.Toviewcommandoptions,
seepage 323.
Commandmode:Globalconfiguration
snmpserveruser<117>
Thiscommandallowsyoutocreateausersecuritymodel(USM)entryforan
authorizeduser.YoucanalsoconfigurethisentrythroughSNMP.Toview
commandoptions,seepage 317.
Commandmode:Globalconfiguration
snmpserverview<1128>
ThiscommandallowsyoutocreatedifferentMIBviews.Toviewcommand
options,seepage 318.
Commandmode:Globalconfiguration
showsnmpserverv3
DisplaysthecurrentSNMPv3configuration.
Commandmode:All

316

G8052 Command Reference for N/OS 8.3

User Security Model Configuration


YoucanmakeuseofadefinedsetofuseridentitiesusingthisSecurityModel.An
SNMPenginemusthavetheknowledgeofapplicableattributesofauser.
Thesecommandshelpyoucreateausersecuritymodelentryforanauthorized
user.YouneedtoprovideasecuritynametocreatetheUSMentry.
Table 143. UserSecurityModelConfigurationOptions
Command Syntax and Usage

snmpserveruser<117>authenticationprotocol
{md5|sha|none}authenticationpassword
Thiscommandallowsyoutoconfiguretheauthenticationprotocoland
password.
TheauthenticationprotocolcanbeHMACMD596orHMACSHA96for
compatibilitymode,HMACSHA96forsecuritystrictmodeornone.
Thedefaultalgorithmisnone.
MD5authenticationprotocolisnotavailableinsecuritystrictmodeifyoudo
notselectSNMPv3accountbackwardcompatibility.
Whenyouconfigureanauthenticationalgorithm,youmustprovidea
password,otherwiseyouwillgetanerrormessageduringvalidation.This
commandallowsyoutocreateorchangeyourpasswordforauthentication.
Commandmode:Globalconfiguration
snmpserveruser<117>name<132characters>
Thiscommandallowsyoutoconfigureastringthatrepresentsthenameofthe
user.Thisistheloginnamethatyouneedinordertoaccesstheswitch.
Commandmode:Globalconfiguration
snmpserveruser<117>privacyprotocol{des|aes|none}
privacypassword
Thiscommandallowsyoutoconfigurethetypeofprivacyprotocolandthe
privacypassword.
Theprivacyprotocolprotectsmessagesfromdisclosure.Theoptionsare:

des(CBCDESSymmetricEncryptionProtocol)

aes(AES128AdvancedEncryptionStandardProtocol)

none

Ifyouspecifydesastheprivacyprotocol,thenmakesurethatyouhave
selectedoneoftheauthenticationprotocols(MD5orHMACSHA96).In
securitystrictmode,ifyoudonotselectSNMPv3accountbackward
compatibility,onlydesprivacyprotocolissupported.
Ifyouspecifyaesastheprivacyprotocol,makesurethatyouhaveselected
HMACSHA96authenticationprotocol.
Ifyouselectnoneastheauthenticationprotocol,youwillgetanerror
message.
Youcancreateorchangetheprivacypassword.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

317

Table 143. UserSecurityModelConfigurationOptions


Command Syntax and Usage

nosnmpserveruser<117>
DeletestheUSMuserentries.
Commandmode:Globalconfiguration
showsnmpserverv3user<117>
DisplaystheUSMuserentries.
Commandmode:All

SNMPv3 View Configuration


NotethatthefirstfivedefaultvacmViewTreeFamilyentriescannotberemoved,
andtheirnamescannotbechanged.
Table 144. SNMPv3ViewConfigurationOptions
Command Syntax and Usage

snmpserverview<1128>mask<132characters>
Thiscommanddefinesthebitmask,whichincombinationwiththe
correspondingtreedefinesafamilyofviewsubtrees.
Commandmode:Globalconfiguration
snmpserverview<1128>name<132characters>
Thiscommanddefinesthenameforafamilyofviewsubtrees.
Commandmode:Globalconfiguration
snmpserverview<1128>tree<163characters>
ThiscommanddefinesMIBtree,whichwhencombinedwiththe
correspondingmaskdefinesafamilyofviewsubtrees.
Commandmode:Globalconfiguration
snmpserverview<1128>type{included|excluded}
Thiscommandindicateswhetherthecorrespondinginstancesof
vacmViewTreeFamilySubtreeandvacmViewTreeFamilyMaskthat
defineafamilyofviewsubtreesareincludedinorexcludedfromtheMIB
view.
Commandmode:Globalconfiguration
nosnmpserverview<1128>
DeletesthevacmViewTreeFamilygroupentry.
Commandmode:Globalconfiguration
showsnmpserverv3view<1128>
DisplaysthecurrentvacmViewTreeFamilyconfiguration.
Commandmode:All

318

G8052 Command Reference for N/OS 8.3

View-based Access Control Model Configuration


TheviewbasedAccessControlModeldefinesasetofservicesthatanapplication
canuseforcheckingaccessrightsoftheuser.Accesscontrolisneededwhenthe
userhastoprocessSNMPretrievalormodificationrequestfromanSNMPentity.
Table 145. ViewbasedAccessControlModelOptions
Command Syntax and Usage

snmpserveraccess<132>level{noAuthNoPriv|authNoPriv|
|authPriv}
Definestheminimumlevelofsecurityrequiredtogainaccessrights.

noAuthNoPrivmeansthattheSNMPmessagewillbesentwithout
authenticationandwithoutusingaprivacyprotocol.

authNoPrivmeansthattheSNMPmessagewillbesentwith
authenticationbutwithoutusingaprivacyprotocol.

authPrivmeansthattheSNMPmessagewillbesentbothwith
authenticationandusingaprivacyprotocol.

Commandmode:Globalconfiguration
snmpserveraccess<132>name<132characters>
Definesthenameofthegroup.
Commandmode:Globalconfiguration
snmpserveraccess<132>notifyview<132characters>
DefinesanotifyviewnamethatallowsyounotifyaccesstotheMIBview.
Commandmode:Globalconfiguration
snmpserveraccess<132>readview<132characters>
DefinesareadviewnamethatallowsyoureadaccesstoaparticularMIBview.
IfthevalueisemptyorifthereisnoactiveMIBviewhavingthisvaluethenno
accessisgranted.
Commandmode:Globalconfiguration
snmpserveraccess<132>security{usm|snmpv1|snmpv2}
Allowsyoutoselectthesecuritymodeltobeused.
Commandmode:Globalconfiguration
snmpserveraccess<132>writeview<132characters>
DefinesawriteviewnamethatallowsyouwriteaccesstotheMIBview.Ifthe
valueisemptyorifthereisnoactiveMIBviewhavingthisvaluethenno
accessisgranted.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

319

Table 145. ViewbasedAccessControlModelOptions(continued)


Command Syntax and Usage

nosnmpserveraccess<132>
DeletestheViewbasedAccessControlentry.
Commandmode:Globalconfiguration
showsnmpserverv3access<132>
DisplaystheViewbasedAccessControlconfiguration.
Commandmode:All

SNMPv3 Group Configuration


ThefollowingtabledescribestheSNMPv3Groupcommands.
Table 146. SNMPv3GroupConfigurationOptions
Command Syntax and Usage

snmpservergroup<117>groupname<132characters>
Thenamefortheaccessgroupasdefinedinthefollowingcommand:
snmpserveraccess<132>name<132characters>onpage 317.
Commandmode:Globalconfiguration
snmpservergroup<117>security{usm|snmpv1|snmpv2}
Definesthesecuritymodel.
Commandmode:Globalconfiguration
snmpservergroup<117>username<132characters>
Setstheusernameasdefinedinthefollowingcommand:
snmpserveruser<117>name<132characters>onpage 317.
Commandmode:Globalconfiguration
nosnmpservergroup<117>
DeletesthevacmSecurityToGroupentry.
Commandmode:Globalconfiguration
showsnmpserverv3group<117>
DisplaysthecurrentvacmSecurityToGroupconfiguration.
Commandmode:All

320

G8052 Command Reference for N/OS 8.3

SNMPv3 Community Table Configuration


Thesecommandsareusedforconfiguringthecommunitytableentry.The
configuredentryisstoredinthecommunitytablelistintheSNMPengine.This
tableisusedtoconfigurecommunitystringsintheLocalConfigurationDatastore
(LCD)ofSNMPengine.
Table 147. SNMPv3CommunityTableConfigurationOptions
Command Syntax and Usage

snmpservercommunity<116>index<132characters>
Allowsyoutoconfiguretheuniqueindexvalueofarowinthistable.
Commandstring:Globalconfiguration
snmpservercommunity<116>name<132characters>
Definestheusernameasdefinedinthefollowingcommand:
snmpserveruser<117>name<132characters>onpage 317.
Commandstring:Globalconfiguration
snmpservercommunity<116>tag<1255characters>
Allowsyoutoconfigureatag.Thistagspecifiesasetoftransportendpointsto
whichacommandresponderapplicationsendsanSNMPtrap.
Commandmode:Globalconfiguration
snmpservercommunity<116>username<132characters>
DefinesareadablestringthatrepresentsthecorrespondingvalueofanSNMP
communitynameinasecuritymodel.
Commandmode:Globalconfiguration
nosnmpservercommunity<116>
Deletesthecommunitytableentry.
Commandmode:Globalconfiguration
showsnmpserverv3community<116>
Displaysthecommunitytableconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

321

SNMPv3 Target Address Table Configuration


Thesecommandsareusedtoconfigurethetargettransportentry.Theconfigured
entryisstoredinthetargetaddresstablelistintheSNMPengine.Thistableof
transportaddressesisusedinthegenerationofSNMPmessages.
Table 148. TargetAddressTableConfigurationOptions
Command Syntax and Usage

snmpservertargetaddress<116>address<IPaddress>
name<132characters>
Allowsyoutoconfigurethelocallyarbitrary,butuniqueidentifier,target
addressnameassociatedwiththisentry.
Commandmode:Globalconfiguration
snmpservertargetaddress<116>address6<IPv6address>
name<132characters>
Allowsyoutoconfigurethelocallyarbitrary,butuniqueidentifier,targetIPv6
addressnameassociatedwiththisentry.
Commandmode:Globalconfiguration
snmpservertargetaddress<116>name<132characters>
address<transportIPaddress>
ConfiguresatransportIPv4addressthatcanbeusedinthegenerationof
SNMPtraps.
Commandmode:Globalconfiguration
snmpservertargetaddress<116>name<132characters>
address6<transportIPv6address>
ConfiguresatransportIPv6addressthatcanbeusedinthegenerationof
SNMPtraps.IPv6addressesarenotdisplayedintheconfiguration,butthey
doreceivetraps.
Commandmode:Globalconfiguration
snmpservertargetaddress<116>parametersname
<132characters>
Definesthenameasdefinedinthefollowingcommand:
snmpservertargetparameters<116>name<132characters>on
page 323.
Commandmode:Globalconfiguration
snmpservertargetaddress<116>port<TCPportrange(165535)>
Allowsyoutoconfigureatransportaddressportthatcanbeusedinthe
generationofSNMPtraps.
Commandmode:Globalconfiguration
snmpservertargetaddress<116>taglist<1255characters>
Allowsyoutoconfigurealistoftagsthatareusedtoselecttargetaddressesfor
aparticularoperation.
Commandmode:Globalconfiguration

322

G8052 Command Reference for N/OS 8.3

Table 148. TargetAddressTableConfigurationOptions(continued)


Command Syntax and Usage

nosnmpservertargetaddress<116>
DeletestheTargetAddressTableentry.
Commandmode:Globalconfiguration
showsnmpserverv3targetaddress<116>
DisplaysthecurrentTargetAddressTableconfiguration.
Commandmode:All

SNMPv3 Target Parameters Table Configuration


Youcanconfigurethetargetparametersentryandstoreitinthetargetparameters
tableintheSNMPengine.Thistablecontainsparametersthatareusedtogenerate
amessage.Theparametersincludethemessageprocessingmodel(forexample:
SNMPv3,SNMPv2c,SNMPv1),thesecuritymodel(forexample:USM),the
securitynameandthesecuritylevel(noAuthnoPriv,authNoPrivor
authPriv).
Table 149. TargetParametersTableConfigurationOptions
Command Syntax and Usage

snmpservertargetparameters<116>level{noAuthNoPriv|
|authNoPriv|authPriv}
Allowsyoutoselectthelevelofsecuritytobeusedwhengeneratingthe
SNMPmessagesusingthisentry.

noAuthNoPrivmeansthattheSNMPmessagewillbesentwithout
authenticationandwithoutusingaprivacyprotocol.

authNoPrivmeansthattheSNMPmessagewillbesentwith
authenticationbutwithoutusingaprivacyprotocol.

authPrivmeansthattheSNMPmessagewillbesentbothwith
authenticationandusingaprivacyprotocol.

Commandmode:Globalconfiguration
snmpservertargetparameters<116>message{snmpv1|snmpv2c|
|snmpv3}
Allowsyoutoconfigurethemessageprocessingmodelthatisusedtogenerate
SNMPmessages.
Commandmode:Globalconfiguration
snmpservertargetparameters<116>name<132characters>
Allowsyoutoconfigurethelocallyarbitrary,butunique,identifierthatis
associatedwiththisentry.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

323

Table 149. TargetParametersTableConfigurationOptions(continued)


Command Syntax and Usage

snmpservertargetparameters<116>security{usm|snmpv1|
|snmpv2}
AllowsyoutoselectthesecuritymodeltobeusedwhengeneratingtheSNMP
messages.
Commandmode:Globalconfiguration
snmpservertargetparameters<116>username<132characters>
DefinesthenamethatidentifiestheuserintheUSMtable(page 317)onwhose
behalftheSNMPmessagesaregeneratedusingthisentry.
Commandmode:Globalconfiguration
nosnmpservertargetparameters<116>
DeletesthetargetParamsTableentry.
Commandmode:Globalconfiguration
showsnmpserverv3targetparameters<116>
DisplaysthecurrenttargetParamsTableconfiguration.
Commandmode:All

SNMPv3 Notify Table Configuration


SNMPv3usesNotificationOriginatortosendouttraps.Anotificationtypically
monitorsasystemforparticulareventsorconditionsandgenerates
NotificationClassmessagesbasedontheseeventsorconditions.
Table 150. NotifyTableOptions
Command Syntax and Usage

snmpservernotify<116>name<132characters>
Definesalocallyarbitrary,butunique,identifierassociatedwiththisSNMP
notifyentry.
Commandmode:Globalconfiguration
snmpservernotify<116>tag<1255characters>
Allowsyoutoconfigureatagthatcontainsatagvaluewhichisusedtoselect
entriesintheTargetAddressTable.Anyentryinthe
snmpTargetAddrTable,thatmatchesthevalueofthistag,isselected.
Commandmode:Globalconfiguration
nosnmpservernotify<116>
Deletesthenotifytableentry.
Commandmode:Globalconfiguration
showsnmpserverv3notify<116>
Displaysthecurrentnotifytableconfiguration.
Commandmode:All

324

G8052 Command Reference for N/OS 8.3

System Access Configuration


ThefollowingtabledescribestheSystemAccesscommands.
Table 151. SystemAccessConfigurationOptions
Command Syntax and Usage

[no]accesshttpenable
EnablesordisablesHTTP(Web)accesstotheBrowserBasedInterface.
Thedefaultsettingsisenabled.
Commandmode:Globalconfiguration
accesshttpport<TCPportnumber(165535)>
SetstheswitchportusedforservingswitchWebcontent.
ThedefaultisHTTPport80.
Commandmode:Globalconfiguration
defaultaccesshttpport
ResetstheHTTPporttothedefaultportnumber80.
Commandmode:Globalconfiguration
accesssnmp{readonly|readwrite}
Enablesreadonly/writereadSNMPaccess.
Commandmode:Globalconfiguration
noaccesssnmp
DisablesSNMPaccess.
Commandmode:Globalconfiguration
[no]accesstelnetenable
EnablesordisablesTelnetaccess.
Thedefaultsettingisenabled.
Commandmode:Globalconfiguration
accesstelnetport<TCPportnumber(165535)>
SetsanoptionalTelnetserverportnumberforcaseswheretheserverlistens
forTelnetsessionsonanonstandardport.
Commandmode:Globalconfiguration
defaultaccesstelnetport
ResetstheTelnetserverporttothedefaultportnumber23.
Commandmode:Globalconfiguration
accesstftpport<TCPportnumber(165535)>
SetstheTFTPportfortheswitch.
Thedefaultisport69.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

325

Table 151. SystemAccessConfigurationOptions(continued)


Command Syntax and Usage

defaultaccesstftpport
ResetstheTFTPporttothedefaultportnumber69.
Commandmode:Globalconfiguration
[no]accesstsbbienable
EnablesordisablesTelnet/SSHconfigurationthroughtheBrowserBased
Interface(BBI).
Commandmode:Globalconfiguration
[no]accessuserbbienable
EnablesordisablesuserconfigurationaccessthroughtheBrowserBased
Interface(BBI).
Commandmode:Globalconfiguration
showaccess
Displaysthecurrentsystemaccessparameters.
Commandmode:All

Management Network Configuration


ThesecommandsareusedtodefineIPaddressrangeswhichareallowedtoaccess
theswitchformanagementpurposes.
Table 152. ManagementNetworkConfigurationOptions
Command Syntax and Usage

[no]accessmanagementnetwork<mgmtnetworkIPv4address>
<mgmtnetworkIPv4netmask>
Addsorremovesadefinednetworkthroughwhichswitchaccessisallowed
viaTelnet,SNMPortheLenovoN/OSbrowserbasedinterface.Arangeof
IPv4addressesisproducedwhenusedwithanetworkmaskaddress.Specify
anIPv4addressandmaskaddressindotteddecimalnotation.
Note:Ifyouconfigurethemanagementnetworkwithoutincludingtheswitch
interfaces,theconfigurationcausestheFirewallLoadBalancinghealthchecks
tofailandcreatesaNetworkDownstateonthenetwork.
Commandmode:Globalconfiguration
[no]accessmanagementnetwork<mgmtnetworkIPv4address>
<mgmtnetworkIPv4netmask>{snmpro|snmprw}
AddsorremovesadefinedIPv4networkthroughwhichSNMPreadonlyor
SNMPread/writeswitchaccessisallowed.SpecifyanIPv4addressandmask
addressindotteddecimalnotation.
Commandmode:Globalconfiguration

326

G8052 Command Reference for N/OS 8.3

Table 152. ManagementNetworkConfigurationOptions


Command Syntax and Usage

[no]accessmanagementnetwork6<mgmtnetworkIPv6address>
<IPv6prefixlength>
Addsorremovesadefinednetworkthroughwhichswitchaccessisallowed
viaTelnet,SNMPortheLenovoN/OSbrowserbasedinterface.Arangeof
IPv6addressesisproducedwhenusedwithaprefixlength.SpecifyanIPv6
addressinhexadecimalformatwithcolons.
Note:Ifyouconfigurethemanagementnetworkwithoutincludingtheswitch
interfaces,theconfigurationcausestheFirewallLoadBalancinghealthchecks
tofailandcreatesaNetworkDownstateonthenetwork.
Commandmode:Globalconfiguration
[no]accessmanagementnetwork6<mgmtnetworkIPv6address>
<IPv6prefixlength>{snmpro|snmprw}
AddsorremovesadefinedIPv6networkthroughwhichSNMPreadonlyor
SNMPread/writeswitchaccessisallowed.
Commandmode:Globalconfiguration
noaccessmanagementnetwork{snmpro|snmprw}
ClearstheIPv4SNMPreadonlyorSNMPread/writeaccesscontrollistfor
managementpurposes.
Commandmode:Globalconfiguration
noaccessmanagementnetwork6{snmpro|snmprw}
ClearstheIPv6SNMPreadonlyorSNMPread/writeaccesscontrollistfor
managementpurposes.
Commandmode:Globalconfiguration
showaccessmanagementnetwork
Displaysthecurrentmanagementnetworkconfiguration.
Commandmode:PrivilegedEXEC
clearaccessmanagementnetwork
Removesalldefinedmanagementnetworks.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 4: Configuration Commands

327

NETCONF Configuration
ThismenuallowsyoutoconfiguresupportforNetworkConfigurationProtocol
(NETCONF),whichprovidesmechanismstoinstall,manipulate,anddeletethe
configurationofnetworkdevices.NETCONFisdescribedinRFC4741.
Table 153. NETCONFConfigurationOptions
Command Syntax and Usage

[no]accessnetconfenable
EnablesordisablesNETCONFaccesstotheswitch.
Commandmode:Globalconfiguration
accessnetconftimeout<303600>
ConfiguresthetimeoutvalueforNETCONFsessions,inseconds.
Thedefaultvalueis300seconds.
Commandmode:Globalconfiguration
defaultaccessnetconftimeout
ResetsthetimeoutvalueforNETCONFsessionstothedefaultof300seconds.
Commandmode:Globalconfiguration
showaccess
Displaysthecurrentconfiguration.
Commandmode:All

NETCONF over SSH Configuration


ThismenuallowsyoutoenableNETCONFaccessoverSecureShell(SSH).
NETCONFoverSSHisdescribedinRFC4742.
Table 154. NETCONFoverSSHConfigurationOptions
Command Syntax and Usage

[no]accessnetconfsshenable
EnablesordisablesNETCONFaccessoverSSH.
Commandmode:Globalconfiguration
accessnetconfsshport<TCPportnumber(165535)>
ConfigurestheTCPportusedforNETCONF.
Thedefaultportnumberis830.
Commandmode:Globalconfiguration
defaultnetconfsshport
ResetstheSSHportusedforNETCONFtothedefaultportnumber830.
Commandmode:Globalconfiguration

328

G8052 Command Reference for N/OS 8.3

User Access Control Configuration


Thefollowingtabledescribesuseraccesscontrolcommands.
Note: Passwordscanbeamaximumof128characters.
Table 155. UserAccessControlConfigurationOptions
Command Syntax and Usage

accessuser<120>
ConfigurestheUserID.Formorecommandoptions,seepage 330.
Commandmode:Globalconfiguration
[no]accessuseradministratorenable
Enablesordisablesthedefaultadministratoraccount.
Commandmode:Globalconfiguration
accessuseradministratorpassword
Setstheadministrator(admin)password.Theadministratorhascomplete
accesstoallmenus,informationandconfigurationcommandsontheG8052,
includingtheabilitytochangeboththeuserandadministratorpasswords.
Thiscommandwillpromptforrequiredinformation:currentadminpassword,
newpassword(upto128characters)andconfirmationofthenewpassword.
Accessincludesoperfunctions.
Note:Youcannotdisabletheadministratorpassword.
CommandMode:Globalconfiguration
accessusereject{<username>|sessionid<sessionID>}
EjectsthespecifieduserfromtheG8052.
Commandmode:Globalconfiguration
accessuseroperatorpassword
Setstheoperator(oper)password.Theoperatormanagesallfunctionsofthe
switch.Theoperatorcanviewallswitchinformationandstatisticsandcan
resetports.
Thiscommandwillpromptforrequiredinformation:currentadminpassword,
newpassword(upto128characters)andconfirmationofthenewpassword.
Note:Todisabletheoperatoraccount,setthepasswordtonull(nopassword).
Thedefaultsettingisdisabled(nopassword).
CommandMode:Globalconfiguration
accessuseruserpassword
Setstheuser(user)password.Theuserhasnodirectresponsibilityforswitch
management.Theuserviewswitchstatusinformationandstatistics,butcannot
makeanyconfigurationchanges.
Thiscommandwillpromptforrequiredinformation:currentadminpassword,
newpassword(upto128characters)andconfirmationofthenewpassword.
Note:Todisabletheuseraccount,setthepasswordtonull(nopassword).
CommandMode:Globalconfiguration
Copyright Lenovo 2015

Chapter 4: Configuration Commands

329

Table 155. UserAccessControlConfigurationOptions


Command Syntax and Usage

showaccessuser
Displaysthecurrentuserstatus.
Commandmode:PrivilegedEXEC
clearline<112>
EjectstheuserwiththecorrespondingsessionIDfromtheG8052.
Commandmode:PrivilegedEXEC

System User ID Configuration


ThefollowingtabledescribestheSystemUserIDcommands.
Table 156. UserIDConfigurationOptions
Command Syntax and Usage

[no]accessuser<120>enable
EnablesordisablestheuserID.
Commandmode:Globalconfiguration
accessuser<120>level{user|operator|administrator}
SetstheClassofServicetodefinetheusersauthoritylevel.LenovoN/OS
definestheselevelsas:User,OperatorandAdministrator,withUserbeingthe
mostrestrictedlevel.
Commandmode:Globalconfiguration
accessuser<120>name<164characters>
Definestheusernameofmaximumeightcharacters.
Commandmode:Globalconfiguration
accessuser<120>password
Setstheuser(user)password.Thiscommandwillpromptforrequired
information:currentadminpassword,newpassword(upto128characters)and
confirmationofthenewpassword.
Commandmode:Globalconfiguration
noaccessuser<120>
DeletestheuserID.
Commandmode:Globalconfiguration
showaccessuser
DisplaysthecurrentuserIDconfiguration.
Commandmode:PrivilegedEXEC

330

G8052 Command Reference for N/OS 8.3

Strong Password Configuration


ThefollowingtabledescribestheStrongPasswordcommands.
Table 157. StrongPasswordConfigurationOptions
Command Syntax and Usage

accessuserstrongpasswordclearlocaluser
{lockout|failattempts}{<username>|all}
Enableslockedoutaccountsorresetsfailedlogincountersforallusersorfora
specificuser.
Commandmode:Globalconfiguration
[no]accessuserstrongpasswordenable
EnablesordisablesStrongPasswordrequirement.
Commandmode:Globalconfiguration
accessuserstrongpasswordexpiry<1365>
Configuresthenumberofdaysallowedbeforethepasswordmustbechanged.
Thedefaultvalueis60days.
Commandmode:Globalconfiguration
accessuserstrongpasswordfaillock<110>
Configuresthenumberoffailedloginattemptsthattriggertheaccount
lockout.
Thedefaultvalueis6attempts.
Commandmode:Globalconfiguration
accessuserstrongpasswordfaillog<1255>
Configuresthenumberoffailedloginattemptsallowedbeforeasecurity
notificationislogged.
Thedefaultvalueis3loginattempts.
Commandmode:Globalconfiguration
[no]accessuserstrongpasswordlockout
Enablesordisablesaccountlockoutafteraspecifiednumberoffailedlogin
attempts.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

331

Table 157. StrongPasswordConfigurationOptions


Command Syntax and Usage

accessuserstrongpasswordwarning<1365>
Configuresthenumberofdaysbeforepasswordexpiration,thatawarningis
issuedtousers.
Thedefaultvalueis15days.
Commandmode:Globalconfiguration
showaccessuserstrongpassword
DisplaysthecurrentStrongPasswordconfiguration.
Commandmode:PrivilegedEXEC

HTTPS Access Configuration


ThefollowingtabledescribestheHTTPAccesscommands.
Table 158. HTTPSAccessConfigurationOptions
Command Syntax and Usage

[no]accesshttpsenable
EnablesordisablesBBIaccess(Webaccess)usingHTTPS.
Commandmode:Globalconfiguration
accesshttpsgeneratecertificate
AllowsyoutogenerateacertificatetoconnecttotheSSLtobeusedduringthe
keyexchange.AdefaultcertificateiscreatedwhenHTTPSisenabledforthe
firsttime.Theusercancreateanewcertificatedefiningtheinformationthat
theywanttobeusedinthevariousfields.Forexample:

CountryName(2lettercode):CA

StateorProvinceName(fullname):Ontario

LocalityName(forexample,city):Ottawa

OrganizationName(forexample,company):Lenovo

OrganizationalUnitName(forexample,section):Operations

CommonName(forexample,usersname):MrSmith

Email(forexample,emailaddress):info@lenovo.com

Youwillbeaskedtoconfirmifyouwanttogeneratethecertificate.Itwilltake
approximately30secondstogeneratethecertificate.Thentheswitchwill
restartSSLagent.
Commandmode:Globalconfiguration
accesshttpssavecertificate
AllowstheclientortheWebbrowsertoacceptthecertificateandsavethe
certificatetoFlashtobeusedwhentheswitchisrebooted.
Commandmode:Globalconfiguration

332

G8052 Command Reference for N/OS 8.3

Table 158. HTTPSAccessConfigurationOptions(continued)


Command Syntax and Usage

accesshttpsdeletecertificate
Deletesthecurrentcertificatefromtheflashmemory.
Commandmode:Globalconfiguration
accesshttpsport<TCPportnumber(165535)>
DefinestheHTTPSWebserverportnumber.
Thedefaultportis443.
Commandmode:Globalconfiguration
defaultaccesshttpsport
ResetstheHTTPSporttothedefaultportnumber443.
Commandmode:Globalconfiguration
copy{tftp|sftp}cacert
EnablesyoutoimportacertificateauthorityrootcertificateusingTFTP/SFTP.
Commandmode:Globalconfiguration
copytftpcacertaddress<hostnameorserverIPaddress>
filename<serverfilename>
EnablesyoutoimportacertificateauthorityrootcertificateusingTFTP.
Commandmode:Globalconfiguration
copy{tftp|sftp}hostcert
EnablesyoutoimportahostcertificateusingTFTP/SFTP.
Commandmode:Globalconfiguration
copytftphostcertaddress<hostnameorserverIPaddress>
filename<serverfilename>
EnablesyoutoimportahostcertificateusingTFTP.
Commandmode:Globalconfiguration
copy{tftp|sftp}hostkey
EnablesyoutoimportahostprivatekeyusingTFTP/SFTP.
Commandmode:Globalconfiguration
copytftphostkeyaddress<hostnameorserverIPaddress>
filename<serverfilename>
EnablesyoutoimportahostprivatekeyusingTFTP.
Commandmode:Globalconfiguration
copy{tftp|sftp}publickey
EnablesyoutoimportaclientpublickeyusingTFTP/SFTP.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

333

Table 158. HTTPSAccessConfigurationOptions(continued)


Command Syntax and Usage

copytftppublickeyaddress<hostnameorserverIPaddress>
filename<serverfilename>
EnablesyoutoimportaclientpublickeyusingTFTP.
Commandmode:Globalconfiguration
showaccess
DisplaysthecurrentSSLWebAccessconfiguration.
Commandmode:PrivilegedEXEC

334

G8052 Command Reference for N/OS 8.3

Custom Daylight Saving Time Configuration


UsethesecommandstoconfigurecustomDaylightSavingTime.TheDSTis
definedbytworules,thestartruleandendrule.Therulesspecifythedateswhen
theDSTstartsandfinishes.Thesedatesarerepresentedasspecificcalendardates
orasrelativeoffsetsinamonth(forexample,thesecondSundayofSeptember).
Relativeoffsetexample:
2070901=SecondSundayofSeptember,at1:00a.m.
Calendardateexample:
0070901=September7,at1:00a.m.
Table 159. CustomDSTOptions
Command Syntax and Usage

[no]systemcustomdstenable
EnablesordisablestheCustomDaylightSavingTimesettings.
Commandmode:Globalconfiguration
systemcustomdststartrule<WDDMMhh>
ConfiguresthestartdateforcustomDST,asfollows:
WDMMhh
W=week(05,where0meansusethecalendardate)
D=dayoftheweek(0107,where01isMonday)
MM=month(112)
hh=hour(023)
Note:Week5isalwaysconsideredtobethelastweekofthemonth.
Commandmode:Globalconfiguration
systemcustomdstendrule<WDDMMhh>
ConfigurestheenddateforcustomDST,asfollows:
WDMMhh
W=week(05,where0meansusethecalendardate)
D=dayoftheweek(0107,where01isMonday)
MM=month(112)
hh=hour(023)
Note:Week5isalwaysconsideredtobethelastweekofthemonth.
Commandmode:Globalconfiguration
showcustomdst
DisplaysthecurrentCustomDSTconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

335

sFlow Configuration
LenovoN/OSsupportssFlowversion5.sFlowisasamplingmethodusedfor
monitoringhighspeedswitchednetworks.Usethesecommandstoconfigurethe
sFlowagentontheswitch.
Table 160. sFlowConfigurationOptions
Command Syntax and Usage

[no]sflowenable
EnablesordisablesthesFlowagent.
Commandmode:Globalconfiguration
sflowport<UDPportnumber(165000)>
ConfigurestheUDPportforthesFlowserver.
Thedefaultvalueis6343.
Commandmode:Globalconfiguration
defaultsflowport
ResetsthesFlowserverporttothedefaultportnumber6343.
Commandmode:Globalconfiguration
sflowserver<IPaddress>
DefinesthesFlowserveraddressandinterfaceport.
Commandmode:Globalconfiguration
nosflowserver
DeletesthesFlowserveraddress.
Commandmode:Globalconfiguration.
showsflow
DisplayssFlowconfigurationparameters.
Commandmode:All

336

G8052 Command Reference for N/OS 8.3

sFlow Port Configuration


UsethefollowingcommandstoconfigurethesFlowportontheswitch.
Table 161. sFlowPortConfigurationOptions
Command Syntax and Usage

sflowpolling<560>
ConfiguresthesFlowpollinginterval,inseconds.
Thedefaultsettingisdisabled.
Commandmode:Interfaceport
nosflowpolling
DisablessFlowpollinginterval.
Commandmode:Interfaceport
sflowsampling<25665536>
ConfiguresthesFlowsamplingrate,inpacketspersample.
Thedefaultsettingisdisabled.
Commandmode:Interfaceport
nosflowsampling
DisablessFlowsamplingrate.
Commandmode:Interfaceport

Copyright Lenovo 2015

Chapter 4: Configuration Commands

337

Server Port Configuration


Usethesecommandstodefinealistofserverports.Portsthatarenotconfiguredas
serverportsareconsideredtobeuplinkports.VMreadylearnsVirtualMachine
informationonlyfromserverports.
Table 162. ServerPortConfigurationOptions
Command Syntax and Usage

[no]systemserverportsport<portaliasornumber>
Addsorremovesoneormoreportstothelistofserverports.
Commandmode:Globalconfiguration
showsystemserverports
Displaysthecurrentserverportconfiguration.
Commandmode:All

338

G8052 Command Reference for N/OS 8.3

Port Configuration
UsethePortConfigurationcommandstoconfiguresettingsforinterfaceports.
Table 163. PortConfigurationOptions
Command Syntax and Usage

interfaceport<portaliasornumber>
EnterInterfaceportmode.
Commandmode:Globalconfiguration
interfaceportchannel{<152>|<53104>|lacp<165535>}
EnterInterfaceportchannelmode.Thesecommandsallowyoutoconfigure
portparametersforallportmembersintheselectedtrunkgroup
(portchannel).
Commandmode:Globalconfiguration
[no]openflowmgmtport<portaliasornumber>
EnablesordisablesOpenFlowmanagementstatefortheports.
Note:SupportedinOpenFlowOnlymode.
Commandmode:GlobalConfiguration
[no]bpduguard
EnablesordisablesBPDUguard,toavoidSpanningTreeloopsonports
configuredasedgeports.
Commandmode:Interfaceport/Interfaceportchannel
description<164characters>
Setsadescriptionfortheport.Theassignedportdescriptionappearsnextto
theportnumberonsomeinformationandstatisticsscreens.
Thedefaultissettotheportnumber.
Commandmode:Interfaceport/Interfaceportchannel
nodescription
Removestheinterfacedescription.
Commandmode:Interfaceport/Interfaceportchannel
dot1p<07>
Configurestheports802.1pprioritylevel.
Commandmode:Interfaceport/Interfaceportchannel
dot1x
Configures802.1Xportbasedauthentication.Formorecommandoptions,see
page 391.
Commandmode:Interfaceport

Copyright Lenovo 2015

Chapter 4: Configuration Commands

339

Table 163. PortConfigurationOptions(continued)


Command Syntax and Usage

[no]dscpmarking
EnablesordisablesDSCPremarkingonaport.
Commandmode:Interfaceport/Interfaceportchannel
[no]floodblocking
EnablesordisablesportFloodBlocking.Whenenabled,unicastandmulticast
packetswithunknowndestinationMACaddressesareblockedfromtheport.
Commandmode:Interfaceport/Interfaceportchannel
ipdhcpsnoopinglimitrate<12048>
ConfiguresthemaximumnumberofDHCPpacketsallowedpersecond.
Commandmode:Interfaceport
noipdhcpsnoopinglimitrate
UnlimitsthemaximumnumberofDHCPpacketsallowedpersecond.
Commandmode:Interfaceport
[no]ipdhcpsnoopingtrust
ConfiguresthisportasatrustedportforDHCPpacketsfromtheserver.
Commandmode:Interfaceport
[no]learning
EnablesordisablesFDBlearningontheport.
Commandmode:Interfaceport/Interfaceportchannel
[no]macaddresstablemacnotification
EnablesordisablesMACAddressNotification.WithMACAddress
Notificationenabled,theswitchgeneratesasyslogmessagewhenaMAC
addressisaddedorremovedfromtheMACaddresstable.
Commandmode:Interfaceport/Interfaceportchannel
portchanneldistributiontrunkmemberindex<18>
Enablesstatictrafficdistributionontheselectedportindexoftheoutput
trunk.
Commandmode:Interfaceport
portchannelminlinks<18>
Settheminimumnumberoflinksforthisport.Ifthespecifiedminimum
numberofportsarenotavailable,thetrunkisplacedinthedownstate.
Commandmode:Interfaceport
[no]rmon
EnablesordisablesRemoteMonitoring(RMON)onthecurrentport.
Commandmode:Interfaceport/Interfaceportchannel

340

G8052 Command Reference for N/OS 8.3

Table 163. PortConfigurationOptions(continued)


Command Syntax and Usage

shutdown
Disablestheport.(Totemporarilydisableaportwithoutchangingits
configurationattributes,refertoTemporarilyDisablingaPortonpage 346.)
Commandmode:Interfaceport/Interfaceportchannel
noshutdown
Enablestheport.
Commandmode:Interfaceport/Interfaceportchannel
stormcontrol{broadcast|multicast|unicast}level
rate<02097151>
Limitsthenumberofbroadcast,multicastorunicastpacketspersecondtothe
specifiedvalue.
Commandmode:Interfaceport
nostormcontrol{broadcast|multicast|unicast}
Setstheporttoforwardallbroadcast,multicastorunicastpackets.
Commandmode:Interfaceport/Interfaceportchannel
[no]switchport
Enablesordisablesroutingonaport.
Commandmode:Interfaceport/Interfaceportchannel
switchportaccessvlan<VLANID(14094)>
ConfigurestheassociatedVLANusedinaccessmode.Defaultvalueis1forall
ports.
Commandmode:Interfaceport/Interfaceportchannel
noswitchportaccessvlan
ResetstheaccessVLANtoitsdefaultvalue.
Commandmode:Interfaceport/Interfaceportchannel
switchportmode{access|trunk|privatevlan}
Configurestheportstrunkingmode:

accessallowsassociationtoasingleVLAN

trunkautomaticallyaddstheporttoallcreatedVLANs.Toconfigurea
specificallowedVLANrangefortheportusethecommand:
switchporttrunkallowedvlan

privatevlanallowsassociationtoaprivateVLAN

Defaultmodeisaccess.
Note:Whenswitchingfromaccesstotrunkmode,theportinheritstheaccess
VLANasthetrunkNativeVLAN.
Note:Whenswitchingfromtrunktoaccessmode,theportinheritsthetrunk
NativeVLANastheaccessVLAN.
Commandmode:Interfaceport/Interfaceportchannel
Copyright Lenovo 2015

Chapter 4: Configuration Commands

341

Table 163. PortConfigurationOptions(continued)


Command Syntax and Usage

noswitchportmodeprivatevlan
Removesprivatevlanmodefromtheport.
Commandmode:Interfaceport/Interfaceportchannel
[no]switchportprivatevlanhostassociation
<primaryVLAN(24094)><secondaryVLAN(24094)>
EnablesordisablestheprivateVLANassociationonasecondaryport.
Commandmode:Interfaceport/Interfaceportchannel
[no]switchportprivatevlanmapping<primaryVLAN(24094)>
EnablesordisablesprivateVLANmappingonaportinpromiscuousmode.
Commandmode:Interfaceport/Interfaceportchannel
switchporttrunkallowedvlan<VLANID(14094)>
ConfigurestheallowedVLANsintrunkmodeforthecurrentportor
portchannel.IftheallowedrangedoesnothaveanyexistingVLANs,the
lowestnumberedVLANiscreatedandbecomestheNativeVLAN.Ifthe
allowedrangecontainsanexistingVLAN(s),buttheNativeVLANisnotin
theallowedrange,theNativeVLANischangedtothelowestnumbered
existingVLAN.IfanewVLANiscreatedanditispartoftheallowedVLAN
range,theportwillalsobeaddedtothatVLAN.
Commandmode:Interfaceport/Interfaceportchannel
switchporttrunkallowedvlan{add|remove}<VLANID(14094)>
UpdatestheassociatedVLANsintrunkmode.

addenablestheVLANrangeinadditiontothecurrentconfiguration.Ifany
VLANintherangedoesnotexist,itwillnotbecreatedandenabled
automatically.IfanewVLANiscreatedanditispartoftheallowedVLAN
range,theportwillalsobeaddedtothatVLAN.

removeeliminatestheVLANrangefromthecurrentconfiguration.Ifthe
NativeVLANisinthespecifiedrange,thesmallestavailableVLANfrom
theremainingrangewillbecomethenewNativeVLAN.Iftheremaining
rangedoesnothaveanyexistingVLANs,thelowestnumberedVLANis
createdandbecomestheNativeVLAN.

Note:TheremainingVLANrangemustcontainatleastoneVLAN.
Commandmode:Interfaceport/Interfaceportchannel
switchporttrunkallowedvlan{all|none}
UpdatestheassociatedVLANsintrunkmode.

allassociatestheporttoallexistingregularVLANsandtoanyother
VLANthatgetscreatedafterwards.

noneremovestheportfromallcurrentlyassociatedVLANsandassignsthe
porttothedefaultVLAN(VLAN1forallports).

Commandmode:Interfaceport/Interfaceportchannel

342

G8052 Command Reference for N/OS 8.3

Table 163. PortConfigurationOptions(continued)


Command Syntax and Usage

noswitchporttrunkallowedvlan
AssignstheporttoallavailabledataVLANs.
Commandmode:Interfaceport/Interfaceportchannel
switchporttrunknativevlan<VLANID(14094)>
ConfiguresthePortVLANID(PVID)orNativeVLANusedtocarryuntagged
trafficintrunkmode.IftheVLANdoesnotexist,itisautomaticallycreated.
TheVLANmustbepresentintheportsallowedVLANrange.Defaultvalueis
1forallports.
Commandmode:Interfaceport/Interfaceportchannel
[no]tagpvidingress
EnablesordisablestaggingtheingressframeswiththeportsVLANID.When
enabled,theNativeVLAN(PVID)tagisinsertedintountaggedand802.1Q
singletaggedingressframesasouterVLANID.
Thedefaultsettingisdisabled.
Commandmode:Interfaceport/Interfaceportchannel
[no]vlandot1qtagnative
DisablesorenablesVLANtagpersistence.Whendisabled,theVLANtagis
removedategressfrompacketswhoseVLANtagmatchestheport
PVID/Nativevlan.
Thedefaultsettingisdisabled.
Note:Inglobalconfigurationmode,thisisanoperationalcommandusedto
settheVLANtagpersistenceonallportscurrentlytaggedatthemomentof
execution.VLANtagpersistencewillnotbesetautomaticallyforportstagged
afterwords.Also,asanoperationalcommand,itwillnotbedumpedintothe
configurationfile.
Commandmode:Globalconfiguration/Interfaceport/Interfaceportchannel
showinterfaceport<portaliasornumber>
Displaysthespecifiedportsparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

343

Port Error Disable and Recovery Configuration


TheErrorDisableandRecoveryfeatureallowstheswitchtoautomaticallydisable
aportifanerrorconditionisdetectedontheport.Theportremainsinthe
errordisabledstateuntilitisreenabledmanually,orreenabledautomaticallyby
theswitchafteratimeoutperiodhaselapsed.Theerrordisabledstateofaport
doesnotpersistacrossasystemreboot.
Table 164. PortErrorDisableOptions
Command Syntax and Usage

[no]errdisablerecovery
Enablesordisablesautomaticerrorrecoveryfortheport.Thedefaultsettingis
enabled.
Note:Errorrecoverymustbeenabledgloballybeforeportlevelcommands
becomeactive.
Commandmode:Interfaceport/Interfaceportchannel
showinterfaceport<portaliasornumber>errdisable
DisplaysthespecifiedportsErrorDisableparameters.
Commandmode:All

Port Link Flap Dampening Configuration


ThefollowingtabledescribesthePortLinkFlapDampeningcommands.
Table 165. PortLinkFlapDampeningConfigurationOptions
Command Syntax and Usage

[no]errdisablelinkflapenable
EnablesordisablesLinkFlapDampeningontheport.Formoreinformation,
seeLinkFlapDampeningConfigurationonpage 294.
Commandmode:Interfaceport
showinterfaceport<portaliasornumber>errdisablelinkflap
DisplaysthecurrentLinkFlapDampeningparametersforthespecifiedport.
Commandmode:All

344

G8052 Command Reference for N/OS 8.3

Port Link Configuration


Usethesecommandstoconfigurelinklevelparametersfortheport/portchannel.
Table 166. PortLinkConfigurationOptions
Command Syntax and Usage

[no]auto
Enablesordisablesautonegotiation.
Commandmode:Interfaceport/Interfaceportchannel
duplex{full|half|auto}
Setstheoperatingmode.Thechoicesinclude:

Autonegotiation(default)

Halfduplex

Fullduplex

Note:Dataportsarefixedatfullduplex.
Commandmode:Interfaceport/Interfaceportchannel
flowcontrol{receive|send}{on|off}
Turnsflowcontrolreceivingortransmitingonoroff.
Commandmode:Interfaceport/Interfaceportchannel
noflowcontrol
Disablesflowcontrolonthecurrentport.
Commandmode:Interfaceport/Interfaceportchannel
speed{10|100|1000|auto}
Setsthelinkspeed.Someoptionsarenotvalidonallports.Thechoices
include:

10Mbps

100Mbps

1000Mbps

auto(autonegotiateportspeed)

Commandmode:Interfaceport/Interfaceportchannel
showinterfaceport<portaliasornumber>
Displaysthespecifiedportsparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

345

Temporarily Disabling a Port


Totemporarilydisableaportwithoutchangingitsstoredconfigurationattributes,
enterthefollowingcommandatanyprompt:
G8052(config)#interfaceport<portaliasornumber>shutdown

Becausethisconfigurationsetsatemporarystatefortheport,youdonotneedto
useasaveoperation.Theportstatewillreverttoitsoriginalconfigurationwhen
theRackSwitchG8052isrebooted.SeetheOperationsCommandsonpage 589for
otheroperationslevelcommands.

346

G8052 Command Reference for N/OS 8.3

UniDirectional Link Detection Configuration


UDLDcommandsaredescribedinthefollowingtable.
Table 167. PortUDLDConfigurationOptions
Command Syntax and Usage

[no]udld
EnablesordisablesUDLDontheport.
Commandmode:Interfaceport
[no]udldaggressive
ConfigurestheUDLDmodefortheselectedport,asfollows:

Normal:Detectunidirectionallinksthathavemisconnectedinterfaces.The
portisdisabledifUDLDdeterminesthattheportismisconnected.Usethe
noformtoselectnormaloperation.

Aggressive:Inadditiontothenormalmode,theaggressivemodedisables
theportiftheneighborstopssendingUDLDprobesfor7seconds.

Commandmode:Interfaceport
showinterfaceport<portaliasornumber>udld
DisplaysthespecifiedportsUDLDparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

347

Port OAM Configuration


Operation,Administration,andMaintenance(OAM)protocolallowstheswitchto
detectfaultsonthephysicalportlinks.OAMisdescribedintheIEEE802.3ah
standard.OAMDiscoverycommandsaredescribedinthefollowingtable.
Table 168. PortOAMConfigurationOptions
Command Syntax and Usage

[no]oam
EnablesordisablesOAMdiscoveryonthecurrentport.
Commandmode:Interfaceport
[no]oampassive
EnablesordisablesOAMdiscoverypassivemode.Inpassivemode,the
currentportallowsitspeerlinktoinitiateOAMdiscovery.IfOAMdetermines
thattheportisinananomalouscondition,theportisdisabled.
Commandmode:Interfaceport
showinterfaceport<portaliasornumber>oam
DisplaysthespecifiedportsOAMparameters.
Commandmode:All

348

G8052 Command Reference for N/OS 8.3

Port ACL Configuration


ThefollowingtabledescribesthePortACLcommands.
Table 169. ACL/QoSConfigurationOptions
Command Syntax and Usage

[no]accesscontrollist<1640>
AddsorremovesthespecifiedACLtotheport.YoucanaddmultipleACLsto
aport,butthetotalnumberofprecedencelevelsallowedistwo.
Commandmode:Interfaceport/Interfaceportchannel
[no]accesscontrollist6<1128>
AddsorremovesthespecifiedIPv6ACLtotheport.Youcanaddmultiple
ACLstoaport,butthetotalnumberofprecedencelevelsallowedistwo.
Commandmode:Interfaceport/Interfaceportchannel
[no]accesscontrolgroup<1640>
AddsorremovesthespecifiedACLgrouptotheport.Youcanaddmultiple
ACLgroupstoaport,butthetotalnumberofprecedencelevelsallowedis
two.
Commandmode:Interfaceport/Interfaceportchannel
showinterfaceport<portaliasornumber>accesscontrol
DisplayscurrentACLQoSparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

349

Port WRED Configuration


ThesecommandsallowyoutoconfigureWeightedRandomEarlyDetection
(WRED)parametersforaselectedport.ForglobalWREDconfiguration,see
WeightedRandomEarlyDetectionConfigurationonpage 358.
Table 170. PortWREDOptions
Command Syntax and Usage

[no]randomdetectenable
EnablesordisablesRandomDetectionandavoidance.
Commandmode:Interfaceport
[no]randomdetectecnenable
EnablesordisablesExplicitCongestionNotification(ECN).WhenECNison,
theswitchmarkstheECNbitofthepacket(ifapplicable)insteadofdropping
thepacket.ECNawaredevicesarenotifiedofthecongestionandthose
devicescantakecorrectiveactions.
Note:ECNfunctionsonlyonTCPtraffic.
Commandmode:Interfaceport
showinterfaceport<portaliasornumber>randomdetect
DisplayscurrentRandomDetectionandavoidanceparameters.
Commandmode:All

350

G8052 Command Reference for N/OS 8.3

Port WRED Transmit Queue Configuration


UsethismenutodefineWREDthresholdsfortheportstransmitqueues.Seteach
thresholdbetween1%and100%.Whentheaveragequeuesizegrowsbeyondthe
minimumthreshold,packetsbegintobedropped.Whentheaveragequeuesize
reachesthemaximumthreshold,allpacketsaredropped.Theprobabilityof
packetdropbetweenthethresholdsisdefinedbythedroprate.
Table 171. PortWREDTransmitQueueOptions
Command Syntax and Usage

[no]randomdetecttransmitqueue<07>enable
EnablesordisablestheWREDtransmitqueueconfiguration.
Commandmode:Interfaceport
randomdetecttransmitqueue<07>tcpminthreshold<1100>
maxthreshold<1100>droprate<1100>
ConfigurestheWREDthresholdsforTCPtraffic.
Commandmode:Interfaceport
norandomdetecttransmitqueue<07>tcp
ClearstheWREDconfigurationforTCPtraffic.
Commandmode:Interfaceport
randomdetecttransmitqueue<07>nontcp
minthreshold<1100>maxthreshold<1100>droprate<1100>
ConfigurestheWREDthresholdsfornonTCPtraffic.
Commandmode:Interfaceport
norandomdetecttransmitqueue<07>nontcp
ClearstheWREDconfigurationfornonTCPtraffic.
Commandmode:Interfaceport

Copyright Lenovo 2015

Chapter 4: Configuration Commands

351

Stacking Configuration
Astackisagroupofswitchesthatworktogetherasaunifiedsystem.Thenetwork
viewsastackofswitchesasasingleentity,identifiedbyasinglenetworkIP
address.TheStackingConfigurationcommandsareusedtoconfigureastackand
todefinetheBackupinterface.
TheStackingConfigurationcommandsareavailableonlyafterStackingisenabled
andtheswitchisrebooted.Fordetails,seeStackingBootOptionsonpage 598.
Note: Thefollowingcommandsareavailableonlyonthemasterswitch.
Table 172. StackingConfigurationOptions
Command Syntax and Usage

connect <attachedswitchnumber(116)>
Providesconsoleaccesstomemberswitchesfromthemasterswitch.
Commandmode:PrivilegedEXEC
stackbackup<configuredswitchnumber(18)>
Definesthebackupswitchinthestack,basedonitsconfiguredswitchnumber.
Commandmode:Globalconfiguration
nostackbackup
Deletesthebackupswitchconfiguration.
Commandmode:Globalconfiguration
stackbind
Automaticallyassingsconfiguredswitchnumberstoallattachedswitches.
Commandmode:Globalconfiguration
stackname<163characters>
Definesanameforthestack.
Commandmode:Globalconfiguration
nostackname
Removesthestackname.
Commandmode:Globalconfiguration
showstackswitchnumber[<configuredswitchnumber(18)>]
Displaysthecurrentstackingparameters.
Commandmode:All

352

G8052 Command Reference for N/OS 8.3

Stacking Switch Configuration


ThefollowingtabledescribestheStackingSwitchcommands.
Note: Thefollowingcommandsareavailableonlyonthemasterswitch.
Table 173. StackingSwitchOptions
Command Syntax and Usage

stackswitchnumber<configuredswitchnumber(18)>bind
<attachedswitchnumber(116)>
Bindstheselectedswitchtothestack,basedonitsattachedswitchnumber.
Note:Bindingtheswitchtoastackresetsportnumbering.
Commandmode:Globalconfiguration
stackswitchnumber<configuredswitchnumber(18)>description
<163characters>
Setsadescriptionfortheconfiguredswitch.
Commandmode:Globalconfiguration
nostackswitchnumber<configuredswitchnumber(18)>description
Deletesthedescriptionoftheconfiguredswitch.
Commandmode:Globalconfiguration
stackswitchnumber<configuredswitchnumber(18)>mac<MACaddress>
Bindstheselectedswitchtothestack,basedonitsMACaddress.
Note:Bindingtheswitchtoastackresetsportnumbering.
Commandmode:Globalconfiguration
nostackswitchnumber<configuredswitchnumber(18)>
Deletestheselectedswitchfromthestack.
Commandmode:Globalconfiguration
showstackattachedswitches
Displaysthecurrentstackingswitchparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

353

Quality of Service Configuration


QualityofService(QoS)commandsconfigurethe802.1ppriorityvalueand
DiffServCodePointvalueofincomingpackets.Thisallowsyoutodifferentiate
betweenvarioustypesoftraffic,andprovidedifferentprioritylevels.

802.1p Configuration
ThisfeatureprovidestheG8052thecapabilitytofilterIPpacketsbasedonthe
802.1pbitsinthepacketsVLANheader.The802.1pbitsspecifytheprioritythat
youshouldgivetothepacketswhileforwardingthem.Thepacketswithahigher
(nonzero)prioritybitsaregivenforwardingpreferenceoverpacketswith
numericallylowerprioritybitsvalue.
Table 174. 802.1pConfigurationOptions
Command Syntax and Usage

qostransmitqueuemapping<priority(07)><COSqnumber(07)>
Mapsthe802.1pprioritytotheClassofServicequeue(COSq)priority.Enter
the802.1ppriorityvalue,followedbytheClassofServicequeuethathandles
thematchingtraffic.
Commandmode:Globalconfiguration
defaultqostransmitqueuemapping
Resetsthe802.1ppacketprioritymappingtoitsdefaultvalues.
Commandmode:Globalconfiguration
qostransmitqueuenumbercos{2|8}
SetsthenumberofClassofServicequeues(COSq)forswitchports.
Dependingonthenumcossetting,thevalidCOSqrangeforthepriqand
qweightcommandsisasfollows:

Ifnumcosis2(thedefault),theCOSqrangeis01.

Ifnumcosis8,theCOSqrangeis07.

Youmustapply,saveandreboottheswitchtoactivatethenewconfiguration.
Note:Notavailableinstacking.
Commandmode:Globalconfiguration
qostransmitqueueweightcos<COSqnumber(07)><weight(015)>
ConfigurestheweightoftheselectedClassofServicequeue(COSq).Enterthe
queuenumber,followedbytheschedulingweight.
Commandmode:Globalconfiguration

354

G8052 Command Reference for N/OS 8.3

Table 174. 802.1pConfigurationOptions


Command Syntax and Usage

defaultqostransmitqueueweight
ResetstheweightsofClassofServicequeuestotheirdefaultvalues.
Commandmode:Globalconfiguration
showqostransmitqueue
Displaysthecurrent802.1pparameters.
Commandmode:All

DSCP Configuration
ThesecommandsmaptheDiffServCodePoint(DSCP)valueofincomingpackets
toanewvalueortoan802.1ppriorityvalue.
Table 175. DSCPConfigurationOptions
Command Syntax and Usage

qosdscpdot1pmapping<DSCP(063)><priority(07)>
MapstheDiffServCodepointvaluetoan802.1ppriorityvalue.Enterthe
DSCPvalue,followedbythecorresponding802.1pvalue.
Commandmode:Globalconfiguration
qosdscpdscpmapping<DSCP(063)><newDSCP(063)>
MapstheinitialDiffServCodePoint(DSCP)valuetoanewvalue.Enterthe
DSCPvalueofincomingpackets,followedbythenewvalue.
Commandmode:Globalconfiguration
[no]qosdscpremarking
GloballyenablesordisablesDSCPremarking.
Commandmode:Globalconfiguration
showqosdscp
DisplaysthecurrentDSCPparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

355

Control Plane Protection


Thesecommandsallowyoutolimitthenumberofselectedprotocolpackets
receivedbythecontrolplane(CP)oftheswitch.TheselimitshelpprotecttheCP
fromreceivingtoomanyprotocolpacketsinagiventimeperiod.
Table 176. ControlPlaneProtectionOptions
Command Syntax and Usage

qosprotocolpacketcontrolpacketqueuemap
<packetqueuenumber(047)><packettype>
Configuresapackettypetoassociatewitheachpacketqueuenumber.Entera
queuenumber,followedbythepackettype.Youmaymapmultiplepacket
typestoasinglequeue.Thefollowingpackettypesareallowed:

802.1x(IEEE802.1xpackets)

applicationcripackets(criticalpacketsofapplications)

arpbcast(ARPbroadcastpackets)

arpucast(ARPunicastreplypackets)

bgp(BGPpackets)

bpdu(SpanningTreeProtocolpackets)

ciscobpdu(CiscoSTPpackets)

destunknown(packetswithdestinationnotyetlearned)

dhcp(DHCPpackets)

ecp(ECPpackets)

icmp(ICMPpackets)

icmp6(ICMP6packets)

igmp(IGMPpackets)

ipv4miscellaneous(IPv4packetswithIPoptionsandTTLexception)

ipv6nd(IPv6NeighborDiscoverypackets)

lacp(LACP/LinkAggregationprotocolpackets)

lldp(LLDPpackets)

oflowcntrler(PacketshitOpenFlowsendtocontrollerfilter)

oflowdefault(PacketshitOpenFlowdefaultfilter)

oflowmgmt(PacketshitOpenFlowmanagementfilter)

ospf(OSPFpackets)

ospf3(OSPF3Packets)

pim(PIMpackets)

rip(RIPpackets)

system(systemprotocols,suchastftp,ftp,telnet,ssh)

udld(UDLDpackets)

vlag(VLAGpackets)

vrrp(VRRPpackets)

Commandmode:Globalconfiguration

356

G8052 Command Reference for N/OS 8.3

Table 176. ControlPlaneProtectionOptions(continued)


Command Syntax and Usage

noqosprotocolpacketcontrolpacketqueuemap<packettype>
Clearstheselectedpackettypefromitsassociatedpacketqueue.
Commandmode:Globalconfiguration
qosprotocolpacketcontrolratelimitpacketqueue
<packetqueuenumber(047)><110000>
Configuresthenumberofpacketspersecondallowedforeachpacketqueue.
Commandmode:Globalconfiguration
noqosprotocolpacketcontrolratelimitpacketqueue
<packetqueuenumber(047)>
Clearsthepacketrateconfiguredfortheselectedpacketqueue.
Commandmode:Globalconfiguration
showqosprotocolpacketcontrolinformationprotocol
Displaysofmappingofprotocolpackettypestoeachpacketqueuenumber.
Thestatusindicateswhethertheprotocolisrunningornotrunning.
Commandmode:All
showqosprotocolpacketcontrolinformationqueue
Displaysthepacketrateconfiguredforeachpacketqueue.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

357

Weighted Random Early Detection Configuration


WeightedRandomEarlyDetection(WRED)providescongestionavoidanceby
preemptivelydroppingpacketsbeforeaqueuebecomesfull.TheG8052
implementationofWREDdefinesTCPandnonTCPtrafficprofilesonaperport,
perCOSqueuebasis.Foreachport,youcandefineatransmitqueueprofilewith
thresholdsthatdefinepacketdropprobability.
ThesecommandsallowyoutoconfigureglobalWREDparameters.Forport
WREDcommands,seePortWREDConfigurationonpage 350.
Table 177. WREDConfigurationOptions
Command Syntax and Usage

[no]qosrandomdetectecnenable
EnablesordisablesExplicitCongestionNotification(ECN).WhenECNison,
theswitchmarkstheECNbitofthepacket(ifapplicable)insteadofdropping
thepacket.ECNawaredevicesarenotifiedofthecongestionandthose
devicescantakecorrectiveactions.
Note:ECNfunctionsonlyonTCPtraffic.
Commandmode:Globalconfiguration
[no]qosrandomdetectenable
EnablesordisablesRandomDetectionandavoidance.
Commandmode:Globalconfiguration
showqosrandomdetect
DisplayscurrentRandomDetectionandavoidanceparameters.
Commandmode:All

358

G8052 Command Reference for N/OS 8.3

WRED Transmit Queue Configuration


ThefollowingtabledescribestheWREDTransmitQueuecommands.
Table 178. WREDTransmitQueueOptions
Command Syntax and Usage

[no]qosrandomdetecttransmitqueue<07>enable
EnablesordisablestheWREDtransmitqueueconfiguration.
Commandmode:Globalconfiguration
qosrandomdetecttransmitqueue<07>nontcp
minthreshold<min.threshold(1100)>maxthreshold
<max.threshold(1100)>droprate<droprate(1100)>
ConfigurestheWREDthresholdsfornonTCPtraffic.
Commandmode:Globalconfiguration
qosrandomdetecttransmitqueue<07>tcp
minthreshold<min.threshold(1100)>maxthreshold
<max.threshold(1100)>droprate<droprate(1100)>
ConfigurestheWREDthresholdsforTCPtraffic.
Commandmode:Globalconfiguration
noqosrandomdetecttransmitqueue<07>{nontcp|tcp}
DeletestheWREDconfigurationfornonTCPorTCPtraffic.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

359

Access Control Configuration


UsethesecommandstocreateAccessControlLists.ACLsdefinematchingcriteria
usedforIPfilteringandQualityofServicefunctions.
ForinformationaboutassigningACLstoports,seePortACLConfigurationon
page 349.
Table 179. GeneralACLConfigurationOptions
Command Syntax and Usage

accesscontrolgroup<1640>
ConfiguresanACLGroup.Toviewcommandoptions,seepage 379.
Commandmode:Globalconfiguration
accesscontrollist<1640>
ConfiguresanAccessControlList.Toviewcommandoptions,seepage 361.
Commandmode:Globalconfiguration
accesscontrollist6<1128>
ConfiguresanAccessControlList.Toviewcommandoptions,seepage 371.
Commandmode:Globalconfiguration
accesscontrolmacl<1128>
ConfiguresanAccessControlList.Toviewcommandoptions,seepage 380.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>
ConfiguresanACLVLANmap.Toviewcommandoptions,seepage 384.
Commandmode:Globalconfiguration
showaccesscontrol
DisplaysthecurrentACLparameters.
Commandmode:All

360

G8052 Command Reference for N/OS 8.3

Access Control List Configuration


ThesecommandsallowyoutodefinefilteringcriteriaforeachAccessControlList
(ACL).
Table 180. ACLConfigurationOptions
Command Syntax and Usage

accesscontrollist<1640>action
{permit|deny|setpriority<07>}
ConfiguresafilteractionforpacketsthatmatchtheACLdefinitions.Youcan
choosetopermit(pass)ordeny(drop)packetsorsetthe802.1pprioritylevel.
Commandmode:Globalconfiguration
accesscontrollist<1640>egressportport<portaliasornumber>
ConfigurestheACLtofunctiononegresspackets.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>egressport
DisablestheACLtofunctiononegresspackets.
Commandmode:Globalconfiguration
[no]accesscontrollist<1640>log
EnablesordisablesloggingfortheAccessControlList.
Note:EnablingtheLOGfeatureneutralizesACLdenyfilteractionsforTelnet
andSSHtrafficthatisaddressedtotheswitchsLayer3interfaces.
Commandmode:Globalconfiguration
[no]accesscontrollist<1640>statistics
EnablesordisablesthestatisticscollectionfortheAccessControlList.
Commandmode:Globalconfiguration
defaultaccesscontrollist<1640>
ResetstheACLparameterstotheirdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrollist<1640>
DisplaysthecurrentACLparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

361

ACL Mirroring Configuration


ThesecommandsallowyoutodefineportmirroringforanACL.Packetsthat
matchtheACLaremirroredtothedestinationinterface.
Table 181. ACLPortMirroringOptions
Command Syntax and Usage

accesscontrollist<1640>mirrorport<portaliasornumber>
ConfiguresthedestinationtowhichpacketsthatmatchthisACLaremirrored.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>mirror
Removesallmirroredpackets.
Commandmode:Globalconfiguration
showaccesscontrollist<1640>mirror
DisplaysthecurrentportmirroringparametersfortheACL.
Commandmode:All

Ethernet Filtering Configuration


ThesecommandsallowyoutodefineEthernetmatchingcriteriaforanACL.
Table 182. EthernetFilteringConfigurationOptions
Command Syntax and Usage

accesscontrollist<1640>ethernet
destinationmacaddress<MAC address>[<MACmask>]
DefinesthedestinationMACaddressforthisACL.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>ethernet
destinationmacaddress
RemovesthedestinationMACaddressforthisACL.
Commandmode:Globalconfiguration
accesscontrollist<1640>ethernetethernettype
{arp|ip|ipv6|mpls|rarp|any|<other(0x6000xFFFF)>}
DefinestheEthernettypeforthisACL.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>ethernetethernettype
RemovestheEthernettypeforthisACL.
Commandmode:Globalconfiguration
accesscontrollist<1640>ethernetpriority<07>
DefinestheEthernetpriorityvaluefortheACL.
Commandmode:Globalconfiguration

362

G8052 Command Reference for N/OS 8.3

Table 182. EthernetFilteringConfigurationOptions


Command Syntax and Usage

noaccesscontrollist<1640>ethernetpriority
RemovestheEthernetpriorityvaluefortheACL.
Commandmode:Globalconfiguration
accesscontrollist<1640>ethernet
sourcemacaddress<MAC address>[<MACmask>]
DefinesthesourceMACaddressforthisACL.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>ethernetsourcemacaddress
RemovesthesourceMACaddressforthisACL.
Commandmode:Globalconfiguration
accesscontrollist<1640>ethernetvlan<VLANID(14094)>
[<VLANmask>]
DefinesaVLANnumberandmaskforthisACL.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>ethernetvlan
RemovesVLANnumberandmaskforthisACL.
Commandmode:Globalconfiguration
defaultaccesscontrollist<1640>ethernet
ResetsEthernetparametersfortheACLtotheirdefaultvalues.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>ethernet
RemovesEthernetparametersfortheACL.
Commandmode:Globalconfiguration
showaccesscontrollist<1640>ethernet
DisplaysthecurrentEthernetparametersfortheACL.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

363

IPv4 Filtering Configuration


ThesecommandsallowyoutodefineIPv4matchingcriteriaforanACL.
Table 183. IPversion4FilteringConfigurationOptions
Command Syntax and Usage

accesscontrollist<1640>ipv4destinationipaddress
<IPaddress>[<IPmask>]
DefinesadestinationIPaddressfortheACL.Ifdefined,trafficwiththis
destinationIPaddresswillmatchthisACL.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>ipv4destinationipaddress
DeletestheconfigureddestinationIPaddressforthespecifiedACL.
Commandmode:Globalconfiguration
accesscontrollist<1640>ipv4protocol<0255>
DefinesanIPprotocolfortheACL.Ifdefined,trafficfromthespecified
protocolmatchesthisfilter.Specifytheprotocolnumber.Listedbeloware
someofthewellknownprotocols.
Number

Name

1
2
6
17
89
112

icmp
igmp
tcp
udp
ospf
vrrp

Commandmode:Globalconfiguration
noaccesscontrollist<1640>ipv4protocol
DeletestheconfiguredIPprotocolforthespecifiedACL.
Commandmode:Globalconfiguration
accesscontrollist<1640>ipv4sourceipaddress
<IPaddress>[<IPmask>]
DefinesasourceIPaddressfortheACL.Ifdefined,trafficwiththissourceIP
addresswillmatchthisACL.SpecifyanIPaddressindotteddecimalnotation.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>ipv4sourceipaddress
DeletestheconfiguredsourceIPaddressforthespecifiedACL.
Commandmode:Globalconfiguration
accesscontrollist<1640>ipv4typeofservice<0255>
DefinesaTypeofService(ToS)valuefortheACL.Formoreinformationon
ToS,refertoRFC1340and1349.
Commandmode:Globalconfiguration

364

G8052 Command Reference for N/OS 8.3

Table 183. IPversion4FilteringConfigurationOptions


Command Syntax and Usage

noaccesscontrollist<1640>ipv4typeofservice
DeletestheconfiguredTypeofService(ToS)valueforthespecifiedACL.
Commandmode:Globalconfiguration
defaultaccesscontrollist<1640>ipv4
ResetstheIPv4parametersfortheACLtotheirdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrollist<1640>ipv4
DisplaysthecurrentIPv4parameters.
Commandmode:All

TCP/UDP Filtering Configuration


ThesecommandsallowyoutodefineTCP/UDPmatchingcriteriaforanACL.
Table 184. TCP/UDPFilteringConfigurationOptions
Command Syntax and Usage

accesscontrollist<1640>tcpudpsourceport
<165535>[<mask(0xFFFF)>]
DefinesasourceportfortheACL.Ifdefined,trafficwiththespecifiedTCPor
UDPsourceportwillmatchthisACL.Specifytheportnumber.Listedhereare
someofthewellknownports:
Number

Name

20
21
22
23
25
37
42
43
53
69
70
79
80

ftpdata
ftp
ssh
telnet
smtp
time
name
whois
domain
tftp
gopher
finger
http

Commandmode:Globalconfiguration
noaccesscontrollist<1640>tcpudpsourceport
DisablestheconfiguredsourceportforthespecifiedACL.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

365

Table 184. TCP/UDPFilteringConfigurationOptions


Command Syntax and Usage

accesscontrollist<1640>tcpudpdestinationport
<165535>[<mask(0xFFFF)>]
DefinesadestinationportfortheACL.Ifdefined,trafficwiththespecified
TCPorUDPdestinationportwillmatchthisACL.Specifytheportnumber,
justaswithsourceport.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>tcpudpdestinationport
DisablestheconfigureddestinationportforthespecifiedACL.
Commandmode:Globalconfiguration
accesscontrollist<1640>tcpudpflags<value(0x00x3f)>
[<mask(0x00x3f)>]
DefinesaTCP/UDPflagfortheACL.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>tcpudpflags
DisablestheconfiguredTCP/UDPflagforthespecifiedACL.
Commandmode:Globalconfiguration
defaultaccesscontrollist<1640>tcpudp
ResetstheTCP/UDPparametersfortheACLtotheirdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrollist<1640>tcpudp
DisplaysthecurrentTCP/UDPFilteringparameters.
Commandmode:All

366

G8052 Command Reference for N/OS 8.3

Packet Format Filtering Configuration


ThesecommandsallowyoutodefinePacketFormatmatchingcriteriaforanACL.
Table 185. PacketFormatFilteringConfigurationOptions
Command Syntax and Usage

accesscontrollist<1640>packetformat
ethernet{ethertype2|snap|llc}
DefinestheEthernetformatfortheACL.
Commandmode:Globalconfiguration
accesscontrollist<1640>packetformatip{ipv4|ipv6}
DefinestheIPformatfortheACL.
Commandmode:Globalconfiguration
accesscontrollist<1640>packetformattagging
{any|none|tagged}
DefinesthetaggingformatfortheACL.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>packetformat
{ethernet|ip|tagging}
DeletestheselectedformatforthespecifiedACL.
Commandmode:Globalconfiguration
defaultaccesscontrollist<1640>packetformat
ResetsPacketFormatparametersfortheACLtotheirdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrollist<1640>packetformat
DisplaysthecurrentPacketFormatparametersfortheACL.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

367

ACL Metering Configuration


ThesecommandsdefinetheAccessControlprofilefortheselectedACL.
Table 186. ACLMeteringConfigurationOptions
Command Syntax and Usage

accesscontrollist<1640>meteraction{drop|pass}
ConfigurestheACLMetertoeitherdroporpassoutofprofiletraffic.
Commandmode:Globalconfiguration
accesscontrollist<1640>metercommittedrate<6410000000>
Configuresthecommittedrate,inkilobitspersecond.Thecommittedrate
mustbeamultipleof 64.
Commandmode:Globalconfiguration
[no]accesscontrollist<1640>meterenable
EnablesordisablesACLMetering.
Commandmode:Globalconfiguration
accesscontrollist<1640>metermaximumburstsize<324096>
Configuresthemaximumburstsize,inkilobits.Enteroneofthefollowing
valuesformbsize:32,64,128,256,512,1024,2048,4096.
Commandmode:Globalconfiguration
defaultaccesscontrollist<1640>meter
SetstheACLmeterconfigurationtoitsdefaultvalues.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>meter
DisablestheselectedACLmeter.
Commandmode:Globalconfiguration
showaccesscontrollist<1640>meter
DisplayscurrentACLMeteringparameters.
Commandmode:All

368

G8052 Command Reference for N/OS 8.3

ACL Re-Mark Configuration


YoucanchoosetoremarkIPheaderdatafortheselectedACL.Youcanconfigure
differentremarkvalues,basedonwhetherpacketsfallwithintheACLMetering
profile,oroutoftheACLMeteringprofile.
Table 187. ACLReMarkingConfigurationOptions
Command Syntax and Usage

defaultaccesscontrollist<1640>remark
SetstheACLremarkparameterstotheirdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrollist<1640>remark
Displayscurrentremarkparameters.
Commandmode:All

Re-Marking In-Profile Configuration


ThefollowingtabledisplaysReMarkingInProfileconfigurationcommands:
Table 188. ACLReMarkingInProfileOptions
Command Syntax and Usage

accesscontrollist<1640>remarkdot1p<07>
Remarksthe802.1pvalue.Thevalueistheprioritybitsinformationinthe
packetstructure.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>remarkdot1p
Disablestheuseof802.1ppriorityforinprofiletraffic.
Commandmode:Globalconfiguration
accesscontrollist<1640>remarkinprofiledscp<063>
RemarkstheDSCPvalueforinprofiletraffic.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>remarkinprofile[dscp]
Deletestheremarkinprofileconfiguration.Thedscpoptiononlydisables
theuseofDSCPforinprofiletraffic.
Commandmode:Globalconfiguration
[no]accesscontrollist<1640>remarkusetosprecedence
EnablesordisablesmappingofTOS(TypeofService)priorityto802.1p
priorityforinprofilepackets.Whenenabled,theTOSvalueisusedtosetthe
802.1pvalue.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

369

Re-Marking Out-Profile Configuration


ThefollowingtabledisplaysReMarkingOutProfileconfigurationcommands:
Table 189. ACLReMarkingOutofProfileOptions
Command Syntax and Usage

accesscontrollist<1640>remarkoutprofiledscp<063>
RemarkstheDSCPvalueonoutofprofilepacketsfortheACL.
Commandmode:Globalconfiguration
noaccesscontrollist<1640>remarkoutprofile
Disablesremarkingonoutofprofiletraffic.
Commandmode:Globalconfiguration

370

G8052 Command Reference for N/OS 8.3

ACL IPv6 Configuration


ThesecommandsallowyoutodefinefilteringcriteriaforeachIPv6AccessControl
List(ACL).
Table 190. IPv6ACLOptions
Command Syntax and Usage

accesscontrollist6<1128>action{permit|deny|
|setpriority<07>}
ConfiguresafilteractionforpacketsthatmatchtheACLdefinitions.Youcan
choosetopermit(pass)ordeny(drop)packetsorsetthe802.1pprioritylevel.
Commandmode:Globalconfiguration
accesscontrollist6<1128>egressportport<portaliasornumber>
ConfigurestheACLtofunctiononegresspackets.
Commandmode:Globalconfiguration
noaccesscontrollist6<1128>egressportport
DisablestheACLtofunctiononegresspackets.
Commandmode:Globalconfiguration
[no]accesscontrollist6<1128>log
EnablesordisablesAccessControlListlogging.
Commandmode:Globalconfiguration
[no]accesscontrollist6<1128>statistics
EnablesordisablesthestatisticscollectionfortheAccessControlList.
Commandmode:Globalconfiguration
defaultaccesscontrollist6<1128>
ResetstheACLparameterstotheirdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrollist6<1128>
DisplaysthecurrentACLparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

371

IPv6 Filtering Configuration


ThesecommandsallowyoutodefineIPv6matchingcriteriaforanACL.
Table 191. IPversion6FilteringOptions
Command Syntax and Usage

accesscontrollist6<1128>ipv6destinationaddress
<IPv6address>[<prefixlength(1128)>]
DefinesadestinationIPv6addressfortheACL.Ifdefined,trafficwiththis
destinationaddresswillmatchthisACL.
Commandmode:Globalconfiguration
noaccesscontrollist6<1128>ipv6destinationaddress
DeletestheconfigureddestinationIPv6addressforthespecifiedACL.
Commandmode:Globalconfiguration
accesscontrollist6<1128>ipv6flowlabel<01048575>
DefinestheflowlabelfortheACL.Ifdefined,trafficwiththisflowlabelwill
matchthisACL.
Commandmode:Globalconfiguration
noaccesscontrollist6<1128>ipv6flowlabel
DeletestheconfiguredflowlabelforthespecifiedACL.
Commandmode:Globalconfiguration
accesscontrollist6<1128>ipv6nextheader<0255>
DefinesthenextheadervaluefortheACL.Ifdefined,trafficwiththisnext
headervaluewillmatchthisACL.
Commandmode:Globalconfiguration
noaccesscontrollist6<1128>ipv6nextheader
DeletestheconfigurednextheaderforthespecifiedACL.
Commandmode:Globalconfiguration
accesscontrollist6<1128>ipv6sourceaddress
<IPv6address>[<prefixlength(1128)>]
DefinesasourceIPv6addressfortheACL.Ifdefined,trafficwiththissource
addresswillmatchthisACL.
Commandmode:Globalconfiguration
noaccesscontrollist6<1128>ipv6sourceaddress
DeletestheconfiguredsourceIPv6addressforthespecifiedACL.
Commandmode:Globalconfiguration
accesscontrollist6<1128>ipv6trafficclass<0255>
DefinesthetrafficclassfortheACL.Ifdefined,trafficwiththistrafficclasswill
matchthisACL.
Commandmode:Globalconfiguration

372

G8052 Command Reference for N/OS 8.3

Table 191. IPversion6FilteringOptions


Command Syntax and Usage

noaccesscontrollist6<1128>ipv6trafficclass
DeletestheconfiguredtrafficclassforthespecifiedACL.
Commandmode:Globalconfiguration
defaultaccesscontrollist6<1128>ipv6
ResetstheIPv6parametersfortheACLtotheirdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrollist6<1128>ipv6
DisplaysthecurrentIPv6parameters.
Commandmode:All

IPv6 TCP/UDP Filtering Configuration


ThesecommandsallowsyoutodefineTCP/UDPmatchingcriteriaforanACL.
Table 192. IPv6ACLTCP/UDPFilteringOptions
Command Syntax and Usage

accesscontrollist6<1128>tcpudpsourceport
<sourceportnumber(165535)>[<mask(0xFFFF)>]
DefinesasourceportfortheACL.Ifdefined,trafficwiththespecifiedTCPor
UDPsourceportwillmatchthisACL.Specifytheportnumber.Listedhereare
someofthewellknownports:
Number

Name

20
21
22
23
25
37
42
43
53
69
70
79
80

ftpdata
ftp
ssh
telnet
smtp
time
name
whois
domain
tftp
gopher
finger
http

Commandmode:Globalconfiguration
noaccesscontrollist6<1128>tcpudpsourceport
DeletestheconfiguredIPv6sourceportforthespecifiedACL.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

373

Table 192. IPv6ACLTCP/UDPFilteringOptions


Command Syntax and Usage

accesscontrollist6<1128>tcpudpdestinationport
<destinationportnumber(165535)>[<mask(0xFFFF)>]
DefinesadestinationportfortheACL.Ifdefined,trafficwiththespecified
TCPorUDPdestinationportwillmatchthisACL.Specifytheportnumber,
justaswithsourceportabove.
Commandmode:Globalconfiguration
noaccesscontrollist6<1128>tcpudpdestinationport
DeletestheconfiguredIPv6destinationportforthespecifiedACL.
Commandmode:Globalconfiguration
accesscontrollist6<1128>tcpudpflags<value(0x00x3f)>
[<mask(0x00x3f)>]
DefinesaTCP/UDPflagfortheACL.
Commandmode:Globalconfiguration
noaccesscontrollist6<1128>tcpudpflags
DeletestheconfiguredTCP/UDPflagforthespecifiedACL.
Commandmode:Globalconfiguration
defaultaccesscontrollist6<1128>tcpudp
ResetstheTCP/UDPparametersfortheACLtotheirdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrollist6<1128>tcpudp
DisplaysthecurrentTCP/UDPFilteringparameters.
Commandmode:All

374

G8052 Command Reference for N/OS 8.3

IPv6 Re-Mark Configuration


YoucanchoosetoremarkIPheaderdatafortheselectedACL.Youcanconfigure
differentremarkvalues,basedonwhetherpacketsfallwithintheACLmetering
profile,oroutoftheACLmeteringprofile.
Table 193. IPv6ReMarkingInProfileOptions
Command Syntax and Usage

defaultaccesscontrollist6<1128>remark
SetstheACLremarkparameterstotheirdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrollist6<1128>remark
Displayscurrentremarkparameters.
Commandmode:All

IPv6 Re-Marking In-Profile Configuration


ThefollowingtabledisplaysIPv6ReMarkingInProfileconfigurationcommands:
Table 194. IPv6ACLReMarkingInProfileOptions
Command Syntax and Usage

accesscontrollist6<1128>remarkdot1p<07>
Remarksthe802.1pvalue.Thevalueistheprioritybitsinformationinthe
packetstructure.
Commandmode:Globalconfiguration
noaccesscontrol6list6<1128>remarkdot1p
Disablestheuseof802.1ppriorityforinprofiletraffic.
Commandmode:Globalconfiguration
accesscontrollist6<1128>remarkinprofiledscp<063>
RemarkstheDSCPvalueforinprofiletraffic.
Commandmode:Globalconfiguration
noaccesscontrollist6<1128>remarkinprofile[dscp]
Deletestheremarkinprofileconfiguration.Thedscpoptiononlydisables
theuseofDSCPforinprofiletraffic.
Commandmode:Globalconfiguration
[no]accesscontrollist6<1128>remarkusetosprecedence
EnablesordisablesmappingofTOS(TypeofService)priorityto802.1p
priorityforinprofilepackets.Whenenabled,theTOSvalueisusedtosetthe
802.1pvalue.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

375

IPv6 Re-Marking Out-Profile Configuration


ThefollowingtabledisplaysIPv6ReMarkingOutProfileconfiguration
commands:
Table 195. IPv6ACLReMarkingOutofProfileOptions
Command Syntax and Usage

accesscontrollist6<1128>remarkoutprofiledscp<063>
RemarkstheDSCPvalueonoutofprofilepacketsfortheACL.
Commandmode:Globalconfiguration
noaccesscontrollist6<1128>remarkoutprofile
Disablesremarkingonoutofprofiletraffic.
Commandmode:Globalconfiguration
showaccesscontrollist6<1128>remark
Displayscurrentremarkparameters.
Commandmode:All

376

G8052 Command Reference for N/OS 8.3

IPv6 Metering Configuration


ThesecommandsdefinetheAccessControlprofilefortheselectedACL.
Table 196. IPv6MeteringOptions
Command Syntax and Usage

accesscontrollist6<1128>meteraction{drop|pass}
ConfigurestheACLMetertoeitherdroporpassoutofprofiletraffic.
Commandmode:Globalconfiguration
accesscontrollist6<1128>metercommittedrate<6410000000>
Configuresthecommittedrate,inkilobitspersecond.Thecommittedrate
mustbeamultipleof64.
Commandmode:Globalconfiguration
[no]accesscontrollist6<1128>meterenable
EnablesordisablesACLMetering.
Commandmode:Globalconfiguration
accesscontrollist6<1128>metermaximumburstsize<324096>
Configuresthemaximumburstsize,inkilobits.Enteroneofthefollowing
valuesformbsize:32,64,128,256,512,1024,2048,4096.
Commandmode:Globalconfiguration
defaultaccesscontrollist6<1128>meter
SetstheACLmeterconfigurationtoitsdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrollist6<1128>meter
DisplayscurrentACLMeteringparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

377

ACL Log Configuration


ThesecommandsallowyoutodefinefilteringcriteriaforeachIPv6AccessControl
List(ACL)log.
Table 197. ACLLogConfigurationOptions
Command Syntax and Usage

[no]accesscontrollist<1640>log
EnablesordisablesAccessControlListlogging.
Commandmode:Globalconfiguration
[no]accesscontrollist6<1128>log
EnablesordisablesIPv6AccessControlListlogging.
Commandmode:Globalconfiguration
accesscontrolloginterval<5600>
Setsthefilterlogdisplayingintervalinseconds.
Thedefaultsettingis300seconds.
Commandmode:Globalconfiguration
accesscontrollogratelimit<11000>
Setsthefilterlogqueueratelimitinpacketspersecond(pps).
Thedefaultsettingsis10pps.
Commandmode:Globalconfiguration
defaultaccesscontrollog[interval|ratelimit]
Resetsthespecifiedfilterlogparameterstotheirdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrollog
DisplaysthecurrentACLlogparameters.
Commandmode:All

378

G8052 Command Reference for N/OS 8.3

ACL Group Configuration


ThesecommandsallowyoutocompileoneormoreACLsintoanACLgroup.
OnceyoucreateanACLgroup,youcanassigntheACLgrouptooneormore
ports.
Table 198. ACLGroupConfigurationCommands
Command Syntax and Usage

[no]accesscontrolgroup<1640>list<1640>
AddsorremovestheselectedIPv4ACLtotheACLgroup.
Commandmode:Globalconfiguration
[no]accesscontrolgroup<1640>list6<1128>
AddsorremovestheselectedIPv6ACLtotheACLgroup.
Commandmode:Globalconfiguration
showaccesscontrolgroup<1640>
DisplaysthecurrentACLgroupparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

379

Management ACL Configuration


ThesecommandsallowyoutodefinefilteringcriteriaforeachmanagementACL
(MACL).
Note: ManagementACLs(MACLs)arenotsupportedonthemanagementport,
nolyondataports.
Table 199. MACLConfigurationOptions
Command Syntax and Usage

accesscontrolmacl<1128>action
{permit|deny|setpriority<07>}
ConfiguresafilteractionforpacketsthatmatchtheMACLdefinitions.You
canchoosetopermit(pass),deny(drop)packetsorsetthe802.1pprioritylevel
(07).
Commandmode:Globalconfiguration
[no]accesscontrolmacl<1128>enable
EnablesordisablesthemanagementACL.
Commandmode:Globalconfiguration
[no]accesscontrolmacl<1128>statistics
EnablesordisablesthestatisticscollectionfortheMACL.
Commandmode:Globalconfiguration
showaccesscontrolmacl<1128>
DisplaysthecurrentMACLparameters.
Commandmode:All

MACL IPv4 Filtering Configuration


ThesecommandsallowyoutodefineIPv4matchingcriteriaforanMACL.
Table 200. IPversion4FilteringConfigurationOptions
Command Syntax and Usage

accesscontrolmacl<1128>ipv4destinationipaddress
<IPaddress>[<IPmask>]
DefinesadestinationIPaddressfortheMACL.Ifdefined,trafficwiththis
destinationIPaddresswillmatchthisMACL.
Commandmode:Globalconfiguration
noaccesscontrolmacl<1128>ipv4destinationipaddress
DeletestheconfigureddestinationIPaddressforthespecifiedMACL.
Commandmode:Globalconfiguration

380

G8052 Command Reference for N/OS 8.3

Table 200. IPversion4FilteringConfigurationOptions


Command Syntax and Usage

accesscontrolmacl<1128>ipv4protocol<0255>
DefinesanIPprotocolfortheMACL.Ifdefined,trafficfromthespecified
protocolmatchesthisfilter.Specifytheprotocolnumber.Listedbeloware
someofthewellknownprotocols.
Number

Name

1
2
6
17
89
112

icmp
igmp
tcp
udp
ospf
vrrp

Commandmode:Globalconfiguration
noaccesscontrolmacl<1128>ipv4protocol
DeletestheconfiguredIPprotocolforthespecifiedMACL.
Commandmode:Globalconfiguration
accesscontrolmacl<1128>ipv4sourceipaddress
<IPaddress>[<IPmask>]
DefinesasourceIPaddressfortheMACL.Ifdefined,trafficwiththissource
IPaddresswillmatchthisMACL.SpecifyanIPaddressindotteddecimal
notation.
Commandmode:Globalconfiguration
noaccesscontrolmacl<1128>ipv4sourceipaddress
DeletestheconfiguredsourceIPaddressforthespecifiedMACL.
Commandmode:Globalconfiguration
noaccesscontrolmacl<1128>ipv4
RemovesalltheIPv4parametersforthespecifiedMACL.
Commandmode:Globalconfiguration
showaccesscontrolmacl<1128>ipv4
DisplaysthecurrentIPv4parameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

381

MACL TCP/UDP Filtering Configuration


ThesecommandsallowyoutodefineTCP/UDPmatchingcriteriaforanMACL.
Table 201. TCP/UDPFilteringConfigurationOptions
Command Syntax and Usage

accesscontrolmacl<1128>tcpudpsourceport
<165535>[<mask(0xFFFF)>]
DefinesasourceportfortheMACL.Ifdefined,trafficwiththespecifiedTCP
orUDPsourceportwillmatchthisMACL.Specifytheportnumber.Listed
belowaresomeofthewellknownports:
NumberName
20
21
22
23
25
37
42
43
53
69
70
79
80

ftpdata
ftp
ssh
telnet
smtp
time
name
whois
domain
tftp
gopher
finger
http

Commandmode:Globalconfiguration
noaccesscontrolmacl<1128>tcpudpsourceport
DeletestheconfiguredsourceportforthespecifiedMACL.
Commandmode:Globalconfiguration
accesscontrolmacl<1128>tcpudpdestinationport
<165535>[<mask(0xFFFF)>]
DefinesadestinationportfortheMACL.Ifdefined,trafficwiththespecified
TCPorUDPdestinationportwillmatchthisMACL.Specifytheportnumber,
justaswithsourceportabove.
Commandmode:Globalconfiguration
noaccesscontrolmacl<1128>tcpudpdestinationport
DeletestheconfigureddestinationportforthespecifiedMACL.
Commandmode:Globalconfiguration
accesscontrolmacl<1128>tcpudpflags<value(0x00x3f)>
[<mask(0x00x3f)>]
DefinesaTCP/UDPflagfortheMACL.
Commandmode:Globalconfiguration

382

G8052 Command Reference for N/OS 8.3

Table 201. TCP/UDPFilteringConfigurationOptions


Command Syntax and Usage

noaccesscontrolmacl<1128>tcpudpflags
DeletestheconfiguredTCP/UDPflagforthespecifiedMACL.
Commandmode:Globalconfiguration
defaultaccesscontrolmacl<1128>tcpudp
ResetstheTCP/UDPparametersfortheMACLtotheirdefaultvalues.
Commandmode:Globalconfiguration
showaccesscontrolmacl<1128>tcpudp
DisplaysthecurrentTCP/UDPFilteringparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

383

VMAP Configuration
AVLANMapisanAccessControlList(ACL)thatcanbeassignedtoaVLANora
VMgroupinsteadofaport.InavirtualizedenvironmentwhereVirtualMachines
movebetweenphysicalservers,VLANMapsallowyoutocreatetrafficfiltering
andmeteringpoliciesassociatedwithaVMsVLAN.
FormoreinformationaboutVLANMapconfigurationcommands,seeAccess
ControlListConfigurationonpage 361.
FormoreinformationaboutassigningVLANMapstoaVLAN,seeVLAN
Configurationonpage 434.
FormoreinformationaboutassigningVLANMapstoaVMgroup,seeVM
GroupConfigurationonpage 556.
ThefollowingtableliststhegeneralVMAPconfigurationcommands.
Table 202. VMAPConfigurationOptions
Command Syntax and Usage

accesscontrolvmap<1128>action{permit|deny|
|setpriority<07>}
ConfiguresafilteractionforpacketsthatmatchtheVMAPdefinitions.You
canchoosetopermit(pass)ordeny(drop)packetsorsetthe802.1ppriority
level.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>egressport<portaliasornumber>
ConfigurestheVMAPtofunctiononegresspackets.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>egressport
DisablestheVMAPtofunctiononegresspackets.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>ethernet
destinationmacaddress<MACaddress>[<MACmask>]
DefinesthedestinationMACaddressfortheVMAP.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>ethernet
destinationmacaddress
RemovesthedestinationMACaddressforthespecifiedVMAP.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>ethernetethernettype
{<0x6000xFFFF>|any|arp|ip|ipv6|mpls|rarp}
DefinestheEthernettypefortheVMAP.
Commandmode:Globalconfiguration

384

G8052 Command Reference for N/OS 8.3

Table 202. VMAPConfigurationOptions


Command Syntax and Usage

noaccesscontrolvmap<1128>ethernetethernettype
RemovestheEthernettypeforthespecifiedVMAP.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>ethernetpriority<07>
DefinestheEthernetpriorityvaluefortheVMAP.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>ethernetpriority
RemovestheEthernetpriorityforthespecifiedVMAP.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>ethernetsourcemacaddress
<MACaddress>[<MACmask>]
DefinesthesourceMACaddressfortheVMAP.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>ethernetsourcemacaddress
RemovesthesourceMACaddressforthespecifiedVMAP.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>ethernetvlan<VLANID(14094)>
[<VLANmask>]
DefinesaVLANnumberandmaskfortheVMAP.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>ethernetvlan
RemovestheVLANnumberandmaskforthespecifiedVMAP.
Commandmode:Globalconfiguration
defaultaccesscontrolvmap<1128>ethernet
ResetsEthernetparametersfortheVMAPtotheirdefaultvalues.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>ethernet
ResetsEthernetheaderparametersfortheVMAPtotheirdefaultvalues.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>ipv4destinationipaddress
<IPv4address>[<IPv4mask>]
EnablesfilteringofVMAPstatisticscollectionbasedondestinationIPaddress.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

385

Table 202. VMAPConfigurationOptions


Command Syntax and Usage

noaccesscontrolvmap<1128>ipv4destinationipaddress
DisablesfilteringofVMAPstatisticscollectionbasedondestiantionIP
address.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>ipv4protocol<0255>
EnablesfilteringofVMAPstatisticscollectionbasedonprotocol.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>ipv4protocol
DisablesfilteringofVMAPstatisticscollectionbasedonprotocol.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>ipv4sourceipaddress
<IPv4address>[<IPv4mask>]
EnablesfilteringofVMAPstatisticscollectionbasedonsourceIPaddress.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>ipv4sourceipaddress
DisablesfilteringofVMAPstatisticscollectionbasedonsourceIPaddress.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>ipv4typeofservice<0255>
EnablesfilteringofVMAPstatisticscollectionbasedontypeofservice.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>ipv4typeofservice
DisablesfilteringofVMAPstatisticscollectionbasedontypeofservice.
Commandmode:Globalconfiguration
defaultaccesscontrolvmap<1128>ipv4
ResetstheIPv4parametersfortheVMAPtotheirdefaultvalues.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>meteraction{drop|pass}
SetsVMAPportmeteringtodroporpassoutofprofiletraffic.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>metercommittedrate<6410000000>
SetstheVMAPportmeteringcontrolrateinkilobitspersecond.
Commandmode:Globalconfiguration
[no]accesscontrolvmap<1128>meterenable
EnablesordisablesVMAPportmetering.
Commandmode:Globalconfiguration

386

G8052 Command Reference for N/OS 8.3

Table 202. VMAPConfigurationOptions


Command Syntax and Usage

accesscontrolvmap<1128>metermaximumburstsize<324096>
SetstheVMAPportmeteringmaximumburstsizeinkilobits.Thefollowing
eightvaluesareallowed:

32

64

128

256

512

1024

2048

4096

Commandmode:Globalconfiguration
defaultaccesscontrolvmap<1128>meter
ResetstheVMAPmeterconfigurationtoitsdefaultvalues.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>mirrorport<portaliasornumber>
Setsthespecifiedportasthemirrortarget.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>mirror
DisablesVMAPmirroring.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>packetformatethernet
{ethernettype2|llc|snap}
Setstofilterthespecifiedethernetpacketformattype.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>packetformatip{ipv4|ipv6}
SetstofilterthespecifiedIPpacketformattype.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>packetformattagging{any|none|
|tagged}
Setstofilterthebasedonpackettagging.Theoptionsare:

any:Filtertagged&untaggedpackets

none:Filteronlyuntaggedpackets

tagged:Filteronlytaggedpackets

Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

387

Table 202. VMAPConfigurationOptions


Command Syntax and Usage

noaccesscontrolvmap<1128>packetformat{ethernet|ip|
|tagging}
Disablesfilteringbasedonthespecifiedpacketformat.
Commandmode:Globalconfiguration
defaultaccesscontrolvmap<1128>packetformat
ResetstheVMAPpacketformatconfigurationtoitsdefaultvalues.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>remarkdot1p<07>
SetstheVMAPremarkconfigurationuserupdatepriority.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>remarkdot1p
Disablestheuseofdot1pforinprofiletrafficVMAPremarkconfiguration.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>remark{inprofile|outprofile}
dscp<063>
SetstheVMAPremarkconfigurationuserupdatepriorityforinprofileor
outprofiletraffic.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>remark{inprofile|
|outprofile}
Removesallremarkinprofileoroutprofilesettings.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>remarkinprofiledscp
DisablestheuseofDSCPforinprofiletraffic.
Commandmode:Globalconfiguration
[no]accesscontrolvmap<1128>remarkusetosprecedence
EnablesordisablestheuseoftheTOSprecedenceforinprofiletraffic.
Commandmode:Globalconfiguration
defaultaccesscontrolvmap<1128>remark
ResetstheVMAPremarkparameterstotheirdefaultvalues.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>remark
DisablesremarkingforthespecifiedVMAP.
Commandmode:Globalconfiguration

388

G8052 Command Reference for N/OS 8.3

Table 202. VMAPConfigurationOptions


Command Syntax and Usage

[no]accesscontrolvmap<1128>statistics
Enablesordisablesstatisticsforthisaccesscontrollist.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>tcpudp{sourceport|
|destinationport}<165535>[<portmask(0x00010xFFFF)>]
SetstheTCP/UDPfilteringsourceportordestinationportandportmaskfor
thisACL.
Commandmode:Globalconfiguration
accesscontrolvmap<1128>tcpudpflags<0x00x3F>
[<flagsmask(0x00x3F)>]
SetstheTCPflagsforthisACL.
Commandmode:Globalconfiguration
defaultaccesscontrolvmap<1128>tcpudp
ResetstheTCP/UDPparametersfortheVMAPtotheirdefaultvalues.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>tcpudp
RemovesTCP/UDPfilteringforthisACL.
Commandmode:Globalconfiguration
defaultaccesscontrolvmap<1128>
ResetstheVMAPparameterstotheirdefaultvalues.
Commandmode:Globalconfiguration
noaccesscontrolvmap<1128>
DeletesthespecifiedVMAP.
Commandmode:Globalconfiguration
showaccesscontrolvmap[<1128>]
DisplaysthecurrentVMAPparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

389

Port Mirroring
PortMirroringisdisabledbydefault.Formoreinformationaboutportmirroring
ontheG8052,seeAppendixA:TroubleshootingintheLenovoN/OS8.3
ApplicationGuide.
PortMirroringcommandsareusedtoconfigure,enableanddisablethemonitor
port.Whenenabled,networkpacketsbeingsentand/orreceivedonatargetport
areduplicatedandsenttoamonitorport.Byattachinganetworkanalyzertothe
monitorport,youcancollectdetailedinformationaboutyournetwork
performanceandusage.
Table 203. PortMirroringConfigurationOptions
Command Syntax and Usage

[no]portmirroringenable
Enablesordisablesportmirroring.
Commandmode:Globalconfiguration
showportmirroring
Displayscurrentsettingsofthemirroredandmonitoringports.
Commandmode:All

Port-Mirroring Configuration
ThefollowingtabledescribesthePortMirroringcommands.
Table 204. PortBasedPortMirroringConfigurationOptions
Command Syntax and Usage

portmirroringmonitorport<portaliasornumber>mirroringport
<portaliasornumber>{in|out|both}
Addstheporttobemirrored.Thiscommandalsoallowsyoutoenterthe
directionofthetraffic.Itisnecessarytospecifythedirectionbecause:
Ifthesourceportoftheframematchesthemirroredportandthemirrored
directionisingressorboth(ingressandegress),theframeissenttothe
monitoringport.
Ifthedestinationportoftheframematchesthemirroredportandthemirrored
directionisegressorboth,theframeissenttothemonitoringport.
Commandmode:Globalconfiguration
noportmirroringmonitorport<portaliasornumber>
[mirroringport<portaliasornumber>]
Removesthemonitorport.Themirroringportoptiononlyremovesthe
mirroredport.
Commandmode:Globalconfiguration
showportmirroring
Displaysthecurrentsettingsofthemonitoringport.
Commandmode:All

390

G8052 Command Reference for N/OS 8.3

Layer 2 Configuration
ThefollowingtabledescribesbasicLayer2Configurationcommands.The
followingsectionsprovidemoredetailedinformationandcommands.
Table 205. Layer2ConfigurationCommands
Command Syntax and Usage

vlan<VLANID(14094)>
EnterVLANconfigurationmode.IfthespecifiedVLAN(s)doesntexist,itwill
becreated.Toviewcommandoptions,seepage 434.
Commandmode:Globalconfiguration
showlayer2
DisplayscurrentLayer2parameters.
Commandmode:All

802.1X Configuration
ThesecommandsallowyoutoconfiguretheG8052asanIEEE802.1X
Authenticator,toprovideportbasednetworkaccesscontrol.
Table 206. 802.1xConfigurationOptions
Command Syntax and Usage

[no]dot1xenable
Globallyenablesordisables802.1X.
Commandmode:Globalconfiguration
showdot1x
Displayscurrent802.1Xparameters.
Commandmode:All
Thefollowingsectionsdescribethe802.1xconfigurationoptions:

Copyright Lenovo 2015

802.1XGlobalConfigurationonpage 392

802.1XGuestVLANConfigurationonpage 394

802.1XPortConfigurationonpage 395

Chapter 4: Configuration Commands

391

802.1X Global Configuration


Theglobal802.1Xcommandsallowyoutoconfigureparametersthataffectall
portsintheswitch.
Table 207. 802.1XGlobalConfigurationOptions
Command Syntax and Usage

dot1xmaxrequest<110>
Setsthemaximumnumberoftimestheauthenticatorretransmitsan
EAPRequestpackettothesupplicant(client).
Thedefaultvalueis2.
Commandmode:Globalconfiguration
dot1xmode{forceunauthorized|auto|forceauthorized}
Setsthetypeofaccesscontrolforallports:

forceunauthorizedtheportisunauthorizedunconditionally.

autotheportisunauthorizeduntilitissuccessfullyauthorizedbythe
RADIUSserver.

forceauthorizedtheportisauthorizedunconditionally,allowingall
traffic.

Thedefaultvalueisforceauthorized.
Commandmode:Globalconfiguration
dot1xquiettime<065535>
Setsthetime,inseconds,theauthenticatorwaitsbeforetransmittingan
EAPRequest/Identityframetothesupplicant(client)afteranauthentication
failureinthepreviousroundofauthentication.
Thedefaultvalueis60seconds.
Commandmode:Globalconfiguration
[no]dot1xreauthenticate
Setsthereauthenticationstatustoonoroff.
Thedefaultvalueisoff.
Commandmode:Globalconfiguration
dot1xreauthenticationinterval<1604800>
Setsthetime,inseconds,theauthenticatorwaitsbeforereauthenticatinga
supplicant(client)whenperiodicreauthenticationisenabled.
Thedefaultvalueis3600seconds.
Commandmode:Globalconfiguration

392

G8052 Command Reference for N/OS 8.3

Table 207. 802.1XGlobalConfigurationOptions(continued)


Command Syntax and Usage

dot1xservertimeout<165535>
Setsthetime,inseconds,theauthenticatorwaitsforaresponsefromthe
RADIUSserverbeforedeclaringanauthenticationtimeout.
Thedefaultvalueis30seconds.
ThetimeintervalbetweentransmissionsoftheRADIUSAccessRequest
packetcontainingthesupplicants(clients)EAPResponsepacketis
determinedbythecurrentsettingofradiusservertimeout<110>
(defaultis3seconds).
Commandmode:Globalconfiguration
dot1xsupplicanttimeout<165535>
Setsthetime,inseconds,theauthenticatorwaitsforanEAPResponsepacket
fromthesupplicant(client)beforeretransmittingtheEAPRequestpacket
fromtheauthenticationserver.
Thedefaultvalueis30seconds.
Commandmode:Globalconfiguration
dot1xtransmitinterval<165535>
Setsthetime,inseconds,theauthenticatorwaitsforanEAPResponse/Identity
framefromthesupplicant(client)beforeretransmittingan
EAPRequest/Identityframe.
Thedefaultvalueis30seconds.
Commandmode:Globalconfiguration
[no]dot1xvlanassign
SetsthedynamicVLANassignmentstatustoonoroff.
Thedefaultvalueisoff.
Commandmode:Globalconfiguration
defaultdot1x
Resetstheglobal802.1Xparameterstotheirdefaultvalues.
Commandmode:Globalconfiguration
showdot1x
Displayscurrentglobal802.1Xparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

393

802.1X Guest VLAN Configuration


The802.1XGuestVLANcommandsallowyoutoconfigureaGuestVLANfor
unauthenticatedports.TheGuestVLANprovideslimitedaccesstoswitch
functions.
Table 208. 802.1XGuestVLANConfigurationOptions
Command Syntax and Usage

[no]dot1xguestvlanenable
Enablesordisablesthe802.1XGuestVLAN.
Commandmode:Globalconfiguration
dot1xguestvlanvlan<VLANID(14094)>
ConfigurestheGuestVLANnumber.
Commandmode:Globalconfiguration
nodot1xguestvlanvlan
RemovestheGuestVLANnumber.
Commandmode:Globalconfiguration
showdot1x
Displayscurrent802.1Xparameters.
Commandmode:All

394

G8052 Command Reference for N/OS 8.3

802.1X Port Configuration


The802.1Xportcommandsallowsyoutoconfigureparametersthataffectthe
selectedportintheswitch.Thesesettingsoverridetheglobal802.1Xparameters.
Table 209. 802.1XPortOptions
Command Syntax and Usage

dot1xapplyglobal
Appliescurrentglobal802.1Xconfigurationparameterstotheport.
Commandmode:Interfaceport
dot1xmaxrequest<110>
Setsthemaximumnumberoftimestheauthenticatorretransmitsan
EAPRequestpackettothesupplicant(client).
Thedefaultvalueis2.
Commandmode:Interfaceport
dot1xmode{forceunauthorized|auto|forceauthorized}
Setsthetypeofaccesscontrolfortheport:

forceunauthorizedtheportisunauthorizedunconditionally.

autotheportisunauthorizeduntilitissuccessfullyauthorizedbythe
RADIUSserver.

forceauthorizedtheportisauthorizedunconditionally,allowingall
traffic.

Thedefaultvalueisforceauthorized.
Commandmode:Interfaceport
dot1xquiettime<065535>
Setsthetime,inseconds,theauthenticatorwaitsbeforetransmittingan
EAPRequest/Identityframetothesupplicant(client)afteranauthentication
failureinthepreviousroundofauthentication.
Thedefaultvalueis60seconds.
Commandmode:Interfaceport
[no]dot1xreauthenticate
Setsthereauthenticationstatustoonoroff.
Thedefaultvalueisoff.
Commandmode:Interfaceport
dot1xreauthenticationinterval<1604800>
Setsthetime,inseconds,theauthenticatorwaitsbeforereauthenticatinga
supplicant(client)whenperiodicreauthenticationisenabled.
Thedefaultvalueis3600seconds.
Commandmode:Interfaceport

Copyright Lenovo 2015

Chapter 4: Configuration Commands

395

Table 209. 802.1XPortOptions(continued)


Command Syntax and Usage

dot1xservertimeout<165535>
Setsthetime,inseconds,theauthenticatorwaitsforaresponsefromthe
RADIUSserverbeforedeclaringanauthenticationtimeout.
Thedefaultvalueis30seconds.
ThetimeintervalbetweentransmissionsoftheRADIUSAccessRequest
packetcontainingthesupplicants(clients)EAPResponsepacketis
determinedbythecurrentsettingoftheradiusservertimeout<110>
command.
Commandmode:Interfaceport
dot1xsupplicanttimeout<165535>
Setsthetime,inseconds,theauthenticatorwaitsforanEAPResponsepacket
fromthesupplicant(client)beforeretransmittingtheEAPRequestpacket
fromtheauthenticationserver.
Thedefaultvalueis30seconds.
Commandmode:Interfaceport
dot1xtransmitinterval<165535>
Setsthetime,inseconds,theauthenticatorwaitsforanEAPResponse/Identity
framefromthesupplicant(client)beforeretransmittingan
EAPRequest/Identityframe.
Thedefaultvalueis30seconds.
Commandmode:Interfaceport
[no]dot1xvlanassign
SetsthedynamicVLANassignmentstatustoonoroff.
Thedefaultvalueisoff.
Commandmode:Interfaceport
defaultdot1x
Resetsthe802.1Xportparameterstotheirdefaultvalues.
Commandmode:Interfaceport
showinterfaceport<portaliasornumber>dot1x
Displayscurrent802.1Xportparameters.
Commandmode:All

396

G8052 Command Reference for N/OS 8.3

Spanning Tree Configuration


LenovoN/OSsupportstheIEEE802.1D(2004)RapidSpanningTreeProtocol
(RSTP),theIEEE802.1Q(2003)MultipleSpanningTreeProtocol(MSTP),andPer
VLANRapidSpanningTreeProtocol(PVRST).STPisusedtopreventloopsinthe
networktopology.Upto128SpanningTreeGroupscanbeconfiguredonthe
switch.
Note: WhenVRRPisusedforactive/activeredundancy,STGmustbeenabled.
Table 210. SpanningTreeConfigurationOptions
Command Syntax and Usage

spanningtreeloopguard
EnablesSTPloopguard.STPloopguardpreventsportsfromforwarding
trafficifnoBPDUsarereceived.Portsareplacedintoaloopinconsistent
blockingstateuntilaBPDUisreceived.
Commandmode:Globalconfiguration
spanningtreemode[disable|mst|pvrst|rstp]
SelectsandenablesMultipleSpanningTreemode(mst),PerVLANRapid
SpanningTreemode(pvrst)orRapidSpanningTreemode(rstp).
ThedefaultmodeisPVRST.
Whenyouselectthedisableoption,theswitchgloballyturnsSpanningTree
off.Allportsareplacedintoforwardingstate.AnyBPDUsreceivedare
flooded.BPDUGuardisnotaffectedbythiscommand.
Commandmode:Globalconfiguration
[no]spanningtreepvstcompatibility
EnablesordisablesVLANtaggingofSpanningTreeBPDUs.
Thedefaultsettingisenabled.
Commandmode:Globalconfiguration
[no]spanningtreestgauto
EnablesordisablesVLANAutomaticSTGAssignment(VASA).When
enabled,eachtimeanewVLANisconfigured,theswitchwillautomatically
assignthenewVLANitsownSTG.Conversely,whenaVLANisdeleted,ifits
STGisnotassociatedwithanyotherVLAN,theSTGisreturnedtothe
availablepool.
Note:WhenusingVASA,amaximumnumberof127automaticallyassigned
STGsissupported.
Note:VASAappliesonlytoPVRSTmode.
Commandmode:Globalconfiguration
spanningtreeguardloop
EnablesSTPloopguard.STPloopguardpreventstheportfromforwarding
trafficifnoBPDUsarereceived.Theportisplacedintoaloopinconsistent
blockingstateuntilaBPDUisreceived.
Commandmode:Interfaceport/Interfaceportchannel

Copyright Lenovo 2015

Chapter 4: Configuration Commands

397

Table 210. SpanningTreeConfigurationOptions(continued)


Command Syntax and Usage

spanningtreeguardroot
EnablesSTProotguard.STProotguardenforcesthepositionoftheroot
bridge.IfthebridgereceivesasuperiorBPDU,theportisplacedintoa
rootinconsistentstate(listening).
Commandmode:Interfaceport/Interfaceportchannel
spanningtreeguardnone
DisablesSTPloopguardandrootguard.
Commandmode:Interfaceport/Interfaceportchannel
nospanningtreeguard
SetstheSpanningTreeguardparameterstotheirdefaultvalues.
Commandmode:Interfaceport/Interfaceportchannel
[no]spanningtreelinktype{p2p|shared|auto}
Definesthetypeoflinkconnectedtotheport,asfollows:

auto:Configurestheporttodetectthelinktype,andautomaticallymatch
itssettings.

p2p:ConfigurestheportforPointToPointprotocol.

shared:Configurestheporttoconnecttoasharedmedium(usuallya
hub).

Thedefaultlinktypeisauto.
Commandmode:Interfaceport/Interfaceportchannel
[no]spanningtreeportfast
Enablesordisablesthisportasportfastoredgeport.Anedgeportisnot
connectedtoabridgeandcanbeginforwardingtrafficassoonasthelinkisup.
Configuresserverportsasedgeports(enabled).
Note:Afteryouconfiguretheportasanedgeport,youmustdisabletheport
andthenreenabletheportforthechangetotakeeffect.
Commandmode:Interfaceport/Interfaceportchannel
[no]spanningtreepvstprotection
ConfiguresPVSTProtectionontheselectedport.Iftheportreceivesany
PVST+/PVRSTBPDUsitbecomeserrordisabled.PVSTProtectionworksonly
inMSTPmode.
Thedefaultsettingisdisabled.
Note:Notavailableinstacking.
Commandmode:Interfaceport/Interfaceportchannel

398

G8052 Command Reference for N/OS 8.3

Table 210. SpanningTreeConfigurationOptions(continued)


Command Syntax and Usage

showspanningtree
DisplaysSpanningTreeinformation,includingthestatus(onoroff),Spanning
Treemode(RSTP,PVRST,orMSTP)andVLANmembership.
InadditiontoseeingifSTGisenabledordisabled,youcanviewthefollowing
STGbridgeinformation:

Priority

Hellointerval

Maximumagevalue

Forwardingdelay

Agingtime

YoucanalsoseethefollowingportspecificSTGinformation:

Portaliasandpriority

Cost

State

Commandmode:All
showspanningtreeroot
DisplaystheSpanningTreeconfigurationontherootbridgeforeachSTP
instance.Fordetails,seepage 78.
Commandmode:All
showspanningtreeblockedports
ListstheportsblockedbyeachSTPinstance.
Commandmode:All
showspanningtree[vlan<VLANID(14094)>]bridge
DisplaysSpanningTreebridgeinformation.Fordetails,seepage 77.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

399

MSTP Configuration
Note: Upto32SpanningTreeGroupscanbeconfiguredinMSTPmode.MSTPis
turnedoffbydefaultandthedefaultSTPmodeisPVRST.
Table 211. MultipleSpanningTreeConfigurationOptions
Command Syntax and Usage

spanningtreemstconfiguration
EnablesMSTPconfigurationmode.
Commandmode:Globalconfiguration
nospanningtreemstconfiguration
ReturnstheMSTregiontoitsdefaultvalues:noVLANismappedtoanyMST
instanceandtherevisionnumberissetto1.
Commandmode:Globalconfiguration
[no]spanningtreemst<132>enable
EnablesordisablesthespecifiedMSTPinstance.
Commandmode:Globalconfiguration
spanningtreemst<032>priority<065535>
ConfigurestheCISTbridgepriorityforthespecifiedMSTPinstance.Thebridge
priorityparametercontrolswhichbridgeonthenetworkistheMSTProot
bridge.Tomakethisswitchtherootbridge,configurethebridgeprioritylower
thanallotherswitchesandbridgesonyournetwork.Thelowerthevalue,the
higherthebridgepriority.Therangeis0to65535,instepsof4096(0,4096,
8192...).
Thedefaultvalueis32768.
Commandmode:Globalconfiguration
nospanningtreemst<032>priority
ResetstheCISTbridgepriorityforthespecifiedMSTPinstancetothedefault
valueof32768.
Commandmode:Globalconfiguration
spanningtreemstforwardtime<430>
Configurestheforwarddelaytimeinseconds.Theforwarddelayparameter
specifiestheamountoftimethatabridgeporthastowaitbeforeitchangesfrom
thediscardingandlearningstatestotheforwardingstate.
Thedefaultvalueis15.
Commandmode:Globalconfiguration
spanningtreemstmaxage<640>
Configuresthemaximumageintervalinseconds.Themaximumage
parameterspecifiesthemaximumtimethebridgewaitswithoutreceivinga
configurationbridgeprotocoldataunitbeforeitreconfigurestheMSTP
network.
Thedefaultvalueis20seconds.
Commandmode:Globalconfiguration

400

G8052 Command Reference for N/OS 8.3

Table 211. MultipleSpanningTreeConfigurationOptions(continued)


Command Syntax and Usage

spanningtreemstmaxhops<460>
Configuresthemaximumnumberofbridgehopsapacketmaytraversebefore
itisdropped.
Thedefaultvalueis20hops.
Commandmode:Globalconfiguration
instance<032>vlan<VLANID(14094)>
MapthespecifiedVLANstotheSpanningTreeinstance.IfaVLANdoesnot
exist,itisnotcreatedautomatically.
Note:Thiscommandbecomesvisibleonlywhenthespanningtreemodeis
MSTP.
Commandmode:MSTconfiguration
noinstance<132>vlan{<VLANID(14094)>|all}
RemovethespecifiedVLANsorallVLANsfromtheSpanningTreeinstance.
Commandmode:MSTconfiguration
name<132characters>
ConfiguresanamefortheMSTPregion.AlldeviceswithinanMSTPregion
musthavethesameregionname.
Commandmode:MSTconfiguration
noname
ClearsthenameoftheMSTPregion.
Commandmode:MSTconfiguration
revision<065535>
ConfiguresarevisionnumberfortheMSTPregion.Therevisionisusedasa
numericalidentifierfortheregion.AlldeviceswithinanMSTPregionmust
havethesamerevisionnumber.
Commandmode:MSTconfiguration
norevision
ResetstherevisionnumberfortheMSTPregion.
Commandmode:MSTconfiguration
defaultspanningtreemst<032>
RestoresaSpanningTreeinstanceorrangeofinstancestodefault
configuration.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

401

Table 211. MultipleSpanningTreeConfigurationOptions(continued)


Command Syntax and Usage

showspanningtreemstconfiguration
DisplaysthecurrentMSTPsettings.
Commandmode:All
showspanningtreemst<032>information
DisplayscurrentMSTinformationforthespecifiedinstance.
Commandmode:All

MSTP Port Configuration


MSTPportparametersareusedtomodifyMSTPoperationonanindividualport
basis.MSTPparametersdonotaffectoperationofRSTP/PVRST.Foreachport,
RSTP/PVRST/MSTPisturnedonbydefault.
Table 212. MSTPPortConfigurationOptions
Command Syntax and Usage

spanningtreemst<032>cost<0200000000>
ConfigurestheportpathcostforthespecifiedMSTPinstance.Theportpath
costisusedtohelpdeterminethedesignatedportforasegment.Portpathcost
isbasedontheportspeed,andiscalculatedasfollows:

100Mbps=200000

1Gbps=20000

10Gbps=2000

Thedefaultvalueof0(zero)indicatesthatthedefaultpathcostwillbe
computedforanautonegotiatedlinkspeed.
Commandmode:Interfaceport/Interfaceportchannel
[no]spanningtreemst<032>enable
EnablesordisablesthespecifiedMSTPinstanceontheport.
Commandmode:Interfaceport/Interfaceportchannel
spanningtreemst<032>portpriority<0240>
ConfigurestheportpriorityforthespecifiedMSTPinstance.Theportpriority
helpsdeterminewhichbridgeportbecomesthedesignatedport.Inanetwork
topologythathasmultiplebridgeportsconnectedtoasinglesegment,theport
withthelowestportprioritybecomesthedesignatedportforthesegment.
Therangeis0to240,instepsof16(0,16,32...)andthedefaultis128.
Commandmode:Interfaceport/Interfaceportchannel

402

G8052 Command Reference for N/OS 8.3

Table 212. MSTPPortConfigurationOptions(continued)


Command Syntax and Usage

spanningtreemsthellotime<110>
ConfigurestheportHellotime.TheHellotimespecifieshowoftenthebridge
transmitsaconfigurationbridgeprotocoldataunit(BPDU).Anybridgethatis
nottherootbridgeusestherootbridgeHellovalue.
Therangeis1to10secondsandthedefaultis2seconds.
Commandmode:Interfaceport/Interfaceportchannel
showinterfaceport<portaliasornumber>spanningtreemstpcist
DisplaysthecurrentCISTportconfiguration.
Commandmode:All

RSTP/PVRST Configuration
ThefollowingtabledescribesthecommandsusedtoconfiguretheRapidSpanning
Tree(RSTP)andPerVLANRapidSpanningTreeProtocol(PVRST)protocols.
Table 213. RSTP/PVRSTConfigurationOptions
Command Syntax and Usage

[no]spanningtreestp<1128>enable
GloballyenablesordisablesSpanningTreeProtocol.
STGisturnedonbydefault.
Commandmode:Globalconfiguration
spanningtreestp<1128>vlan<VLANID(14094)>
AssociatesaVLANwithaSpanningTreeGroupandrequiresaVLANIDasa
parameter.IftheVLANdoesnotexist,itwillbecreatedautomatically,butit
willnotbeenabledbydefault.
Commandmode:Globalconfiguration
nospanningtreestp<1128>vlan{<VLANID(14094)>|all}
BreakstheassociationbetweenaspecifiedVLANorallVLANsanda
SpanningTreeGroupandrequiresaVLANIDasaparameter.
Commandmode:Globalconfiguration
defaultspanningtree<1128>
RestoresaSpanningTreeinstancetoitsdefaultconfiguration.
Commandmode:Globalconfiguration
showspanningtreestp<1128>
DisplayscurrentSpanningTreeProtocolparametersforthespecified
SpanningTreeGroup.Seepage 72fordetailsabouttheinformation
parameter.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

403

Bridge RSTP/PVRST Configuration


SpanningTreebridgeparametersaffecttheglobalSTGoperationoftheswitch.
STGbridgeparametersinclude:

Bridgepriority

Bridgehellotime

Bridgemaximumage

Forwardingdelay

Table 214. BridgeSpanningTreeConfigurationOptions


Command Syntax and Usage

spanningtreestp<1128>bridgeforwarddelay<430>
Configuresthebridgeforwarddelayparameter.Theforwarddelayparameter
specifiestheamountoftimethatabridgeporthastowaitbeforeitchanges
fromthediscardingandlearningstatestotheforwardingstate.
Therangeis4to30secondsandthedefaultis15seconds.
Note:ThiscommanddoesnotapplytoMSTP.
Commandmode:Globalconfiguration
nospanningtreestp<1128>bridgeforwarddelay
Resetsthebridgeforwarddelayparametertoitsdefaultvalueof15seconds.
Commandmode:Globalconfiguration
spanningtreestp<1128>bridgehellotime<110>
ConfiguresthebridgeHellotime.TheHellotimespecifieshowoftenthe
bridgetransmitsaconfigurationbridgeprotocoldataunit(BPDU).Anybridge
thatisnottherootbridgeusestherootbridgeHellovalue.
Therangeis1to10secondsandthedefaultis2seconds.
Note:ThiscommanddoesnotapplytoMSTP.
Commandmode:Globalconfiguration
nospanningtreestp<1128>bridgehellotime
ResetsthebirdgeHellotimetoitsdefaultvalueof2seconds.
Commandmode:Globalconfiguration
spanningtreestp<1128>bridgemaximumage<640>
Configuresthebridgemaximumage.Themaximumageparameterspecifies
themaximumtimethebridgewaitswithoutreceivingaconfigurationbridge
protocoldataunitbeforeitreconfigurestheSTGnetwork.
Therangeis6to40secondsandthedefaultis20seconds.
Note:ThiscommanddoesnotapplytoMSTP.
Commandmode:Globalconfiguration
nospanningtreestp<1128>bridgemaximumage
Resetsthebridgemaximumagetoitsdefaultvalueof20seconds.
Commandmode:Globalconfiguration

404

G8052 Command Reference for N/OS 8.3

Table 214. BridgeSpanningTreeConfigurationOptions


Command Syntax and Usage

spanningtreestp<1128>bridgepriority<065535>
Configuresthebridgepriority.Thebridgepriorityparametercontrolswhich
bridgeonthenetworkistheSTGrootbridge.Tomakethisswitchtheroot
bridge,configurethebridgeprioritylowerthanallotherswitchesandbridges
onyournetwork.Thelowerthevalue,thehigherthebridgepriority.Enterthe
valueinmultiplesof4096.Nonmultiplesareautomaticallyroundeduptothe
closestvalidpriority.
Thedefaultvalueis32768.
Commandmode:Globalconfiguration
nospanningtreestp<1128>bridgepriority
Resetsthebridgeprioritytoitsdefaultvalueof32768.
Commandmode:Globalconfiguration
showspanningtree[vlan<VLANID(14094)>]bridge
DisplaysthecurrentSpanningTreeparameterseithergloballyorforaspecific
VLAN.Seepage 77forsampleoutput.
Commandmode:All
WhenconfiguringSTGbridgeparameters,thefollowingformulasmustbeused:

Copyright Lenovo 2015

2*(fwd1)>mxage

2*(hello+1)<mxage

Chapter 4: Configuration Commands

405

RSTP/PVRST Port Configuration


Bydefault,SpanningTreeisturnedoffformanagementports,andturnedonfor
dataports.STGportparametersinclude:

Portpriority

Portpathcost

Table 215. SpanningTreePortOptions


Command Syntax and Usage

[no]spanningtreestp<1128>enable
EnablesordisablesSTGontheport.
Commandmode:Interfaceport/Interfaceprotchannel
spanningtreestp<1128>pathcost<1200000000,0fordefault)>
Configurestheportpathcost.Theportpathcostisusedtohelpdeterminethe
designatedportforasegment.Portpathcostisbasedontheportspeed,andis
calculatedasfollows:

100Mbps=200000

1Gbps=20000

10Gbps=2000

Thedefaultvalueof0(zero)indicatesthatthedefaultpathcostwillbe
computedforanautonegotiatedlinkspeed.
Commandmode:Interfaceport/Interfaceprotchannel
spanningtreestp<1128>priority<0240>
Configurestheportpriority.Theportpriorityhelpsdeterminewhichbridge
portbecomesthedesignatedport.Inanetworktopologythathasmultiple
bridgeportsconnectedtoasinglesegment,theportwiththelowestport
prioritybecomesthedesignatedportforthesegment.
Thedefaultvalueis128.
RSTP/MSTP:Therangeis0to240,instepsof16(0,16,32...).
Commandmode:Interfaceport/Interfaceprotchannel
defaultspanningtreestp<1128>
ResetstheSTGconfigurationtoitsdefaultsettings.
Commandmode:Interfaceport/Interfaceprotchannel
showinterfaceport<portaliasornumber>spanningtreestp<1128>
DisplaysthecurrentSTGportparameters.
Commandmode:All

406

G8052 Command Reference for N/OS 8.3

Forwarding Database Configuration


UsethefollowingcommandstoconfiguretheForwardingDatabase(FDB).
Table 216. FDBConfigurationOptions
Command Syntax and Usage

macaddresstableaging<065535>
ConfigurestheagingvalueforFDBentries,inseconds.
Thedefaultvalueis300seconds.
Commandmode:Globalconfiguration
macaddresstablemulticast
ConfiguresmulticastFDBentries.Forcommandoptions,seepage 408.
Commandmode:Globalconfiguration
macaddresstablestatic
ConfiguresstaticFDBentries.Forcommandoptions,seepage 409.
Commandmode:Globalconfiguration
showmacaddresstable
DisplaycurrentFDBconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

407

Static Multicast MAC Configuration


Thefollowingoptionsareavailabletocontroltheforwardingofknownand
unknownmulticastpackets:

AllmulticastpacketsarefloodedtotheentireVLAN.Thisisthedefaultswitch
behavior.

Knownmulticastpacketsareforwardedonlytothoseportsspecified.Unknown
multicastpacketsarefloodedtotheentireVLAN.Toconfigurethisoption,
definetheMulticastMACaddressfortheVLANandspecifyportsthatareto
receivemulticastpackets(macaddresstablemulticast).

Knownmulticastpacketsareforwardedonlytothoseportsspecified.Unknown
multicastpacketsaredropped.Toconfigurethisoption:

DefinetheMulticastMACaddressfortheVLANandspecifyportsthatareto
receivemulticastpackets(macaddresstablemulticast).

EnableFloodBlockingonportsthatarenottoreceivemulticastpackets
(interfaceportx)(floodblocking).

UsethefollowingcommandstoconfigurestaticMulticastMACentriesinthe
ForwardingDatabase(FDB).
Table 217. StaticMulticastMACConfigurationOptions
Command Syntax and Usage

[no]macaddresstablemulticast<MACaddress><VLANID(14094)>
<portaliasornumber>
Addsorremovesastaticmulticastentry.Youcanlistportsseparatedbya
comma(,)orenterarangeofportsseparatedbyahyphen().Forexample:
macaddresstablemulticast01:00:00:23:3f:0120014
Commandmode:Globalconfiguration
[no]macaddresstablemulticast<MACaddress>port
<portnumberoralias>
AddsorremovesastaticmulticastentryforNetworkLoadBalancing(NLB).
Youcanlistportsseparatedbyacomma(,)orenterarangeofports
separatedbyahyphen().Forexample:
macaddresstablemulticast01:00:00:23:3f:01port14
Commandmode:Globalconfiguration
macaddresstablemulticastreload
Reloadsallstaticmulticastentries.
Commandmode:Globalconfiguration

408

G8052 Command Reference for N/OS 8.3

Table 217. StaticMulticastMACConfigurationOptions


Command Syntax and Usage

nomacaddresstablemulticastall[interfaceport
<portnumberoralias>|mac<MACaddress>|vlan<VLANID(14094)>]
Deletesallstaticmulticastentries.

interfaceportdeletesallstaticmulticastentriesthatusethespecified
port

macdeletesallstaticmulticastentriesthatusethespecifiedMACaddress

vlandeletesallstaticmulticastentriesthatusethespecifiedvlan

Commandmode:Globalconfiguration
showmacaddresstablemulticast
Displaythecurrentstaticmulticastentries.
Commandmode:All

Static FDB Configuration


UsethefollowingcommandstoconfigurestaticentriesintheForwarding
Database(FDB).
Table 218. FDBConfigurationOptions
Command Syntax and Usage

[no]macaddresstablestatic<MACaddress>port
<portaliasornumber>
AddsorremovesapermanentFDBentry.EntertheMACaddressusingthe
followingformat:xx:xx:xx:xx:xx:xx.
Forexample,08:00:20:12:34:56.
YoucanalsoentertheMACaddressasfollows:xxxxxxxxxxxx.
Forexample,080020123456.
Note:Availableifroutingisenabledontheport.
Commandmode:Globalconfiguration
macaddresstablestatic<MACaddress>vlan<VLANID(14094)>
{port<portaliasornumber>|portchannel<trunknumber>|
adminkey<165535>}
AddsapermanentFDBentry.EntertheMACaddressusingthefollowing
format:xx:xx:xx:xx:xx:xx
Forexample,08:00:20:12:34:56.
YoucanalsoentertheMACaddressasfollows:xxxxxxxxxxxx.
Forexample,080020123456.
Note:Availableifroutingisdisabledontheport.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

409

Table 218. FDBConfigurationOptions


Command Syntax and Usage

nomacaddresstablestatic<MACaddress><VLANID(14094)>
DeletespermanentFDBentries.
Note:Availableifroutingisdisabledontheport.
Commandmode:Globalconfiguration
nomacaddresstablestaticall[mac<MACaddress>|
vlan<VLANID(14094)>]
DeletesallpermanentFBDentries.

macdeletesallpermanententriesthatusethespecifiedMACaddress

vlandeletesallpermanententriesthatusethespecifiedvlan

Note:Availableifroutingisdisabledontheport.
Commandmode:Globalconfiguration
nomacaddresstablestaticallinterface{port
<portaliasornumber>|portchannel<trunknumber>|adminkey<165535>}
DeletesallpermanentFBDentriesthatusethespecifiedport,trunkgroupor
LACPadminkey.
Commandmode:Globalconfiguration
showmacaddresstable
DisplaycurrentFDBconfiguration.
Commandmode:All

410

G8052 Command Reference for N/OS 8.3

ECP Configuration
UsethefollowingcommandstoconfigureEdgeControlProtocol(ECP).
Table 219. ECPConfigurationOptions
Command Syntax and Usage

ecpretransmitinterval<1009000>
ConfiguresECPretransmitintervalinmilliseconds.
Thedefaultvalueis1000miliseconds.
Commandmode:Globalconfiguration
defaultecpretransmitinterval
ResetstheECPretransmitintervaltothedefault1000milliseconds.
Commandmode:Globalconfiguration
showecp[channels|retransmitinterval|
upperlayerprotocols]
DisplayssettingsfortheECPretransmitintervalorforallECPchannelsor
registeredULPs.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

411

LLDP Configuration
UsethefollowingcommandstoconfigureLinkLayerDetectionProtocol(LLDP).
Table 220. LLDPConfigurationOptions
Command Syntax and Usage

[no]lldpenable
GloballyenablesordisablesLLDP.
Thedefaultsettingisenabled.
Commandmode:Globalconfiguration
lldpholdtimemultiplier<210>
Configuresthemessageholdtimemultiplier.Theholdtimeisconfiguredasa
multipleofthemessagetransmissioninterval.
Thedefaultvalueis4.
Commandmode:Globalconfiguration
nolldpholdtimemultiplier
Resetsthemessageholdtimemultipliertoitsdefaultvalueof4.
Commandmode:Globalconfiguration
lldprefreshinterval<532768>
Configuresthemessagetransmissioninterval,inseconds.
Thedefaultvalueis30seconds.
Commandmode:Globalconfiguration
nolldprefreshinterval
Resetsthemessagetransmissionintervaltoitsdefaultvalueof30seconds.
Commandmode:Globalconfiguration
lldpreinitdelay<110>
Configuresthereinitializationdelayinterval,inseconds.Thereinitialization
delayallowstheportLLDPinformationtostabilizebeforetransmittingLLDP
messages.
Thedefaultvalueis2seconds.
Commandmode:Globalconfiguration
nolldpreinitdelay
Resetsthereinitializationdelayintervaltoitsdefaultvalueof2seconds.
Commandmode:Globalconfiguration
lldptransmissiondelay<18192>
Configuresthetransmissiondelayinterval,inseconds.Thetransmitdelay
timerrepresentstheminimumtimepermittedbetweensuccessiveLLDP
transmissionsonaport.
Thedefaultvalueis2seconds.
Commandmode:Globalconfiguration

412

G8052 Command Reference for N/OS 8.3

Table 220. LLDPConfigurationOptions(continued)


Command Syntax and Usage

nolldptransmissiondelay
Resetsthetransmissiondelayintervaltoitsdefaultvalueof2seconds.
Commandmode:Globalconfiguration
lldptrapnotificationinterval<13600>
Configuresthetrapnotificationinterval,inseconds.
Thedefaultvalueis5seconds.
Commandmode:Globalconfiguration
nolldptrapnotificationinterval
Resetsthetrapnotificationintervaltoitsdefaultvalueof5seconds.
Commandmode:Globalconfiguration
showlldp[port[<port_number>]]
DisplaycurrentLLDPconfiguration.
Commandmode:All

LLDP Port Configuration


UsethefollowingcommandstoconfigureLLDPportoptions.
Table 221. LLDPPortOptions
Command Syntax and Usage

lldpadminstatus{tx_only|rx_only|tx_rx}
ConfigurestheLLDPtransmissiontypefortheport,asfollows:

Transmitonly

Receiveonly

Transmitandreceive

Thedefaultsettingistx_rx.
Commandmode:Interfaceport
nolldpadminstatus
DisablestheLLDPtransmissiontype.
Commandmode:Interfaceport
[no]lldptrapnotification
EnablesordisablesSNMPtrapnotificationforLLDPmessages.
Commandmode:Interfaceport
showinterfaceport<portaliasornumber>lldp
DisplaycurrentLLDPportconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

413

LLDP Optional TLV configuration


UsethefollowingcommandstoconfigureLLDPportTLV(Type,Length,Value)
optionsfortheselectedport.
Table 222. OptionalTLVOptions
Command Syntax and Usage

[no]lldptlvall
EnablesordisablesalloptionalTLVinformationtypes.
Commandmode:Interfaceport
[no]lldptlvframesz
EnablesordisablestheMaximumFrameSizeinformationtype.
Commandmode:Interfaceport
[no]lldptlvlinkaggr
EnablesordisablestheLinkAggregationinformationtype.
Commandmode:Interfaceport
[no]lldptlvmacphy
EnablesordisablestheMAC/PhyConfigurationinformationtype.
Commandmode:Interfaceport
[no]lldptlvmgmtaddr
EnablesordisablestheManagementAddressinformationtype.
Commandmode:Interfaceport
[no]lldptlvportdesc
EnablesordisablesthePortDescriptioninformationtype.
Commandmode:Interfaceport
[no]lldptlvportprot
EnablesordisablesthePortandVLANProtocolIDinformationtype.
Commandmode:Interfaceport
[no]lldptlvportvid
EnablesordisablesthePortVLANIDinformationtype.
Commandmode:Interfaceport
[no]lldptlvpowermdi
EnablesordisablesthePowerviaMDIinformationtype.
Commandmode:Interfaceport
[no]lldptlvprotid
EnablesordisablestheProtocolIDinformationtype.
Commandmode:Interfaceport

414

G8052 Command Reference for N/OS 8.3

Table 222. OptionalTLVOptions(continued)


Command Syntax and Usage

[no]lldptlvsyscap
EnablesordisablestheSystemCapabilitiesinformationtype.
Commandmode:Interfaceport
[no]lldptlvsysdescr
EnablesordisablestheSystemDescriptioninformationtype.
Commandmode:Interfaceport
[no]lldptlvsysname
EnablesordisablestheSystemNameinformationtype.
Commandmode:Interfaceport
[no]lldptlvvlanname
EnablesordisablestheVLANNameinformationtype.
Commandmode:Interfaceport
showinterfaceport<portaliasornumber>lldp
DisplaycurrentLLDPportconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

415

Trunk Configuration
TrunkgroupscanprovidesuperbandwidthconnectionsbetweenRackSwitch
G8052sorothertrunkcapabledevices.Atrunkisagroupofportsthatacttogether,
combiningtheirbandwidthtocreateasingle,largerport.Twotrunktypesare
available:statictrunkgroups(portchannels)anddynamicLACPtrunkgroups
(portchannels).
Thetwotrunktypescanbeconfiguredusingthefollowingportchannelranges:

staticportchannels:152

LACPportchannels:53104

Upto52statictrunkgroupscanbeconfiguredontheG8052,withthefollowing
restrictions:

Anyphysicalswitchportcanbelongtonomorethanonetrunkgroup.

Upto8portscanbelongtothesametrunkgroup.

Youmustconfigureallportsinatrunkgroupwiththesameproperties(speed,
duplex,flowcontrol,STG,VLAN,andsoon).

TrunkingfromnonLenovodevicesmustcomplywithCiscoEtherChannel
technology.

Bydefault,eachtrunkgroupisemptyanddisabled.
Table 223. TrunkConfigurationOptions
Command Syntax and Usage

[no]portchannel<152>enable
Enablesordisablesthecurrenttrunkgroup.
Commandmode:Globalconfiguration
portchannel<152>port<portaliasornumber>[enable]
Addsaphysicalportorportstothecurrenttrunkgroup.Youcanaddseveral
ports,witheachportseparatedbyacomma(,)orarangeofports,separated
byadash().Theenableoptionalsoenablesthecurrenttrunkgroup.
Commandmode:Globalconfiguration
noportchannel<152>port<portaliasornumber>
Removesaphysicalportorportsfromthecurrenttrunkgroup.
Commandmode:Globalconfiguration
noportchannel<152>
Removesthecurrenttrunkgroupconfiguration.
Commandmode:Globalconfiguration
showportchannel<152>
Displayscurrenttrunkgroupparameters.
Commandmode:All

416

G8052 Command Reference for N/OS 8.3

Trunk Hash Configuration


UsethefollowingcommandstoconfiguretrunkhashsettingsfortheG8052.The
trunkhashsettingsaffectbothstatictrunksandLACPtrunks.
Toachievethemosteventrafficdistribution,selectoptionsthatexhibitawide
rangeofvaluesforyourparticularnetwork.Youmayusetheconfiguration
settingslistedinTable 224combinedwiththehashparameterslistedinTable 225
andTable 226.
Table 224. TrunkHashOptions
Command Syntax and Usage

[no]portchannelhashingress
Enablesordisablestrunkhashcomputationbasedontheingressport.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
[no]portchannelhashL4port
EnablesordisablesuseofLayer4serviceports(TCP,UDP,andsoon)to
computethehashvalue.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
[no]portchannelthashlocalpreference
Enablesordisableslocalpreferenceforknownunicasttraffic.Whenenabled,
unicastpacketsthatneedtoexitthestackthroughacertainportchannelare
hashedusingonlytheportchannelmemberportsoftheingressswitch.
Otherwise,whendisabledoriftheingressswitchdoesnthaveanymember
ports,thepacketishashedusingallportchannelmemberportsacrossthe
wholestack.
Thedefaultsettingisdisabled.
Thisoptionreducesthetrafficbandwidthoverthestackinglinks.
Note:Thiscommandisavaibleonlyinstackingonthemasterswitch.
Commandmode:Globalconfiguration
showportchannelhash
Displaycurrenttrunkhashconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

417

Trunk Hash Settings


TrunkhashparametersaresetgloballyfortheG8052.Youcanenableoneortwo
parameters,toconfigureanyofthefollowingvalidcombinations:

SMAC(sourceMAConly)

DMAC(destinationMAConly)

SIP(sourceIPonly)

DIP(destinationIPonly)

SIP+DIP(sourceIPanddestinationIP)

SMAC+DMAC(sourceMACanddestinationMAC)

UsethefollowingcommandstoconfiguretrunkhashparametersfortheG8052.
Table 225. TrunkHashSettings
Command Syntax and Usage

portchannelhashsourcemacaddress
EnabletrunkhashingonthesourceMAC.
Commandmode:Globalconfiguration
portchannelhashdestinationmacaddress
EnabletrunkhashingonthedestinationMAC.
Commandmode:Globalconfiguration
portchannelhashsourceipaddress
EnabletrunkhashingonthesourceIP.
Commandmode:Globalconfiguration
portchannelhashdestinationipaddress
EnabletrunkhashingonthedestinationIP.
Commandmode:Globalconfiguration
portchannelhashsourcedestinationip
EnabletrunkhashingonthesourceanddestinationIP.
Commandmode:Globalconfiguration
portchannelhashsourcedestinationmac
EnabletrunkhashingonthesourceanddestinationMACaddress.
Commandmode:Globalconfiguration
showportchannelhash
Displaycurrenttrunkhashsetting.
Commandmode:All

418

G8052 Command Reference for N/OS 8.3

Static In-Port Hash Settings


Usethefollowingcommandstoconfigurestaticinporttrunkhashparametersfor
theG8052.
Table 226. StaticInPortHashParameters
Command Syntax and Usage

[no]portchannelhashstaticdistributioninport
{portchannel<trunkgroupnumber>|lacpkey<165535>}
Enablesordisablesstaticinporthashsettingsfortheselectedtrunkgroup.
Commandmode:Globalconfiguration
portchanneldistributiontrunkmemberindex<18>
Enablesstatictrafficdistributionontheselectedportindexoftheoutput
trunk.
Commandmode:Interfaceport
noportchanneldistribution
Disablesstatictrafficdistribution.
Commandmode:Interfaceport
showportchannelhash
Displaycurrenttrunkhashsettings.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

419

Virtual Link Aggregation Group Configuration


vLAGgroupsallowyoutoenhanceredundancyandpreventimplicitloops
withoutusingSTP.ThevLAGgroupactsasasinglevirtualentityforthepurpose
ofestablishingamultiporttrunk.
Table 227. vLAGConfigurationOptions
Command Syntax and Usage

[no]vlagadminkey<165535>enable
EnablesordisablesvLAGontheselectedLACPadminkey.LACPtrunks
formedwiththisadminkeywillbeincludedinthevLAGconfiguration.
Commandmode:Globalconfiguration
vlagautorecovery<2403600>
Setsthedurationinsecondsoftheautorecoverytimer.Thistimerconfigures
howlogafterbootupconfigurationload,theswitchcanassumethePrimary
rolefromanunresponsiveISLpeerandbringupthevLAGports.
Thedefaultvalueis300seconds.
Commandmode:Globalconfiguration
novlagautorecovery
Setstheautorecoverytimertothedefault300secondsduration.
Commandmode:Globalconfiguration
[no]vlagenable
EnablesordisablesvLAGglobally.
Commandmode:Globalconfiguration
[no]vlagportchannel<152>enable
EnablesordisablesvLAGontheselectedtrunkgroup.
Commandmode:Globalconfiguration
vlagpriority<065535>
ConfiguresthevLAGpriorityfortheswitch,usedforelectionofPrimaryand
SecondaryvLAGswitches.Theswitchwithlowerpriorityiselectedtotherole
ofPrimaryvLAGswitch.
Commandmode:Globalconfiguration
novlagpriority
ResetsthevLAGpriorityoftheswitchtoitsdefaultvalueof0.
Commandmode:Globalconfiguration
vlagstartupdelay<03600>
Sets,inseconds,thevLAGstartupdelayinterval.
Thedefaultvalueis120seconds.
Commandmode:Globalconfiguration

420

G8052 Command Reference for N/OS 8.3

Table 227. vLAGConfigurationOptions


Command Syntax and Usage

novlagstartupdelay
SetsthevLAGstartupdelaytimertothedefault120secondsduration.
Commandmode:Globalconfiguration
vlagtierid<1512>
SetsthevLAGpeerID.
Commandmode:Globalconfiguration
novlagtierid
ResetsthevLAGpeerIDtoitsdefaultvalueof0.
Commandmode:Globalconfiguration
showvlag
DisplayscurrentvLAGparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

421

vLAG Health Check Configuration


Thesecommandsenableyoutoconfigureawaytocheckthehealthstatusofthe
vLAGpeer.
Table 228. vLAGHealthCheckConfigurationOptions
Command Syntax and Usage

vlaghlthchkconnectretryinterval<1300>
Sets,inseconds,thevLAGhealthcheckconnectretryinterval.
Thedefaultvalueis30seconds.
Commandmode:Globalconfiguration
novlaghlthchkconnectretryinterval
ResetsthevLAGhealthcheckconnectretryintervaltoitsdefaultvalueof30
seconds.
Commandmode:Globalconfiguration
vlaghlthchkkeepaliveattempts<124>
SetsthenumberofvLAGkeepaliveattempts.
Thedefaultvalueis3.
Commandmode:Globalconfiguration
novlaghlthchkkeepaliveattempts
ResetsthenumberofvLAGkeepaliveattemptstothedefaultvalueof3.
Commandmode:Globalconfiguration
vlaghlthchkkeepaliveinterval<2300>
Sets,inseconds,thetimebetweenvLAGkeepaliveattempts.
Thedefaultvalueis5seconds.
Commandmode:Globalconfiguration
novlaghlthchkkeepaliveinterval
ResetsthetimebetweenvLAGkeepaliveattemptstothedefaultvalueof5
seconds.
Commandmode:Globalconfiguration
vlaghlthchkpeerip{<IPv4address>|<IPv6address>}
ConfigurestheIPaddressofthepeerswitch,usedforhealthchecks.Usethe
managementIPaddressofthepeerswitch.Forexample:
IPv4address:100.20.0.103
IPv6address:3001:0:0:0:0:0:abcd:1234

Commandmode:Globalconfiguration
novlaghlthchkpeerip
DeletestheIPaddressofthepeerswitch,usedforhealthchecks.
Commandmode:Globalconfiguration

422

G8052 Command Reference for N/OS 8.3

vLAG ISL Configuration


Thesecommandsallowyoutoconfigureadedicatedinterswitchlink(ISL)for
synchronizationbetweenvLAGpeers.
Table 229. vLAGISLConfigurationOptions
Command Syntax and Usage

vlagisladminkey<165535>
EnablesvLAGInterSwitchLink(ISL)ontheselectedLACPadminkey.LACP
trunksformedwiththisadminkeywillbeincludedintheISL.
Commandmode:Globalconfiguration
novlagisladminkey
DisablesvLAGInterSwitchLink(ISL)forLACPadminkeys.
Commandmode:Globalconfiguration
vlagislportchannel<152>
EnablesvLAGInterSwitchLink(ISL)ontheselectedtrunkgroup.
Commandmode:Globalconfiguration
novlagislportchannel
DisablesvLAGInterSwitchLink(ISL)fortrunkgroups.
Commandmode:Globalconfiguration
showvlag
DisplayscurrentvLAGparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

423

Link Aggregation Control Protocol Configuration


UsethefollowingcommandstoconfigureLinkAggregationControlProtocol
(LACP)fortheG8052.
Table 230. LinkAggregationControlProtocolOptions
Command Syntax and Usage

lacpsystempriority<165535>
DefinesthepriorityvaluefortheG8052.Lowernumbersprovidehigher
priority.
Thedefaultvalueis32768.
Commandmode:Globalconfiguration
defaultlacpsystempriority
Resetsthepriorityvaluefortheswitchtoitsdefaultvalueof32768.
Commandmode:Globalconfiguration
lacptimeout{short|long}
DefinesthetimeoutperiodbeforeinvalidatingLACPdatafromaremote
partner.Chooseshort(3seconds)orlong(90seconds).
Thedefaultvalueislong.
Note:ToreduceLACPDUprocessing,useatimeoutvalueoflong.Ifyour
G8052sCPUutilizationrateremainsat100%forperiodsof90secondsor
more,considerusingstatictrunksinsteadofLACP.
Commandmode:Globalconfiguration
defaultlacptimeout
ResetsthetimeoutperiodbeforeinvalidatingLACPdatafromaremote
partnertoitsdefaultvalueoflong.
Commandmode:Globalconfiguration
defaultlacp
ResetstheLACPsystemconfigurationtoitsdefaultvalues.
Commandmode:Globalconfiguration
nolacp<165535>
DeletesaselectedLACPtrunk,basedonitsadminkey.Thiscommandis
equivalenttodisablingLACPoneachoftheportsconfiguredwiththesame
adminkey.
Commandmode:Globalconfiguration

424

G8052 Command Reference for N/OS 8.3

Table 230. LinkAggregationControlProtocolOptions


Command Syntax and Usage

portchannel<53104>lacpkey<165535>
EnablesastaticLACPtrunk.Inthismode,portssharingthesameLACP
adminkeycanformasingletrunk,withthespecifiedtrunkID.Theactive
trunkispickedbasedontheportswhichoccupyfirstthetrunkID.Member
portsthatcannotjointhistrunkareprohibitedfromformingsecondaryLACP
groups.Instead,theyaresetinasuspendedstatewheretheydiscardall
nonLACPtraffic.
Commandmode:Globalconfiguration
noportchannel<53104>
DeletesastaticLACPtrunk.
Commandmode:Globalconfiguration
showlacp
DisplaycurrentLACPconfiguration.
Commandmode:All

LACP Port Configuration


UsethefollowingcommandstoconfigureLinkAggregationControlProtocol
(LACP)fortheselectedport.
Table 231. LACPPortOptions
Command Syntax and Usage

lacpkey<165535>
Settheadminkeyforthisport.Onlyportswiththesameadminkeyandoperkey
(operationalstategeneratedinternally)canformaLACPtrunkgroup.
Commandmode:Interfaceport/Interfaceportchannel
lacpmode{off|active|passive}
SettheLACPmodeforthisport,asfollows:

offturnsLACPoffforthisport.Youcanusethisporttomanually
configureastatictrunk.

activeturnsLACPonandsetthisporttoactive.Activeportsinitiate
LACPDUs.

passiveturnsLACPonandsetthisporttopassive.Passiveportsdonot
initiateLACPDUs,butrespondtoLACPDUsfromactiveports.

Thedefaultvalueisoff.
Commandmode:Interfaceport/Interfaceportchannel

Copyright Lenovo 2015

Chapter 4: Configuration Commands

425

Table 231. LACPPortOptions


Command Syntax and Usage

lacppriority<165535>
Setsthepriorityvaluefortheselectedport.Lowernumbersprovidehigher
priority.
Thedefaultvalueis32768.
Commandmode:Interfaceport/Interfaceportchannel
lacpsuspendindividual
SetstheportinLACPsuspendedstateifitdoesnotreceiveLACPDUs
anymore.
Note:Thedefaultvalueissuspendindividualforallswitchports.
Commandmode:Interfaceport/Interfaceportchannel
nolacpsuspendindividual
SetstheportinLACPindividualstateifitdoesnotreceiveLACPDUs
anymore.
Commandmode:Interfaceport/Interfaceportchannel
defaultlacp[key|mode|priority|suspendindividual]
Restorestheselectedparameterstotheirdefaultvalues.
Commandmode:Interfaceport/Interfaceportchannel
portchannelminlinks<18>
Settheminimumnumberoflinksforthisport.Ifthespecifiedminimum
numberofportsarenotavailable,thetrunkisplacedinthedownstate.
Commandmode:Interfaceport/Interfaceportchannel
defaultportchannelminlinks
Restorestheminimumnumberoflinksforthisporttoitsdefaultvalue.
Commandmode:Interfaceport/Interfaceportchannel
showinterfaceport<portaliasornumber>lacp
DisplaysthecurrentLACPconfigurationforthisport.
Commandmode:All

426

G8052 Command Reference for N/OS 8.3

Layer 2 Failover Configuration


UsethesecommandstoconfigureLayer2Failover.Formoreinformationabout
Layer2Failover,seeHighAvailabilityintheLenovoN/OSApplicationGuide.
Table 232. Layer2FailoverConfigurationOptions
Command Syntax and Usage

[no]failoverenable
GloballyenablesordisablesLayer2Failover.
Commandmode:Globalconfiguration
showfailovertrigger
DisplayscurrentLayer2Failoverparameters.
Commandmode:All

Failover Trigger Configuration


ThefollowingtabledescribestheFailoverTriggercommands.
Table 233. FailoverTriggerConfigurationOptions
Command Syntax and Usage

[no]failovertrigger<18>enable
EnablesordisablestheFailovertrigger.
Commandmode:Globalconfiguration
failovertrigger<18>limit<01024>
Configurestheminimumnumberofoperationallinksallowedwithineach
triggerbeforethetriggerinitiatesafailoverevent.Ifyouenteravalueofzero
(0),theswitchtriggersafailovereventonlywhennolinksinthetriggerare
operational.
Commandmode:Globalconfiguration
nofailovertrigger<18>
DeletestheFailovertrigger.
Commandmode:Globalconfiguration
showfailovertrigger<18>
Displaysthecurrentfailovertriggersettings.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

427

Failover Manual Monitor Port Configuration


Usethesecommandstodefinetheportlink(s)tomonitor.TheManualMonitor
Portconfigurationacceptsanynonmanagementport.
Table 234. FailoverManualMonitorPortOptions
Command Syntax and Usage

[no]failovertrigger<18>mmonmonitoradminkey<165535>
AddsorremovesanLACPadminkeytotheManualMonitorPort
configuration.LACPtrunksformedwiththisadminkeywillbeincludedin
theManualMonitorPortconfiguration.
Commandmode:Globalconfiguration
[no]failovertrigger<18>mmonmonitormember
<portaliasornumber>
AddsorremovestheselectedporttotheManualMonitorPortconfiguration.
Commandmode:Globalconfiguration
[no]failovertrigger<18>mmonmonitorportchannel<152>
AddsorremovestheselectedtrunkgrouptotheManualMonitorPort
configuration.
Commandmode:Globalconfiguration
showfailovertrigger<18>
DisplaysthecurrentFailoversettings.
Commandmode:All

428

G8052 Command Reference for N/OS 8.3

Failover Manual Monitor Control Configuration


Usethesecommandstodefinetheportlink(s)tocontrol.TheManualMonitor
Controlconfigurationacceptsanynonmanagementport.
Table 235. FailoverManualMonitorControlOptions
Command Syntax and Usage

[no]failovertrigger<18>mmoncontroladminkey<165535>
AddsorremovesanLACPadminkeytotheManualMonitorControl
configuration.LACPtrunksformedwiththisadminkeywillbeincludedin
theManualMonitorControlconfiguration.
Commandmode:Globalconfiguration
[no]failovertrigger<18>mmoncontrolmember
<portaliasornumber>
AddsorremovestheselectedporttotheManualMonitorControl
configuration.
Commandmode:Globalconfiguration
[no]failovertrigger<18>mmoncontrolportchannel<152>
AddsorremovestheselectedtrunkgrouptotheManualMonitorControl
configuration.
Commandmode:Globalconfiguration
showfailovertrigger<18>
DisplaysthecurrentFailoversettings.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

429

Hot Links Configuration


UsethesecommandstoconfigureHotLinks.FormoreinformationaboutHot
Links,seeHotLinksintheLenovoN/OS8.3ApplicationGuide.
Table 236. HotLinksConfigurationOptions
Command Syntax and Usage

[no]hotlinksbpdu
EnablesordisablesfloodingofSpanningTreeBPDUsontheactiveHotLinks
interfacewhentheinterfacebelongstoaSpanningTreegroupthatisglobally
turnedoff.Thisfeaturecanpreventunintentionalloopscenarios(for
example,iftwouplinkscomeupatthesametime).
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
[no]hotlinksenable
GloballyenablesordisablesHotLinks.
Commandmode:Globalconfiguration
[no]hotlinksfdbupdate
EnablesordisablesFDBUpdate,whichallowstheswitchtosendFDBand
MACupdatepacketsovertheactiveinterface.
Thedefaultvalueisdisabled.
Commandmode:Globalconfiguration
hotlinksfdbupdaterate<10200>
ConfigurestheFDBUpdaterateinpacketspersecond.
Commandmode:Globalconfiguration
showhotlinks
DisplayscurrentHotLinksparameters.
Commandmode:All

430

G8052 Command Reference for N/OS 8.3

Hot Links Trigger Configuration


ThefollowingtabledescribestheHotLinksTriggercommands.
Table 237. HotLinksTriggerConfigurationOptions
Command Syntax and Usage

[no]hotlinkstrigger<125>enable
EnablesordisablestheHotLinkstrigger.
Commandmode:Globalconfiguration
hotlinkstrigger<125>forwarddelay<03600>
ConfigurestheForwardDelayinterval,inseconds.
Thedefaultvalueis1second.
Commandmode:Globalconfiguration
hotlinkstrigger<125>name<132characters>
DefinesanamefortheHotLinkstrigger.
Commandmode:Globalconfiguration
nohotlinkstrigger<125>name
RemovesthenameofthespecifiedHotLinkstrigger.
Commandmode:Globalconfiguration
[no]hotlinkstrigger<125>preemption
Enablesordisablespreemption,whichallowstheMasterinterfaceto
transitiontotheActivestatewheneveritbecomesavailable.
Thedefaultsettingisenabled.
Commandmode:Globalconfiguration
nohotlinkstrigger<125>
DeletestheHotLinkstrigger.
Commandmode:Globalconfiguration
showhotlinkstrigger<125>
DisplaysthecurrentHotLinkstriggersettings.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

431

Hot Links Master Configuration


UsethefollowingcommandstoconfiguretheHotLinksMasterinterface.
Table 238. HotLinksMasterConfigurationOptions
Command Syntax and Usage

hotlinkstrigger<125>masteradminkey<165535>
AddsanLACPadminkeytotheMasterinterface.LACPtrunksformedwith
thisadminkeywillbeincludedintheMasterinterface.
Commandmode:Globalconfiguration
nohotlinkstrigger<125>masteradminkey
ClearsallLACPadminkeysontheMasterinterface.
Commandmode:Globalconfiguration
hotlinkstrigger<125>masterport<portaliasornumber>
AddstheselectedporttotheHotLinksMasterinterface.
Commandmode:Globalconfiguration
nohotlinkstrigger<125>masterport
ClearsallportsaddedtotheHotLinksMasterinterface.
Commandmode:Globalconfiguration
hotlinkstrigger<125>masterportchannel<152>
AddstheselectedtrunkgrouptotheHotLinksMasterinterface.
Commandmode:Globalconfiguration
nohotlinkstrigger<125>masterportchannel
ClearsalltrunkgroupsaddedtotheHotLinksMasterinterface.
Commandmode:Globalconfiguration
showhotlinkstrigger<125>
DisplaysthecurrentHotLinkstriggersettings.
Commandmode:All

432

G8052 Command Reference for N/OS 8.3

Hot Links Backup Configuration


UsethefollowingcommandstoconfiguretheHotLinksBackupinterface.
Table 239. HotLinksBackupConfigurationOptions
Command Syntax and Usage

hotlinkstrigger<125>backupadminkey<165535>
AddsanLACPadminkeytotheHotLinksBackupinterface.LACPtrunks
formedwiththisadminkeywillbeincludedintheHotLinksBackupinterface.
Commandmode:Globalconfiguration
nohotlinkstrigger<125>backupadminkey
ClearsallLACPadminkeysontheHotLinksBackupinterface.
Commandmode:Globalconfiguration
hotlinkstrigger<125>backupport<portaliasornumber>
AddstheselectedporttotheHotLinksBackupinterface.
Commandmode:Globalconfiguration
nohotlinkstrigger<125>backupport
ClearsallportsaddedtotheHotLinksBackupinterface.
Commandmode:Globalconfiguration
hotlinkstrigger<125>backupportchannel<152>
AddstheselectedtrunkgrouptotheHotLinksBackupinterface.
Commandmode:Globalconfiguration
nohotlinkstrigger<125>backupportchannel
ClearsalltrunkgroupsaddedtotheHotLinksBackupinterface.
Commandmode:Globalconfiguration
showhotlinkstrigger<125>
DisplaysthecurrentHotLinkstriggersettings.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

433

VLAN Configuration
ThesecommandsconfigureVLANattributes,changethestatusofeachVLAN,
changetheportmembershipofeachVLAN,anddeleteVLANs.
Bydefault,VLAN1istheonlyVLANconfiguredontheswitch.Allportsare
membersofVLAN1bydefault.Upto2048VLANscanbeconfiguredonthe
G8052.
VLANscanbeassignedanynumberbetween1and4094.
Table 240. VLANConfigurationOptions
Command Syntax and Usage

vlan<VLANID(14094)>
EnterVLANconfigurationmode.IfthespecifiedVLAN(s)doesntexist,itwill
becreated.
Commandmode:Globalconfiguration
name<132characters>
AssignsanametotheVLANorchangestheexistingname.
ThedefaultVLANnameisthefirstone.
Commandmode:VLAN
noname
RemovestheassignednamefromthecurrentVLAN.
Commandmode:VLAN
protocolvlan<protocolnumber(18)>
ConfigurestheProtocolbasedVLAN(PVLAN).Forcommandoptions,see
page 435.
Commandmode:VLAN
shutdown
DisableslocaltrafficonthespecifiedVLAN.
Thedefaultsettingisenabled(noshutdown).
Commandmode:VLAN
noshutdown
EnableslocaltrafficonthespecifiedVLAN.
Thisisthedefaultsetting.
Commandmode:VLAN
stg<1128>
AssignsaVLANtoaSpanningTreeGroup.
Note:ForMSTnoVLANassignationisrequired.VLANsaremappedfrom
CIST.
Commandmode:VLAN

434

G8052 Command Reference for N/OS 8.3

Table 240. VLANConfigurationOptions


Command Syntax and Usage

[no]vmap<1640>[serverports|nonserverports]
AddsorremovesaVLANMaptotheVLANmembership.Youcanchooseto
limitoperationoftheVLANMaptoserverportsonlyornonserverportsonly.
Ifyoudonotselectaporttype,theVMAPisappliedtotheentireVLAN.
Commandmode:VLAN
novlan<VLANID(14094)>
DeletesthisVLAN.
Commandmode:VLAN
showvlaninformation
DisplaysthecurrentVLANconfiguration.
Commandmode:All
Note: AllportsmustbelongtoatleastoneVLAN.Anyportwhichisremoved
fromaVLANandwhichisnotamemberofanyotherVLANisautomatically
addedtodefaultVLAN1.YoucannotremoveaportfromVLAN1iftheporthas
nomembershipinanyotherVLAN.Also,youcannotaddaporttomorethanone
VLANunlesstheporthasVLANtaggingturnedon.

Protocol-Based VLAN Configuration


UsethefollowingcommandstoconfigureProtocolbasedVLANfortheselected
VLAN.
Table 241. ProtocolVLANConfigurationOptions
Command Syntax and Usage

[no]protocolvlan<protocolnumber(18)>enable
EnablesordisablestheselectedprotocolontheVLAN.
Commandmode:VLAN
protocolvlan<protocolnumber(18)>frametype{ether2|llc|snap}
<ethernettype>
ConfigurestheframetypeandtheEthernettypefortheselectedprotocol.
Ethernettypeconsistsofa4digit(16bit)hexcode,suchas0080(IPv4).
Commandmode:VLAN
[no]protocolvlan<protocolnumber(18)>member<portaliasornumber>
AddsorremovesaporttotheselectedPVLAN.
Commandmode:VLAN
protocolvlan<protocolnumber(18)>priority<07>
ConfiguresthepriorityvalueforthisPVLAN.
Commandmode:VLAN

Copyright Lenovo 2015

Chapter 4: Configuration Commands

435

Table 241. ProtocolVLANConfigurationOptions(continued)


Command Syntax and Usage

protocolvlan<protocolnumber(18)>protocol<protocoltype>
Selectsapredefinedprotocol,asfollows:

decEther2:

DECLocalAreaTransport

ipv4Ether2:

InternetIP(IPv4)

ipv6Ether2:

IPv6

ipx802.2:

NovellIPX802.2

ipx802.3:

NovellIPX802.3

ipxEther2:

NovellIPX

ipxSnap:

NovellIPXSNAP

netbios:

NetBIOS802.2

rarpEther2:

ReverseARP

sna802.2:

SNA802.2

snaEther2:

LenovoSNAServiceonEthernet

vinesEther2:

BanyanVINES

xnsEther2:

XNSCompatibility

Commandmode:VLAN
[no]protocolvlan<protocolnumber(18)>tagpvlan
<portaliasornumber>
Addsorremovesaportthatwillbetaggedbytheselectedprotocolonthis
VLAN.
Commandmode:VLAN
noprotocolvlan<protocolnumber(18)>
DeletestheselectedprotocolconfigurationfromtheVLAN.
Commandmode:VLAN
showprotocolvlan<protocolnumber(18)>
DisplayscurrentparametersfortheselectedPVLAN.
Commandmode:All

436

G8052 Command Reference for N/OS 8.3

Private VLAN Configuration


UsethefollowingcommandstoconfigurePrivateVLANs.
Table 242. PrivateVLANOptions
Command Syntax and Usage

privatevlanassociation[add|remove]<secondaryVLANlist>
ConfiguresPrivateVLANmappingbetweenaprimaryVLANandsecondary
VLANs.Ifnooptionalparameterisspecified,thelistofsecondaryVLANs,
replacesthecurrentlyassociatedsecondaryVLANs.Otherwise:

addappendsthesecondaryVLANstotheonescurrentlyassociated

removeexcludesthesecondaryVLANsfromtheonescurrentlyassociated

Commandmode:VLAN
[no]privatevlancommunity
EnablesordisablestheVLANtypeasacommunityVLAN.
CommunityVLANscarryupstreamtrafficfromhostports.APrivateVLAN
mayhavemultiplecommunityVLANs.
Commandmode:VLAN
[no]privatevlanisolated
EnablesordisablestheVLANtypeasanisolatedVLAN.
TheisolatedVLANcarriesunidirectionaltrafficfromhostports.APrivate
VLANmayhaveonlyoneisolatedVLAN.
Commandmode:VLAN
[no]privatevlanprimary
EnablesordisablestheVLANtypeasaPrimaryVLAN.
APrivateVLANmusthaveonlyoneprimaryVLAN.TheprimaryVLAN
carriesunidirectionaltraffictoportsontheisolatedVLANortocommunity
VLAN.
Commandmode:VLAN
showvlanprivatevlan[type]
DisplayscurrentparametersfortheselectedPrivateVLAN(s).

typelistsonlytheVLANtypeforeachprivateVLAN:community,isolated
orprimary

Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

437

Flooding VLAN Configuration Menu


ThefollowingtabledescribestheFloodingVLANcommands.
Table 243. FloodingVLANMenuOptions
Command Syntax and Usage

[no]flood
EnablesordisablestheswitchtofloodunregisteredIPmulticasttraffictoall
ports.
Thedefaultsettingisenabled.
Note:IfnoneoftheIGMPhostsresideontheVLANofthestreamingserver
foraIPMCgroup,youmustenableIGMPfloodingtoensurethatmulticast
dataisforwardedacrosstheVLANsforthatIPMCgroup.
Commandmode:VLAN
[no]cpu
EnablesordisablestheswitchtoforwardunregisteredIPmulticasttrafficto
theMP,whichaddsanentryintheIPMCtable,asfollows:

IfnoMrouterispresent,dropsubsequentpacketswithsameIPMC.

IfaMrouterispresent,forwardsubsequentpacketstotheMrouter(s)onthe
ingressVLAN.

Thedefaultsettingisenabled.
Note:Ifbothfloodandcpuaredisabled,theswitchdropsallunregistered
IPMCtraffic.
Commandmode:VLAN
[no]optflood
Enablesordisablesoptimizedflooding.Whenenabled,optimizedflooding
avoidspacketlossduringthelearningperiod.
Thedefaultsettingisdisabled.
Commandmode:VLAN
showvlan<VLANID(14094)>information
DisplaysthecurrentfloodingparametersfortheselectedVLAN.
Commandmode:All

438

G8052 Command Reference for N/OS 8.3

Layer 3 Configuration
ThefollowingtabledescribesbasicLayer3Configurationcommands.The
followingsectionsprovidemoredetailedinformationandcommands.
Table 244. Layer3ConfigurationCommands
Command Syntax and Usage

interfaceip<1128>
ConfigurestheIPInterface.TheG8052supportsupto128IPinterfaces.To
viewcommandoptions,seepage 441.
Commandmode:Globalconfiguration
ippimcomponent<12>
EntersProtocolIndependentMulticast(PIM)componentconfigurationmode.
Toviewcommandoptions,seepage 537.
Commandmode:Globalconfiguration
iprouterid<IPaddress>
SetstherouterID.
Commandmode:Globalconfiguration
noiprouterid
RemovestherouterID.
Commandmode:Globalconfiguration
routemap<1255>
EntersIPRouteMapmode.Toviewcommandoptions,seepage 455.
Commandmode:Globalconfiguration
routerbgp
EntersBorderGatewayProtocol(BGP)configurationmode.Toview
commandoptions,seepage 493.
Commandmode:Globalconfiguration
routerospf
EntersOSPFconfigurationmode.Toviewcommandoptions,seepage 466.
Commandmode:Globalconfiguration
ipv6routerospf
EntersOSPFv3configurationmode.Toviewcommandoptions,seepage 476.
Commandmode:Globalconfiguration
routerrip
EnterstheRoutingInterfaceProtocol(RIP)configurationmode.Toview
commandoptions,seepage 462.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

439

Table 244. Layer3ConfigurationCommands(continued)


Command Syntax and Usage

routervrrp
EntersVirtualRouterRedundancy(VRRP)configurationmode.Toview
commandoptions,seepage 527.
Commandmode:Globalconfiguration
showlayer3
DisplaysthecurrentIPconfiguration.
Commandmode:All

440

G8052 Command Reference for N/OS 8.3

IP Interface Configuration
TheG8052supportsuptoIPinterfaces.EachIPinterfacerepresentstheG8052on
anIPsubnetonyournetwork.TheInterfaceoptionisdisabledbydefault.
Table 245. IPInterfaceConfigurationOptions
Command Syntax and Usage

interfaceip<IPinterfacenumber>
EnterIPinterfacemode.
Commandmode:Globalconfiguration
[no]enable
EnablesordisablesthisIPinterface.
Commandmode:InterfaceIP
ipaddress<IPaddress>[<IPnetmask>][enable]
ConfigurestheIPaddressoftheswitchinterface,usingdotteddecimal
notation.TheenableoptionalsoenablestheIPinterface.
Commandmode:InterfaceIP
ipnetmask<IPnetmask>
ConfigurestheIPsubnetaddressmaskfortheinterface,usingdotteddecimal
notation.
Commandmode:InterfaceIP
ipv6address<IPv6address>[<IPv6prefixlength>[anycast]][enable]
ConfigurestheIPv6addressoftheswitchinterface,usinghexadecimalformat
withcolons.TheanycastoptionconfigurestheIPv6addressasanIPv6
anycastaddress.TheenableoptionalsoenablestheIPinterface.
Commandmode:InterfaceIP
ipv6prefixlen<IPv6prefixlength(1128)>
ConfiguresthesubnetIPv6prefixlength.Thedefaultvalueis0(zero).
Commandmode:InterfaceIP
ipv6secaddr6address<IPv6address><IPv6prefixlength>[anycast]
ConfiguresthesecondaryIPv6addressoftheswitchinterface,using
hexadecimalformatwithcolons.Theanycastoptionconfiguresthe
secondaryIPv6addressasanIPv6anycastaddress.
Commandmode:InterfaceIP
noipv6secaddr6address
RemovesthesecondaryIPv6address.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

441

Table 245. IPInterfaceConfigurationOptions(continued)


Command Syntax and Usage

[no]ipv6unreachables
EnablesordisablessendingofICMPUnreachablemessages.
Thedefaultsettingisenabled.
Commandmode:InterfaceIP
[no]ip6host
EnablesordisablestheIPv6HostModeonthisinterface.
Thedefaultsettingisdisabledfordatainterfaces,andenabledforthe
managementinterface.
Commandmode:InterfaceIP
[no]relay
EnablesordisablestheBOOTPrelayonthisinterface.
Thedefaultsettingisenabled.
Commandmode:InterfaceIP
vlan<VLANID(14094)>
ConfigurestheVLANnumberforthisinterface.Eachinterfacecanbelongto
oneVLAN.
IPv4:EachVLANcancontainmultipleIPv4interfaces.
IPv6:EachVLANcancontainonlyoneIPv6interface.
Commandmode:InterfaceIP
nointerfaceip<IPinterfacenumber>
RemovesthisIPinterface.
Commandmode:Globalconfiguration
showinterfaceip<1128>
Displaysthecurrentinterfacesettings.
Commandmode:All

442

G8052 Command Reference for N/OS 8.3

IPv6 Neighbor Discovery Configuration


ThefollowingtabledescribestheIPv6NeighborDiscoveryconfiguration
commands.
Table 246. IPv6NeighborDiscoveryConfigurationOptions
Command Syntax and Usage

[no]ipv6ndadvmtu
EnablesordisablestheMTUoptioninRouterAdvertisements.
Thedefaultsettingisenabled.
Commandmode:InterfaceIP
ipv6nddadattempts<110>
Configuresthemaximumnumberofduplicateaddressdetectionattempts.
Thedefaultvalueis1.
Commandmode:InterfaceIP
noipv6nddadattempts
Resetsthemaximumnumberofduplicateaddressdetectionattemptstothe
defaultvalueof1.
Commandmode:InterfaceIP
ipv6ndhopslimit<0255>
ConfigurestheRouterAdvertisementhoplimit.
Thedefaultvalueis64hops.
Commandmode:InterfaceIP
noipv6ndhopslimit
ResetstheIPv6RouterAdvertisementhoplimittoitsdefaultvalueof64hops.
Commandmode:InterfaceIP
[no]ipv6ndmanagedconfig
Enablesordisablesthemanagedaddressconfigurationflagoftheinterface.
Whenenabled,thehostIPaddresscanbesetautomaticallythroughDHCP.
Thedefaultsettingisdisabled.
Commandmode:InterfaceIP
[no]ipv6ndotherconfig
Enablesordisablestheotherstatefulconfigurationflag,whichallowsthe
interfacetouseDHCPforotherstatefulconfiguration.
Thedefaultsettingisdisabled.
Commandmode:InterfaceIP

Copyright Lenovo 2015

Chapter 4: Configuration Commands

443

Table 246. IPv6NeighborDiscoveryConfigurationOptions(continued)


Command Syntax and Usage

ipv6ndrainterval<41800>
ConfigurestheRouterAdvertisementmaximuminterval.
Thedefaultvalueis600seconds.
Note:SetthemaximumRAintervaltoavaluegreaterthanorequalto4/3of
theminimumRAinterval.
Commandmode:InterfaceIP
noipv6ndrainterval
ResetstheIPv6RouterAdvertisementmaximumintervaltoitsdefaultvalueof
600seconds.
Commandmode:InterfaceIP
ipv6ndraintervalmin<31350>
ConfigurestheRouterAdvertisementminimuminterval.
Thedefaultvalueis198seconds.
Note:SettheminimumRAintervaltoavaluelessthanorequalto0.75ofthe
maximumRAinterval.
Commandmode:InterfaceIP
noipv6ndraintervalmin
ResetstheIPv6RouterAdvertisementminimumintervaltoitsdefaultvalueof
198seconds.
Commandmode:InterfaceIP
ipv6ndralifetime<09000>
ConfigurestheIPv6RouterAdvertisementlifetimeinterval.TheRAlifetime
intervalmustbegreaterthanorequaltotheRAmaximuminterval(advint).
Thedefaultvalueis1800seconds.
Commandmode:InterfaceIP
noipv6ndralifetime
ResetstheIPv6RouterAdvertisementlifetimeintervaltoitsdefaultvalueof
1800seconds.
Commandmode:InterfaceIP
ipv6ndreachabletime<13600>
ipv6ndreachabletime<13600000>ms
Configurestheadvertisedreachabilitytime,insecondsormilliseconds(ms).
Thedefaultvalueis30seconds.
Commandmode:InterfaceIP
noipv6ndreachabletime
Resetstheadvertisedreachabilitytimetoitsdefaultvalueof30seconds.
Commandmode:InterfaceIP

444

G8052 Command Reference for N/OS 8.3

Table 246. IPv6NeighborDiscoveryConfigurationOptions(continued)


Command Syntax and Usage

ipv6ndretransmittime<04294967>
ipv6ndretransmittime<04294967295>ms
ConfigurestheRouterAdvertisementretransmittimer,insecondsor
milliseconds(ms).
Thedefaultvalueis1second.
Commandmode:InterfaceIP
noipv6ndretransmittime
ResetstheRouterAdvertisementretransmittimertoitsdefaultvalueof1
second.
Commandmode:InterfaceIP
[no]ipv6ndsuppressra
EnablesordisablesIPv6RouterAdvertisementsontheinterface.
Thedefaultsettingisdisabled(suppressRouterAdvertisements).
Commandmode:InterfaceIP

Copyright Lenovo 2015

Chapter 4: Configuration Commands

445

Default Gateway Configuration


TheswitchcanbeconfiguredwithuptofourIPv4gateways,asfollows:

Gateway1,2,3and4:datatraffic

Thisoptionisdisabledbydefault.
Table 247. IPv4DefaultGatewayOptions
Command Syntax and Usage

ipgateway<14>address<IPaddress>[enable]
ConfigurestheIPaddressofthedefaultIPgatewayusingdotteddecimal
notation.TheenableoptionalsoenablestheIPgateway.
Commandmode:Globalconfiguration
[no]ipgateway<14>arphealthcheck
EnablesordisablesAddressResolutionProtocol(ARP)healthchecks.
Thedefaultsettingisdisabled.
Note:Thearpoptiondoesnotapplytomanagementgateways.
Commandmode:Globalconfiguration
[no]ipgateway<14>enable
Enablesordisablesthegatewayforuse.
Commandmode:Globalconfiguration
ipgateway<14>interval<060>
Theswitchpingsthedefaultgatewaytoverifythatitsup.Thiscommandsets
thetimebetweenhealthchecks.
Therangeisfrom0to60secondsandthedefaultis2seconds.
Commandmode:Globalconfiguration
ipgateway<14>retry<1120>
Setsthenumberoffailedhealthcheckattemptsrequiredbeforedeclaringthis
defaultgatewayinoperative.
Therangeisfrom1to120attemptsandthedefaultis8attempts.
Commandmode:Globalconfiguration
noipgateway<14>
Deletesthegatewayfromtheconfiguration.
Commandmode:Globalconfiguration
showipgateway<14>
Displaysthecurrentgatewaysettings.
Commandmode:All

446

G8052 Command Reference for N/OS 8.3

IPv4 Static Route Configuration


Upto128IPv4staticroutescanbeconfigured.
Table 248. IPv4StaticRouteConfigurationOptions
Command Syntax and Usage

iproute<IPsubnet><IPnetmask><IPnexthop>[<IPinterfacenumber>|
|port<portaliasornumber>]
Addsastaticroute.YouwillbepromptedtoenteradestinationIPaddress,
destinationsubnetmask,andgatewayaddress.Enteralladdressesusing
dotteddecimalnotation.
Commandmode:Globalconfiguration
noiproute<IPsubnet><IPnetmask>[<IPinterfacenumber>|<IPnexthop>
[<IPinterfacenumber>]|port<portaliasornumber>]
Removesastaticroute.Thedestinationaddressoftheroutetoremovemustbe
specifiedusingdotteddecimalnotation.
Commandmode:Globalconfiguration
iprouteecmphash[dipsip][sip]
ConfiguresECMPhashingparameters.Youmaychooseoneormoreofthe
followingparameters:

dipsip: DestinationIPandsourceIPaddress

sip:SourceIPaddress

Commandmode:Globalconfiguration
[no]iproutehealthcheck
Enablesordisablesstaticroutehealthchecks.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
iprouteinterval<160>
ConfigurestheECMPhealthcheckpinginterval,inseconds.
Thedefaultvalueis1second.
Commandmode:Globalconfiguration
iprouteretries<160>
ConfiguresthenumberofECMPhealthcheckretries.
Thedefaultvalueis3retries.
Commandmode:Globalconfiguration
noiprouteall
ClearsallIPstatisroutes.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

447

Table 248. IPv4StaticRouteConfigurationOptions(continued)


Command Syntax and Usage

noiproutedestinationaddress<IPaddress>
ClearsallIPstaticrouteswiththisdestination.
Commandmode:Globalconfiguration
noiproutegateway<IPaddress>
ClearsallIPstaticroutesthatusethisgateway.
Commandmode:Globalconfiguration
noiprouteinterface<IPinterfacenumber>
ClearsallIPstaticroutesthatusethespecifiedIPinterface.
Commandmode:Globalconfiguration
noiprouteport<portaliasornumber>
ClearsallIPstaticroutesthatusethespecifiedport.
Commandmode:Globalconfiguration
showiproutestatic
DisplaysthecurrentIPstaticroutes.
Commandmode:All

448

G8052 Command Reference for N/OS 8.3

IP Multicast Route Configuration


ThefollowingtabledescribestheIPMulticast(IPMC)routecommands.
Note: BeforeyoucanaddanIPMCroute,IGMPmustbeturnedon,IGMP
Snooping/Relaymustbeenabled,andtherequiredVLANsmustbeaddedto
IGMPSnooping/Relay.
Table 249. IPMulticastRouteConfigurationCommands
Command Syntax and Usage

[no]ipmroute<IPMCdestination><VLANID(14094)>
<portaliasornumber>[{primary|backup|host}[<virtualrouterID>]]
Addsorremovesastaticmulticastroute.Thedestinationaddress,VLANand
memberportoftheroutemustbespecified.
Commandmode:Globalconfiguration
[no]ipmroute<IPaddress><VLANID(14094)>portchannel<152>
[{primary|backup|host}[<virtualrouterID>]]
Addsorremovesastaticmulticastroute.Thedestinationaddress,VLAN,and
membertrunkgroupoftheroutemustbespecified.
Commandmode:Globalconfiguration
[no]ipmroute<IPaddress><VLANID(14094)>adminkey<165535>
[{primary|backup|host}[<virtualrouterID>]]
Addsorremovesastaticmulticastroute.Thedestinationaddress,VLAN,and
LACPadminkeyoftheroutemustbespecified.
Commandmode:Globalconfiguration
noipmrouteall
Removesallthestaticmulticastroutesconfigured.
Commandmode:Globalconfiguration
showipmroute
DisplaysthecurrentIPmulticastroutes.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

449

ARP Configuration
AddressResolutionProtocol(ARP)istheTCP/IPprotocolthatresideswithinthe
Internetlayer.ARPresolvesaphysicaladdressfromanIPaddress.ARPqueries
machinesonthelocalnetworkfortheirphysicaladdresses.ARPalsomaintainsIP
tophysicaladdresspairsinitscachememory.InanyIPcommunication,theARP
cacheisconsultedtoseeiftheIPaddressofthecomputerortherouterispresentin
theARPcache.Thenthecorrespondingphysicaladdressisusedtosendapacket.
Table 250. ARPConfigurationOptions
Command Syntax and Usage

iparprearp<2120>
DefinesreARPperiod,inminutes,forentriesintheswitcharptable.When
ARPentriesreachthisvaluetheswitchwillreARPfortheaddresstoattempt
torefreshtheARPcache.
Thedefaultvalueis5minutes.
Commandmode:Globalconfiguration
show[ip]arp
DisplaysthecurrentARPconfigurations.
Commandmode:All

ARP Static Configuration


StaticARPentriesarepermanentintheARPcacheanddonotageoutliketheARP
entriesthatarelearneddynamically.StaticARPentriesenabletheswitchtoreach
thehostswithoutsendinganARPbroadcastrequesttothenetwork.StaticARPs
arealsousefultocommunicatewithdevicesthatdonotrespondtoARPrequests.
StaticARPscanalsobeconfiguredonsomegatewaysasaprotectionagainst
maliciousARPCachecorruptionandpossibleDOSattacks.
Table 251. ARPStaticConfigurationOptions
Command Syntax and Usage

iparp<IPaddress><MACaddress>[vlan<VLANID(14094)>]
[port<portaliasornumber>]
AddsapermanentARPentry.
Commandmode:Globalconfiguration
iparp<destinationunicastIPaddress><destinationmulticastMACaddress>
vlan<clustervlannumber>
AddsastaticmulticastARPentryforNetworkLoadBalancing(NLB).
Commandmode:Globalconfiguration
noiparp<IPaddress>
DeletesapermanentARPentry.
Commandmode:Globalconfiguration

450

G8052 Command Reference for N/OS 8.3

Table 251. ARPStaticConfigurationOptions


Command Syntax and Usage

noiparpall[ip<IPinterfacenumber>|interfaceport
<portaliasornumber>|vlan<VLANID(14094)>]
DeletesallstaticARPentriesorjusttheARPentriesthatuseaspecificIP
interface,portorvlan.
Commandmode:Globalconfiguration
show[ip]arpstatic
DisplayscurrentstaticARPconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

451

Dynamic ARP Inspection Configuration


DynamicARPInspection(DAI)isanadditiontothefeatureDHCPSnooping.
DAIisasecurityfeaturethatenablesthedevicetointerceptandexamineallARP
requestandresponsepacketsinasubnetanddiscardthosepacketswithinvalidIP
toMACaddressbindings.
Note:DAIisavailableonlyifDHCPSnoopingisenabled.Fordetails,seeDHCP
Snoopingonpage 549.
Table 252. DynamicARPInspectionConfigurationOptions
Command Syntax and Usage

[no]iparpinspectionvlan<VLANID(14094)>
EnablesordisablesDAIontheselectedVLANs.
Commandmode:Globalconfiguration
[no]iparpinspectiontrust
ConfigurestheporttobeaDAItrustedport.OnaDAItrustedport,allARP
packetsskipthesecuritycheck.
Thedefaultsettingsisuntrusted.
Note:Configuringtrustedinterfacesasbeinguntrustedcanresultinalossof
connectivity.
Commandmode:Interfaceport
[no]logginglogarpinspection
EnablesordisablesloggingforDAI.
Thedefaultsettingisenabled.
Commandmode:Globalconfiguration
showiparpinspection
DisplaysthecurrentDAIconfigurationsettings.Formodedetails,seepage 94.
Commandmode:All

452

G8052 Command Reference for N/OS 8.3

IP Forwarding Configuration
ThefollowingtabledescribestheIPForwardingcommands.
Table 253. IPForwardingConfigurationOptions
Command Syntax and Usage

[no]iprouting
EnablesordisablesIPforwarding(routing)ontheG8052.
Forwardingisturnedonbydefault.
Commandmode:Globalconfiguration
[no]iproutingdirectedbroadcasts
Enablesordisablesforwardingdirectedbroadcasts.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
[no]iproutingicmp6redirect
EnablesordisablesIPv6ICMPredirects.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
[no]iproutingnoicmpredirect
EnablesordisablesICMPredirects.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
showiprouting
DisplaysthecurrentIPforwardingsettings.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

453

Network Filter Configuration


ThefollowingtabledescribestheNetworkFiltercommands.
Table 254. IPNetworkFilterConfigurationOptions
Command Syntax and Usage

ipmatchaddress<1256><IPaddress><IPnetmask>
SetsthestartingIPaddressandIPNetmaskforthisfiltertodefinetherangeof
IPaddressesthatwillbeacceptedbythepeerwhenthefilterisenabled.
Thedefaultaddressis0.0.0.00.0.0.0.
Commandmode:Globalconfiguration.
[no]ipmatchaddress<1256>enable
EnablesordisablestheNetworkFilterconfiguration.
Commandmode:Globalconfiguration
noipmatchaddress<1256>
DeletestheNetworkFilterconfiguration.
Commandmode:Globalconfiguration
showipmatchaddress[<1256>]
DisplaysthecurrenttheNetworkFilterconfiguration.
Commandmode:All

454

G8052 Command Reference for N/OS 8.3

Routing Map Configuration


Routingmapscontrolandmodifyroutinginformation.
Note: Themapnumber(1255)representstheroutingmapyouwishtoconfigure.
Table 255. RoutingMapConfigurationOptions
Command Syntax and Usage

routemap<1255>
Enterroutemapconfigurationmode.
Commandmode:Globalconfiguration
accesslist<132>
ConfigurestheAccessList.Formoreinformation,seepage 458.
Commandmode:Routemap
aspathlist<18>
ConfigurestheAutonomousSystem(AS)Filter.Formoreinformation,see
page 461.
Commandmode:Routemap
aspathpreference<165535>
SetstheASpathpreferenceofthematchedroute.Youcanconfigureupto32
pathpreferences.
Commandmode:Routemap
noaspathpreference
RemovestheASpathpreferenceofthecurrentroutemap.
Commandmode:Routemap
[no]enable
Enablesordisablestheroutemap.
Commandmode:Routemap
localpreference<04294967294>
Setsthelocalpreferenceofthematchedroute,whichaffectsbothinboundand
outbounddirections.Thepathwiththehigherpreferenceispreferred.
Commandmode:Routemap
nolocalpreference
Removesthelocalpreferenceofthecurrentroutemap.
Commandmode:Routemap
metric<14294967294>
Setsthemetricofthematchedroute.
Commandmode:Routemap

Copyright Lenovo 2015

Chapter 4: Configuration Commands

455

Table 255. RoutingMapConfigurationOptions(continued)


Command Syntax and Usage

nometric
Removestheconfiguredmetricofthecurrentroutemap.
Commandmode:Routemap
metrictype{1|2}
AssignsthetypeofOSPFmetric.

Type1Externalroutesarecalculatedusingbothinternalandexternal
metrics.

Type2Externalroutesarecalculatedusingonlytheexternalmetrics.

Type1routesareprefferedoverType2.
ThedefaultisType1.
Commandmode:Routemap
nometrictype
RemovestheOSPFmetricofthecurrentroutemap.
Commandmode:Routemap
precedence<1255>
Setstheprecedenceoftheroutemap.Thesmallerthevalue,thehigherthe
precedence.
Thedefaultvalueis10.
Commandmode:Routemap
setcommunity[<communitystring>|none]
SetstheBGPcommunityattribute.Enterupto32communitiesstringsusing
theformat,aa:nn.Forexample,12:34.Validstringsarefrom0:0to
65535:65535.Thenoneoptionremovesthecommunityattributefrom
prefixthatpassedtheroutemap.
Commandmode:Routemap
nosetcommunity
RemovestheBGPcommunityattributefromtheroutemapconfiguration.
Commandmode:Routemap
weight<065534>
Setstheweightoftheroutemap.
Commandmode:Routemap
noweight
Deletestheweightofthecurrentroutemap.
Commandmode:Routemap

456

G8052 Command Reference for N/OS 8.3

Table 255. RoutingMapConfigurationOptions(continued)


Command Syntax and Usage

noroutemap<1255>
Deletestheroutemap.
Commandmode:Globalconfiguration
showroutemap[<1255>]
Displaysthecurrentrouteconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

457

IP Access List Configuration


Note: Theroutemapnumber(164)andtheaccesslistnumber(132)representtheIP
accesslistyouwishtoconfigure.
Table 256. IPAccessListConfigurationOptions
Command Syntax and Usage

accesslist<132>action{permit|deny}
Permitsordeniesactionfortheaccesslist.
Commandmode:Routemap
[no]accesslist<132>enable
Enablesordisablestheaccesslist.
Commandmode:Routemap
[no]accesslist<132>matchaccesscontrol<1640>
Setsthenetworkfilternumber.
Commandmode:Routemap
[no]accesslist<132>matchaddress<1256>
Setsthenetworkfilternumber.SeeNetworkFilterConfigurationon
page 454fordetails.
Commandmode:Routemap
accesslist<132>metric<14294967294>
SetsthemetricvalueintheASExternal(ASE)LSA.
Commandmode:Routemap
noaccesslist<132>metric
Removesthecurrentmetricvalueforthespecifiedaccesslist.
Commandmode:Routemap
noaccesslist<132>
Deletestheaccesslist.
Commandmode:Routemap
showroutemap<1255>accesslist<132>
DisplaysthecurrentAccessListconfiguration.
Commandmode:All

458

G8052 Command Reference for N/OS 8.3

Policy-Based Routing Configuration


Usethefollowingcommandstosetuppolicybasedrouting.
Note: Multipleaccesslistscanbeenteredseparatedbyacomma(forexample,
2,5,17);arangeofaccesslistscanbeenteredusingahyphen(suchas223).
Table 257. IPNextHopConfigurationOptions
Command Syntax and Usage

[no]setipdscp<063>[accesslist<132>]
SetstheIPDSCPvalueintheIPheaderforpacketsthatmatchroutemap
policy.
Commandmode:Routemap
[no]setipnexthop<IPaddresses>[accesslist<132>]
SetstheIPaddressesforthenexthoptowhichpacketsareforwardedforeach
specifiedaccesslist.Whenmultipleaddressesarespecifiedtheyare
prioritizedintheorderinwhichtheyareentered.Eachnexthopmustbean
adjacentrouter.
Usethenoformofthecommandtoremovetheentry.
Commandmode:Routemap
[no]setipnexthopverifyavailability<IPaddress>
<sequence(1255)>[arp|icmp][interval<160>][retry<13>]
[accesslist<132>]
PerformshealthcheckingonandinsertsthenexthopIPaddressatthe
specifiedplace(sequence)inthespecifiedaccesslistusingARPorICMPasthe
trackingprotocol.Ifnotsuccessful,thecommandwillretrythehealthcheckat
regularintervalsofthespecifiednumberofsecondsforthenumberofretries
specifiedbyretry.Usethenoformofthecommandtoremovetheentry.
Defaultvaluesarearp,2seconds,and3retries.
Note:Thiscommandoverridesthesetipnexthop<IPaddress>
command.
Commandmode:Routemap
[no]setipprecedence<precedencevalue>[accesslist<132>]
SetstheIPprecedencevalueintheIPheaderforpacketsthatmatchroutemap
policy.Youcanchooseaprecendencevaluebetween0and7oroneofthe
following:

routinesetsroutineprecedence

prioritysetspriorityprecedence(1)

immediatesetsimmediateprecedence(2)

flashsetsflashprecedence(3)

flashoverrridesetsflashoverrideprecedence(4)

criticalsetscriticalprecedence(5)

internetsetsinternetworkcontrolprecedence(6)

networksetsnetworkprecedence(7)

Commandmode:Routemap
Copyright Lenovo 2015

Chapter 4: Configuration Commands

459

Table 257. IPNextHopConfigurationOptions


Command Syntax and Usage

[no]ippolicyroutemap<1255>
AppliestheroutemaptoanIPinterfacethathasaVLANconfigured.
Commandmode:InterfaceIP
showroutemap<1255>
Displaysthecurrentroutemapconfiguration.
Commandmode:All
showroutemap<1255>accesslist<132>
DisplaysthecurrentAccessListconfiguration.
Commandmode:All
showippolicy
Displaysthecurrentroutingpolicyinformation.
Commandmode:All
showippolicystatistics
Displaysstatisticsforthecurrentroutingpolicy.
Commandmode:All

460

G8052 Command Reference for N/OS 8.3

Autonomous System Filter Path Configuration


Note: TheroutemapnumberandthepathnumberrepresenttheASpathyouwishto
configure.
Table 258. ASFilterConfigurationOptions
Command Syntax and Usage

aspathlist<18>action{permit|deny}
PermitsordeniesAutonomousSystemfilteraction.
Commandmode:Routemap
aspathlist<18>aspath<165535>
SetstheAutonomousSystemfilterspathnumber.
Commandmode:Routemap
[no]aspathlist<18>enable
EnablesordisablestheAutonomousSystemfilter.
Commandmode:Routemap
noaspathlist<18>
DeletestheAutonomousSystemfilter.
Commandmode:Routemap
showroutemap<1255>aspathlist<18>
DisplaysthecurrentAutonomousSystemfilterconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

461

Routing Information Protocol Configuration


RIPcommandsareusedforconfiguringRoutingInformationProtocolparameters.
Thisoptionisturnedoffbydefault.
Table 259. RoutingInformationProtocolOptions
Command Syntax and Usage

routerrip
EnterRouterRIPconfigurationmode.
Commandmode:Globalconfiguration
[no]enable
GloballyenablesordisablesRIP.
Commandmode:RouterRIP
[no]redistribute{fixed|static|ospf|eospf|ebgp|ibgp}
ConfiguresRIProutedistribution.Toviewcommandoptions,seepage 465.
Commandmode:RouterRIP
timersupdate<1120>
ConfiguresthetimeintervalforsendingforRIPtableupdates,inseconds.
Thedefaultvalueis30seconds.
Commandmode:RouterRIP
showiprip
DisplaysthecurrentRIPconfiguration.
Commandmode:All

462

G8052 Command Reference for N/OS 8.3

RIP Interface Configuration


TheRIPInterfacecommandsareusedforconfiguringRoutingInformation
Protocolparametersfortheselectedinterface.
Note: DonotconfigureRIPversion1parametersifyourroutingequipmentuses
RIPversion2.
Table 260. RIPInterfaceOptions
Command Syntax and Usage

ipripauthenticationkey<password>
Configurestheauthenticationkeypassword.
Commandmode:InterfaceIP
noipripauthenticationkey
Removestheauthenticationkeypassword.
Commandmode:InterfaceIP
ipripauthenticationtypepassword<password>
Configurestheauthenticationtype.
Thedefaultisnone.
Commandmode:InterfaceIP
noipripauthenticationtype
Removestheauthenticationtype.
Commandmode:InterfaceIP
ipripdefaultaction{listen|supply|both}
Whenenabled,theswitchacceptsRIPdefaultroutesfromotherrouters,but
givesthemlowerprioritythanconfigureddefaultgateways.
Thedefaultvalueisnone.
Commandmode:InterfaceIP
noipripdefaultaction
ConfigurestheswitchtorejectRIPdefaultroutes.
Commandmode:InterfaceIP
[no]ipripenable
EnablesordisablesRIPonthecurrentinterface.
Commandmode:InterfaceIP
[no]ipriplisten
Whenenabled,theswitchlearnsroutesfromotherrouters.
Thedefaultvalueisenabled.
Commandmode:InterfaceIP

Copyright Lenovo 2015

Chapter 4: Configuration Commands

463

Table 260. RIPInterfaceOptions(continued)


Command Syntax and Usage

ipripmetric<115>
Configurestheroutemetric,whichindicatestherelativedistancetothe
destination.
Thedefaultvalueis1.
Commandmode:InterfaceIP
[no]ipripmulticastupdates
Enablesordisablesmulticastupdatesoftheroutingtable(usingaddress
224.0.0.9).
Thedefaultvalueisenabled.
Commandmode:InterfaceIP
[no]iprippoison
Whenenabled,theswitchusessplithorizonwithpoisonedreverse.When
disabled,theswitchusesonlysplithorizon.
Thedefaultvalueisdisabled.
Commandmode:InterfaceIP
[no]ipripsplithorizon
Enablesordisablessplithorizon.
Thedefaultvalueisenabled.
Commandmode:InterfaceIP
[no]ipripsupply
Whenenabled,theswitchsuppliesroutestootherrouters.
Thedefaultvalueisenabled.
Commandmode:InterfaceIP
[no]ipriptriggered
EnablesordisablesTriggeredUpdates.TriggeredUpdatesareusedtospeed
convergence.Whenenabled,TriggeredUpdatesforcearoutertosendupdate
messagesimmediately,evenifitisnotyettimefortheupdatemessage.
Thedefaultvalueisenabled.
Commandmode:InterfaceIP
ipripversion{1|2|both}
ConfigurestheRIPversionusedbythisIPinterface.
Thedefaultvalueisversion2.
Commandmode:InterfaceIP
showinterfaceip<IPinterfacenumber>rip
DisplaysthecurrentRIPconfiguration.
Commandmode:All

464

G8052 Command Reference for N/OS 8.3

RIP Route Redistribution Configuration


ThefollowingtabledescribestheRIPRouteRedistributioncommands.
Table 261. RIPRedistributionOptions
Command Syntax and Usage

[no]redistribute{fixed|static|ospf|eospf|ebgp|ibgp}
{<1255>|all}
AddsorremovesselectedroutingmapstotheRIProuteredistributionlist.To
addspecificroutemaps,enterroutingmapnumbers,separatedbyacomma(,).
Toaddorremoveall255routemaps,typeall.
Theroutesoftheredistributionprotocolmatchedbytheroutemapsinthe
routeredistributionlistwillberedistributed.
Commandmode:RouterRIP
redistribute{fixed|static|ospf|eospf|ebgp|ibgp}export
<metricnumber(115)>
Exportstheroutesofthisprotocolinwhichthemetricandmetrictypeare
specified.
Commandmode:RouterRIP
noredistribute{fixed|static|ospf|eospf|ebgp|ibgp}export
Stopsexportingtheroutesofthespecifiedprotocol.
Commandmode:RouterRIP
showipripredistribute
DisplaysthecurrentRIProuteredistributeconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

465

Open Shortest Path First Configuration


ThefollowingtabledescribestheOSPFcommands.
Table 262. OSPFConfigurationOptions
Command Syntax and Usage

routerospf
EnterRouterOSPFconfigurationmode.
Commandmode:Globalconfiguration
area<019>
ConfiguresOSPFareaindex.Seepage 467toviewcommandoptions.
Commandmode:RouterOSPF
arearange<116>
Configuressummaryroutesforupto16IPaddresses.Seepage 469toview
commandoptions.
Commandmode:RouterOSPF
areavirtuallink<13>
ConfigurestheVirtualLinksusedtoconfigureOSPFforaVirtualLink.See
page 472toviewcommandoptions.
Commandmode:RouterOSPF
defaultinformation<116777214><ASexternalmetrictype(12)>
Setsonedefaultrouteamongmultiplechoicesinanarea.
Commandmode:RouterOSPF
nodefaultinformation
Removesthedefaultrouteinformation.
Commandmode:RouterOSPF
[no]enable
EnablesordisablesOSPFontheG8052.
Commandmode:RouterOSPF
host<1128>
ConfiguresOSPFforthehostroutes.Upto128hostroutescanbeconfigured.
HostroutesareusedforadvertisingnetworkdeviceIPaddressestoexternal
networkstoperformserverloadbalancingwithinOSPF.ItalsomakesArea
BorderRoute(ABR)loadsharingandABRfailoverpossible.
Seepage 474toviewcommandoptions.
Commandmode:RouterOSPF
lsdblimit<LSDBlimit(04096,0fornolimit)>
Setsthelinkstatedatabaselimit.
Commandmode:RouterOSPF

466

G8052 Command Reference for N/OS 8.3

Table 262. OSPFConfigurationOptions(continued)


Command Syntax and Usage

messagedigestkey<keyID(1255)>md5key<textstring>
AssignsastringtoMD5authenticationkey.
Commandmode:RouterOSPF
nomessagedigestkey<keyID(1255)>
RemovestheMD5authenticationkey.
Commandmode:RouterOSPF
redistribute{fixed|static|rip|ebgp|ibgp}
ConfiguresOSPFrouteredistribution.Seepage 475toviewcommandoptions.
Commandmode:RouterOSPF
showipospf
DisplaysthecurrentOSPFconfigurationsettings.
Commandmode:All

Area Index Configuration


ThefollowingtabledescribestheAreaIndexcommands.
Table 263. AreaIndexConfigurationOptions
Command Syntax and Usage

area<019>areaid<IPaddress>
DefinestheIPaddressoftheOSPFareanumber.
Commandmode:RouterOSPF
area<019>authenticationtype{password|md5}
Setstheauthenticationtype.

passwordauthenticatessimplepasswordssothatonlytrustedrouting
devicescanparticipate.

md5isusedwhenMD5cryptographicauthenticationisrequired.

Commandmode:RouterOSPF
noarea<019>authenticationtype
Removestheauthentificationtype.
Commandmode:RouterOSPF
[no]area<019>enable
EnablesordisablestheOSPFarea.
Commandmode:RouterOSPF

Copyright Lenovo 2015

Chapter 4: Configuration Commands

467

Table 263. AreaIndexConfigurationOptions(continued)


Command Syntax and Usage

area<019>spfinterval<1255>
Configurestheminimumtimeinterval,inseconds,betweentwosuccessive
SPF(shortestpathfirst)calculationsoftheshortestpathtreeusingthe
Dijkstrasalgorithm.
Thedefaultvalueis10seconds.
Commandmode:RouterOSPF
area<019>stubmetric<165535>
Configuresastubareatosendanumericmetricvalue.Allroutesreceivedviathat
stubareacarrytheconfiguredmetrictopotentiallyinfluencingroutingdecisions.
Metricvalueassignsthepriorityforchoosingtheswitchfordefaultroute.
Commandmode:RouterOSPF
area<019>type{transit|stub|nssa}
Definesthetypeofarea.Forexample,whenavirtuallinkhastobeestablished
withthebackbone,theareatypemustbedefinedastransit.

transitarea:allowsareasummaryinformationtobeexchanged
betweenroutingdevices.AnyareathatisnotastubareaorNSSAis
consideredtobetransitarea.

stubarea:isanareawhereexternalroutinginformationisnot
distributed.Typically,astubareaisconnectedtoonlyoneotherarea.

nssa:NotSoStubbyArea(NSSA)issimilartostubareawithadditional
capabilities.Forexample,routesoriginatingfromwithintheNSSAcanbe
propagatedtoadjacenttransitandbackboneareas.

Commandmode:RouterOSPF
noarea<019>
DeletestheOSPFarea.
Commandmode:RouterOSPF
showipospfarea<019>
DisplaysthecurrentOSPFconfiguration.
Commandmode:All

468

G8052 Command Reference for N/OS 8.3

OSPF Summary Range Configuration


ThefollowingtabledescribestheOSPFSummaryRangecommands.
Table 264. OSPFSummaryRangeConfigurationOptions
Command Syntax and Usage

arearange<116>address<IPaddress>[<IPnetmask>]
DisplaysthebaseIPaddressortheIPaddressmaskfortherange.
Commandmode:RouterOSPF
arearange<116>area<019>
DisplaystheareaindexusedbytheG8052.
Commandmode:RouterOSPF
[no]arearange<116>enable
EnablesordisablestheOSPFsummaryrange.
Commandmode:RouterOSPF
[no]arearange<116>hide
HidesorunhidestheOSPFsummaryrange.
Commandmode:RouterOSPF
noarearange<116>
DeletestheOSPFsummaryrange.
Commandmode:RouterOSPF
showipospfarearange<116>
DisplaysthecurrentOSPFsummaryrange.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

469

OSPF Interface Configuration


ThefollowingtabledescribestheOSPFInterfacecommands.
Table 265. OSPFInterfaceConfigurationOptions
Command Syntax and Usage

ipospfarea<019>
ConfigurestheOSPFareaindex.
Commandmode:InterfaceIP
ipospfcost<165535>
Configurescostsetfortheselectedpathpreferredorbackup.Usuallythe
costisinverselyproportionaltothebandwidthoftheinterface.Lowcost
indicateshighbandwidth.
Commandmode:InterfaceIP
ipospfdeadinterval<165535>
ipospfdeadinterval<100065535ms>
Configuresthehealthparametersofahellopacket,insecondsor
milliseconds,beforedeclaringasilentroutertobedown.
Commandmode:InterfaceIP
[no]ipospfenable
EnablesordisablestheOSPFinterface.
Commandmode:InterfaceIP
ipospfhellointerval<165535>
ipospfhellointerval<5065535ms>
Configurestheinterval,insecondsormilliseconds,betweenthehello
packetsfortheinterfaces.
Commandmode:InterfaceIP
ipospfkey<keystring>
Setstheauthenticationkeytoclearthepassword.
Commandmode:InterfaceIP
noipospfkey
Removestheauthentificationkeytoclearthepassword.
Commandmode:InterfaceIP
ipospfmessagedigestkey<1255>
AssignsanMD5keytotheinterface.
Commandmode:InterfaceIP
noipospfmessagedigestkey
RemovestheMD5keyformtheinterface.
Commandmode:InterfaceIP

470

G8052 Command Reference for N/OS 8.3

Table 265. OSPFInterfaceConfigurationOptions(continued)


Command Syntax and Usage

[no]ipospfpassiveinterface
Setstheinterfaceaspassive.Onapassiveinterface,youcandisableOSPF
protocolexchanges,buttherouteradvertisestheinterfaceinitsLSAssothatIP
connectivitytotheattachednetworksegmentwillbeestablished.
Commandmode:InterfaceIP
[no]ipospfpointtopoint
Setstheinterfaceaspointtopoint.
Commandmode:InterfaceIP
ipospfpriority<0255>
ConfiguresthepriorityvaluefortheG8052sOSPFinterfaces.
Apriorityvalueof255isthehighestand1isthelowest.Apriorityvalueof0
specifiesthattheinterfacecannotbeusedasDesignatedRouter(DR)or
BackupDesignatedRouter(BDR).
Commandmode:InterfaceIP
ipospfretransmitinterval<13600>
Configurestheretransmitintervalinseconds.
Commandmode:InterfaceIP
ipospftransitdelay<13600>
Configuresthetransitdelayinseconds.
Commandmode:InterfaceIP
noipospf
DeletestheOSPFinterface.
Commandmode:InterfaceIP
showinterfaceip<IPinterfacenumber>ospf
DisplaysthecurrentsettingsforOSPFinterface.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

471

OSPF Virtual Link Configuration


ThefollowingtabledescribestheOSPFVirtualLinkcommands.
Table 266. OSPFVirtualLinkConfigurationOptions
Command Syntax and Usage

areavirtuallink<13>area<019>
ConfigurestheOSPFareaindexforthevirtuallink.
Commandmode:RouterOSPF
areavirtuallink<13>deadinterval<165535>
areavirtuallink<13>deadinterval<100065535ms>
Configuresthehealthparametersofahellopacket,insecondsormilliseconds.
Thedefaultvalueis40seconds.
Commandmode:RouterOSPF
[no]areavirtuallink<13>enable
EnablesordisablesOSPFvirtuallink.
Commandmode:RouterOSPF
areavirtuallink<13>hellointerval<165535>
areavirtuallink<13>hellointerval<5065535ms>
Configurestheauthenticationparametersofahellopacket,insecondsor
milliseconds.
Thedefaultvalueis10seconds.
Commandmode:RouterOSPF
areavirtuallink<13>key<password>
Configuresthepassword(uptoeightcharacters)foreachvirtuallink.
Thedefaultsettingisnone.
Commandmode:RouterOSPF
noareavirtuallink<13>key
Removestheauthentificationkey.
Commandmode:RouterOSPF
areavirtuallink<13>messagedigestkey<1255>
SetsMD5keyIDforeachvirtuallink.
Thedefaultsettingisnone.
Commandmode:RouterOSPF
noareavirtuallink<13>messagedigestkey
RemovestheMD5keyIDforthespecifiedvirtuallink.
Commandmode:RouterOSPF

472

G8052 Command Reference for N/OS 8.3

Table 266. OSPFVirtualLinkConfigurationOptions(continued)


Command Syntax and Usage

areavirtuallink<13>neighborrouter<IPaddress>
ConfigurestherouterIDofthevirtualneighbor.
Thedefaultvalueis0.0.0.0.
Commandmode:RouterOSPF
areavirtuallink<13>retransmitinterval<13600>
Configurestheretransmitinterval,inseconds.
Thedefaultvalueis5seconds.
Commandmode:RouterOSPF
areavirtuallink<13>transitdelay<13600>
Configuresthedelayintransit,inseconds.
Thedefaultvalueis1second.
Commandmode:RouterOSPF
noareavirtuallink<13>
DeletesOSPFvirtuallink.
Commandmode:RouterOSPF
showipospfareavirtuallink<13>
DisplaysthecurrentOSPFvirtuallinksettings.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

473

OSPF Host Entry Configuration


ThefollowingtabledescribestheOSPFHostEntrycommands.
Table 267. OSPFHostEntryConfigurationOptions
Command Syntax and Usage

host<1128>address<IPaddress>
ConfiguresthebaseIPaddressforthehostentry.
Commandmode:RouterOSPF
host<1128>area<019>
Configurestheareaindexofthehost.
Commandmode:RouterOSPF
host<1128>cost<165535>
Configuresthecostvalueofthehost.
Commandmode:RouterOSPF
[no]host<1128>enable
EnablesordisablestheOSPFhostentry.
Commandmode:RouterOSPF
nohost<1128>
DeletesOSPFhostentry.
Commandmode:RouterOSPF
showipospfhost<1128>
DisplaysthecurrentOSPFhostentries.
Commandmode:All

474

G8052 Command Reference for N/OS 8.3

OSPF Route Redistribution Configuration


ThefollowingtabledescribestheOSPFRouteRedistributioncommands.
Table 268. OSPFRouteRedistributionConfigurationOptions
Command Syntax and Usage

[no]redistribute{fixed|static|rip|ebgp|ibgp}<1255>
Addsorremovesselectedroutingmaptothermaplist.
Thisoptionaddsaroutemaptotherouteredistributionlist.Theroutesofthe
redistributionprotocolmatchedbytheroutemapsintherouteredistribution
listwillberedistributed.
Commandmode:RouterOSPF
redistribute{fixed|static|rip|ebgp|ibgp}export
<metric(116777214)><ASexternalmetrictype(12)>
ExportstheroutesofthisprotocolasexternalOSPFASexternalLSAsinwhich
themetricandmetrictypearespecified.
Commandmode:RouterOSPF
noredistribute{fixed|static|rip|ebgp|ibgp}export
Stopsexportingtheroutesoftheprotocol.
Commandmode:RouterOSPF
showipospfredistribute
Displaysthecurrentroutemapsettings.
Commandmode:All

OSPF MD5 Key Configuration


ThefollowingtabledescribestheOSPFMD5Keycommands.
Table 269. OSPFMD5KeyOptions
Command Syntax and Usage

messagedigestkey<1255>md5key<116characters>
SetstheauthenticationkeyforthisOSPFpacket.
Commandmode:RouterOSPF
nomessagedigestkey<1255>
DeletestheauthenticationkeyforthisOSPFpacket.
Commandmode:RouterOSPF
showipospfmessagedigestkey<1255>
DisplaysthecurrentMD5keyconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

475

Open Shortest Path First Version 3 Configuration


ThefollowingtabledescribestheOSPFv3commands.
Table 270. OSPFv3ConfigurationOptions
Command Syntax and Usage

[no]ipv6routerospf
EnterOSPFv3configurationmode.
Commandmode:Globalconfiguration
abrtype[standard|cisco|ibm]
ConfigurestheAreaBorderRouter(ABR)type,asfollows:

Standard

Cisco

IBM

Thedefaultsettingisstandard.
Commandmode:RouterOSPF3
noabrtype
ResetstheAreaBorderRouter(ABR)typetoitsdefaultvaluestandard.
Commandmode:RouterOSPF3
asexternallsdblimit<LSDBlimit(02147483647,1fornolimit)>
Setsthelinkstatedatabaselimit.
Thedefaultvalueis1.
Commandmode:RouterOSPF3
[no]enable
EnablesordisablesOSPFv3ontheswitch.
Commandmode:RouterOSPF3
exitoverflowinterval<04294967295>
ConfiguresthenumberofsecondsthataroutertakestoexitOverflowState.
Thedefaultvalueis0.
Commandmode:RouterOSPF3

476

G8052 Command Reference for N/OS 8.3

Table 270. OSPFv3ConfigurationOptions(continued)


Command Syntax and Usage

neighbor<1256>{address<IPv6address>|interface<1128>|
|priority<0255>}
Configuresdirectlyreachableroutersovernonbroadcastnetworks.Thisis
requiredfornonbroadcastmultipleaccess(NBMA)networksandoptionalfor
PointtoMultipointnetworks.

addressconfigurestheneighborsIPv6address.

interfaceconfigurestheOSPFv3interfaceusedfortheneighborentry.

priorityconfiguresthepriorityvalueusedfortheneighborentry.A
priorityvalueof255isthehighestand1isthelowest.Apriorityvalueof0
specifiesthattheneighborcannotbeusedasDesignatedRouterorBackup
DesignatedRouter.

Thedefaultvalueis1.
Commandmode:RouterOSPF3
[no]neighbor<1256>enable
Enablesordisablesthespecifiedneighbor.
Commandmode:RouterOSPF3
noneighbor<1256>
Deletestheneighborentry.
Commandmode:RouterOSPF3
[no]nssaAsbrDfRtTrans
EnablesordisablessettingofthePbitinthedefaultType7LSAgeneratedby
anNSSAinternalASBR.
Thedefaultsettingisdisabled.
Commandmode:RouterOSPF3
referencebandwidth<04294967295>
Configuresthereferencebandwidth,inkilobitspersecond,usedtocalculate
thedefaultinterfacemetric.
Thedefaultvalueis100,000.
Commandmode:RouterOSPF3
routerid<IPv4address>
DefinestherouterID.
Commandmode:RouterOSPF3

Copyright Lenovo 2015

Chapter 4: Configuration Commands

477

Table 270. OSPFv3ConfigurationOptions(continued)


Command Syntax and Usage

timersspf<SPFdelay(065535)><SPFholdtime(065535)>
ConfiguresthenumberofsecondsthatSPFcalculationisdelayedaftera
topologychangemessageisreceived.
Thedefaultvalueis5seconds.
ConfiguresthenumberofsecondsbetweenSPFcalculations.
Thedefaultvalueis10seconds.
Commandmode:RouterOSPF3
notimersspf
ResetstheSPFtimerstotheirdefaultvaluesSPFdelayto5secondsandSPF
holdtimeto10seconds.
Commandmode:RouterOSPF3
showipv6ospf
DisplaysthecurrentOSPFconfigurationsettings.
Commandmode:All

OSPFv3 Area Index Configuration


ThefollowingtabledescribestheOSPFv3AreaIndexcommands.
Table 271. OSPFv3AreaIndexConfigurationOptions
Command Syntax and Usage

area<02>areaid<IPaddress>
DefinestheIPaddressoftheOSPFv3areanumber.
Commandmode:RouterOSPF3
area<02>defaultmetric<metricvalue(116777215)>
ConfiguresthecostforthedefaultsummaryrouteinastubareaorNSSA.
Commandmode:RouterOSPF3
area<02>defaultmetrictype<13>
Configuresthedefaultmetrictypeappliedtotheroute.
Note:ThiscommandappliesonlytoareatypeofStub/NSSA.
Commandmode:RouterOSPF3
noarea<02>defaultmetric
Resetsthecostforthedefaultsummaryroutetoitsdefaultvalueof1.
Commandmode:RouterOSPF3
[no]area<02>enable
EnablesordisablestheOSPFarea.
Commandmode:RouterOSPF3

478

G8052 Command Reference for N/OS 8.3

Table 271. OSPFv3AreaIndexConfigurationOptions(continued)


Command Syntax and Usage

area<02>stabilityinterval<1255>
ConfiguresthestabilityintervalforanNSSA,inseconds.Whentheinterval
expires,anelectedtranslatordeterminesthatitsservicesarenolonger
required.
Thedefaultvalueis40seconds.
Commandmode:RouterOSPF3
noarea<02>stabilityinterval
ResetsthestabilityintervalfortheNSSAtoitsdefaultvalueof40seconds.
Commandmode:RouterOSPF3
area<02>translationrole{always|candidate}
ConfiguresthetranslationroleforanNSSAarea,asfollows:

always:Type7LSAsarealwaystranslatedintoType5LSAs.

candidate:AnNSSAborderrouterparticipatesinthetranslatorelection
process.

Thedefaultsettingiscandidate.
Commandmode:RouterOSPF3
noarea<02>translationrole
ResetsthetranslationrolefortheNSSAtoitsdefaultvaluecandidate.
Commandmode:RouterOSPF3
area<02>type{transit|stub|nssa}[nosummary]
Definesthetypeofarea.Forexample,whenavirtuallinkhastobeestablished
withthebackbone,theareatypemustbedefinedastransit.

transitallowsareasummaryinformationtobeexchangedbetween
routingdevices.AnyareathatisnotastubareaorNSSAisconsideredtobe
transitarea.

stubisanareawhereexternalroutinginformationisnotdistributed.
Typically,astubareaisconnectedtoonlyoneotherarea.

nssa(NotSoStubbyArea)issimilartostubareawithadditional
capabilities.Forexample,routesoriginatingfromwithintheNSSAcanbe
propagatedtoadjacenttransitandbackboneareas.Externalroutesfrom
outsidetheAutonomousSystem(AS)canbeadvertisedwithintheNSSA
butarenotdistributedintootherareas.

nosummaryenablesthenosummaryoption.Whenenabled,theareaborder
routerneitheroriginatesnorpropagatesInterAreaPrefixLSAsinto
stub/NSSAareas.InsteaditgeneratesadefaultInterAreaPrefixLSA.
Thedefaultsettingisdisabled.
Commandmode:RouterOSPF3

Copyright Lenovo 2015

Chapter 4: Configuration Commands

479

Table 271. OSPFv3AreaIndexConfigurationOptions(continued)


Command Syntax and Usage

noarea<02>
DeletestheOSPFarea.
Commandmode:RouterOSPF3
showipv6ospf{areas|area<02>}
DisplaysthecurrentOSPFv3areaconfiguration.
Commandmode:All

480

G8052 Command Reference for N/OS 8.3

OSPFv3 Summary Range Configuration


ThefollowingtabledescribestheOSPFv3SummaryRangecommands.
Table 272. OSPFv3SummaryRangeConfigurationOptions
Command Syntax and Usage

arearange<116>address <IPv6address> <prefixlength(1128)>


ConfiguresthebaseIPv6addressandsubnetprefixlengthfortherange.
Commandmode:RouterOSPF3
arearange<116>area<areaindex(02)>
Configurestheareaindexusedbytheswitch.
Commandmode:RouterOSPF3
[no]arearange<116>enable
EnablesordisablestheOSPFv3summaryrange.
Commandmode:RouterOSPF3
[no]arearange<116>hide
HidesorunhidestheOSPFv3summaryrange.
Commandmode:RouterOSPF3
arearange<116>lsatype{summary|Type7}
ConfigurestheLSAtype,asfollows:

SummaryLSA

Type7LSA

Commandmode:RouterOSPF3
arearange<116>tag<04294967295>
Configurestheroutetag.
Commandmode:RouterOSPF3
noarearange<116>
DeletestheOSPFv3summaryrange.
Commandmode:RouterOSPF3
showipv6ospfarearange
DisplaysthecurrentOSPFv3summaryrange.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

481

OSPFv3 AS-External Range Configuration


ThefollowingtabledescribestheOSPFv3ASExternalRangecommands.
Table 273. OSPFv3AS_ExternalRangeConfigurationOptions
Command Syntax and Usage

summaryprefix<116>address<IPv6address><IPv6prefixlength(1128)>
ConfiguresthebaseIPv6addressandthesubnetprefixlengthfortherange.
Commandmode:RouterOSPF3
summaryprefix<116>aggregationeffect
{allowAll|denyAll|advertise|notadvertise}
Configurestheaggregationeffect,asfollows:

allowAll:IftheareaIDis0.0.0.0,aggregatedType5LSAsaregenerated.
AggregatedType7LSAsaregeneratedinalltheattachedNSSAsforthe
range.

denyAll:Type5andType7LSAsarenotgenerated.

advertise:IftheareaIDis0.0.0.0,aggregatedType5LSAsaregenerated.
ForotherareaIDs,aggregatedType7LSAsaregeneratedintheNSSAarea.

notadvertise:IftheareaIDis0.0.0.0,Type5LSAsarenotgenerated,
whileallNSSALSAswithintherangeareclearedandaggregatedType7
LSAsaregeneratedforallNSSAs.ForotherareaIDs,aggregatedType7
LSAsarenotgeneratedintheNSSAarea.

Commandmode:RouterOSPF3
summaryprefix<116>area<areaindex(02)>
Configurestheareaindexusedbytheswitch.
Commandmode:RouterOSPF3
[no]summaryprefix<116>translation
Whenenabled,thePbitissetinthegeneratedType7LSA.Whendisabled,the
Pbitiscleared.Thedefaultsettingisdisabled.
Commandmode:RouterOSPF3
[no]summaryprefix<116>enable
EnablesordisablestheOSPFv3ASexternalrange.
Commandmode:RouterOSPF3
nosummaryprefix<116>
DeletestheOSPFv3ASexternalrange.
Commandmode:RouterOSPF3
showipv6ospfsummaryprefix<116>
DisplaysthecurrentOSPFv3ASexternalrange.
Commandmode:All

482

G8052 Command Reference for N/OS 8.3

OSPFv3 Interface Configuration


ThefollowingtabledescribestheOSPFv3Interfacecommands.
Table 274. OSPFv3InterfaceConfigurationOptions
Command Syntax and Usage

interfaceip<IPinterfacenumber>
EnterInterfaceIPmode,fromGlobalConfigurationmode.
Commandmode:Globalconfiguration
ipv6ospfarea<02>
ConfigurestheOSPFv3areaindex.
Commandmode:InterfaceIP
ipv6ospfarea<02>instance<0255>
ConfigurestheinstanceIDfortheinterface.
Commandmode:InterfaceIP
ipv6ospfcost<165535>
Configuresthemetricvalueforsendingapacketontheinterface.
Commandmode:InterfaceIP
noipv6ospfcost
Removesthemetricvalueforsendingapacketontheinterface.
Commandmode:InterfaceIP
ipv6ospfdeadinterval<165535>
Configuresthetimeperiod,inseconds,forwhichtherouterwaitsforhello
packetfromtheneighborbeforedeclaringthisneighbordown.
Commandmode:InterfaceIP
noipv6ospfdeadinterval
Resetsthedeadintervalforhellopacketstoitsdefaultvalue.
Commandmode:InterfaceIP
[no]ipv6ospfenable
EnablesordisablesOSPFv3ontheinterface.
Commandmode:InterfaceIP
ipv6ospfhellointerval<165535>
Configurestheindicatedinterval,inseconds,betweenthehellopackets,that
theroutersendsontheinterface.
Commandmode:InterfaceIP
noipv6ospfhellointerval
Resetsthehellointervalforhellopacketstoitsdefaultvalue.
Commandmode:InterfaceIP

Copyright Lenovo 2015

Chapter 4: Configuration Commands

483

Table 274. OSPFv3InterfaceConfigurationOptions(continued)


Command Syntax and Usage

[no]ipv6ospflinklsasuppress
EnablesordisablesLinkLSAsuppression.Whensuppressed,noLinkLSAs
areoriginated.
Thedefaultsettingisdisabled.
Commandmode:InterfaceIP
ipv6ospfnetwork{broadcast|nonbroadcast|
|pointtomultipoint|pointtopoint}
ConfiguresthenetworktypefortheOSPFv3interface:

broadcast:networkwhereallroutersusethebroadcastcapability

nonbroadcast:nonbroadcastmultipleaccess(NBMA)network
supportingpseudobroadcast(multicastandbroadcasttrafficisconfigured
manually)

pointtomultipoint:networkwheremultiplepointtopointlinksare
setuponthesameinterface

pointtopoint:networkthatjoinsasinglepairofrouters

Thedefaultvalueisbroadcast.
Commandmode:InterfaceIP
[no]ipv6ospfpassiveinterface
Enablesordisablesthepassivesettingontheinterface.Onapassive
interface,OSPFv3protocolpacketsaresuppressed.
Commandmode:InterfaceIP
ipv6ospfpollinterval<04294967295>
ConfiguresthepollintervalinsecondsforneighborsinNBMAnetworks.
Thedefaultvalueis120seconds.
Commandmode:InterfaceIP
noipv6ospfpollinterval
ConfiguresthepollintervalinsecondsforneighborsinNBMAand
pointtomultipointnetworkstoitsdefault120secondsvalue.
Commandmode:InterfaceIP
ipv6ospfpriority<priorityvalue(0255)>
ConfiguresthepriorityvaluefortheswitchsOSPFv3interface.
Apriorityvalueof255isthehighestand1isthelowest.Apriorityvalueof0
specifiesthattheinterfacecannotbeusedasDesignatedRouter(DR)or
BackupDesignatedRouter(BDR).
Commandmode:InterfaceIP
noipv6ospfpriority
ResetsthepriorityvaluefortheswitchsOSPFv3interfacetoitsdefaultvalue.
Commandmode:InterfaceIP

484

G8052 Command Reference for N/OS 8.3

Table 274. OSPFv3InterfaceConfigurationOptions(continued)


Command Syntax and Usage

ipv6ospfretransmitinterval<11800>
Configurestheintervalinseconds,betweenLSAretransmissionsfor
adjacenciesbelongingtointerface.
Commandmode:InterfaceIP
noipv6ospfretransmitinterval
ResetstheintervalbetweenLSAretransmissionsforadjacenciesbelongingto
thecurrentinterfacetoitsdefaultvalue.
Commandmode:InterfaceIP
ipv6ospftransmitdelay<11800>
Configurestheestimatedtime,inseconds,takentotransmitLSupdatepacket
overthisinterface.
Commandmode:InterfaceIP
noipv6ospftransmitdelay
ResetstheestimatedtimetakentotransmitLSupdatepacketoverthecurrent
interfacetoitsdefaultvalue.
Commandmode:InterfaceIP
noipv6ospf
DeletesOSPFv3frominterface.
Commandmode:InterfaceIP
showipv6ospfinterface
DisplaysthecurrentsettingsforOSPFv3interface.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

485

OSPFv3 over IPSec Configuration


ThefollowingtabledescribestheOSPFv3overIPsecConfigurationcommands.
Table 275. Layer3IPsecConfigurationOptions
Command Syntax and Usage

ipv6ospfauthenticationipsecenable
EnablesIPsec.
Commandmode:InterfaceIP
ipv6ospfauthenticationipsecspi<2564294967295>{md5|sha1}
<authenticationkey(hexadecimal)>
ConfigurestheSecurityParametersIndex(SPI),algorithm,andauthentication
keyfortheAuthenticationHeader(AH).Thealgorithmssupportedare:

MD5(hexadecimalkeylengthis32)

SHA1(hexadecimalkeylengthis40)

Commandmode:InterfaceIP
noipv6ospfauthenticationipsecspi<2564294967295>
DisablesthespecifiedAuthenticationHeader(AH)SPI.
Commandmode:InterfaceIP
ipv6ospfauthenticationipsecdefault
ResetstheAuthenticationHeader(AH)configurationtodefaultvalues.
Commandmode:InterfaceIP
ipv6ospfencryptionipsecenable
EnablesOSPFv3encryptionforthisinterface.
Commandmode:InterfaceIP

486

G8052 Command Reference for N/OS 8.3

Table 275. Layer3IPsecConfigurationOptions(continued)


Command Syntax and Usage

ipv6ospfencryptionipsecspi<2564294967295>
esp{3des|aescbc|des|null}<encryptionkey(hexadecimal)>
{md5|sha1|none}<authenticationkey(hexadecimal)>
ConfigurestheSecurityParametersIndex(SPI),encryptionalgorithm,
authenticationalgorithm,andauthenticationkeyfortheEncapsulating
SecurityPayload(ESP).TheESPalgorithmssupportedare:

3des(hexadecimalkeylengthis48)

aescbc(hexadecimalkeylengthis32)

des(hexadecimalkeylengthis16)

ThenulloptionmeansESPwithnoencryption.
Theauthenticationalgorithmssupportedare:

md5(hexadecimalkeylengthis32)

sha1(hexadecimalkeylengthis40)

ThenoneoptionmeansESPwithnoauthentication.
Note:Iftheencryptionalgorithmisnull,theauthenticationalgorithmmustbe
eitherMD5orSHA1.Ifanencryptionalgorithmisspecified(3DES,AESCBC
orDES),theauthenticationalgorithmcanbenone.
Commandmode:InterfaceIP
noipv6ospfencryptionipsecspi<2564294967295>
DisablesthespecifiedEncapsulatingSecurityPayload(ESP)SPI.
Commandmode:InterfaceIP
ipv6ospfencryptionipsecdefault
ResetstheEncapsulatingSecurityPayload(ESP)configurationtodefault
values.
Commandmode:InterfaceIP

Copyright Lenovo 2015

Chapter 4: Configuration Commands

487

OSPFv3 Virtual Link Configuration


ThefollowingtabledescribestheOSPFv3VirtualLinkcommands.
Table 276. OSPFv3VirtualLinkConfigurationOptions
Command Syntax and Usage

areavirtuallink<13>area<02>
ConfigurestheOSPFareaindex.
Commandmode:RouterOSPF3
areavirtuallink<13>deadinterval<165535>
Configuresthetimeperiod,inseconds,forwhichtherouterwaitsforhello
packetfromtheneighborbeforedeclaringthisneighbordown.
Commandmode:RouterOSPF3
[no]areavirtuallink<13>enable
EnablesordisablesOSPFvirtuallink.
Commandmode:RouterOSPF3
areavirtuallink<13>hellointerval<165535)>
Configurestheindicatedinterval,inseconds,betweenthehellopackets,that
theroutersendsontheinterface.
Commandmode:RouterOSPF3
areavirtuallink<13>neighborrouter<NBRrouterID(IPaddress)>
ConfigurestherouterIDofthevirtualneighbor.
Thedefaultsettingis0.0.0.0.
Commandmode:RouterOSPF3
areavirtuallink<13>retransmitinterval<13600>
Configurestheinterval,inseconds,betweenlinkstateadvertisement(LSA)
retransmissionsforadjacenciesbelongingtotheOSPFv3virtuallinkinterface.
Thedefaultvalueis5seconds.
Commandmode:RouterOSPF3
areavirtuallink<13>transmitdelay<13600>
Configurestheestimatedtime,inseconds,takentotransmitLSupdatepacket
overthisinterface.
Commandmode:RouterOSPF3
noareavirtuallink<13>
DeletesOSPFvirtuallink.
Commandmode:RouterOSPF3
showipv6ospfareavirtuallink
DisplaysthecurrentOSPFv3virtuallinksettings.
Commandmode:All

488

G8052 Command Reference for N/OS 8.3

OSPFv3 over IPSec for Virtual Link Configuration


ThefollowingtabledescribestheOSPFv3overIPsecforVirtualLink
Configurationcommands.
Table 277. Layer3IPsecConfigurationOptions
Command Syntax and Usage

areavirtuallink<13>authenticationipsecenable
EnablesOSPFv3IPsecauthentication.
Commandmode:RouterOSPF3
areavirtuallink<13>authenticationipsecspi
<2564294967295>{md5<md5key>|sha1<sha1key>}
ConfigurestheOSPFv3securityparameterindexauthentication.
Commandmode:RouterOSPF3
noareavirtuallink<13>authenticationipsecspi
<2564294967295>
RemovesthespecifiedOSPFv3SecurityParametersIndex(SPI).
Commandmode:RouterOSPF3
areavirtuallink<13>authenticationipsecdefault
ResetstheIPsecAuthenticationHeader(AH)toitsdefaultvalues.
Commandmode:RouterOSPF3
areavirtuallink<13>encryptionipsecenable
EnablesOSPFv3IPsecencryption.
Commandmode:RouterOSPF3
areavirtuallink<13>encryptionipsecspi<2564294967295>
esp{3des|aescbc|null}<encryptionkey(hexadecimal)>
{md5|sha1|none}<authenticationkey(hexadecimal)>
ConfigurestheSecurityParametersIndex(SPI),encryptionalgorithm,
authenticationalgorithm,andauthenticationkeyfortheEncapsulating
SecurityPayload(ESP).TheESPalgorithmssupportedare:

3des(hexadecimalkeylengthis48)

aescbc(hexadecimalkeylengthis32)

ThenulloptionmeansESPwithnoencryption.
Theauthenticationalgorithmssupportedare:

md5(hexadecimalkeylengthis32)

sha1(hexadecimalkeylengthis40)

ThenoneoptionmeansESPwithnoauthentication.
Note:Iftheencryptionalgorithmisnull,theauthenticationalgorithmmustbe
eitherMD5orSHA1.Ifanencryptionalgorithmisspecified(3DESor
AESCBC),theauthenticationalgorithmcanbenone.
Commandmode:RouterOSPF3

Copyright Lenovo 2015

Chapter 4: Configuration Commands

489

Table 277. Layer3IPsecConfigurationOptions(continued)


Command Syntax and Usage

noareavirtuallink<13>encryptionipsecspi<2564294967295>
DisablesthespecifiedEncapsulatingSecurityPayload(ESP)SPI.
Commandmode:RouterOSPF3
areavirtuallink<13>encryptionipsecdefault
ResetstheIPsecencryptionconfigurationtoitsdefaultvalues.
Commandmode:RouterOSPF3
showipv6ospfareavirtuallink
DisplaysthecurrentOSPFv3virtuallinksettings.
Commandmode:All

OSPFv3 Host Entry Configuration


ThefollowingtabledescribestheOSPFv3HostEntrycommands.
Table 278. OSPFv3HostEntryConfigurationOptions
Command Syntax and Usage

host<1128>address <IPv6address> <prefixlength(1128)>


ConfiguresthebaseIPv6addressandthesubnetprefixlengthforthehost
entry.
Commandmode:RouterOSPF3
host<1128>area<02>
Configurestheareaindexofthehost.
Commandmode:RouterOSPF3
host<1128>cost<165535>
Configuresthecostvalueofthehost.
Commandmode:RouterOSPF3
[no]host<1128>enable
Enablesordisablesthehostentry.
Commandmode:RouterOSPF3
nohost<1128>
Deletesthehostentry.
Commandmode:RouterOSPF3
showipv6ospfhost[<1128>]
DisplaysthecurrentOSPFv3hostentries.
Commandmode:All

490

G8052 Command Reference for N/OS 8.3

OSPFv3 Redistribute Entry Configuration


ThefollowingtabledescribestheOSPFv3RedistributeEntrycommands.
Table 279. OSPFv3RedistEntryConfigurationOptions
Command Syntax and Usage

redistconfig<1128>address<IPv6address><IPv6prefixlength(1128)>
ConfiguresthebaseIPv6addressandthesubnetprefixlengthforthe
redistributionentry.
Commandmode:RouterOSPF3
[no]redistconfig<1128>enable
EnablesordisablestheOSPFv3redistributionentry.
Commandmode:RouterOSPF3
redistconfig<1128>metrictype{asExttype1|asExttype2}
Configuresthemetrictypeappliedtotheroutebeforeitisadvertisedintothe
OSPFv3domain.
Commandmode:RouterOSPF3
redistconfig<1128>metricvalue<116777215>
Configurestheroutemetricvalueappliedtotheroutebeforeitisadvertised
intotheOSPFv3domain.
Commandmode:RouterOSPF3
redistconfig<1128>tag<04294967295>
Configurestheroutetag.
Commandmode:RouterOSPF3
noredistconfig<1128>tag
Removestheroutetag.
Commandmode:RouterOSPF3
noredistconfig<1128>
DeletestheOSPFv3redistributionentry.
Commandmode:RouterOSPF3
showipv6ospfredistconfig<1128>
DisplaysthecurrentOSPFv3redistributionconfigurationforthespecified
entry.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

491

OSPFv3 Redistribute Configuration


ThefollowingtabledescribestheOSPFv3Redistributecommands.
Table 280. OSPFv3RedistributeConfigurationOptions
Command Syntax and Usage

redistribute{connected|static}export<metricvalue(116777215)>
<metrictype(12)>[<tag(04294967295)>]
ExportstheroutesofthisprotocolasexternalOSPFv3ASexternalLSAsin
whichthemetric,metrictype,androutetagarespecified.
Commandmode:RouterOSPF3
noredistribute{connected|static}export
Stopsexportingtheroutesoftheprotocol.
Commandmode:RouterOSPF3
showipv6ospf
DisplaysthecurrentOSPFv3routeredistributionsettings.
Commandmode:All

492

G8052 Command Reference for N/OS 8.3

Border Gateway Protocol Configuration


BorderGatewayProtocol(BGP)isanInternetprotocolthatenablesroutersona
networktoshareroutinginformationwitheachotherandadvertiseinformation
aboutthesegmentsoftheIPaddressspacetheycanaccesswithintheirnetwork
withroutersonexternalnetworks.BGPallowsyoutodecidewhatisthebest
routeforapackettotakefromyournetworktoadestinationonanothernetwork,
ratherthansimplysettingadefaultroutefromyourborderrouter(s)toyour
upstreamprovider(s).YoucanconfigureBGPeitherwithinanautonomoussystem
orbetweendifferentautonomoussystems.Whenrunwithinanautonomous
system,itscalledinternalBGP(iBGP).Whenrunbetweendifferentautonomous
systems,itscalledexternalBGP(eBGP).BGPisdefinedinRFC1771.
BGPcommandsenableyoutoconfiguretheswitchtoreceiveroutesandto
advertisestaticroutes,fixedroutesandvirtualserverIPaddresseswithother
internalandexternalrouters.InthecurrentLenovoN/OSimplementation,the
RackSwitchG8052doesnotadvertiseBGProutesthatarelearnedfromoneiBGP
speakertoanotheriBGPspeaker.
BGPisturnedoffbydefault.
Note: Fixedroutesaresubnetroutes.ThereisonefixedrouteperIPinterface.
Table 281. BorderGatewayProtocolOptions
Command Syntax and Usage

routerbgp
EnterRouterBGPconfigurationmode.
Commandmode:Globalconfiguration
aggregateaddress<116>
ConfiguresaggregationIPaddress.Toviewcommandoptions,seepage 498.
Commandmode:RouterBGP
as<065535>
SetAutonomousSystemnumber.
Commandmode:RouterBGP
[no]asn4comp
EnablesordisablesASN4toASN2compatibility.
Commandmode:RouterBGP
[no]bestpathaspathmultipathrelax
Changesthedefaultbestpathselectionconfigurationbyallowingloadsharing
acrossdifferentASpathsofequallength.
Commandmode:RouterBGP
[no]clienttoclientreflection
EnablesordisablesclienttoclientIBGProutereflectionwhenoperatingasa
routereflector.
Thedefaultstateisenabled.
Commandmode:RouterBGP
Copyright Lenovo 2015

Chapter 4: Configuration Commands

493

Table 281. BorderGatewayProtocolOptions(continued)


Command Syntax and Usage

clusterid<IPaddress>
SpecifiestheroutersClusterIDusedwhenoperatingasaroutereflector.
Routereflectorsthatarepartofthesamecluster(assignedtothesamegroupof
clients)mustuseidenticalClusterIDs.
Commandmode:RouterBGP
noclusterid
RemovestheroutersClusterID.
Commandmode:RouterBGP
dscp<063>
SettheDSCPmarkingvalue.
Commandmode:RouterBGP
[no]enable
GloballyenablesordisablesBGP.
Commandmode:RouterBGP
localpreference<04294967294>
Setsthelocalpreference.Thepathwiththehighervalueispreferred.
Whenmultiplepeersadvertisethesameroute,usetheroutewiththeshortest
ASpathasthepreferredrouteifyouareusingeBGP,orusethelocal
preferenceifyouareusingiBGP.
Commandmode:RouterBGP
maximumpaths[ibgp]<15>
Setmaximumpathsallowedforanexternalroute.
ibgpwillsetthemaximumpathsallowedforaninternalroute.
Bydefault,BGPwillinstallonlyonepathtotheIProutingtable.
Commandmode:RouterBGP
nomaximumpaths[ibgp]
Resetsthemaximumpathsallowedforanexternalroutetoitsdefaultvalueof
1.Theibgpoptionresetsthemaximumpathsallowedforaninternalroute.
Commandmode:RouterBGP
neighbor<peernumber(112)>
ConfigureseachBGPpeer.Eachborderrouter,withinanautonomoussystem,
exchangesroutinginformationwithroutersonotherexternalnetworks.To
viewcommandoptions,seepage 495.
Commandmode:RouterBGP

494

G8052 Command Reference for N/OS 8.3

Table 281. BorderGatewayProtocolOptions(continued)


Command Syntax and Usage

[no]setipnexthoppeeraddress
Appliedonoutput,setsthenexthopoftheadvertisedmatchingroutestothe
currentpeeraddressofthelocalrouter.Appliedoninput,setsthenexthopof
thereceivedmatchingroutestotheneighboraddress,overridingother
existingnexthops.
Usethenoformofthecommandtoremovetheentry.
Commandmode:Routemap
showipbgp
DisplaysthecurrentBGPconfiguration.
Commandmode:All

BGP Peer Configuration


UsethesecommandstoconfigureBGPpeers,whichareborderroutersthat
exchangeroutinginformationwithroutersoninternalandexternalnetworks.The
peeroptionisdisabledbydefault.
Table 282. BGPPeerConfigurationOptions
Command Syntax and Usage

neighbor<112>advertisementinterval<165535>
Setstime,inseconds,betweenadvertisements.
Thedefaultvalueis60seconds.
Commandmode:RouterBGP
[no]neighbor<112>nexthopself
EnablesordisablesenforcingtheusetheroutersownIPaddressasnexthop
attributewhensendingBGPupdatestothepeer.
Note:ApplicableonlyforEBGProutes.
Commandmode:RouterBGP
[no]neighbor<112>passive
EnablesordisablesBGPpassivemode,whichpreventstheswitchfrom
initiatingBGPconnectionswithpeers.Instead,theswitchwaitsforthepeerto
sendanopenmessagefirst.
Commandmode:RouterBGP
neighbor<112>password<116characters>
ConfigurestheBGPpeerpassword.
Commandmode:RouterBGP
noneighbor<112>password
RemovestheBGPpeerpassword.
Commandmode:RouterBGP

Copyright Lenovo 2015

Chapter 4: Configuration Commands

495

Table 282. BGPPeerConfigurationOptions(continued)


Command Syntax and Usage

neighbor<112>redistribute
ConfiguresBGPneighborredistribution.Toviewcommandoptions,see
page 499.
Commandmode:RouterBGP
neighbor<112>remoteaddress<IPaddress>
DefinestheIPaddressforthespecifiedpeer(borderrouter),usingdotted
decimalnotation.
Thedefaultaddressis0.0.0.0.
Commandmode:RouterBGP
neighbor<112>remoteas<165535>
Setstheremoteautonomoussystemnumberforthespecifiedpeer.
Commandmode:RouterBGP
neighbor<112>retryinterval<165535>
Setsconnectionretryinterval,inseconds.
Thedefaultvalueis120seconds.
Commandmode:RouterBGP
neighbor<112>routemap{in|out}<1255>
Addsroutemapintoinrouteoroutroutemaplist.
Commandmode:RouterBGP
noneighbor<112>routemap{in|out}{<1255>|all}
Removesallroutemapsoraspecificroutemapfrominrouteoroutroute
maplist.
Commandmode:RouterBGP
neighbor<112>routeoriginationinterval<165535>
Setstheminimumtimebetweenrouteoriginations,inseconds.
Thedefaultvalueis15seconds.
Commandmode:RouterBGP
[no]neighbor<112>routereflectorclient
Enablesordisablesthepeerasaroutereflectorclient.Configuringroute
reflectorclients,implicitlysetsupthelocalrouterasaroutereflector.
Commandmode:RouterBGP
[no]neighbor<112>sendcommunity
EnablesordisablessendingacommunityattributetoaBGPneighbor.
Commandmode:RouterBGP

496

G8052 Command Reference for N/OS 8.3

Table 282. BGPPeerConfigurationOptions(continued)


Command Syntax and Usage

neighbor<112>shutdown
Disablesthispeerconfiguration.
Commandmode:RouterBGP
noneighbor<112>shutdown
Enablesthispeerconfiguration.
Commandmode:RouterBGP
neighbor<112>timetolive<1255>
Timetolive(TTL)isavalueinanIPpacketthattellsanetworkrouter
whetherornotthepackethasbeeninthenetworktoolongandshouldbe
discarded.TTLspecifiesacertaintimespaninsecondsthat,whenexhausted,
wouldcausethepackettobediscarded.TheTTLisdeterminedbythenumber
ofrouterhopsthepacketisallowedbeforeitmustbediscarded.
ThiscommandspecifiesthenumberofrouterhopsthattheIPpacketcan
make.Thisvalueisusedtorestrictthenumberofhopstheadvertisement
makes.Itisalsousedtosupportmultihops,whichallowBGPpeerstotalk
acrossaroutednetwork.
Thedefaultnumberissetat1.
Note: TheTTLvalueissignificantonlytoeBGPpeers,foriBGPpeerstheTTL
valueintheIPpacketsisalways255(regardlessoftheconfiguredvalue).
Commandmode:RouterBGP
noneighbor<112>timetolive
DisablestheTTLfeature.
Commandmode:RouterBGP
neighbor<112>timersholdtime<0,365535>
Setstheperiodoftime,inseconds,thatwillelapsebeforethepeersessionis
torndownbecausetheswitchhasntreceivedakeepalivemessagefromthe
peer.
Thedefaultvalueis180seconds.
Commandmode:RouterBGP
neighbor<112>timerskeepalive<021845>
Setsthekeepalivetimeforthespecifiedpeer,inseconds.
Thedefaultvalueis60seconds.
Commandmode:RouterBGP
neighbor<112>ttlsecurityhops<1254>
Setstheminimumnumberoftimetolive(TTL)routerhopsanIPpacketmust
havetonotbediscarded.
Commandmode:RouterBGP

Copyright Lenovo 2015

Chapter 4: Configuration Commands

497

Table 282. BGPPeerConfigurationOptions(continued)


Command Syntax and Usage

noneighbor<112>ttlsecurityhops
DisablestheTTLsecurityfeature.
Commandmode:RouterBGP
neighbor<112>updatesource{<interfacenumber(1126)>|
|loopback<15>}
Setsthesourceinterfacenumberforthispeer.
Commandmode:RouterBGP
noneighbor<112>
Deletesthispeerconfiguration.
Commandmode:RouterBGP
showipbgpneighbor[<112>]
DisplaysthecurrentBGPpeerconfiguration.
Commandmode:All

BGP Aggregation Configuration


ThesecommandsenableyoutoconfigureBGPaggregationtospecifythe
routes/rangeofIPdestinationsapeerrouteracceptsfromotherpeers.Allmatched
routesareaggregatedtooneroute,inordertoreducethesizeoftheroutingtable.
Bydefault,thefirstaggregationnumberisenabledandtherestaredisabled.
Table 283. BGPAggregationConfigurationOptions
Command Syntax and Usage

aggregateaddress<116><IPaddress><IPnetmask>
DefinesthestartingsubnetIPaddressforthisaggregation,usingdotted
decimalnotation.
Thedefaultaddressis0.0.0.0.
Commandmode:RouterBGP
[no]aggregateaddress<116>enable
EnablesordisablesthisBGPaggregation.
Commandmode:RouterBGP
noaggregateaddress<116>
DeletesthisBGPaggregation.
Commandmode:RouterBGP
showipbgpaggregateaddress[<116>]
DisplaysthecurrentBGPaggregationconfiguration.
Commandmode:All

498

G8052 Command Reference for N/OS 8.3

BGP Neighbor Redistribution Configuration


Thismenuenablesyoutoredistributerouteslearnedfromvariousrouting
informationsourcesintoBGP.
Table 284. BGPNeighborRedistributionConfigurationOptions
Command Syntax and Usage

neighbor<112>redistributedefaultaction{import|
|originate|redistribute}
Setsdefaultrouteaction.Defaultsroutescanbeconfiguredasfollows:

import:Importtheseroutes.

originate:Theswitchsendsadefaultroutetopeersifitdoesnothave
anydefaultroutesinitsroutingtable.

redistribute:Defaultroutesareeitherconfiguredthroughdefault
gatewayorlearnedthroughotherprotocolsandredistributedtopeer.Ifthe
routesarelearnedfromdefaultgatewayconfiguration,youhavetoenable
staticroutessincetheroutesfromdefaultgatewayarestaticroutes.
Similarly,iftheroutesarelearnedfromacertainroutingprotocol,youhave
toenablethatprotocol.

Commandmode:RouterBGP
noneighbor<112>redistributedefaultaction
Disablesthedefaultrouteactionconfiguration.
Commandmode:RouterBGP
neighbor<112>redistributedefaultmetric<14294967294>
Setsdefaultmetricofadvertisedroutes.
Commandmode:RouterBGP
noneighbor<112>redistributedefaultmetric
Disablesthedefaultmetricconfigurationofadvertisedroutes.
Commandmode:RouterBGP
[no]neighbor<112>redistribute{fixed|ospf|rip|static}
Enablesordisablesadvertisingfixed,OSPF,RIPorstaticroutes.
Commandmode:RouterBGP
showipbgpneighbor<112>redistribute
Displayscurrentredistributionconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

499

MLD Global Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureglobalMLD
parameters.
Table 285. MLDGlobalConfigurationCommands
Command Syntax and Usage

ipv6mld
EnterMLDglobalconfigurationmode.
Commandmode:Globalconfiguration
[no]enable
GloballyenablesordisablesMLD.
Commandmode:MLDConfiguration
default
ResetsMLDparameterstotheirdefaultvalues.
Commandmode:MLDConfiguration
showipv6mld
DisplaysthecurrentMLDconfigurationparameters.
Commandmode:All

500

G8052 Command Reference for N/OS 8.3

MLD Interface Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureMLDparameters
foraninterface.
Table 286. MLDInterfaceConfigurationCommands
Command Syntax and Usage

[no]ipv6mlddmrtrenable
EnablesordisablesdynamicMrouterlearningontheinterface.Thedefault
settingisdisabled.
Commandmode:InterfaceIP
[no]ipv6mldenable
EnablesordisablestheselectedMLDinterface.
Commandmode:InterfaceIP
ipv6mldllistnr<132>
ConfigurestheLastListenerqueryinterval,inseconds.
Thedefaultvalueis1second.
Commandmode:InterfaceIP
noipv6mldllistnr
ResetstheLastListenerqueryintervaltoitsdefaultvalueof1second.
Commandmode:InterfaceIP
ipv6mldqintrval<265535>
ConfigurestheintervalforMLDQueryReports,inseconds.
Thedefaultvalueis125seconds.
Commandmode:InterfaceIP
noipv6mldqintrval
ResetstheintervalforMLDQueryReportstoitsdefaultvalueof125seconds.
Commandmode:InterfaceIP
ipv6mldqri<100065535>
ConfigurestheintervalforMLDQueryResponseReports,inmiliseconds.
Thedefaultvalueis10,000milliseconds.
Commandmode:InterfaceIP
noipv6mldqri
ResetstheintervalforMLDQueryResponseReportstoitsdefaultvalueof
10,000milliseconds.
Commandmode:InterfaceIP

Copyright Lenovo 2015

Chapter 4: Configuration Commands

501

Table 286. MLDInterfaceConfigurationCommands(continued)


Command Syntax and Usage

ipv6mldrobust<110>
ConfigurestheMLDRobustnessvariable,whichallowsyoutotunetheswitch
forexpectedpacketlossonthesubnet.Ifthesubnetisexpectedtobelossy
(highrateofpacketloss),increasethevalue.
Thedefaultvalueis2.
Commandmode:InterfaceIP
noipv6mldrobust
ResetstheMLDRobustnessvariabletoitsdefaultvalueof2.
Commandmode:InterfaceIP
ipv6mldversion<12>
DefinestheMLDprotocolversionnumber.
Thedefaultvalueis1.
Commandmode:InterfaceIP
noipv6mldversion
ResetstheMLDprotocolversionnumbertoitsdefaultvalueof1.
Commandmode:InterfaceIP
ipv6mlddefault
ResetsMLDparametersfortheselectedinterfacetotheirdefaultvalues.
Commandmode:InterfaceIP

502

G8052 Command Reference for N/OS 8.3

IGMP Configuration
ThefollowingtabledescribesthecommandsusedtoconfigurebasicIGMP
parameters.
Table 287. IGMPConfigurationOptions
Command Syntax and Usage

[no]ipigmpenable
GloballyenablesordisablesIGMP.
Commandmode:Globalconfiguration
[no]ipigmpaggregate
EnablesordisablesIGMPMembershipReportaggregation.
Commandmode:Globalconfiguration
showipigmp
DisplaysthecurrentIGMPconfigurationparameters.
Commandmode:All
ThefollowingsectionsdescribetheIGMPconfigurationoptions.

Copyright Lenovo 2015

IGMPSnoopingConfigurationonpage 504

IGMPRelayConfigurationonpage 506

IGMPRelayMulticastRouterConfigurationonpage 507

IGMPStaticMulticastRouterConfigurationonpage 508

IGMPFilteringConfigurationonpage 509

IGMPAdvancedConfigurationonpage 511

IGMPQuerierConfigurationonpage 512

Chapter 4: Configuration Commands

503

IGMP Snooping Configuration


IGMPSnoopingallowstheswitchtoforwardmulticasttrafficonlytothoseports
thatrequestit.IGMPSnoopingpreventsmulticasttrafficfrombeingfloodedtoall
ports.Theswitchlearnswhichserverhostsareinterestedinreceivingmulticast
traffic,andforwardsitonlytoportsconnectedtothoseservers.
ThefollowingtabledescribesthecommandsusedtoconfigureIGMPSnooping.
Table 288. IGMPSnoopingConfigurationOptions
Command Syntax and Usage

[no]ipigmpsnoopenable
EnablesordisablesIGMPSnooping.
Commandmode:Globalconfiguration
[no]ipigmpsnoopmroutertimeout<1600>
ConfiguresthetimeoutvalueforIGMPMembershipQueries(mrouter).Once
thetimeoutvalueisreached,theswitchremovesthemulticastrouterfromits
IGMPtable,iftheproperconditionsaremet.
Therangeisfrom1to600seconds.Thedefaultis255seconds.
Commandmode:Globalconfiguration
[no]ipigmpsnoopport<portaliasornumber>
Addsorremovestheselectedportto/fromIGMPSnooping.
Commandmode:Globalconfiguration
[no]ipigmpsnoopsourceip<IPaddress>
ConfiguresthesourceIPaddressusedasaproxyforIGMPGroupSpecific
Queries.
Commandmode:Globalconfiguration
ipigmpsnoopvlan<VLANID(14094)>
AddstheselectedVLAN(s)toIGMPSnooping.
Commandmode:Globalconfiguration
noipigmpsnoopvlan{<VLANID(14094)>|all}
RemovesallVLANsorjustthespecifiedVLAN(s)fromIGMPSnooping.
Commandmode:Globalconfiguration
defaultipigmpsnoop
ResetsIGMPSnoopingparameterstotheirdefaultvalues.
Commandmode:Globalconfiguration
showipigmpsnoop
DisplaysthecurrentIGMPSnoopingparameters.
Commandmode:All

504

G8052 Command Reference for N/OS 8.3

IGMPv3 Configuration
ThefollowingtabledescribesthecommandsusedtoconfigureIGMPversion3.
Table 289. IGMPVersion3ConfigurationOptions
Command Syntax and Usage

[no]ipigmpsnoopigmpv3enable
EnablesordisablesIGMPversion3.
Thedefaultvalueisdisabled.
Commandmode:Globalconfiguration
[no]ipigmpsnoopigmpv3exclude
EnablesordisablessnoopingonIGMPv3ExcludeReports.Whendisabled,the
switchignoresExcludeReports.
Thedefaultvalueisenabled.
Commandmode:Globalconfiguration
ipigmpsnoopigmpv3sources<164>
ConfiguresthemaximumnumberofIGMPmulticastsourcestosnoopfrom
withinthegrouprecord.UsethiscommandtolimitthenumberofIGMP
sourcestoprovidemorerefinedcontrol.
Thedefaultvalueis8.
Commandmode:Globalconfiguration
noipigmpsnoopigmpv3sources
ResetsthemaximumnumberofIGMPmulticastsourcestosnoopfromwithin
thegrouprecordtoitsdefaultvalueof8.
Commandmode:Globalconfiguration
[no]ipigmpsnoopigmpv3v1v2
EnablesordisablessnoopingonIGMPversion1andversion2reports.When
disabled,theswitchdropsIGMPv1andIGMPv2reports.
Thedefaultvalueisenabled.
Commandmode:Globalconfiguration
showipigmpsnoopigmpv3
DisplaysthecurrentIGMPv3Snoopingconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

505

IGMP Relay Configuration


WhenyouconfigureIGMPRelay,alsoconfiguretheIGMPRelaymulticastrouters.
ThefollowingtabledescribesthecommandsusedtoconfigureIGMPRelay.
Table 290. IGMPRelayConfigurationOptions
Command Syntax and Usage

[no]ipigmprelayenable
EnablesordisablesIGMPRelay.
Commandmode:Globalconfiguration
ipigmprelayreport<0150>
ConfigurestheintervalbetweenunsolicitedJoinreportssentbytheswitch,in
seconds.
Thedefaultvalueis10.
Commandmode:Globalconfiguration
ipigmprelayvlan<VLANID(14094)>
AddstheVLANorrangeofVLANstothelistofIGMPRelayVLANs.
Commandmode:Globalconfiguration
noipigmprelayvlan{<VLANID(14094)>|all}
RemovesallVLANsorjustthespecifiedVLANfromthelistofIGMPRelay
VLANs.
Commandmode:Globalconfiguration
showipigmprelay
DisplaysthecurrentIGMPRelayconfiguration.
Commandmode:All

506

G8052 Command Reference for N/OS 8.3

IGMP Relay Multicast Router Configuration


Thefollowingtabledescribesthecommandsusedtoconfiguremulticastrouters
forIGMPRelay.
Table 291. IGMPRelayMrouterConfigurationOptions
Command Syntax and Usage

ipigmprelaymrouter<12>address<IPaddress>
ConfigurestheIPaddressoftheIGMPmulticastrouterusedforIGMPRelay.
Commandmode:Globalconfiguration
ipigmprelaymrouter<12>attempt<1128>
Configuresthenumberofsuccessfulpingattemptsrequiredbeforetheswitch
declaresthisMrouterisup.
Thedefaultvalueis5.
Commandmode:Globalconfiguration
[no]ipigmprelaymrouter<12>enable
Enablesordisablesthemulticastrouter.
Commandmode:Globalconfiguration
ipigmprelaymrouter<12>interval<160>
ConfiguresthetimeintervalbetweenpingattemptstotheupstreamMrouters,
inseconds.
Thedefaultvalueis2.
Commandmode:Globalconfiguration
ipigmprelaymrouter<12>retry<1120>
Configuresthenumberoffailedpingattemptsrequiredbeforetheswitch
declaresthisMrouterisdown.
Thedefaultvalueis4.
Commandmode:Globalconfiguration
ipigmprelaymrouter<12>version<12>
ConfigurestheIGMPversion(1or2)ofthemulticastrouter.
Commandmode:Globalconfiguration
noipigmprelaymrouter<12>
DeletesthemulticastrouterfromIGMPRelay.
Commandmode:Globalconfiguration
showipigmprelay
DisplaysthecurrentIGMPRelayconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

507

IGMP Static Multicast Router Configuration


Thefollowingtabledescribesthecommandsusedtoconfigureastaticmulticast
router.
Note: WhenstaticMroutersareused,theswitchcontinueslearningdynamic
MroutersviaIGMPsnooping.However,dynamicMroutersmaynotreplacestatic
Mrouters.IfadynamicMrouterhasthesameportandVLANcombinationasa
staticMrouter,thedynamicMrouterisnotlearned.
Table 292. IGMPStaticMulticastRouterConfigurationOptions
Command Syntax and Usage

ipigmpmrouterport<portaliasornumber><VLANID(14094)>
<version(13)>
Selectsaport/VLANcombinationonwhichthestaticmulticastrouteris
connected,andconfigurestheIGMPversionofthemulticastrouter.
Commandmode:Globalconfiguration
noipigmpmrouter{port<portaliasornumber><VLANID(14094)>
<version(13)>|all}
Removesallstaticmulticastroutersoraspecificstaticmulticastrouterfrom
theselectedport/VLANcombination.
Commandmode:Globalconfiguration
clearipigmpmrouter
Clearsthedynamicmulticastrouterporttable.
Commandmode:PrivilegedEXEC
showipigmpmrouter
DisplaysthecurrentIGMPMulticastRouterparameters.
Commandmode:All

508

G8052 Command Reference for N/OS 8.3

IGMP Filtering Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureanIGMPfilter.
Table 293. IGMPFilteringConfigurationOptions
Command Syntax and Usage

ipigmpprofile<116>
ConfigurestheIGMPfilter.Toviewcommandoptions,seepage 509.
Commandmode:Globalconfiguration
[no]ipigmpfiltering
EnablesordisablesIGMPfilteringglobally.
Commandmode:Globalconfiguration
showipigmpfiltering
DisplaysthecurrentIGMPFilteringparameters.
Commandmode:All

IGMP Filter Definition


ThefollowingtabledescribesthecommandsusedtodefineanIGMPfilter.
Table 294. IGMPFilterDefinitionOptions
Command Syntax and Usage

ipigmpprofile<116>action{allow|deny}
AllowsordeniesmulticasttrafficfortheIPmulticastaddressesspecified.
Thedefaultactionisdeny.
Commandmode:Globalconfiguration
[no]ipigmpprofile<116>enable
EnablesordisablesthisIGMPfilter.
Commandmode:Globalconfiguration
ipigmpprofile<116>range<IPaddress1><IPaddress2>
ConfigurestherangeofIPmulticastaddressesforthisfilter.
Commandmode:Globalconfiguration
noipigmpprofile<116>
Deletesthisfiltersparameterdefinitions.
Commandmode:Globalconfiguration
showipigmpprofile<116>
DisplaysthecurrentIGMPfilter.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

509

IGMP Filtering Port Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureaportforIGMP
filtering.
Table 295. IGMPFilterPortConfigurationOptions
Command Syntax and Usage

[no]ipigmpfiltering
EnablesordisablesIGMPfilteringonthisport.
Commandmode:Interfaceport
[no]ipigmpprofile<116>
AddsorremovesanIGMPfiltertothisport.
Commandmode:Interfaceport
showinterfaceport<portaliasornumber>igmpfiltering
DisplaysthecurrentIGMPfilterparametersforthisport.
Commandmode:All

510

G8052 Command Reference for N/OS 8.3

IGMP Advanced Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureadvancedIGMP
parameters.
Table 296. IGMPAdvancedConfigurationOptions
Command Syntax and Usage

[no]ipigmpfastleave{<VLANID(14094)>|port
<portaliasornumber>}
EnablesordisablesFastleaveprocessing.Fastleaveallowstheswitchto
immediatelyremoveaVLANfromtheIGMPVLANlistoraportfromthe
IGMPportlist,ifthehostsendsaLeavemessage,andtheproperconditions
aremet.
Thiscommandisdisabledbydefault.
Commandmode:Globalconfiguration
ipigmpqueryinterval<1600>
SetstheIGMProuterqueryinterval,inseconds.
Thedefaultvalueis125seconds.
Commandmode:Globalconfiguration
noipigmpqueryinterval
ResetstheIGMProuterqueryintervaltoitsdefaultvalueof125seconds.
Commandmode:Globalconfiguration
ipigmprobust<110>
ConfigurestheIGMPRobustnessvariable,whichallowsyoutotunethe
switchforexpectedpacketlossonthesubnet.Ifthesubnetisexpectedtobe
lossy(highrateofpacketloss),increasethevalue.
Thedefaultvalueis2.
Commandmode:Globalconfiguration
noipigmprobust
ResetstheIGMPRobustnessvariabletoitsdefaultvalueof2.
Commandmode:Globalconfiguration
[no]ipigmprtralert
EnablesordisablestheRouterAlertoptioninIGMPmessages.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

511

Table 296. IGMPAdvancedConfigurationOptions(continued)


Command Syntax and Usage

ipigmptimeout<1255>
ConfiguresthetimeoutvalueforIGMPMembershipReports(host).Oncethe
timeoutvalueisreached,theswitchremovesthehostfromitsIGMPtable,if
theconditionsaremet.
Therangeisfrom1to255seconds.Thedefaultis10seconds.
Commandmode:Globalconfiguration
noipigmptimeout
ResetsthetimeoutvalueforIGMPMembershipReports(host)toitsdefault
valueof10seconds.
Commandmode:Globalconfiguration

IGMP Querier Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureIGMPQuerier.
Table 297. IGMPQuerierConfigurationOptions
Command Syntax and Usage

[no]ipigmpquerierenable
EnablesordisablesIGMPQuerier.
Commandmode:Globalconfiguration
[no]ipigmpquerierport<portaliasornumber>
Addsorremovesthespecifiedportto/fromIGMPQuerier.
Commandmode:Globalconfiguration
ipigmpqueriervlan<VLANID(14094)>electiontype
{ipv4|mac}
SetstheIGMPQuerierelectioncriteriaasIPaddressorMacaddress.
Thedefaultsettingisipv4.
Commandmode:Globalconfiguration
noipigmpqueriervlan<VLANID(14094)>electiontype
ResetstheIGMPQuerierelectioncriteriatoitsdefaultvalueipv4.
Commandmode:Globalconfiguration
[no]ipigmpqueriervlan<VLANID(14094)>enable
EnablesordisablesIGMPQuerierfortheselectedVLANs.
Commandmode:Globalconfiguration

512

G8052 Command Reference for N/OS 8.3

Table 297. IGMPQuerierConfigurationOptions(continued)


Command Syntax and Usage

ipigmpqueriervlan<VLANID(14094)>maxresponse<1256>
Configuresthemaximumtime,intenthsofasecond,allowedbefore
respondingtoaMembershipQuerymessage.
Thedefaultvalueis100.
ByvaryingtheQueryResponseInterval,anadministratormaytunethe
burstinessofIGMPmessagesonthesubnet;largervaluesmakethetrafficless
bursty,ashostresponsesarespreadoutoveralargerinterval.
Commandmode:Globalconfiguration
noipigmpqueriervlan<VLANID(14094)>maxresponse
ResetsthemaximumtimeallowedbeforerespondingtoaMembershipQuery
messagetoitsdefaultvalueof100.
Commandmode:Globalconfiguration
ipigmpqueriervlan<VLANID(14094)>queryinterval<1608>
ConfigurestheintervalbetweenIGMPQuerybroadcasts.
Thedefaultvalueis125seconds.
Commandmode:Globalconfiguration
noipigmpqueriervlan<VLANID(14094)>queryinterval
ResetstheintervalbetweenIGMPQuerybroadcaststoitsdefaultvalueof125
seconds.
Commandmode:Globalconfiguration
ipigmpqueriervlan<VLANID(14094)>robustness<110>
ConfigurestheIGMPRobustnessvariable,whichisthenumberoftimesthat
theswitchsendseachIGMPmessage.
Thedefaultvalueis2.
Commandmode:Globalconfiguration
noipigmpqueriervlan<VLANID(14094)>robustness
ResetstheIGMPRobustnessvariabletoitsdefaultvalueof2.
Commandmode:Globalconfiguration
ipigmpqueriervlan<VLANID(14094)>sourceip<IPaddress>
ConfigurestheIGMPsourceIPaddressfortheselectedVLAN.
Commandmode:Globalconfiguration
noipigmpqueriervlan<VLANID(14094)>sourceip
RemovestheconfiguredIGMPsourceIPaddressforthespecifiedVLAN.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

513

Table 297. IGMPQuerierConfigurationOptions(continued)


Command Syntax and Usage

ipigmpqueriervlan<VLANID(14094)>startupcount<110>
ConfigurestheStartupQueryCount,whichisthenumberofIGMPQueries
sentoutatstartup.EachQueryisseparatedbytheStartupQueryInterval.
Thedefaultvalueis2.
Commandmode:Globalconfiguration
noipigmpqueriervlan<VLANID(14094)>startupcount
ResetstheStartupQueryCounttoitsdefaultvalueof2.
Commandmode:Globalconfiguration
ipigmpqueriervlan<VLANID(14094)>startupinterval<1608>
ConfigurestheStartupQueryInterval,whichistheintervalbetweenGeneral
Queriessentoutatstartup.
Thedefaultvalueis31seconds.
Commandmode:Globalconfiguration
noipigmpqueriervlan<VLANID(14094)>startupinterval
ResetstheStartupQueryIntervaltoitsdefaultvalueof31seconds.
Commandmode:Globalconfiguration
ipigmpqueriervlan<VLANID(14094)>version{v1|v2|v3}
ConfigurestheIGMPversion.
Thedefaultversionisv3.
Commandmode:Globalconfiguration
noipigmpqueriervlan<VLANID(14094)>version
ResetstheIGMPversiontoitsdefaultvalueofv3.
Commandmode:Globalconfiguration
noipigmpqueriervlan<VLANID(14094)>
DeletestheIGMPQuerierconfigurationforthespecifiedVLAN.
Commandmode:Globalconfiguration
showipigmpquerier
DisplaysthecurrentIGMPQuerierparameters.
Commandmode:All
showipigmpqueriervlan<VLANID(14094)>
DisplaysIGMPQuerierinformationfortheselectedVLAN.
Commandmode:Globalconfiguration

514

G8052 Command Reference for N/OS 8.3

IKEv2 Configuration
ThefollowingtabledescribesthecommandsusedtoconfigureIKEv2.
Table 298. IKEv2Options
Command Syntax and Usage

[no]ikev2cookie
Enablesordisablescookienotification.
Commandmode:Globalconfiguration
ikev2retransmitinterval<120>
Setstheinterval,inseconds,thetimeoutvalueincaseapacketisnotreceived
bythepeerandneedstoberetransmitted.
Thedefaultvalueis20seconds.
Commandmode:Globalconfiguration
showikev2
DisplaysthecurrentIKEv2settings.
Commandmode:All

IKEv2 Preshare Key Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureIKEv2preshare
keys.
Table 299. IKEv2PreshareKeyOptions
Command Syntax and Usage

ikev2presharekeylocal<1256characters>
Configuresthelocalpresharekey.
Thedefaultvalueisibm123.
Commandmode:Globalconfiguration
ikev2presharekeyremote<1256characters><IPv6address>
ConfigurestheremotepresharekeyfortheIPv6address.
Commandmode:Globalconfiguration
showikev2presharekey
DisplaysthecurrentIKEv2Presharekeysettings.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

515

IKEv2 Proposal Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureanIKEv2proposal.
IKEv2proposalincludesanencryptionalgorithm(cipher),anauthentication
algorithmtypeandaDiffieHellman(DH)group,whichdeterminesthestrength
ofthekeyusedinthekeyexchangeprocess.HigherDHgroupnumbersaremore
securebutrequireadditionaltimetocomputethekey.
Note: Thedefaultauthenticationalgorithmtypeissha1andthedefaultDHgroup
is24.
Table 300. IKEv2 Proposal Options
Command Syntax and Usage

ikev2proposal
EnterIKEv2proposalmode.
Commandmode:Globalconfiguration
encryption{3des|aescbc}
ConfiguresIKEv2encryptionmode.
Thedefaultvalueis3des.
Commandmode:IKEv2proposal
showikev2proposal
DisplaysthecurrentIKEv2Proposalconfiguration.
Commandmode:All

516

G8052 Command Reference for N/OS 8.3

IKEv2 Identification Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureIKEv2
identification.
Table 301. IKEv2IdentificationOptions
Command Syntax and Usage

ikev2identitylocaladdress
ConfigurestheswitchtousethesuppliedIPv6addressasidentification.
Commandmode:Globalconfiguration
ikev2identitylocalfqdn<132characters>
Configurestheswitchtousethefullyqualifieddomainname(suchas
example.com)asidentification.
Commandmode:Globalconfiguration
ikev2identitylocalemail<132characters>
Configurestheswitchtousethesuppliedemailaddress(suchas
xyz@example.com)asidentification.
Commandmode:Globalconfiguration
showikev2identity
DisplaysthecurrentIKEv2identificationsettings.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

517

IPsec Configuration
ThefollowingtabledescribesthecommandsusedtoconfigureIPsec.
Table 302. IPsecOptions
Command Syntax and Usage

[no]ipsecenable
EnablesordisablesIPsec.
Commandmode:Globalconfiguration
showipsec
DisplaysthecurrentIPsecsettings.
Commandmode:All

IPsec Transform Set Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureIPsectransforms.
Table 303. IPsecTransformSetOptions
Command Syntax and Usage

ipsectransformset<110>{ahsha1|esp3des|
|espaescbc|espnull|espsha1}
SetstheAHorESPauthentication,encryption,orintegrityalgorithm.The
availablealgorithmsareasfollows:

ahsha1

esp3des

espaescbc

espnull

espsha1

Commandmode:Globalconfiguration
ipsectransformset<110>transport{ahsha1|
|esp3des|espaescbc|espnull|espsha1}
SetstransportmodeandtheAHorESPauthentication,encryption,or
integrityalgorithm.
Commandmode:Globalconfiguration
ipsectransformset<110>tunnel{ahsha1|esp3des|
espaescbc|espnull|espsha1}
SetstunnelmodeandtheAHorESPauthentication,encryption,orintegrity
algorithm.
Commandmode:Globalconfiguration

518

G8052 Command Reference for N/OS 8.3

Table 303. IPsecTransformSetOptions(continued)


Command Syntax and Usage

noipsectransform<110>
Deletesthetransformset.
Commandmode:Globalconfiguration
showipsectransformset<110>
DisplaysthecurrentIPsecTransformSetsettings.
Commandmode:All

IPsec Traffic Selector Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureanIPsectraffic
selector.
Table 304. IPsecTrafficSelectorOptions
Command Syntax and Usage

ipsectrafficselector<110>{permit|deny}
{any|icmp[<ICMPv6type(0255)>]|tcp}{<IPV6address>|any}
Setsthetrafficselectortopermitordenythespecifiedtypeoftraffic.
Commandmode:Globalconfiguration
noipsectrafficselector<110>
Resetsthespecifiedtrafficselectortoitsdefaultvalues.
Commandmode:Globalconfiguration
showipsectrafficselector[<110>]
DisplaysIPsectrafficselectorinformation.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

519

IPsec Dynamic Policy Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureanIPsecdynamic
policy.
Table 305. IPsecDynamicPolicyOptions
Command Syntax and Usage

ipsecdynamicpolicy<110>
EnterIPsecdynamicpolicymode.
Commandmode:Globalconfiguration
peer<IPv6address>
SetstheremotepeerIPaddress.
Commandmode:IPsecdynamicpolicy
pfs{enable|disable}
Enablesordisablesperfectforwardsecurity.
Commandmode:IPsecdynamicpolicy
salifetime<12086400>
SetstheIPsecSAlifetimeinseconds.
Thedefaultvalueis86400seconds.
Commandmode:IPsecdynamicpolicy
trafficselector<110>
SetsthetrafficselectorfortheIPsecpolicy.
Commandmode:IPsecdynamicpolicy
transformset<110>
SetsthetransformsetfortheIPsecpolicy.
Commandmode:IPsecdynamicpolicy
showipsecdynamicpolicy<110>
DisplaysthecurrentIPsecdynamicpolicysettings.
Commandmode:All

520

G8052 Command Reference for N/OS 8.3

IPsec Manual Policy Configuration


ThefollowingtabledescribesthecommandsusedtoconfigureanIPsecmanual
policy.
Table 306. IPsecManualPolicyOptions
Command Syntax and Usage

ipsecmanualpolicy<110>
EnterIPsecmanualpolicymode.
Commandmode:Globalconfiguration
inahauthkey<keycode(hexadecimal)>
SetsinboundAuthenticationHeader(AH)authenticatorkey.
Note:Formanualpolicies,whenpeeringwithathirdpartydevice,key
lengthsarefixedto20charactersforSHA1and16charactersforMD5
encryption.
Commandmode:IPsecmanualpolicy
inahspi<2564294967295>
SetstheinboundAuthenticationHeader(AH)SecurityParameterIndex(SPI).
Note:Formanualpolicies,whenpeeringwithathirdpartydevice,key
lengthsarefixedto20charactersforSHA1and16charactersforMD5
encryption.
Commandmode:IPsecmanualpolicy
inesp{authkey|cipherkey}<keycode(hexadecimal)>
SetstheinboundEncapsulatingSecurityPayload(ESP)authenticatorkeyor
cipherkey.
Note:Formanualpolicies,whenpeeringwithathirdpartydevice,key
lengthsarefixedto8charactersforDESandto24charactersfor3DESand
AESCBCencryption.
Commandmode:IPsecmanualpolicy
inespspi<2564294967295>
SetstheinboundEncapsulatingSecurityPayload(ESP)SecurityParameter
Index(SPI).
Note:Formanualpolicies,whenpeeringwithathirdpartydevice,key
lengthsarefixedto20charactersforSHA1and16charactersforMD5
encryption.
Commandmode:IPsecmanualpolicy
outahauthkey<keycode(hexadecimal)>
SetstheoutboundAuthenticationHeader(AH)authenticatorkey.
Note:Formanualpolicies,whenpeeringwithathirdpartydevice,key
lengthsarefixedto20charactersforSHA1and16charactersforMD5
encryption.
Commandmode:IPsecmanualpolicy

Copyright Lenovo 2015

Chapter 4: Configuration Commands

521

Table 306. IPsecManualPolicyOptions(continued)


Command Syntax and Usage

outahspi<2564294967295>
SetstheoutboundAuthenticationHeader(AH)SecurityParameterIndex
(SPI).
Note:Formanualpolicies,whenpeeringwithathirdpartydevice,key
lengthsarefixedto20charactersforSHA1and16charactersforMD5
encryption.
Commandmode:IPsecmanualpolicy
outesp{authkey|cipherkey}<keycode(hexadecimal)>
SetstheoutboundEncapsulatingSecurityPayload(ESP)authenticatorkeyor
cipherkey.
Note:Formanualpolicies,whenpeeringwithathirdpartydevice,key
lengthsarefixedto8charactersforDESandto24charactersfor3DESand
AESCBCencryption.
Commandmode:IPsecmanualpolicy
outespspi<2564294967295>
SetstheoutboundEncapsulatingSecurityPayload(ESP)SecurityParameter
Index(SPI).
Note:Formanualpolicies,whenpeeringwithathirdpartydevice,key
lengthsarefixedto20charactersforSHA1and16charactersforMD5
encryption.
Commandmode:IPsecmanualpolicy
peer<IPv6address>
SetstheremotepeerIPaddress.
Commandmode:IPsecmanualpolicy
trafficselector<110>
SetsthetrafficselectorfortheIPsecpolicy.
Commandmode:IPsecmanualpolicy
transformset<110>
SetsthetransformsetfortheIPsecpolicy.
Commandmode:IPsecmanualpolicy
showipsecmanualpolicy<110>
DisplaysthecurrentIPsecmanualpolicysettings.
Commandmode:All

522

G8052 Command Reference for N/OS 8.3

Domain Name System Configuration


TheDomainNameSystem(DNS)commandsareusedfordefiningtheprimary
andsecondaryDNSserversonyourlocalnetwork,andforsettingthedefault
domainnameservedbytheswitchservices.DNSparametersmustbeconfigured
priortousinghostnameparameterswiththeping,traceroute,andtftp
commands.
Table 307. DomainNameServiceOptions
Command Syntax and Usage

ipdnsdomainname<1191characters>
Setsthedefaultdomainnameusedbytheswitch.Forexample:
mycompany.com
Commandmode:Globalconfiguration
noipdnsdomainname
Removesthedomainnameusedbytheswitch.
Commandmode:Globalconfiguration
ipdnsprimaryserver<IPv4address>
YouarepromptedtosettheIPv4addressforyourprimaryDNSserver,using
dotteddecimalnotation.
Commandmode:Globalconfiguration
noipdnsprimaryserver
RemovestheIPv4primaryDNSserver.
Commandmode:Globalconfiguration
ipdnssecondaryserver<IPv4address>
YouarepromptedtosettheIPv4addressforyoursecondaryDNSserver,
usingdotteddecimalnotation.IftheprimaryDNSserverfails,theconfigured
secondarywillbeusedinstead.
Commandmode:Globalconfiguration
noipdnssecondaryserver
RemovestheIPv4secondaryDNSserver.
Commandmode:Globalconfiguration
ipdnsipv6primaryserver[<IPv6address>]
YouarepromptedtosettheIPv6addressforyourprimaryDNSserver,using
hexadecimalformatwithcolons.
Commandmode:Globalconfiguration
noipdnsipv6primaryserver
RemovestheIPv6primaryDNSserver.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

523

Table 307. DomainNameServiceOptions


Command Syntax and Usage

ipdnsipv6secondaryserver[<IPv6address>]
YouarepromptedtosettheIPv6addressforyoursecondaryDNSserver,
usinghexadecimalformatwithcolons.IftheprimaryDNSserverfails,the
configuredsecondarywillbeusedinstead.
Commandmode:Globalconfiguration
noipdnsipv6secondaryserver
RemovestheIPv6secondaryDNSserver.
Commandmode:Globalconfiguration
ipdnsipv6requestversion{ipv4|ipv6}
SetstheprotocolusedforthefirstrequesttotheDNSserver,asfollows:

IPv4

IPv6

Commandmode:Globalconfiguration
showipdns
DisplaysthecurrentDomainNameSystemsettings.
Commandmode:All

524

G8052 Command Reference for N/OS 8.3

Bootstrap Protocol Relay Configuration


TheBootstrapProtocol(BOOTP)Relaycommandsareusedtoallowhoststo
obtaintheirconfigurationsfromaDynamicHostConfigurationProtocol(DHCP)
server.TheBOOTPconfigurationenablestheswitchtoforwardaclientrequestfor
anIPaddresstoDHCP/BOOTPserverswithIPaddressesthathavebeen
configuredontheG8052.
BOOTPrelayisturnedoffbydefault.
Table 308. GlobalBOOTPRelayConfigurationOptions
Command Syntax and Usage

[no]ipbootprelayenable
GloballyenablesordisablesBOOTPrelay.
Commandmode:Globalconfiguration
ipbootprelayserver<15>address<IPaddress>
SetstheIPaddressoftheselectedglobalBOOTPserver.
Commandmode:Globalconfiguration
noipbootprelayserver<15>
RemovesthespecifiedBOOTPserver.
Commandmode:Globalconfiguration

BOOTP Relay Broadcast Domain Configuration


ThismenuallowsyoutoconfigureaBOOTPserverforaspecificbroadcast
domain,basedonitsassociatedVLAN.
Table 309. BOOTPRelayBroadcastDomainConfigurationOptions
Command Syntax and Usage

[no]ipbootprelaybcastdomain<110>enable
EnablesordisablesBOOTPRelayforthebroadcastdomain.
Commandmode:Globalconfiguration
ipbootprelaybcastdomain<110>server<15>
address<IPv4address>
SetstheIPaddressoftheBOOTPserver.
Commandmode:Globalconfiguration
noipbootprelaybcastdomain<110>server<15>
RemovesthebroadcastdomainBOOTPserver.
Commandmode:Globalconfiguration
ipbootprelaybcastdomain<110>vlan<VLANID(14094)>
ConfigurestheVLANofthebroadcastdomain.Eachbroadcastdomainmust
haveauniqueVLAN.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

525

Table 309. BOOTPRelayBroadcastDomainConfigurationOptions(continued)


Command Syntax and Usage

noipbootprelaybcastdomain<110>
Deletestheselectedbroadcastdomainconfiguration.
Commandmode:Globalconfiguration
showipbootprelay
DisplaysthecurrentparametersfortheBOOTPRelaybroadcastdomain.
Commandmode:All

Option 82 Configuration
ThesecommandsallowyoutoconfigureDHCPoption82information.Theswitch
canusethefollowingDHCPoption82suboptionstoallocateserveraddresses.

CircuitID:IdentifiesthehostnameorMACaddressesoftheswitchmakingthe
DHCPrequest.

RemoteID:IdentifiestheportthatreceivestheDHCPrequest.

DHCPRelayAgent(Option82)isdefinedinRFC3046.
Table 310. Option82ConfigurationOptions
Command Syntax and Usage

[no]ipbootprelayinformationenable
EnablesordisablesBOOTPOption82.
Commandmode:Globalconfiguration
ipbootprelayinformationpolicy{keep|drop|replace}
ConfigurestheDHCPreforwardingpolicy,asfollows:

keep:Retainsrequeststhatcontainrelayinformationiftheoption82
informationisalsopresent.

drop:Discardsrequeststhatcontainrelayinformationiftheoption82
informationisalsopresent.

replace:Replacestherelayinformationinrequeststhatalsocontain
option82information.

Commandmode:Globalconfiguration
noipbootprelayinformationpolicy
RemovestheDHCPreforwardingpolicy.
Commandmode:Globalconfiguration
showipbootprelay
DisplaysthecurrentBOOTPOption82parameters.
Commandmode:All

526

G8052 Command Reference for N/OS 8.3

VRRP Configuration
VirtualRouterRedundancyProtocol(VRRP)supportontheG8052provides
redundancybetweenroutersinaLAN.Thisisaccomplishedbyconfiguringthe
samevirtualrouterIPaddressandIDnumberoneachparticipatingVRRPcapable
routingdevice.Oneofthevirtualroutersisthenelectedasthemaster,basedona
numberofprioritycriteria,andassumescontrolofthesharedvirtualrouterIP
address.Ifthemasterfails,oneofthebackupvirtualrouterswillassumerouting
authorityandtakecontrolofthevirtualrouterIPaddress.
Bydefault,VRRPisdisabled.LenovoN/OShasextendedVRRPtoincludevirtual
serversaswell,allowingforfullactive/activeredundancybetweenswitches.For
moreinformationonVRRP,seetheHighAvailabilitychapterintheLenovoN/OS
8.3ApplicationGuide.
Table 311. VirtualRouterRedundancyProtocolOptions
Command Syntax and Usage

routervrrp
EnterRouterVRRPconfigurationmode.
Commandmode:Globalconfiguration
[no]enable
GloballyenablesordisablesVRRPonthisswitch.
Commandmode:RouterVRRP
group
ConfiguresVRRPvirtualroutersgroups.Toviewcommandoptions,see
page 532.
Commandmode:RouterVRRP
holdoff<0255>
Globallysetsthetime,inseconds,thatVRRPwaitsfromwhenthemaster
switchgoesdownuntilelevatinganewswitchtobethemasterswitch.
TodisableVRRPholdoffsetthetimeto0.
Note:Settinganewtimevaluewilltakeeffectonlywhentheswitchisnotina
holdoffstate.
Commandmode:RouterVRRP
interface<1128>
ConfiguresVRRPauthenticationparametersfortheIPinterfacesusedwiththe
virtualrouters.Toviewcommandoptions,seepage 535.
Commandmode:RouterVRRP
trackingpriorityincrement
Configuresweightsforthevariouscriteriausedtomodifyprioritylevels
duringthemasterrouterelectionprocess.Toviewcommandoptions,see
page 536.
Commandmode:RouterVRRP

Copyright Lenovo 2015

Chapter 4: Configuration Commands

527

Table 311. VirtualRouterRedundancyProtocolOptions


Command Syntax and Usage

virtualrouter<1128>
Configuresvirtualroutersfortheswitch.Toviewcommandoptions,see
page 528.
Commandmode:RouterVRRP
showipvrrp
DisplaysthecurrentVRRPparameters.
Commandmode:All

Virtual Router Configuration


Thesecommandsareusedforconfiguringvirtualroutersforthisswitch.Avirtual
routerisdefinedbyitsvirtualrouterIDandanIPaddress.OneachVRRPcapable
routingdeviceparticipatinginredundancyforthisvirtualrouter,avirtualrouter
willbeconfiguredtosharethesamevirtualrouterIDandIPaddress.
Virtualroutersaredisabledbydefault.
Table 312. VRRPVirtualRouterConfigurationOptions
Command Syntax and Usage

virtualrouter<1128>address<IPaddress>
DefinestheIPaddressforthisvirtualrouterusingdotteddecimalnotation.
ThisisusedinconjunctionwiththeprecedingVRIDtoconfigurethesame
virtualrouteroneachparticipatingVRRPdevice.
Thedefaultaddressis0.0.0.0.
Commandmode:RouterVRRP
[no]virtualrouter<1128>enable
Enablesordisablesthisvirtualrouter.
Commandmode:RouterVRRP
[no]virtualrouter<1128>fastadvertise
EnablesordisablesFastAdvertisements.Whenenabled,theVRRPmaster
advertisementsintervaliscalculatedinunitsofcentiseconds,insteadof
seconds.Forexample,ifadverissetto1andfadverisenabled,master
advertisementsaresentevery10miliseconds.
Whenyoudisablefastadvertisement,theadvertisementintervalissettothe
defaultvalueof1second.TosupportFastAdvertisements,settheinterval
between20100centiseconds.
Commandmode:RouterVRRP

528

G8052 Command Reference for N/OS 8.3

Table 312. VRRPVirtualRouterConfigurationOptions(continued)


Command Syntax and Usage

virtualrouter<1128>interface<IPinterfacenumber>
SelectsaswitchIPinterface.IftheIPinterfacehasthesameIPaddressasthe
addressoption,thisswitchisconsideredtheownerofthedefinedvirtual
router.Anownerhasaspecialpriorityof255(highest)andwillalwaysassume
theroleofmasterrouter,evenifitmustpreemptanothervirtualrouterwhich
hasassumedmasterroutingauthority.Thispreemptionoccursevenifthe
preemoptionbelowisdisabled.
Thedefaultvalueis1.
Commandmode:RouterVRRP
[no]virtualrouter<1128>preemption
Enablesordisablesmasterpreemption.Whenenabled,ifthisvirtualrouteris
inbackupmodebuthasahigherprioritythanthecurrentmaster,thisvirtual
routerwillpreemptthelowerprioritymasterandassumecontrol.Notethat
evenwhenpreemptionisdisabled,thisvirtualrouterwillalwayspreempt
anyothermasterifthisswitchistheowner(theIPinterfaceaddressand
virtualrouteraddrarethesame).
Bydefault,thisoptionisenabled.
Commandmode:RouterVRRP
virtualrouter<1128>priority<1254>
Definestheelectionprioritybiasforthisvirtualserver.Duringthemaster
routerelectionprocess,theroutingdevicewiththehighestvirtualrouter
prioritynumberwins.Ifthereisatie,thedevicewiththehighestIPinterface
addresswins.IfthisvirtualroutersIPaddressisthesameastheoneusedby
theIPinterface,thepriorityforthisvirtualrouterwillautomaticallybesetto
255(highest).
Whenprioritytrackingisused,thisbasepriorityvaluecanbemodified
accordingtoanumberofperformanceandoperationalcriteria.
Thepriorityvaluecanbeanyintegerbetween1and254.Thedefaultvalueis
100.
Commandmode:RouterVRRP
virtualrouter<1128>timersadvertise<1255>
DefinesthetimeintervalbetweenVRRPmasteradvertisements.Thiscanbe
anyintegerbetween1and255seconds.
Thedefaultvalueis1.
Commandmode:RouterVRRP
virtualrouter<1128>timerspreemptdelaytime<0255>
Configuresthepreemptdelayinterval(inseconds).Thistimerisconfigured
onthevirtualrouterandpreventstheswitchfromtransitioningbacktoMaster
stateuntilthepreemptdelayintervalhasexpired.Ensurethattheintervalis
longenoughforOSPForotherroutingprotocolstoconverge.
Thedefaultis0seconds.
Commandmode:RouterVRRP
Copyright Lenovo 2015

Chapter 4: Configuration Commands

529

Table 312. VRRPVirtualRouterConfigurationOptions(continued)


Command Syntax and Usage

virtualrouter<1128>track
Enablestheprioritysystemusedwhenelectingthemasterrouterfromapool
ofvirtualrouters.Toviewcommandoptions,seepage 531.
Commandmode:RouterVRRP
virtualrouter<1128>virtualrouterid<1255>
DefinesthevirtualrouterID(VRID).Thisisusedinconjunctionwiththe
[no] virtualrouter<VRID>address<IPaddress>commandbelowto
defineavirtualrouteronthisswitch.TocreateapoolofVRRPenabled
routingdeviceswhichcanprovideredundancytoeachother,each
participatingVRRPdevicemustbeconfiguredwiththesamevirtualrouter.
TheVRIDforstandardvirtualrouters(wherethevirtualrouterIPaddressis
notthesameasanyvirtualserver)canbeanyintegerbetween1and128.
Thedefaultvalueis1.
Note:AllVRIDvaluesmustbeuniquewithintheVLANtowhichthevirtual
routersIPinterfacebelongs.
Commandmode:RouterVRRP
novirtualrouter<1128>
Deletesthisvirtualrouterfromtheswitchconfiguration.
Commandmode:RouterVRRP
showipvrrpvirtualrouter<1128>
Displaysthecurrentconfigurationinformationforthisvirtualrouter.
Commandmode:All

530

G8052 Command Reference for N/OS 8.3

Virtual Router Priority Tracking Configuration


Thesecommandsareusedformodifyingtheprioritysystemusedwhenelecting
themasterrouterfromapoolofvirtualrouters.Varioustrackingcriteriacanbe
usedtobiastheelectionresults.Eachtimeoneofthetrackingcriteriaismet,the
prioritylevelforthevirtualrouterisincreasedbyanamountdefinedthroughthe
VRRPTrackingcommands.
Criteriaaretrackeddynamically,continuouslyupdatingvirtualrouterpriority
levelswhenenabled.Ifthevirtualrouterpreemptionoptionisenabled,thisvirtual
routercanassumemasterroutingauthoritywhenitsprioritylevelrisesabovethat
ofthecurrentmaster.
Sometrackingcriteriaapplytostandardvirtualrouters,otherwisecalledvirtual
interfacerouters.AvirtualserverrouterisdefinedasanyvirtualrouterwhoseIP
addressisthesameasanyconfiguredvirtualserverIPaddress.
Table 313. VRRPPriorityTrackingConfigurationOptions
Command Syntax and Usage

[no]virtualrouter<1128>trackinterfaces
Whenenabled,thepriorityforthisvirtualrouterwillbeincreasedforeach
otherIPinterfaceactiveonthisswitch.AnIPinterfaceisconsideredactive
whenthereisatleastoneactiveportonthesameVLAN.Thishelpselectthe
virtualrouterswiththemostavailableroutesasthemaster.
Thiscommandisdisabledbydefault.
Commandmode:RouterVRRP
[no]virtualrouter<1128>trackports
Whenenabled,thepriorityforthisvirtualrouterwillbeincreasedforeach
activeportonthesameVLAN.Aportisconsideredactiveifithasalinkand
isforwardingtraffic.Thishelpselectthevirtualrouterswiththemost
availableportsasthemaster.
Thiscommandisdisabledbydefault.
Commandmode:RouterVRRP
[no]virtualrouter<1128>trackvirtualrouters
Whenenabled,thepriorityforthisvirtualrouterwillbeincreasedforeach
virtualrouterinmastermodeonthisswitch.Thisisusefulformakingsure
thattrafficforanyparticularclient/serverpairingarehandledbythesame
switch,increasingroutingandloadbalancingefficiency.
Thiscommandisdisabledbydefault.
Commandmode:RouterVRRP
showipvrrpvirtualrouter<1128>track
Displaysthecurrentconfigurationforprioritytrackingforthisvirtualrouter.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

531

Virtual Router Group Configuration


VirtualRouterGroupcommandsareusedforassociatingallvirtualroutersintoa
singlelogicalvirtualrouter,whichforcesallvirtualroutersontheG8052toeither
bemasterorbackupasagroup.AvirtualrouterisdefinedbyitsvirtualrouterID
andanIPaddress.OneachVRRPcapableroutingdeviceparticipatingin
redundancyforthisvirtualrouter,avirtualrouterwillbeconfiguredtosharethe
samevirtualrouterIDandIPaddress.
Note: ThisoptionisrequiredtobeconfiguredonlywhenusingatleasttwoG8052s
inahotstandbyfailoverconfiguration,whereonlyoneswitchisactiveatanytime.
Table 314. VRRPVirtualRouterGroupConfigurationOptions
Command Syntax and Usage

groupadvertisement<1255>
DefinesthetimeintervalbetweenVRRPmasteradvertisements.Thiscanbe
anyintegerbetween1and255seconds.
Thedefaultis1.
Commandmode:RouterVRRP
[no]groupenable
Enablesordisablesthevirtualroutergroup.
Commandmode:RouterVRRP
[no]groupfastadvertise
EnablesordisablesFastAdvertisements.Whenenabled,theVRRPmaster
advertisementsintervaliscalculatedinunitsofcentiseconds,insteadof
seconds.Forexample,ifadverissetto1andfadverisenabled,master
advertisementsaresentevery10miliseconds.
Whenyoudisablefastadvertisement,theadvertisementintervalissettothe
defaultvalueof1second.TosupportFastAdvertisements,settheinterval
between20100centiseconds.
Commandmode:RouterVRRP
groupinterface<interfacenumber(1128)>
SelectsaswitchIPinterface.
ThedefaultswitchIPinterfacenumberis1.
Commandmode:RouterVRRP
grouppreemptdelaytime<0255>
Configuresthepreemptdelayinterval(inseconds).Thistimerisconfigured
onthevirtualroutergroupandpreventstheswitchfromtransitioningbackto
Masterstateuntilthepreemptdelayintervalhasexpired.Ensurethatthe
intervalislongenoughforOSPForotherroutingprotocolstoconverge.
Thedefaultvalueis0seconds.
Commandmode:RouterVRRP

532

G8052 Command Reference for N/OS 8.3

Table 314. VRRPVirtualRouterGroupConfigurationOptions(continued)


Command Syntax and Usage

[no]grouppreemption
Enablesordisablesmasterpreemption.Whenenabled,ifthevirtualrouter
groupisinbackupmodebuthasahigherprioritythanthecurrentmaster,this
virtualrouterwillpreemptthelowerprioritymasterandassumecontrol.
Notethatevenwhenpreemptionisdisabled,thisvirtualrouterwillalways
preemptanyothermasterifthisswitchistheowner(theIPinterfaceaddress
andvirtualrouteraddressarethesame).Bydefault,thisoptionisenabled.
Commandmode:RouterVRRP
grouppriority<1254>
Definestheelectionprioritybiasforthisvirtualroutergroup.Duringthe
masterrouterelectionprocess,theroutingdevicewiththehighestvirtual
routerprioritynumberwins.Ifthereisatie,thedevicewiththehighestIP
interfaceaddresswins.IfthisvirtualroutersIPaddress(addr)isthesameas
theoneusedbytheIPinterface,thepriorityforthisvirtualrouterwill
automaticallybesetto255(highest).
Thiscanbeanyintegerbetween1and254.Thedefaultvalueis100.
Whenprioritytrackingisused,thisbasepriorityvaluecanbemodified
accordingtoanumberofperformanceandoperationalcriteria.
Commandmode:RouterVRRP
grouptrack
Enablestheprioritysystemusedwhenelectingthemasterrouterfromapool
ofvirtualroutergroups.Toviewcommandoptions,seepage 534.
Commandmode:RouterVRRP
groupvirtualrouterid<1255>
DefinesthevirtualrouterID(VRID).
TheVRIDforstandardvirtualrouters(wherethevirtualrouterIPaddressis
notthesameasanyvirtualserver)canbeanyintegerbetween1and255.All
VRIDvaluesmustbeuniquewithintheVLANtowhichthevirtualroutersIP
interface(seeinterface)belongs.
ThedefaultvirtualrouterIDis1.
Commandmode:RouterVRRP
nogroup
Deletesthevirtualroutergroupfromtheswitchconfiguration.
Commandmode:RouterVRRP
showipvrrpgroup
Displaysthecurrentconfigurationinformationforthevirtualroutergroup.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

533

Virtual Router Group Priority Tracking Configuration


Note: IfVirtualRouterGroupTrackingisenabled,thenthetrackingoptionwillbe
availableonlyundergroupoption.Thetrackingsettingfortheotherindividual
virtualrouterswillbeignored.
Table 315. VirtualRouterGroupPriorityTrackingConfigurationOptions
Command Syntax and Usage

[no]grouptrackinterfaces
Whenenabled,thepriorityforthisvirtualrouterwillbeincreasedforeach
otherIPinterfaceactiveonthisswitch.AnIPinterfaceisconsideredactive
whenthereisatleastoneactiveportonthesameVLAN.Thishelpselectthe
virtualrouterswiththemostavailableroutesasthemaster.
Thiscommandisdisabledbydefault.
Commandmode:RouterVRRP
[no]grouptrackports
Whenenabled,thepriorityforthisvirtualrouterwillbeincreasedforeach
activeportonthesameVLAN.Aportisconsideredactiveifithasalinkand
isforwardingtraffic.Thishelpselectthevirtualrouterswiththemost
availableportsasthemaster.
Thiscommandisdisabledbydefault.
Commandmode:RouterVRRP
showipvrrpgrouptrack
Displaysthecurrentconfigurationforprioritytrackingforthisvirtualrouter.
Commandmode:All

534

G8052 Command Reference for N/OS 8.3

VRRP Interface Configuration


Note: TheinterfacerepresentstheIPinterfaceonwhichauthenticationparameters
mustbeconfigured.
ThesecommandsareusedforconfiguringVRRPauthenticationparametersforthe
IPinterfacesusedwiththevirtualrouters.
Table 316. VRRPInterfaceOptions
Command Syntax and Usage

interface<1128>authentication{password|none}
Definesthetypeofauthenticationthatwillbeused:

none(noauthentication)

password(passwordauthentication).

Commandmode:RouterVRRP
interface<1128>password<password>
Definesaplaintextpassworduptoeightcharacterslong.Thispasswordwill
beaddedtoeachVRRPpackettransmittedbythisinterfacewhenpassword
authenticationischosen(seeinterfaceauthenticationabove).
Commandmode:RouterVRRP
nointerface<1128>password
Resetstheconfiguredpasswordtoitsdefaultvalue.
Commandmode:RouterVRRP
nointerface<1128>
ClearstheauthenticationconfigurationparametersforthisIPinterface.TheIP
interfaceitselfisnotdeleted.
Commandmode:RouterVRRP
showipvrrpinterface<1128>
DisplaysthecurrentconfigurationforthisIPinterfacesauthentication
parameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

535

VRRP Tracking Configuration


Thesecommandsareusedforsettingweightsforthevariouscriteriausedto
modifyprioritylevelsduringthemasterrouterelectionprocess.Eachtimeoneof
thetrackingcriteriaismet(seeVRRPVirtualRouterPriorityTracking
Commandsonpage 531),theprioritylevelforthevirtualrouterisincreasedbya
definedamount.
Table 317. VRRPTrackingConfigurationOptions
Command Syntax and Usage

trackingpriorityincrementinterfaces<0254>
DefinesthepriorityincrementvalueforactiveIPinterfacesdetectedonthis
switch.
Thedefaultvalueis2.
Commandmode:RouterVRRP
trackingpriorityincrementports<0254>
Definesthepriorityincrementvalueforactiveportsonthevirtualrouters
VLAN.
Thedefaultvalueis2.
Commandmode:RouterVRRP
trackingpriorityincrementvirtualrouters<0254>
Definesthepriorityincrementvalue(0through254)forvirtualroutersin
mastermodedetectedonthisswitch.
Thedefaultvalueis2.
Commandmode:RouterVRRP
showipvrrptrackingpriorityincrement
Displaysthecurrentconfigurationofprioritytrackingincrementvalues.
Commandmode:All
Note: Theseprioritytrackingoptionsonlydefineincrementvalues.Theseoptions
donotaffecttheVRRPmasterrouterelectionprocessuntiloptionsunderthe
VRRPVirtualRouterPriorityTrackingCommands(seepage 531)areenabled.

536

G8052 Command Reference for N/OS 8.3

Protocol Independent Multicast Configuration


ThefollowingtabledescribesthePIMcommands.
Table 318. PIMConfigurationOptions
Command Syntax and Usage

ippimcomponent<12>
EnterPIMcomponentmode.
Commandmode:Globalconfiguration
noippimcomponent<2>
DeletesthePIMcomponent.
Commandmode:Globalconfiguration
[no]ippimenable
GloballyenablesordisablesPIM.
Commandmode:Globalconfiguration
[no]ippimpmbrenable
EnablesordisablesPIMborderrouter.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
ippimregstopratelimitperiod<02147483647>
Configurestheregisterstopratelimit,inseconds.
Thedefaultvalueis5seconds.
Commandmode:Globalconfiguration
defaultippimregstopratelimitperiod
Resettheregisterstopratelimittoitsdefaultvalueof5seconds.
Commandmode:Globalconfiguration
noippimregstopratelimitperiod
Disablestheregisterstopratelimit.
Commandmode:Globalconfiguration
[no]ippimstaticrpenable
EnablesordisablesstaticRPconfiguration.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

537

Table 318. PIMConfigurationOptions


Command Syntax and Usage

defaultippim
ResetsthePIMconfigurationtoitsdefaultvalues.
Commandmode:Globalconfiguration
clearippimmroute
ClearsPIMmulticastrouterentries.
Commandmode:PrivilegedEXEC

PIM Component Configuration


UsethesecommandstoconfigurePIMcomponents.
Table 319. PIMComponentConfigurationOptions
Command Syntax and Usage

ippimcomponent<12>
EnterPIMcomponentmode.
Commandmode:Globalconfiguration
mode{dense|sparse}
ConfigurestheoperationalmodeofthePIMrouter(denseorsparse).
Commandmode:PIMComponent
showippimcomponent[<12>]
DisplaysthecurrentPIMcomponentconfigurationsettings.
Commandmode:All

538

G8052 Command Reference for N/OS 8.3

RP Candidate Configuration
UsethesecommandstoconfigureaPIMrouterRendezvousPoint(RP)candidate.
Table 320. RPCandidateConfigurationOptions
Command Syntax and Usage

rpcandidateholdtime<0255>
ConfigurestheholdtimeoftheRPcandidate,inseconds.
Commandmode:PIMComponent
norpcandidateholdtime
ResetstheholdtimeoftheRPcandidatetoitsdefaultvalueof0seconds.
Commandmode:PIMComponent
[no]rpcandidaterpaddress<groupmulticastaddress>
<groupsubnetmask><IPaddress>
AddsorremovesanRPcandidate.
Commandmode:PIMComponent

RP Static Configuration
UsethesecommandstoconfigureastaticPIMrouterRendezvousPoint(RP).
Table 321. RPStaticConfigurationOptions
Command Syntax and Usage

rpstaticrpaddress<groupmulticastaddress><groupsubnetmask>
<IPaddress>
AddsastaticRP.
Commandmode:PIMComponent
norpstaticrpaddress<groupmulticastaddress><groupsubnetmask>
RemovesthespecifiedstaticRP.
Commandmode:PIMComponent

Copyright Lenovo 2015

Chapter 4: Configuration Commands

539

PIM Interface Configuration


ThefollowingtabledescribesthePIMInterfacecommands.
Table 322. PIMInterfaceConfigurationOptions
Command Syntax and Usage

interfaceip<1128>
EnterInterfaceIPmode.
Commandmode:GlobalConfiguration
[no]ippimborderbit
Enablesordisablestheinterfaceasaborderrouter.
Thedefaultsettingisdisabled.
Commandmode:InterfaceIP
ippimcbsrpreference<0255>
Configuresthecandidatebootstraprouterpreference.
Commandmode:InterfaceIP
[default|no]ippimcbsrpreference
Resetsthecanditatebootstraprouterpreferencetoitsdefaultvalue.
Commandmode:InterfaceIP
ippimcomponentid<12>
DefinesthecomponentIDfortheinterface.
Commandmode:InterfaceIP
noippimcomponentid
RemovestheinterfacefromthePIMcomponent.
Commandmode:InterfaceIP
ippimdrpriority<04294967294>
Configuresthedesignatedrouterpriority.
Thedefaultvalueis1.
Commandmode:InterfaceIP
[default|no]ippimdrpriority
Resetsthedesignatedrouterprioritytoitsdefaultvalueof1.
Commandmode:InterfaceIP
[no]ippimenable
EnablesordisablesPIMontheinterface.
Commandmode:InterfaceIP

540

G8052 Command Reference for N/OS 8.3

Table 322. PIMInterfaceConfigurationOptions(continued)


Command Syntax and Usage

ippimhelloholdtime<165535>
Configuresthetimeperiodinsecondsforwhichaneighboristoconsiderthis
switchtobeoperative(up).
Thedefaultvalueis105seconds.
Commandmode:InterfaceIP
[default|no]ippimhelloholdtime
ResetsthePIMHellopacketsholdtimetoitsdefaultvalueof105seconds.
Commandmode:InterfaceIP
ippimhellointerval<065535>
Configuresthetimeinterval,inseconds,betweenPIMHellopackets.
Thedefaultvalueis30seconds.
Commandmode:InterfaceIP
[default|no]ippimhellointerval
ResetsthetimeintervalbetweenPIMHellopacketstoitsdefaultvalueof30
seconds.
Commandmode:InterfaceIP
ippimjoinpruneinterval<065535>
ConfigurestheintervalbetweenJoinPrunemessages,inseconds.
Thedefaultvalueis60seconds.
Commandmode:InterfaceIP
[default|no]ippimjoinpruneinterval
ResetstheintervalbetweenJoinPrunemessagestoitsdefaultvalueof60
seconds.
Commandmode:InterfaceIP
ippimlandelay<032767>
ConfigurestheLANdelayvaluefortherouterinterface,inseconds.
Commandmode:InterfaceIP
[default|no]ippimlandelay
ResetstheLANdelayfortherouterinterfacetoitsdefaultvalue.
Commandmode:InterfaceIP
[no]ippimlanprunedelay
EnablesordisablesLANdelayadvertisementsontheinterface.
Thedefaultsettingisdisabled.
Commandmode:InterfaceIP

Copyright Lenovo 2015

Chapter 4: Configuration Commands

541

Table 322. PIMInterfaceConfigurationOptions(continued)


Command Syntax and Usage

ippimneighboraddr<IPaddress>{allow|deny}
AllowsordeniesPIMaccesstothespecifiedneighbor.Youcanconfigurealist
ofupto24neighborsthatbypasstheneighborfilter.Onceyouconfigurethe
interfacetoallowaneighbor,youcanconfiguretheinterfacetodenythe
neighbor.
Commandmode:InterfaceIP
[no]ippimneighborfilter
EnablesordisablesthePIMneighborfilterontheinterface.Whenenabled,
thisinterfacedoesnotacceptanyPIMneighbors,unlessspecificallypermitted
usingthefollowingcommand:ippimneighboraddr<IPaddress>
Commandmode:InterfaceIP
ippimoverrideinterval<065535>
Configurestheoverrideintervalfortherouterinterface,inseconds.
Commandmode:InterfaceIP
[default|no]ippimoverrideinterval
Resetstheoverrideintervalfortherouterinterfacetoitsdefaultvalue.
Commandmode:InterfaceIP
defaultippim
ResetsthePIMconfigurationontheinterfacetoitsdefaultvalues.
Commandmode:InterfaceIP
showippimneighborfilters
DisplaystheconfiguredPIMneighborfilters.
Commandmode:All
showippiminterface[<1128>|detail|loopback|port
<portaliasornumber>]
DisplaysthecurrentPIMinterfaceparameters.
Commandmode:All

542

G8052 Command Reference for N/OS 8.3

IPv6 Default Gateway Configuration


TheswitchsupportsIPv6defaultgateways.
ThefollowingtabledescribestheIPv6DefaultGatewayConfigurationcommands.
Table 323. IPv6DefaultGatewayConfigurationOptions
Command Syntax and Usage

ipgateway6address<IPv6address>[enable]
ConfigurestheIPv6addressofthedefaultgateway,inhexadecimalformat
withcolons(suchas3001:0:0:0:0:0:abcd:12).Theenableoptionalso
enablesthegateway.
Commandmode:Globalconfiguration
[no]ipgateway6enable
Enablesordisablesthedefaultgateway.
Commandmode:Globalconfiguration
noipgateway6
Deletesthedefaultgateway.
Commandmode:Globalconfiguration
showipv6gateway6
DisplaysthecurrentIPv6defaultgatewayconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

543

IPv6 Static Route Configuration


ThefollowingtabledescribestheIPv6staticrouteconfigurationcommands.
Table 324. IPv6StaticRouteConfigurationOptions
Command Syntax and Usage

iproute6<IPv6address><IPv6prefixlength><IPv6gatewayaddress>
[<interfacenumber(1126)>]
AddsanIPv6staticroute.
Commandmode:Globalconfiguration
noiproute6<IPv6address><IPv6prefixlength>[<IPinterfacenumber>]
Removestheselectedroute.
Commandmode:Globalconfiguration
noiproute6[destinationaddress<IPv6address>|gateway
<defaultIPv6gatewayaddress>|interface<IPinterfacenumber>|all]
ClearstheselectedIPv6staticroutes.
Commandmode:Globalconfiguration
showipv6routestatic
Displaysthecurrentstaticrouteconfiguration.
Commandmode:All

IPv6 Neighbor Discovery Cache Configuration


ThefollowingtabledescribestheIPv6NeighborDiscoverycacheconfiguration
commands.
Table 325. IPv6NeighborDiscoveryCacheConfigurationOptions
Command Syntax and Usage

ipneighbors<IPv6address><MACaddress>vlan<VLANID(14094)>
port<portnumberoralias>
AddsastaticentrytotheNeighborDiscoverycachetable.
Commandmode:Globalconfiguration
noipneighbors<IPv6address>
DeletestheselectedentryfromthestaticNeighborDiscoverycachetable.
Commandmode:Globalconfiguration
noipneighborsall[ip<IPinterfacenumber>|interfaceport
<portaliasornumber>|vlan<VLANID(14094)>]
ClearstheselectedstaticentriesintheNeighborDiscoverycachetable.
Commandmode:Globalconfiguration

544

G8052 Command Reference for N/OS 8.3

IPv6 Path MTU Configuration


ThefollowingtabledescribestheconfigurationoptionsforPathMTU(Maximum
TransmissionUnit).ThePathMTUcachecanconsumesystemmemoryandaffect
performance.ThesecommandsallowyoutomanagethePathMTUcache.
Table 326. IPv6PathMTUOptions
Command Syntax and Usage

ippmtu6timeout{0|<10100>}
SetsthetimeoutvalueforPathMTUcacheentries,inminutes.Enter0(zero)to
setthetimeouttoinfinity(notimeout).
Thedefaultvalueis10minutes.
Commandmode:Globalconfiguration
clearipv6pmtu
ClearsallentriesinthePathMTUcache.
Commandmode:PrivilegedEXEC
showipv6pmtu
DisplaysthecurrentPathMTUconfiguration.
Commandmode:All

IPv6 Neighbor Discovery Prefix Configuration


ThefollowingtabledescribestheNeighborDiscoveryprefixconfigurationoptions.
ThesecommandsallowyoutodefinealistofprefixestobeplacedinPrefix
InformationoptionsinRouterAdvertisementmessagessentfromaninterface.
Table 327. IPv6NeighborDiscoveryPrefixOptions
Command Syntax and Usage

interfaceip<1128>
EntersInterfaceIPmode.
Commandmode:Globalconfiguration
ipv6ndprefix<IPv6prefix><IPv6prefixlength>[noadvertise]
AddsaNeighborDiscoveryprefixtotheinterface.
Thedefaultsettingisenabled.
TodisabletheprefixandnotadvertiseitinthePrefixInformationoptionsin
RouterAdvertisementmessagessentfromtheinterfaceusethe
noadvertiseoption.
Additionalprefixoptionsarelistedbelow.
Commandmode:InterfaceIP

Copyright Lenovo 2015

Chapter 4: Configuration Commands

545

Table 327. IPv6NeighborDiscoveryPrefixOptions(continued)


Command Syntax and Usage

noipv6ndprefix{<IPv6prefix><IPv6prefixlength>|interface
<IPinterfacenumber>|all}
RemovesaNeighborDiscoveryprefix.Ifyouspecifyaninterfacenumber,all
prefixesfortheinterfaceareremoved.
Commandmode:InterfaceIP
ipv6ndprefix<IPv6prefix><IPv6prefixlength>noautoconfig
Disablestheautonomousflag.Whenenabled,theautonomousflagindicates
thattheprefixcanbeusedforstatelessaddressconfiguration.
Thedefaultsettingisenabled.
Commandmode:InterfaceIP
ipv6ndprefix<IPv6prefix><IPv6prefixlength>offlink
Disablestheonlinkflag.Whenenabled,theonlinkflagindicatesthatthis
prefixcanbeusedforonlinkdetermination.Whendisabled,the
advertisementmakesnostatementaboutonlinkorofflinkpropertiesofthe
prefix.
Thedefaultsettingisenabled.
Tocleartheofflinkflag,omittheofflinkparameterwhenyouissuethis
command.
Commandmode:InterfaceIP
ipv6ndprefix<IPv6prefix><IPv6prefixlength>validlifetime
{<04294967295>|infinite|variable<04294967295>}
[preferedlifetime{<04294967295>|infinite|variable}]
[noautoconfig][offlink]
ConfigurestheValidLifetimeand(optionally)thePreferredLifetimeofthe
prefix,inseconds.
TheValidLifetimeisthelengthoftime(relativetothetimethepacketissent)
thattheprefixisvalidforthepurposeofonlinkdetermination.
Thedefaultvalueis2592000.
ThePreferredLifetimeisthelengthoftime(relativetothetimethepacketis
sent)thataddressesgeneratedfromtheprefixviastatelessaddress
autoconfigurationremainpreferred.
Thedefaultvalueis604800.
Note:ThePreferredLifetimevaluemustnotexceedtheValidLifetimevalue.
Commandmode:InterfaceIP
showipv6prefix<IPinterfacenumber>
DisplayscurrentNeighborDiscoveryprefixparameters.
Commandmode:All

546

G8052 Command Reference for N/OS 8.3

IPv6 Prefix Policy Table Configuration


ThefollowingtabledescribestheconfigurationoptionsfortheIPv6PrefixPolicy
Table.ThePrefixPolicyTableallowsyoutooverridethedefaultaddressselection
criteria.
Table 328. IPv6PrefixPolicyTableOptions
Command Syntax and Usage

[no]ipprefixpolicy<IPv6prefix><IPv6prefixlength>
<precedence(0100)><label(0100)>
AddsorremovesaPrefixPolicyTableentry.Enterthefollowingparameters:

IPv6addressprefix

Prefixlength

Precedence:Theprecedenceisusedtosortdestinationaddresses.Prefixes
withahigherprecedencearesortedbeforethosewithalowerprecedence.

Label:Thelabelallowsyoutoselectprefixesbasedonmatchinglabels.
Sourceprefixesarecoupledwithdestinationprefixesiftheirlabelsmatch.

Commandmode:Globalconfiguration
showipprefixpolicy
DisplaysthecurrentPrefixPolicyTableconfiguration.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

547

IP Loopback Interface Configuration


AnIPloopbackinterfaceisnotconnectedtoanyphysicalport.Aloopback
interfaceisalwaysaccessibleoverthenetwork.
Table 329. IPLoopbackInterfaceConfigurationOptions
Command Syntax and Usage

interfaceloopback<15>
EnterInterfaceloopbackmode.
Commandmode:Globalconfiguration
nointerfaceloopback<15>
Deletestheselectedloopbackinterface.
Commandmode:Globalconfiguration
[no]enable
Enablesordisablestheloopbackinterface.
Commandmode:Interfaceloopback
ipaddress<IPaddress>[<subnetmask>][enable]
DefinestheloopbackinterfaceIPaddress.Youcanalsospecifyitssubnet
mask.Theenableoptionalsoenablestheloopbackinterface.
Commandmode:Interfaceloopback
ipnetmask<subnetmask>
Definestheloopbackinterfacesubnetmask.
Commandmode:Interfaceloopback
ipospfarea<019>
ConfigurestheOSPFareaindexusedbytheloopbackinterface.
Commandmode:Interfaceloopback
[no]ipospfenable
EnablesordisablesOSPFfortheloopbackinterface.
Commandmode:Interfaceloopback
noipospf
DeletestheOSPFinterface.
Commandmode:Interfaceloopback
showinterfaceloopback<15>
DisplaysthecurrentIPloopbackinterfaceparameters.
Commandmode:All

548

G8052 Command Reference for N/OS 8.3

DHCP Snooping
DHCPSnoopingprovidessecuritybyfilteringuntrustedDHCPpacketsandby
maintainingabindingtableoftrustedinterfaces.
Table 330. DHCPSnoopingOptions
Command Syntax and Usage

[no]ipdhcpsnooping
EnablesordisablesDHCPSnooping.
Commandmode:Globalconfiguration
ipdhcpsnoopingbinding<MACaddress>vlan<VLANID(14094)>
<IPaddress>port<portaliasornumber>expiry<14294967295>
Addsamanualentrytothebindingtable.
Commandmode:Globalconfiguration
noipdhcpsnoopingbinding{<MACaddress>|all
[interfaceport<portaliasornumber>|vlan<VLANID(14094)>]}
Removesanentryfromthebindingtable.
Commandmode:Globalconfiguration
[no]ipdhcpsnoopinginformationoptioninsert
Enablesordisablesoption82supportforDHCPSnooping.
Whenenabled,DHCPSnoopingperformsthefollowingfunctions:

ifaDHCPpacketfromaclientcontainsoption82information,the
informationisretained.

whenDHCPSnoopingforwardsaDHCPpacketfromaclient,option82
informationisaddedtothepacket.

whenDHCPsnoopingforwardaDHCPpacketfromaserver,option82
informationisremovedfromthepacket.

Commandmode:Globalconfiguration
[no]ipdhcpsnoopingvlan<VLANID(14094)>
AddsorremovestheselectedVLANtoDHCPSnooping.Memberports
participateinDHCPSnooping.
Commandmode:Globalconfiguration
showipdhcpsnooping
DisplaysthecurrentDHCPSnoopingparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

549

Remote Monitoring Configuration


RemoteMonitoring(RMON)allowsyoutomonitortrafficflowingthroughthe
switch.TheRMONMIBisdescribedinRFC2819.
ThefollowingsectionsdescribetheRemoteMonitoring(RMON)configuration
options.

RMONHistoryConfigurationonpage 550

RMONEventConfigurationonpage 551

RMONAlarmConfigurationonpage 552

RMON History Configuration


ThefollowingtabledescribestheRMONHistorycommands.
Table 331. RMONHistoryConfigurationOptions
Command Syntax and Usage

rmonhistory<165535>interfaceoid<1127characters>
ConfigurestheinterfaceMIBObjectIdentifier.TheIFOIDmustcorrespondto
thestandardinterfaceOID,asfollows:1.3.6.1.2.1.2.2.1.1.X,whereX
istheifIndex.
Commandmode:Globalconfiguration
rmonhistory<165535>owner<1127characters>
EnteratextstringthatidentifiesthepersonorentitythatusesthisHistory
index.
Commandmode:Globalconfiguration
normonhistory<165535>owner
DeletestheidentificationinformationforthespecifiedHistoryindex.
Commandmode:Globalconfiguration
rmonhistory<165535>pollinginterval<13600>
Configuresthetimeintervaloverwhichthedataissampledforeachbucket.
Thedefaultvalueis1800.
Commandmode:Globalconfiguration
rmonhistory<165535>requestedbuckets<165535>
Configurestherequestednumberofbuckets,whichisthenumberofdiscrete
timeintervalsoverwhichdataistobesaved.
Thedefaultvalueis30.
Themaximumnumberofbucketsthatcanbegrantedis50.
Commandmode:Globalconfiguration

550

G8052 Command Reference for N/OS 8.3

Table 331. RMONHistoryConfigurationOptions


Command Syntax and Usage

normonhistory<165535>
DeletestheselectedHistoryindex.
Commandmode:Globalconfiguration
showrmonhistory
DisplaysthecurrentRMONHistoryparameters.
Commandmode:All

RMON Event Configuration


ThefollowingtabledescribestheRMONEventcommands.
Table 332. RMONEventConfigurationOptions
Command Syntax and Usage

rmonevent<165535>description<1127characters>
Enteratextstringtodescribetheevent.
Commandmode:Globalconfiguration
normonevent<165535>description
Deletesthedescriptionofthespecifiedeventindex.
Commandmode:Globalconfiguration
rmonevent<165535>owner<1127characters>
EnteratextstringthatidentifiesthepersonorentitythatusesthisEventindex.
Commandmode:Globalconfiguration
normonevent<165535>owner
DeletestheidentificationinformationforthespecifiedEventindex.
Commandmode:Globalconfiguration
rmonevent<165535>type{log|trap|both}
Selectsthetypeofnotificationprovidedforthisevent.Forlogevents,anentry
ismadeinthelogtableandsenttotheconfiguredsysloghost.Fortrapevents,
anSNMPtrapissenttothemanagementstation.
Commandmode:Globalconfiguration
normonevent<165535>type
Removesnotificationprovidedforthisevent.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

551

Table 332. RMONEventConfigurationOptions


Command Syntax and Usage

normonevent<165535>
DeletestheselectedRMONEventindex.
Commandmode:Globalconfiguration
showrmonevent
DisplaysthecurrentRMONEventparameters.
Commandmode:All

RMON Alarm Configuration


ThealarmRMONgroupcantrackrisingorfallingvaluesforaMIBobject.TheMIB
objectmustbeacounter,gauge,integer,ortimeinterval.Eachalarmindexmust
correspondtoaneventindexthattriggersoncethealarmthresholdiscrossed.
ThefollowingtabledescribestheRMONalarmcommands.
Table 333. RMONAlarmConfigurationOptions
Command Syntax and Usage

rmonalarm<165535>alarmtype{rising|falling|either}
Configuresthealarmtypeasrising,falling,oreither(risingorfalling).
Commandmode:Globalconfiguration
rmonalarm<165535>fallingcrossingindex<065535>
Configuresthefallingalarmeventindexthatistriggeredwhenafalling
thresholdiscrossed.
Commandmode:Globalconfiguration
rmonalarm<165535>fallinglimit<21474836472147483647>
Configuresthefallingthresholdforthesampledstatistic.Whenthecurrent
sampledvalueislessthanorequaltothisthreshold,andthevalueatthelast
samplingintervalwasgreaterthanthisthreshold,asingleeventisgenerated.
Commandmode:Globalconfiguration
rmonalarm<165535>interval<165535>
Configuresthetimeintervaloverwhichdataissampledandcomparedwith
therisingandfallingthresholds.Thedefaultvalueis1800.
Commandmode:Globalconfiguration
rmonalarm<165535>oid<1127characters>
ConfiguresanalarmMIBObjectIdentifier.
Commandmode:Globalconfiguration
rmonalarm<165535>owner<1127characters>
Enteratextstringthatidentifiesthepersonorentitythatusesthisalarmindex.
Commandmode:Globalconfiguration

552

G8052 Command Reference for N/OS 8.3

Table 333. RMONAlarmConfigurationOptions(continued)


Command Syntax and Usage

normonalarm<165535>owner
DeletestheidentificationinformationforthespecifiedAlarmindex.
Commandmode:Globalconfiguration
rmonalarm<165535>risingcrossingindex<065535>
Configurestherisingalarmeventindexthatistriggeredwhenarising
thresholdiscrossed.
Commandmode:Globalconfiguration
rmonalarm<165535>risinglimit<21474836472147483647>
Configurestherisingthresholdforthesampledstatistic.Whenthecurrent
sampledvalueisgreaterthanorequaltothisthreshold,andthevalueatthe
lastsamplingintervalwaslessthanthisthreshold,asingleeventisgenerated.
Commandmode:Globalconfiguration
rmonalarm<165535>sample{abs|delta}
Configuresthemethodofsamplingtheselectedvariableandcalculatingthe
valuetobecomparedagainstthethresholds,asfollows:

absabsolutevalue,thevalueoftheselectedvariableiscompareddirectly
withthethresholdsattheendofthesamplinginterval.

deltadeltavalue,thevalueoftheselectedvariableatthelastsampleis
subtractedfromthecurrentvalue,andthedifferencecomparedwiththe
thresholds.

Commandmode:Globalconfiguration
normonalarm<165535>
DeletestheselectedRMONAlarmindex.
Commandmode:Globalconfiguration
showrmonalarm
DisplaysthecurrentRMONAlarmparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

553

VMReady Configuration
ThefollowingtabledescribestheVMReadyconfigurationoptions.
Table 334. VMReadyConfigurationOptions
Command Syntax and Usage

[no]virtenable
EnablesordisablesVMReady.BeforeyouenableVMReady,youmustdefine
oneormoreserverports.SeeServerPortConfigurationonpage 338.
Note:ThenoformofthiscommanddeletesallconfiguredVMgroups.
Commandmode:Globalconfiguration
showvirt
Displaysthecurrentvirtualizationparameters.
Commandmode:All

554

G8052 Command Reference for N/OS 8.3

VM Policy Bandwidth Management


Thefollowingtabledescribesthebandwidthmanagementoptionsfortheselected
VM.UsethesecommandstolimitthebandwidthusedbyeachVM.
Table 335. VMBandwidthManagementOptions
Command Syntax and Usage

[no]virtvmpolicyvmbwidth[<MACaddress>|<UUID>|<name>|
|<IPaddress>|<indexnumber>]bwctrl
EnablesordisablesbandwidthcontrolontheVMpolicy.
Commandmode:Globalconfiguration
virtvmpolicyvmbwidth[<MACaddress>|<UUID>|<name>|
|<IPaddress>|<indexnumber>]rxrate<010000000><max.burst(04096)>
ThefirstvalueconfiguresCommittedRatetheamountofbandwidth
availabletotraffictransmittedfromtheswitchtotheVM,inkilobitsper
second.Enterthevalueinmultiplesof64.
Thesecondvaluesconfiguresthemaximumburstsize,inkilobits.Enteroneof
thefollowingvalues:0,32,64,128,256,512,1024,2048,4096.
Commandmode:Globalconfiguration
virtvmpolicyvmbwidth[<MACaddress>|<UUID>|<name>|
|<IPaddress>|<indexnumber>]txrate<010000000>
<max.burst(04096)>[<ACLnumber>]
ThefirstvalueconfiguresCommittedRatetheamountofbandwidth
availabletotraffictransmittedfromtheVMtotheswitch,inkilobitsper
second.Enterthevalueinmultiplesof64.
Thesecondvaluesconfiguresthemaximumburstsize,inkilobits.Enteroneof
thefollowingvalues:0,32,64,128,256,512,1024,2048,4096.
ThethirdvaluerepresentstheACLassignedtothetransmissionrate.TheACL
isaddedautomatically,insequentialorder,ifnotspecifiedbytheuser.Ifthere
arenoavailableACLs,theTXratecannotbeconfigured.EachTXrate
configurationreducesthenumberofavailableACLsbyone.
Commandmode:Globalconfiguration
novirtvmpolicyvmbwidth[<MACaddress>|<UUID>|<name>|
|<IPaddress>|<indexnumber>]
DeletesthebandwidthmanagementsettingsfromthisVMpolicy.
Commandmode:Globalconfiguration
showvirtvmpolicyvmbandwidth[<MACaddress>|<UUID>|<name>|
|<IPaddress>|<indexnumber>]
DisplaysthecurrentVMbandwidthmanagementparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

555

VM Group Configuration
ThefollowingtabledescribestheVMgroupconfigurationoptions.AVMgroupis
acollectionofmembers,suchasVMs,portsortrunkgroups.MembersofaVM
groupsharecertainproperties,includingVLANmembership,ACLs(VMAP),and
VMprofiles.
Table 336. VMGroupConfigurationOptions
Command Syntax and Usage

[no]virtvmgroup<11024>cpu
EnablesordisablessendingunregisteredIPMCtraffictotheCPU.
Commandmode:Globalconfiguration
[no]virtvmgroup<11024>flood
EnablesordisablesthefloodingofunregisteredIPMCtraffic.
Commandmode:Globalconfiguration
[no]virtvmgroup<11024>key<165535>
AddsorremovesanLACPadminkeyto/fromtheVMgroup.LACPtrunks
formedwiththisadminkeywillbeincludedintheVMgroup.
Commandmode:Globalconfiguration
[no]virtvmgroup<11024>optflood
EnablesordisablesOptimizedFloodingontheVMgroup.
Commandmode:Globalconfiguration
[no]virtvmgroup<11024>port<portaliasornumber>
Addsorremovestheselectedportto/fromtheVMgroup.
Note:AportcanbeaddedtoaVMgrouponlyifnoVMsonthatportare
membersoftheVMgroup.
Commandmode:Globalconfiguration
[no]virtvmgroup<11024>portchannel<152>
Addsorremovestheselectedtrunkgroupto/fromtheVMgroup.
Commandmode:Globalconfiguration
virtvmgroup<11024>profile<profilename(139characters)>
AddstheselectedVMprofiletotheVMgroup.
Note:ThiscommandcanonlybeusediftheVMgroupisempty(thatis,itonly
hasaprofileassigned).
Commandmode:Globalconfiguration
novirtvmgroup<11024>profile
RemovestheVMprofileassignedtotheVMgroup.
Note:ThiscommandcanonlybeusediftheVMgroupisempty(onlyhasthe
profileassigned).
Commandmode:Globalconfiguration

556

G8052 Command Reference for N/OS 8.3

Table 336. VMGroupConfigurationOptions(continued)


Command Syntax and Usage

virtvmgroup<11024>stg<1128>
AssignstheVMgrouptoaSpanningTreeGroup(STG).
Commandmode:Globalconfiguration
[no]virtvmgroup<11024>tag
EnablesordisablesVLANtaggingonportsinthisVMgroup.
Commandmode:Globalconfiguration
virtvmgroup<11024>validate[basic|advanced]
EnablesMACaddressspoofpreventionforthespecifiedVMgroup.Default
settingisdisabled.

basicvalidationensureslightweightportbasedprotectionby
crosscheckingtheVMMACaddress,switchportandswitchIDbetween
theswitchandthehypervisor.Applicablefortrustedhypervisors,which
arenotsusceptibletoduplicatingorreusingMACaddressesonvirtual
machines.

advancedvalidationensuresheavyweightVMbasedprotectionby
crosscheckingtheVMMACaddress,VMUUID,switchportandswitchID
betweentheswitchandthehypervisor.Applicableforuntrusted
hypervisors,whicharesusceptibletoduplicatingorreusingMAC
addressesonvirtualmachines.

Commandmode:Globalconfiguration
novirtvmgroup<11024>validate
DisablesMACaddressspoofpreventionforthespecifiedVMgroup.
Commandmode:Globalconfiguration
virtvmgroup<11024>vlan<VLANID(14094)>
AssignsaVLANtothisVMgroup.IfyoudonotassignaVLANtotheVM
group,theswitchautomaticallyassignsthefirstunusedVLANwhenaddinga
portoraVMtotheVMGroup.
Note:IfyouaddaVMprofiletothisgroup,thegroupwillusetheVLAN
assignedtotheprofile.
Commandmode:Globalconfiguration
[no]virtvmgroup<11024>vm{<VMMACaddressindex(04095)>|
|<MACaddress>|<UUID>|<name>|<IPaddress>}
AddsorremovesaVMto/fromtheVMgroup.Enterauniqueidentifierto
selectaVM.TheUUIDandnameparametersapplyonlyifVirtualCenter
informationisconfigured(virtvmwarevcspec).TheVMindexnumberis
foundintheVMinformationdump(showvirtvm).
Note:IftheVMisconnectedtoaportthatiscontainedwithintheVMgroup,
donotaddtheVMtotheVMgroup.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

557

Table 336. VMGroupConfigurationOptions(continued)


Command Syntax and Usage

[no]virtvmgroup<11024>vmap<1128>[serverports|
|nonserverports]
AddsorremovestheselectedVLANMapto/fromthisgroup.Youcanchoose
tolimitoperationoftheVLANMaptoserverportsonlyornonserverports
only.Ifyoudonotselectaporttype,theVMAPisappliedtotheentireVM
Group.
FormoreinformationaboutconfiguringVLANMaps,seeVMAP
Configurationonpage 384.
Commandmode:Globalconfiguration
novirtvmgroup<11024>
DeletestheVMgroup.
Commandmode:Globalconfiguration
showvirtvmgroup<11024>
DisplaysthecurrentVMgroupparameters.
Commandmode:All

558

G8052 Command Reference for N/OS 8.3

VM Check Configuration
ThefollowingtabledescribestheVMCheckvalidationoptionsusedforMAC
addressspoofprevention.
Table 337. VMCheckConfigurationOptions
Command Syntax and Usage

virtvmcheckaclsmax<1640>
ConfiguresthemaximumnumberofACLsthatcanbesetupforMACaddress
spoofingpreventioninadvancedvalidationmode.
Thedefaultvalueis50.
Commandmode:Globalconfiguration
defaultvirtvmcheckacls
SetstodefaultmaximumnumberofACLsthatcanbesetupforMACaddress
spoofingpreventioninadvancedvalidationmode.
Commandmode:Globalconfiguration
novirtvmcheckacls
DisablesACLbasedMACaddressspoofingpreventioninadvanced
validationmode.
Commandmode:Globalconfiguration
virtvmcheckactionadvanced{acl|link|log}
SetsupactiontakenwhendetectingMACaddressspoofinginadvanced
validationmode:

aclregistersasyslogentryandinstallsanACLtodroptrafficincomingon
thecorrespondingswitchportoriginatingfromthespoofedMACaddress

linkregistersasyslogentryanddisablesthecorrespondingswitchport

logregistersasyslogentry

Thedefaultsettingisacl.
Commandmode:Globalconfiguration
virtvmcheckactionbasic{link|log}
SetsupactiontakenwhendetectingMACaddressspoofinginbasicvalidation
mode:

linkregistersasyslogentryanddisablesthecorrespondingswitchport

logregistersasyslogentry

Thedefaultsettingislink.
Commandmode:Globalconfiguration
defaultvirtvmcheckaction{advanced|basic}
SetstodefaultactiontakenwhendetectingMACaddressspoofingin
advancedorbasicvalidationmode.
Commandmode:Globalconfiguration

Copyright Lenovo 2015

Chapter 4: Configuration Commands

559

Table 337. VMCheckConfigurationOptions


Command Syntax and Usage

[no]virtvmchecktrust<portaliasornumber>
EnablesordisablestrustedportsforVMcommunication.
Bydefault,allportsaredisabled.
Commandmode:Globalconfiguration
showvirtvmcheck
DisplaysthecurrentVMChecksettings.Seepage 166forsampleoutput.
Commandmode:All

VM Profile Configuration
ThefollowingtabledescribestheVMProfilesconfigurationoptions.
Table 338. VMProfileConfigurationOptions
Command Syntax and Usage

virtvmprofile<profilename(139characters)>
DefinesanamefortheVMprofile.Theswitchsupportsupto1024VM
profiles.
Commandmode:Globalconfiguration
novirtvmprofile<profilename(139characters)>
DeletestheselectedVMprofile.
Commandmode:Globalconfiguration
virtvmprofileedit<profilename(139characters)>eshaping
<average(11000000000)><burst(11000000000)><peak(11000000000)>
Configurestrafficegressshapingparametersimplementedinthehypervisor,
asfollows:

Averagetraffic,inkilobitspersecond.

Maximumburstsize,inkilobits.

Peaktraffic,inkilobitspersecond.

Deletetrafficshapingparameters.

Commandmode:Globalconfiguration
novirtvmprofile<profilename(139characters)>eshaping
DeletesthetrafficegressshapingparametersforthespecifiedVMprofile.
Commandmode:Globalconfiguration

560

G8052 Command Reference for N/OS 8.3

Table 338. VMProfileConfigurationOptions


Command Syntax and Usage

virtvmprofileedit<profilename(139characters)>shaping
<average(11000000000)><burst(11000000000)><peak(11000000000)>
Configurestrafficshapingparametersimplementedinthehypervisor,as
follows:

Averagetraffic,inkilobitspersecond.

Maximumburstsize,inkilobits.

Peaktraffic,inkilobitspersecond.

Deletetrafficshapingparameters.

Commandmode:Globalconfiguration
novirtvmprofile<profilename(139characters)>shaping
DeletesthetrafficshapingparametersforthespecifiedVMprofile.
Commandmode:Globalconfiguration
virtvmprofileedit<profilename(139characters)>vlan
<VLANID(14094)>
AssignsaVLANtotheVMprofile.
Commandmode:Globalconfiguration
showvirtvmprofile[<profilename>]
DisplaysthecurrentVMProfileparameters.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

561

VMWare Configuration
ThefollowingtabledescribestheVMwareconfigurationoptions.Whenyou
configuretheVMwareVirtualCenter,theVMAgentmoduleintheswitchcan
performadvancedfunctionalitybycommunicatingwiththeVMwaremanagement
console.TheVirtualCenterprovidesVMandHostnames,IPaddresses,Virtual
Switchandportgroupinformation.TheVMAgentontheswitchcommunicates
withtheVirtualCentertosynchronizeVMprofilesbetweentheswitchandthe
VMwarevirtualswitch.
Table 339. VMWareConfigurationOptions
Command Syntax and Usage

virtvmwarehbport<165535>
ConfigurestheUDPportnumberusedforheartbeatcommunicationfromthe
VMhosttotheVirtualCenter.
Thedefaultvalueisport902.
Commandmode:Globalconfiguration
defaultvirtvmwarehbport
Setstodefaultesx/esxiservertovcenterheartbeatudpport.
Commandmode:Globalconfiguration
virtvmwarehello[enable|haddr<IPaddress>|
|hport<portaliasornumber>|htimer<160>]
ConfiguresCDP(CiscoDiscoveryProtocol)advertisementssentperiodically
toVMwareESXhypervisors.ExchangingCDPmessagewithESXhypervisors
facilitatesMACaddressspoofprevention.Defaultsettingisdisabled.

enableenablesCDPadvertisementstransmission.

haddradvertisesaspecificIPaddressinsteadofthedefault0.0.0.0IP.

hportenablesportsonwhichCDPadvertisementsaresent.

htimersetsthenumberofsecondsbetweensuccessiveCDP
advertisements.Thedefaultvalueis30seconds.

Commandmode:Globalconfiguration
defaultvirtvmwarehellohtimer
SetstodefaultHELLOperiodicity.
Commandmode:Globalconfiguration
novirtvmwarehello[enable|hport<portaliasornumber>]
DisablesCDPadvertisementtransmissionscompletelyoronlyonspecific
ports.
Commandmode:Globalconfiguration

562

G8052 Command Reference for N/OS 8.3

Table 339. VMWareConfigurationOptions


Command Syntax and Usage

virtvmwarevcspec<IPaddress><username>[noauth]
DefinestheVirtualCentercredentialsontheswitch.Onceyouconfigurethe
VirtualCenter,VMAgentfunctionalityisenabledacrossthesystem.
Youarepromptedforthefollowinginformation:

IPaddressoftheVirtualCenter

UsernameandpasswordfortheVirtualCenter

WhethertoauthenticatetheSSLsecuritycertificate(yesorno)

Commandmode:Globalconfiguration
novirtvmwarevcspec
DeletestheVirtualCentercredentialsontheswitch.
Commandmode:Globalconfiguration
showvirtvmware
DisplaysthecurrentVMwareparameters.
Commandmode:All

Miscellaneous VMready Configuration


YoucanpreconfigureMACaddressesasVMOrganizationUniqueIdentifiers
(OUIs).TheseconfigurationcommandsareonlyavailableusingtheLenovoN/OS
CLIandtheMiscellaneousVMreadyConfigurationMenu.Thefollowingtable
describestheVMreadyconfigurationoptions.
Table 340. VMreadyConfigurationOptions
Command Syntax and Usage

[no]virtvmrmisclmac
EnablesordisablestheswitchtotreatlocallyadministeredMACaddressesas
VMs.
Commandmode:Globalconfiguration
virtvmrmiscoui<3byteVMMACOUI><VendorName>
AddsaMACOUI.
Commandmode:Globalconfiguration
novirtvmrmiscoui<3byteVMMACOUI>
RemovesaMACOUI.
Commandmode:Globalconfiguration
showvirtoui
DisplaysalltheconfiguredMACOUIs.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

563

Edge Virtual Bridge Configuration


YoucanconfigureyourswitchtouseEdgeVirtualBridging(EVB).Thefollowing
tabledescribesEVBconfigurationcommands.
Table 341. EdgeVirtualBridgeConfigurationOptions
Command Syntax and Usage

virtevbvsidb<VSIDBnumber>
EnterVirtualStationInterfaceDatabaseconfigurationmode.Formoredetails,
seepage 565.
Commandmode:Globalconfiguration
virtevbprofile<profilenumber>
EnterVirtualStationInterfaceProfileconfigurationmode.Formoredetails,
seepage 567.
Commandmode:Globalconfiguration
showvirtevbvsidb<VSIDBnumber>
DisplaysthecurrentVirtualStationInterfacedatabaseinformation.
Commandmode:All
showvirtevbprofile[<profilenumber>]
DisplaysthecurrentEVBprofileparameters.
Commandmode:All

564

G8052 Command Reference for N/OS 8.3

Edge Virtual Bridge VSI Type Database Configuration


ThefollowingtabledescribestheEVBVSITypeDatabaseconfigurationoptions.
Table 342. EdgeVirtualBridgeVSITypeDatabaseConfigurationOptions
Command Syntax and Usage

virtevbupdatevsidb<VSIDBnumber>
UpdateVSItypesfromtheVSIdatabase.
Commandmode:All
clearvirtevbvsidb[managerid<0255>|typeid<116777215>|
|version<0255>]
ClearslocalVSItypescache.
Commandmode:PrivilegedEXEC
clearvirtevbvsi[macaddress<MACaddress>|port
<portaliasornumber>|typeid<116777215>|vlan<VLANID(14094)>]
ClearsVSIdatabaseassociations.
Commandmode:PrivilegedEXEC
virtevbvsidb<VSIDBnumber>
EnterVirtualStationInterfaceDatabaseconfigurationmode.
Commandmode:Globalconfiguration
filename<filename>
SetstheVirtualStationInterfaceTypedatabasedocumentname.
Commandmode:VSIDatabase
nofilename
DeletestheVirtualStationInterfaceTypedatabasedocumentname.
Commandmode:VSIDatabase
filepath<filepath>
SetstheVirtualStationInterfaceTypedatabasedocumentpath.
Commandmode:VSIDatabase
nofilepath
DeletestheVirtualStationInterfaceTypedatabasedocumentpath.
Commandmode:VSIDatabase
host<IPaddress>
SetstheVirtualStationInterfaceTypedatabasemanagerIPaddress
Commandmode:VSIDatabase
port<165534>
SetstheVirtualStationInterfaceTypedatabasemanagerport.
Commandmode:VSIDatabase

Copyright Lenovo 2015

Chapter 4: Configuration Commands

565

Table 342. EdgeVirtualBridgeVSITypeDatabaseConfigurationOptions(continued)


Command Syntax and Usage

protocol{http|https}
SetstheVirtualStationInterfaceTypedatabasetransportprotocol.
ThedefaultsettingisHTTP.
Commandmode:VSIDatabase
updateinterval<5300>
SetstheVirtualStationInterfaceTypedatabaseupdateintervalinseconds.
Commandmode:VSIDatabase
[no]updateinterval
DisablestheVirtualStationInterfaceTypedatabaseperiodicupdate.
Commandmode:VSIDatabase
novirtevbvsidb<VSIDBnumber>
ResetstheVirtualStationInterfaceTypedatabaseinformationtothedefault
values.
Commandmode:Globalconfiguration
showvirtevbvsitypes[mgrid<0255>|typeid<116777215>|
|version<0255>]
DisplaysthecurrentVirtualStationInterfaceTypedatabaseparameters.
Commandmode:All
showvirtevbvsidb<VSIDBnumber>
DisplaysthecurrentVirtualStationInterfacedatabaseinformation.
Commandmode:All

566

G8052 Command Reference for N/OS 8.3

Edge Virtual Bridge VSI Type Profile Configuration


ThefollowingtabledescribestheVirtualStationInterfaceTypeprofile
configurationoptions.
Table 343. EdgeVirtualBridgeVSITypeProfileConfigurationOptions
Command Syntax and Usage

virtevbprofile<profilenumber>
EnterVirtualStationInterfacetypeprofileconfigurationmode.
Commandmode:Globalconfiguration
[no]reflectiverelay
EnablesordisablesVEPAmode(ReflectiveRelaycapability).
Commandmode:EVBProfile
[no]vsidiscovery
EnablesordisablesVSIDiscovery(ECPandVDP).
Commandmode:EVBProfile
novirtevbprofile<profilenumber>
DeletesthespecifiedEVBprofile.
Commandmode:Globalconfiguration
evbprofile<116>
AppliesthespecifiedEVBprofilefortheport.AutomaticallyenablesLLDP
EVBTLVonthecorrespondingport.
Commandmode:Interfaceport
noevbprofile
ResetsEVBprofilefortheport.AutomaticallydisablesLLDPEVBTLVonthe
correspondingport.
Commandmode:Interfaceport
showvirtevbprofile[<116>]
DisplaysthecurrentEVBprofileparameters.
Commandmode:All
showvirtevbprofileports
DisplaysallEVBprofileparametersincludingports.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

567

OpenFlow Configuration
OpenFlowisanopeninterfaceusedtocontroltheforwardingplaneincompatible
switchesandroutersremotely,fromanexternalcontroller.TheRackSwitchG8052
canfunctionaseitheraHybridorOpenFlowonlyswitch:

InHybridmode(default),anOpenFlowpipelinecanbesetuptoruninparallel
tothenormalEthernetswitchingpipeline.Thetwopipelinesarecompletely
separate,eachwithitsowndedicatedportsandconfinedpacketflows.

InOpenFlowonlymode,thenormalEthernetswitchingcapabilitiesare
disabled,andtheRackSwitchG8052behavesasapureOpenFlowswitch.

ThefollowingtabledescribestheOpenFlowconfigurationoptions.
Table 344. OpenFlowConfigurationOptions
Command Syntax and Usage

bootopenflow{v1|v13}
SwitchesbetweenOpenFlowversion1.0andOpenFlowversion1.3onreboot.
Thedefaultsettingisv1.
Commandmode:Globalconfiguration
bootprofiledefault
StartstheswitchinHybridmodeonreboot.
Thisisthedefaultsetting.
Commandmode:Globalconfiguration
bootprofileopenflow
StartstheswitchinOpenFlowonlymodeonreboot.
Commandmode:Globalconfiguration
[no]openflowenable
EnablesordisablesOpenFlow.
Note:ThefollowingfeaturesarenotsupportedwhenOpenFlowisenabled:
ACL,VNICegress,VMreadyVMAP,FCOE,IPv6,IPMC,ECNandMACL.
Commandmode:Globalconfiguration
openflowfdbpriority<165535>
ConfiguresapriorityvaluetomapflowswithmatchingprioritytoFDB
entries,iftheflowusesdestinationMACaddressandVLANasthematching
qualifierandsingleportastheaction.
Thedefaultvalueis1000.
Note:Whenyouissuethiscommand,allregisteredflowentriesarecleared.
Commandmode:Globalconfiguration
noopenflowfdbpriority
ResetspriorityvaluerequiredforFDBflowstothedefaultvalueof1000.
Commandmode:Globalconfiguration

568

G8052 Command Reference for N/OS 8.3

Table 344. OpenFlowConfigurationOptions(continued)


Command Syntax and Usage

openflowfdbtimeout<1300>
Configuresatimeintervalinsecondsforperiodicallyclearingdynamically
learnedFDBentriesonedgeports.
Thedefaultvalueisdisabled.
Commandmode:Globalconfiguration
noopenflowfdbtimeout
DisablesperiodicalclearingofdynamicallylearnedFDBentriesonedgeports.
Commandmode:Globalconfiguration
[no]openflowmgmtport<portaliasornumber>
EnablesordisablesOpenFlowmanagementfortheselectedport.Use
OpenFlowmanagementportstocommunicatewithanOpenFlowController.
InHybridmode,controllerscanalsoconnecttotheswitchusinglegacyports.
Note:SupportedonlyinOpenFlowOnlymode.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
openflowinstance<12>
EntersOpenFlowInstancecommandmodeforthespecifiedinstanceID.
Commandmode:Globalconfiguration
noopenflowinstance<12>
Deletestheinstanceandclearsflowtableandstatisticsforthespecified
instanceID.
Commandmode:Globalconfiguration
[no]buffer
EnablesordisablesbufferingsupportforOpenFlowpackets.
Thedefaultsettingisdisabled.
Commandmode:OpenFlowInstance
connectretry<18>
Configuresthemaximumnumberofattemptstoestablishconnectiontoa
controller,beforeassumingthecontrollerisdown.
Thedefaultvalueis4.
Commandmode:OpenFlowInstance
noconnectretry
Resetstheconnectretryvalueto4.
Commandmode:OpenFlowInstance
controller<14>address<IPaddress>
ConfigurestheIPaddressoftheOpenFlowController.
Commandmode:OpenFlowInstance
Copyright Lenovo 2015

Chapter 4: Configuration Commands

569

Table 344. OpenFlowConfigurationOptions(continued)


Command Syntax and Usage
controller<14>port<TCPportnumber(165535)>

ConfigurestheTCPportusedforcommunicationwiththeController.
Thedefaultportis6633.
Commandmode:OpenFlowInstance
nocontroller<14>
DeletestheselectedcontrollerfromthespecifiedinstanceID.
Commandmode:OpenFlowInstance
dpid<hexstring>
Appliesan8byteDatapathIDtotheinstance,whichuniquelyidentifiesan
OpenFlowinstanceinanOpenFlowenvironment.
ThedefaultvalueistheinstanceIDfollowedbytheswitchMAC.
Note:TheDatapathIDmustbeuniqueamongtheswitchescontrolledbya
singleOpenFlowcontroller.
Commandmode:OpenFlowInstance
nodpid
ResetstheinstancesDatapathIDtothedefaultvalue(instanceIDfollowedby
theswitchMAC).
Commandmode:OpenFlowInstance
echoreplytimeout<265535>
Configuresthedurationinsecondstheswitchwillwaittoreceiveanecho
replyfromthecontroller,beforeassumingfailure.
Thedefaultvalueis15seconds.
Note:Theechoreplytimeoutvaluemustbelowerthanthe
echorequestintervalvalue.
Commandmode:OpenFlowInstance
noechoreplytimeout
Resetstheechoreplytimeouttothedefaultvalueof15seconds.
Commandmode:OpenFlowInstance
echorequestinterval<565535>
Configuresthemaximumdurationinsecondstheswitchwillkeepsending
echorequeststoanonresponsivecontroller.
Thedefaultvalueis30seconds.
Note:Theechorequestintervalvaluemustbehigherthanthe
echoreplytimeoutvalue.
Commandmode:OpenFlowInstance

570

G8052 Command Reference for N/OS 8.3

Table 344. OpenFlowConfigurationOptions(continued)


Command Syntax and Usage

noechorequestinterval
Resetstheechorequestintervaltothedefaultvalueof30seconds.
Commandmode:OpenFlowInstance
[no]edgeport<portaliasornumber>
EnablesordisablestheselectedportasanOpenFlowedgeport(outsideport).
Edgeportsareusuallyconnectedtoservers.
Thedefaultsettingisdisabled.
Note:LearningandfloodblockingareturnedoninOpenFlowedgeports.
Commandmode:OpenFlowInstance
[no]edgeportportchannel<1104>
EnablesordisablestheselectedportchannelasanOpenFlowedgeportchannel
(outsideportchannel).Edgeportchannelsareusuallyconnectedtoservers.
Thedefaultsettingisdisabled.
Note:LearningandfloodblockingareturnedoninOpenFlowedge
portchannels.
Note:SupportedonlyinOpenFlow1.3.
Commandmode:OpenFlowInstance
emergency[timeout<03600>]
Forcestheinstanceinemergencymode.
Thetimeoutparameterconfiguresthedurationinsecondsafterwhichthe
emergencymodeexpires.
Thedefaultvalueis30seconds.
Note:SupportedonlyinOpenFlow1.0.
Commandmode:OpenFlowInstance
noemergency[timeout]
Bringstheinstanceoutofemergencymode.
Thetimeoutparameterresetstheemergencymodedurationtothedefault
valueof30seconds.
Note:SupportedonlyinOpenFlow1.0.
Commandmode:OpenFlowInstance
[no]enable
Enablesordisablestheinstance.
Note:Whendisablinganinstance,itsflowtablesandstatisticsarecleared.
Commandmode:OpenFlowInstance

Copyright Lenovo 2015

Chapter 4: Configuration Commands

571

Table 344. OpenFlowConfigurationOptions(continued)


Command Syntax and Usage

maxflowacl<01500>
maxflowacl<02000>
EnablesordisablesthemaximumflowACLoption,whichensuresadedicated
maximumnumberofACLflowsareavailablefortheinstance.Themaximum
numberofentriesis1500inHybridmodeand2000inOpenFlowOnlymode.
Thetotalnumberof1500/2000entriesissharedbetweeninstances.
Bydefault,maxflowaclissetto0,allowinginstancestodynamically
accesstheavailableACLflowslotsuntildepletion.
Note:SettingmaxflowaclmanuallylimitsthenumberofACLflowslots
availableforotherinstancesbythecorrespondingvalue.
Commandmode:OpenFlowInstance
nomaxflowacl
SetstheinstancesmaximumnumberofACLbasedflowstothedefaultvalue
of0(dynamicallocation).
Commandmode:OpenFlowInstance
maxflowmcastfdb<01024>
EnablesordisablesthemaximumflowmulticastFDBoption,whichensuresa
dedicatedmaximumnumberofFDBmulticastflowsareavailableforthe
instance.Thetotalnumberofentriesissharedbetweeninstances.
Bydefault,maxflowmcastfdbissetto0,allowinginstancesto
dynamicallyaccesstheavailableFDBmulticastflowslotsuntildepletion.
Note:SettingmaxflowmcastfdbmanuallylimitsthenumberofFDB
multicastflowslotsavailableforotherinstancesbythecorrespondingvalue.
Commandmode:OpenFlowInstance
nomaxflowmcastfdb
SetstheinstancesmaximumnumberofFDBbasedmulticastflowstothe
defaultvalueof0(dynamicallocation).
Commandmode:OpenFlowInstance
maxflowucastfdb<030976>
EnablesordisablesthemaximumflowunicastFDBoption,whichensuresa
dedicatedmaximumnumberofFDBunicastflowsavailablefortheinstance.
Thetotalnumberofentriesissharedbetweeninstances.
Bydefault,maxflowucastfdbissetto0,allowinginstancesto
dynamicallyaccesstheavailableFDBunicastflowslotsuntildepletion.
Note:SettingmaxflowucastfdbmanuallylimitsthenumberofFDB
unicastflowslotsavailableforotherinstancesbythecorrespondingvalue.
Commandmode:OpenFlowInstance

572

G8052 Command Reference for N/OS 8.3

Table 344. OpenFlowConfigurationOptions(continued)


Command Syntax and Usage

nomaxflowucastfdb
SetstheinstancesmaximumnumberofFDBbasedunicastflowstothedefault
valueof0(dynamicallocation).
Commandmode:OpenFlowInstance
[no]member<portaliasornumber>
EnablesordisablesportusagebytheOpenFlowinstancefordatatraffic.
Commandmode:OpenFlowInstance
[no]memberportchannel<1104>
EnablesordisablesstaticportchannelorLACPusagebytheOpenFlow
instancefordatatraffic.
Note:StaticportchannelsandLACPsaresupportedonlyinOpenFlow1.3.
Commandmode:OpenFlowInstance
minflowtimeout<1300>
Setstheminimumnumberofsecondsafterwhichaflowcanbeclearedfrom
theinstancestables.
Thedefaultvalueis0,meaningcontrollerprovidedvaluesareusedinstead.
Commandmode:OpenFlowInstance
nominflowtimeout
Setsthenumberofsecondsafterwhichaflowcanbeclearedfromthe
instancestablestothedefaultvalueof0(controllerprovidedvalues).
Commandmode:OpenFlowInstance
mirrortocontrollercookie<0x00xffffffffffffffff>
Setstheflowcookieforpacketssenttocontrollerasaresultofa
mirrortocontrollersetting(flowissettooutputthepackettoacontrollerin
additiontoanotherdestination).
Thedefaultvalueis0xffffffffffffffff.
Note:SupportedonlyinOpenFlow1.3.
Commandmode:OpenFlowInstance
nomirrortocontrollercookie
Resetsthemirrortocontrollerflowcookietothedefaultvalueof
0xffffffffffffffff.
Note:SupportedonlyinOpenFlow1.3.
Commandmode:OpenFlowInstance

Copyright Lenovo 2015

Chapter 4: Configuration Commands

573

Table 344. OpenFlowConfigurationOptions(continued)


Command Syntax and Usage

sendtocontrollercookie<0x00xffffffffffffffff>
Setstheflowcookieforpacketssenttocontrollerasaresultofa
sendtocontrollersetting(flowissettooutputthepacketonlytoacontroller).
Thedefaultvalueis0xffffffffffffffff.
Note:SupportedonlyinOpenFlow1.3.
Commandmode:OpenFlowInstance
nosendtocontrollercookie
Resetsthesendtocontrollerflowcookietothedefaultvalueof
0xffffffffffffffff.
Note:SupportedonlyinOpenFlow1.3.
Commandmode:OpenFlowInstance
statictable
Configuresstaticflows.Forcommandoptions,seepage 577.
Commandmode:OpenFlowInstance
tablemisscookie<0x00xffffffffffffffff>
Setstheflowcookieforpacketssenttocontrollerasaresultofatablemiss
setting(sendinputpacketsthatdontmatchanyflowentriestocontroller).
Thedefaultvalueis0xffffffffffffffff.
Note:SupportedonlyinOpenFlow1.3.
Commandmode:OpenFlowInstance
notablemisscookie
Resetsthetablemissflowcookietothedefaultvalueof
0xffffffffffffffff.
Note:SupportedonlyinOpenFlow1.3.
Commandmode:OpenFlowInstance
[no]tablemisscontroller
Setsordisablesthetablemissflowentrytosendpacketsunmatchedby
anyflowentriestothecontroller.
Thedefaultvalueisdisabled,meaningpacketsunmatchedbyflowentries
aredropped.
Note:SupportedonlyinOpenFlow1.3.
Commandmode:OpenFlowInstance
[no]openflowfdbaging
EnablesordisablesperiodicalclearingofdynamicallylearnedFDBentrieson
aspecificport.
ThedefaultvalueisdisabledonOpenFlowedgeports.
Commandmode:Interfaceport

574

G8052 Command Reference for N/OS 8.3

Table 344. OpenFlowConfigurationOptions(continued)


Command Syntax and Usage

[no]openflowstaticstationmove
EnablesordisablesforwardingframesthathavesourceMACaddresses
conflictingwithentriesinthestaticFDBtable.Thisenablesequalcost
multipathroutingandusecaseswhereIPSandFirewalldevicesforward
packetswithoutchangingthesourceMACaddress.
Thedefaultvalueisdisabled.
Commandmode:Interfaceport
clearopenflow{group|table[basic|emergency|dynamic|
|static]}
ClearsOpenFlowdataforallinstances:

ThegroupoptionclearstheOpenFlow1.3grouptable.

ThetableoptionclearsallbasicandemergencyOpenFlowtablesin
OpenFlow1.0.InOpenFlow1.3,clearsthedynamicandstaticflowtables.
ThebasicoptionclearsonlythebasicOpenFlowtables.
TheemergencyoptionclearsonlytheemergencyOpenFlowtables.
ThedynamicoptionclearsonlythedynamicOpenFlowtables.
ThestaticoptionclearsonlythestaticOpenFlowtables.

Commandmode:PrivilegedEXEC
clearopenflowinstance<12>{group|table
[basic|emergency|dynamic|static]}
ClearsOpenFlowdataforthespecifiedinstanceID:

ThegroupoptionclearstheOpenFlow1.3grouptable.

ThetableoptionclearsallbasicandemergencyOpenFlowtablesin
OpenFlow1.0.InOpenFlow1.3,clearsthedynamicandstaticflowtables.
ThebasicoptionclearsonlythebasicOpenFlowtable.
TheemergencyoptionclearsonlytheemergencyOpenFlowtable.
ThedynamicoptionclearsonlytheemergencyOpenFlowtables.
ThestaticoptionclearsonlythestaticOpenFlowtables.

Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 4: Configuration Commands

575

Table 344. OpenFlowConfigurationOptions(continued)


Command Syntax and Usage

showopenflow[flowallocation|group|information|table]
DisplaysthecurrentOpenFlowconfiguration.Formoreinformation,see
page 147.

flowallocationdisplaystheconfigured,currentandmaximum
numberofflowsforallOpenFlowinstances.Formoreinformation,see
page 149.

groupdisplaysgroupinformationforallOpenFlow1.3instances.Formore
information,seepage 151.

informationdisplaystheconfigurationforallOpenFlowinstances.For
moreinformation,seepage 152.

tabledisplaysthebasicandemergencyflowtablesforallOpenFlow
instancesinOpenFlow1.0.InOpenFlow1.3,displaysthedynamicand
staticflowtables.Formoreinformation,seepage 154

Commandmode:All
showopenflowinstance<12>[group|information|table]
DisplaysOpenFlowinformationforthespecifiedinstanceID:

groupdisplaysgroupinformationperinstance.

informationdisplaystheinstanceconfiguration.

tabledisplaysthebasicandemergencyflowtablesperinstancein
OpenFlow1.0.InOpenFlow1.3,displaysthedynamicandstaticflowtables
perinstance.

Commandmode:All

576

G8052 Command Reference for N/OS 8.3

Static Flows Configuration


StaticflowsareACLOpenFlowentriessetupmanuallyfromtheCLIbythe
administrator.Staticflowscannotbedeleted/modifiedbyOpenFlowcontrollers
andwillcontinuetofunctionwhentheswitchgoesintoemergencymode.Evenif
theyqualifyasFDBentriesbasedontheirsettings,staticflowsarealwaysstoredas
ACLentries.Atotalofmaximum1000staticflowspoolissharedbetweenall
OpenFlowinstances.
Thefollowingtabledescribesthestaticflowconfigurationoptions:
Table 345. StaticFlowsConfigurationOptions
Command Syntax and Usage

statictableaddindex<11000>match<matchingqualifier>
actions<matchingqualifier>[options<matchingqualifier>]
priority<065535>
Addsastaticflowentrytotheinstance.
Commandmode:OpenFlowInstance
statictablemodifyindex<11000>match<matchingqualifier>
actions<matchingqualifier>[options<matchingqualifier>]
priority<065535>
Overwritesastaticflowentry.
Commandmode:OpenFlowInstance
statictableremoveindex<11000>
Deletesastaticflowentry.
Commandmode:OpenFlowInstance
clearopenflowtablestatic
Deletesallstaticflowentries.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 4: Configuration Commands

577

Thefollowingtabledescribestheavailablematchingqualifiers:
Table 346. StaticFlowMatchingQualifiersinOpenFlow1.0
Qualifier

Value

ingressport

Portofinstance

srcmac

SourceMACaddress

dstmac

DestinationMACaddress

vlanid

VLANidentifier(04095+65535(untagged))

vlanpriority

802.1pPriorityCodePoint(07)

srcip

SourceIPaddress

dstip

DestinationIPaddress

srcport

L4sourceport(065536)

dstport

L4destinationport(065535)

ethertype

arp/0806orip/0800or(hexvalue<=65535)

protocol

tcporudpor0255

tos

IPTypeofService(0255)

type

requestorreply(canbesetonlyifethertypeis
ARP)

all

Applicabletoalltraffic

OpenFlow1.3:

578

Qualifier

Value

inport

switchinputport

inportchannel

switchinputportchannel

inphyport

switchphysicalinputport,validonlywheninportis
specified

ethsrc

sourceMACaddressandmask

ethdst

destinationMACaddressandmask

vlanvid

VLANidentifier(04095+65535(untagged))

vlanpcp

802.1p(07)

ipv4src

sourceIPv4addressandmask

ipv4dst

destinationIPv4addressandmask

tcpsrc

TCPsourceport(065535)

tcpdst

TCPdestinationport(065535)

G8052 Command Reference for N/OS 8.3

OpenFlow1.3:
Qualifier

Value

udpsrc

UDPsourceport(065535)

udpdst

UDPdestinationport(065535)

icmpv4type

ICMPv4type

icmpv4code

ICMPv4code

ethtype

arp/0806orip/0800or(hexvalue<=65535)

ipproto

tcporudpor0255

ipdscp

IPDSCP(6bitsinToSfield)

arpop

requestorreply(canbesetonlyifethtypeisARP)

all

allqualifiersoranyqualifier

Thefollowingtabledescribestheavailableactions:
Table 347. StaticFlowActionsinOpenFlow1.0
Action

Value

output

all,inport,controlleroravalidport

setsrcmac

ChangesourceMACaddress

setdstmac

ChangedestinationMACaddress

stripvlanid

RemoveVLANidentifier

setvlanpriority

Set802.1pprioritycodepointvalue(07)

setnwtos

SetIPTypeofService(0255)

drop

Droppacket

maxlen

Maximumlengthtosendtocontroller

Table 348. StaticFlowActionsinOpenFlow1.3

Copyright Lenovo 2015

Action

Value

output

all,inport,controlleroravalidport

outputportchannel

outputonavalidportchannel(statictrunkgroupor
staticLACPtrunkgroup)

setethsrc

changesourceMACaddress

setethdst

changedestinationMACaddress

pushvlan

pushanewVLANtag

popvlan

poptheouterVLANtag

setvlanvid

setVLANID
Chapter 4: Configuration Commands

579

Table 348. StaticFlowActionsinOpenFlow1.3(continued)

580

Action

Value

setvlanpcp

set802.1ppriority(07)

setipdscp

setIPDifferentiatedServicesCodePoint(063)

drop

dropthepacket

G8052 Command Reference for N/OS 8.3

Microburst Detection
Microburstsareshortpeaksindatatrafficthatmanifestasasuddenincreaseinthe
numberofdatapacketstransmittedoveraspecificmillisecondleveltimeframe,
potentiallyoverwhelmingnetworkbuffers.Microburstdetectionallowsusersto
analyzeandmitigatemicroburstrelatedincidents,thuspreventingnetwork
congestion.
Table 349. MicroburstDetectionConfigurationOptions
Command Syntax and Usage

[no]microburstenable
Enablesordisablesmicroburstdetection.
Thedefaultsettingisdisabled.
Commandmode:Globalconfiguration
microburstinterval<210000>
Configuresmicroburstdetectionintervalgranularityinmilliseconds.
Thedefaultsettingis5miliseconds.
Commandmode:Globalconfiguration
microburstportthreshold<portaliasornumber><132767>
Configuresthenumberofmemorycellsaportisallowedtoaccessfromthe
sharedservicepool.Thereisnodedicatednumberofmemorycellsforaport.
Ifthisthresholdisreached,itmeanstheportiscongestedandneedstoaccess
additionalmemoryfromthesharedservicepool.
Thedefaultvalueis32767.
Commandmode:Globalconfiguration
showmicroburstmicroburststatus
Displaysmicroburststateand,ifapplicable,burstingtimeforeachport.
Commandmode:All
showmicroburstpktstats
Displaysmemorycellusageforegressunicastandmulticastpackets,broken
downbyportandQoSqueue.
Commandmode:All
showmicroburstportlog
Displaysmemorycellallocationandusageforingresspacketsoneachport.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

581

Service Location Protocol Configuration


ServiceLocationProtocol(SLP)enablesnetworkeddevicestorequest/announce
servicesoveralocalareanetworkwithoutpriorconfiguration.InanSLP
environment,devicesmayhavethefollowingroles:

UserAgents(UA)aredevicesrequestingservices.

ServiceAgents(SA)aredevicesprovidingservices.

DirectoryAgents(DA)aredevicescachingservicesprovidedbySAs.When
presentinanSLAsetup,DAsmediateallcommunicationbetweenUAsand
SAs.

WhenSLPisenabled,theRackSwitchG8052behavesasaServiceAgentproviding
systemsmanagementservices.
Table 350. ServiceLocationProtocolOptions
Command Syntax and Usage

[no]ipslpactivedadiscoveryenable
Enablesordisablesactivedirectoryagentdiscovery.
Thedefaultvalueisdisabled.
Note:Instacking,thiscommandisavailableonlyontheMasterswitch.
Commandmode:Globalconfiguration
ipslpactivedadiscoverystartwaittime<110>
NumberofsecondstowaitafterenablingSLPbeforeattemptingactiveDA
discovery,ifactiveDAdiscoveryisenabled.
Thedefaultvalueis3seconds.
Note:Instacking,thiscommandisavailableonlyontheMasterswitch.
Commandmode:Globalconfiguration
[no]ipslpenable
EnablesordisablesSLP.
Thedefaultvalueisdisabled.
Note:Instacking,thiscommandisavailableonlyontheMasterswitch.
Commandmode:Globalconfiguration
clearipslpdirectoryagents
Clearsdirectoryagentsdiscovered.
Note:Instacking,thiscommandisavailableonlyontheMasterswitch.
Commandmode:PrivilegedEXEC
showipslpdirectoryagents[ipaddress]
DisplaysDAinformation.
Commandmode:All

582

G8052 Command Reference for N/OS 8.3

Table 350. ServiceLocationProtocolOptions(continued)


Command Syntax and Usage

showipslpinformation
DisplaysSLPinformation.
Commandmode:All
showipslpuseragents[ipaddress]
DisplaysUAinformation.
Commandmode:All

Copyright Lenovo 2015

Chapter 4: Configuration Commands

583

Configuration Dump
Thedumpprogramwritesthecurrentswitchconfigurationtotheterminalscreen.
Tostartthedumpprogram,attheprompt,enter:
RS G8052# showrunningconfig

Theconfigurationisdisplayedwithparametersthathavebeenchangedfromthe
defaultvalues.Thescreendisplaycanbecaptured,edited,andplacedinascript
file,whichcanbeusedtoconfigureotherswitchesthroughaTelnetconnection.
WhenusingTelnettoconfigureanewswitch,pastetheconfigurationcommands
fromthescriptfileatthecommandlinepromptoftheswitch.Theactive
configurationcanalsobesavedorloadedviaSFTP/FTP/TFTP,asdescribedon
page 585.

584

G8052 Command Reference for N/OS 8.3

Saving the Active Switch Configuration


Whenthecopyrunningconfigcommandisused,theswitchsactive
configurationcommands(asdisplayedusingshowrunningconfig)willbe
uploadedtothespecifiedscriptconfigurationfileontheFTP/TFTP/SFTPserver.To
starttheswitchconfigurationupload,attheprompt,enter:
RS G8052# copyrunningconfigftp

or:
RS G8052# copyrunningconfigsftp

or:
RS G8052# copyrunningconfigtftp

Theswitchpromptsyoufortheserveraddressandfilename.
Note: Theoutputfileisformattedwithlinebreaksbutnocarriagereturnsthe
filecannotbeviewedwitheditorsthatrequirecarriagereturns(suchasMicrosoft
Notepad).
Note: IftheFTP/TFTP/SFTPserverisrunningSunOSortheSolarisoperating
system,thespecifiedconfigurationfilemustexistpriortoexecutingthecopy
runningconfigcommandandmustbewritable(setwithproperpermission,
andnotlockedbyanyapplication).Thecontentsofthespecifiedfilewillbe
replacedwiththecurrentconfigurationdata.

Copyright Lenovo 2015

Chapter 4: Configuration Commands

585

Restoring the Active Switch Configuration


Whenthecopyrunningconfigcommandisused,theactiveconfiguration
willbereplacedwiththecommandsfoundinthespecifiedconfigurationfile.The
filecancontainafullswitchconfigurationorapartialswitchconfiguration.
Tostarttheswitchconfigurationdownload,attheprompt,enter:
RS G8052# copyftprunningconfig

or:
RS G8052# copysftprunningconfig

or:
RS G8052# copytftprunningconfig

Theswitchpromptsyoufortheserveraddressandfilename.

586

G8052 Command Reference for N/OS 8.3

USB Copy
IfaUSBdriveisinsertedintotheUSBport,youcancopyfilesfromtheswitchto
theUSBdrive,orfromtheUSBdrivetotheswitch.Youalsocanboottheswitch
usingsoftwareorconfigurationfilesfoundontheUSBdrive(seeUSBBoot
Configurationonpage 604).

Copy to USB
UsethefollowingcommandtocopyafilefromtheswitchtotheUSBdrive:
usbcopytousb<filename>{active|boot|crashdump|image1|image2|
|syslog}
Commandmode:PrivilegedEXEC
Note: Notavailableinstacking.
Inthisexample,theactiveconfigurationfileiscopiedtoadirectoryontheUSB
drive:
RS G8052# usbcopytousba_folder/myconfig.cfgactive

Copy from USB


UsethefollowingcommandtocopyafilefromtheUSBdrivetotheswitch:
usbcopyfromusb<filename>{active|boot|image1|image2}
Commandmode:PrivilegedEXEC
Note: Notavailableinstacking.
Inthisexample,theactiveconfigurationfileiscopiedfromadirectoryontheUSB
drive:
RS G8052# usbcopyfromusba_folder/myconfig.cfgactive

Thenewfilereplacesthecurrentfile.
Note: Donotusetwoconsecutivedotcharacters(..).Donotuseaslashcharacter
(/)tobeginafilename.

Copyright Lenovo 2015

Chapter 4: Configuration Commands

587

588

G8052 Command Reference for N/OS 8.3

Chapter 5. Operations Commands


Operationscommandsgenerallyaffectswitchperformanceimmediately,butdo
notalterpermanentswitchconfigurations.Forexample,youcanuseOperations
commandstoimmediatelydisableaport(withouttheneedtoapplyorsavethe
change),withtheunderstandingthatwhentheswitchisrebooted,theportreturns
toitsnormallyconfiguredoperation.
Thesecommandsenableyoutoalterswitchoperationalcharacteristicswithout
affectingswitchconfiguration.
Table 351. GeneralOperationsCommands
Command Syntax and Usage

accesstnetsshc
ClosesallopenTelnetandSSHconnections.
CommandMode:Globalconfiguration
consolelog
Enablesordisablessessionconsolelogging.
CommandMode:PrivilegedEXEC
ntpsend
AllowstheusertosendrequeststotheNTPserver.
CommandMode:PrivilegedEXEC
password<1128characters>
Allowstheusertochangethepassword.Youmustenterthecurrentpassword
inuseforvalidation.Theswitchpromptsforanewpasswordbetween1128
characters.
CommandMode:PrivilegedEXEC
clearlogging
ClearsallSyslogmessages.
CommandMode:PrivilegedEXEC
clearopenflowtable[basic|dynamic|emergency|static]
ClearsOpenFlowtables.

ThebasicoptionclearsonlythebasicOpenFlowtable.

ThedynamicoptionclearsonlythedynamicOpenFlowtable.

TheemergencyoptionclearsonlytheemergencyOpenFlowtable.

ThestaticoptionclearsonlythestaticOpenflowtable.

CommandMode:PrivilegedEXEC

Copyright Lenovo 2015

589

Operations-Level Port Commands


Operationslevelportoptionsareusedfortemporarilydisablingorenablinga
port,andforresettingtheport.
Table 352. PortOperations
Command Syntax and Usage

interfaceport<portaliasornumber>dot1xinit
Reinitializes802.1xaccesscontrolontheport.
CommandMode:PrivilegedEXEC
interfaceport<portaliasornumber>dot1xreauthenticate
Immediatelystartsreauthenticationontheport.
CommandMode:PrivilegedEXEC
[no]interfaceport<portaliasornumber>rmon
Temporarilyenablesordisablesremotemonitoringoftheport.Theportwill
bereturnedtoitsconfiguredoperationmodewhentheswitchisrebooted.
CommandMode:PrivilegedEXEC
interfaceport<portaliasornumber>shutdown
Temporarilydisablestheport.Theportwillbereturnedtoitsconfigured
operationmodewhentheswitchisrebooted.
CommandMode:PrivilegedEXEC
nointerfaceport<portaliasornumber>shutdown
Temporarilyenablestheport.Theportwillbereturnedtoitsconfigured
operationmodewhentheswitchisrebooted.
CommandMode:PrivilegedEXEC
showinterfaceport<portaliasornumber>operation
Displaystheportinterfaceoperationalstate.
CommandMode:All

590

G8052 Command Reference for N/OS 8.3

Operations-Level VRRP Commands


VRRPoperationcommandsarelistedinthefollowingtable.
Table 353. VirtualRouterRedundancyOperations
Command Syntax and Usage

routervrrpbackupgroup
Forcesthespecifiedmastervirtualrouteronthisswitchintobackupmode.
Thisisgenerallyusedforpassingmastercontrolbacktoapreferredswitch
oncethepreferredswitchhasbeenreturnedtoserviceafterafailure.When
thiscommandisexecuted,thecurrentmastergivesupcontrolandinitiatesa
newelectionbytemporarilyadvertisingitsownprioritylevelas0(lowest).
Afterthenewelection,thevirtualrouterforcedintobackupmodebythis
commandwillresumemastercontrolinthefollowingcases:

Thisswitchownsthevirtualrouter(theIPaddressesofthevirtualrouter
anditsIPinterfacearethesame).

Thisswitchsvirtualrouterhasahigherpriorityandpreemptionisenabled.

Therearenoothervirtualroutersavailabletotakemastercontrol.

CommandMode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 5: Operations Commands

591

VMware Operations
UsethesecommandstoperformminoradjustmentstotheVMwareoperation.Use
thesecommandstoperformVirtualSwitchoperationsdirectlyfromtheswitch.
NotethatthesecommandsrequiretheconfigurationofVirtualCenteraccess
information(virtvmwarevcspec).
Table 354. VMwareOperations
Command Syntax and Usage

virtvmwareexport<VMprofilename><VMwarehostID>
<VirtualSwitchname>
ExportsaVMProfiletoaVMwarehost.
Useoneofthefollowingidentifierstospecifyeachhost:

UUID

IPaddress

Hostname

YoumayenteraVirtualSwitchname,orenteranewnametocreateanew
VirtualSwitch.
CommandMode:All
virtvmwarepg<PortGroupname><hostID><VSwitchname>
<VLANID(14094)><shapingenabled>[<averageKbps><burstKB>
<peakKbps>]
AddsaPortGrouptoaVMwarehost.Youarepromptedforthefollowing
information:

PortGroupname

VMwarehostID(UsehostUUID,hostIPaddress,orhostname.)

VirtualSwitchname

VLANIDofthePortGroup

Whethertoenablethetrafficshapingprofile(1or0).Ifyouchoose1(yes),
youarepromptedtoenterthetrafficshapingparameters.

CommandMode:All
novirtvmwarepg<PortGroupname><hostID>
RemovesaPortGroupfromaVMwarehost.Useoneofthefollowing
identifierstospecifythehost:

UUID

IPaddress

Hostname

CommandMode:All
virtvmwarescan
PerformsascanoftheVMAgent,andupdatesVMinformation.
CommandMode:All

592

G8052 Command Reference for N/OS 8.3

Table 354. VMwareOperations(continued)


Command Syntax and Usage

virtvmwareupdpg<PortGroupname><hostID><VLANID(14094)>
[<shapingenabled><average(11000000000)><burst(11000000000)>
<peak(11000000000)>]
UpdatesaVMwarehostsPortGroupparameters.Useoneofthefollowing
identifiersforthehostID:

UUID

IPaddress

Hostname

Enterthetrafficshapingparametersasfollows:

Shapingenabled

Averagetraffic,inkilobitspersecond

Maximumburstsize,inkilobytes

Peaktraffic,inkilobitspersecond

Deletetrafficshapingparameters.
CommandMode:All
virtvmwarevmacpg<VMNICMACaddress><PortGroupname>
ChangesaVMNICsconfiguredPortGroup.
CommandMode:All
[no]virtvmwarevsw<hostID><VirtualSwitchname>
AddsorremovesaVirtualSwitchtoaVMwarehost.Useoneofthefollowing
identifierstospecifythehost:

UUID

IPaddress

Hostname

CommandMode:All

Copyright Lenovo 2015

Chapter 5: Operations Commands

593

VMware Distributed Virtual Switch Operations


UsethesecommandstoadministeraVMwareDistributedVirtualSwitch
(dvSwitch).
Table 355. VMwaredvSwitchOperations(/oper/virt/vmware/dvswitch)
Command Syntax and Usage

virtvmwaredvswitchadd<datacentername><dvSwitchname>
[<dvSwitchversion>]
AddsthespecifieddvSwitchtothespecifiedDataCenter.
CommandMode:All
virtvmwaredvswitchaddhost<dvSwitchname>{<hostUUID|
|hostIPaddress|hostname>}
AddsthespecifiedhosttothespecifieddvSwitch.Useoneofthefollowing
identifierstospecifythehost:

UUID

IPaddress

Hostname

CommandMode:All
virtvmwaredvswitchadduplink<dvSwitchname>{<hostUUID|
|hostIPaddress|hostname>}<uplinkname>
AddsthespecifiedphysicalNICtothespecifieddvSwitchuplinkports.
CommandMode:All
virtvmwaredvswitchdel<datacentername><dvSwitchname>
RemovesthespecifieddvSwitchfromthespecifiedDataCenter.
CommandMode:All
virtvmwaredvswitchremhost<dvSwitchname>{<hostUUID|
|hostIPaddress|hostname>}
RemovesthespecifiedhostfromthespecifieddvSwitch.Useoneofthe
followingidentifierstospecifythehost:

UUID

IPaddress

Hostname

CommandMode:All
virtvmwaredvswitchremuplink<dvSwitchname>{<hostUUID|
|hostIPaddress|hostname>}<uplinkname>
RemovesthespecifiedphysicalNICfromthespecifieddvSwitchuplinkports.
CommandMode:All

594

G8052 Command Reference for N/OS 8.3

VMware Distributed Port Group Operations


UsethesecommandstoadministeraVMwaredistributedportgroup.
Table 356. VMwareDistributedPortGroupOperations(/oper/virt/vmware/dpg)
Command Syntax and Usage

virtvmwaredpgadd<portgroupname><dvSwitchname>
<VLANID(14094)>[ishaping<bandwidth><burstsize><peakbandwidth>]
[eshaping<bandwidth><burstsize><peakbandwidth>]
AddsthespecifiedportgrouptothespecifieddvSwitch.Youmayenterthe
followingparameters:

ishaping:Enablesingressshaping.Supplythefollowinginformation:
averagebandwidthinkilobitspersecond
burstsizeinkilobits
peakbandwidthinkilobitspersecond

eshaping:Enablesengressshaping.Supplythefollowinginformation:
averagebandwidthinkilobitspersecond
burstsizeinkilobits
peakbandwidthinkilobitspersecond

CommandMode:All
virtvmwaredpgdel<portgroupname><dvSwitchname>
RemovesthespecifiedportgroupfromthespecifieddvSwitch.
CommandMode:All
virtvmwaredpgupdate<portgroupname><dvSwitchname>
<VLANID(14094)>[ishaping<bandwidth><burstsize><peakbandwidth>]
[eshaping<bandwidth><burstsize><peakbandwidth>]
UpdatesthespecifiedportgrouponthespecifieddvSwitch.Youmayenterthe
followingparameters:

ishaping:Enablesingressshaping.Supplythefollowinginformation:
averagebandwidthinkilobitspersecond
burstsizeinkilobytes
peakbandwidthinkilobitspersecond

eshaping:Enablesegressshaping.Supplythefollowinginformation:
averagebandwidthinkilobitspersecond
burstsizeinkilobytes
peakbandwidthinkilobitspersecond

CommandMode:All
virtvmwaredpgvmac<VNICMAC><portgroupname>
AddsthespecifiedVMNICtothespecifiedportgroup.
CommandMode:All

Copyright Lenovo 2015

Chapter 5: Operations Commands

595

Edge Virtual Bridge Operations


EdgeVirtualBridgeoperationscommandsarelistedinthefollowingtable:
Table 357. EdgeVirtualBridgeOperationsCommands
Command Syntax and Usage

virtevbupdatevsidb<VSIDBnumber>
UpdateVSItypesfromtheVSIdatabase.
Commandmode:All
clearvirtevbvsi[macaddress|port<portaliasornumber>|
|typeid<116777215>|vlan<14094>]
ClearsVSIdatabaseassociations.
Commandmode:PrivilegedEXEC
clearvirtevbvsidb[mgrid<0255>|typeid<116777215>|
|version<0255>]
ClearslocalVSItypescache.
Commandmode:PrivilegedEXEC

596

G8052 Command Reference for N/OS 8.3

Chapter 6. Boot Options


TousetheBootOptionscommands,youmustbeloggedintotheswitchasthe
administrator.TheBootOptionscommandsprovideoptionsfor:

Selectingaswitchsoftwareimagetobeusedwhentheswitchonthenextreboot

Selectingaconfigurationblocktobeusedwhentheswitchonthenextreboot

Downloadingoruploadinganewsoftwareimagetotheswitchvia
SFTP/FTP/TFTP

InadditiontotheBootcommands,youcanuseaWebbrowserorSNMPtowork
withswitchimageandconfigurationfiles.TouseSNMP,refertoWorkingwith
SwitchImagesandConfigurationFiles.
Thebootoptionsarediscussedinthefollowingsections.

Copyright Lenovo 2015

597

Stacking Boot Options


TheStackingBootoptionsareusedtodefinetheroleoftheswitchinastack:either
astheMasterthatcontrolsthestackorasaparticipatingMemberswitch.Options
areavailableforloadingstacksoftwaretoindividualMemberswitchesandto
configuretheVLANthatisreservedforinterswitchstackingcommunications.
ToenableStackingontheG8052youmustloadastackingsoftwareimage.Select
thestackingimagebyusingthebootimagecommand(fordetails,seepage 607)
andreboottheswitch.WhentheswitchentersStackingmode,theStacking
configurationmenuappears.Formoreinformation,seeStackingSwitch
Configurationonpage 353.
ThefollowingtableliststheBootStackingcommandoptions.
Table 358. BootStackingOptions
Command Syntax and Usage

bootstackhigigtrunk<portaliasornumber>
Configurestheportsusedtoconnecttheswitchtothestack.Enteronly10Gb
externalports.
Commandmode:Globalconfiguration
bootstackmode{master|member}[master|backup|
|<attachedswitchnumber(116)>|all]
ConfigurestheStackingmodefortheselectedswitch.
Note:Theoptionalcommandelementsareavailableonlyonthemaster
switch.
Commandmode:Globalconfiguration
bootstackpushimage{image1|image2|bootimage}
<attachedswitchnumber(116)>
Pushestheselectedsoftwarefilefromthemastertotheselectedswitch.
Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:Globalconfiguration
bootstackvlan<VLANID(24094)>
ConfigurestheVLANusedforStackingcontrolcommunication.
Commandmode:Globalconfiguration
defaultbootstack[master|backup|<attachedswitchnumber(116)>|
|all]
ResetstheStackingbootparameterstotheirdefaultvalues.
Note:Theoptionalcommandelementsareavailableonlyonthemaster
switch.
Commandmode:Globalconfiguration

598

G8052 Command Reference for N/OS 8.3

Table 358. BootStackingOptions(continued)


Command Syntax and Usage

copy{ftp|sftp}{image1|image2}staggeredupgrade
[delay<220>]
Loadsthespecifiedstackingsoftwareimagetoallmemberswitchesusing
FTP/SFTPandthenrebootsthewholestack.Thestackisrebootedoneswitch
atatime,startingwiththebackupswitch,followedbythemasterswitchand
thentheothermembersofthestack.Thedelayoptionsconfiguresthetime,in
minutes,betweeneachswitchreboot.
Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:PrivilegedEXEC
copytftp{image1|image2}address<hostnameorserverIPaddress>
filename<serverfilename>staggeredupgrade[delay<220>]
Loadsthespecifiedstackingsoftwareimagetoallmemberswitchesusing
TFTPandthenrebootsthewholestack.Thestackisrebootedoneswitchata
time,startingwiththebackupswitch,followedbythemasterswitchandthen
theothermembersofthestack.Thedelayoptionsconfiguresthetime,in
minutes,betweeneachswitchreboot.
Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:PrivilegedEXEC
reload[master|switch<configuredswitchnumber(18)>]
Rebootstheswitch.Youcanspecifiyoneofthefollowingoptions:

masterrebootsonlythemasterswitch

switchrebootsonlythespecifiedconfiguredswitch

Note:Theoptionalcommandelementsareavailableonlyonthemaster
switch.
Commandmode:PrivilegedEXEC
showbootstack[master|backup|<attachedswitchnumber(116)>|
|all]
DisplayscurrentStackingbootparameters.
Note:Theoptionalcommandelementsareavailableonlyonthemaster
switch.
Commandmode:All
Wheninstackingmode,thefollowingstandalonefeaturesarenotsupported:

Copyright Lenovo 2015

sFlowportmonitoring

UniDirectionalLinkDetection(UDLD)

Portfloodblocking

Stormcontrol

RoutingInterfaceProtocol(RIP)

OpenShortestPathFirst(OSPF)

OpenShortestPathFirstversion3(OSPFv3)
Chapter 6: Boot Options

599

InternetProtocolversion6(IPv6)

VirtualRouterRedundancyProtocol(VRRP)

LoopbackInterfaces

RouterIDs

Routemaps

BorderGatewayProtocol(BGP)

StaticMACaddressadding

Staticmulticast

MultipleSpanningTreeProtocol(MSTP)settingsforCIST,Name,Revand
Maxhop

InternetGroupManagementProtocol(IGMP)Relay

InternetGroupManagementProtocolversion3(IGMPv3)

IGMPQuerier

MulticastListenerDiscovery(MLD)

MicroburstDetection

Openflow

VirtualLinkAggregation(VLAG)

StaticLinkAggregationControlProtocol(LACP)

SpanningTreeProtocol(STP)RootGuardandLoopGuard

ProtocolVLAN

EthernetOperation,AdministrationandMaintenance(OAM)

WeightedRandomEarlyDetection(WRED)

ExplicitCongestionNotification(ECN)

Note: TheG8052switchsupportsonly1024VLANsinStackingmode.
Switchmenusandcommandsforunsupportedfeaturesmaybeunavailableor
mayhavenoeffectonswitchoperation.

600

G8052 Command Reference for N/OS 8.3

Scheduled Reboot of the Switch


Thisfeatureallowstheswitchadministratortoscheduleareboottooccurata
particulartimeinfuture.Thisfeatureisparticularlyhelpfuliftheuserneedsto
performswitchupgradesduringoffpeakhours.Youcansetthereboottime,
cancelapreviouslyscheduledreboot,andcheckthetimeofthecurrentreboot
schedule.
Table 359. ScheduledRebootOptions
Command Syntax and Usage

bootschedule<day><time(hh:mm)>
Configurestheswitchreboottime.Thefollowingoptionsarevalidfortheday
value:

monday

tuesday

wednesday

thursday

friday

saturday

sunday

CommandMode:Globalconfiguration
nobootschedule
Cancelstheswitchreboottime.
CommandMode:Globalconfiguration
showboot
Displaysthecurrentswitchrebootschedule.
CommandMode:All

Copyright Lenovo 2015

Chapter 6: Boot Options

601

Netboot Configuration
Netbootallowstheswitchtoautomaticallydownloaditsconfigurationfileoverthe
networkduringswitchrebootandapplythenewconfiguration.Uponreboot,the
switchincludesthefollowingoptionsinitsDHCPrequests:

Option66(TFTPserveraddress)

Option67(filepath)

IftheDHCPserverreturnstheinformation,theswitchinitiatesaTFTPfiletransfer
andloadstheconfigurationfileintotheactiveconfigurationblock.Astheswitch
bootsup,itappliesthenewconfigurationfile.Notethattheoption66TFTPserver
addressmustbespecifiedinIPaddressformat(hostnameisnotsupported).
IfDHCPisnotenabled,ortheDHCPserverdoesnotreturntherequired
information,theswitchusesthemanuallyconfiguredTFTPserveraddressandfile
path.
Table 360. NetbootOptions
Command Syntax and Usage

[no]bootnetbootcfgfile<131characters>
DefinesthefilepathfortheconfigurationfileontheTFTPserver.Forexample:

/directory/sub/config.cfg

CommandMode:Globalconfiguration
[no]bootnetbootenable
EnablesordisablesNetboot.Whenenabled,theswitchbootsinto
factorydefaultconfigurationandattemptstodownloadanewconfiguration
file.
CommandMode:Globalconfiguration
[no]bootnetboottftp<IPaddress>
ConfigurestheIPaddressoftheTFTPserverusedformanualconfiguration.
ThisserverisusedifDHCPisnotenabledoriftheDHCPserverdoesnot
returntherequiredinformation.
CommandMode:Globalconfiguration
showboot
DisplaysthecurrentNetbootparameters.
CommandMode:All

602

G8052 Command Reference for N/OS 8.3

Machine Type Model Configuration


ThisfeatureconfigurestheswitchMachineTypeModel(MTM).
Table 361. MachineTypeModelConfiguration
Command Syntax and Usage

bootmtm<MTMcode>
Configurestheswitchsmachinetypemodel(MTM)value.MTMsareapplied
onrebootandpersistoverfirmwareupgrades:
CommandMode:Globalconfiguration

Copyright Lenovo 2015

Chapter 6: Boot Options

603

USB Boot Configuration


USBBootallowsyoutoboottheswitchwithasoftwareimagefile,bootfileor
configurationfilethatresidesonaUSBdriveinsertedintotheUSBport.Usethe
followingcommandtoenableordisableUSBBoot:
[no]bootusbbootenable
Commandmode:Globalconfiguration
Whenenabled,theswitchcheckstheUSBportwhenitisrebooted.IfaUSBdriveis
insertedintotheport,theswitchchecksthedriveforsoftwareandimagefiles.Ifa
validfileispresentontheUSBdrive,theswitchloadsthefileandbootsusingthe
file.
Thefollowinglistdescribesthevalidfilenamesanddescribestheswitchbehavior
whenitrecognizesthem.Thefilenamesmustbeexactlyasshownortheswitch
willnotrecognizethem.

RSG8052_Boot.img
Theswitchreplacesthecurrentbootimagewiththenewimageandbootswith
thenewimage.

RSG8052_OS.img
Theswitchbootswiththenewsoftwareimage.Theexistingimagesarenot
affected.

RSG8052_replace1_OS.img
Theswitchreplacesthecurrentsoftwareimage1withthenewimageandboots
withthenewimage.

RSG8052_replace2_OS.img
Theswitchreplacesthecurrentsoftwareimage2withthenewimageandboots
withthenewimage.

RSG8052.cfg
Theswitchbootswiththenewconfigurationfile.Theexistingconfigurationfiles
(activeandbackup)arenotaffected.

RSG8052_replace.cfg
Theswitchreplacestheactiveconfigurationfilewiththenewfileandbootswith
thenewfile.Thisfiletakesprecedenceoveranyotherconfigurationfilesthat
maybepresentontheUSBdrive.

Ifmorethanonevalidfileispresent,theswitchloadsallvalidfilesandbootswith
them.Forexample,youmaysimultaneouslyloadanewbootfile,imagefileand
configurationfilefromtheUSBdrive.
Theswitchignoresanyfilesthatdonotmatchthevalidfilenamesorthathavethe
wrongformat.
YoualsocancopyfilestoandfromtheUSBdrive.SeeUSBCopyonpage 587.

604

G8052 Command Reference for N/OS 8.3

Updating the Switch Software Image


TheswitchsoftwareimageistheexecutablecoderunningontheRackSwitch
G8052.Aversionoftheimageshipswiththeswitchandcomespreinstalledonthe
device.Asnewversionsoftheimagearereleased,youcanupgradethesoftware
runningonyourswitch.
Usethefollowingcommandtodeterminethecurrentsoftwareversion:
showboot
Commandmode:All
Upgradingthesoftwareimageonyourswitchrequiresthefollowing:

Copyright Lenovo 2015

LoadingthenewimageontoaSFTP,FTPorTFTPserveronyournetwork

TransferringthenewimagefromtheSFTP,FTPorTFTPservertoyourswitch

Selectingthenewsoftwareimagetobeloadedintoswitchmemorythenexttime
theswitchisrebooted

Chapter 6: Boot Options

605

Loading New Software to Your Switch


Theswitchcanstoreuptotwodifferentsoftwareimages,calledimage1and
image2,aswellasbootsoftware,calledboot.Whenyouloadnewsoftware,you
mustspecifywhereitshouldbeplaced:eitherintoimage1,image2orboot.
Forexample,ifyouractiveimageiscurrentlyloadedintoimage1,youwould
probablyloadthenewimagesoftwareintoimage2.Thisletsyoutestthenew
softwareandreloadtheoriginalactiveimage(storedinimage1),ifneeded.
Toloadanewsoftwareimagetoyourswitch,youneedthefollowing:

TheimageorbootsoftwareloadedonaSFTP/FTP/TFTPserveronyournetwork

ThehostnameorIPaddressoftheSFTP/FTP/TFTPserver

Thenameofthenewsoftwareimageorbootfile

Note: TheDNSparametersmustbeconfiguredifspecifyinghostnames.
Whentheaboverequirementsaremet,usethefollowingproceduretodownload
thenewsoftwaretoyourswitch.
1. InPrivilegedEXECmode,enterthefollowingcommand:
RS G8052#copy{ftp|tftp|sftp}{image1|image2|bootimage}

2. EnterthehostnameorIPaddressoftheSFTP,FTPorTFTPserver.
Addressornameofremotehost:<IPaddressorhostname>

3. Enterthenameofthenewsoftwarefileontheserver.
Sourcefilename:<filename>

Theexactformofthenamewillvarybyserver.However,thefilelocationis
normallyrelativetotheSFTP,FTPorTFTPdirectory(usuallytftpboot).
4. Enteryourusernameandpasswordfortheserver,ifapplicable.
Username:{<username>|<Enter>}

5. Thesystempromptsyoutoconfirmyourrequest.
Next,selectasoftwareimagetorun,asdescribedinthefollowingsection.

606

G8052 Command Reference for N/OS 8.3

Selecting a Software Image to Run


Youcanselectwhichsoftwareimage(image1orimage2)youwanttorunin
switchmemoryforthenextreboot.
1. InGlobalConfigurationmode,enter:
RS G8052(config)#bootimage{image1|image2}

2. Enterthenameoftheimageyouwanttheswitchtouseuponthenextboot.
Thesysteminformsyouofwhichimagesettobeloadedatthenextreboot:
Nextbootwilluseswitchsoftwareimage1insteadofimage2.

Uploading a Software Image from Your Switch


YoucanuploadasoftwareimagefromtheswitchtoaSFTP,FTPorTFTPserver.
1. InPrivilegedEXECmode,enter:
RS G8052#copy{image1|image2|bootimage}{ftp|tftp|sftp}

2. EnterthenameortheIPaddressoftheSFTP,FTPorTFTPserver:
Addressornameofremotehost:<IPaddressorhostname>

3. EnterthenameofthefileintowhichtheimagewillbeuploadedontheSFTP,FTP
orTFTPserver:
Destinationfilename:<filename>

4. Enteryourusernameandpasswordfortheserver,ifapplicable.
Username:{<username>|<Enter>}

5. Thesystemthenrequestsconfirmationofwhatyouhaveentered.Tohavethefile
uploaded,enterY.
image2currentlycontainsSoftwareVersion6.6.0
thatwasdownloadedat0:23:39ThuJan3,2011.
Uploadwilltransferimage2(2788535bytes)tofile"image1"
onFTP/TFTPserver1.90.90.95.
Confirmuploadoperation(y/n)?y

Copyright Lenovo 2015

Chapter 6: Boot Options

607

Selecting a Configuration Block


WhenyoumakeconfigurationchangestotheRackSwitchG8052,youmustsave
thechangessothattheyareretainedbeyondthenexttimetheswitchisrebooted.
Whenyouperformasaveoperation,yournewconfigurationchangesareplacedin
theactiveconfigurationblock.Thepreviousconfigurationiscopiedintothebackup
configurationblock.
Thereisalsoafactoryconfigurationblock.Thisholdsthedefaultconfigurationset
bythefactorywhenyourRackSwitchG8052wasmanufactured.Undercertain
circumstances,itmaybedesirabletoresettheswitchconfigurationtothedefault.
ThiscanbeusefulwhenacustomconfiguredRackSwitchG8052ismovedtoa
networkenvironmentwhereitwillbereconfiguredforadifferentpurpose.
InGlobalConfigurationmode,usethefollowingcommandtosetwhich
configurationblockyouwanttheswitchtoloadthenexttimeitisrebooted:
RS G8052(config)#bootconfigurationblock{active|backup|factory}

608

G8052 Command Reference for N/OS 8.3

Setting an Entitlement Serial Number


Toimprovecustomertechnicalsupport,yourcustomersupportrepresentativecan
assignyourswitchanEntitlementSerialNumber(ESN)atthetimeyourequest
support.TheESNcanbeconvenientlystoredontheswitchusingthefollowing
command:
RS G8052(config)#bootesn<EntitlementSerialNumber>

TheESNhelpstolocateyourswitchsidentifyinginformationwhenyoucall
technicalsupportforhelpinfuture.

Copyright Lenovo 2015

Chapter 6: Boot Options

609

Rebooting the Switch


Youcanreboottheswitchtomakeyoursoftwareimagefileandconfiguration
blockchangesoccur.
Note: RebootingtheswitchcausestheSpanningTreeGrouptorestart.This
processcanbelengthy,dependingonthetopologyofyournetwork.
Enterthefollowingcommandtoreboot(reload)theswitch:
RS G8052#reload[nodump]

Youarepromptedtoconfirmyourrequest.
Resetwillusesoftware"image2"andtheactiveconfigblock.
>>NotethatthiswillRESTARTtheSpanningTree,
>>whichwilllikelycauseaninterruptioninnetworkservice.
Confirmreload(y/n)?

Note: Beforerebooting,theswitchwrites(saves)technicalsupportinformation
(backuptechsupport)inalocalfiletoflashmemory.Thenodumpoptionskips
thisstep,therebydecreasingthetimeneededfortheswitchtoreboot.Bydefault,
theswitchsavestechnicalsupportinformationbeforerebooting.
Technicalsupportinformation(backuptechsupport)canbeuploadedtoan
externalserverusingthefollowingcommand:
copybacktechsupport{ftp/sftp/tftp}
Commandmode:PrivilegedEXEC
Fordetails,seepage 617.

610

G8052 Command Reference for N/OS 8.3

Changing the Switch Profile


TheLenovoN/OSsoftwarefortheG8052canbeconfiguredtooperateindifferent
modesfordifferentdeploymentscenarios.Thedeploymentprofilechangessome
ofthebasicswitchbehavior,shiftingswitchresourcestooptimizecapacitylevelsto
meettheneedsofdifferenttypesofnetworks.Formoreinformationabout
deploymentprofiles,seetheLenovoN/OS8.3ApplicationGuide.
Tochangethedeploymentprofile,selectthenewprofileandreboottheG8052.Use
thefollowingcommandtoselectanewprofile:
RS G8052(config)#bootprofile{default|openflow}

Thefollowinglistdescribesthebootprofileoptions:

Copyright Lenovo 2015

defaultdeploymentprofilewithbalancedresources

openflowOpenFlowOnlydeploymentprofile

Chapter 6: Boot Options

611

Using the Boot Management Menu


TheBootManagementmenuallowsyoutoswitchthesoftwareimage,resetthe
switchtofactorydefaultsortorecoverfromafailedsoftwaredownload.
YoucaninterruptthebootprocessandentertheBootManagementmenufromthe
serialconsoleport.WhenthesystemdisplaysMemoryTest,press<Shift + B>.
TheBootManagementmenuappears.
BootManagementMenu
IChangebootingimage
CChangeconfigurationblock
RBootinrecoverymode(xmodemdownloadofimagestorecover
switch)
QReboot
EExit
Pleasechooseyourmenuoption:

TheBootManagementmenuallowsyoutoperformthefollowingactions:

612

Tochangethebootingimage,pressIandfollowthescreenprompts.

Tochangetheconfigurationblock,pressCandfollowthescreenprompts.

TobootinrecoverymodepressR.FormoredetailsseeBootRecoveryMode
onpage 613.

Torestartthebootprocessfromthebeginning,pressQ.

ToexittheBootManagementmenu,pressE.Thebootingprocesscontinues.

G8052 Command Reference for N/OS 8.3

Boot Recovery Mode


TheBootRecoveryModeallowsyoutorecoverfromafailedsoftwareorboot
imageupgradeusingXModemdownload.
ToenterBootRecoveryModeyoumustselectBootinrecoverymodeoption
fromtheBootManagementMenu.
EnteringRescueMode.
Pleaseselectoneofthefollowingoptions:
X)Usexmodem1Ktoserialdownloadanimage
P)Physicalpresence(lowsecuritymode)
R)Reboot
E)Exit
Option?:

TheBootRecoveryModemenuallowsyoutoperformthefollowingactions:

Copyright Lenovo 2015

TorecoverfromafailedsoftwareorbootimageupgradeusingXModem
download,pressXandfollowthescreenprompts.Formoredetails,see
RecoveringfromaFailedImageUpgradeusingXModemDownloadon
page 614.

Toenabletheloadingofanunofficialimage,pressPandfollowthescreen
prompts.Formoredetails,seePhysicalPresenceonpage 616.

Torestartthebootprocessfromthebeginning,pressR.

ToexitBootRecoveryModemenu,pressE.Thebootprocesscontinues.

Chapter 6: Boot Options

613

Recovering from a Failed Image Upgrade using XModem Download


Usethefollowingproceduretorecoverfromafailedimageupgrade.
1.ConnectaPCtotheserialportoftheswitch.
2.OpenaterminalemulatorprogramthatsupportsXmodemdownload(forexample,
HyperTerminal,SecureCRTorPuTTY)andselectthefollowingserialport
characteristics:

Speed:9600bps

DataBits:8

StopBits:1

Parity:None

FlowControl:None

3.BoottheswitchandaccesstheBootManagementmenubypressing<Shift + B>
whiletheMemoryTestisinprogressandthedotsarebeingdisplayed.
4. EnterBootRecoveryModebyselectingR.TheRecoveryModemenuwillappear.
5. SelectXforXmodemdownload.Youwillseethefollowingdisplay:
Runningxmodemrescue.....

6. Whenyouseethefollowingmessage,changetheSerialPortspeedto115200bps:
Changethebaudrateto115200bpsandhitthe<ENTER>keybefore
initiatingthedownload.

7. Press<Enter>tosetthesystemintodownloadacceptmode.Whenthereadiness
meterdisplays(aseriesofCcharacters),startXmodemonyourterminal
emulator.Youwillseeadisplaysimilartothefollowing:
...Waitingforthe<Enter>keytobehitbeforethedownloadcanstart...
CC

8. Selecttheimagetodownload.Xmodeminitiatesthefiletransfer.Whendownload
iscomplete,youareaskedtochangetheSerialPortspeedbackto9600bps:
Changethebaudratebackto9600bps,hitthe<ENTER>key

9. Press<Enter>tostartinstallingtheimage.Ifthefileisasoftwareimage,enterthe
imagenumber:
Installimageasimage1or2(hitreturntojustbootimage):

614

G8052 Command Reference for N/OS 8.3

Theimageinstallwillbegin.Aftertheprocedureiscomplete,theRecoveryMode
menuwillberedisplayed.
Extractingimages...Do*NOT*powercycletheswitch.
InstallingRootFilesystem:
Imagesignatureverified.100%
InstallingKernel:
Imagesignatureverified.100%
InstallingDeviceTree:
Imagesignatureverified.100%
InstallingBootLoader:100%
Updatinginstalllog.Fileimageinstalledfromxmodemat18:06:02on
1332015
Pleaseselectoneofthefollowingoptions:
X)Usexmodem1Ktoserialdownloadanimage
P)Physicalpresence(lowsecuritymode)
R)Reboot
E)Exit
Option?:

Bootimagerecoveryiscomplete.

Copyright Lenovo 2015

Chapter 6: Boot Options

615

Physical Presence
Usethefollowingproceduretoenabletheinstallationofunofficialimagesonthe
switch:
1. ConnectaPCtotheconsoleportoftheswitch.
2. OpenaterminalemulatorprogramthatsupportsTelnetprotocol(forexample,
HyperTerminal,SecureCRTorPuTTY)andinputtheproperhostname(IP
address)andporttoconnecttotheconsoleportoftheswitch.
3. BoottheswitchandaccesstheBootManagementmenubypressing<Shift + B>
whiletheMemoryTestisinprogressandthedotsarebeingdisplayed.
4. EnterBootRecoveryModebyselectingR.TheRecoveryModemenuwillappear.
5. TobeginthePhysicalPresenceprocedure,selectP.Thefollowingwarningmessage
willappear:
WARNING:thefollowingtestisusedtodeterminephysicalpresenceandif
completedwillputtheswitchinlowsecuritymode.

6. Youwillbepromptedforconfirmation:
Doyouwishtocontinuey/n?

7. Asecuritytestwillbeperformed.Thesystemlocation(blue)LEDwillblinka
numberoftimesbetween1and12.Enterthatnumber:
Hitakeytostartthetest.ThebluelocationLEDwillblinkanumberof
times.
...........
HowmanytimesdidtheLEDblink?

8. Afterenteringthecorrectnumber,theRecoveryModemenuwillreappear.To
installanunofficialimageusethefollowingprocedure:

XModemDownload(fordetails,seepage 614)

Note: Youhavethreeattemptstosuccessfullycompletethesecuritytest.After
threeincorrectattempts,theswitchwillreboot.
Note: Afterthetestiscompleted,theswitchwillbeputinlowsecuritymode.This
modewillallowyoutoinstallunofficialimagesontheswitch.Toreverttonormal
securitymode,youmustreboottheswitchorpressPagainintheRecoveryMode
menu.

616

G8052 Command Reference for N/OS 8.3

Chapter 7. Maintenance Commands


Themaintenancecommandsareusedtomanagedumpinformationandforward
databaseinformation.Theyincludedebuggingcommandstohelpwith
troubleshooting.
Dumpinformationcontainsinternalswitchstatedatathatiswrittentoflash
memoryontheRackSwitchG8052afteranyoneofthefollowingoccurs:
Thewatchdogtimerforcesaswitchreboot.Thepurposeofthewatchdogtimeris
toreboottheswitchiftheswitchsoftwarefreezes.
Theswitchdetectsahardwareorsoftwareproblemthatrequiresareboot.

Tousethemaintenancecommands,youmustbeloggedintotheswitchasthe
administrator.
Table 362. GeneralMaintenanceCommands
Command Syntax and Usage

copyflashdump{tftp|ftp|sftp}
SavesthesystemdumpinformationviaTFTP,FTPorSFTP.Fordetails,see
page 633.
Commandmode:PrivilegedEXEC
copy<switchfilename>tftpaddress<TFTPserverIPaddress>
filename<filenameonTFTPserver>
UploadsafileviaTFTP.
Commandmode:PrivilegedEXEC
copylog{stfp|tftp}
Uploadsthesystemlogfile(SYSLOG)viaTFTP.
Commandmode:PrivilegedEXEC
copytechsupport{ftp|sftp}
Uploadsthetechnicalsupportdump(tsdmp)toanexternalFTP/SFTPserver.
Commandmode:PrivilegedEXEC
copytechsupporttftpaddress<hostnameorserverIPaddress>
filename<serverfilename>
Uploadsthetechnicalsupportdump(tsdmp)toanexternalTFTPserver.
Commandmode:PrivilegedEXEC
copybackuptechsupport{ftp|sftp}
Uploadsthetechnicalsupportinformationsavedbeforeaswitchreboot
(backuptechsupport)toanexternalFTP/SFTPserver.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

617

Table 362. GeneralMaintenanceCommands(continued)


Command Syntax and Usage

copybackuptechsupporttftpaddress<hostnameorserverIPaddress>
filename<serverfilename>
Uploadsthetechnicalsupportinformationsavedbeforeaswitchreboot
(backuptechsupport)toanexternalTFTPserver.
Commandmode:PrivilegedEXEC
clearflashdump
Clearsdumpinformationfromflashmemory.
Commandmode:PrivilegedEXEC
clearlogging
Clearsthesystemlogfile(SYSLOG).
Commandmode:PrivilegedEXEC
showflashdumpuuencode
Displaysdumpinformationinuuencodedformat.Fordetails,seepage 632.
Commandmode:All
showtechsupport[l2|l3|link|port]
DumpsallG8052information,statisticsandconfiguration.Youcanlogthe
output(tsdmp)intoafile.Tofiltertheinformation,usethefollowingoptions:

l2displaysonlyLayer2relatedinformation

l3displaysonlyLayer3relatedinformation

linkdisplaysonlylinkstatusrelatedinformation

portdisplaysonlyportrelatedinformation

Commandmode:AllexceptUserEXEC

618

G8052 Command Reference for N/OS 8.3

Forwarding Database Maintenance


TheForwardingDatabasecommandscanbeusedtoviewinformationandto
deleteaMACaddressfromtheforwardingdatabaseortocleartheentire
forwardingdatabase.ThisishelpfulinidentifyingproblemsassociatedwithMAC
addresslearningandpacketforwardingdecisions.
Table 363. FDBManipulationOptions
Command Syntax and Usage

showmacaddresstableaddress<MACaddress>
DisplaysasingledatabaseentrybyitsMACaddress.EntertheMACaddress
usingoneofthefollowingformats:

xx:xx:xx:xx:xx:xx(suchas08:00:20:12:34:56)

xxxxxxxxxxxx(suchas080020123456)

Commandmode:All
showmacaddresstableinterfaceport<portaliasornumber>
DisplaysallFDBentriesforaparticularport.
Commandmode:All
showmacaddresstablemulticast
DisplaysallMulticastMACentriesintheFDB.
Commandmode:All
showmacaddresstableprivatevlan<VLANID(24094)>
DisplaysallFDBentriesonasingleprivateVLAN.
Commandmode:All
showmacaddresstablestatic
DisplaysstaticentriesintheFBD.
Commandmode:All
showmacaddresstablevlan<VLANID(14094)>
DisplaysallFDBentriesonasingleVLAN.
Commandmode:All
nomacaddresstable{multicast|static}{all|<MACaddress>
<VLANID(14094)>}
RemovesstaticFDBentries.
Commandmode:Globalconfiguration
clearmacaddresstable
ClearstheentireForwardingDatabasefromswitchmemory.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 7: Maintenance Commands

619

Debugging Commands
TheMiscellaneousDebugCommandsdisplaytracebufferinformationabout
eventsthatcanbehelpfulinunderstandingswitchoperation.Youcanviewthe
followinginformationusingthedebugcommands:

EventstracedbytheManagementProcessor(MP)

Eventstracedtoabufferareawhenarebootoccurs

Iftheswitchrebootsforanyreason,theMPtracebufferissavedintothesnaptrace
bufferarea.TheoutputfromthesecommandscanbeinterpretedbyTechnical
Supportpersonnel.
Table 364. MiscellaneousDebugOptions
Command Syntax and Usage

debugdebugflags
Thiscommandsetstheflagsthatareusedfordebuggingpurposes.
Commandmode:PrivilegedEXEC
debugdumpbt
Displaysthebacktracelog.
Commandmode:PrivilegedEXEC
[no]debuglacppacket{receive|transmit|both}port
<portaliasornumber>
Enables/disablesdebuggingforLinkAggregationControlProtocol(LACP)
packetsonallportsrunningLACP.
Thefollowingparametersareavailable:

receivefiltersonlyLACPpacketsreceived

transmitfiltersonlyLACPpacketssent

bothfiltersLACPpacketseithersentorreceived

portfiltersLACPpacketssent/receivedonspecificports

Bydefault,LACPdebuggingisdisabled.
Commandmode:PrivilegedEXEC
debugmpsnap
DisplaystheManagementProcessorsnap(orpostmortem)tracebuffer.This
buffercontainsinformationtracedatthetimethatarebootoccurred.
Commandmode:PrivilegedEXEC
debugmptrace
DisplaystheManagementProcessortracebuffer.Headerinformationsimilar
tothefollowingisshown:
MPtracebufferat13:28:15FriMay25,2001mask:
0x2ffdf748
Thebufferinformationisdisplayedaftertheheader.
Commandmode:PrivilegedEXEC

620

G8052 Command Reference for N/OS 8.3

Table 364. MiscellaneousDebugOptions


Command Syntax and Usage

[no]debugspanningtreebpdu[receive|transmit]
Enables/disablesdebuggingforSpanningTreeProtocol(STP)BridgeProtocol
DataUnit(BPDU)framessentorreceived.
Thefollowingparametersareavailable:

receivefiltersonlyBPDUframesreceived

transmitfiltersonlyBPDUframessent

Bydefault,STPBPDUdebuggingisdisabled.
Commandmode:PrivilegedEXEC
clearflashconfig
Deletesallflashconfigurationblocks.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 7: Maintenance Commands

621

IPsec Debugging
ThefollowingtabledescribestheIPsecdebuggingcommands.
Table 365. IPsecDebuggingOptions
Command Syntax and Usage

[no]debugsecall
EnablesordisablesallIPsecuritydebugmessages.
Commandmode:PrivilegedEXEC
[no]debugseccrypto
EnablesordisablesallIPsecuritycryptographicdebugmessages.
Commandmode:PrivilegedEXEC
[no]debugsecike
EnablesordisablesallIPsecurityIKEv2debugmessages.
Commandmode:PrivilegedEXEC
[no]debugsecinfo
Displaysthecurrentsecuritydebugflag.
Commandmode:PrivilegedEXEC
[no]debugsecipsec
EnablesordisablesallIPsecdebugmessages.
Commandmode:PrivilegedEXEC

622

G8052 Command Reference for N/OS 8.3

vLAG Debugging
ThefollowingtabledescribesvLAGdebuggingcommands.
Table 366. vLAGDebuggingOptions
Command Syntax and Usage

[no]debugvlagcfg
EnableordisablesvLAGconfigurationdebugmessages.
Commandmode:PrivilegedEXEC
[no]debugvlagfdbdatabase
EnableordisablesvLAGForwardingDatabasedebugmessages.
Commandmode:PrivilegedEXEC
[no]debugvlaghtlhchk
EnableordisablesvLAGHealthCheckdebugmessages.
Commandmode:PrivilegedEXEC
[no]debugvlagisl
EnableordisablesvLAGISLdebugmessages.
Commandmode:PrivilegedEXEC
[no]debugvlagmsg
EnableordisablesvLAGdebugmessages.
Commandmode:PrivilegedEXEC
[no]debugvlagportmgr
EnableordisablesvLAGPortManagerdebugmessages.
Commandmode:PrivilegedEXEC
[no]debugvlagsm
EnableordisablesvLAGStateMachinedebugmessages.
Commandmode:PrivilegedEXEC
[no]debugvlagtrunk
EnableordisablesvLAGTrunkdebugmessages.
Commandmode:PrivilegedEXEC
[no]debugvlagvrrp
EnableordisablesvLAGVRRPdebugmessages.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 7: Maintenance Commands

623

LLDP Cache Manipulation


ThefollowingtabledescribestheLLDPcachemanipulationcommands.
Table 367. LLDPCacheManipulationOptions
Command Syntax and Usage

showlldp[information]
DisplaysallLLDPinformation.
Commandmode:All
showlldpport<portaliasornumber>
DisplaysLinkLayerDiscoveryProtocol(LLDP)portinformation.
Commandmode:All
showlldpport<portaliasornumber>tlvevb
DisplaysEdgeVirtualBridge(EVB)typelengthvalue(TLV)informationfor
thespecifiedport.
Commandmode:All
showlldpreceive
DisplaysinformationabouttheLLDPreceivestatemachine.
Commandmode:All
showlldptransmit
DisplaysinformationabouttheLLDPtransmitstatemachine.
Commandmode:All
showlldpremotedevice[<1256>|detail|port<portaliasornumber>]
DisplaysinformationreceivedfromLLDPcapabledevices.Formore
information,seepage 66.
Commandmode:All
clearlldp
ClearstheLLDPcache.
Commandmode:PrivilegedEXEC

624

G8052 Command Reference for N/OS 8.3

ARP Cache Maintenance


ThefollowingtabledescribestheARPcachemaintenancecommands.
Table 368. AddressResolutionProtocolMaintenanceOptions
Command Syntax and Usage

show[ip]arp
ShowsallARPentries.
Commandmode:All
show[ip]arpfind<IPaddress>
ShowsasingleARPentrybyIPaddress.
Commandmode:All
show[ip]arpinterfaceport<portnumberoralias>
ShowsARPentriesonselectedports.
Commandmode:All
show[ip]arpreply
ShowsthelistofIPaddresseswhichtheswitchwillrespondtoforARP
requests.
Commandmode:All
show[ip]arpvlan<VLANID(14094)>
ShowsARPentriesonasingleVLAN.
Commandmode:All
cleararp
ClearstheentireARPlistfromswitchmemory.
Commandmode:PrivilegedEXEC
Note: TodisplayalloraportionofARPentriescurrentlyheldintheswitch,you
canalsorefertoARPInformationonpage 91.

Copyright Lenovo 2015

Chapter 7: Maintenance Commands

625

IP Route Manipulation
ThefollowingtabledescribestheIProutemanipulationcommands.
Table 369. IPRouteManipulationOptions
Command Syntax and Usage

debugroutemappbr
Enablespolicybasedroutingdebugging.
Commandmode:PrivilegedEXEC
showiproute
Showsallroutes.
Commandmode:All
showiprouteaddress<IPaddress>
ShowsasingleroutebydestinationIPaddress.
Commandmode:All
showiproutegateway<IPaddress>
Showsroutestoadefaultgateway.
Commandmode:All
showiprouteinterface<1128>
Showsroutesonasingleinterface.
Commandmode:All
showiproutetag{address|bgp|broadcast|fixed|martian|
|multicast|ospf|rip|static}
Showsroutesofasingletag.ForadescriptionofIProutingtags,seeTable 41
onpage 89.
Commandmode:All
showiproutetype{broadcast|direct|indirect|local|
|martian|multicast}
Showsroutesofasingletype.ForadescriptionofIProutingtypes,see
Table 40onpage 89.
Commandmode:All
cleariproute
Clearstheroutetablefromswitchmemory.
Commandmode:PrivilegedEXEC
Note: Todisplayallroutes,youcanalsorefertoIPRoutingInformationon
page 88.

626

G8052 Command Reference for N/OS 8.3

IGMP Snooping Maintenance


ThefollowingtabledescribestheIGMPSnoopingmaintenancecommands.
Table 370. IGMPMulticastGroupMaintenanceOptions
Command Syntax and Usage

showipigmpgroups
Displaysinformationforallmulticastgroups.
Commandmode:All
showipigmpgroupsaddress<IPaddress>
DisplaysasingleIGMPmulticastgroupbyitsIPaddress.
Commandmode:All
showipigmpgroupsdetail<IPaddress>
DisplaysdetailedinformationaboutasingleIGMPmulticastgroup.
Commandmode:All
showipigmpgroupsinterfaceport<portaliasornumber>
DisplaysallIGMPmulticastgroupsonselectedports.
Commandmode:All
showipigmpgroupsportchannel<1104>
DisplaysallIGMPmulticastgroupsonasingletrunkgroup.
Commandmode:All
showipigmpgroupsvlan<VLANID(14094)>
DisplaysallIGMPmulticastgroupsonasingleVLAN.
Commandmode:All
clearipigmpgroups
ClearstheIGMPgrouptable.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 7: Maintenance Commands

627

IGMP Multicast Routers Maintenance


ThefollowingtabledescribesthemaintenancecommandsforIGMPmulticast
routers(Mrouters).
Table 371. IGMPMulticastRouterMaintenanceCommands
Command Syntax and Usage

showipigmpmrouter[dynamic|interface|portchannel|static]
DisplaysinformationforallMrouters,alldynamic/staticMrouterports
installedorMrouterportsspecifictoaspecifiedinterface/portchannel.
Commandmode:All
showipigmpmrouterinformation
DisplaysIGMPsnoopinginformationforallMrouters.
Commandmode:All
showipigmpmroutervlan<VLANID(14094)>
DisplaysIGMPMrouterinformationforasingleVLAN.
Commandmode:All
showipigmpqueriervlan<VLANID(14094)>
DisplaysIGMPquerierinformationforasingleVLAN.
Commandmode:All
showipigmprelay
DisplaysIGMPrelayinformation.
Commandmode:All
showipigmpsnoopigmpv3
DisplaysIGMPv3snoopinginformation.
Commandmode:All
clearipigmpmrouter
ClearsthedynamicIGMPMrouterporttable.
Commandmode:PrivilegedEXEC

628

G8052 Command Reference for N/OS 8.3

IPv6 Neighbor Cache Manipulation


ThefollowingtabledescribestheIPv6NeighborCachemanipulationcommands.
Table 372. IPv6NeighborCacheManipulationOptions
Command Syntax and Usage

showipv6neighbors
ShowsallIPv6NeighborCacheentries.
Commandmode:All
showipv6neighborsfind<IPv6address>
ShowsasingleIPv6NeighborCacheentrybyIPaddress.
Commandmode:All
showipv6neighborsinterfaceport<portaliasornumber>
ShowsIPv6NeighborCacheentriesonasingleport.
Commandmode:All
showipv6neighborsstatic
ShowsstaticIPv6NeighborCacheentries.
Commandmode:All
showipv6neighborsvlan<VLANID(14094)>
ShowsIPv6NeighborCacheentriesonasingleVLAN.
Commandmode:All
clearipv6neighbors
ClearsallIPv6NeighborCacheentriesfromswitchmemory.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 7: Maintenance Commands

629

IPv6 Route Maintenance


ThefollowingtabledescribestheIPv6routemaintenancecommands.
Table 373. IPv6RouteMaintenanceOptions
Command Syntax and Usage

showipv6route
ShowsallIPv6routes.
Commandmode:All
showipv6routeaddress<IPv6address>
ShowasingleroutebydestinationIPaddress.
Commandmode:All
showipv6routegateway<IPv6gatewayaddress>
Showroutestoasinglegateway.
Commandmode:All
showipv6routeinterface<1128>
ShowroutesonasingleIPinterface.
Commandmode:All
showipv6routestatic
ShowstaticIPv6routes.
Commandmode:All
showipv6routesummary
ShowsasummaryofIPv6routeinformation.
Commandmode:All
showipv6routetype{connected|static|ospf}
Showroutesofasingletype.
Commandmode:All
clearipv6route
ClearsallIPv6routes.
Commandmode:PrivilegedEXEC

630

G8052 Command Reference for N/OS 8.3

Stacking Maintenance
ThefollowingtabledescribesStackingmaintenancecommands.
Table 374. StackingMaintenanceOptions
Command Syntax and Usage

showloggingswn<configuredswitchnumber(18)>[messages]
[severity<07>][reverse][|{include|exclude|section|
|begin|head<12000>|last<12000>}]
Displaysthecurrentsyslogsettingsforthespecifiedconfiguredswitch,
followedbythemostrecent2000syslogmessages.

messagesdisplaysthemostrecent2000syslogmessagesonly

severitydisplayssyslogmessagesofthespecifiedseveritylevel

reversedisplayssyslogmessagesstartingwiththemostrecentmessage

|displayssyslogmessagesthatmatchoneofthefollowingfilters:
includedisplayssyslogmessagesthatmatchthespecifiedexpression
excludedisplayssyslogmessagesthatdontmatchthespecified
expression
sectiondisplayssyslogmessagesthatmatchthespecifiedsection
begindisplayssyslogmessagesbeginningfromthefirstmessagethat
matchesthespecifiedexpression
headdisplaystheoldestsyslogmessagesforthespecifiedvalue
lastdisplaysthemostrecentsyslogmessagesforthespecifiedvalue

Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:All
copylogswn<configuredswitchnumber(18)>sftp
SavesthesystemlogfilefromthespecifiedconfiguredswitchviaSFTP.
Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:All
copylogswn<configuredswitchnumber(18)>tftp[address
<hostnameorserverIPaddress>][filename<serverfilename>]
SavesthesystemlogfilefromthespecifiedconfiguredswitchviaTFTP.
Note:Thiscommandisavailableonlyonthemasterswitch.
Commandmode:All
clearlogging[master|backup|<attachedswitchnumber(116)>|all]
Clearsthesystemlogfile(SYSLOG)onthecurrentswitch.Youcanclearthe
syslogfromthemasterswitch,thebackupswitchoranyattachedswitch.The
alloptionwillclearthesystemlogfilesfromalltheswitchesinthestack.
Note:Theoptionalcommandelementsareavailableonlyonthemaster
switch.
Commandmode:PrivilegedEXEC

Copyright Lenovo 2015

Chapter 7: Maintenance Commands

631

Uuencode Flash Dump


Usingthiscommand,dumpinformationispresentedinuuencodedformat.This
formatmakesiteasytocapturethedumpinformationasafileorastringof
characters.
Ifyouwanttocapturedumpinformationtoafile,setyourcommunication
softwareonyourworkstationtocapturesessiondatapriortoissuingthe
showflashdumpuuencodecommand.Thiswillensurethatyoudonotlose
anyinformation.Onceentered,theshowflashdumpuuencodecommand
willcauseapproximately23,300linesofdatatobedisplayedonyourscreenand
copiedintothefile.
Usingtheshowflashdumpuuencodecommand,dumpinformationcanbe
readmultipletimes.Thecommanddoesnotcausetheinformationtobeupdated
orclearedfromflashmemory.
Note: Dumpinformationisnotclearedautomatically.Inorderforanysubsequent
dumpinformationtobewrittentoflashmemory,youmustmanuallyclearthe
dumpregion.Formoreinformationonclearingthedumpregion,seepage 634.
Toaccessdumpinformation,enter:
RS G8052#showflashdumpuuencode

Thedumpinformationisdisplayedonyourscreenand,ifyouhaveconfigured
yourcommunicationsoftwaretodoso,capturedtoafile.Ifthedumpregionis
empty,thefollowingappears:
NoFLASHdumpavailable.

632

G8052 Command Reference for N/OS 8.3

TFTP, SFTP or FTP System Dump Copy


Usethesecommandstocopy(save)thesystemdumptoaTFTP,SFTPorFTP
server.
Note: IftheTFTP/FTPserverisrunningSunOSortheSolarisoperatingsystem,the
specifiedfilemustexistpriortoexecutingthecopyflashdumptftpcommand
(orcopyflashdumpsftp)andmustbewritable(setwithproperpermission
andnotlockedbyanyapplication).Thecontentsofthespecifiedfilewillbe
replacedwiththecurrentdumpdata.
TosavedumpinformationviaTFTP,enter:
RS G8052#copyflashdumptftp<serverfilename>

YouarepromptedfortheTFTPserverIPaddressorhostname,andthefilenameof
thetargetdumpfile.
TosavedumpinformationviaSFTP,enter:
RS G8052#copyflashdumpsftp<serverfilename>

YouarepromptedfortheSFTPserverIPaddressorhostname,andthefilenameof
thetargetdumpfile.
TosavedumpinformationviaFTP,enter:
RS G8052#copyflashdumpftp<serverfilename>

YouarepromptedfortheFTPserverIPv4addressorhostname,yourusernameand
password,andthefilenameofthetargetdumpfile.

Copyright Lenovo 2015

Chapter 7: Maintenance Commands

633

Clearing Dump Information


Tocleardumpinformationfromflashmemory,enter:
RS G8052#clearflashdump

Theswitchclearsthedumpregionofflashmemoryanddisplaysthefollowing
message:
FLASHdumpregioncleared.

Iftheflashdumpregionisalreadyclear,theswitchdisplaysthefollowing
message:
FLASHdumpregionisalreadyclear.

634

G8052 Command Reference for N/OS 8.3

Unscheduled System Dumps


Ifthereisanunscheduledsystemdumptoflashmemory,thefollowingmessageis
displayedwhenyoulogontotheswitch:
Note: AsystemdumpexistsinFLASH.Thedumpwassaved
at13:43:22WednesdayJanuary30,2011.Useshowflashdump
uuencodeto
extractthedumpforanalysisandclearflashdumpto
cleartheFLASHregion.Theregionmustbecleared
beforeanotherdumpcanbesaved.

Copyright Lenovo 2015

Chapter 7: Maintenance Commands

635

636

G8052 Command Reference for N/OS 8.3

Appendix A. Lenovo N/OS System Log Messages


TheRackSwitchG8052(G8052)usesthefollowingsyntaxwhenoutputtingsystem
log(syslog)messages:
<Timestamp><IP/Hostname><LogLabel><ThreadID>:<Message>
Thefollowingparametersareused:

<Timestamp>
Thetimeofthemessageeventisdisplayedinthefollowingformat:
<month(3characters)><day><hour(124)>:<minute>:<second>
Forexample:Aug1914:20:30

<IP/Hostname>
Thehostnameisdisplayedwhenconfigured.
Forexample:1.1.1.1

<LogLabel>
Thefollowingtypesoflogmessagesarerecorded:LOG_CRIT,LOG_WARNING,
LOG_ALERT,LOG_ERR,LOG_NOTICEandLOG_INFO.

<ThreadID>
Thisisthesoftwarethreadthatreportsthelogmessage.
Forexample:
stg,ip,console,telnet,vrrp,system,webserver,ssh,bgp

<Message>:Thelogmessage

Followingisalistofpotentialsyslogmessages.Tokeepthislistasshortas
possible,onlythe<ThreadID>and<Message>areshown.Themessagesaresorted
by<LogLabel>.
Wherethe<ThreadID>islistedasmgmt,oneofthefollowingmaybeshown:
console,telnet,webserverorssh.

Copyright Lenovo 2015

637

LOG_ALERT
Thread

LOG_ALERT Message

Possiblebufferoverrunattackdetected!
BGP

sessionwith<IP address>failed(badevent:<event>)

BGP

sessionwith<IP address>failed<reason>
Reasons:

BGP

ConnectRetryExpire
HoldtimeExpire
Invalid
KeepaliveExpire
ReceiveKEEPALIVE
ReceiveNOTIFICATION
ReceiveOPEN

ReceiveUPDATE
Start
Stop
TransportConnClosed
TransportConnFailed
TransportConnOpen
TransportFatalError

sessionwith<IP address>failed<reasontype>:<reason>
ReasonTypes:
FSMError
HoldTimerExpired
MessageHeaderError

OPENMessageError
UPDATEMessageError

Reasons:

638

ASRoutingLoop
AttrFlagsError
AttrLengthError
AuthFailure
BadBGPIdentifier
BadHoldTime
BadLength
BadPeerAS
BadType
ConnNotSynced
InvalidNetworkField

InvalidNEXTHOPAttr
InvalidORIGINAttr
MalformedAS_PATH
MalformedAttrList
MissingWellKnownAttr
None
OptionalAttrError
UnrecognizedWellKnown
Attr
UnsupportedOptParam
UnsupportedVersion

HOTLINKS

LACPtrunk<trunk ID>and<trunk ID>formedwithadminkey


<key>

IP

cannotcontactdefaultgateway<IP address>

IP

cannotcontact{MGTA|MGTB}portdefaultgateway<IPaddress>

IP

DynamicRoutingtableisfull

IP

Routetablefull

MGMT

Maximumnumberofloginfailures(<threshold>)hasbeen
exceeded.

G8052 Command Reference for N/OS 8.3

Copyright Lenovo 2015

Thread

LOG_ALERT Message (continued)

oflow

SwitchisconfiguredtofunctioninOpenflowMode

oflow

SwitchisconfiguredtofunctioninNormalMode

oflow

WARNING!WithOpenflowenabled,Switchlegacyfeaturesare
restrictedonOpenflowports

oflow

WARNING!UnderHybridMode,functionalityofthefollowing
featuresarenotsupportedACL,VNIC,VMREADY,FCOE,IPv6,
IPMCOPT,ECN

oflow

WARNING!withOpenflowenabled,Switchlegacyfeaturesare
notsupported

oflow

OpenflowInstance<x>disabled

oflow

OpenflowInstance<x>deleted

oflow

OpenflowInstance<x>:NoControllerAvailableforConnection

oflow

OpenflowInstance<x>:FailedtoreceiveHelloMessagefrom
Controller<y>A.B.C.D

oflow

OpenflowInstance<x>:ConnectionstoppedwithController<y>
A.B.C.D

oflow

OpenflowInstance<x>:VersionNegotiationFailedwith
Controller<y>A.B.C.D

oflow

OpenflowInstance<x>:ConnectionestablishedwithController
<y>A.B.C.D

oflow

OpenflowInstance<x>:port<z>administrativelydisabledby
controller

oflow

OpenflowInstance<x>:port<z>administrativelyenabledby
controller

oflow

OpenflowInstance<x>MaximumpermittedmulticastFDBflows
reached

oflow

OpenflowInstance<x>MaximumpermittedunicastFDBflows
reached

oflow

OpenflowInstance<x>MaximumpermittedACLflowsreached

oflow

FDBtablefull.CouldnotaddFDBentrytoOpenflowFlowTable

oflow

ACLtablefull.CouldnotaddACLentryforOpenflowFlow
Table

oflow

Openflowstatisticsclearedforallinstances

oflow

Openflowinstance<x>Openflowstatisticscleared

oflow

Openflowinstance<x>Memorynotavailable.Couldnotmodify
flowentryinOpenflowFlowTable

Appendix A: Lenovo N/OS System Log Messages

639

640

Thread

LOG_ALERT Message (continued)

oflow

Openflowinstance<x>FlowLimitreached.Couldnotperform
Flowmodrequest

oflow

OpenflowInstance<x>,changeDPIDfrom<0xAAAAA>to
<0xBBBBB>

oflow

Memorynotavailable.Couldnotaddflowentry

oflow

FlowLimitreached.CouldnotaddFlowentrytoFlowTable

oflow

Openflowdynamictableclearedforallinstances

oflow

Openflowdynamictableclearedforinstance<x>

oflow

Openflowstatictableclearedforallinstances

oflow

Openflowstatictableclearedforinstance<x>

oflow

Openflowalltablesclearedforallinstances

oflow

Openflowalltablesclearedforinstance<x>

OSPF

InterfaceIP<IP address>,InterfaceState{Down|Loopback|
Waiting|P To P|DR|BackupDR|DR Other}:Interfacedown
detached

OSPF

LSDatabasefull:likelyincorrect/missingroutesorfailed
neighbors

OSPF

NeighborRouterID<router ID>,NeighborState{Down|
Attempt|Init|2 Way|ExStart|Exchange|Loading|Full|
Loopback|Waiting|P To P|DR|BackupDR|DROther}

OSPF

OSPFRoutetablefull:likelyincorrect/missingroutes

RMON

Event.<description>

STP

CISTnewrootbridge

STP

CISTtopologychangedetected

STP

CIST,interfaceport<port>[movedinto|leavefrom]
loopinconsistentstate

STP

CIST,interfaceport<port>[movedinto|leavefrom]
rootinconsistentstate

STP

STG<STG>,interfaceport<port>[movedinto|leavefrom]
loopinconsistentstate

STP

STG<STG>,interfaceport<port>[movedinto|leavefrom]
rootinconsistentstate

STP

STG<STG>,newrootbridge

STP

STG<STG>,topologychangedetected

STP

ToomanyBPDUsfloodedinVLAN<VLAN>.Someofthemwill
bediscarded!

G8052 Command Reference for N/OS 8.3

Copyright Lenovo 2015

Thread

LOG_ALERT Message (continued)

SYSTEM

IngressPVST+BPDUsspottedfromport<port>

SYSTEM

LACPtrunk<trunk ID>and<trunk ID>formedwithadminkey


<key>

VLAG

vLAGHealthcheckisDown

VLAG

vLAGHealthcheckisUp

VLAG

vLAGISLisdown

VLAG

vLAGISLisup

VLAG

vLAGonLACPkey<key>is[up|down]

VLAG

vLAGonportchannel<trunkID>is[up|down]

VRRP

Received<x>virtualroutersinsteadof<y>

VRRP

receivederroredadvertisementfrom<IP address>

VRRP

receivedincorrectaddressesfrom<IP address>

VRRP

receivedincorrectadvertisementinterval<interval>from
<IP address>

VRRP

receivedincorrectVRRPadvertypefrom<IP address>

VRRP

receivedincorrectVRRPauthenticationtypefrom<IP address>

VRRP

receivedincorrectVRRPpasswordfrom<IP address>

VRRP

VRRP:receivedincorrectIPaddresseslistfrom<IP address>

Appendix A: Lenovo N/OS System Log Messages

641

LOG_CRIT

642

Thread

LOG_CRIT Message

SSH

cantallocatememoryinload_MP_INT()

SSH

currentlynotenoughresourceforloadingRSA{private|public
key}

SYSTEM

FanMod{1|2|3|4}Installed

SYSTEM

FanMod{1|2|3|4}Removed

SYSTEM

PowerMod{1|2}Installed

SYSTEM

PowerMod{1|2}Removed

SYSTEM

Systemmemoryisat<n>percent

G8052 Command Reference for N/OS 8.3

LOG_ERR

Copyright Lenovo 2015

Thread

LOG_ERR Message

CFG

CantassignaportwithsameprotocoltodifferentVLANs.

CFG

ConfigurationfileisEMPTY

CFG

Configurationistoolarge

CFG

DefaultVLANandmanagementVLANcannotbe
privateVLANs.

CFG

ErrorwritingactiveconfigtoFLASH!Anothersaveisinprogress

CFG

ErrorwritingactiveconfigtoFLASH!Configurationistoolarge

CFG

ErrorwritingactiveconfigtoFLASH!Unknownerror

CFG

ERROR:Cannotenable/disableRMONforMgmtPort<port>

CFG

ERROR:Morethan<maximum>VLAN(s)indownstream

CFG

Maximumallowednumber(30)ofAlarmgroupshavealready
beencreated.

CFG

Maximumallowednumber(30)ofEventgroupshavealready
beencreated.

CFG

Maximumallowednumber(5)ofHistorygroupshavealready
beencreated.

CFG

Needtoenableportstagfortaggingpvlan.

CFG

Overflow!Porthasmorethan16protocols.

CFG

Portisnotforthisprotocol.

CFG

Switchremportfailswhendisable{protocol|vlan}.

CFG

TFTP{Copy|cfgRcv}attemptingtoredirectapreviously
redirectedoutput

CFG

WARN:HavenotdefinedprotocoltypeforVLAN<VLAN>
Protocol<protocol>!

DCBX

DuplicateDCBXVNICSubTLVdetectedonport<port>

ETS

TheinternalCOS7isusedforstackcommunication;hencetheETS
prioritygroup7isnotavailable.

IP6

EXCEPTIONALCASETryingtocreateIP6Interfaceafterthe
Ip6Shutdown

IP6

Ip6SetAddr(failed):if=<interface>,rc=<reasoncode>

IP6

IPv6routetablefull

Appendix A: Lenovo N/OS System Log Messages

643

Thread

LOG_ERR Message (continued)

IP6

ipv6_add_interface_immediate:BufferNonLinearfor
ip6_cfa_params

IP6

ipv6_add_nbrcache_immediate:BufferNonLinearfor
ip6_cfa_params

IP6

ipv6_add_prefix_immediate:BufferNonLinearfor
ip6_cfa_params

IP6

ipv6_rem_prefix_immediate:BufferNonLinearfor
ip6_cfa_params

IP6

ipv6_rem_route_immediate:BufferNonLinearfor
ip6_cfa_params

IP6

ipv6_vlan_change_immediate:BufferNonLinearfor
ip6_cfa_params

LLDP

Error:Port<port>hasthePVID<PVID>thatisdifferentfromthe
PVID<PVID>configuredonthepeer

LLDP

Port<port>:Cannotaddnewentry.MSAPdatabaseisfull!

MGMT

Applyisissuedbyanotheruser.Trylater

MGMT

CriticalError.FailedtoaddInterface<interface>

MGMT

CriticalError.Failedto{add|attach}LoopbackInterface
<interface>

MGMT

CriticalErro.FailedtodetachLoopbackInterface<interface>

MGMT

CriticalErro.FailedtodetachLoopbackInterface<interface>
rc=<reasoncode>

MGMT

Diffisissuedbyanotheruser.Trylater

MGMT

Dumpisissuedbyanotheruser.Trylater

MGMT

Error:Applynotdone

MGMT

Error:Savenotdone.

MGMT

Firmwaredownloadfailed(insufficientmemory)

MGMT

RevertApplyisissuedbyanotheruser.Trylater

MGMT

Revertisissuedbyanotheruser.Trylater.

MGMT

Saveisissuedbyanotheruser.Trylater

NTP

unabletolistentoNTPport

PFC

PFCcanbeenabledon2prioritiesonlypriority3andoneother
priority.

PORT_MIRR ERROR:Managementport<port>cannotbeamirroredport

644

G8052 Command Reference for N/OS 8.3

Copyright Lenovo 2015

Thread

LOG_ERR Message (continued)

RMON

Maximum{Alarm|Event|History}groupsexceededwhentrying
toaddgroup<group>viaSNMP

STP

Cannotset{HelloTime|MaxAge|ForwardDelay|Aging}
(SwitchisinMSTPmode)

SYSTEM

Error:BOOTPOfferwasfoundincompatiblewiththeotherIP
interfaces

SYSTEM

Error:DHCPOfferwasfoundinvalidbyipconfiguration
checking;pleaseseesystemlogfordetails.

SYSTEM

I2Cdevice<ID><description>settoaccessstate<state>[fromCLI]

SYSTEM

Notenoughmemory!

SYSTEM

Port<port>disabled.Linkparams(speed/mode)mismatchwith
<trunkname><trunkID>

SYSTEM

Port<port>disabled.SameLACPadmin_keywithport
PORT_INT_<port>rentlinkparams(speed/mode)

SYSTEM

{PortChannel|Trunkgroup}creationfailedfor{IntPortChannel|
PortChannel|InternalTrunkgroup|Trunkgroup}<trunkID>.
Only<maximumtrunks>{PortChannels|Trunkgroups}supported
byhardware.

VRRP

VirtualRouterGroupisdisabledduetonoenabledvirtual
routers.

Appendix A: Lenovo N/OS System Log Messages

645

LOG_INFO
Thread

LOG_INFO Message

Systemlogclearedbyuser<username>.
SystemlogclearedviaSNMP.

646

HOTLINKS

Errorissetto{Active|Standby}

HOTLINKS

Learningissetto{Active|Standby}

HOTLINKS

Noneissetto{Active|Standby}

HOTLINKS

SideMaxissetto{Active|Standby}

HOTLINKS

hasno{SideMax|None|Learning|Error}interface

MGMT

/*Configchangesat<time>by<username>*/<configdiff>/*Done*/

MGMT

<username>ejectedfromBBI

MGMT

<username>(<usertype>){logout|ejected|idletimeout|connection
closed}from{Console|Telnet/SSH}

MGMT

<username>(<usertype>)login{onConsole|fromhost<IP address>}

MGMT

bootimagechanged

MGMT

bootkerneldownloadcompleted.Nowwritingtoflash.

MGMT

bootkerneldownloaded{fromhost<hostname>|viabrowser},
filenametoolongtobedisplayed,softwareversion<version>

MGMT

bootkerneldownloadedfromhost<hostname>,file<filename>,
softwareversion<version>

MGMT

bootkernelFirmwareuploaded.

MGMT

bootkernelFirmwareuploadfailed.

MGMT

Cantdowngradetoimagewithonlysingleflashsupport

MGMT

Couldnotrevertunsavedchanges

MGMT

Downloadalreadycurrentlyinprogress.Tryagainlatervia
{Browser|BBI}

MGMT

Error:StaticFDBentryoninexistentVLAN

MGMT

Errorinsettingthenewconfig

MGMT

Failedtoallocatebufferfordifftrack.

MGMT

Firmwaredownloadfailedto{invalidimage|image1|image2|
bootkernel|undefined|SPbootkernel}

MGMT

Firmwaredownloadedto{invalidimage|image1|image2|boot
kernel|undefined|SPbootkernel}.

G8052 Command Reference for N/OS 8.3

Copyright Lenovo 2015

Thread

LOG_INFO Message (continued)

MGMT

Flashdumpfailed

MGMT

Flashdumpsuccessfullytftpdto<hostname>:<filename>

MGMT

FLASHERRORinvalidaddressused

MGMT

FlashReadError.Failedtoreadflashintoholdingstructure.
Quitting

MGMT

FlashWriteError

MGMT

FlashWriteError.Failedtoallocatebuffer.Quitting

MGMT

FlashWriteError.Tryingagain

MGMT

image1|2downloadcompleted.Nowwritingtoflash.

MGMT

image1|2downloaded{fromhost<hostname>|viabrowser},
filenametoolongtobedisplayed,softwareversion<version>

MGMT

image1|2downloadedfromhost<hostname>,file<filename>,
softwareversion<version>

MGMT

image1|2Firmwareuploaded.

MGMT

image1|2Firmwareuploadfailed.

MGMT

Incorrectimagebeingloaded

MGMT

Invaliddifftrackaddress.Continuingwithapply()

MGMT

Invalidimagebeingloadedforthisswitchtype

MGMT

invalidimagedownloadcompleted.Nowwritingtoflash.

MGMT

invalidimagedownloaded{fromhost<hostname>|viabrowser},
filenametoolongtobedisplayed,softwareversion<version>

MGMT

invalidimagedownloadedfromhost<hostname>,file<filename>,
softwareversion<version>

MGMT

invalidimageFirmwareuploaded.

MGMT

invalidimageFirmwareuploadfailed.

MGMT

NETBOOT:Configsuccessfullydownloadedandappliedfrom
<hostname>:<filename>

MGMT

Newconfigset

MGMT

newconfigurationapplied[fromBBI|EM|SCP|SNMP]

MGMT

newconfigurationsavedfrom{BBI|ISCLI|SNMP}

MGMT

Revertfailed:configurationisdumpedormodifiedbyanother
user.

MGMT

scp<username>(<usertype>){logout|ejected|idletimeout|
connectionclosed}from{Console|Telnet/SSH}

Appendix A: Lenovo N/OS System Log Messages

647

648

Thread

LOG_INFO Message (continued)

MGMT

scp<username>(<usertype>)login{onConsole|fromhost
<IP address>}

MGMT

SPbootkerneldownloadcompleted.Nowwritingtoflash.

MGMT

SPbootkerneldownloaded{fromhost<hostname>|viabrowser},
filenametoolongtobedisplayed,softwareversion<version>

MGMT

SPbootkerneldownloadedfromhost<hostname>,file<filename>,
softwareversion<version>

MGMT

SPbootkernelFirmwareuploaded.

MGMT

SPbootkernelFirmwareuploadfailed.

MGMT

StartingFirmwaredownloadfor{invalidimage|image1|image2|
bootkernel|undefined|SPbootkernel}.

MGMT

StaticFDBentryondisabledVLAN

MGMT

StaticFDBentryoninvalidVLAN

MGMT

Techsupportdumpfailed

MGMT

Techsupportdumpsuccessfullytftpdto<hostname>:<filename>

MGMT

TwoPhaseApplyFailedinCreatingBackupConfigBlock.

MGMT

Unabletodorevertapply.ThecurrentconfigurationisinISCLI
format,itneedstobesavedinLenovoOSformat.

MGMT

undefineddownloadcompleted.Nowwritingtoflash.

MGMT

undefineddownloaded{fromhost<hostname>|viabrowser},
filenametoolongtobedisplayed,softwareversion<version>

MGMT

undefineddownloadedfromhost<hostname>,file<filename>,
softwareversion<version>

MGMT

undefinedFirmwareuploaded.

MGMT

undefinedFirmwareuploadfailed.

MGMT

unsavedchangesreverted[fromBBI|fromSNMP]

MGMT

UnsupportedGBIC{accepted|refused}

MGMT

user{SNMPuser|<username>}ejectedfromBBI

MGMT

Watchdoghasbeen{enabled|disabled}

MGMT

Watchdogtimeoutintervalisnow<seconds>seconds)

MGMT

Wrongconfigfiletype

NETCONF

<username>(<userlevel>)connectionclosedfromaddressvia
NETCONFover<connectiontype>

G8052 Command Reference for N/OS 8.3

Copyright Lenovo 2015

Thread

LOG_INFO Message (continued)

NETCONF

<username>(<userlevel>)loginfromhost<IPaddress>via
NETCONFover<connectiontype>

oflow

OpenFlow<OpenFlowID>:Connectionestablishedwithcontroller
<14><IPaddress>

oflow

OpenflowStatisticsCleared

oflow

OpenflowFlowtableCleared

oflow

OpenFlow<OpenFlowID>:Connectionlostwithcontroller<14>
<IPaddress>

RMON

RMON{alarm|event|history}index<ID>wasdeletedviaSNMP

RMON

SNMPconfigurationforRMON{alarm|event|history}index
<ID>applied

SSH

<username>(<usertype>){logout|ejected|idletimeout|connection
closed}from{Console|Telnet/SSH}

SSH

<username>(<usertype>)login{onConsole|fromhost<IP address>}

SSH

Errorinsettingthenewconfig

SSH

Newconfigset

SSH

scp<username>(<usertype>){logout|ejected|idletimeout|
connectionclosed}from{Console|Telnet/SSH}

SSH

scp<username>(<usertype>)login{onConsole|fromhost
<IP address>}

SSH

serverkeyautogen{starts|completes}

SSH

Wrongconfigfiletype

SYSTEM

bootedversion<version>fromFlashimage<image>,{active|
backup|factory}configblock

Appendix A: Lenovo N/OS System Log Messages

649

LOG_NOTICE
Thread

LOG_NOTICE Message

<minutes>{minute|minutes}untilscheduledreboot
ARPtableisfull.
Currentconfigsuccessfullytftpd<filename>from<hostname>
Currentconfigsuccessfullytftpdto<hostname>:<filename>
ECMProuteconfigured,Gatewayhealthcheckenabled
MorethanonetrunkfoundforLACPadminkey<adminkey>.Static
MACentry<index>wasaddedonlytotrunk<trunknumber>.
NumberofCOSqshasbeenchangedsinceboot.Saveandresetthe
switchtoactivatethenewconfiguration.
Port<port>modeischangedtofullduplexfor1000Mbps
operation.
scheduledswitchreboot
switchresetat<time>hasbeencanceled
switchresetscheduledat<time>
Warning:DHCPonIF<interface>willbedisabled

650

8021X

Authenticationsessionterminatedwith{Failure|Success}onport
<port>

8021X

Couldnotcreatefailovercheckpointrecordforport<port>

8021X

Logoffrequestonport<port>

8021X

Port<port>{assignedto|removedfrom}vlan<VLAN>

8021X

Port<port>{assignedto|removedfrom}guestvlan<VLAN>

BGP

badauthenticationreceived/noauthenticationreceived/
authenticationreceiveerrorfrom<IP address>

BGP

sessionestablishedwith<IP address>

CONSOLE

RADIUS:authenticationtimeout.Retrying...

CONSOLE

RADIUS:failedtocontactprimary|secondaryserver

CONSOLE

RADIUS:NoconfiguredRADIUSserver

CONSOLE

RADIUS:tryingalternateserver...

HOTLINKS

ErrorissettoStandby|Active

HOTLINKS

LearningissettoStandby|Active

HOTLINKS

NoneissettoStandby|Active

G8052 Command Reference for N/OS 8.3

Copyright Lenovo 2015

Thread

LOG_NOTICE Message (continued)

HOTLINKS

SideMaxissettoStandby|Active

HOTLINKS

hasno{SideMax|None|Learning|Error}interface

IP

cannotcontactmulticastrouter<IP address>

IP

defaultgateway<IP address>{disabled|enabled|operational}

IP

EitherRouteorArptableisfull.PleasecheckGEAL3statistics
(/stat/l3/gea)toverify.

IP

IGMP{L3IPMC|L3IPv4Multicas|BackupUPgroups|Backup
DOWNgroups|IGMPgroups|IPMC}tableisfull!

IP

IGMPV1timerisrunningforgroup<IPaddress>,vlan<VLAN>[,
port<port>]Ignoredleave!

IP

L3tableisfull.PleasecheckGEAL3statistics(/stat/l3/gea)to
verify.

IP

{MGTA|MGTB}portdefaultgateway<IPaddress>operational

IP

mrouter<IPaddress>hasbeendisabledordeleted

IP

multicastrouter<IP address>operational

IP

OnVlan<VLAN>IGMPversionupdatedto<version>

IP

Received{IGMPv1|IGMPv2}queryfrom<IPaddress>

IP

VLAN<VLAN>isnotintheigmprelaylist.Mrouter<IPaddress>
willbedown

IP

Warning:DHCPonIF<interface>willbedisabled

IP

Warning:EnablingdhcpwilldeleteIPinterface<interface>andIP
gateway<gateway>sconfigurations.

IP

Warning:gateway(<gateway>)willbedeleted

LACP

Allsupportedtrunksalreadycreated.Port<port>willbedisabled
byLACP.

LACP

LACPis{up|down}onport<port>

LINK

link{down|up}onport<port>

LINK

Port<port>disabledbyBPDUGuard

LINK

Port<port>disabledbyPVSTProtection

MGMT

<username>automaticallyloggedoutfromBBIbecausechanging
ofauthenticationtype

MGMT

<username>(<usertype>){logout|ejected|idletimeout|connection
closed}from{BBI|Console|Telnet/SSH}

MGMT

<username>(<usertype>)login{onConsole|fromhost<IP address>|
fromBBI}
Appendix A: Lenovo N/OS System Log Messages

651

652

Thread

LOG_NOTICE Message (continued)

MGMT

ACL<oldnumber>fromoldconfigurationfilemovedtoACL
<new number>innewconfigurationfile

MGMT

Authenticationfailedforbackdoor.

MGMT

Authenticationfailedforbackdoor.Passwordincorrect!

MGMT

Authenticationfailedforbackdoor.Telnetdisabled!

MGMT

bootconfigblockchanged

MGMT

bootimagechanged

MGMT

bootmodechanged

MGMT

Bootprofilechanged

MGMT

enablepasswordchanged

MGMT

Errorinsettingthenewconfig

MGMT

Failedloginattemptvia{BBI|TELNET}fromhost<IP address>.

MGMT

FailedloginattemptviatheCONSOLE

MGMT

FLASHDumpclearedfromBBI

MGMT

Logmsgno.<x>

MGMT

MembershipforPort<port>invlan<VLAN>isnoteffectivewhile
theportisassignedwithPVID<PVID>by802.1x

MGMT

Newconfigset

MGMT

newconfigurationsavedfromISCLI

MGMT

packetbufferstatisticscleared

MGMT

PANICcommandfromCLI

MGMT

PASSWORDFIXUPMODEINUSE

MGMT

Passwordfor{oper|operator}changedby{SNMPuser|
<username>},notifyingadmintosave.

MGMT

Port<port>remainsuntaggedwhileitisassignedPVID<PVID>by
802.1x

MGMT

QSFP:Port<port>changedto{10G|40G},from{BBI|SNMP|CLI}.

MGMT

RADIUSservertimeouts

MGMT

RADIUS:authenticationtimeout.Retrying...

MGMT

RADIUS:failedtocontact{primary|secondary}server

MGMT

RADIUS:NoconfiguredRADIUSserver

MGMT

RADIUS:tryingalternateserver...

G8052 Command Reference for N/OS 8.3

Copyright Lenovo 2015

Thread

LOG_NOTICE Message (continued)

MGMT

scp<username>(<usertype>){logout|ejected|idletimeout|
connectionclosed}from{Console|Telnet/SSH}

MGMT

scp<username>(<usertype>)login{onConsole|fromhost
<IP address>}

MGMT

secondsysloghostchangedto{thishost|<IP address>}

MGMT

selectable[boot]modechanged

MGMT

STPBPDUstatisticscleared

MGMT

switchresetfromCLI

MGMT

sysloghostchangedto{thishost|<IP address>}

MGMT

Systemclocksetto<time>.

MGMT

Systemdatesetto<date>.

MGMT

TerminatingBBIconnectionfromhost<IP address>

MGMT

User<username>deletedby{SNMPuser|<username>}.

MGMT

User<username>is{deleted|disabled}andwillbeejectedby
{SNMPuser|<username>}

MGMT

User{oper|operator}isdisabledandwillbeejectedby{SNMP
user|<username>}.

MGMT

Wrongconfigfiletype

NETCONF

<username>(<userlevel>)connectionclosedfromaddressvia
NETCONFover<connectiontype>

NETCONF

<username>(<userlevel>)loginfromhost<IPaddress>via
NETCONFover<connectiontype>

NTP

Systemclockupdated

OSPF

NeighborRouterID<router ID>,NeighborState{Down|
Loopback|Waiting|P To P|DR|BackupDR|DROther|Attempt|
Init|2Way|ExStart|Exchange|Loading|Full}

OSPFV3

LinkstatedatabaseisFULL.IgnoringLSA.

OSPFV3

nbr<routerID>changesstatefrom{DOWN|ATTEMPT|INIT|
2WAY|EXSTART|EXCHANGE|LOADING|FULL}to{DOWN|
ATTEMPT|INIT|2WAY|EXSTART|EXCHANGE|LOADING|
FULL}[,NeighborDown:{Interfacedownordetached|Deadtimer
expired}]

OSPFV3

virtuallinknbr<routerID>changesstatefrom{DOWN|
ATTEMPT|INIT|2WAY|EXSTART|EXCHANGE|LOADING|
FULL}to{DOWN|ATTEMPT|INIT|2WAY|EXSTART|
EXCHANGE|LOADING|FULL}[,NeighborDown:{Interface
downordetached|Deadtimerexpired}]

Appendix A: Lenovo N/OS System Log Messages

653

654

Thread

LOG_NOTICE Message (continued)

SERVER

link{down|up}onport<port>

SSH

(remotedisconnectmsg)

SSH

<username>(<usertype>){logout|ejected|idletimeout|connection
closed}from{Console|Telnet/SSH}

SSH

<username>(<usertype>)login{onConsole|fromhost<IP address>}

SSH

Errorinsettingthenewconfig

SSH

FailedloginattemptviaSSH

SSH

Newconfigset

SSH

scp<username>(<usertype>){logout|ejected|idletimeout|
connectionclosed}from{Console|Telnet/SSH}

SSH

scp<username>(<usertype>)login{onConsole|fromhost
<IP address>}

SSH

Wrongconfigfiletype

SYSTEM

<SPFname>TXFault<SFPtype>isDISABLED

SYSTEM

<SPFname>UnApproved<SFPtype>isDISABLED

SYSTEM

<SFP type>insertedatport<port>isUNAPPROVED!Deviceis
DISABLED.

SYSTEM

Addressforinterface<interface>ignoredbecauseofmismatch.

SYSTEM

BOOTPOffer(continue):Domainname:<domain>

SYSTEM

BOOTPOffer(continue):Hostname:<host>

SYSTEM

BOOTPOffer(continue):PrimaryDNS:<IPaddress>,Secondary
DNS:<IP address>

SYSTEM

ChangefibreGIGport<port>modetofullduplex

SYSTEM

ChangefibreGIGport<port>speedto1000

SYSTEM

ChangedARPentryforIP<IP address>to:MAC<MACaddress>,
Port<port>,VLAN<VLAN>

SYSTEM

ECMProutegateway<IP address>is{down|up}

SYSTEM

EnableautonegotiationforcopperGIGport:<port>

SYSTEM

FanFault{Detected|Cleared}.Fan<fannumber>RPM<RPM
value>

SYSTEM

FanFailureWarningCleared

SYSTEM

I2Cdevice<ID><description>settoaccessstate<state>[fromCLI]

SYSTEM

L2tableisfull!

SYSTEM

Maskforinterface<interface>ignoredbecauseofmismatch.

G8052 Command Reference for N/OS 8.3

Thread

LOG_NOTICE Message (continued)

SYSTEM

****MAXTEMPERATURE(<temperature>)ABOVEFAILTHRESH
****

SYSTEM

****MAXTEMPERATURE(<temperature>)ABOVEWARN
THRESH****

SYSTEM

****PLATFORMTHERMALSHUTDOWN****

SYSTEM

Port<port>disabled

SYSTEM

Port<port>disabledbyOAM(unidirectional|TXRXLoop)

SYSTEM

Port<port>disabledbyUDLD(unknown|unidirectional|
bidirectional|TXRXloop|neighbormismatch)

SYSTEM

Port<port>disabledduetoreasoncode<reasoncode>

SYSTEM

PowerFault{Cleared|Detected}<number>

SYSTEM

PowerSupplyWarningCleared

SYSTEM

rebooted(<reason>)[,administratorloggedin]
Reason:

Copyright Lenovo 2015

Bootwatchdogreset
consolePANICcommand
consoleRESETKEY
hardresetbySNMP
hardresetbyWEBUI
hardresetfromconsole
hardresetfromTelnet
lowmemory
MMCycledPowerDomain
powercycle
ResetButtonwaspushed
resetbySNMP
resetbyWEBUI

resetfromconsole
resetfromEM
resetfromTelnet/SSH
scheduledreboot
SMS64foundanovervoltage
SMS64foundanundervoltage
softwareASSERT
softwarePANIC
softwareVERIFY
TelnetPANICcommand
unknownreason
watchdogtimer

SYSTEM

ReceivedBOOTPOffer:IP:<IP address>,Mask:<netmask>,
Broadcast<IP address>,GW:<IP address>

SYSTEM

ReceivedDHCPOffer:IP:<IPaddress>,Mask:<netmask>Broadcast
<IP address>,GW:<IPaddress>

SYSTEM

serverwithMACaddress<MACaddress>was{addedto|removed
from}network

SYSTEM

Staticroutegateway<IP address>is{down|up}

SYSTEM

Watchdogthresholdchangedfrom<oldvalue>to<newvalue>
seconds

SYSTEM

Watchdogtimerhasbeenenabled

TEAMING

error,actionisundefined
Appendix A: Lenovo N/OS System Log Messages

655

656

Thread

LOG_NOTICE Message (continued)

TEAMING

isdown,butteardownisblocked

TEAMING

isdown,controlportsareautodisabled

TEAMING

isup,controlportsareautocontrolled

VLAN

DefaultVLANcannotbedeleted

VM

<IPaddress>movedfrom{port<port>|trunkIT<trunkID>}to{port
<port>|trunkIT<trunkID>}

VM

MACaddress<MACaddress>movedfrom{port<port>|trunkIT
<trunkID>}to{port<port>|trunkIT<trunkID>}

VM

[(Refresh)]VIserverunreachableorcertificateinvalid.

VM

VirtualMachinewith{IPaddress<IPaddress>|MACaddress
<MAC address>}cameonline

VM

VirtualMachinewith{IPaddress<IPaddress>|MACaddress
<MACaddress>}changeditsVLANto<newVLAN>.Itwas
previouslyinVLAN<oldVLAN>

VM

VirtualMachinewith{IPaddress<IPaddress>|MACaddress
<MAC address>}isamemberofVLAN<VLAN>

VM

VirtualMachinewith{IPaddress<IPaddress>|MACaddress
<MAC address>}isnotinVLAN<VLAN>anymore

VM

[(Refresh)]VMagentcommandnotimplemented.

VM

[(Refresh)]VMagentcouldnotbestarted.

VM

[(Refresh)]VMagentcouldnotlogintoserver.

VM

[(Refresh)]VMagentcouldnotretrieve{host|VM}properties.

VM

[(Refresh)]VMagentencounteredafileerror.

VM

[(Refresh)]VMagentencounteredanIPCerror.

VM

[(Refresh)]VMagentfileerror.

VM

[(Refresh)]VMAgentnotactive.

VM

[(Refresh)]VMagentoperationfailedduetoaconflict.

VM

[(Refresh)]VMagentoperationfailed.

VM

[(Refresh)]VMagentoperationneedsnochange.

VM

[(Refresh)]VMagentoperationtimedout.

VM

[(Refresh)]VMagentprotocolerror.

VM

VMagentresumed(Refresh).

VM

VMagentresumed(Scan).

VM

[(Refresh)]VMagenttimedoutandcouldnotbestopped.

G8052 Command Reference for N/OS 8.3

Copyright Lenovo 2015

Thread

LOG_NOTICE Message (continued)

VM

[(Refresh)]VMagenttimedout.

VM

[(Refresh)]VMagentunabletologoutfromserver.

VM

[(Refresh)]VMagentunknownerror.

VM

[(Refresh)]VMagentVElimitreached.

VM

[(Refresh)]VMagent:InvalidID.

VM

VMagent:localtablefull.

VM

VMMAC<MACaddress>NOTaddedtohashtable

VM

VMmovedetectedbutfailedtomovenetworkconf

VRRP

virtualrouter<IP address>isnow{BACKUP|MASTER}

WEB

<username>ejectedfromBBI

WEB

<username>ejectedfromBBIbecauseusernamepasswordwas
changed

WEB

RSAhostkeyisbeingsavedtoFlashROM,pleasedontrebootthe
boximmediately.

Appendix A: Lenovo N/OS System Log Messages

657

LOG_WARNING
Thread

LOG_WARNING Message

ChangingnumcossetsupthedefaultCOSqconfiguration.Please
seediff.
StaticIPMCroutegroup<groupnumber>onvlan<VLAN>
[primary|backup]hasbeenconvertedtoahostroutegroup
becauseIGMPsnoopingisenabled.

658

8021X

RADIUSserver<IP address>authresponseforport<port>hasan
invalidTunnelTypevalue(<tunnel type>);shouldbe13forVLAN
assignment

8021X

RADIUSserver<IP address>authresponseforport<port>hasan
invalidTunnelMediumTypevalue(<tunnel type>);shouldbe6
forVLANassignment

8021X

RADIUSserver<IP address>authresponseforport<port>is
missingoneormoretunnelingattributesforVLANassignment

8021X

RADIUSserver<IP address>authresponsehasaVLANid
(<VLAN>)ofareservedVLANandcannotbeassignedtoport
<port>

8021X

RADIUSserver<IP address>authresponsehasaVLANid
(<VLAN>)ofanonexistentordisabledVLAN,andcannotbe
assignedtoport<port>

8021X

RADIUSserver<IP address>authresponsehasaninvalidVLAN
id(<VLAN>)andcannotbeassignedtoport<port>

CFG

AuthenticationshouldbedisabledtorunRIPv2inRIPv1
compatibilitymodeoninterface<interface>.

CFG

Configured{sip|dip|protocol|tcpl4|udpl4|port|dport}hashing
withouttcpl4orudpl4.{sip|dip|protocol|tcpl4|udpl4|port|
dport}hashingwillbeignored!

CFG

Configured{sip|dip|protocol|tcpl4|udpl4|port|dport}hashing
withoutsportordport.{sip|dip|protocol|tcpl4|udpl4|port|
dport}hashingwillbeignored!

CFG

MulticastshouldbedisabledtorunRIPv2inRIPv1compatibility
modeoninterface<interface>.

CFG

StaticIPMCroutegroup<IPaddress>onVLAN<VLAN>
[primary|backup]hasbeenconvertedtoahostroutegroup
becauseIGMPsnoopingisenabled.

CFG

Switchcannotsupportmorethan16protocolssimultaneously!

CFG

Trunkhashchanged,DataplaneL3hashincludesconfigured
TrunkhashandECMPhash

CFG

Unfitconfigexistswhenprotocolvlanapply.

G8052 Command Reference for N/OS 8.3

Copyright Lenovo 2015

Thread

LOG_WARNING Message (continued)

ETS

ETSprohibitsaPGcomprisingofPFCandnonPFCtraffic.
MixinginthesamePGdifferentPFCsettingsmayaffectthe
switchfunctionality.

HOTLINKS

ErrorissettoStandby|Active

HOTLINKS

LearningissettoStandby|Active

HOTLINKS

NoneissettoStandby|Active

HOTLINKS

SideMaxissettoStandby|Active

HOTLINKS

hasno{SideMax|None|Learning|Error}interface

IP

<IP address>configuredasV<version>andreceivedIGMPV{1|2}
query

IP

IGMP:Querier{disabled|enabled}onVLAN<VLAN>

IP

IGMP:SwitchQuerier{disabled|enabled}onVLAN<VLAN>

IP

IGMP:Switch{became|isnolonger}aQuerierforVLAN<VLAN>

IP

IGMP:Switchis[not]electedasQuerierforVLAN<VLAN>

IP

IGMP:SwitchQuerierelectionprocessstartedforVLAN<VLAN>

IP

IGMP:SwitchQuerierelectiontypechangedforVLAN<VLAN>

IP

IGMP:WarningQuerierSourceIPisnotconfiguredonVLAN
<VLAN>QuerieswithSourceIPZeromaybeignoredinQuerier
electionprocess.

IP

IGMP:WarningSnoopingisnotenabledonVLAN<VLAN>,
Querierconfiguredonlytosendqueries.

IP

NewMulticastrouterlearnedon<IPaddress>,VLAN<VLAN>,
Version{V1|V2|V3}

IP

OnVLAN<VLAN>IGMPversionupdatedtoIGMPv3

NTP

cannotcontactanyNTPserver

NTP

cannotcontactNTPserver<IP address>{Mgmt|Extmgt}port
unavailable

NTP

cannotcontact[primary|secondary]NTPserver<IP address>

SYSTEM

I2Cdevice<ID><description>settoaccessstate<state>[fromCLI]

SYSTEM

Interface<interface>failedtorenewDHCPLease.

TEAMING

error,actionisundefined

TEAMING

isdown,butteardownisblocked

TEAMING

isdown,controlportsareautodisabled

TEAMING

isup,controlportsareautocontrolled

Appendix A: Lenovo N/OS System Log Messages

659

660

G8052 Command Reference for N/OS 8.3

Appendix B. Getting help and technical assistance


Ifyouneedhelp,serviceortechnicalassistance,orjustwantmoreinformation
aboutLenovoproducts,youwillfindawidevarietyofsourcesavailablefrom
Lenovotoassistyou.
UsethisinformationtoobtainadditionalinformationaboutLenovoandLenovo
products,anddeterminewhattodoifyouexperienceaproblemwithyourLenovo
systemoroptionaldevice.
Note: ThissectionincludesreferencestoIBMwebsitesandinformationabout
obtainingservice.IBMisLenovospreferredserviceproviderfortheSystemx,Flex
System,andNeXtScaleSystemproducts.
Beforeyoucall,makesurethatyouhavetakenthesestepstotrytosolvethe
problemyourself.
IfyoubelievethatyourequirewarrantyserviceforyourLenovoproduct,the
servicetechnicianswillbeabletoassistyoumoreefficientlyifyoupreparebefore
youcall.

Copyright Lenovo 2015

Checkallcablestomakesurethattheyareconnected.

Checkthepowerswitchestomakesurethatthesystemandanyoptional
devicesareturnedon.

Checkforupdatedsoftware,firmware,andoperatingsystemdevicedriversfor
yourLenovoproduct.TheLenovoWarrantytermsandconditionsstatethat
you,theowneroftheLenovoproduct,areresponsibleformaintainingand
updatingallsoftwareandfirmwarefortheproduct(unlessitiscoveredbyan
additionalmaintenancecontract).Yourservicetechnicianwillrequestthatyou
upgradeyoursoftwareandfirmwareiftheproblemhasadocumentedsolution
withinasoftwareupgrade.

Ifyouhaveinstallednewhardwareorsoftwareinyourenvironment,checkthe
IBMServerProvenwebsitetomakesurethatthehardwareandsoftwareis
supportedbyyourproduct.

GototheIBMSupportportaltocheckforinformationtohelpyousolvethe
problem.

Gatherthefollowinginformationtoprovidetotheservicetechnician.Thisdata
willhelptheservicetechnicianquicklyprovideasolutiontoyourproblemand
ensurethatyoureceivethelevelofserviceforwhichyoumighthavecontracted.

HardwareandSoftwareMaintenanceagreementcontractnumbers,if
applicable

Machinetypenumber(Lenovo4digitmachineidentifier)

Modelnumber

Serialnumber

CurrentsystemUEFIandfirmwarelevels

Otherpertinentinformationsuchaserrormessagesandlogs

661

Starttheprocessofdeterminingasolutiontoyourproblembymakingthe
pertinentinformationavailabletotheservicetechnicians.TheIBMservice
technicianscanstartworkingonyoursolutionassoonasyouhavecompleted
andsubmittedanElectronicServiceRequest.

Youcansolvemanyproblemswithoutoutsideassistancebyfollowingthe
troubleshootingproceduresthatLenovoprovidesintheonlinehelporinthe
Lenovoproductdocumentation.TheLenovoproductdocumentationalso
describesthediagnosticteststhatyoucanperform.Thedocumentationformost
systems,operatingsystems,andprogramscontainstroubleshootingprocedures
andexplanationsoferrormessagesanderrorcodes.Ifyoususpectasoftware
problem,seethedocumentationfortheoperatingsystemorprogram.

662

G8052 Command Reference for N/OS 8.3

Appendix C. Notices
Lenovomaynotoffertheproducts,services,orfeaturesdiscussedinthis
documentinallcountries.ConsultyourlocalLenovorepresentativefor
informationontheproductsandservicescurrentlyavailableinyourarea.
AnyreferencetoaLenovoproduct,program,orserviceisnotintendedtostateor
implythatonlythatLenovoproduct,program,orservicemaybeused.Any
functionallyequivalentproduct,program,orservicethatdoesnotinfringeany
Lenovointellectualpropertyrightmaybeusedinstead.However,itistheusers
responsibilitytoevaluateandverifytheoperationofanyotherproduct,program,
orservice.
Lenovomayhavepatentsorpendingpatentapplicationscoveringsubjectmatter
describedinthisdocument.Thefurnishingofthisdocumentdoesnotgiveyouany
licensetothesepatents.Youcansendlicenseinquiries,inwriting,to:
Lenovo(UnitedStates),Inc.
1009ThinkPlaceBuildingOne
Morrisville,NC27560
U.S.A.
Attention:LenovoDirectorofLicensing
LENOVOPROVIDESTHISPUBLICATIONASISWITHOUTWARRANTYOF
ANYKIND,EITHEREXPRESSORIMPLIED,INCLUDING,BUTNOTLIMITED
TO,THEIMPLIEDWARRANTIESOFNONINFRINGEMENT,
MERCHANTABILITYORFITNESSFORAPARTICULARPURPOSE.Some
jurisdictionsdonotallowdisclaimerofexpressorimpliedwarrantiesincertain
transactions,therefore,thisstatementmaynotapplytoyou.
Thisinformationcouldincludetechnicalinaccuraciesortypographicalerrors.
Changesareperiodicallymadetotheinformationherein;thesechangeswillbe
incorporatedinneweditionsofthepublication.Lenovomaymakeimprovements
and/orchangesintheproduct(s)and/ortheprogram(s)describedinthis
publicationatanytimewithoutnotice.
Theproductsdescribedinthisdocumentarenotintendedforuseinimplantation
orotherlifesupportapplicationswheremalfunctionmayresultininjuryordeath
topersons.Theinformationcontainedinthisdocumentdoesnotaffectorchange
Lenovoproductspecificationsorwarranties.
Nothinginthisdocumentshalloperateasanexpressorimpliedlicenseor
indemnityundertheintellectualpropertyrightsofLenovoorthirdparties.All
informationcontainedinthisdocumentwasobtainedinspecificenvironmentsand
ispresentedasanillustration.Theresultobtainedinotheroperatingenvironments
mayvary.
Lenovomayuseordistributeanyoftheinformationyousupplyinanywayit
believesappropriatewithoutincurringanyobligationtoyou.
AnyreferencesinthispublicationtononLenovoWebsitesareprovidedfor
convenienceonlyanddonotinanymannerserveasanendorsementofthoseWeb
sites.ThematerialsatthoseWebsitesarenotpartofthematerialsforthisLenovo
product,anduseofthoseWebsitesisatyourownrisk.

Copyright Lenovo 2015

663

Anyperformancedatacontainedhereinwasdeterminedinacontrolled
environment.Therefore,theresultobtainedinotheroperatingenvironmentsmay
varysignificantly.Somemeasurementsmayhavebeenmadeon
developmentlevelsystemsandthereisnoguaranteethatthesemeasurementswill
bethesameongenerallyavailablesystems.Furthermore,somemeasurements
mayhavebeenestimatedthroughextrapolation.Actualresultsmayvary.Usersof
thisdocumentshouldverifytheapplicabledatafortheirspecificenvironment.

664

G8052 Command Reference for N/OS 8.3

Trademarks
Lenovo,theLenovologo,FlexSystem,Systemx,NeXtScaleSystem,and
XArchitecturearetrademarksofLenovointheUnitedStates,othercountries,or
both.
IntelandIntelXeonaretrademarksofIntelCorporationintheUnitedStates,other
countries,orboth.
InternetExplorer,Microsoft,andWindowsaretrademarksoftheMicrosoftgroup
ofcompanies.
LinuxisaregisteredtrademarkofLinusTorvalds.
Othercompany,product,orservicenamesmaybetrademarksorservicemarksof
others.

Copyright Lenovo 2015

Appendix C: Notices

665

Important Notes
Processorspeedindicatestheinternalclockspeedofthemicroprocessor;other
factorsalsoaffectapplicationperformance.
CDorDVDdrivespeedisthevariablereadrate.Actualspeedsvaryandareoften
lessthanthepossiblemaximum.
Whenreferringtoprocessorstorage,realandvirtualstorage,orchannelvolume,
KBstandsfor1024bytes,MBstandsfor1048576bytes,andGBstandsfor1073
741824bytes.
Whenreferringtoharddiskdrivecapacityorcommunicationsvolume,MBstands
for1000000bytes,andGBstandsfor1000000000bytes.Totaluseraccessible
capacitycanvarydependingonoperatingenvironments.
Maximuminternalharddiskdrivecapacitiesassumethereplacementofany
standardharddiskdrivesandpopulationofallharddiskdrivebayswiththe
largestcurrentlysupporteddrivesthatareavailablefromLenovo.
Maximummemorymightrequirereplacementofthestandardmemorywithan
optionalmemorymodule.
Eachsolidstatememorycellhasanintrinsic,finitenumberofwritecyclesthatthe
cellcanincur.Therefore,asolidstatedevicehasamaximumnumberofwrite
cyclesthatitcanbesubjectedto,expressedastotalbyteswritten(TBW).Adevice
thathasexceededthislimitmightfailtorespondtosystemgeneratedcommands
ormightbeincapableofbeingwrittento.Lenovoisnotresponsiblefor
replacementofadevicethathasexceededitsmaximumguaranteednumberof
program/erasecycles,asdocumentedintheOfficialPublishedSpecificationsfor
thedevice.
LenovomakesnorepresentationsorwarrantieswithrespecttononLenovo
products.Support(ifany)forthenonLenovoproductsisprovidedbythethird
party,notLenovo.
Somesoftwaremightdifferfromitsretailversion(ifavailable)andmightnot
includeusermanualsorallprogramfunctionality.

666

G8052 Command Reference for N/OS 8.3

Recycling Information
Lenovoencouragesownersofinformationtechnology(IT)equipmentto
responsiblyrecycletheirequipmentwhenitisnolongerneeded.Lenovooffersa
varietyofprogramsandservicestoassistequipmentownersinrecyclingtheirIT
products.ForinformationonrecyclingLenovoproducts,goto:
http://www.lenovo.com/recycling

Copyright Lenovo 2015

Appendix C: Notices

667

Particulate Contamination
Attention:Airborneparticulates(includingmetalflakesorparticles)andreactive
gasesactingaloneorincombinationwithotherenvironmentalfactorssuchas
humidityortemperaturemightposearisktothedevicethatisdescribedinthis
document.
Risksthatareposedbythepresenceofexcessiveparticulatelevelsor
concentrationsofharmfulgasesincludedamagethatmightcausethedeviceto
malfunctionorceasefunctioningaltogether.Thisspecificationsetsforthlimitsfor
particulatesandgasesthatareintendedtoavoidsuchdamage.Thelimitsmustnot
beviewedorusedasdefinitivelimits,becausenumerousotherfactors,suchas
temperatureormoisturecontentoftheair,caninfluencetheimpactofparticulates
orenvironmentalcorrosivesandgaseouscontaminanttransfer.Intheabsenceof
specificlimitsthataresetforthinthisdocument,youmustimplementpractices
thatmaintainparticulateandgaslevelsthatareconsistentwiththeprotectionof
humanhealthandsafety.IfLenovodeterminesthatthelevelsofparticulatesor
gasesinyourenvironmenthavecauseddamagetothedevice,Lenovomay
conditionprovisionofrepairorreplacementofdevicesorpartsonimplementation
ofappropriateremedialmeasurestomitigatesuchenvironmentalcontamination.
Implementationofsuchremedialmeasuresisacustomerresponsibility..
Contaminant

Limits

Particulate

Theroomairmustbecontinuouslyfilteredwith40%atmospheric
dustspotefficiency(MERV9)accordingtoASHRAEStandard52.21.
Airthatentersadatacentermustbefilteredto99.97%efficiencyor
greater,usinghighefficiencyparticulateair(HEPA)filtersthatmeet
MILSTD282.
Thedeliquescentrelativehumidityoftheparticulatecontamination
mustbemorethan60%2.
Theroommustbefreeofconductivecontaminationsuchaszincwhis
kers.

Gaseous

Copper:ClassG1asperANSI/ISA71.0419853
Silver:Corrosionrateoflessthan300in30days

ASHRAE52.22008MethodofTestingGeneralVentilationAirCleaningDevicesforRemoval
EfficiencybyParticleSize.Atlanta:AmericanSocietyofHeating,RefrigeratingandAirCon
ditioningEngineers,Inc.
2Thedeliquescentrelativehumidityofparticulatecontaminationistherelativehumidity
atwhichthedustabsorbsenoughwatertobecomewetandpromoteionicconduction.
3ANSI/ISA71.041985.Environmentalconditionsforprocessmeasurementandcontrolsystems:
Airbornecontaminants.InstrumentSocietyofAmerica,ResearchTrianglePark,NorthCar
olina,U.S.A.

668

G8052 Command Reference for N/OS 8.3

Telecommunication Regulatory Statement


Thisproductmaynotbecertifiedinyourcountryforconnectionbyanymeans
whatsoevertointerfacesofpublictelecommunicationsnetworks.Further
certificationmayberequiredbylawpriortomakinganysuchconnection.Contact
aLenovorepresentativeorresellerforanyquestions.

Copyright Lenovo 2015

Appendix C: Notices

669

Electronic Emission Notices


Whenyouattachamonitortotheequipment,youmustusethedesignated
monitorcableandanyinterferencesuppressiondevicesthataresuppliedwiththe
monitor.

Federal Communications Commission (FCC) Statement


Note:Thisequipmenthasbeentestedandfoundtocomplywiththelimitsfora
ClassAdigitaldevice,pursuanttoPart15oftheFCCRules.Theselimitsare
designedtoprovidereasonableprotectionagainstharmfulinterferencewhenthe
equipmentisoperatedinacommercialenvironment.Thisequipmentgenerates,
uses,andcanradiateradiofrequencyenergyand,ifnotinstalledandusedin
accordancewiththeinstructionmanual,maycauseharmfulinterferencetoradio
communications.Operationofthisequipmentinaresidentialareaislikelyto
causeharmfulinterference,inwhichcasetheuserwillberequiredtocorrectthe
interferenceathisownexpense.
ProperlyshieldedandgroundedcablesandconnectorsmustbeusedtomeetFCC
emissionlimits.Lenovoisnotresponsibleforanyradioortelevisioninterference
causedbyusingotherthanrecommendedcablesandconnectorsorby
unauthorizedchangesormodificationstothisequipment.Unauthorizedchanges
ormodificationscouldvoidtheusersauthoritytooperatetheequipment.
ThisdevicecomplieswithPart15oftheFCCRules.Operationissubjecttothe
followingtwoconditions:(1)thisdevicemaynotcauseharmfulinterference,and
(2)thisdevicemustacceptanyinterferencereceived,includinginterferencethat
mightcauseundesiredoperation.

Industry Canada Class A Emission Compliance Statement


ThisClassAdigitalapparatuscomplieswithCanadianICES003.

Avis de Conformit la Rglementation d'Industrie Canada


CetappareilnumriquedelaclasseAestconformelanormeNMB003du
Canada.

Australia and New Zealand Class A Statement


Attention:ThisisaClassAproduct.Inadomesticenvironmentthisproductmay
causeradiointerferenceinwhichcasetheusermayberequiredtotakeadequate
measures.

European Union EMC Directive Conformance Statement


ThisproductisinconformitywiththeprotectionrequirementsofEUCouncil
Directive2004/108/EContheapproximationofthelawsoftheMemberStates
relatingtoelectromagneticcompatibility.Lenovocannotacceptresponsibilityfor
anyfailuretosatisfytheprotectionrequirementsresultingfroma
nonrecommendedmodificationoftheproduct,includingtheinstallationof
optioncardsfromothermanufacturers.

670

G8052 Command Reference for N/OS 8.3

ThisproducthasbeentestedandfoundtocomplywiththelimitsforClassA
InformationTechnologyEquipmentaccordingtoEuropeanStandardEN55022.
ThelimitsforClassAequipmentwerederivedforcommercialandindustrial
environmentstoprovidereasonableprotectionagainstinterferencewithlicensed
communicationequipment.
Lenovo,Einsteinova21,85101Bratislava,Slovakia

Germany Class A Statement


ZulassungsbescheinigunglautdemDeutschenGesetzberdie
elektromagnetischeVertrglichkeitvonBetriebsmitteln,EMVGvom20.Juli
2007(frherGesetzberdieelektromagnetischeVertrglichkeitvonGerten),
bzw.derEMVEGRichtlinie2004/108/EC(frher89/336/EWG),frGerteder
KlasseA.
DiesesGertistberechtigt,inbereinstimmungmitdemDeutschenEMVGdas
EGKonformittszeichenCEzufhren.Verantwortlichfrdie
KonformittserklrungnachParagraf5desEMVGistdieLenovo(Deutschland)
GmbH,Gropiusplatz10,D70563Stuttgart.
InformationeninHinsichtEMVGParagraf4Abs.(1)4:
DasGerterflltdieSchutzanforderungennachEN55024undEN55022Klasse
A.
NachderEN55022:DiesisteineEinrichtungderKlasseA.DieseEinrichtung
kannimWohnbereichFunkstrungenverursachen;indiesemFallkannvom
Betreiberverlangtwerden,angemesseneManahmendurchzufhrenunddafr
aufzukommen.
NachdemEMVG:DiesesProduktentsprichtdenSchutzanforderungender
EURichtlinie2004/108/EG(frher89/336/EWG)zurAngleichungder
RechtsvorschriftenberdieelektromagnetischeVertrglichkeitinden
EUMitgliedsstaatenundhltdieGrenzwertederEN55022KlasseAein.
Umdiesessicherzustellen,sinddieGertewieindenHandbchernbeschrieben
zuinstallierenundzubetreiben.DesWeiterendrfenauchnurvonderLenovo
empfohleneKabelangeschlossenwerden.Lenovobernimmtkeine
VerantwortungfrdieEinhaltungderSchutzanforderungen,wenndasProdukt
ohneZustimmungderLenovoverndertbzw.wennErweiterungskomponenten
vonFremdherstellernohneEmpfehlungderLenovogesteckt/eingebautwerden.
Deutschland:
EinhaltungdesGesetzesberdieelektromagnetischeVertrglichkeitvon
Betriebsmittein
DiesesProduktentsprichtdemGesetzberdieelektromagnetische
VertrglichkeitvonBetriebsmittelnEMVG(frherGesetzberdie
elektromagnetischeVertrglichkeitvonGerten).DiesistdieUmsetzungder
EURichtlinie2004/108/EG(frher89/336/EWG)inderBundesrepublik
Deutschland.

Copyright Lenovo 2015

Appendix C: Notices

671

ZulassungsbescheinigunglautdemDeutschenGesetzberdie
elektromagnetischeVertrglichkeitvonBetriebsmitteln,EMVGvom20.Juli
2007(frherGesetzberdieelektromagnetischeVertrglichkeitvonGerten),
bzw.derEMVEGRichtlinie2004/108/EC(frher89/336/EWG),frGerteder
KlasseA.
DiesesGertistberechtigt,inbereinstimmungmitdemDeutschenEMVGdas
EGKonformittszeichenCEzufhren.Verantwortlichfrdie
KonformittserklrungnachParagraf5desEMVGistdieLenovo(Deutschland)
GmbH,Gropiusplatz10,D70563Stuttgart.
InformationeninHinsichtEMVGParagraf4Abs.(1)4:
DasGerterflltdieSchutzanforderungennachEN55024undEN55022Klasse
A.
NachderEN55022:DiesisteineEinrichtungderKlasseA.DieseEinrichtung
kannimWohnbereichFunkstrungenverursachen;indiesemFallkannvom
Betreiberverlangtwerden,angemesseneManahmendurchzufhrenunddafr
aufzukommen.
NachdemEMVG:GertedrfenanOrten,frdiesienichtausreichendentstrt
sind,nurmitbesondererGenehmigungdesBundesministersfrPostund
TelekommunikationoderdesBundesamtesfrPostundTelekommunikation
betriebenwerden.DieGenehmigungwirderteilt,wennkeineelektromagnetischen
Strungenzuerwartensind.(AuszugausdemEMVG,Paragraph3,Abs.4).
DiesesGenehmigungsverfahrenistnachParagraph9EMVGinVerbindungmit
derentsprechendenKostenverordnung(Amtsblatt14/93)kostenpflichtig.
Anmerkung:UmdieEinhaltungdesEMVGsicherzustellensinddieGerte,wiein
denHandbchernangegeben,zuinstallierenundzubetreiben.

Japan VCCI Class A Statement

ThisisaClassAproductbasedonthestandardoftheVoluntaryControlCouncil
forInterference(VCCI).Ifthisequipmentisusedinadomesticenvironment,radio
interferencemayoccur,inwhichcasetheusermayberequiredtotakecorrective
actions.

672

G8052 Command Reference for N/OS 8.3

Japan Electronics and Information Technology Industries Association


(JEITA) Statement

JapanElectronicsandInformationTechnologyIndustriesAssociation(JEITA)
ConfirmedHarmonicsGuidelines(productslessthanorequalto20Aperphase)

JapanElectronicsandInformationTechnologyIndustriesAssociation(JEITA)
ConfirmedHarmonicsGuidelineswithModifications(productsgreaterthan20A
perphase).

Korea Communications Commission (KCC) Statement

Thisiselectromagneticwavecompatibilityequipmentforbusiness(TypeA).
Sellersandusersneedtopayattentiontoit.Thisisforanyareasotherthanhome.

Copyright Lenovo 2015

Appendix C: Notices

673

Russia Electromagnetic Interference (EMI) Class A statement

674

G8052 Command Reference for N/OS 8.3

Peoples Republic of China Class A electronic emission


statement

Copyright Lenovo 2015

Appendix C: Notices

675

Taiwan Class A compliance statement

676

G8052 Command Reference for N/OS 8.3

Index
Numerics
802.1p
ACLandTOSmapping 369
configuration 354
DSCPconfiguration 355
information 140
prioritylevel 339, 361
IPv6 371
MACL 380
VMAP 384
priorityvalue 354
remarkingthevalue 369
remarkingthevalue(IPv6) 375
802.1x
configuration 391
controlplaneprotection 356
guestVLANconfiguration 394
information 55
portconfiguration 395
RADIUSservertimeout 393
SpanningTreeinformation 72

A
abbreviatingcommands(CLI) 28
accesscontrol
user 329
ACL
IPv6 371
logconfiguration 378
meterconfiguration 368
portcommands 349
portmetering 368
portmirroring 362
portremarkconfiguration 369
remarking(IPv6) 375, 377
statistics 275, 276
activeconfigurationblock 287, 608
activeIPinterface 534
activeport
LACP 425
VLAN 534
activeswitchconfiguration
gtcfg 586
ptcfg 585
restoring 586
savingandloading 586
addr(IProutetag) 89
administratoraccount 29
asnum(attachedswitchnumber) 353
assistance,getting 661
AustraliaClassAstatement 670

Copyright Lenovo 2015

autonomoussystemfilter
action 461
configuration 455
configuration(display) 461
delete 461
enable 461
path(aspathlist) 461
pathnumber 461

B
backupconfigurationblock 608
BGP 89
aggregationconfiguration 499
community 456
configuration 493
configurationmode 23
controlplaneprotection 356
eBGP 493
filters,aggregationconfiguration 498
iBGP 493
inroute 496
IPaddress,borderrouter 496
keepalivetime 497
peer 494
peerconfiguration 495
remoteautonomoussystem 496
routereflectorclient 496
routerhops 497
TTLsecurityhops 497
bgp(IProutetag) 89
BootManagementmenu 612
Bootoptions 597 to ??
bootstrapprotocol 525
BorderGatewayProtocol(seeBGP) 493
bridgepriority 77, 79
BridgeProtocolDataUnit(BPDU) 77, 78, 79, 404
BridgeSpanningTreeparameters 405
broadcast(IProutetag) 90
broadcast(IProutetype) 89

C
CanadaClassAelectronicemissionstatement 670
capturedumpinformationtoafile 632
ChinaClassAelectronicemissionstatement 675
CiscoEtherChannel 416
CISTinformation 79
ClassAelectronicemissionnotice 670

Index

677

clear
countersforallinterfacesandqueues 174
CPUusestatistics 171
dumpinformation 634
FDBstatistics 195
hotlinksstatistics 195
IPv4statistics 206
IPv6statistics 206
LACPstatistics 195
MPrelatedstatistics 171
portstatistics 171, 174
statisticsforallports 173
trunkgroupstatistics 193
vLAGstatistics 201
CLIDisplay 34
command(help) 26
commands
abbreviations 28
conventionsusedinthismanual 18
modes 22
shortcuts 28
tabcompletion 28
configuration
commands 285 to ??
defaultgatewayinterval,forhealthchecks 446
defaultgatewayIPaddress 446
dumpcommand 584
failover 427
global 22
IPstaticroute 447
LACP 424
portlinkspeed 345
portmirroring 390
porttrunking 416
RIP 463
savechanges 287
switchIPaddress 441
virtualization 554
VLANdefault(PVID) 343
VLANIPinterface 442
VLANtagging 341
configurationblock
active 608
backup 608
factory 608
selection 608
contamination,particulateandgaseous 668
controlplaneprotection(CoPP) 356
COS,queueinformationClassofService(seeCOS) 140
cost(STPinformation) 73, 75, 80
CPU
statistics 271
statisticshistory 272
use 271
usehistory 272
csnum(configuredswitchnumber) 352

678

G8052 Command Reference for N/OS 8.3

D
daylightsavingstime 289
debugging 617
defaultgateway
information 85
defaultgateway,interval(forhealthchecks) 446
defaultpassword 29
delete
countersforallinterfacesandqueues 174
CPUusestatistics 171
FDBentry 619
FDBstatistics 195
hotlinksstatistics 195
IPv4statistics 206
IPv6statistics 206
LACPstatistics 195
MPrelatedstatistics 171
portstatistics 171, 174
statisticsforallports 173
trunkgroupstatistics 193
vLAGstatistics 201
DHCP
controlplaneprotection 356
Snooping 549
direct(IProutetype) 89
directedbroadcasts 453
DISC(portstate) 73, 75
disconnectidletimeout 30
downloadingsoftware 606
DSB(portstate) 75
dump
configurationcommand 584
maintenance 617
duplexmode,linkstatus 31, 160
dynamicroutes 626

E
ECMP
hashingconfiguration 447
routeinformation 114
ECN(ExplicitCongestionNotification) 358
EdgeVirtualBridging,configuration 565
electronicemissionClassAnotice 670
errordisableandrecovery
port 344
system 293
EtherChannel,withporttrunking 416
EuropeanUnionEMCDirectiveconformancestatement
670
EVB
configurationmode 25
ExplicitCongestionNotification(ECN) 358

factoryconfigurationblock 608
failover
configuration 427
manualmonitorcontrolconfiguration 429
manualmonitorportconfiguration 428
triggerconfiguration 427
FCCClassAnotice 670
FCC,ClassA 670
FDB
deleteentry 619
maintenance 619
managinginformation 617
statistics 196
fixed(IProutetag) 89
flagfield 93
flowcontrol 31, 160
CBPdiscards 186
IBPdiscards 186
pausepackets 184, 185
setting 345
forwarding
database(seeFDB) 196
database,deleteentry 619
FDBmaintenance 619
state(FWD) 59, 81
ForwardingDatabase(seeFDB) 57
forwardingstate
(FWD) 77, 78, 80
FWD(portstate) 73, 75
fwd(STPbridgeoption) 404
FwdDel(forwarddelay),bridgeport 77, 78, 80

ICMP
controlplaneprotection 356
statistics 219
idletimeout,setting 30
IEEEstandards
802.1x 55, 72
IGMP
advancedparameters 511
configuration 503
controlplaneprotection 356
information 115
multicastrouterinformation 118
querier 512
querierinformation 117
relay 506
snooping 504
statistics 224
IKEv2
configurationmode 24
configuring 515
identification,configuring 517
information 130
presharekeys 515
proposal 516
image
downloading 606
software,selecting 607
indirect(IProutetype) 89
informationcommands 31 to ??
interfacechangestatistics 232, 237
IPaddress
ARPinformation 91
invalid 187
invalid(IPv4) 208
invalid(IPv6) 211
IPforwarding
directedbroadcasts 453
information 85
IPinformation 85, 127
IPinterface 89
active 534
addressofdefaultgateway 446
configurationmode 22
configuringaddress 441
configuringVLANs 442
information 85
IProutetag 89
networkfilterconfiguration 454
priorityincrementvalue(ifs)forVRRP 536
IProuting
information 88
information(IPv6) 110
manipulation 626
tagparameters 89
tags 89
types 89
IPStaticRoutecommands 447

G
gaseouscontamination 668
gateway
clearingroutesthatuse 448
defaultgatewayconfiguration(IPv4) 446
IPv6 543
GermanyClassAstatement 671
gettinghelp 661
gtcfg(TFTPloadcommand) 586

H
healthchecks
defaultgatewayinterval,retries 446
retry,numberoffailedhealthchecks 446
hello(STPinformation) 77, 78, 79
help
online 26
sourcesof 661
help,getting 661
HotLinksconfiguration 430
hotstandbyfailover 532
HTTPS 332

Copyright Lenovo 2015

Index

679

IPMC
displayallgroupsregistered 87
groupinformation 119
IPsec
configuring 518
information 131
Layer3configuration 486, 489
trafficselector,configuring 519
transformset,configuring 518
IPv4
clearstatistics 206
routestatistics 215
statistics 208
IPv6
ACLconfiguration 371
clearstatistics 206
defaultgatewayconfiguration 543
NDprefixconfiguration 545
NeighborDiscoverycacheconfiguration 544
NeighborDiscoveryconfiguration 443
PathMTUconfiguration 545
PathMTUinformation 126
remarkconfiguration 375, 377
routeinformation 111
routestatistics 216
staticroute 544
statistics 210
ISCLIcommands
basics 21 to 30
modes 22

J
JapanClassAelectronicemissionstatement 672
Japan Electronics and Information Technology Indus
triesAssociationstatement 673
JEITAstatement 673

K
KoreaClassAelectronicemissionstatement 673

L
LACP
clearstatistics 195
configuration 424
controlplaneprotection 356
information 60
interfaceportchannelmode 339
loggedpacketstatistics 266
statistics 194, 197
vLAGinformation 70
Layer2commands 52
Layer3commands 84
LDAP
configuration 308
serveraddress 309

680

G8052 Command Reference for N/OS 8.3

LED,ServiceRequired 291
LightweightDirectoryAccessProtocol(seeLDAP) 308
LinkAggregationControlProtocol(seeLACP) 194
LinkFlapDampening(LFD) 294
LinkLayerDetectionProtocol(seeLLDP) 194
linkspeed,configuring 345
linkstatus 31
command 160
duplexmode 31, 160
information 160
portspeed 31, 160
linkt(SNMPoption) 313
LLDP
configuration 412
information 65
statistics 194, 199
local(IProutetype) 89
logs
ACL 378
clear 260
syslogmessages 296
loopback
configurationmode 22
information 98
interfaceconfiguration 548
NTPsourceinterface 311
OSPF,information 100
PIMinterfaceinformation 134
RADIUSsourceinterface,setting 302
settinginterfacenumberforsyslogs 296
SNMPtrapssourceinterface 314
TACACS+sourceinterface 306
LRN(portstate) 73, 75, 77, 78, 80

M
MACaddress 32, 45, 57, 91, 619
multicastconfiguration 408
MACaddressspoofprevention 559
Maintenancecommands 617 to 635
manualstyleconventions 18
martian
IProutetag(filtered) 90
IProutetype(filteredout) 89
MaxAge(STPinformation) 77, 78, 79
MD5
cryptographicauthentication 467
key 470
MediaAccessControladdress(seeMAC) 57
MiscellaneousDebugcommands 620
MLD
configurationmode 24
globalconfiguration 500
globalstatistics 227
information 85, 120
interfaceconfiguration 501
Mrouterinformation 121
statisticscommands 226

monitorport 390
MP
clearstatistics 171
debugcommands 620
displayMACaddress 32, 45
packet 261
packetstatistics 260
processorstatistics 259
MST 24
configurationmode 24
multicast
MAC 408
routerinformation 118
multicast(IProutetype) 89
MulticastListenerDiscoveryProtocol(seeMLD) 24
mxage(STPbridgeoption) 404

N
nbrchangestatistics 231, 237
NeighborDiscovery
cacheconfiguration 544
cachemanipulation(IPv6) 629
IPv6 443
prefix 545
NetworkConfigurationProtocol(NETCONF) 328
NewZealandClassAstatement 670
notes,important 666
notice 290
notices 663
NTPsynchronization 310

O
OAMDiscovery
information 69
statistics 200
onlinehelp 26
OpenFlow
configuration 568
configurationmode 24
information 146
flowallocation 149, 151
flowconfiguration 151
flowtables 154
globalconfiguration 147
staticflows 577
actions 579
qualifiers 578
statistics 243
Operationscommands 589 to ??
operationslevel
portoptions 590
VRRPoptions 591

Copyright Lenovo 2015

OSPF
areaindex 467
authenticationkey 470
controlplaneprotection 356
costoftheselectedpath 470
costvalueofthehost 474
databaseinformation 101
dead,declaringasilentroutertobedown 470
dead,healthparameterofahellopacket 472
export 475
fixedroutes 493
hello,authenticationparameterofahellopacket 472
hostentryconfiguration 474
hostroutes 466
information 97, 99
interfaceconfiguration 470
linkstatedatabase 466
loopbackinformation 100
NotSoStubbyArea 468
priorityvalueoftheswitchinterface 471
rangenumber 466
routeinformation 100
routeredistributionconfiguration 475
SPF,shortestpathfirst 468
stubarea 468
summaryrangeconfiguration 469
transitarea 468
transitdelay 471
type 468
virtuallink 466
virtuallinkconfiguration 472
virtualneighbor,routerID 473
ospf(IProutetag) 89
OSPFv3
configuration 476
configurationmode 23
dead,declaringasilentroutertobedown 483
dead,healthparameterofahellopacket 488
hello,authenticationparameterofahellopacket 488
interfaceconfiguration 483
linkstatedatabase 476
NotSoStubbyArea 479
stubarea 479
transitarea 479
type 479
virtualneighbor,routerID 488

P
parameters
tag 89
type 89
particulatecontamination 668
passwords 29
administratoraccount 29
default 29
useraccesscontrol 329
useraccount 29
Index

681

PathMTU 545
pathcost(STPportoption) 406
PeoplesRepublicofChinaClassAelectronicemission
statement 675
PIM
componentconfiguration 538
componentconfigurationmode 24
componentinformation 135
configuration 537
information 134
interfaceconfiguration 540
interfaceinformation 135
Mrouteinformation 137
neighborinformation 136
operationalmode 538
statistics 240
ping 26
poisonedreverse,asusedwithsplithorizon 464
port
802.1xconfiguration 395
ACLmeter 368
configuration 339
configurationmode 23
disabling(temporarily) 346
ECNconfiguration 350
ErrorDisableandRecovery 344
information 161
linkconfiguration 345
membershipoftheVLAN 54, 83
mirroring
ACLs 362
configuration 390
number 160
operationsleveloptions 590
priority 73, 80
speed 31, 160
states 59
trunking
configuration 416
description 416
VLANID 31, 161
WREDconfiguration 350
preemption
assumingVRRPmasterroutingauthority 531
delayinterval 529
hotlinks 431
virtualrouter 529
virtualroutergroup 533
PrivateVLAN 437
ProtocolIndependentMulticast(seePIM) 24
protocolbasedVLANconfiguration 435
ptcfg(TFTPsavecommand) 585
pushstatus,Stacking 50
PVID(portVLANID) 31, 161

682

G8052 Command Reference for N/OS 8.3

R
RADIUS
802.1xservertimeout 393
serverconfiguration 301
statistics 267
vsTACACS+ 303
readcommunitystring(SNMPoption) 313
receiveflowcontrol 345
referenceports 59
remark
ACLportremarkmenu 369
IPv6ACL 375, 377
RemonteMonitoring(seeRMON) 173
RendezvousPoint(RP) 539
retry
healthchecksfordefaultgateway 446
RADIUSserver 301
RIP 462
configuration 462, 463
controlplaneprotection 356
information 89, 109
poisonedreverse 464
splithorizon 464
version1parameters 463
rip(IProutetag) 89
RMON
alarmconfiguration 552
alarminformation 158
configuration 550
eventconfiguration 551
eventinformation 159
history 157
historyconfiguration 550
information 156
portinformation 161
statistics 173, 188
routemap
autonomoussystemfilterpathconfiguration 461
configuration 455
configurationmode 24, 439
information 85, 127
IPaccesslistconfiguration 458
policybased,configuration 459
RIProuteredistributionlist 465
routestatistics
IPv4 215
IPv6 216
routerhops 497
RoutingInformationProtocol(seeRIP) 464
RSTP informationMSTP informationRapid Spanning
TreeinformationMultipleSpanningTreeinformation
75
RussiaClassAelectronicemissionstatement 674
Rx/Txstatistics 230, 236

S
save(globalcommand) 287
secret
RADIUSserver 301
SecureShell 299
serviceandsupport
beforeyoucall 661
ServiceRequiredLED 291
shortcuts(CLI) 28
SLP
configuration 582
snaptraces
buffer 620
SNMP
configuration 312
displaypacketslogged 267
options 312
parameters,modifying 312
statistics 171, 277
SNMPv3
communitytableconfiguration 321
communitytableinformation 40
configuration 315
groupconfiguration 320
information 36
notifytableconfiguration 324
targetaddresstableconfiguration 322
targetaddresstableinformation 41
targetparameterstableconfiguration 323
viewconfiguration 318
software
image 605
imagefileandversion 32, 45
splithorizon 464
Stacking
bootoptions 598
configuration 352
information 48
pushstatus 50
switchinformation 51
state(STPinformation) 73, 75, 80
static
IProutetag 89
multicastMACconfiguration 408
staticroute
add 447
IPv6 544
rem 447
Statisticscommands 171 to 283

Copyright Lenovo 2015

STP 81
blockedportsinformation 53
bridgeparameters 405
bridgepriority 77, 79
configuration 397
information 53, 399
linktype 74
pathcostoption 406
rootbridge 77, 79, 405
rootinformation 54
RSTP/PVRST 403
switchreseteffect 610
subnet
IPinterface 441
performance 180
switch
nameandlocation 32, 45
resetting 610
system
contact(SNMPoption) 312
dateandtime 32, 45
information 45
location(SNMPoption) 313
SystemErrorDisableandRecovery 293
SystemInformation 32
SystemLogMessages 637 to 660
systemoptions
tnport 325

T
tabcompletion(CLI) 28
TACACS+ 303
TaiwanClassAelectronicemissionstatement 676
TCP
ECN 350
headerparameters 144
statistics 205, 221, 269
statistics,clearing 207
TACACS+ 303
WREDthresholds 351
technicalassistance 661
telnet
configuringswitchesusing 584
radiusserver 301, 308
textconventions 18
TFTP 606
PUTandGETcommands 585
server 585
timeout
idleconnection 30
radiusserver 302
timerskickoff 233, 238
tracebuffer 620
traceroute 27
trademarks 665
transceiverstatus 162
trunkgroupinformation 81
Index

683

trunkhashalgorithm 418
TTLsecurityhops 497
typeofarea
OSPF 468
OSPFv3 479
typeparameters 89
typographicconventions,manual 18

U
UCBstatistics 270
UDLD
configuration 347
information 67
UDP
statistics 223
UniDirectionalLinkDetection 347
UnitedStatesFCCClassAnotice 670
unknown(UNK)portstate 59
UnscheduledSystemDump 635
upgrade
switchsoftware 605
USBBoot 604
USBCopy 587
USBdrive 587, 604
useraccesscontrolconfiguration 329
useraccount 29
uuencodeflashdump 632

V
Virtual Link Aggregation Control Protocol (see vLAG)
54
virtualrouter
description 528
groupconfiguration 532
groupprioritytracking 534
increasingprioritylevelof 531
priorityincrementvaluesforVRRP 536
trackingcriteria 531
VirtualRouterRedundancyProtocol(seeVRRP) 24
virtualization
configurationoptions 554
information 164
vLAG
clearstatistics 201
configuration 420
controlplaneprotection 356
information 54

684

G8052 Command Reference for N/OS 8.3

VLAN
activeport 534
ARPentryinformation 91
configuration 434
configurationmode 23
information 83
name 54, 83
portmembership 54, 83
protocolbased,configuration 435
settingaccessVLAN 341
settingdefaultnumber(PVID) 343
tagging 31, 161
portconfiguration 341
portrestrictions 435
VLANNumber 83
VM
bandwidthmanagement 555
DistributedVirtualSwitch 594
EdgeVirtualBridgeconfiguration 565
groupconfiguration 556
information 165
policyconfiguration 555
profileconfiguration 560
VMreadyconfiguration 563
VMware
configuration 562
dvSwitchoperations 594, 595
information 166
operations 592
VRRP 122
authenticationparametersforIPinterfaces 535
configuration 527
configurationmode 24
controlplaneprotection 356
information 122
interfaceconfiguration 535
masteradvertisements 529
masteradvertisements,timeinterval 532
operationsleveloptions 591
prioritytrackingoptions 495, 498, 531
statistics 239
trackingconfiguration 536
weightsforprioritylevels 536
VSI
configurationmode 25

W
watchdogtimer 617
WeightedRandomEarlyDetection(seeWRED) 358
WRED
configuration 358
transmitqueueconfiguration 351, 359
writecommunitystring(SNMPoption) 314

Das könnte Ihnen auch gefallen