Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

COMANDOS

CME
CISCO

Laboratorio | Gestion de Redes de Datos | Sena


ROUTER CME-M
ip dhcp excluded-address 192.168.2.1
ip dhcp excluded-address 192.168.3.1
exit
ip dhcp pool vlan2
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
option 150 ip 192.168.2.1
exit
ip dhcp pool vlan3
network 192.168.3.0 255.255.255.0
default-router 192.168.3.1
option 150 ip 192.168.3.1
exit
interface GigabitEthernet0/1
ip address 10.0.0.1 255.255.255.252
no sh
exit
interface GigabitEthernet0/0
no sh
exit
interface GigabitEthernet0/0.2
encapsulation dot1Q 2
ip address 192.168.2.1 255.255.255.0
exit
interface GigabitEthernet0/0.3
encapsulation dot1Q 3
ip address 192.168.3.1 255.255.255.0
exit
router ospf 1
network 10.0.0.0 0.0.0.3 area 0
network 192.168.2.0 0.0.0.255 area 0
network 192.168.3.0 0.0.0.255 area 0
exit
telephony-service
max-ephones 3

PÁGINA 1
max-dn 4
ip source-address 10.0.0.1
auto assign 1 to 3
system message LABORATORIO VOIP
create cnf-files
exit
ephone-dn 1 dual-line
number 10020
label 10020
description SOFTPHONE1
name jefferson1
exit
ephone-dn 2 dual-line
number 10021
label 10021
name jefferson2
exit
ephone-dn 3 dual-line
number 10030
label 10030
description SOFTPHONE2
name jefferson3
exit
ephone-dn 4 dual-line
number 10031
label 10031
name jefferson4
exit
ephone 1
button 1:1
button 2:2
reset
exit
ephone 2
button 1:3
button 2:4

PÁGINA 2
reset
exit
dial-peer voice 1 voip
destination-pattern 200..
session target ipv4:10.0.0.2
exit
dial-peer voice 2 voip
destination-pattern 300..
session target ipv4:10.0.0.6
exit
dial-peer voice 3 voip
destination-pattern 400..
session target ipv4:10.0.0.10
exit
dial-peer voice 4 voip
destination-pattern 500..
session target ipv4:10.0.0.14
end
wr

SWITCH CME-M
vlan 2
name vlan2
exit
vlan 3
name vlan3
exit
int range f0/1-10
sw mode access
sw access vlan 2
exit
int range f0/11-23
sw mode access
sw access vlan 3
exit
interface GigabitEthernet0/1

PÁGINA 3
switchport mode trunk
end
wr

ROUTER CME-H
ip dhcp excluded-address 192.168.4.1
ip dhcp excluded-address 192.168.5.1
exit
ip dhcp pool vlan4
network 192.168.4.0 255.255.255.0
default-router 192.168.4.1
option 150 ip 192.168.4.1
exit
ip dhcp pool vlan5
network 192.168.5.0 255.255.255.0
default-router 192.168.5.1
option 150 ip 192.168.5.1
exit
interface Serial0/0/0
ip address 10.0.0.5 255.255.255.252
no sh
exit
interface GigabitEthernet0/1
ip address 10.0.0.2 255.255.255.252
no sh
exit
interface GigabitEthernet0/0
no sh
exit
interface GigabitEthernet0/0.2
encapsulation dot1Q 4
ip address 192.168.4.1 255.255.255.0
exit
interface GigabitEthernet0/0.5
encapsulation dot1Q 5
ip address 192.168.5.1 255.255.255.0

PÁGINA 4
exit
router ospf 1
network 10.0.0.0 0.0.0.3 area 0
network 10.0.0.4 0.0.0.3 area 0
network 192.168.4.0 0.0.0.255 area 0
network 192.168.5.0 0.0.0.255 area 0
exit
telephony-service
max-ephones 3
max-dn 4
ip source-address 10.0.0.2
auto assign 1 to 3
system message LABORATORIO VOIP
create cnf-files
exit
ephone-dn 1 dual-line
number 20040
label 20040
description SOFTPHONE3
name hugo1
exit
ephone-dn 2 dual-line
number 20041
label 20041
name hugo2
exit
ephone-dn 3 dual-line
number 20050
label 20050
description SOFTPHONE4
name hugo3
exit
ephone-dn 4 dual-line
number 20051
label 20051
name hugo4

