There may be a lot of people who don't know about Cisco router configuration. Here we mainly analyze the Cisco router configuration commands. After reading this article, you will certainly have a lot of GAINS, I hope this article will teach you more things.
Mode Conversion command for Cisco router configuration
cache1900# copy nvram tftp://ip_address_of_tftp_server/file_name backup The configuration file to the TFTP server1900# copy tftp://ip_address_of_tftp_server/file_name nvram Restore Configuration to NVRAM from the TFTP server1900# Delete nvram deletion configuration file2950# Erase Startup-config Deleting a configurati
Division fa/ One-20 port is vlan20switch (config-if-range) #exitSwitch #show VLAN View VLANCISCO layer-3Configure the IP address of the VLAN10 and Vlan20 so that vlan10 and Vlan20 can communicate with each other. Switch (config) #InterfaceVlan10 into Vlan10Switch (config-VLAN10) #ip Address192.168.1.1 255.255.255.0Configure the IP address of the Vlan10 Switch (config-vlan10) #exitSwitch (config) #InterfaceVlan20 into Vlan20Switch (config-VLAN20) #ip Address192.168.2.1 255.255.255.0Configure the
The Catalyst 6000 series and Catalyst 5000 Series LAN switches are powerful, including many usage and maintenance commands. Below are several common commands and simple descriptions.
For all maintenance commands, see the related manual provided with the hardware device.
1. Port Settings
Set port name
Set port name mod_num/port_num [name_string]
Set port priority
Cisco Discovery Protocol (CDP) from the name we can see that this is a Cisco proprietary, it is recommended that everyone learn CCNA when trying to be familiar with all the spelling do not simply write down the abbreviation!CDP can collect hardware and protocol information for neighboring devicesCDP has two global parameters that can be set CDP timer (CDP timer) and CDP Holdtime (hold Time)The CDP timer is
used in the route selection protocol.
Router rip activates the RIP Protocol
Network + direct connection CIDR Block publish direct connection CIDR Block
Interface lookback 0 activation logic interface
Passive-interface + interface Type + interface number configuration interface is passive mode
Debug ip + protocol dynamic view of route update information
Undebug all disable all DEBUG information
Activate the network routing protocol of the routers, such as the routers, the routers,
Cisco handles several commands for the local file systemThe commands here are somewhat similar to some of the commands under WindowsDir: Browse the list of files or directories in the current or specified directoryCD: Enter the specified directory or return to the specified directory. Represents a previous level direct
Login is to turn on remote login password verification, login local not only requires a password, but also requires the user nameIf you set both login and login Local,login local valid(config-line) #line vty 0 4; Set the number of remote connections, allowing 0 to 41 total five connections(config-line) #password 123; Set Telnet (that is, Telnet) password to 123(Config-line) #login; Turn on remote login password verificationLogin means to open remote login (telnet) password authentication, if not
Cisco switch Basic configuration: Console Port connectionUser mode hostname#;Privileged mode hostname (config) #;Global configuration mode hostname (CONFIG-IF) #;Switch Password settings:switchgt;enable; Enter privileged modeSwitch#config terminal; Go to global configuration modeSwitch (config) #hostname Csico; Set the host name of the switchSwitch (config) #enable secret csico1; set privileged encryption passwordSwitch (config) #enable password Csico
Switch command
Switch> User mode
1: Enter privileged mode enable
Switch> Enable
switch#
2: Enter global configuration mode configure terminal
Switch> Enable
Switch#configure Terminal
Switch (conf) #
3: Switch name hostname aptech2950 Take aptech2950 as an example
Switch> Enable
Switch#configure Terminal
Switch (conf) #hostname aptch-2950
aptech2950 (CONF) #
4: Configure enable password enable password Cisco for example
Switch> Enable
S
Tags: Cisco switchBasic configuration and management of switches• Technical Principles• The switch is managed in two basic ways: in-band management and out-of-band management.• The console port management switch through the switch is out-of-band management, which does not occupy the network port of the switch, and the first configuration switch must be configured with the console port.• In-band management via remote telnet, dialing, etc.• The switch's
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.