VLAN TELEFONO
Building configuration...
Current configuration : 1145 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
!
ip dhcp pool voz
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
option 150 ip 192.168.10.1
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
telephony-service
max-ephones 5
max-dn 5
ip source-address 192.168.10.1 port 2000
auto assign 1 to 9
!
ephone-dn 1
number 1001
!
ephone-dn 2
number 1002
!
ephone-dn 3
number 1003
!
ephone 1
device-security-mode none
mac-address 0001.634A.6739
type 7960
button 1:1
!
ephone 2
device-security-mode none
mac-address 0030.F200.566C
type 7960
button 1:2
!
ephone 3
device-security-mode none
mac-address 0001.6399.5D01
type ata
button 1:3
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
SWITCH
S1#show running-config
Building configuration...
Current configuration : 1169 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname S1
!
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
switchport mode access
switchport voice vlan 1
!
interface FastEthernet0/2
switchport mode access
switchport voice vlan 1
!
interface FastEthernet0/3
switchport mode access
switchport voice vlan 1
!
interface FastEthernet0/4
switchport mode access
switchport voice vlan 2
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Vlan1
no ip address
shutdown
!
!
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end