cisco_switch_cli_conf

conf t
hostname SW-189_h123456
ip default-gateway 10.11.12.1
vlan 35
interface Vlan35
ip address 10.11.12.10 255.255.255.0
exit
snmp-server chassis-id SW-189_h123456
snmp-server location h123456

enable secret level 15 0 password
username admin privilege 15 secret 0 password

line con 0
password passwords
timeout login response 60
exec-timeout 60 0
logging synchronous

no ip domain-lookup
ip domain-name domain.local
crypto key generate rsa
ip ssh version 2
line vty 0 15
transport input all
timeout login response 60
exec-timeout 60 0
logging synchronous

SNMP SERVER
snmp-server community cru3sl1 RO
snmp-server community b@mb1x RW
snmp-server contact contact@contact.co.uk

vtp domain METALLICA!!!
vtp mode transparent

ntp server 172.16.8.225 prefer
ntp server 172.16.16.225

logging facility local1
logging trap critical
logging 172.16.8.241
logging buffered notifications


ip name-server 8.8.8.8
ip name-server 8.8.4.4


# spanning-tree mode mst
# spanning-tree mst 0 root primary


# interface <switch port ID>
# spanning-tree bpduguard enable
# spanning-tree uplinkfast
# spanning-tree BPDUFilter enable
# spanning-tree port type edge


# vlan 6
# name IPTV
# interface vlan 6 ip address 192.168.100.<X> 255.255.240.0
# ip igmp snooping vlan 6 querier address 192.168.100.<X>
# ip igmp snooping vlan 6 querier query-interval 30

#vlan 6
# name IPTV
# ip igmp snooping vlan 6 immediate-leave


aaa new-model
aaa authentication login default group radius local
aaa authentication login CONSOLE local
aaa authentication enable default line
aaa authentication enable default group radius enable
aaa authorization exec default group radius local
aaa accounting delay-start
aaa accounting exec default start-stop group radius
aaa accounting network default start-stop group radius
aaa accounting system default start-stop group radius

radius-server host 172.16.8.102 auth-port 1812 acct-port 1813 key Sp7xyDrk
radius-server retransmit 3

line con 0
exec-timeout 0 0
password password
login authentication CONSOLE

vlan 2
name Hotspot
vlan 3
name ConfWireless
vlan 4
name RoomWireless
vlan 5
name Undefined
vlan 10
name ISP
vlan 35
name Management

service password-encryption
no service pad
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime year
clock timezone CET 1
clock summer-time CET recurring last Sun Mar 2:00 last Sun Oct 3:00
no ip http server
no ip http secure-server

end
copy run startup

cisco_switch_cli_conf.txt · Last modified: 2017/06/04 19:48 by 82.12.168.157