Command Line Interface User Guide - EnGenius Tech

[Pages:812]Command Line Interface User Guide

1

Table of Contents

Introduction.............................................................................. 8 Overview............................................................................................. 8 User Privelege Levels/CLI Command Modes........................ 8 User Exec Mode/Priveleged Exec Mode................................. 9 Global Config Mode.......................................................................... 9 Interface/Line Configuration Mode...................................... 10 Accessing The CLI /Shortcuts.................................................. 11

Chapter 1 802.1X....................................................................12 dot1x.................................................................................13 dot1x Reauthentication.............................................................18 dot1x Timeout Reauthentication-Period.............................20 dot1x Timout Quiet-Period......................................................... 22 dot1x Timeout Supp-Timeout.................................................. 24 dot1x Timeout Max-Req............................................................ 26 dot1x Guest VLAN........................................................................ 28 Show dot1x.................................................................................. 30 Show dot1x Authentication-Hosts..................................... 31 Show dot1x Interface................................................................ 33 Show dot1x Guest VLAN........................................................... 35

Chapter 2 AAA.........................................................................38 AAA Authentication...................................................................... 39 Login Authentication................................................................... 42 IP http Authentication.............................................................. 45 Enable Authentication................................................................ 48 Show AAA Authentication....................................................... 51 Show Line Lists.............................................................................. 53 tacacs Default Config.................................................................. 55 tacacs Host.................................................................................... 58 Show tacacs Default ............................................................... 60 Show tacacs................................................................................... 61 RADIUS Default ............................................................................. 62

RADIUS Host.................................................................................. 64 Show RADIUS Default Configuration................................... 66 Show RADIUS................................................................................ 67 Chapter 3 ACL.........................................................................69 MAC ACL........................................................................................... 70 Permit (MAC).................................................................................. 72 Deny (MAC)..................................................................................... 74 IP ACL................................................................................................. 76 Permit (IP)....................................................................................... 78 Deny (IPv6)..................................................................................... 82 IPv6 ACL...........................................................................................85 Permit (IPv6)....................................................................................87 Deny (IP)........................................................................................... 90 Bind ACL........................................................................................... 94 Show ACL....................................................................................... 96 Show ACL Utilization............................................................... 98 Chapter 4 Administration...................................................102 Enable............................................................................................ 103 Exit................................................................................................... 105 Configure........................................................................................ 107 Interface........................................................................................108 Line.................................................................................................. 110 End.................................................................................................. 112 Reboot........................................................................................... 114 System Name.............................................................................. 115 System Contact......................................................................... 117 System Location........................................................................ 119 Username....................................................................................... 121 Enable Password........................................................................ 123 IP Address...................................................................................... 125 IP Default Gateway.................................................................. 127

2

IP DNS..............................................................................................129 IP DHCP...........................................................................................131 IPv6 Autoconfiguration............................................................133 IPv6 Address.................................................................................135 IPv6 Default Gateway...............................................................137 IPv6 DHCP.....................................................................................139 IP Service....................................................................................... 141 IP Session-Timeout................................................................... 144 Exec-Timeout............................................................................. 146 Password-Thresh...................................................................... 150 Silent-Time.................................................................................. 154 History............................................................................................ 157 Clear Service................................................................................. 162 SSL................................................................................................... 163 Ping................................................................................................... 165 Traceroute.................................................................................... 167 Clear ARP........................................................................................ 169 Show Version................................................................................ 171 Show Info....................................................................................... 173 Show History................................................................................. 175 Show Username ...................................................................... 177 Show IP......................................................................................... 179 Show IP DHCP............................................................................ 181 Show IPv6..................................................................................... 182 Show IPv6 DHCP....................................................................... 184 Show Line....................................................................................... 185 Chapter 5 Cable Diagnostics................................................187 Show Cable Diag Interfaces.................................................... 188 Chapter 6 DHCP Snooping.................................................... 190 IP DHCP Snooping........................................................................ 191 IP DHCP Snooping VLAN........................................................... 193

