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
This document lists frequently-used configuration commands for Cisco routers in alphabetical order.
Access-enable allows the router to create a temporary Access list entry in the dynamic Access listAccess-group: Apply the Access control list (ACL) to the interface.Access-list defines a standard IP ACLAccess-template manually replaces the temporary Access list entry on the connected vroAppn sends
Access-enable allows the router to create a temporary access list entry in the dynamic access list
Access-group: Apply the access control list (ACL) to the interface.
Access-List defines a standard IP ACL
Access-template manually replaces the temporary access list entry on the connected vro
Appn sends commands to the Appn Subsystem
ATM sig executes ATM signaling commands
B. Manually boot the Operating Syste
-->Protocol [ip]: [Protocol-Type] Target IP address: IP-Address Repeat count [5]: Datemedisize [100]: Timeout in seconds [2]: Extended commands [n]: y Command-->Sweep range of sizes [n]:Tracke usage:Router # trace IP-Address [Host-Name]Specify the media type for the Cisco 4000 vro:Router (config-if) # media-type 10 baset Router (config-if) # ^ zChange the vro startup sequence:Router (config) # boot system f
I. troubleshooting commands
1. show command:1) Global commands:Show version; displays the system hardware and software versions, DRAM, flashShow startup-config; displays the configuration content written into NVRAMShow running-config; displays the currently running configuration contentShow buffers; Detailed output buffer name and sizeShow stacks; provides the router process and processor utilization information, using Stack decodeShow tech-support;
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
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
Essential security commands for CISCO router initialization 1. Security Settings for vro Access Control 1. Strict control over the administrator who can access the vro. Record Filing is required for all maintenance tasks. Www.2cto.com 2. do not access the vro remotely. Even if you need to access the vro remotely, we recommend that you use the access control list and high-intensity password control. 3. Stric
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
password, default network device Telnet featureis turned off and is automatically opened after a password is provided.RL (config) # enable password Cisco configuration Enter the password for Enable mode, case sensitiveRL (config) # enable secret Ciscocisco Configure the password to enter enable mode, which is an encrypted password,Show run is invisible.RL (config) # line console 0RL (config-line) # LoginRL (config-line) # password
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
configurationRouter>enableRouter#configure TerminalRouter (config) #interfiguer f0/0Router (config-if) #ip address 192.168.1.2 255.255.255.0Router (config-if) #no shutdownThen back into privileged modeRouter#write Memory for storageThen test if you can ping the IP of the serverRouter#ping 192.168.1.1Then make a copy.Router#copy Running-config TFTPAddress or name of the remote host[]?192.168.1.1 enter the IP of the server after the question markThen leave the default hit enter to finish.4. Route
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.