Cisco Systems

 


Modules:  1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  CS  |  All  |
Module 1 - 9 and Case Study Commands
 
Module 1: Introduction to Classless Routing
  Command Command Description Command Syntax
1.1.2 no ip subnet-zero To enable the use of subnet zero for interface addresses and routing updates, use the ip subnet-zero global configuration command. To restore the default (disabled), use the no form of this command. no ip subnet-zero
1.2.4 router rip version 2 Selects RIP v2 as the routing protocol. router rip version 2
Module 2: Single Area OSPF
  Command Command Description Command Syntax
2.3.1 router ospf process-id To configure an OSPF routing process, use the router ospf global configuration command. To terminate an OSPF routing process, use the no form of this command. router ospf process-id
  network address wildcard-mask area area-id To define the interfaces on which OSPF runs and to define the area ID for those interfaces, use the network area router configuration command. network address wildcard-mask area area-id
2.3.2 interface loopback number Use the interface global configuration command to configure an interface type and enter interface configuration mode. interface type number
  ip ospf priority number To set the router priority, which helps determine the designated router for this network, use the ip ospf priority interface configuration command. To return to the default value, use the no form of this command. ip ospf priority number
  show ip ospf interface type number Displays statistics and status information of running ospf processes. show ip ospf { [process-id] | border-routers | database | interface | virtual-links }
2.3.3 ip ospf cost number To explicitly specify the cost of sending a packet on an interface, use the ip ospf cost interface configuration command. To reset the path cost to the default value, use the no form of this command. ip ospf cost cost
2.3.4 ip ospf authentication-key password To assign a password to be used by neighboring routers that are using OSPF's simple password authentication, use the ip ospf authentication-key interface configuration command. To remove a previously assigned OSPF password, use the no form of this command. ip ospf authentication-key password
  area area-number authentication Use the area command to configure area parameters such as authentication and summarization. area area-id { authentication [message-digest] | stub [no-summary] | nssa [no-redistribution] [default-information
-originate] | default-cost cost | range address mask [advertise | not-advertise] | virtual-link router-id }
  ip ospf message-digest-key key-id md5 encryption-type key To enable OSPF Message Digest 5 (MD5) authentication, use the ip ospf message-digest-key interface configuration command. To remove an old MD5 key, use the no form of this command. ip ospf message-digest-key key-id md5 key
2.3.5 ip ospf hello-interval seconds To specify the interval between hello packets that the Cisco IOS software sends on the interface, use the ip ospf hello-interval interface configuration command. ip ospf hello-interval seconds
  ip ospf dead-interval seconds    
2.3.6 default-information originate To generate a default route into RIP, use the default-information originate router configuration command. To disable this feature, use the no form of this command. default-information originate [route-map mapname]
2.3.8 show ip ospf interface Displays statistics and status information of running ospf processes. show ip ospf { [process-id] | border-routers | database | interface | virtual-links }
  show ip ospf Displays statistics and status information of running ospf processes. show ip ospf { [process-id] | border-routers | database | interface | virtual-links }
  show ip ospf neighbor detail Displays detailed list of neighbors, their priorities, and their state. show ip ospf neighbor detail
  show ip ospf database Displays statistics and status information of running ospf processes. show ip ospf { [process-id] | border-routers | database | interface | virtual-links }
Module 3: EIGRP
  Command Command Description Command Syntax
3.2.1 router eigrp autonomous
-system-number
To configure the EIGRP routing process, use the router eigrp global configuration command. To shut down a routing process, use the no form of this command. router eigrp autonomous-system
  network network-number To specify a list of networks for an EIGRP routing process, use this form of the network router configuration command. To remove an entry, use the no form of this command. network network-number [network-mask]
  eigrp log-neighbor-changes To enable the logging of changes in EIGRP neighbor adjacencies, use the eigrp log-neighbor-changes router interface configuration command. eigrp log-neighbor-changes
3.2.2 no auto-summary This command applies to a RIP routing process. To restore the default behavior of automatic summarization of subnet routes into network-level routes, use the auto summary router configuration command. To disable this function and transmit subprefix routing information across classful network boundaries, use the no form of this command. auto-summary
  ip summary-address eigrp autonomous
-system-number ip-address mask administrative-distance
To configure a summary aggregate address for a specified interface, use the ip summary-address eigrp interface configuration command. To disable a configuration, use the no form of this command. ip summary-address eigrp as-number network-address subnet-mask [admin-distance]
3.2.3 show ip eigrp topology all-links To display the EIGRP topology table, use the show ip eigrp topology EXEC command. This command is also used to determine Diffusing Update Algorithm (DUAL) states and to debug possible DUAL problems. show ip eigrp topology [autonomous-system
-number | [[ip-address] mask]]
  show ip eigrp traffic Displays the number of Enhanced IGRP packets sent and received. show ip eigrp traffic
