Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 6

r0=

ena
config t
hostname R0
int fa0/0
no shut
exit
int fa0/0.10
encapsulation dot1q 10
ip add 192.168.10.1 255.255.255.128
exit
int fa0/0.20
encapsulation dot1q 20
ip add 192.168.20.1 255.255.255.128
exit
int fa0/0.30
encapsulation dot1q 30
ip add 192.168.30.1 255.255.255.128
exit
int fa0/1
no shut
exit
int fa0/1.10
encapsulation dot1q 10
ip add 192.168.10.129 255.255.255.128
exit
int fa0/1.20
encapsulation dot1q 20
ip add 192.168.20.129 255.255.255.128
exit
int fa0/1.30
encapsulation dot1q 30
ip add 192.168.30.129 255.255.255.128
exit
int se0/0/0
ip add 192.168.1.1 255.255.255.252
clock rate 56000
no shut
exit
ip dhcp excluded-address 192.168.10.1
ip dhcp excluded-address 192.168.20.1
ip dhcp excluded-address 192.168.30.1
ip dhcp excluded-address 192.168.10.129
ip dhcp excluded-address 192.168.20.129
ip dhcp excluded-address 192.168.30.129
ip dhcp excluded-address 192.168.40.1
ip dhcp excluded-address 192.168.50.1
ip dhcp excluded-address 192.168.60.1
ip dhcp excluded-address 192.168.40.129
ip dhcp excluded-address 192.168.50.129
ip dhcp excluded-address 192.168.60.129
exit
telephony-service
max-dn 10
max-ephones 10
ip source-address 192.168.30.1 port 2000
auto assign 4 to 6
auto assign 1 to 5
exit
ephone-dn 1
number 201
exit
ephone-dn 2
number 202
exit
router eigrp 1
net 192.168.10.0
net 192.168.20.0
net 192.168.30.0
net 192.168.10.128
net 192.168.20.128
net 192.168.30.128
net 192.168.1.0
no auto-summary
exit
dial-peer voice 1 voip
destination-pattern 20.
session target ipv4:192.168.1.2
exit

R1=
ena
config t
hostname R1
int fa0/0
no shut
exit
int fa0/0.10
encapsulation dot1q 10
ip add 192.168.10.1 255.255.255.128
exit
int fa0/0.20
encapsulation dot1q 20
ip add 192.168.20.1 255.255.255.128
exit
int fa0/0.30
encapsulation dot1q 30
ip add 192.168.30.1 255.255.255.128
exit
int fa0/1
no shut
exit
int fa0/1.10
encapsulation dot1q 10
ip add 192.168.10.129 255.255.255.128
exit
int fa0/1.20
encapsulation dot1q 20
ip add 192.168.20.129 255.255.255.128
exit
int fa0/1.30
encapsulation dot1q 30
ip add 192.168.30.129 255.255.255.128
exit
int se0/0/0
ip add 192.168.1.2 255.255.255.252
clock rate 56000
no shut
exit
ip dhcp excluded-address 192.168.10.1
ip dhcp excluded-address 192.168.20.1
ip dhcp excluded-address 192.168.30.1
ip dhcp excluded-address 192.168.10.129
ip dhcp excluded-address 192.168.20.129
ip dhcp excluded-address 192.168.30.129
ip dhcp excluded-address 192.168.40.1
ip dhcp excluded-address 192.168.50.1
ip dhcp excluded-address 192.168.60.1
ip dhcp excluded-address 192.168.40.129
ip dhcp excluded-address 192.168.50.129
ip dhcp excluded-address 192.168.60.129
exit
telephony-service
max-dn 10
max-ephones 10
ip source-address 192.168.60.1 port 2000
auto assign 4 to 6
auto assign 1 to 5
exit
ephone-dn 1
number 203
exit
ephone-dn 2
number 204
exit
ephone-dn 3
number 205
exit
ephone-dn 4
number 206
exit
router eigrp 1
net 192.168.40.0
net 192.168.50.0
net 192.168.60.0
net 192.168.40.128
net 192.168.50.128
net 192.168.60.128
net 192.168.1.0
no auto-summary
exit
dial-peer voice 1 voip
destination-pattern 20.
session target ipv4:192.168.1.1
exit

