The Bandwidth will be reduced to 6 Mbps
access-list ACL-Guest extended permit ip object Guest_VLAN any
access-list ACL-Guest extended permit ip any object Guest_VLAN
match access-list ACL-Guest
police output 6000000 2000
police input 6000000 2000
service-policy PM-THROTTLE interface inside
Backup Cisco Routers and Switches
if len(sys.argv) !=2:
print ("usage: backup [user@]hostname")
input_data = sys.argv
switch_un = data
switch_ip = data
switch_pw1 = getpass.getpass("Enable Password:")
switch_pw2 = getpass.getpass("Privilege Password:")
basic_backup_directory = "/tmp/Network_Backups"
print ("Please wait ...")
child = pexpect.spawn('ssh %s@%s' % (switch_un, switch_ip))
child.timeout Read more [...]
WARNING: Firmware version 13 does not match driver version 12 for /dev/mpr1. Please flash controller to P12 IT firmware.
After flashing /dev/mpr0, another warning message regarding /dev/mpr1.
Listing all controller details:
It brought up two different controllers, first one in IT firmware, and the second one in IR mode. I've already downloaded the Driver for my controller which included the IR firmware as well. File name I've downloaded is: 9300_8i_Package_P12_IR_IT_FW_BIOS_for_MSDOS_Windows.zip
Copied the file in the Firmware\SAS9311_8i_IR to my freeNas server. Then flashed it Read more [...]
Logged out of Amazon instance and SSH is not working
Blocked myself with CSF firewall on a Centos 7 server. With the "Run Command" feature was not available, and no web terminal or VNC console such as the one in digitalocean(https://www.digitalocean.com/community/tutorials/how-to-use-the-digitalocean-console-to-access-your-droplet). After reading around I found out that the only solution is to stop the running instance, detach the volume, create another Linux instance (shouldn't be the same as the running one), then attach the old volume to the newly Read more [...]
Get-PSSession | Remove-PSSession
Add the repo if it's not added:
wget -c https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
rpm -ivh epel-release-7-8.noarch.rpm
yum -y install ssmtp
(yum install xmail) if not installed
alternatives --config mta
There are 2 programs which provide 'mta'.
*+ 1 /usr/sbin/sendmail.postfix
Enter to keep the current Read more [...]
Add a network to Kaspersky Security center firewall
To add a network to Kaspersky security center:
kaspersky > Managed Computers > Policies > Endpoint > Firewall > Available Networks > Settings > add/edit Network as trusted network
WARNING: Firmware version 5 does not match driver version 9 for /dev/mpr0. Please flash controller to P9 IT firmware.
External SAS card: LSI 9300-8e
Downloaded first the installer from:
The Installer: Installer_P9_for_FreeBSD
Firmware and Bios: 9300_8e_Package_P9_IT_Firmware_BIOS_for_MSDOS_Windows
To flash it, I moved the installed and the firmware and bios files to Freenas.
Before flashing, I had to make sure the SAS controller is in IT mode by executing
I could see that : Firmware Product Read more [...]
WARNING: Firmware version 19 does not match driver version 20 for /dev/mps0. Please flash controller to P20 IT firmware.
Download the P20 firmware from ftp://ftp.supermicro.com/driver/SAS/LSI/2308/Firmware/IT/.
Create a bootable drive using rufus (https://rufus.akeo.ie/) copied all the files from the downloaded p20 firmware zip file. Copied only the content of the UEFI. Note: seems that the disk is not needed to be bootable since we are entering the UEFI built in shell.
Get SAS address from LSI configuration utility on boot. Also can be found on a label inside the machine.
Booted the machine into UEFI shell. Read more [...]