3.3.3 debug ip igrp transactions [host ip address] Used to view IGRP transaction information. debug ip igrp transactions [host ip address]
  debug ip igrp events [host ip address] Used to view routing update information. debug ip igrp events [host ip address]
  no debug ip igrp Used to turn off debugging for IGRP. no debug ip igrp
3.3.4 show ip eigrp neighbor Displays the EIGRP discovered neighbors. show ip eigrp neighbors [interface-type | as-number | static]
3.3.5 show ip ospf neighbors This command is useful for troubleshooting adjacency formation. show ip ospf neighbors
  debug ip ospf events Displays adjacencies, flooding information, designated router selection, and shortest path first (SPF) calculation. debug ip ospf events
  debug ip ospf packet Used to display information about each Open Shortest Path First (OSPF) packet received. debug ip ospf packet
Module 4: Switching Concepts
There are no commands in this module.
Module 5: Switches
There are no commands in this module.
Module 6: Switch Configuration
  Command Command Description Command Syntax
6.1.6 show interface status Use the show interface privileged EXEC command to display the administrative and operational status of a switching (nonrouting) port. show interface [interface-id | vlan number] [flow-control | pruning | status | switchport [allowed-vlan | prune-elig | native-vlan]]
  show controllers ethernet-controller Use the show controllers ethernet EXEC command to display information on the Cisco 2500, Cisco 2600, Cisco 3000, or Cisco 4000 series. show controllers ethernet slot/port
  show post Tells if the switch passed the Power-On Self Test show post
6.2.1 no ip address To set IP addresses for an interface, use the ip address interface configuration command. The secondary keyword designates an IP address as an auxiliary address. To remove the specified addresses, use the no form of this command. no ip address
  show running-config This command allows you to view the current configuration in the RAM. This configuration is the active configuration, and changes made to the router will show up in this configuration file. Since it is stored in the RAM, any changes not saved will be gone when the router resets. show running-config
  show startup-config This command allows you to view the configuration file "startup-config" in the NVRAM. This configuration file is the stored, default file that is used by the router when it boots. Any changes made to the active configuration on the router that is not saved to this file using "copy running-config startup-config" will be lost upon next reload. show startup-config
  show ip interface VLAN 1 To display the usability status of interfaces configured for IP, use the show ip interface EXEC command. show ip interface interface-type number
  show version To display the configuration of the system hardware, the software version, the names and sources of configuration files and the boot images, use the show version EXEC command. show version
  show interface fastethernet Use the show interface privileged EXEC command to display the administrative and operational status of a switching (nonrouting) port. show interface [interface-id | vlan number] [flow-control | pruning | status | switchport [allowed-vlan | prune-elig | native-vlan]]
  show vlan Use the show vlan command to display VLAN information. Each Ethernet switch port and Ethernet repeater group belong to only one VLAN. Trunk, FDDI/CDDI, and ATM ports can exist on multiple VLANs. show vlan type
  dir flash: To display a list of files on a file system, use the dir EXEC command. dir [/all] [filesystem: | file-url]
  show flash To display the layout and contents of a Flash memory file system, use the show EXEC command. show flash-filesystem:
  copy running-config startup-config Use the copy command set to upload or download a Flash image or a switch configuration to or from a Flash device, rcp server, or TFTP server. copy file-id {config | flash | rcp | tftp}
  exit Use the exit command at the EXEC levels to exit the EXEC mode. Use the exit command at the configuration level to return to privileged EXEC mode. exit
  delete flash:vlan.dat To delete a file on a Flash memory device, use the delete EXEC command. delete flash-url
  delete vtp This command resets the switch with VTP parameters set to factory defaults. All other parameters will be unchanged. delete vtp