IP DHCP Snooping Trust.............................................................196 IP DHCP Snooping Verify......................................................198 IP DHCP Snooping Rate Limit......................................... 200 Clear IP DHCP Snooping Statistics.................................... 202 Show IP DHCP Snooping....................................................... 204 Show IP DHCP Snooping Interface................................ 206 Show IP DHCP Snooping Binding..................................... 208 IP DHCP Snooping Option.......................................................... 210 IP DHCP Snooping Option Action........................................ 212 IP DHCP Snooping Option Circut-ID.................................... 214 IP DHCP Snooping Option Remote-ID.............................. 216 Show IP DHCP Snooping Option........................................ 218 IP DHCP Snooping Database............................................ 219 IP DHCP Snooping Database Write-Delay.................... 221 IP DHCP Snooping Database Timeout........................... 224 Clear IP DHCP Snooping Database Statistics................. 226 Renew IP DHCP Snooping Database............................. 228 Show IP DHCP Snooping Database................................ 230 Chapter 7 DOS...................................................................... 232 DOS.................................................................................................. 233 Show DOS.................................................................................. 238 Chapter 8 Dynamic ARP Inspection.................................240 IP ARP Inspection....................................................................... 241 IP ARP Inspection VLAN.................................................... 243 IP ARP Inspection Trust................................................... 245 IP ARP Inspection Validate................................................... 247 IP ARP Inspection Rate Limit.............................................. 248 Clear IP ARP Inspection Statistics............................... 251 Show IP ARP Inspection........................................................ 253 Show IP ARP Inspection Interface.................................... 254 Chapter 9 IGMP Snooping..................................................256

3

IP IGMP Snooping....................................................................... 257 IP IGMP Snooping Report-Suppression.............................. 259 IP IGMP Snooping Version....................................................... 261 IGMP Snooping Unknown Multicast Action................ 262 IP IGMP Snooping Forward Method.................................... 265 IP IGMP Snooping Querier......................................................... 267 IP IGMP Snooping VLAN........................................................... 270 IP IGMP Snooping VLAN Parameters.................................. 273 IP IGMP Snooping Static Report............................................ 277 IP IGMP Snooping VLAN Static Router Port..................... 279 IP IGMP Snooping Static Group............................................ 281 IP IGMP Profile............................................................................. 284 IP IGMP Filter............................................................................... 288 IP IGMP Max-Groups.................................................................... 291 Clear IP IGMP Snooping Groups............................................ 294 Clear IGMP Snooping Statistics......................................... 296 Clear IP IGMP Snooping Counters....................................... 297 Show IP IGMP Snooping Groups......................................... 298 Show IP IGMP Snooping Router............................................ 300 Show IP IGMP Snooping Querier.............................................302 Show IP IGMP Snooping........................................................... 303 Show IP IGMP Snooping VLAN............................................... 305 Show IP IGMP Snooping Forward-All.................................... 307 Show IP IGMP Profile................................................................ 309 Show IP IGMP Snooping Port Filter.................................... 311 Show IP IGMP Snooping Max-Group.................................. 313 Show IP IGMP Snooping Port Max-Group Action......... 315 Chapter 10 IP Source Guard.................................................317 IP Source Verify............................................................................318 IP Source Binding......................................................................... 320 Show IP Source Interface.................................................... 322

Show IP Source Binding........................................................ 323 Chapter 11 Link Aggregation..............................................325

Lag Load-Balance......................................................................326 LACP System-Priority.............................................................. 328 LACP Port Priority.................................................................... 325 LACP Timeout.............................................................................. 331 Lag................................................................................................... 333 Show LAG..................................................................................... 333 Chapter 12 LLDP....................................................................337 LLDP......................................................................................338 LLDP TX-Interval........................................................................ 340 LLDP ReInit-Delay...................................................................... 342 LLDP Holdtime-Multiplier...................................................... 344 LLDP TX-Delay........................................................................... 346 LLDP TLV-Select....................................................................... 348 LLDP TLV-Select PVID........................................................... 351 LLDP TLV-Select VLAN Name............................................... 354 LLDP LLDPU................................................................................. 357 LLDP Rx/Tx................................................................................ 359 LLDP Med....................................................................................363 LLDP Med TLV-Select............................................................... 366 LLDP Med Fast-Start-Repeat-Count................................... 369 LLDP Med Network-Policy................................................... 371 LLDP Med Network-Policy Add/Remove........................ 374 LLDP Med Network-Policy Auto........................................ 377 LLDP Med Location................................................................ 379 Show LLDP................................................................................... 382 Show LLDP Local Drive......................................................... 385 Show LLDP Neighbor.............................................................. 390 Show LLDP MED....................................................................... 395 Show LLDP Statistics............................................................. 399

4

Show LLDP TLV-Overloading................................................ 403 Chapter 13 Logging.............................................................405

