SlideShare a Scribd company logo
1 of 3
1
Experiment on Basic Configuration of Cisco Switch
Purpose:
Grasp the differences on various operating modes of command-line Cisco switch and switching
between modes.
Technical principle:
The switch management is basically divided into two categories, in-band and out-band
management. The out-band management is managing the switch by the switch Console port, and
will not take the network interface of the switch, which needs to configure the purity cable with
close distance. Console port must be used when you first configure the switch.
Step one: Enter into command line operation modes of switches
Switch A >enable
! To the privileged mode
SwitchA#
SwitchA# configure terminal ! To the global configuration mode
SwitchA (config) # interface fastethernet 0/5 ! To F0/5 port mode of switch
Or switchA (config) # interface gigabitethernet 0/5
Switch A (config-if)
Switch A(config-if) # exit ! Return to the previous operation mode
Switch A (config) #
Switch A (config) #
switchA (config-if) # end ! Return to the privileged mode directly
2
Step two: The basic function of switch command line
Helping information
Switch A> ? ! Displays all executable commands of the current mode
Disable Turn off privileged commands
Enable Turn on privileged commands
Exit Exit from the EXEC
Help Description of the interactive help system
Ping Send echo messages
Rcommand Run command on remote switch
Show Show running system information
telnet Open a telnet connection
traceroute Trace route to destination
switchA#co? ! Displays all beginning with “co” commands of the current mode
configure copy
switchA#copy ? ! Displays the executable parameters after the “copy” command
flash: copy from flash: file system
running-config copy from current system configuration
startup-config copy from startup configuration
tftp: copy from tftp: file system
xmodem copy from xmodem file system
Command abbreviation
SwitchAA#conf ter ! Abbreviation of supporting command on switch command line,
the command represent configure terminal
Switch A (config) #
Automatically command appending
SwitchA#con (press the “TAB” button to automatically append “configure”)
! Automatically append command supporting of the switch
SwitchA#configure
Shortcut of the commands
switchA(config-if) # ^Z ! Ctrl+z return to the privileged mode
switchA# ping 1.1.1.1
sending 5, 100-byte ICMP Echos to 1.1.1.1,
timeout is 2000 milliseconds.
.
SwitchA#
3
If you execute the ping1.1.1.1 command as above under privileged mode of switch, and can not
ping the destination address, the switch need to send 5 data packets on the default situation and if
you do not want the feedback that all the five packets can not ping the destination address, you can
terminate the current operation by performing ctrl + c before the fives are not sent out.
Note:
When the command line operation is automatically appending or abbreviating commands, the
required letter must be able to only distinguish the command, such as the switchA # conf can
represent configure, but switchA # co can not represent configure, since the beginning of the co
command has two copy and configure, the device can not distinguish.
Pay attention to distinguish the executable command types under each operating mode. The switch
can not execute the command while cross the mode.
The more information about technical support you can consult with our technicist - Bill, and his
e-mail address is as below:
bill@3anetwork.com
More related:
Brief Talk on Static Routing Configuration Experiment
See detailed Memory Configuration on Cisco 3925 Router
About Configuring Cisco Router 2901 / Port Forwarding
Stacking – WS-C3750G-24TS and X-series
Cisco 1941 vwic 2 port combine
More Cisco products and Reviews you can visit: http://www.3anetwork.com/blog
3Anetwork.com is a world leading Cisco networking products wholesaler, we wholesale
original new Cisco networking equipments, including Cisco Catalyst switches, Cisco
routers, Cisco firewalls, Cisco wireless products, Cisco modules and interface cards
products at competitive price and ship to worldwide.
Our website: http://www.3anetwork.com
Telephone: +852-3069-7733
Email: info@3Anetwork.com
Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong

More Related Content

More from 3Anetwork com

Cisco catalyst 3850 series switches datasheet
Cisco catalyst 3850 series switches datasheetCisco catalyst 3850 series switches datasheet
Cisco catalyst 3850 series switches datasheet
3Anetwork com
 

More from 3Anetwork com (20)

Cisco switches for small business
Cisco switches for small businessCisco switches for small business
Cisco switches for small business
 
How to recover the password for cisco 2900 integrated services router
How to recover the password for cisco 2900 integrated services routerHow to recover the password for cisco 2900 integrated services router
How to recover the password for cisco 2900 integrated services router
 
Cisco 4 and 8-port gigabit ethernet ehwi cs
Cisco 4  and 8-port gigabit ethernet ehwi csCisco 4  and 8-port gigabit ethernet ehwi cs
Cisco 4 and 8-port gigabit ethernet ehwi cs
 
Configuring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup programConfiguring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup program
 
Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration
 
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
 Configuring a Cisco Router as a PPPoE Client for DSL Connectivity Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
 
Cisco catalyst 3850 series switches datasheet
Cisco catalyst 3850 series switches datasheetCisco catalyst 3850 series switches datasheet
Cisco catalyst 3850 series switches datasheet
 
Cisco catalyst 2960 series switches overview
Cisco catalyst 2960 series switches overviewCisco catalyst 2960 series switches overview
Cisco catalyst 2960 series switches overview
 
Enterprise Network Manager: the Router-On-A-stick
Enterprise Network Manager: the Router-On-A-stickEnterprise Network Manager: the Router-On-A-stick
Enterprise Network Manager: the Router-On-A-stick
 