6.2.2 configure terminal This command is used to switch from enable mode to one of the configuration modes. configure {terminal | memory | network | overwrite-network}
  hostname This command is used to name the switch. hostname
  line con 0 To identify a specific line for configuration and begin the line configuration command collection mode, use the line global configuration command. line [aux | console | tty | vty ] line-number [ending-line-number]
  password To specify a password on a line, use the password line configuration command. Use the no form of this command to remove the password. password password
  login To enable password checking at login, use the login line configuration command. Use the no form of this command to disable password checking and allow connections without a password. login [local | tacacs]
  line vty 0 4 To identify a specific line for configuration and begin the line configuration command collection mode, use the line global configuration command. line [aux | console | tty | vty ] line-number [ending-line-number]
  enable secret To specify an additional layer of security over the enable password command, use the enable secret global configuration command. Use the no form of this command to turn off the enable secret function. enable secret [level level] {password | [encryption-type] encrypted-password}
  enable password To set a local password to control access to various privilege levels, use the enable password global configuration command. Use the no form of this command to remove the password requirement. enable password [level level] {password | [encryption-type] encrypted-password}
  interface VLAN1 Use the interface global configuration command to configure an interface type and enter interface configuration mode. interface type number
  ip address To set IP addresses for an interface, use the ip address interface configuration command. The secondary keyword designates an IP address as an auxiliary address. To remove the specified addresses, use the no form of this command. ip address ip-address mask [secondary]
  ip default-gateway To define a default gateway (router) when IP routing is disabled, use the ip default-gateway global configuration command. To disable this function, use the no form of this command. ip default-gateway ip address
  show interface VLAN Use the show interface privileged EXEC command to display the administrative and operational status of a switching (nonrouting) port. show interface [interface-id | vlan number] [flow-control | pruning | status | switchport [allowed-vlan | prune-elig | native-vlan]]
  speed 100 To configure the speed for a Fast Ethernet interface, use the speed interface configuration command. Use the no form of this command to disable a speed setting. speed {10 | 100 | auto}
  duplex full To configure the duplex operation on an interface, use the duplex interface configuration command. Use the no form of this command to return the system to half-duplex mode, which is the system default. duplex {full | half | auto}
6.2.3 show mac-address–table Used to examine the addresses that a switch has learned. show mac-address–table
  clear mac-address-table Rather than wait for a dynamic entry to age-out, the administrator has the option to use this privileged exec command. clear mac-address-table
6.2.4 mac-address-table static <mac-address of host> interface FastEthernet<Ethernet numer> vlan, To set a static MAC address entry for a switch use this command. mac-address-table static <mac-address of host> interface FastEthernet<Ethernet numer> vlan,
  no mac-address-table static <mac-address of host>interface FastEthernet <Ethernet number> vlan <vlan name> To remove this entry use the no form of the command. no mac-address-table static <mac-address of host>interface FastEthernet <Ethernet number> vlan <vlan name>
6.2.5 port security Use the port security interface configuration command to enable port security on a port and restrict the use of the port to a user-defined group of stations. Use the no form of this command to return the port to its default value. port security [action {shutdown | trap} | max-mac-count addresses]
  no port security Use the port security interface configuration command to enable port security on a port and restrict the use of the port to a user-defined group of stations. Use the no form of this command to return the port to its default value. port security [action {shutdown | trap} | max-mac-count addresses]
  port security action Use the port security interface configuration command to enable port security on a port and restrict the use of the port to a user-defined group of stations. Use the no form of this command to return the port to its default value. port security [action {shutdown | trap} | max-mac-count addresses]
  show port security To verify port security status use this command.. show port security
  port secure To verify port security status use this command on the Cisco 1900. port secure
  show mac-address-table security Use the show (mac-address-table security) privileged Exec command to display the addressing security configuration. show mac-address-table security 
  port security max-mac-count 1 Use the port security interface configuration command to enable port security on a port and restrict the use of the port to a user-defined group of stations. Use the no form of this command to return the port to its default value. port security [action {shutdown | trap} | max-mac-count addresses]
  port secure max-mac-count 1 Maximum number of addresses allowed on the port on a 1900. port secure max-mac-count
  switchport port-security maximum Maximum number of addresses allowed on the port on a 1900. switchport port-security maximum
  port security action shutdown In the event of a security violation the interface should be shut down. port security action shutdown
6.2.6 switchport port-security mac-address sticky The switchport accepts only one device. switchport port-security mac-address sticky
  clear mac-address-table dynamic This will unlock the MAC addresses from security and allow a new address to be registered. clear mac-address-table dynamic
6.2.7 show flash To display the layout and contents of a Flash memory file system, use the show EXEC command. show flash-filesystem:y
  copy flash tftp To copy any file from a source to a destination, use the copy EXEC command. Use the /erase option to erase the destination file system before copying. copy {flash | ftp | nvram | running-config | startup-config | system | tftp} {flash | ftp | nvram | running-config | startup-config | system | tftp}
  copy startup-config tftp To copy any file from a source to a destination, use the copy EXEC command. Use the /erase option to erase the destination file system before copying. copy {flash | ftp | nvram | running-config | startup-config | system | tftp} {flash | ftp | nvram | running-config | startup-config | system | tftp}
  copy start tftp To copy any file from a source to a destination, use the copy EXEC command. Use the /erase option to erase the destination file system before copying. copy {flash | ftp | nvram | running-config | startup-config | system | tftp} {flash | ftp | nvram | running-config | startup-config | system | tftp}
