NETWORK/VOICE2015. 2. 5. 22:32

오늘 ebay를 통해서 Voice network 장비를 구매했다.

그리고 아래는 라우터와 스위치에 들어 있었던 Configuration 이다. 


1. PSTN 라우터 

BR2-RTR#show run

Building configuration...


Current configuration : 4990 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname BR2-RTR

!

boot-start-marker

boot-end-marker

!

logging message-counter syslog

enable password cisco

!

no aaa new-model

clock timezone GMT 0

clock summer-time CET recurring 1 Sun Apr 1:00 last Sun Oct 1:00

network-clock-participate wic 0 

!

dot11 syslog

ip source-route

!         

!

ip cef

ip dhcp excluded-address 177.3.11.1 177.3.11.99

ip dhcp excluded-address 177.3.11.201 177.3.11.254

!

ip dhcp pool VOICE

   network 177.3.11.0 255.255.255.0

   default-router 177.3.11.1 

   option 150 ip 177.3.11.1 

!

!

no ip domain lookup

no ipv6 cef

!

multilink bundle-name authenticated

!

!

!

!

isdn switch-type primary-net5

!

!

!         

!

voice class codec 1

 codec preference 1 g711ulaw

 codec preference 2 g729r8

!

!

!

!

voice class h323 1

  h225 timeout tcp establish 3

!

!

!

!

!

!

!

!

!

!

!

!

voice-card 0

!

!

!

!

!

archive

 log config

  hidekeys

!

!

!

!

controller E1 0/0/0

 pri-group timeslots 1-3,16

 description ** E1-PSTN-E1

!

!

!

!

!

interface Loopback0

 ip address 177.1.254.3 255.255.255.255

 h323-gateway voip interface

 h323-gateway voip id ZONE_01 ipaddr 177.1.254.1 1719

 h323-gateway voip h323-id BR2_GW

 h323-gateway voip tech-prefix 1#

 h323-gateway voip bind srcaddr 177.1.254.3

!

interface Loopback1

 ip address 177.1.250.1 255.255.255.0

!

interface FastEthernet0/0

 description == To 3750 Switch 0/24

 no ip address

 no ip route-cache cef

 duplex auto

 speed auto

!

interface FastEthernet0/1

 no ip address

 shutdown

 duplex auto

 speed auto

!

interface FastEthernet0/3/0

 description 3001

 switchport mode trunk

 switchport voice vlan 11

 spanning-tree portfast

!

interface FastEthernet0/3/1

 description 3002

 switchport mode trunk

 switchport voice vlan 11

 spanning-tree portfast

!

interface FastEthernet0/3/2

 switchport mode trunk

 switchport voice vlan 11

 spanning-tree portfast

!

interface FastEthernet0/3/3

!

interface Serial0/0/0:15

 no ip address

 encapsulation hdlc

 isdn switch-type primary-net5

 isdn incoming-voice voice

 isdn bchan-number-order ascending 

 no cdp enable

!

interface Serial0/1/0

 description Frame-Relay Circuit to WAN

 no ip address

 encapsulation frame-relay

 fair-queue 64 256 37

 clock rate 2000000

 frame-relay lmi-type cisco

 ip rsvp bandwidth

!

interface Serial0/1/0.201 point-to-point

 description --To HQ

 ip address 177.0.201.2 255.255.255.0

 ip ospf mtu-ignore

 snmp trap link-status

 frame-relay interface-dlci 201   

 ip rsvp bandwidth 352

!

interface Serial0/2/0

 no ip address

 shutdown 

 clock rate 2000000

!

interface Serial0/2/1

 no ip address

 shutdown

 clock rate 2000000

!

interface Service-Engine1/0

 ip unnumbered Loopback1

 shutdown

 service-module ip address 177.1.250.254 255.255.255.0

 service-module ip default-gateway 177.1.250.1

!

interface Vlan1

 no ip address

!

interface Vlan11

 description ==Voice VLAN

 ip address 177.3.11.1 255.255.255.0

 ip helper-address 177.1.10.10

 ip pim dense-mode

 no autostate

!         

router ospf 1

 log-adjacency-changes

 network 177.0.201.2 0.0.0.0 area 0

 network 177.1.254.3 0.0.0.0 area 0

 network 177.3.11.1 0.0.0.0 area 0

 network 177.3.12.1 0.0.0.0 area 0

 network 0.0.0.0 255.255.255.255 area 0

