LAB CME. Cấu hình giả lập PSTN (Phần 2) -

LAB CME. Cấu hình giả lập PSTN (Phần 2) -

LAB CME. Cấu hình giả lập PSTN (Phần 2) -

LAB CME. Cấu hình giả lập PSTN (Phần 2) -

LAB CME. Cấu hình giả lập PSTN (Phần 2) -
LAB CME. Cấu hình giả lập PSTN (Phần 2) -
(028) 35124257 - 0933 427 079

LAB CME. Cấu hình giả lập PSTN (Phần 2)

06-07-2020

4. Cấu hình đầy đủ của các thiết bị

CME1# show running-config

Building configuration...

 

 

Current configuration : 3183 bytes

!

! Last configuration change at 08:10:49 UTC Wed May 13 2015

version 15.1

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname CME1

!

boot-start-marker

boot-end-marker

!

card type e1 0 2

!

no aaa new-model

!

network-clock-participate wic 2

network-clock-select 1 E1 0/2/0

!

dot11 syslog

ip source-route

!

ip cef

!

ip dhcp excluded-address 10.1.10.254

ip dhcp excluded-address 10.1.20.254

!

ip dhcp pool Voice

 network 10.1.10.0 255.255.255.0

 default-router 10.1.10.254

 option 150 ip 10.1.10.254

!

ip dhcp pool Data

 network 10.1.20.0 255.255.255.0

 default-router 10.1.20.254

!

!

no ip domain lookup

no ipv6 cef

!

multilink bundle-name authenticated

!

isdn switch-type primary-ni

!

voice-card 0

!

crypto pki token default removal timeout 0

!

license udi pid CISCO2811 sn FHK1434F1N0

!

redundancy

!

controller E1 0/2/0

 pri-group timeslots 1-31

 description **voice to PSTN router**

!

controller E1 0/2/1

!

interface FastEthernet0/0

 description Ket noi toi switch PoE

 no ip address

 duplex auto

 speed auto

!

interface FastEthernet0/0.1

 description Ket noi toi Management VLAN

 encapsulation dot1Q 1 native

 ip address 10.1.1.254 255.255.255.0

!

interface FastEthernet0/0.10

 description Ket noi toi Voice VLAN

 encapsulation dot1Q 10

 ip address 10.1.10.254 255.255.255.0

!

interface FastEthernet0/0.20

 description Ket noi toi Data VLAN

 encapsulation dot1Q 20

 ip address 10.1.20.254 255.255.255.0

!

interface Service-Engine0/1

 no ip address

 shutdown

!

interface FastEthernet0/1

 no ip address

 duplex auto

 speed auto

!

interface Serial0/2/0:15

 no ip address

 encapsulation hdlc

 isdn switch-type primary-ni

 isdn incoming-voice voice

 no cdp enable

!

ip forward-protocol nd

no ip http server

no ip http secure-server

!

control-plane

!

voice-port 0/2/0:15

!

mgcp profile default

!

dial-peer voice 2001 voip

 destination-pattern 2001

 session target ipv4:2.2.2.2

!

dial-peer voice 1 pots

 destination-pattern .T

 port 0/2/0:15

 forward-digits all

!

dial-peer voice 2 pots

 incoming called-number .

 direct-inward-dial

!

telephony-service

 no auto-reg-ephone

 max-ephones 42

 max-dn 144

 ip source-address 10.1.10.254 port 2000

 max-conferences 8 gain -6

 transfer-system full-consult

 create cnf-files version-stamp 7960 May 13 2015 08:05:56

!

ephone-dn  1  dual-line

 number 1001 secondary 086211111001

!

ephone-dn  2  dual-line

 number 1002 secondary 086211111002

!

ephone-dn  3  dual-line

 number 1003 secondary 086211111003

!

ephone  1

 device-security-mode none

 mac-address B000.B4D8.8E95

 type 7965

 button  1:1

!

ephone  2

 device-security-mode none

 mac-address B000.B4D9.A3B1

 type 7965

 button  1:2

!

ephone  3

 device-security-mode none

 mac-address 24B6.FD47.139E

 type CIPC

 button  1:3

!

line con 0

 logging synchronous

line aux 0

line 258

 no activation-character

 no exec

 transport preferred none

 transport input all

 transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh

line vty 0 4

 privilege level 15

 no login

 transport input all

!

scheduler allocate 20000 1000

end

CME1#

PoE#show running-config

Building configuration...

 

Current configuration : 1848 bytes

!

version 12.2

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname PoE

!

no aaa new-model

ip subnet-zero

no ip domain-lookup

!

no file verify auto

spanning-tree mode pvst

spanning-tree extend system-id

!

vlan internal allocation policy ascending

!

interface FastEthernet0/1

 description Ket noi toi IP Phone 1001

 switchport access vlan 20

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/2

 description Ket noi toi IP Phone 1002

 switchport access vlan 20

 switchport mode access

 switchport voice vlan 10

 spanning-tree portfast

!

interface FastEthernet0/3

 description Ket noi toi IP Phone CIPC 1003

 switchport access vlan 10

 switchport mode access

 spanning-tree portfast

!

interface FastEthernet0/4

!

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

 description Ket noi toi router CME

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface Vlan1

 description Dat IP quan ly cho switch

 ip address 10.1.1.253 255.255.255.0