6.2.8 flash_init One of three commands that are used to initialize the flash filesystem, and finish loading the operating system software in the 2950 switch. flash_init
  load_helper One of three commands that are used to initialize the flash filesystem, and finish loading the operating system software in the 2950 switch. load_helper
  dir flash: To display a list of files on a file system, use the dir EXEC command. dir [/all] [filesystem: | file-url]
  rename flash:config.text flash:config.old Renames the configuration file saved in the flash. rename flash:config.text flash:config.old
  boot Boots the system. boot
6.2.9 no ip http server To enable a Cisco router to be configured from a browser using the Cisco IOS ClickStart software, and to enable any router to be monitored or have its configuration modified from a browser using the Cisco Web browser interface, use the ip http server global configuration command. To disable this feature, use the no form of this command. no ip http server
  delete flash:archive tar /x tftp://192.168.1.3/
c2950-c3h2s-mz.
120-5.3.WC.1.tar flash:
To delete a file on a Flash memory device, use the delete EXEC command. delete flash-url
  boot system flash: To specify the system image that the router loads at startup, use one of the following boot system global configuration commands. Use a no form of this command to remove the startup system image specification. boot system flash [flash-fs:] [partition-number:] [filename]
Module 7: Spanning-Tree Protocol
  Command Command Description Command Syntax
7.2.4 show spanning-tree brief Use the show spanning-tree privileged EXEC command to display spanning-tree information for the specified spanning-tree instances. show spanning-tree [brief] | [summary] | [vlan stp-list] [interface interface-list] | [{begin | exclude | include} expression]
  spanning-tree priority 1 Use the spanning-tree priority global configuration command to configure the switch priority for the specified spanning-tree instance. This changes the likelihood that the switch is selected as the root switch. Use the no form of this command to revert to the default value. spanning-tree [vlan stp-list] priority bridge-priority
spanning-tree vlan 1 priority 4096 Use the spanning-tree cost interface configuration command to set the path cost for Spanning Tree Protocol (STP) calculations. In the event of a loop, spanning tree considers the path cost when selecting an interface to place into the forwarding state. Use the no form of this command to return to the default value. spanning-tree [vlan stp-list] cost cost
Module 8: Virtual LANs
  Command Command Description Command Syntax
8.2.3 vlan database Use the vlan database privileged EXEC command to enter VLAN configuration mode from the command-line interface (CLI). From the CLI, you can add, delete, and modify VLAN configurations and globally propagate these changes by using the VLAN Trunking Protocol (VTP). vlan database
  vlan vlan_number Use the vlan VLAN configuration command to configure VLAN characteristics. Use the no form of this command to delete a VLAN and its configured characteristics. nvlan vlan-id [name vlan-name] [media {ethernet | fddi | fdi-net | tokenring | tr-net}]
[state {suspend | active}] [said said-value] [mtu mtu-size] [ring ring-number]
[bridge bridge-number | type {srb | srt}] [parent parent-vlan-id]
[stp type {ieee | ibm | auto}] [are are-number] [ste ste-number]
[backupcrf {enable | disable}] [tb-vlan1 tb-vlan1-id] [tb-vlan2 tb-vlan2-id]
  switchport access vlan vlan_number Use the switchport access interface configuration command to configure a port as a static-access or dynamic-access port. If the mode is set to access, the port operates as a member of the configured VLAN. If set to dynamic, the port starts discovery of its VLAN assignment based on the incoming packets it receives. Use the no form of this command to reset the access mode to the default VLAN for the switch. switchport access vlan {vlan-id | dynamic}
  show vlan Use the show vlan command to display VLAN information. Each Ethernet switch port and Ethernet repeater group belong to only one VLAN. Trunk, FDDI/CDDI, and ATM ports can exist on multiple VLANs. show vlan typer
  vlan 2 name VLAN2 Use the vlan VLAN configuration command to configure VLAN characteristics. Use the no form of this command to delete a VLAN and its configured characteristics. vlan vlan-id [name vlan-name] [media {ethernet | fddi | fdi-net | tokenring | tr-net}]
