I will give a short list of popular network emulators and network equipment:
Continue reading “List of network and network equipment emulators”Category Archives: Cisco
How to configure SSH on Cisco
In this article I will write how to configure SSH on Cisco.
Connect to the device via telnet or console cable and switch to the privileged mode:
Continue reading “How to configure SSH on Cisco”Configuring Cisco Catalyst 3750
On the test I will configure Cisco Catalyst WS-C3750-48TS-S with firmware 12.2(55)SE3.
Continue reading “Configuring Cisco Catalyst 3750”View the temperature on the Cisco Catalyst 6500
I will use Cisco Catalyst 6509-E on the test.
To view the temperature of the sensors, connect via the console or telnet for example and execute the command:
List of SNMP OID and MIB for Cisco
Below is the list of SNMP OID that I used to create templates in Zabbix and other scripts.
Continue reading “List of SNMP OID and MIB for Cisco”Solution “Port is not compatible with aggregators in channel 1 and cannot attach to them”
Once on Cisco Catalyst 6509-E, when I collected an aggregation of three ports, traffic began to go through only two ports and a message appeared in the logs:
Continue reading “Solution “Port is not compatible with aggregators in channel 1 and cannot attach to them””Cisco Catalyst 2960-24TT-L Firmware Update
On the test, I will upgrade the Cisco Catalyst WS-C2960-24TT-L switch.
And so, let’s connect to the switch and switch to elevated privilege mode:
enable
Let’s see the active firmware version:
show version show boot
Continue reading “Cisco Catalyst 2960-24TT-L Firmware Update”
Configure IP Unnumbered on Cisco
On the test I will configure IP Unnumbered on Cisco Catalyst 6509E with firmware 12.2(33)SXJ7, on other switches the setup is similar.
IP Unnumbered is useful, for example, when it is necessary to divide a large network into several VLANs and use the same IP addresses and also to issue white IPs in any VLAN using one gateway.
Connect to the terminal device through the console, telnet or SSH.
Configuring IGMP snooping on Cisco
I will give an example of setting up IGMP snooping on Cisco, there was a Cisco WS-C2960-24TT-L switch at hand and also some Cisco Nexus.
Continue reading “Configuring IGMP snooping on Cisco”Back Up Cisco Catalyst 6500 Configuration
For the test, I sketched a Cisco Catalyst 6509-E automatic backup configuration script.
Actually the script itself:
#!/bin/bash # Backup CISCO config ( sleep 5 echo "user" sleep 4 echo "password" sleep 4 echo "copy running-config tftp:" sleep 2 echo "192.168.1.4" sleep 2 echo "cisco.cfg" sleep 6 echo "exit" ) | telnet 192.168.1.5 mv /srv/tftp/cisco.cfg /backups/devices/cisco/`date +%Y-%m-%d`_cisco.cfg find /backups/devices/cisco/ -type f -mtime +30 -exec rm {} \;
Add the contents of the script, for example, to the backup_cisco.sh file and add it to cron, adding the following line to the /etc/crontab file:
0 2 * * * root /backups/scripts/backup_cisco.sh > /dev/null 2>&1
The file can be opened for example in the text editor nano (Ctrl+X to exit, y/n to save or cancel changes):
sudo nano /etc/crontab
The script connects via telnet to 192.168.1.5 and copies the configuration to the tftp server 192.168.1.4, then the file is moved to a convenient directory for storage.
The last line in the script deletes files older than 30 days.
How to start the tftp server, see my articles: Installing and Configuring a TFTP Server in Ubuntu or Starting a TFTP server in Windows.
See also: Using and configuring CRON.