!

ip forward-protocol nd

ip http server

no ip http secure-server

ip http path flash:/gui

!

!

!

!

!

!

!

!

!

!

control-plane

!

!

!

voice-port 0/0/0:15

!

ccm-manager fax protocol cisco

!

mgcp fax t38 ecm

!

!

!

dial-peer voice 999 pots

 description ==Emergency Services

 destination-pattern 999

 port 0/0/0:15

 forward-digits 3

!

dial-peer voice 900 pots

 description ==Local numbers

 destination-pattern 9[2-9].......$

 port 0/0/0:15

!

dial-peer voice 901 pots

 description National

 destination-pattern 90[2-9].........$

 port 0/0/0:15

 prefix 0

!

dial-peer voice 902 pots

 description == International

 destination-pattern 900T

 port 0/0/0:15

!

dial-peer voice 1 pots

 incoming called-number .

 direct-inward-dial

 port 0/0/0:15

!

!

gateway 

 timer receive-rtp 1200

!

!

!

telephony-service

 em logout 0:0 0:0 0:0 

 max-ephones 4

 max-dn 30

 ip source-address 177.3.11.1 port 2000

 dialplan-pattern 1 212313... extension-length 4

 max-conferences 8 gain -6

 call-forward pattern .T

 transfer-system full-consult

 transfer-pattern .T

 create cnf-files version-stamp 7960 Jul 05 2013 03:05:09

!

!

ephone-dn  1  dual-line

 number 3001

!

!

ephone-dn  2  dual-line

 number 3002 secondary 21313002

!

!

ephone  1

 no phone-ui speeddial-fastdial

 no multicast-moh

 device-security-mode none

 mac-address 0018.1927.EA41

 type 7940

 button  1:1

!

!

!

ephone  2

 no phone-ui speeddial-fastdial

 no multicast-moh

 device-security-mode none

 mac-address 0017.5A52.E127

 type 7940

 button  1:2

!

!

!

line con 0

 login

line aux 0

line 66

 no activation-character

 no exec

 transport preferred none

 transport input all

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

line vty 0 4

 login

!

scheduler allocate 20000 1000

ntp source Loopback0

ntp server 177.1.254.1

end


BR2-RTR# 


2. PSTN 라우터 

 PSTN#show run

Building configuration...



Current configuration : 4809 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

!

logging message-counter syslog

enable secret 5 $1$Y/JA$4LTxvh9bV0/nRt2VYzKfH0

enable password cisco

!

no aaa new-model

network-clock-participate wic 1 

network-clock-participate wic 2 

network-clock-participate wic 3 

!

dot11 syslog

ip source-route

!

!

ip cef

!

!

no ip domain lookup

no ipv6 cef

!

multilink bundle-name authenticated

frame-relay switching

!

!

!

!

isdn switch-type primary-ni

!

!

!

voice service voip 

 allow-connections sip to sip

 fax protocol cisco 

 sip

!         

!

!

voice class codec 1

 codec preference 1 g729r8

 codec preference 2 g711ulaw

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

voice-card 0

!

!         

!

!

!

archive

 log config

  hidekeys

!

!

!

!

controller T1 0/1/0

 clock source internal

 cablelength short 133

 pri-group timeslots 1-3,24

 description PRI-BR1

!

controller T1 0/1/1

 shutdown

 clock source internal

 cablelength short 133

!

controller E1 0/2/0

 clock source internal

 pri-group timeslots 1-3,16

 description ==Voice PRI to BR2

!

controller T1 0/3/0

 clock source internal

 cablelength short 133

 pri-group timeslots 1-3,24

 description PRI-HQ

!

!

!

!

!

interface Loopback0

 ip address 177.1.254.254 255.255.255.255

!

interface Loopback10

 ip address 177.1.254.250 255.255.255.255

!

interface Loopback11

 ip address 177.1.254.251 255.255.255.255

!         

interface Tunnel1

 no ip address

!

interface FastEthernet0/0

 description ==HQ_SW_24

 no ip address

 ip ospf network broadcast

 ip ospf priority 0

 ip ospf mtu-ignore

 duplex full

 speed 100

!

interface FastEthernet0/1

 ip address 177.1.19.253 255.255.255.0

 duplex full

 speed 100