R2=
ena
config t
hostname R0
int fa0/0
no shut
exit
int fa0/0.10
encapsulation dot1q 10
ip add 192.168.10.1 255.255.255.128
exit
int fa0/0.20
encapsulation dot1q 20
ip add 192.168.20.1 255.255.255.128
exit
int fa0/0.30
encapsulation dot1q 30
ip add 192.168.30.1 255.255.255.128
exit
int fa0/1
no shut
exit
int fa0/1.10
encapsulation dot1q 10
ip add 192.168.10.129 255.255.255.128
exit
int fa0/1.20
encapsulation dot1q 20
ip add 192.168.20.129 255.255.255.128
exit
int fa0/1.30
encapsulation dot1q 30
ip add 192.168.30.129 255.255.255.128
exit
int se0/0/0
ip add 192.168.1.3 255.255.255.252
clock rate 56000
no shut
exit
ip dhcp excluded-address 192.168.10.1
ip dhcp excluded-address 192.168.20.1
ip dhcp excluded-address 192.168.30.1
ip dhcp excluded-address 192.168.10.129
ip dhcp excluded-address 192.168.20.129
ip dhcp excluded-address 192.168.30.129
ip dhcp excluded-address 192.168.40.1
ip dhcp excluded-address 192.168.50.1
ip dhcp excluded-address 192.168.60.1
ip dhcp excluded-address 192.168.40.129
ip dhcp excluded-address 192.168.50.129
ip dhcp excluded-address 192.168.60.129
exit
telephony-service
max-dn 10
max-ephones 10
ip source-address 192.168.30.1 port 2000
auto assign 4 to 6
auto assign 1 to 5
exit
ephone-dn 1
number 207
exit
ephone-dn 2
number 208
exit
ephone-dn 3
number 209
exit
router eigrp 1
net 192.168.10.0
net 192.168.20.0
net 192.168.30.0
net 192.168.10.128
net 192.168.20.128
net 192.168.30.128
net 192.168.1.0
no auto-summary
exit
dial-peer voice 1 voip
destination-pattern 20.
session target ipv4:192.168.1.2
exit

SW0=
ena
config t
ip dhcp pool vlan10
network 192.168.10.0 255.255.255.128
default-router 192.168.10.1
option 150 ip 192.168.10.1
exit
ip dhcp pool vlan20
network 192.168.20.0 255.255.255.128
default-router 192.168.20.1
option 150 ip 192.168.20.1
exit
ip dhcp pool vlan30
network 192.168.30.0 255.255.255.128
default-router 192.168.30.1
option 150 ip 192.168.30.1
exit
ip dhcp pool vlan10-1
network 192.168.10.128 255.255.255.128
default-router 192.168.10.129
option 150 ip 192.168.10.129
exit
ip dhcp pool vlan20-1
network 192.168.20.128 255.255.255.128
default-router 192.168.20.129
option 150 ip 192.168.20.129
exit
ip dhcp pool vlan30-1
network 192.168.30.128 255.255.255.128
default-router 192.168.30.129
option 150 ip 192.168.30.129
exit
ip dhcp pool vlan40
network 192.168.40.0 255.255.255.128
default-router 192.168.40.1
option 150 ip 192.168.40.1
exit
ip dhcp pool vlan50
network 192.168.40.0 255.255.255.128
default-router 192.168.50.1
option 150 ip 192.168.50.1
exit
ip dhcp pool vlan60
network 192.168.60.0 255.255.255.128
default-router 192.168.60.1
option 150 ip 192.168.60.1
exit
ip dhcp pool vlan40-1
network 192.168.40.128 255.255.255.128
default-router 192.168.40.129
option 150 ip 192.168.40.129
exit
ip dhcp pool vlan50-1
network 192.168.50.128 255.255.255.128
default-router 192.168.50.129
option 150 ip 192.168.50.129
exit
ip dhcp pool vlan60-1
network 192.168.60.128 255.255.255.128
default-router 192.168.60.129
option 150 ip 192.168.60.129
exit
hostname Sw0
vlan 10
exit
vlan 20
exit
vlan 30
exit
int range fa0/1-5
switchport mode access
switchport access vlan 10
exit
int range f0/6-10
switchport mode access
switchport access vlan 20
exit
int range f0/11-15
switchport voice vlan 30
exit
int f0/11
switchport mode access
switchport access vlan 10
exit
int f0/12
switchport mode access
switchport access vlan 20
exit
int f0/24
switchport mode trunk
switchport trunk allowed vlan 10,20,30
exit

You might also like