Tutorials Vyatta Case Study 2 Cisco 3750 Config
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco
!
enable secret 5 $1$QwTi$JH5N28TqQtxLNm2PIQH1L0
!
no aaa new-model
switch 1 provision ws-c3750g-24ts-1u
ip subnet-zero
ip routing
!
ip multicast-routing distributed
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface Loopback1
ip address 10.200.1.1 255.255.255.255
!
interface GigabitEthernet1/0/1
description link to Vyatta router
duplex full
speed 100
!
interface GigabitEthernet1/0/2
description link to Desktop A
switchport access vlan 2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
!
interface GigabitEthernet1/0/11
!
interface GigabitEthernet1/0/12
!
interface Vlan1
ip address 200.0.0.2 255.255.255.0
!
interface Vlan2
ip address 10.1.0.2 255.255.255.0
!
router ospf 1
log-adjacency-changes
network 10.1.0.0 0.0.0.255 area 0
network 10.200.1.0 0.0.0.255 area 0
network 200.0.0.0 0.0.0.255 area 0
!
ip default-gateway 10.200.1.1
ip classless
ip http server
!
!
!
control-plane
!
!
line con 0
line vty 0 4
password l
no login
line vty 5 15
no login
!
!
end