1. Set the host name / system name on the iOS-based switch: switch (config) # hostname Hostname Sets host name / system name on a CLI-based switch: Switch (Enable) SET System Name Name-String 2. Based on iOS Setting the login password on the switch: Switch (config) # Enable Password Level 1 Password Sets the login password on a CLI-based switch: Switch (EnAble) Set Password Switch (Enable) SET ENALBEPASS 3. Set Remote Access on the iOS-based switch : Switch # Interface VLAN 1 Switch (config-if) # ip address ip-address netmask switch (config-if) # ip default-Gateway IP-Address Sets remote access on CLI-based switches: Switch (enable) Set Interface SC0 IP-Address Netmask Broadcast-Address Switch (Enable) Set IP Route Default Gateway 4. Enable and browse CDP information on iOS-based switches: Switch (config-if) # CDP enable Switch (config-if) # no cdp enable In order to view CISCO neighboring devices CDP notification information: Switch # show cdp interface [type mode / port] switch # show cdp neighbors [type module / port] [Detail] in CLI-based switches Enable and browse CDP information: Switch (enable) SET CDP {enable | disable} Module / Port In order to view Cisco Neighboring Device CDP Notification Information: Switch (Enable) Show CDP Neighbors [Module / Port] [VLAN | DUPLEX | Capabilities | Detail] 5. Port description based on iOS-switch: Switch (config-if) # Description Description-String Port Description: Switch (Enable) SET PORT NAME MODULE / NUMBER Description-String 6. Sets Port Speed on IS-based switches: Switch (config-if) # Speed {10 | 100 | Auto} Set port speed on a CLI-based switch: Switch (Enable) SET Speed Moud / Number {10 | 100 | Auto} Switch (Enable) Set Port Speed Moud / Number {4 | 16 | auto} 7. Setting Ethernet link mode on iOS-based switches: Switch (config-if) # duplex {auto | full | half} Setting Ethernet link mode on CLI-based switches: Switch Enable) SET port duplex module / number {full | HALF} 8. Configure static VLANs on an iOS-based switch:
switch # vlan database switch (vlan) # vlan vlan-num name vla switch (vlan) # exit switch # configure teriminal switch (config) # interface interface module / number switch (config-if) # switchport mode access switch (config-if ) # Switchport Access VLAN VLAN-NUM SWITCH (Config-IF) # END Configuring Static VLAN On CLI-based switches: Switch (Enable) SET VLAN VLAN-NUM [Name Name] Switch (Enable) SET VLAN VLAN-NUM MOD- Num / Port-List 9. Configuring a VLAN Trunk on a IS-based switch: Switch # interface interface mod / port switch (config-if) # switchport mode trunk switch (config-if) # switchport trunk enqsulation {isl | dotlq} switch (config-if) # switchport trunk allowed vlan remove vlan-list switch (config-if) # switchport trunk allowed vlan add vlan-list arranged on the CLI-based switch VLAN trunk: switch (enable) set trunk module / Port [ON | Off | Desirable | Auto | Nonegotiate] VLAN-RANGE [ISL | DOTIQ | DOTL0 | LANE | NEGOTIAT) 10. Configuring VTP Management Domain on IS-based switches: Switch # VLAN Database Switch (VLAN) # vtp Domain Domain-name Configuring VTP Management Domain on a CLI-based switch: Switch (Enable) SET VTP [Domain Domain-name] 11. Configuring VTP mode on iOS-based switches : Switch # VLAN DATABASE SWITCH (VLAN) # vtp Domain-Name Switch (VLAN) # vtp {sever | cilent | Transparent} Switch (VLAN) # VTP Password Password Configuring VTP mode on CLI-based switches: Switch (enable) Set vtp [domain domain-name] [Mode {Sever | Cilent | Transparent}] [Password Password] 12. Configuring VTP version on iOS-based switches: Switch # VLAN DATABASE SWITCH (VLAN) # VTP V2-Mode is based on CLI Configure VTP version on the switch: Switch (Enable) SET VTP V2 Enable 13. Start VTP Trip on iOS-based switches: Switch # VLAN Database Switch (VLAN) # vtp pruning Start VTP Tailings on CL i-based switches: Switch (enable) Set VTP Pruning Enable 14. Configure Ethervailahead on an iOS-based switch: Switch (config-if) # port group group-number [distribution {source | destination}) Configuring Ethervation on CLI-based switches: Switch (Enable) SET Port Channel Moudle / Port-Range Mode {ON | Off | Desirable | Auto} 15. Adjust the root path cost on the iOS-based switch:
Switch (config-if) # spanning-tree [vlan-list] COST COST adjusts root path in CLI-based switches: Switch (Enable) Set Spantree Portcost Moudle / Port Cost Switch (Enable) Set Spantree PortVlancost Moudle / Port [COST COST] [VLAN-LIST] 16. Adjust port ID: Switch (config-if) # spanning-trene [vlan-list] port-priority port-prior Port ID: SWITCH (Enable) Set Spantree Portpri {MLDule / Port} Priority Switch (Enable) Set Spantree Portvlanpri {Module / Port} Priority [VLANS] 17. Modify the STP Clock on the iOS-based switch: Switch (config) # spanning -Tree [VLAN VLAN-LIST] Hello-Time Seconds Switch (Config) # spanning-tree [vlan vlan-list] Forward-Time Seconds`
Switch (config) # spanning-tree [VLAN VLAN-LIST] MAX-AGE Seconds Modify STP Clock on CLI-based switches: Switch (Enable) Set Spantree Hello Interval [VLAN] SWITCH (Enable) Set Spantree FwDelay Delay [VLAN] Switch (Enable) Set Spantree Maxage Agingtiame [VLAN] 18. Enable or disable Port Fast feature on the iOS-based switch port: Switch (config-if) # spanning-tree portfast enables or disables Port Fast on a CLI-based switch port Features: Switch (enable) Set spantree portfast {module / port} {enable | disable} 19. Enable or disable UplinkFast feature on the iOS-based switch port: Switch (config) # spanning-tree uplinkfast [max-update-rate PKTS -per-second] Enables or disables UPLINKFAST feature on a CLI-based switch port: Switch (Enable) Set Spantree UplinkFast {Enable | Disable} [Rate Update-rate] [all-protocols off | ON] 20. In order to configure As a group of command switches, first assign an IP address to the management interface, then use the following command: switch (config) # Cluster Enable Cluster-name 21. To remove the VLAN from a relay link, you can use the following command: Switch (Enable) Clear Trunk Module / Port Vlan-Range 22. Displays the VTP parameters of the management domain with Show VTP Domain. 23. Display the VTP parameters of the management domain with Show VTP Statistics. 24. The command defines the TRBRF on the Catalyst switch as follows: Switch (Enable) Set VLAN VLAN-NAME [Name Name] TYPE TRBRF Bridge Bridge- Num [STP {IEEE | IBM}] 25. The command defined on the Catalyst switch is as follows: Switch (Enable) Set VLAN VLAN-NUM [Name Name] TYPE TRCRF {Ring Hex-Ring-Num | DECRING DECIMAL-RING-NUM } PARENT VLAN-NUM 26. After creating TRBRF VLANs, you can assign a switch port. For Ethernet exchange, you can use the following command to assign port: Switch (Enable) SET VLAN VLAN-NUM MOD-NUM / Port -num 27. Command Show Spantree Displays the STP status of a switch port. 28. Configure a ELAN's LES and BUS, you can use the following command: ATM (config) # Interface atm Number.Subint Multioint ATM (config-subif) # lane serber -bus Ethernet Elan-name 29. Configuring LECS: ATM (config) # LANE DATABASE DATABASE-NAME ATM (LANE-Config-Database) # Name Elan1-Name Server-Atm-Address les1-nsap-address atm (Lane-Config DATABADE) # Name Elan2-Name Server-Atm-Address les2-nsap-address ATM (Lane-config-data) # name ... 30. After you have finished the database, you must start the LECS on the primary interface. The command is as follows:
ATM (config) # Interface ATM Number ATM (config-if) # lane config database database-name ATM (config-if) # lane config auto-config-atm-address 31. Configure each LEC to a different ATM child On the interface. The command is as follows: ATM (config) # Interface atm Number.Subint Multipoint ATM (config) # LANE Client Ethernet VLAN-Num Elan-num 32. Displaying the status of LES with Show Lane Server. 33. Show BUS with Show Lane Bus State. 34. Display the LECS database with Show Lane Database. 35. Display the status of the LEC with Show Lane Client. 36. Display the installed module list with Show Module. 37. Establish the connection with the VLAN with the physical interface: Router # configure terminal router (config) # interface media module / port router (config-if) # description description-string router (config-if) # ip address ip-addr subnet-mask router (config-if) # no shutdown 38. Use a relay link to establish a connection with a VLAN: Router # interface module / port.subinterface Router (config-ig) # ENCAPSULATION [ISL | DOTLQ] VLAN-Number Router (config-if) # ip address IP- Address Subnet-Mask 39. Create connection with VLAN: Router (config) # Interface atm module / port router (config-if) # no ip address router (config-if) # ATM PVC 1 0 5 QSAAL ROUTER Config-if) # ATM PVC 2 0 16 ILNI ROUTER (config-if) # interface atm module / port.subinterface Multipoint Router (config-if) # ip address ip-address subnet-mask router (config-if) # lane client Ethernet Elan-Num Router (config- IF) # Interface atm module / port.subinterface Multipoint Router (config-if) # ip address ip-address subnet-name router (config-if) # lane client Ethernet Elan-name Router (config-if) # ... 40. In order to Dynamic routing configuration on the routing processor can be performed with the following iOS command: Router # i p r rTING ROUTER (config) # Router ip-routing-protocol router (config-router) # network ip-network-number router (Config-router) # network IP-network-number 41. Configuring the default route: Switch (Enable) Set IP Route Default Gateway 42. Assign VLANID for a router to use the following commands in Interface mode:
Router (config) # Interface Interface Number Router (config-if) # mls rp vlan-id VLAN-ID-Num 43. Enable MLSP: Router (config) # mls rp ip 44. In order to put an external Routing processor interface and switches are placed in the same VTP domain: Router # Interface Interface Number Router (config-if) # mls rp vtp-domain domain-name 45. View specified VTP domain: Router # show MLS RP VTP-DOMAIN VTP DOMAIN NAME 46. To determine the management interface on the RSM or router, you can enter the following command in interface mode: Router (config-if) # mls rp management-interface 47. To verify the configuration of MLS-RP Situation: Router # SHOW MLS RP 48. Check MLS configuration on a specific interface: Router # show mls rp interface interface number 49. In order to set a cast mask on MLS-SE and do not want to set up access list on either routing processor interface : Set mls flow [Destination | Destination-Source | Full] 50. To make MLS and input access lists can be compatible, you can use the following commands in global mode: Router # mls rp ip INPUT-ACL 51. When a certain When the switch of the switch is exchanged, you can enter the following commands in the privileged mode of the switch: Switch (Enable) Set MLS Enable 52. If you want to change the value of the aging time, you can enter the following command in privileged mode: Switch (enable) Set MLS AgingTime AgingTime 53. Set fast aging: Switch (Enable) Set MLS AgingTime Fast FastageTime Pkt_threshold 54. Determine those MLS-RP and MLS-SEs to participate in MLS, first display the contents of the switch reference list: Switch (Enable ) show mls include 55. Displays MLS Cache Record: s Witch (enable) show mls entry 56. Displays the contents of the ARP cache with command show in ARP. 57. To configure the router as a member of the HSRP backup group, you can use the following command in Interface Configuration mode: Router (config-if) # standby group-number ip ip-address 58. In order to re-recover a router to forward the router Role, in interface configuration mode: Router (config-if) # standy group-number preempt 59. Access time and hold time parameters are configurable: Router (config-if) # Standy Group-number Timers Hellotime Holdtime 60. Configuration HSRP Tracking: Router (config-if) # standy group-number track type-number interface-priority 61. To display the status of the HSRP router: Router # show standby type-number group brief 62. Using the command show IGMP to determine the elected query .
63. Start IP Multicast Routing Selection: Router (config) # ip muticast-routing 64. Launching the PIM: Dalllasr1> (Config-if) # ip Pim {Dense-Mode | Sparse-Mode | Sparse-Dense-Mode } 65. Launch sparse-dense PIM: Router # ip multicast-routing router # interface type Number Router # ip Pim sparse-dense-mode 66. Verified PIM configuration: Dallasr1> # ipPim interface [type number] [Count] 67. Show PIM neighbor: Dallasr1> # show IP neighbor Type Number 68. In order to configure the address of RP, the command is as follows: Dallasr1> # ip Pim rp-address ip-address [group-access-list-number] [override ] 69. Select a default RP: Dallasr1> # ip Pim rp-address advertisement RP and the group range it serves: Dallasr1> # ip Pim sered-rp-announce type number scope ttl group-list access-list-number is Manage the address of the management range Notice RP: Dallasr1> # ip Pim send-rp-announce Ethernet0 Scope 16 Group-list1 Dallasr1> # Access-list 1 permit 266.0.0.0 0.255.255.255 Set an RP Image Agent: Dallasr1> # ip Pim Send-rp-discovery scope TTL verify the image of the RP to RP: Dallasr1> # SHOW IP PIM RP MAPPING DALLASR1> # SHOW IP PIM RP [Group-Name | Group-address] [mapping] 70. Use the command IP on the router interface Multicast TTL-Threshold TTL-Value Set TTL Values: Dallasr1> (Config-IF) # IP Multicast TTL-Threshold TTL-Value 71. Displays the PIM neighbor watch with Show IP Pim Neighbor.
72. Show various records in the multicast communication routing table: Dallasr1> show ip mroute [group-name | group-address] [scoure] [summary] [count] [Active Kbps] 73. To record a router acceptance and send All IP multicast package: Dallasr1> #debug ip mpacket [detail] [access-list] [group] 74. To configure CGMP: Dallasr1> (Config-IF) # ip cgmp 75. Configuring a multicast on the Cisco router Router, make it add a specific multicast group: Dallasr1> (config-if) # ip ip igmp join-group group-address 76. Turn off CGMP: Dallasr1> (config-if) # no ip cgmp 77. Startup the cGMP: dallasr1> (enable) set cgmp enable 78. Catalyst switch to verify the configuration of cGMP: catalystla1> (enable) show config set prompt catalystla1> set interface sc0 192.168.1.1 255.255.255.0 set cgmp enable 79. cGMP leave Setting: Dallas_sw (Enable) SET CGMP Leave 80. Modify Control Port Password on Cisco Device: R1 (Config) # line console 0 r1 (config-line) # Login R1 (config-line) # Password Lisbon R1 (config) # Enable Password Lilbao R1 (Config) # login local r1 (config) # UserName Student Password Cisco 81. Setting a console and Vty port on a Cisco device Timeout: R1 (config) # line console 0 r1 (config-line) # # # Exec-Timeout 5 10 R1 (config) # line vty 0 4 r1 (config-line) # EXEC-TIMEOUT 5 2 82. Set privileges on Cisco devices : R1 (config) # privilege configure level 3 username R1 (config) # privilege configure level 3 copy run start R1 (config) # privilege configure level 3 ping R1 (config) # privilege configure level 3 show run R1 (config) # enable Secret Level 3 Cisco 83. Using the command privilege to define the commands used under the privilege level: Router # privilege model level level zmand 84. Set user privilege level: router (config) # Enable Secret Level 3 Dallas Router CONFIG #ENABLE SECRET SAN-FRAN ROUTER # UserName Student Password Cisco 85. Sign Sets: R1 (Config) # Banner Motd 'Unauthorized Access Will Be Prosecuted!' 86. Set Vty Access:
R1 (config) # Access-list 1 permit 192.168.2.5 r1 (config) # line vty 0 4 r1 (config) # Access-Class 1 in 87. Configuring HTTP Access: Router3 (config) # Access-list 1 permit 192.168. 10.7 Router3 (config) # IP http sever router3 (config) # i h h i # i h h # UserName Student Password Cisco 88. To enable HTTP access, type the following command: Switch # ip http sever 89. Start and verify port security on SETCL1 on SETCL: Switch (Enable) SET PORT SECURITY MOD_NUM / Port_Num ... Enable Mac Address Switch (Enable) show port mod_num / port_num is based on CiscoIOS Command Switch Startup and Verify Port Security: Switch (Config-IF) # Port Secure [Mac-Mac-Count Maximum-Mac-Count] Switch # Show Mac-Address-Table Security [Type Module / Port] 90. Command Access-List creates a record in a standard traffic filter form: Router # Access-list access-list-number {permit | deny} Source-address [Source-Address] 91. Extension with command Access-List Create a record in the traffic filter: Router # Access-list access-list-number {permit | deny {protocol | protocol-keyword}} {source source-wildcard | Any} {Destination Destination-Wildcard | Any } [protocol-specific options] [log] 92. For the in-line routing update, the most basic command format for configuring routing updates is: r1 (config-router) # distribute-list access-list-number | name in [Type Number ] 93. For the outgoing route update, the most basic command format for configuring routing updates is: r1 (config-router) # distribute-list access-list-number | name out [interface-name] routing-process | autonomous-system -Number 94. SET SNMP Command Options: SET SNMP Community {Read-Only | Ready-Write | Read-Write-All} [Community_String] 95. SET SNMP Trap Command Format as follows: Set SNMP Trap {Enable | Disable} [all | Moudle | Classis | Bridge | Repeater | Auth | VTP | ippermit | VMPS | Config | Entity | STPX] SET SNMP TRAP RVCR_ADDR RCVR_COMMUNITY 96. Enable SNMP Chassis Trap: Console>