Logging..............................................................................406 Logging Flash/Buffered...........................................................409 Logging Host................................................................................ 413 Show Logging............................................................................... 416 Show Logging Flash/Buffered.............................................. 418 Clear Logging Flash/Buffered............................................. 420 Chapter 14 MAC Address Table.........................................422 Clear MAC Address-Table..........................................................423 MAC Address-Table Aging -Time.......................................... 425 MAC Address-Table Static........................................................ 427 MAC Address-Table Drop.......................................................... 429 Show MAC Address-Table....................................................... 431 Show MAC Address-Table Counters................................... 433 Show MAC Address-Table Aging Time.............................. 434 Chapter 15 Mirror.................................................................435 Mirror Session...............................................................................436 Show Mirror................................................................................. 439 Chapter 16 MLD Snooping..................................................441 IPv6 MLD Snooping...................................................................442 IPv6 MLD Snooping Report-Suppression........................ 445 IPv6 MLD Snooping Version............................................... 447 IPv6 MLD Snooping VLAN.................................................. 449 IPv6 MLD Snooping VLAN Parameters........................ 452 IPv6 MLD Snooping Static Port...................................... 456 IPv6 MLD Snooping VLAN Static Router Port................ 458 IPv6 MLD Snooping Static Group...................................... 460 IPv6 MLD Profile...................................................................... 463 IPv6 MLD Filter.......................................................................... 467 IPv6 MLD Max-Groups.............................................................. 470

Clear IPv6 MLD Snooping Groups...................................... 473 Clear IPv6 MLD Snooping Statistics................................... 475 Show IPv6 MLD Snooping Counters................................ 476 Show IPv6 MLD Snooping Groups.................................... 477 Show IPv6 MLD Snooping Router.................................... 479 Show IPv6 MLD Snooping..................................................... 481 Show IPv6 MLD Snooping VLAN....................................... 483 Show IPv6 MLD Snooping VLAN Forward-All.................... 485 Show IPv6 MLD Profile............................................................ 487 Show IPv6 MLD Port Filter................................................... 489 Show IPv6 MLD Port Max-Group........................................ 491 Show IPv6 MLD Port Max-Group Action.............................. 493 Chapter 17 Port Security.................................................495 Port-Security............................................................................496 Port-Security Address Limit................................................... 498 Show Port-Security Interface............................................... 502 Chapter 18 Port Error Disable...........................................501 ERRdisable Recovery Cause...................................................502 ERRdisable Recovery Interval............................................. 505 Show ERRdisable Recovery................................................. 507 Chapter 19 Port...................................................................509 Description....................................................................................510 Speed............................................................................................... 512 Duplex............................................................................................. 515 Flow-Control.................................................................................. 518 Shutdown...................................................................................... 520 Jumbo-Frame................................................................................ 522 Protected....................................................................................... 524 EEE.................................................................................................... 526 Clear Interface............................................................................ 528 Show Interface........................................................................... 530

5

Chapter 20 QoS...................................................................533 QoS...........................................................................................534 QoS Trust (1).................................................................................536 QoS Map.........................................................................................539 QoS Queue.....................................................................................545 QoS CoS...........................................................................................548 QoS Trust (2) ............................................................................. 550 QoS Remark.................................................................................. 552 Show QoS.......................................................................................554 Show QoS Map............................................................................ 555 Show QoS Map Interface........................................................ 558

Chapter 21 Rate Limit........................................................559 Rate Limit......................................................................................560 VLAN Rate Limit......................................................................... 563 Show Rate-Limit VLAN.......................................................... 565

Chapter 22 RMON................................................................567 RMON Event..................................................................................568 RMON Alarm................................................................................ 571 RMON History............................................................................. 575 Clear RMON Interface Statistics........................................ 578 Show RMON Interface Statistics.................................... 581 Show RMON Event................................................................... 583 Show RMON Event Log......................................................... 585 Show RMON Alarm.................................................................. 587 Show RMON History............................................................... 589 Show RMON Statistics.......................................................... 591

Chapter 23 SNMP.................................................................594 SNMP............................................................................................... 595 SNMP Trap......................................................................................597 SNMP View.....................................................................................599 SNMP Access Group..................................................................601

SNMP Community........................................................................603 SNMP User.....................................................................................605 SNMP EngineID............................................................................607 SNMP Host.....................................................................................609 Show SNMP...................................................................................612 Show SNMP Trap.........................................................................613 Show SNMP View.......................................................................614 Show SNMP Group......................................................................615 Show SNMP Community..........................................................616 Show SNMP Host.......................................................................617 Show SNMP User........................................................................618 Show SNMP EngineID................................................................619 Chapter 24 Storm Control...................................................620 Storm-Control Unit......................................................................621 Storm-Control IFG........................................................................623 Storm-Control...........................................................................625 Storm-Control Action................................................................628 Show Storm-Control...................................................................630 Chapter 25 Spanning Tree..................................................632 Spanning-Tree..............................................................................633 Spanning-Tree BPDU.................................................................635 Spanning-Tree Mode..................................................................637 Spanning-Tree Priority..............................................................640 Spanning-Tree Hello-Time.......................................................642 Spanning-Tree Max-Hops.......................................................645. Spanning-Tree Forward-Delay................................................647 Spanning-Tree Maximum-Age................................................650 Spanning-Tree TX Hold-Count...............................................653 Spanning-Tree Pathcost Method.........................................658 Spanning-Tree Port-Priority...................................................661 Spanning-Tree Cost...................................................................661