!

interface Serial0/0/0

 no ip address

 shutdown

 clock rate 2000000

!

interface Serial0/0/1

 no ip address

 shutdown

 clock rate 2000000

!

interface Serial0/1/0:23

 description PRI-BR1

 no ip address

 encapsulation hdlc

 isdn switch-type primary-net5

 isdn protocol-emulate network

 isdn incoming-voice voice

 isdn negotiate-bchan resend-setup

 isdn outgoing display-ie

 no cdp enable

!

interface Serial0/2/0:15

 description PRI==BR2

 no ip address

 encapsulation hdlc

 isdn switch-type primary-net5

 isdn protocol-emulate network

 isdn incoming-voice voice

 isdn negotiate-bchan resend-setup

 no isdn outgoing ie network-facility 

 isdn outgoing display-ie

 no cdp enable

!

interface Serial0/3/0:23

 description PRI-HQ

 no ip address

 encapsulation hdlc

 isdn switch-type primary-net5

 isdn protocol-emulate network

 isdn incoming-voice voice

 isdn negotiate-bchan resend-setup

 no cdp enable

!

interface Serial1/0

 no ip address

 shutdown

!

interface Serial1/1

 description BR2-RTR

 no ip address

 encapsulation frame-relay

 --More-- 

*Feb  5 13:49:39.771: %ENVMON-4-FAN_LOW_RPM: Fan 3 service r clock rate 128000

 frame-relay lmi-type cisco

 frame-relay intf-type dce

 frame-relay route 201 interface Serial1/3 201

!

interface Serial1/2

 description BR1-RTR

 no ip address

 encapsulation frame-relay

 clock rate 128000

 frame-relay lmi-type cisco

 frame-relay intf-type dce

 frame-relay route 101 interface Serial1/3 101

!

interface Serial1/3

 description HQ-RTR

 no ip address

 encapsulation frame-relay

 clock rate 128000

 frame-relay lmi-type cisco

 frame-relay intf-type dce

 frame-relay route 101 interface Serial1/2 101

 frame-relay route 201 interface Serial1/1 201

!         

interface Serial1/4

 no ip address

 shutdown

!

interface Serial1/5

 no ip address

 shutdown

!

interface Serial1/6

 no ip address

 shutdown

!

interface Serial1/7

 no ip address

 shutdown

!

router ospf 1

 log-adjacency-changes

 network 0.0.0.0 255.255.255.255 area 0

!

ip forward-protocol nd

no ip http server

no ip http secure-server

!

!

!

nls resp-timeout 1

cpd cr-id 1

!

!

!

!

!

!

control-plane

!

!

!

voice-port 0/1/0:23

!

voice-port 0/2/0:15

 translation-profile incoming 3-BR2-Change_DNIS-Check_ANI

 description ==Voice PRI-BR2

!

voice-port 0/3/0:23

!         

!

!

!

!

dial-peer voice 1 pots

 incoming called-number .

 direct-inward-dial

!

!


!

!

gatekeeper

 shutdown

!

!

telephony-service

 no auto-reg-ephone

 max-ephones 1

 max-dn 10

 ip source-address 177.1.254.254 port 2000

 system message PSTN PHONE

 max-conferences 8 gain -6

 call-forward pattern .T

 dn-webedit 

 transfer-system full-consult

 transfer-pattern .T

 create cnf-files version-stamp Jan 01 2002 00:00:00

!

!

ephone-dn  1  dual-line

 number 12065015111 secondary +12065015111

 label Seattle, US +1 206 501 5111

 description INE PSTN Phone

 name Seattle US Phone

!

!

ephone-dn  2  dual-line

 number 999 secondary 911

 name Emergency Services

!

!

ephone  1

 no phone-ui speeddial-fastdial

 no multicast-moh

 device-security-mode none

 mac-address 001F.6C7F.9A2C

 type 7960

 button  1:1 2:2

!

!

!

line con 0

 password ccie

 login

line aux 0

line vty 0 4

 password cisco

 login

!

scheduler allocate 20000 1000

end


PSTN# 


3. Swith configuration 

HQ_SW#show run

Building configuration...


Current configuration : 4135 bytes

!

version 12.2

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname HQ_SW

!

boot-start-marker

boot-end-marker

!

enable password cisco

!

!

!

no aaa new-model

