basic cisco switch configuration commands
DESCRIPTION
CISCO Configuration Basic CommandsTRANSCRIPT
-
Home About Us Knowledge Base
Privacy Policy Support Us Contact Us
How to Configure a hostname for a CiscoSwitch
To configure a name for router, use "hostname" commandfrom Global Configuration mode.
switch>enable switch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.switch(config)#hostname omnisecu.com.sw01omnisecu.com.sw01(config)#exitomnisecu.com.sw01#
How to Configure a MOTD Banner for CiscoSwitch
Users will be presented with a MOTD (Message of the DAY)banner every time they attempt a connection via the consoleport, auxiliary port, SSH or a telnet session to Cisco switch.Use the following commands to configure a MOTD message.
Home Knowledgebase Cisco Certified Network Associate (CCNA) Basic Cisco Switch ConfiguratioCommands
Tutorials Basic Cisco Switch Configuration Commands
Basic Networking
TCP/IP
IPv6
CCNA
CCNA Security
Security
Windows 2003
Windows 2008
GNU/Linux
http://www.omnisecu.com/cisco-certified-network-associate-ccna/basic... 1
-
Here the "#" character is known as a delimiting character. Thebanner message should be sorrounded by delimitingcharacter and the message should not contain the delimitingcharacter.
omnisecu.com.sw01>enableomnisecu.com.sw01#configure terminalEnter configuration commands, one per line. End with CNTL/Z.omnisecu.com.sw01(config)#banner motd #Welcome to omnisecu.com.sw01.#omnisecu.com.sw01(config)#exitomnisecu.com.sw01#
How to enable DNS lookup for a CiscoSwitch
omnisecu.com.sw01>enableomnisecu.com.sw01#configure terminalEnter configuration commands, one per line. End with CNTL/Z.omnisecu.com.sw01(config)#ip name-server 192.168.100.10omnisecu.com.sw01(config)#exitomnisecu.com.sw01#
How to turn off the automatic nameresolution for a Cisco Switch
The Cisco switch is set by default to try to resolve any wordthat is not a command to a DNS server at address255.255.255.255. We can turn off this by using the followingcommand.
omnisecu.com.sw01>enableomnisecu.com.sw01#configure terminalEnter configuration commands, one per line. End with CNTL/Z.omnisecu.com.sw01(config)#no ip domain-lookupomnisecu.com.sw01(config)#exitomnisecu.com.sw01#
How to assign a Local Name to an IPaddress
Following command assigns a host name to an IP address.Once this is completed, we can use the configured host namefor telnet or ping.
omnisecu.com.sw01>enable
http://www.omnisecu.com/cisco-certified-network-associate-ccna/basic... 2
-
omnisecu.com.sw01#configure terminalEnter configuration commands, one per line. End with CNTL/Z.omnisecu.com.sw01(config)#ip host PC001 192.168.100.122omnisecu.com.sw01(config)#exitomnisecu.com.sw01#
How to Turn on synchronous logging
If the Cisco Switch IOS sends a message to the console whileyou're entering a command, by default the switch willinterrupt your work to show the message.
If you want the information sent to console not interrupt thecommand you are typing, turn on synchronous logging.
omnisecu.com.sw01>enableomnisecu.com.sw01#configure terminalEnter configuration commands, one per line. End with CNTL/Z.omnisecu.com.sw01(config)#line console 0omnisecu.com.sw01(config-line)#logging synchronousomnisecu.com.sw01(config-line)#exitomnisecu.com.sw01(config)#exitomnisecu.com.sw01#
How to configure an inactivity time-out forautomatic log-off
Sets time limit when console automatically logs off. Set to 0 0(minutes seconds) means console never logs off.
omnisecu.com.sw01>enableomnisecu.com.sw01#configure terminalEnter configuration commands, one per line. End with CNTL/Z.omnisecu.com.sw01(config)#line console 0omnisecu.com.sw01(config-line)#exec-timeout 3 0omnisecu.com.sw01(config-line)#exitomnisecu.com.sw01(config)#exitomnisecu.com.sw01#
Jobs
Programmer/AnalystCambridge, ON, Canada
WATERLOO REGIONAL POLICE SERVICE.
Technical Project Manager (Mid-level)Atlanta, GA
http://www.omnisecu.com/cisco-certified-network-associate-ccna/basic... 3