Commit d025b65f authored by glucas's avatar glucas

Add switch configuration.

parent e9c01101
!
version 12.0
!
! PAD service is for X.25 networks
no service pad
!
! Print only uptime in log and debug log
service timestamps debug uptime
service timestamps log uptime
!
! We don't want cleartext password in running-config's extraction
service password-encryption
!
hostname arn-switch
!
enable secret <censored>
!
! Disable STP on network peers's interfaces
no spanning-tree vlan 100
no spanning-tree vlan 101
!
! Use first and last subnets like 192.168.(0|255).0/24
ip subnet-zero
!
interface FastEthernet0/1
description Cogent
! There are no physical autoconfiguration on serious network providers ;)
duplex full
speed 100
switchport access vlan 100
no cdp enable
!
interface FastEthernet0/2
! Best Current Practice: shutdown unused interface
shutdown
no cdp enable
!
interface FastEthernet0/3
shutdown
no cdp enable
!
interface FastEthernet0/4
shutdown
no cdp enable
!
interface FastEthernet0/5
description Interoute
duplex full
speed 100
switchport access vlan 101
no cdp enable
!
interface FastEthernet0/6
shutdown
no cdp enable
!
interface FastEthernet0/7
description BMC-Dell
! BMCs have Cogent IP address so we need to conf them in Cogent VLAN.
switchport access vlan 100
no cdp enable
!
interface FastEthernet0/8
description BMC-HP
switchport access vlan 100
no cdp enable
!
interface FastEthernet0/9
description BMC-IBM
switchport access vlan 100
no cdp enable
!
interface FastEthernet0/10
description PDU-Feed-1-left-from-behind
switchport access vlan 900
no cdp enable
!
interface FastEthernet0/11
description PDU-Feed-2-right-from-behind
switchport access vlan 900
no cdp enable
!
interface FastEthernet0/12
description CARP-Net-4-admins-in-DC
switchport access vlan 500
no cdp enable
!
interface FastEthernet0/13
description Dell-server
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,101,500-502,900,1002-1005
switchport mode trunk
no cdp enable
!
interface FastEthernet0/14
description HP-server
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,101,500-502,900,1002-1005
switchport mode trunk
no cdp enable
!
interface FastEthernet0/15
description IBM-server
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,101,500-502,900,1002-1005
switchport mode trunk
no cdp enable
!
interface FastEthernet0/16
shutdown
no cdp enable
!
interface FastEthernet0/17
shutdown
no cdp enable
!
interface FastEthernet0/18
shutdown
no cdp enable
!
interface FastEthernet0/19
description <censored>
switchport access vlan 501
no cdp enable
!
interface FastEthernet0/20
description <censored>
switchport access vlan 502
no cdp enable
!
interface FastEthernet0/21
shutdown
no cdp enable
!
interface FastEthernet0/22
shutdown
no cdp enable
!
interface FastEthernet0/23
shutdown
no cdp enable
!
interface FastEthernet0/24
shutdown
no cdp enable
!
interface GigabitEthernet0/1
shutdown
no cdp enable
!
interface GigabitEthernet0/2
shutdown
no cdp enable
!
interface VLAN1
description default-VLAN
no ip address
no ip directed-broadcast
no ip route-cache
shutdown
!
interface VLAN100
description Cogent
ip address 149.11.26.46 255.255.255.248
no ip directed-broadcast
no ip route-cache
!
interface VLAN101
description Interoute
no ip address
no ip directed-broadcast
no ip route-cache
shutdown
!
ip default-gateway 149.11.26.41
no ip http server
!
! Disable the Cisco L2 discovery protocol
no cdp run
!
line con 0
! No fucking timeouts on serial
exec-timeout 0 0
transport input none
stopbits 1
line vty 0 4
password <censored>
login
line vty 5 15
password <censored>
login
!
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment