Cisco Switch Security Configuration | GPON Solution

Cisco Switch Security Configuration

Cisco Switch Security Configuration

For security reason one password is used for the enable password and the other will later be assigned to the console port.

SWITCH(config)#enable secret  [password]

SWITCH(config)#username admin password [password]

A password should be required to access the console line.  Even the basic user EXEC mode can provide significant information to a malicious user. In addition, the VTY lines must have a password before users can access the switch remotely.

Cisco Switch Security Configuration:

SWITCH(coanfig)#line console 0

SWITCH(config-line)#password cisco


SWITCH(config-line)#line vty 0 15

SWITCH(config-line)#password cisco



Cisco Switch Security Configuration

Cisco Switch Security Configuration

At this stage, the privileged EXEC password is already encrypted. To encrypt the line passwords that you just configured, enter the service password-encryption command in global configuration mode.

SWITCH(config)#service password-encryption

Set the exec-timeout period to 9 minutes or less to disconnect idle connections to the console line on each switch. Do not set the timeout period to zero because on Cisco switches that will disable the timeout. The following example sets the timeout period for the console line to 9 minutes and 0 seconds.

SWITCH(config)# line con 0

SWITCH(config-line)# exec-timeout 9 0

Configure the message-of-the-day (MOTD) using Authorized Access Only as the text. Follow these guidelines:

  1. The banner text is case sensitive. Make sure you do not add any spaces before or after the banner text.
  2. Use a delimiting character before and after the banner text to indicate where the text begins and ends. The delimiting character used in the example below is %, but you can use any character that is not used in the banner text.
  • After you have configured the MOTD, log out of the switch to verify that the banner displays when you log back in.

SWITCH(config)#banner motd %Authorized Access Only%





Hi! I am Shahed. I currently work as a Sr. Network Engineer. I want to build up my carrier in Networking field.

Follow Me:
TwitterFacebookLinkedInPinterestGoogle PlusDiggYouTubeRedditDelicious

Cisco Switch Security Configuration was last modified: October 30th, 2015 by Shahed



Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

error: Content is protected !!