ArubaOS-Switch and Cisco IOS CLI Reference Guide

ArubaOS-Switch and Cisco IOS CLI Reference Guide

Table of Contents

Introduction .................................................................................................................................. 5 Using This Guide .......................................................................................................................... 6

Navigation Differences Among CLIs............................................................................................. 6 Configuration Differences Among CLIs ......................................................................................... 6 Terminology Differences ............................................................................................................. 7 Disclaimer.................................................................................................................................... 7 Comparing View and Configuration Prompts ................................................................................... 8 Comparing Frequently Used Commands.......................................................................................... 8 Chapter 1 Basic Switch Management ............................................................................................ 9 a) Management Access .............................................................................................................. 9 b) Configuration Access ........................................................................................................... 10 c) Console Access--Baud Rate.................................................................................................. 11 d) Console and Virtual Terminal Access--Timeout ....................................................................... 11 e) Reload & Timed Reload ........................................................................................................ 12 f) USB .................................................................................................................................... 14 g) System and Environment ....................................................................................................... 15 h) Remote Management Sessions--Viewing................................................................................ 19 i) Remote Management Sessions--Terminating ........................................................................... 20 j) Tech Support Information Output Listing................................................................................... 21 k) Filtering Output show running-config and display current-configuration....................................... 22 l) Motd ................................................................................................................................... 23 m) Source Interface for Management Communications ................................................................. 23 Chapter 2 Switch User ID and Password, and Console Access........................................................ 26 a) Local User ID and Password, and console access .................................................................... 26 b) Recover Lost Password ......................................................................................................... 30 c) Protect Local Password ......................................................................................................... 31 d) Role based management ...................................................................................................... 33 e) Password complexity ............................................................................................................ 40 Chapter 3 Image or Operating System File Management ............................................................... 46 Chapter 4 Configuration File Management ................................................................................... 55

Chapter 5 Syslog Services .......................................................................................................... 64 Chapter 6 Time Service .............................................................................................................. 69

a) NTP ................................................................................................................................... 69 b) SNTP.................................................................................................................................. 73 Chapter 7 SNMP ....................................................................................................................... 77 a) SNMP Version 1 and Version 2c ........................................................................................... 78 b) SNMP Version 3.................................................................................................................. 85 Chapter 8 CLI Management Access ? Telnet and SSH.................................................................... 92 a) Telnet ................................................................................................................................. 92 b) SSH ................................................................................................................................... 94 Chapter 9 GUI Management Access ? HTTP and HTTPS................................................................. 99 a) HTTP .................................................................................................................................. 99 b) HTTPS - SSL (Self-Signed Certificates) ................................................................................... 100 Chapter 10 RADIUS Authentication for Switch Management......................................................... 106 a) Basic Configuration ........................................................................................................... 107 b) Privilege Mode .................................................................................................................. 116 c) Commands Authorization.................................................................................................... 119 d) RADIUS Accounting ........................................................................................................... 120 Chapter 11 TACACS+/HWTACACS Authentication for Switch Management ................................. 123 a) Basic Configuration ........................................................................................................... 123 b) Privilege Mode .................................................................................................................. 129 c) TACACS Accounting .......................................................................................................... 131 Chapter 12 Discovery Protocols ? LLDP and CDP ......................................................................... 135 a) LLDP ................................................................................................................................. 135 b) CDP ................................................................................................................................. 139 Chapter 13 Out-of-Band Management ....................................................................................... 143 Chapter 14 Job Schedule ......................................................................................................... 154 Chapter 15 Interface or Port Information and Nomenclature ......................................................... 158 Chapter 16 VLAN Management ................................................................................................ 167 a) Creating and Naming VLANs ............................................................................................. 167 b) Assigning Ports or Interfaces to VLANs ................................................................................. 170

1

c) Assigning an IP Address to a VLAN ..................................................................................... 177 d) IP Helper to Relay / Forward DHCP Requests........................................................................ 179 Chapter 17 Advanced VLAN Features ....................................................................................... 182 a) Private VLAN..................................................................................................................... 182 b) MVRP ............................................................................................................................... 183 c) VxLAN.............................................................................................................................. 184 d) MDNS, IPv6 ND snooping, BFD .......................................................................................... 185 e) RIPNG .............................................................................................................................. 187 f) IP-SLA, Portscan detection .................................................................................................... 188 g) Federal Govt Certification, Netdestination ............................................................................ 193 Chapter 18 PoE (Power over Ethernet)........................................................................................ 196 Chapter 19 VoIP Support.......................................................................................................... 201 Chapter 20 Link Aggregation ? LACP and Trunk ......................................................................... 203 a) Link Aggregation Control Protocol (LACP) ............................................................................. 203 b) Trunk................................................................................................................................ 208 Chapter 21 RSTP ..................................................................................................................... 212 Chapter 22 MSTP .................................................................................................................... 217 Chapter 23 PVST/PVST+/RPVST/RPVST+................................................................................... 228 Chapter 24 RIP ? v1 and v2...................................................................................................... 233 Chapter 25 OSPFv2................................................................................................................. 236 a) Single Area....................................................................................................................... 236 b) Multiple Areas................................................................................................................... 238 c) Stub ................................................................................................................................. 240 d) Totally Stubby ................................................................................................................... 240 e) Show or Display OSPF Commands ...................................................................................... 241 Chapter 26 BGP version 4........................................................................................................ 246 a) eBGP ............................................................................................................................... 247 b) iBGP ................................................................................................................................ 253 Chapter 27 VRRP..................................................................................................................... 256 Chapter 28 ACLs..................................................................................................................... 260 a) Definitions of Standard or Basic ACLs and Extended or Advanced ACLs .................................. 260

2

b) ACL Fundamental Configuration Options.............................................................................. 260 Standard/Basic.................................................................................................................. 260 Extended/Advanced........................................................................................................... 261

c) Routed/Layer 3 ACL (RACL) ................................................................................................ 261 Standard or Basic ACL........................................................................................................ 262 Extended or Advanced ACL................................................................................................. 262

d) VLAN/Layer 2 Based ACL (VACL) ....................................................................................... 265 Standard or Basic ACL........................................................................................................ 265 Extended or Advanced ACL................................................................................................. 265

e) Port ACL (PACL) ................................................................................................................. 269 Standard or Basic ACL........................................................................................................ 269 Extended or Advanced ACL................................................................................................. 269

Chapter 29 QoS ..................................................................................................................... 272 QoS Operational Characteristics............................................................................................. 272 a) QoS ................................................................................................................................. 273 b) Rate Limiting ..................................................................................................................... 277

Chapter 30 IP Multicast ............................................................................................................ 281 a) PIM Dense ........................................................................................................................ 282 b) PIM Sparse ....................................................................................................................... 284 c) IGMP................................................................................................................................ 289

Chapter 31 Spanning Tree Hardening ....................................................................................... 290 a) UDLD and DLDP................................................................................................................. 292 b) BPDU Protection and BPDU Guard ....................................................................................... 294 c) Loop Protection .................................................................................................................. 295 d) Root Guard ....................................................................................................................... 295

Chapter 32 DHCP Snooping ..................................................................................................... 296 Chapter 33 ARP Protection, ARP Detection, and Dynamic ARP Inspection....................................... 301 Chapter 34 Connection Rate Filtering ........................................................................................ 306 Chapter 35 802.1X Authentication ............................................................................................ 309

a) 802.1X Authentication ....................................................................................................... 309

3

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

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

Google Online Preview   Download