Created
December 8, 2016 06:48
-
-
Save Fusl/cc771fb1e2887c354a3ded01314a10f4 to your computer and use it in GitHub Desktop.
Amazon EC2 Quanta LB6M 10Gbit Switch Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set prompt "l3-t0-switch-building" | |
serviceport protocol none | |
network protocol none | |
network parms 10.1.133.126 255.255.255.252 10.1.133.125 | |
! | |
! set standard ec2 enable, comment out the switchbuilder enable password for now | |
enable password 1f161545f10e3de4eb26ca696aefc2bcdbdba3ddc09c200e9c49864a83c3e4d1b233bd402eae80c4e56b8c3eefbc3ed9fdf4d617591ec2d55f671ef9922e933c encrypted | |
! | |
! Disable SSH and keys, we'll re-enable them later. | |
no ip ssh server enable | |
configure | |
! set builder user | |
username builder password 1f161545f10e3de4eb26ca696aefc2bcdbdba3ddc09c200e9c49864a83c3e4d1b233bd402eae80c4e56b8c3eefbc3ed9fdf4d617591ec2d55f671ef9922e933c level 15 encrypted | |
! | |
no crypto key generate rsa | |
no crypto key generate dsa | |
exit | |
! | |
ip ssh protocol 2 | |
sshcon timeout 30 | |
! | |
configure | |
no username guest | |
sntp client mode unicast | |
pp domain name amazon.com | |
logging persistent 7 | |
logging syslog | |
logging cli-command | |
ip routing | |
no ip redirects | |
arp dynamicrenew | |
arp timeout 300 | |
! | |
aaa authentication login "net-authen" tacacs local | |
aaa authentication enable "enableList" enable | |
aaa authentication enable "net-enable" tacacs enable | |
line console | |
serial timeout 10 | |
login authentication net-authen | |
enable authentication net-enable | |
exit | |
line telnet | |
login authentication net-authen | |
enable authentication net-enable | |
exit | |
line ssh | |
login authentication net-authen | |
enable authentication net-enable | |
exit | |
spanning-tree forceversion 802.1d | |
spanning-tree bpduguard | |
! | |
snmp-server sysname "l3-t0-switch-building" | |
! | |
tacacs-server timeout 10 | |
! | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment