cisco
Configuration of Cisco Devices
To configure a new Cisco router or switch, you typically connect to its console port. Remote configuration is possible via Telnet or SSH if the device is configured correctly, but local configuration is usually required initially.
Connection Methods
RJ45 Console Port Connection: Traditional method using a rollover cable, where pin assignments are reversed (1-8, 2-7, etc.). Be careful not to connect to an Ethernet port on the PC as it can damage the port. If using an older laptop with a serial port, a DB9 to RJ45 connector is necessary.
USB Console Port Connection: Modern devices come equipped with USB ports which makes connections simpler. USB console cables eliminate the need for serial connections. When using modern laptops without serial ports, a USB to serial converter can be used, ensuring the correct drivers are installed.
Connecting Devices
Powering Devices: Ensure the Cisco devices are powered before connecting. Common power connections vary by country.
Using Terminal Emulation Software: Software like PuTTY is used to access the console. After establishing a connection, identify the correct COM port from Device Manager and set the appropriate settings in PuTTY (e.g., baud rate of 9600).
Entering Command Modes: Once connected, entering "enable" switches to privilege mode. Use commands like "?" to display available commands. In configuration mode, device settings can be altered.
Configuration Commands
Basic Commands: Commands such as "copy running-config startup-config" or the shorthand "wr" (write) are crucial for saving configurations. The command "conf t" allows users to enter the global configuration mode.