You are on page 1of 2

#ROUTER A

ip dhcp pool voice


network 11.11.11.0 255.255.255.0
default-router 11.11.11.1
option 150 ip 11.11.11.1
ex
ip dhcp excluded-address 11.11.11.1
ip address 11.11.11.1 255.255.255.0
no sh

konfig telephone service


#conf t
telephony-service
max-ephones 4
max-dn 4
ip source address 11.11.11.1 port 2000
auto assign 1 to 2

ephone-dn 1
number 111

ephone-dn 2
number 112

#konfig dial peer


ip route 12.12.12.0 255.255.255.0 10.10.10.2
dial-peer voice 100 voip
session target ipv4:10.10.10.2
destination-pattern 12

#ROUTER B

ip dhcp pool voice


network 12.12.12.0 255.255.255.0
def-router 12.12.12.1
option 150 ip 12.12.12.1
e

#conf t
telephony-service
max-ephones 4
max-dn 4
ip source address 12.12.12.1 port 2000
auto assign 1 to 2

ephone-dn 1
number 123

ephone-dn 2
number 456

#konfig switch
en
conf t
int ra fa0/1-24
sw voice vlan 1

You might also like