Tutorials Vyatta Case Study 3 Cisco 3750 L2 Config
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch_L2
!
enable secret 5 $1$bUgV$LbiI6sBESDyOJ4HlTLpiK0
!
no aaa new-model
switch 1 provision ws-c3750g-24ts-1u
ip subnet-zero
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface GigabitEthernet1/0/1
description Vyatta_A
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/2
description DHCP_client
switchport access vlan 2
!
interface GigabitEthernet1/0/3
switchport access vlan 100
!
interface GigabitEthernet1/0/4
switchport access vlan 3
!
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
no ip address
shutdown
!
interface Vlan2
ip address 10.101.2.1 255.255.255.0
!
interface Vlan3
ip address 10.101.3.1 255.255.255.0
!
interface Vlan100
ip address 10.101.1.1 255.255.255.0
!
ip default-gateway 10.101.1.2
ip classless
ip http server
!
logging 10.102.1.99
access-list 50 permit 10.102.1.99
snmp-server community TeddyBear RO 50
snmp-server location Madrid
snmp-server contact Javier
!
control-plane
!
line con 0
line vty 0 4
no login
line vty 5 15
no login
!
ntp clock-period 36027486
ntp server 10.1.2.2
!
end