6

Spanning-Tree Edge..................................................................664 Spanning-Tree BPDU-Filter....................................................667 Spanning-Tree BPDU-Guard...................................................670 Spanning-Tree Link-Type........................................................673 Spanning-Tree MST Configuration......................................676 Spanning-Tree MST Priority...................................................679 Spanning-Tree MST Cost.........................................................682 Spanning-Tree Port-Priority...................................................685 Chapter 26 System File......................................................688 Boot System..................................................................................689 Save................................................................................................. 691 Copy................................................................................................. 693 Delete............................................................................................. 697 Restore-Defaults...................................................................... 700 Show Config................................................................................. 701 Show Flash................................................................................... 704 Chapter 27 Time...................................................................706 Clock Set.........................................................................................707 Clock Timezone........................................................................... 709 Clock Source................................................................................. 712 Clock Summer-Time.................................................................. 714 Show Clock.................................................................................... 717 SNTP................................................................................................ 720 Show SNTP.................................................................................. 722 Chapter 28 VLAN..................................................................724 VLAN............................................................................725 VLAN Name................................................................................. 727 Switchport Mode....................................................................... 729 Switchport Hybrid PVID......................................................... 732 Switchport Hybrid Ingress-Filtering Disable.................. 735 Switchport Hybrid Acceptable-Frame-Type.................... 738

Switchport Hybrid Allowed VLAN Add........................... 741 Switchport Hybrid Allowed VLAN Remove................... 744 Switchport Access VLAN......................................................... 747 Switchport Tunnel VLAN...................................................... 750 Switchport Trunk Native VLAN........................................ 753 Switchport Trunk Allowed VLAN.................................... 756 Switchport Default-VLAN Tagged....................................... 759 Switchport Forbidden Default-VLAN................................ 762 Switchport Forbidden VLAN................................................ 765 Management VLAN.................................................................... 768 Show Management VLAN...................................................... 770 MAC VLAN MAC........................................................................ 771 MAC VLAN Enable.................................................................... 773 Show VLAN MAC-VLAN......................................................... 775 Show MAC VLAN-Interfaces................................................. 777 Protocol-VLAN Group............................................................ 779 Protocol VLAN Binding........................................................ 781 Show Protocol VLAN Group................................................ 784 Show Protocol VLAN Interfaces...................................... 786 Chapter 29 Voice VLAN.......................................................788 Voice VLAN State....................................................................... 789 Voice VLAN ID........................................................................... 791 Voice VLAN VPT..................................................................... 793 Voice VLAN DSCP................................................................... 795 Voice VLAN OUI-Table....................................................... 797 Voice VLAN CoS........................................................................ 800 Voice VLAN Aging-Time........................................................ 802 Voice VLAN CoS Mode...................................................... 804 Voice VLAN Enable................................................................. 807 Show Voice VLAN................................................................... 810

7

Introduction

Overview

A system administrator (user with level 15) can create passwords that allow a lower level user to temporarily become a higher level user. For example, the user may go from level 1 to level 7, level 1 to 15, or level 7 to level 15.

The CLI is divided into various modes. Each mode has a

group of commands available in it.

CLI Command Modes

Users are assigned privilege levels. Each privilege level can access the CLI modes permitted to that level. User privilege levels are described in the section below.

The Command Line Interface (CLI) is divided into four command modes. The command modes are (in the order in which they are accessed):

User (Privilege) Levels

? User EXEC mode ? Privileged EXEC mode

Users may be created with one of the following user levels: ? Global Configuration mode

? Level 1 -- Users with this level can only run User EXEC mode commands. Users at this level cannot access the web GUI.

? Level 7 -- Users with this level can run commands in the User EXEC mode and a subset of commands in the Privileged EXEC mode. Users at this level cannot access the web GUI.

? Level 15 -- Users with this level can run all commands. Only users at this level can access the web GUI.

? Interface Configuration mode

Each command mode has its own unique console prompt and set of CLI commands. Entering a question mark at the console prompt displays a list of available commands for the current mode and for the level of the user. Specific commands are used to switch from one mode to another. Users are assigned privilege levels that determine the modes and commands available to them.

8

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download