Ok then. Since now you know all the required things like hardware, software, software user interface, keyboard shortcuts and all… now its time to look at actual configuration.
In this post we will discuss about the very primary things, which you have to configure on any device at the time of deployment. Like Hostname, MOTD, Banner, telnet etc. etc.
1. Hostname
To change the device hostname... The “name” is alphanumeric, case sensitive, and has a length of 32 characters. The default is switch.
switch# configure terminalswitch(config)# hostname Engineering2Engineering2(config)#2. MOTD Banner
switch# configure terminalswitch(config)# banner motd #Welcome to the Switch#switch# show banner motd3. Saving the Config
Well its pretty same as what we do in IOS. switch(config)# copy running-config startup-config4. Erasing the Startup Configuration
The “write erase” command erases the startup configuration except the boot variables, mgmt0 interface IP address and subnet mask, static routes in the management vrf context.
If you want to erase the complete configuration use the “boot” option with the command
switch# write erase5. Telnet / SSH
SSHv2 is enabled by default and is the recommended protocol for CLI remote access.
TELNET is disabled by default since it is less secure.
Both TELNET and SSHv2 clients are supported as well.
Configuring Telnet
switch# configure terminalswitch(config)# feature telnet --- Enables Telnetswitch(config)# line vtyswitch(config-line)# exec-timeout 30switch(config-line)# exitswitch(config)# copy running-config startup-configConfiguring SSH
switch# configure terminalswitch(config)# no feature ssh --- Disable SSH & generate RSA key
switch(config)# ssh key rsa generating rsa key(1024 bits)......generated rsa keyswitch(config)# feature ssh --- Re-enables SSH
No comments:
Post a Comment