switch 1 provision ws-c3750-24p

system mtu routing 1500

vtp mode transparent

ip routing

ip dhcp excluded-address 192.168.10.1 192.168.10.100

ip dhcp excluded-address 192.168.10.254

!

ip dhcp pool INTERNAL

   network 192.168.10.0 255.255.255.0

   dns-server 4.2.2.2 

   default-router 192.168.10.254 

!

!

!

!

crypto pki trustpoint TP-self-signed-1230812672

 enrollment selfsigned

 subject-name cn=IOS-Self-Signed-Certificate-1230812672

 revocation-check none

 rsakeypair TP-self-signed-1230812672

!

!

crypto pki certificate chain TP-self-signed-1230812672

 certificate self-signed 01

  3082023E 308201A7 A0030201 02020101 300D0609 2A864886 F70D0101 04050030 

  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274 

  69666963 6174652D 31323330 38313236 3732301E 170D3933 30333031 30303031 

  34325A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649 

  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32333038 

  31323637 3230819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281 

  8100DDC4 330F76DA 00D035CC A6DC3560 268D1BFF 74CE65D7 BE3F3AEA 4ABCCB3A 

  43360589 909F3653 2383A295 CD5FDE1A F0DEB624 4091ACEC D97BE88A 73E51237 

  40E711C5 8D6ECE4B 6120C0A1 3E2E926D 93FA0985 979CC546 E5A07974 9AE9BCEF 

  EE7824A0 C112802D F7F337B8 542B975A 32D8A754 594AE1F7 9557CCB5 BF95C51B 

  56D30203 010001A3 66306430 0F060355 1D130101 FF040530 030101FF 30110603 

  551D1104 0A300882 0648515F 53572E30 1F060355 1D230418 30168014 9A155A77 

  92FBCEED 50481DA4 7FBFB160 AF60F4C2 301D0603 551D0E04 1604149A 155A7792 

  FBCEED50 481DA47F BFB160AF 60F4C230 0D06092A 864886F7 0D010104 05000381 

  8100C95B D9BAC153 9E207CEA 90F92FA0 1C766FAD 0BED0733 B3DBCADE 82715EDD 

  4243BFA1 E5F53FD4 DE57DFC6 F56EBB77 44B0FB8D 2E2D4F66 D0443CA0 B52455F3 

  9E27B4D6 00F6A00E 23F630BD E540298A D91E7B33 D75DFA59 7D7743BF 15DDFEB7 

  DCB02939 8C2E99A6 8C25EFDC 912C1168 BF16B08E ED5E9BFB 9B088411 7277B422 3053

  quit

!

!

!

spanning-tree mode pvst

spanning-tree extend system-id

!

vlan internal allocation policy ascending

!         

vlan 10

 name Inside

!

vlan 11

 name DMZ

!

vlan 20 

!

vlan 30

 name External

!

!

!

!

interface FastEthernet1/0/1

!

interface FastEthernet1/0/2

 switchport trunk encapsulation dot1q

 switchport mode trunk

!

interface FastEthernet1/0/3

 switchport access vlan 10

 switchport mode access

 spanning-tree portfast

!

interface FastEthernet1/0/4

 switchport mode access

 spanning-tree portfast

!

interface FastEthernet1/0/5

 spanning-tree portfast trunk

!

interface FastEthernet1/0/6

 switchport mode access

 spanning-tree portfast

!

interface FastEthernet1/0/7

 switchport mode access

 spanning-tree portfast

!

interface FastEthernet1/0/8

 switchport mode access

 spanning-tree portfast

!

interface FastEthernet1/0/9

 switchport mode access

 spanning-tree portfast

!

interface FastEthernet1/0/10

!

interface FastEthernet1/0/11

 switchport mode access

 spanning-tree portfast

!

interface FastEthernet1/0/12

 switchport mode access

 spanning-tree portfast

!

interface FastEthernet1/0/13

!

interface FastEthernet1/0/14

!

interface FastEthernet1/0/15

!

interface FastEthernet1/0/16

!

interface FastEthernet1/0/17

!

interface FastEthernet1/0/18

!

interface FastEthernet1/0/19

!

interface FastEthernet1/0/20

!

interface FastEthernet1/0/21

!

interface FastEthernet1/0/22

!

interface FastEthernet1/0/23

 description PSTN-FA0/0

