Cisco switch

From Federal Burro of Information
Revision as of 02:03, 22 September 2011 by David (talk | contribs)
Jump to navigationJump to search

A basic Config

no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname quadratic-sw1
!
no logging monitor
enable secret 5 $1$l3pO$AFb1SR.o2.BkpM4Yf4TU60
enable password Cisco
!
username dthornton privilege 15 secret 5 $1$pGYr$VsuKI.bHNVEkVZCs8j.Dr.
clock timezone est -5
clock summer-time edt recurring
ip subnet-zero
!
no ip domain-lookup
vtp mode transparent
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 description management port
 switchport mode trunk
!
interface FastEthernet0/2
 description Test port
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/24
!
interface Vlan1
 ip address 192.168.1.11 255.255.255.0
 no ip route-cache
!
ip default-gateway 192.168.1.254
no ip http server
logging facility local1
logging 192.168.1.64
snmp-server community public RO
snmp-server enable traps snmp warmstart linkdown linkup coldstart
snmp-server enable traps config
snmp-server host 192.168.1.64 public
!
line con 0
line vty 0 4
 password Cisco
 login
line vty 5 15
 exec-timeout 0 0
 password Cisco
 login
 transport input telnet
 transport output telnet
!
!
end