ICND2-200-101 IOS CLI Study Guide (CCNA) SWITCH CONFIGURATION STP (Change Options): 2. spanning-tree mode rapid-pvst [pvst] OR [mst] 3. Assign PortFast and/or BPDU Guard (sub-interface cmd): a. spanning-tree portfast b. spanning-tree bpduguard enable 4. spanning-tree vlan # cost # 5. spanning-tree vlan # priority ##### a. spanning-tree vlan # root primary [secondary] 6. Check STP: a. show spanning-tree {vlan #] b. show spanning-tree root Etherchannel: 2. int range f0/5 7 (or single Interface) 3. channel-group 1 mode on 4. NOTE: if using PAgP or LACP, use mode auto, desirable, active, or passive 5. Verify: show run int po# OR show etherchannel # summary Troubleshoot STP: 1. show spanning tree [vlan #] 2. show mac address-table 3. show spanning tree root Troubleshoot Etherchannel: 1. show int PO# 2. show etherchannel # summary 3. sho ip int status ROUTER CONFIGURATION Config Serial Interface: 2. int s0/1/0 3. encapsulation ppp [hdlc] 4. ppp authentication chap (opt) a. username R2 password pwd (R1) b. username R1 password pwd (R2) 4. no shut 5. Verify: show int s0/1/0 OR show int brief OR show controllers Load New IOS Image: 1. copy tftp flash (prompted for TFTP server & IOS filename) 2. Verify file copy: show flash 3. config t 4. Boot to new image: boot system flash:imagefilename.bin 5. copy run start 6. reload 7. Verify: show version Cisco License Install: 1. show license udi 2. go to Cisco License Portal 3. Enter UDI # & PAK purchase # 4. Download license file to Flash 5. Connect Flash drive to device 6. license install usbflash1:ftx### ##P_#########.lic 7. reload 8. Verify: show license [feature] 9. To enable a IOS feature set: a. license boot module c2900 technology-package securityk9 Configure Multi-Area OSPF: 2. router ospf 1 3. router-id #.#.#.# (e.g.) 4. int f0/1 5. ip ospf 1 area 0 6. int f0/0 7. ip ospf area 51 9. Other options: a. ip ospf cost # (sub-int cmd) b. maximum-paths # (sub-rtr cmd)
c. passive-interface f0/2 (sub- Rtr cmd) d. bandwidth (sub-int in Kbps) e. auto-cost reference-bandwidth #### (sub-rtr cmd in Mbps) 8. Verify: show ip ospf neighbor ; show ip ospf database ; show ip route ; show ip protocol Configure EIGRP: 2. router eigrp 1 (A/S number) 3. no auto-summary 4. eigrp router-id #.#.#.# 5. network #.#.#.# #.#.#.# (Subnet & Wildcard Mask) 6. Other options: a. bandwidth # (sub-int in Kbps) b. maximum-paths (sub-rtr cmd) c. variance (sub-rtr cmd) d. ip hello-interval eigrp # (sub-int cmd) e. ip hold-time eigrp # (sub-int cmd) f. delay # (sub-int cmd) g. passive-interface (sub-int) Confgure VRRP: 3. vrrp # 10.0.0.1 (# = 0-255) 4. vrrp priority # (default is 100; higher = active Router) 5. vrrp # preempt 6. go to next Rtr & config the same 7. Verify: show vrrp Configure HSRP: 3. standby # ip 10.0.0.1 (# = 0-255) 4. standby priority # (default is 100; higher = active Router) 5. standby # preempt 6. go to next Rtr & config the same 7. Verify: show standby [brief] Configure GLBP: 3. glbp # ip 10.0.0.1 (# = 0-255) 4. glbp priority # (default is 100; higher = active Router) 5. go to next Rtr & config the same 7. Verify: show glbp [brief]
Configure Syslog: 1. Console enable: logging console 2. Server enable: logging #.#.#.# 3. logging trap 4 (set Severity level) 4. Verify: show logging (& view Logging Server for msgs) Configure SNMP: 1. ip access-list standard ACL-SNMP 2. permit host #.#.#.# 3. snmp-server community Pwd RW ACL- SNMP Configure Frame Relay: 1. One Subnet: c. ip address #.#.#.# #.#.#.# d. encapsulation frame-relay (NOTE: no mode = cisco default, otherwise use ietf ) 1) frame-relay map ip #.#.#.# ietf (to map different mode for a Rtr that needs to use other than Cisco default) e. no shut f. Options: 1) frame-relay lmi-type [ansi] 2) frame-relay map ip #.#.#.# ## broadcast (Remote Rtr IP; local Rtr DLCI) 2. Point-to-Point c. encapsulation frame-relay d. int s0/0/0.1 point-to-point e. ip address #.#.#.# #.#.#.# f. frame-relay interface-dlci # g. no shut h. int s0/0/0.2 point-to-point i. ip address #.#.#.# #.#.#.# j. frame-relay interface-dlci # k. no shut 3. Multipoint c. encapsulation frame-relay d. int s0/0/0.1 multipoint e. ip address #.#.#.# #.#.#.# f. frame-relay interface-dlci # g. frame-relay interface-dlci # h. no shut
i. int s0/0/0.2 multipoint j. ip address #.#.#.# #.#.#.# k. frame-relay interface-dlci # l. no shut 4. Verify: show frame-relay [map] [pvc] [lmi] ; and do Ping tests Configure PPPoE: 2. int dialer # 3. encapsulation ppp 4. ip address negotiated 5. mtu 1492 6. dialer pool # 7. ppp chap hostname ISPRouter 8. ppp chap password ISPPwd 9. int s0/0/1 10. pppoe-client dial-pool-number # 11. NOTE: # in Step 6 & 10 need to match Troubleshooting Commands: 1. General Networking a. Extended Ping b. Extended Traceroute 2. General Routing a. show ip route b. show ip protocol 3. OSPF a. show ip ospf neighbor b. show ip ospf database c. show ip ospf int g0/0 d. show ip protocol 4. EIGRP a. show ip eigrip neighbor b. show ip eigrp topology c. show ip eigrp int f0/0 d. show ip protocol 5. WAN a. show int s0/0/1 b. show ip int brief 6. Frame-Relay a. show frame-relay pvc b. show frame-relay map c. show frame-relay lmi d. show int s0/0/1 7. PPP a. show int s0/0/0 b. show run int s0/0/0 8. Inter-VLAN a. show ip int brief b. show run int g0/0.#
The above configurations assume you know the why behind them. This Guide is solely intended to remove all noise around the ICND2 Outline & provide a direct CLI How-to procedure for each of the listed tasks. Reference the ICND2 Study Guide for detailed explanations of each. Created by Shane Williford 19 November 2014. If you reference this Study Guide, please give credit to the author.