!

interface FastEthernet1/0/24

 speed 100

 duplex full

 spanning-tree portfast

!

interface GigabitEthernet1/0/1

!

interface GigabitEthernet1/0/2

!

interface Vlan1

 no ip address

!

interface Vlan10

 ip address 192.168.10.254 255.255.255.0

!

interface Vlan13

 no ip address

!

router bgp 400

 no synchronization

 bgp log-neighbor-changes

 network 192.168.10.0

 neighbor 192.168.10.1 remote-as 400

 no auto-summary

!

ip classless

ip http server

ip http secure-server

!

!

!

!

!

line con 0

line vty 0 4

 password cisco

 login

line vty 5 15

 login

!

end


HQ_SW#                        


HQ_SW#show flash:


Directory of flash:/


    2  -rwx         796   Mar 1 1993 00:01:22 +00:00  vlan.dat

    3  -rwx        2678   Mar 1 1993 00:08:15 +00:00  3750.cfg

    4  -rwx        1792   Mar 1 1993 01:07:48 +00:00  nvram

    5  -rwx    13009047   Mar 1 1993 00:30:38 +00:00  c3750-ipservicesk9-mz.122-55.SE9.bin

    6  -rwx        2802   Mar 1 1993 01:31:13 +00:00  config.text

    8  -rwx        3096   Mar 1 1993 01:49:31 +00:00  multiple-fs

    9  -rwx        1938   Mar 1 1993 01:31:13 +00:00  private-config.text


15998976 bytes total (2973696 bytes free)



HQ_SW#show flash

HQ_SW#show flash:


Directory of flash:/


    2  -rwx         796   Mar 1 1993 00:01:22 +00:00  vlan.dat

    3  -rwx        2678   Mar 1 1993 00:08:15 +00:00  3750.cfg

    4  -rwx        1792   Mar 1 1993 01:07:48 +00:00  nvram

    5  -rwx    13009047   Mar 1 1993 00:30:38 +00:00  c3750-ipservicesk9-mz.122-55.SE9.bin

    6  -rwx        2802   Mar 1 1993 01:31:13 +00:00  config.text

    8  -rwx        3096   Mar 1 1993 01:49:31 +00:00  multiple-fs

    9  -rwx        1938   Mar 1 1993 01:31:13 +00:00  private-config.text


15998976 bytes total (2973696 bytes free)

HQ_SW#show vlan


VLAN Name                             Status    Ports

---- -------------------------------- --------- -------------------------------

1    default                          active    Fa1/0/1, Fa1/0/2, Fa1/0/4

                                                Fa1/0/5, Fa1/0/6, Fa1/0/7

                                                Fa1/0/8, Fa1/0/9, Fa1/0/10

                                                Fa1/0/11, Fa1/0/12, Fa1/0/13

                                                Fa1/0/14, Fa1/0/15, Fa1/0/16

                                                Fa1/0/17, Fa1/0/18, Fa1/0/19

                                                Fa1/0/20, Fa1/0/21, Fa1/0/22

                                                Fa1/0/23, Fa1/0/24, Gi1/0/1

                                                Gi1/0/2

10   Inside                           active    Fa1/0/3

11   DMZ                              active    

20   VLAN0020                         active    

30   External                         active    

1002 fddi-default                     act/unsup 

1003 token-ring-default               act/unsup 

1004 fddinet-default                  act/unsup 

1005 trnet-default                    act/unsup 


VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

          

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

1    enet  100001     1500  -      -      -        -    -        0      0   

10   enet  100010     1500  -      -      -        -    -        0      0   

11   enet  100011     1500  -      -      -        -    -        0      0   

20   enet  100020     1500  -      -      -        -    -        0      0   

30   enet  100030     1500  -      -      -        -    -        0      0   

1002 fddi  101002     1500  -      -      -        -    -        0      0   

1003 tr    101003     1500  -      -      -        -    -        0      0   

1004 fdnet 101004     1500  -      -      -        ieee -        0      0   

1005 trnet 101005     1500  -      -      -        ibm  -        0      0   


Remote SPAN VLANs

------------------------------------------------------------------------------



Primary Secondary Type              Ports

------- --------- ----------------- ------------------------------------------


HQ_SW#  


** 라우터, 스위치 패스워드는 cisco or ccie 이다. 



Posted by 시티락