Cisco Catalyst 2960-X Datasheet
Cisco Catalyst 2960-X DatasheetCisco Catalyst 2960-X Datasheet
Cisco Catalyst 2960-X Datasheet
 
How to configure a catalyst 3750 x
How to configure a catalyst 3750 xHow to configure a catalyst 3750 x
How to configure a catalyst 3750 x
 
Hubs vs switches vs routers
Hubs vs switches vs routersHubs vs switches vs routers
Hubs vs switches vs routers
 
Installing and removing sfp and sfp+ transceiver modules
Installing and removing sfp and sfp+ transceiver modulesInstalling and removing sfp and sfp+ transceiver modules
Installing and removing sfp and sfp+ transceiver modules
 
Dmvpn with configuration example
Dmvpn with configuration exampleDmvpn with configuration example
Dmvpn with configuration example
 
Cisco unified access from vision to reality
Cisco unified access from vision to realityCisco unified access from vision to reality
Cisco unified access from vision to reality
 
How to use time domain reflectometer (tdr)
How to use time domain reflectometer (tdr)How to use time domain reflectometer (tdr)
How to use time domain reflectometer (tdr)
 
Cisco router command configuration overview
Cisco router command configuration overviewCisco router command configuration overview
Cisco router command configuration overview
 
Cisco switch commands cheat sheet
Cisco switch commands cheat sheetCisco switch commands cheat sheet
Cisco switch commands cheat sheet
 
Cisco Router Throughput
Cisco Router ThroughputCisco Router Throughput
Cisco Router Throughput
 
How to Connect Cisco Wireless Access Point?
How to Connect Cisco Wireless Access Point?How to Connect Cisco Wireless Access Point?
How to Connect Cisco Wireless Access Point?
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

Experiment on basic configuration of cisco switch

  • 1. 1 Experiment on Basic Configuration of Cisco Switch Purpose: Grasp the differences on various operating modes of command-line Cisco switch and switching between modes. Technical principle: The switch management is basically divided into two categories, in-band and out-band management. The out-band management is managing the switch by the switch Console port, and will not take the network interface of the switch, which needs to configure the purity cable with close distance. Console port must be used when you first configure the switch. Step one: Enter into command line operation modes of switches Switch A >enable ! To the privileged mode SwitchA# SwitchA# configure terminal ! To the global configuration mode SwitchA (config) # interface fastethernet 0/5 ! To F0/5 port mode of switch Or switchA (config) # interface gigabitethernet 0/5 Switch A (config-if) Switch A(config-if) # exit ! Return to the previous operation mode Switch A (config) # Switch A (config) # switchA (config-if) # end ! Return to the privileged mode directly
  • 2. 2 Step two: The basic function of switch command line Helping information Switch A> ? ! Displays all executable commands of the current mode Disable Turn off privileged commands Enable Turn on privileged commands Exit Exit from the EXEC Help Description of the interactive help system Ping Send echo messages Rcommand Run command on remote switch Show Show running system information telnet Open a telnet connection traceroute Trace route to destination switchA#co? ! Displays all beginning with “co” commands of the current mode configure copy switchA#copy ? ! Displays the executable parameters after the “copy” command flash: copy from flash: file system running-config copy from current system configuration startup-config copy from startup configuration tftp: copy from tftp: file system xmodem copy from xmodem file system Command abbreviation SwitchAA#conf ter ! Abbreviation of supporting command on switch command line, the command represent configure terminal Switch A (config) # Automatically command appending SwitchA#con (press the “TAB” button to automatically append “configure”) ! Automatically append command supporting of the switch SwitchA#configure Shortcut of the commands switchA(config-if) # ^Z ! Ctrl+z return to the privileged mode switchA# ping 1.1.1.1 sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2000 milliseconds. . SwitchA#
  • 3. 3 If you execute the ping1.1.1.1 command as above under privileged mode of switch, and can not ping the destination address, the switch need to send 5 data packets on the default situation and if you do not want the feedback that all the five packets can not ping the destination address, you can terminate the current operation by performing ctrl + c before the fives are not sent out. Note: When the command line operation is automatically appending or abbreviating commands, the required letter must be able to only distinguish the command, such as the switchA # conf can represent configure, but switchA # co can not represent configure, since the beginning of the co command has two copy and configure, the device can not distinguish. Pay attention to distinguish the executable command types under each operating mode. The switch can not execute the command while cross the mode. The more information about technical support you can consult with our technicist - Bill, and his e-mail address is as below: bill@3anetwork.com More related: Brief Talk on Static Routing Configuration Experiment See detailed Memory Configuration on Cisco 3925 Router About Configuring Cisco Router 2901 / Port Forwarding Stacking – WS-C3750G-24TS and X-series Cisco 1941 vwic 2 port combine More Cisco products and Reviews you can visit: http://www.3anetwork.com/blog 3Anetwork.com is a world leading Cisco networking products wholesaler, we wholesale original new Cisco networking equipments, including Cisco Catalyst switches, Cisco routers, Cisco firewalls, Cisco wireless products, Cisco modules and interface cards products at competitive price and ship to worldwide. Our website: http://www.3anetwork.com Telephone: +852-3069-7733 Email: info@3Anetwork.com Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong