Job Recruitment Website - Zhaopincom - Cisco Switch Basic Configuration Example Description
Cisco Switch Basic Configuration Example Description
the method of
catalogue
1, introduction of basic concepts ... 2
2. Basic configuration such as password and login. ...
3. Detailed description of 3.cisco device port configuration ..... 8
4.vlan planning and configuration ... 13
4. 1 related configuration of core switch ... 13
4.2 Relevant configuration of access switch ..... 25
5. Configure the routing function of the switch ..... 30
6. Configure the DHCP function of the switch ... 3 1
7. Common debugging commands ... 32
Friendship link:
Hangzhou daikin air-condition after-sales
Hangzhou daikin air-condition after-sales telephone
Hangzhou Siemens washing machine after-sales maintenance telephone
Hangzhou Siemens washing machine after-sales service telephone
Shanghai nightclub recruitment
Shanghai * * *
Shanghai nightclub
Shanghai night show
Shanghai * * *
Shanghai recruitment
Hangzhou ktv recruitment
Ktv recruitment
1, introduction of basic concepts
IOS:
Internet operating system, namely the operating system used in switches and routers.
VLAN:
virtual local area network
VTP:
VLAN relay protocol
DHCP:
Dynamic host configuration protocol
ACL: access control list
Three-layer switch: a switch with three-layer routing and forwarding capabilities.
In this tutorial, the blue text after "#" is the marked content.
2. Basic configuration such as password and login.
This section describes the basic configuration of a cisco router or switch. These commands are common in the current version of cisco switches or routers. This tutorial is introduced by Cisco's simulator. Some specific port displays may not match your actual device, but this will not affect the execution of basic configuration commands.
Cisco 3640 R4700 processor version 0xFF, memory is124928k/6144kbytes.
Processor board ID 00000000
100MHz R4700 CPU, implementation 33, version 1.2.
2 Ethernet interfaces
8 serial interfaces
DRAM is configured to be 64 bits wide, and parity is enabled.
125kbyte NVRAM.
8 192K byte processor board system flash memory read/write.
-System Configuration Dialog Box-
Do you want to enter the initial configuration dialog box? [Yes/No]: No.
# Here we choose No and don't enter his initialization configuration wizard.
Press enter to start!
# After selecting No, you will be prompted to press Enter to start. Here we need to press enter.
* March
100: 43: 56.591:%IP-5-webinst _ kill: terminate the DNS process.
* March
100: 43: 58.379:% sys-5-restart: the system has been restarted-
Cisco IOS software, 3600 software C3640-JK9O3S-M, version 12.3 14T7, release software fc2.
Technical support:
Copyright c 1986-2006 by Cisco Systems.
Accumulated by pwade on March 22nd, 2006 at 2 1:46.
* March
100: 43: 58.411:%SNMP-5-cold start: the SNMP agent on the host router is conducting a cold start.
Router & gt
# When the display is stable, an initial prompt will appear. Note that the prompt is ">" and the current state of is called user mode.
Router & gt
Router & gt
Router & gt (constituent verb) means "put in a state of ..."
# If there is no duplicate command in the current state, we can use the "TAB" key to complete this command, mainly for the convenience of reading.
Router & gt enables
# Enter privileged execution mode from user mode. Pay attention to the change of the prompt, and the prompt will become "#".
Router # conference t
Router # Configure Terminal
Description: # enter configure terminal in privileged mode enters global configuration mode. Commands entered in this mode are called global commands, and once entered, they will have an immediate impact on the whole router. As shown below, please note the change of the prompt:
Router Configuration # Exit
# Please note that the prompt has changed. The current mode is called global configuration mode.
Router #conf
* March
100: 44: 291:%sys-5-config _ i: configured by the console t from the console.
# In the process of entering commands, some prompts will appear in IOS.
Enter configuration commands, one per line.
It ends with cntl/z.
Router Configuration # Exit
# The command to exit the current global configuration mode is exit.
Router # conference t
# Re-enter global configuration mode
Enter configuration commands, one per line.
It ends with cntl/z.
Router configuration #
* March
100: 44: 35.591:%sys-5-config _ i: configured from the console by the console operating system.
# This line is some tips when the router switch appears.
Router Configuration # Hostname Test
# This command is used to change the name of the current device, which can include information such as the floor and purpose of the device, mainly for the convenience of distinguishing devices in the future.
Test configuration #
# We will find it after entering the car, but the previous equipment name has been changed to test.
Test Configuration # Enabled Passed
# This command is used to configure the login password of the device. When you finish with the tab key, the complete command will be displayed on the next line.
Testconfig # enable password cisco
# We entered the login password for this device as cisco.
Test Configuration # End
# Let's go back to global configuration mode and check the password we just entered.
Test #sh r
# The complete writing of this command is show running-start, where sh r is omitted, so it can be executed because there are no other repeated commands.
Building structure ...
Current configuration: 1559 bytes
!
Version 12.3
Service timestamp debugging date time millisecond
Service timestamp log date time millisecond
Unservice password encryption
!
Hostname test
# Please note that the name of the device we configured is displayed here.
!
Start sign
Boot end mark
!
Enable password cisco
# Shown here is the activation password we just configured. Note that it is displayed in plain text at this time, which is a bit unsafe.
!
There is no aaa new model
!
Resource policy
!
Memory-sized iomem 5
Ip subnet-zero
!
# In fact, not all the configured contents are displayed in this line. We can press any key on the keyboard to stop the display. In the process of display, press Enter to display line by line, and press Spacebar to display page by page. These operations can be implemented in actual equipment.
Test # Meeting Test
# Re-enter global configuration mode
Test Configuration # Service Passed
Testconfig # service password encryption
# Use this command to encrypt and display the password.
Test Configuration # End
Test #sh r
# After exiting the global configuration mode, verify the configuration just now.
Building structure ...
Current configuration: 1565 bytes
!
Version 12.3
Service timestamp debugging date time millisecond
Service timestamp log date time millisecond
Service password encryption
!
Hostname test
!
Start sign
Boot end mark
!
Enable password 7 070C285F4D06
# Note that the password just displayed in plain text here has been changed to encrypted display, which ensures the security of the password to some extent.
!
There is no aaa new model
!
Resource policy
!
Memory-sized iomem 5
Ip subnet-zero
!
# After verification, press any key to interrupt the display. The following contents explain the configuration of terminal login password.
Test # Meeting Test
Enter configuration commands, one per line.
It ends with cntl/z.
Testconfig # no service password encryption
# You can remove the password encryption function by adding no before this command, which will ban all cisco commands.
Test Configuration # Line Control
Test Configuration # Line Console 0
# When logging in with HyperTerminal, use this command to configure some parameters.
Test Configuration-Line # Passed
Test config-line # password cisco
# Add a password. The password we configured here is cisco.
testconfig-line#loggi
Test config-line # logging?
# Anyway, if you forget the relevant parameters of the command, can it still be used? Get tips and help
synchronous
Synchronous message output
Test Configuration-Line # Recording System
Test config-line # synchronization logging
# When we configure, IOS will generate some real-time prompt information, which will confuse our cursor display. With this command, we can set the cursor on the next line, even if there are some real-time prompts.
testconfig-line#exit
# Exit the parameter configuration of the current console port.
testconfig#line vt?
#
What is used here is the configuration of related parameters during telnet login. Ask for hints.
& lt0- 134 & gt;
The first line number
subsidiary
Auxiliary line
comfort
Primary terminal line
electric typewriter
terminal controller
vty
virtual terminal
x/y
Slot/port of modem
Test Configuration # Line vty 0 4
# We configured the virtual terminal from 0 to 4, which means that five users can telnet to the device at the same time.
Test Configuration-Line # Passed
Test config-line # password cisco
# When we configure telnet, the password is cisco. If we don't set a password here, we won't log in with an empty password when logging in with telnet, but we will prompt you that the relevant password has not been set, and login is prohibited. Therefore, in order to log in to this device remotely, you must set the password here.
Test config-line # login
# This command allows login via telnet.
testconfig-line#exit
# Exit the current configuration mode and enter the global configuration mode.
Test configuration #
Test configuration #
Test # meeting
# When we do configuration, there will be input errors. In this case, ios will think that you entered the domain name.
Translate "s" ... domain server 255.255.255.255
# Then ios will do a long search, trying to find the ip address corresponding to this domain name. .......
Translate "s" ... domain server 255.255.255.255
# This time is quite long, so how can we disable this function?
% Unknown domain or computer name, or the computer address cannot be found.
Test # Meeting Test
Enter configuration commands, one per line.
It ends with cntl/z.
Test configuration # has no ip domain-find
# In global configuration mode, just turn off the ip domain name search function.
Test Configuration # End
Test #conf
* March
101:40: 46.895:% sys-5-config _ i: Configuration from the console.
Test # configuration x
# After turning off the above functions, if there is an input error, it will directly prompt you for an input error.
^
% Invalid input was detected at the'' tag.
Test number
Testconfig#ip domain name 202. 102. 128.68
# Use this command if you need to configure DNS function for the device.
# # # After completing the basic configuration, let's verify all the configurations # # #
run a bench test on
Building structure ...
Current configuration: 1693 bytes
!
Version 12.3
Service timestamp debugging date time millisecond
Service timestamp log date time millisecond
Service password encryption
# Password encryption display function is turned on
!
Hostname test
!
Start sign
Boot end mark
!
Enable password 7 070C285F4D06
# The password is encrypted and displayed
!
There is no aaa new model
!
Resource policy
!
Memory-sized iomem 5
Ip subnet-zero
!
!
ip cef
No ip domain lookup.
# Turn off the domain name query function.
No ip dhcp uses vrf connection.
!
!
Ips without IP refused to operate IPS interface.
!
No ftp server write enabled.
!
Encrypted isakmp ccm
!
slightly ...
Ip server
There is no ip security server.
Ip classless
!
Control plane
!
Line con 0
Execution timeout 0 0
Password 7 094F47 1A 1A0A.
# The password for logging in with HyperTerminal will also be encrypted and displayed.
Synchronous logging
Line auxiliary 0
Line vty 0 4
Password 7 0007 1A 150754
# The password for logging in with telnet will also be encrypted and displayed.
log in
!
!
end
Test number
- Previous article:How about Chanba Eurasia Middle School?
- Next article:Who's Yang Guoan? Zhuo Lang intelligent director
- Related articles
- How to register Yulin Vocational School online?
- Tianjin Jinghai county yuanlida metal doors and windows factory recruitment information, Tianjin Jinghai county yuanlida metal doors and windows factory?
- What about Suzhou yomi software?
- Shenyang Talent Market, China
- If you know the recruitment process of Xi 'an Ericsson (Global Service Center), please come in.
- What is the telephone number of Hefei Greentown Huaan Guiyu Binhu Marketing Center?
- Cultural Tradition of Haiyan College of Zhejiang Radio and TV University
- Where is the interview address of SF Express Sakata?
- Is Minhang Fushan Experiment an echelon?
- Read the story composition 100 words. When I was three years old.