[state {suspend | active}] [said said-value] [mtu mtu-size] [ring ring-number]
[bridge bridge-number | type {srb | srt}] [parent parent-vlan-id]
[stp type {ieee | ibm | auto}] [are are-number] [ste ste-number]
[backupcrf {enable | disable}] [tb-vlan1 tb-vlan1-id] [tb-vlan2 tb-vlan2-id]
  switchport mode access Use the switchport mode interface configuration command to configure the VLAN membership mode of a port. Use the no form of this command to reset the mode to the appropriate default for the device. switchport mode {access | trunk}
  vlan static On a Catalyst 1900, this command is used to statically assign ports to an interface. vlan static
  show vlan-membership On a Catalyst 1900, this command is used to show port assignments to VLANs. show vlan-membership
  show vlan id This command shows information specific to the VLAN chosen. show vlan id id_number
8.2.4 show vlan Use the show vlan privileged Exec command to display the settings of VLAN configuration parameters. show vlan [vlan]
  show vlan brief Gives a short synopsis of the VLANs created including VLAN number, VLAN name, VLAN status, and the ports assigned show vlan brief
8.2.6 switchport access vlan 300 Use the switchport access interface configuration command to configure a port as a static-access or dynamic-access port. If the mode is set to access, the port operates as a member of the configured VLAN. If set to dynamic, the port starts discovery of its VLAN assignment based on the incoming packets it receives. Use the no form of this command to reset the access mode to the default VLAN for the switch. switchport access vlan {vlan-id | dynamic}
8.3.4 debug sw-vlan packets This command is used to display general information about VLAN packets that the router received but is not configured to support. debug sw-vlan packets
  show sw-vlan VLAN packets that the router is configured to route or switch are counted and indicated using this command. show sw-vlan
8.3.5 show interface Use the show interface privileged EXEC command to display the administrative and operational status of a switching (nonrouting) port. show interface [interface-id | vlan number] [flow-control | pruning | status | switchport [allowed-vlan | prune-elig | native-vlan]]
  show int status Verify that the duplex and speed are set properly between the switch and the router. show int status
  show vtp status Use the show vtp privileged EXEC command to display general information about the VLAN Trunk Protocol (VTP) management domain, status, and counters. show vtp {counters | status} | [{begin | exclude | include} expression]
  no vtp password password Use the vtp password VLAN configuration command to configure the VLAN Trunking Protocol (VTP) administrative domain password. Use the no form of this command to remove the password. no vtp password password-value
Module 9: Virtual Trunking Protocol
  Command Command Description Command Syntax
9.1.5 show port capabilities Use the show port capabilities command to display the capabilities of the modules and ports in a switch. show port capabilities [mod_num[/port_num]]
  show trunk [mod_num/port_num] Use the show trunk command to display trunking information for the switch. show trunk [mod_num[/port_num]] [detail]
  switchport mode trunk Use the switchport mode interface configuration command to configure the VLAN membership mode of a port. Use the no form of this command to reset the mode to the appropriate default for the device. switchport mode {access | trunk}
  switchport trunk encapsulation isl Use the switchport trunk encapsulation interface configuration command to set the encapsulation format on the trunk port. Use the no form of this command to reset the format to the default. This command is available only in the Enterprise Edition Software. switchport trunk encapsulation {isl | dot1q}
9.2.5 vtp v2-mode Use this command to change the VTP version number on a set command-based switch to VTP Version 2. vtp v2-mode
  vtp domain cisco Use the vtp domain VLAN configuration command to configure the VLAN Trunking Protocol (VTP) administrative domain. vtp domain domain-name
  show vtp status Use the show vtp privileged EXEC command to display general information about the VLAN Trunk Protocol (VTP) management domain, status, and counters. show vtp {counters | status} | [{begin | exclude | include} expression]
  vtp client | server | transparent Use the vtp VLAN database command to configure the VLAN Trunk Protocol (VTP) mode. Use the no form of this command to return to the default setting. vtp {server | client | transparent}
  show vtp counters Use the show vtp privileged EXEC command to display general information about the VLAN Trunk Protocol (VTP) management domain, status, and counters. show vtp {counters | status} | [{begin | exclude | include} expression]
9.3.6 interface fastethernet port-number.
 subinterface-number
Use the interface global configuration command to configure an interface type and enter interface configuration mode. interface type slot/port-adapter/port.
subinterface-number
{multipoint | point-to-point}
  encapsulation dot1q vlan-number To enable IEEE 802.1Q encapsulation of traffic on a specified subinterface in virtual LANs (VLANs), use the encapsulation dot1q subinterface configuration command. encapsulation dot1q vlan-id [native]
  ip address ip-address subnet-mask To set IP addresses for an interface, use the ip address interface configuration command. The secondary keyword designates an IP address as an auxiliary address. To remove the specified addresses, use the no form of this command. ip address ip-address mask [secondary]
Case Study: Routing
There are no commands in this case study.
Close Window
All contents copyright © 2003 Cisco Systems, Inc. All rights reserved.