PÁGINA 5
exit
ephone 1
button 1:1
button 2:2
reset
exit
ephone 2
button 1:3
button 2:4
reset
exit
dial-peer voice 1 voip
destination-pattern 100..
session target ipv4:10.0.0.1
exit
dial-peer voice 2 voip
destination-pattern 300..
session target ipv4:10.0.0.6
exit
dial-peer voice 3 voip
destination-pattern 400..
session target ipv4:10.0.0.10
exit
dial-peer voice 4 voip
destination-pattern 500..
session target ipv4:10.0.0.14
end
wr

SWITCH CME-H
vlan 4
name vlan4
exit
vlan 5
name vlan5
exit

PÁGINA 6
int range f0/1-10
sw mode access
sw access vlan 4
exit
int range f0/11-23
sw mode access
sw access vlan 5
exit
interface GigabitEthernet0/1
switchport mode trunk
end
wr

ROUTER CME-K
ip dhcp excluded-address 192.168.6.1
ip dhcp excluded-address 192.168.7.1
exit
ip dhcp pool vlan6
network 192.168.6.0 255.255.255.0
default-router 192.168.6.1
option 150 ip 192.168.6.1
exit
ip dhcp pool vlan7
network 192.168.7.0 255.255.255.0
default-router 192.168.7.1
option 150 ip 192.168.7.1
exit
interface Serial0/0/0
ip address 10.0.0.6 255.255.255.252
no sh
exit
interface Serial0/0/1
ip address 10.0.0.9 255.255.255.252
no sh
exit

PÁGINA 7
interface GigabitEthernet0/0
no sh
exit
interface GigabitEthernet0/0.6
encapsulation dot1Q 6
ip address 192.168.6.1 255.255.255.0
exit
interface GigabitEthernet0/0.7
encapsulation dot1Q 7
ip address 192.168.7.1 255.255.255.0
exit
router ospf 1
network 10.0.0.4 0.0.0.3 area 0
network 10.0.0.8 0.0.0.3 area 0
network 192.168.6.0 0.0.0.255 area 0
network 192.168.7.0 0.0.0.255 area 0
exit
telephony-service
max-ephones 3
max-dn 4
ip source-address 10.0.0.6
auto assign 1 to 3
system message LABORATORIOVOIP
create cnf-files
exit
ephone-dn 1 dual-line
number 30060
label 30060
description SOFTPHONE5
name kevin1
exit
ephone-dn 2 dual-line
number 30061

PÁGINA 8
label 30061
name kevin2
exit
ephone-dn 3 dual-line
number 30070
label 30070
description SOFTPHONE6
name kevin3
exit
ephone-dn 4 dual-line
number 30071
label 30071
name kevin4
exit
ephone 1
button 1:1
button 2:2
reset
exit
ephone 2
button 1:3
button 2:4
reset
exit
dial-peer voice 1 voip
destination-pattern 200..
session target ipv4:10.0.0.5
exit
dial-peer voice 2 voip
destination-pattern 100..
session target ipv4:10.0.0.1
exit
dial-peer voice 3 voip
destination-pattern 400..
session target ipv4:10.0.0.10
exit

PÁGINA 9
dial-peer voice 4 voip
destination-pattern 500..
session target ipv4:10.0.0.14
end
wr

SWITCH CME-K
vlan 6
name vlan6
exit
vlan 7
name vlan7
exit
int range f0/1-10
sw mode access
sw access vlan 6
exit
int range f0/11-23
sw mode access
sw access vlan 7
exit
interface GigabitEthernet0/1
switchport mode trunk
end
wr

ROUTER CME-A
ip dhcp excluded-address 192.168.8.1
ip dhcp excluded-address 192.168.9.1
exit
ip dhcp pool vlan8
network 192.168.8.0 255.255.255.0
default-router 192.168.8.1
option 150 ip 192.168.8.1
exit
ip dhcp pool vlan9