!

ip classless

ip http server

ip http secure-server

line con 0

 logging synchronous

line vty 0 4

 privilege level 15

 no login

line vty 5 15

 no login

!

end

 

PoE#

 

CME2#show running-config

Building configuration...

 

 

Current configuration : 2317 bytes

!

! Last configuration change at 07:50:30 UTC Wed May 13 2015

version 15.1

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname CME2

!

boot-start-marker

boot-end-marker

!

card type e1 0 2

!

no aaa new-model

!

network-clock-participate wic 2

network-clock-select 1 E1 0/2/0

!

dot11 syslog

ip source-route

!

ip cef

!

ip dhcp excluded-address 10.2.10.254

!

ip dhcp pool Voice

 network 10.2.10.0 255.255.255.0

 default-router 10.2.10.254

 option 150 ip 10.2.10.254

!

no ip domain lookup

no ipv6 cef

!

multilink bundle-name authenticated

!

isdn switch-type primary-ni

!

voice-card 0

!

crypto pki token default removal timeout 0

!

license udi pid CISCO2811 sn FTX0940A3K9

!

redundancy

!

controller E1 0/2/0

 pri-group timeslots 1-31

 description **voice to PSTN router**

!

controller E1 0/2/1

!

interface FastEthernet0/0

 description Ket noi toi PC cai CIPC

 ip address 10.2.10.254 255.255.255.0

 duplex auto

 speed auto

!

interface Service-Engine0/1

 no ip address

 shutdown

!

interface FastEthernet0/1

 no ip address

 duplex auto

 speed auto

!

interface Serial0/2/0:15

 no ip address

 encapsulation hdlc

 isdn switch-type primary-ni

 isdn incoming-voice voice

 no cdp enable

!

ip forward-protocol nd

no ip http server

no ip http secure-server

!

control-plane

!

voice-port 0/2/0:15

!

mgcp profile default

!

dial-peer voice 1000 voip

 destination-pattern 100.

 session target ipv4:1.1.1.1

!

dial-peer voice 1 pots

 destination-pattern .T

 port 0/2/0:15

 forward-digits all

!

dial-peer voice 2 pots

 incoming called-number .

 direct-inward-dial

!

telephony-service

 no auto-reg-ephone

 max-ephones 42

 max-dn 144

 ip source-address 10.2.10.254 port 2000

 max-conferences 8 gain -6

 transfer-system full-consult

!

ephone-dn  1  dual-line

 number 2001 secondary 086222222001

!

ephone  1

 device-security-mode none

 mac-address 24B6.FD47.139E

 type CIPC

 button  1:1

!

line con 0

 logging synchronous

line aux 0

line 258

 no activation-character

 no exec

 transport preferred none

 transport input all

 transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh

line vty 0 4

 privilege level 15

 no login

 transport input all

!

scheduler allocate 20000 1000

end

 

CME2#

 

PSTN# show running-config

Building configuration...

 

Current configuration : 1832 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname PSTN

!

boot-start-marker

boot-end-marker

!

card type e1 0 2

!

no aaa new-model

network-clock-participate wic 2

network-clock-select 1 E1 0/2/0

network-clock-select 2 E1 0/2/1

dot11 syslog

!

ip cef

!

ip auth-proxy max-nodata-conns 3

ip admission max-nodata-conns 3

!

multilink bundle-name authenticated

!

isdn switch-type primary-ni

!

voice-card 0

 no dspfarm

!

archive

 log config

  hidekeys

!

controller E1 0/2/0

 pri-group timeslots 1-31

 description **voice to CME1 router**

!

controller E1 0/2/1

 pri-group timeslots 1-31

 description **voice to CME2 router**

!

interface FastEthernet0/0

 no ip address

 shutdown

 duplex auto

 speed auto

!

interface FastEthernet0/1

 no ip address

 shutdown

 duplex auto

 speed auto

!

interface Serial0/2/0:15

 no ip address

 encapsulation hdlc

 isdn switch-type primary-ni

 isdn protocol-emulate network

 isdn incoming-voice voice

 no cdp enable

!

interface Serial0/2/1:15

 no ip address

 encapsulation hdlc

 isdn switch-type primary-ni

 isdn protocol-emulate network

 isdn incoming-voice voice

 no cdp enable

!

interface Serial0/3/0

 no ip address

 shutdown

 no fair-queue

 clock rate 2000000

!

ip forward-protocol nd

!

ip http server

no ip http secure-server

!

control-plane

!

voice-port 0/2/0:15

!

voice-port 0/2/1:15

!

dial-peer voice 1 pots

 destination-pattern 0862111110[0-3].

 port 0/2/0:15

 forward-digits all

!

dial-peer voice 2 pots

 destination-pattern 0862222220[0-3].

 port 0/2/1:15

 forward-digits all

!

dial-peer voice 3 pots

 incoming called-number .

 direct-inward-dial

!

line con 0

line aux 0

line vty 0 4

 login

!

scheduler allocate 20000 1000

!

end

 

PSTN#

Link phần 1: LAB CME. Cấu hình giả lập PSTN (Phần 1)


FORM ĐĂNG KÝ MUA HÀNG
Đặt hàng
icon-cart
0