Cisco switch commands pdf
- #Cisco switch commands pdf software#
- #Cisco switch commands pdf password#
- #Cisco switch commands pdf series#
STEP8: Disable unneeded ports on the switch STEP7: Assign default gateway to the switchĪccess-switch1(config)# ip default-gateway 10.1.1.254 !Management IP is assigned to Vlan 1 by defaultĪccess-switch1(config-if)# ip address 10.1.1.200 255.255.255.0 STEP6: Assign IP address to the switch for management !Apply the access list to Telnet VTY LinesĪccess-switch1(config-line)# access-class TELNET-ACCESS in STEP5: Define which IP addresses are allowed to access the switch via TelnetĪccess-switch1(config)# ip access-list standard TELNET-ACCESSĪccess-switch1(config-std-nacl)# permit 10.1.1.100Īccess-switch1(config-std-nacl)# permit 10.1.1.101
#Cisco switch commands pdf password#
Although it is much better to configure an external AAA server (for centralized Authentication Authorization and Accounting), in this article we will just configure a password on each access line (VTY lines for Telnet and Console line):Īccess-switch1(config-line)# password strongtelnetpassĪccess-switch1(config-line)# password strongconsolepass
It is a very good security practice to lock-down all access lines of a switch with a password. STEP4: Configure a password for Telnet and Console access
The password above will be used to enter into Privileged EXEC mode as described in Step 1 above. STEP3: Configure an administration password (enable secret password)Īccess-switch1(config)# enable secret somestrongpass STEP2: Set up a hostname for the particular switch to distinguish it in the network See Step 3 below about setting up a password for the Privileged EXEC mode. Note: The switch will not ask you for a password when entering into Privileged EXEC mode (i.e after typing “enable”) if it has the default factory configuration. You will get into privileged EXEC mode (“ Switch#”) You will get the initial command prompt “ Switch>”
#Cisco switch commands pdf software#
Use a terminal emulation software such as PuTTY and connect to the console of the switch. I don’t like graphical GUI or web management at all, so I will show you command line configuration (CLI) which is much more powerful and actually forces the administrators to learn what they are doing on the device. In this article I will describe the basic steps needed to configure and setup a Cisco switch from scratch. Unlike other lower class switch vendors (which are plug-and-play), the Cisco switch needs some initial basic configuration in order to enable management, security and some other important features.
#Cisco switch commands pdf series#
Versatile, reliable, flexible and powerful, the Cisco switch product line (such as the 2960, 3560, 3650, 3850, 4500, 6500, 9400 series etc) offer unparalleled performance and features.Īlthough a Cisco switch is a much simpler network device compared with other devices (such as routers and firewalls for example), many people have difficulties to configure a Cisco Catalyst Switch. In my opinion, the Cisco switches are the best in the market.