PÁGINA 10
network 192.168.9.0 255.255.255.0
default-router 192.168.9.1
option 150 ip 192.168.9.1
exit
interface Serial0/0/1
ip address 10.0.0.10 255.255.255.252
no sh
exit
interface GigabitEthernet0/1
ip address 10.0.0.13 255.255.255.252
no sh
exit
interface GigabitEthernet0/0
no sh
exit
interface GigabitEthernet0/0.8
encapsulation dot1Q 8
ip address 192.168.8.1 255.255.255.0
exit
interface GigabitEthernet0/0.9
encapsulation dot1Q 9
ip address 192.168.9.1 255.255.255.0
exit
router ospf 1
network 10.0.0.8 0.0.0.3 area 0
network 10.0.0.12 0.0.0.3 area 0
network 192.168.8.0 0.0.0.255 area 0
network 192.168.9.0 0.0.0.255 area 0
exit
telephony-service
max-ephones 3
max-dn 4
ip source-address 10.0.0.10
auto assign 1 to 3
system message LABORATORIO VOIP
create cnf-files

PÁGINA 11
exit
ephone-dn 1 dual-line
number 40080
label 40080
description SOFTPHONE7
name pablo1
exit
ephone-dn 2 dual-line
number 40081
label 40081
name pablo2
exit
ephone-dn 3 dual-line
number 40090
label 40090
description SOFTPHONE8
name pablo3
exit
ephone-dn 4 dual-line
number 40091
label 40091
name pablo4
exit
ephone 1
button 1:1
button 2:2
reset
exit
ephone 2
button 1:3
button 2:4
reset
exit
dial-peer voice 1 voip
destination-pattern 100..
session target ipv4:10.0.0.1

PÁGINA 12
exit
dial-peer voice 2 voip
destination-pattern 200..
session target ipv4:10.0.0.5
exit
dial-peer voice 3 voip
destination-pattern 300..
session target ipv4:10.0.0.9
exit
dial-peer voice 4 voip
destination-pattern 500..
session target ipv4:10.0.0.14
end
wr

SWITCH CME-A
vlan 8
name vlan8
exit
vlan 9
name vlan9
exit
int range f0/1-10
sw mode access
sw access vlan 8
exit
int range f0/11-23
sw mode access
sw access vlan 9
exit
interface GigabitEthernet0/1
switchport mode trunk
end
wr

PÁGINA 13
ROUTER CME-C
ip dhcp excluded-address 192.168.10.1
ip dhcp excluded-address 192.168.11.1
exit
ip dhcp pool vlan10
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
option 150 ip 192.168.10.1
exit
ip dhcp pool vlan11
network 192.168.11.0 255.255.255.0
default-router 192.168.11.1
option 150 ip 192.168.11.1
exit
interface GigabitEthernet0/1
ip address 10.0.0.14 255.255.255.252
no sh
exit
interface GigabitEthernet0/0
no sh
exit
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
exit
interface GigabitEthernet0/0.11
encapsulation dot1Q 11
ip address 192.168.11.1 255.255.255.0
exit
router ospf 1
network 10.0.0.12 0.0.0.3 area 0
network 192.168.10.0 0.0.0.255 area 0
network 192.168.11.0 0.0.0.255 area 0
exit
telephony-service
max-ephones 3

PÁGINA 14
max-dn 4
ip source-address 10.0.0.14
auto assign 1 to 3
system message LABORATORIO VOIP
create cnf-files
exit
ephone-dn 1 dual-line
number 50010
label 50010
description SOFTPHONE9
name guerra1
exit
ephone-dn 2 dual-line
number 50001
label 50001
name guerra2
exit
ephone-dn 3 dual-line
number 50011
label 50011
description SOFTPHONE10
name guerra3
exit
ephone-dn 4 dual-line
number 50012
label 50012
name guerra4
exit
ephone 1
button 1:1
button 2:2
reset
exit
ephone 2
button 1:3
button 2:4

PÁGINA 15
reset
exit
dial-peer voice 1 voip
destination-pattern 100..
session target ipv4:10.0.0.1
exit
dial-peer voice 2 voip
destination-pattern 200..
session target ipv4:10.0.0.5
exit
dial-peer voice 3 voip
destination-pattern 300..
session target ipv4:10.0.0.9
exit
dial-peer voice 4 voip
destination-pattern 400..
session target ipv4:10.0.0.13
end
wr

PÁGINA 16
SWITCH CME-C
vlan 10
name vlan10
exit
vlan 11
name vlan11
exit
int range f0/1-10
sw mode access
sw access vlan 10
exit
int range f0/11-23
sw mode access
sw access vlan 11
exit
interface GigabitEthernet0/1
switchport mode trunk
end
wr

LABORATORIO VOIP CON EQUIPOS FISICOS CISCO

………………………… FIN …………………………

PÁGINA 17
PÁGINA 18

You might also like