2013년 1월 26일 토요일

CANNON 프린터 에러코드(E16)가 발생하는 경우


CANNON 프린터 에러코드가 발생하는 경우 


Error : "E16"

캐논 프린터를 사용하고 있는데, 잉크가 떨어져서 리필잉크를 구매해서 
직접 주입하고 프린트를 하려고 하자 "E", "1", and "6" 코드만 반복되서
나오고 프린트를 할수 없었다. 

인터넷에서 검색해보니 이런 경우 프린터를 리셋하면 된다고 합니다. 

프린터 리셋 방법은 다음과 같다. 

프린터에 있는 버튼중에 "STOP/RESTART" 버튼을 2-3초간 누르고 있으면 된다. 

그리고 나서 프린터를 재부팅하고 사용하면 됩니다. 

리필 잉크를 사용하면 잉크가 부족하다고 메시지가 나오는게 그냥 무시하고 

사용하면 됩니다. 



참조 : http://www.youtube.com/watch?v=YNP1FTZpIx0

1. (LED shows "E16") Press Start/Reset button for a couple of seconds
2. Still holding Start/Reset button, press Power button for a few seconds (LED shows lines running in a circle)
3. Release the Start/Reset button
4. Release the Power button, wait for printer to restart (Power button is flashing)
Please tell me if I'm wrong, otherwise thumb up so other people can see it.

2013년 1월 22일 화요일

Phrases for key achievement in resumes


Phrases for key achievement in resumes


1.  Saved $15 million annually by reducing fixed spending 10% and variable overhead spending 19% through a variety of cost-improvement initiatives through better utilization of resources.

2.  Reduced Workers’ Compensation costs 40% ($700,000 annually) by improving safety plans and implementing employee training, management accountability and equipment security.

3.  Led corporate team in driving cost-reduction initiatives that resulted in $21 million saved over three years through capital infusion and process automation.

4.  Managed Windows 2000/2003 upgrade of 200 servers to specific Exxon Mobil security standards.

5.  Improved the accuracy of budget forecasts.

6.  Established good working relationships with customers/clients.

7.  Developed and implemented client service program, which expanded small-to-medium client base 35%

8.  Developed new quality standards for better quality performance and reliability.

9.  Improve support service level by 20%.

10. Developed the product troubleshooting procedure for XYZ company with strong attention to detail.

11. Developed and implemented the concept for [ABC] team of scientists/doctorates.

12. Utilized modern teaching methods such as e-learning and team learning.

13. Managed 8 -10 million budget projects and achieved project scheduled goals.

14. Developed and implemented bank’s enhanced automated teller machine system.

15. Cut product replacement cost by 50% and increased on-time delivery from 80% to 95% using Kaizen approach to quality issues rooted in manufacturing.

16. Improved customer service satisfaction 3% annually through supply chain management initiatives, inventory control and flexible manufacturing practices.

17. Trimmed manufacturing and shipping-related credits to customers from 1.04% to .5% of total sales in 2008, representing an annual $1.9 million reduction.

18. Expanded business development to include deposits and loans, which increased loan business 25%.

19. Developed and implemented indirect lending program, which filled a need as identified by customer feedback.

20. Closed the largest network integration sale ever, scored a competitive win-back from a major competitor, and sold an ISDN data network to a major customer with 150 sites.

21. Offered plans for enhancement in which children are encouraged to be engaged in the learning process.

22. Identified and utilized variety of learning materials, resources and technology methods [such as: Internet-learning, library, team learning] to support & improve the instructional environment.

refered from 
http://www.job-interview-site.com/22-top-resume-achievements-examples-of-achievements-in-resumes.html

2013년 1월 19일 토요일

OSPF review

OSPF 에 대해서 정리해 봅니다.

OSPF 의 특징

  - 모든 area 는 반드시 area 0 와 연결되어야 한다.
  - 같은 AREA 의 모든 라우터는 동일한 topology 테이블을 가지고 있다.
  - 2 level의 계층적 설계를 가진다. ( transit area - backbone/area 0 , regular areas - other areas)

OSPF 3 Tables 

  - Routing Table
  - Topology Table
  - Neighbor Table



OSPF Terminology

  - Link State Database
  - SPF(Shortest Path First)
  - LSU(Link State Update)
  - LSA(Link State Advertisement)
  - Area
  - ABR(Area Boarder Router)
  - Backbone Router
  - DR(Designated Router) / BDR(Backup Designated Router)


OSPF Neighborship :

  OSPF의 경우 네이버를 맺을 때 라우터가 가지고 있는 고유값 Router ID를 이용해서 네이버를 구성하게 된다. 기본적으로 Router-id 는 loopback > physical  interface 의 IP를 이용하면 여러개의 loopback ip address 가 있는 경우 IP가 큰거(Higher)를 선택하게 된다.


OSPF Neighbor Establishment Process

  Down -> INIT -> 2-WAY -> EXSTART -> EXCHANGE -> LOADING -> FULL

Down -> INIT -> 2-WAY ->
   라우터가 hello packet을 받으면 다음 내용들을 확인해서 네이버를 맺을지 결정한다. 

    - Hello / Dead timer  
   - Subnet mask 
   - Network type 
   - area ID
   - authentication 

*** Hello Timer
Point-to-Point, Broadcast : Hello 10 sec, DEAD 40 sec
NBMA : Hello 30 sec, DEAD 120 sec


*** OSPF Network Compatibility
   - Broadcast, non-broadcast 
   - point-to-point, point-to-multipoint

   DR/DBR Election 는 multi access network 에서만 존재하면, 일종의 OSPF 의 master/slave 를 선출하는 과정이라고 보면 된다. 같이 링크를 사용하는 모든 라우터는  오직 DR/BDR 와 맺으면, 네이버를 맺은 라우터와 서로 LSU를 생성해서 교환하게 되는 것이다. 

EXSTART -> EXCHANGE ->
          
LOADING -> FULL



Problem of NBMA network 








OSPF의 경우 Hello message를 multicast ip address (224.0.0.5/6)를 이용해서 전달한다. 하지만 NBMA 망에서는 multicast packet을 사용할수 없기 때문에 네이버를 맺을수 없다. 

이 경우 neighbor 명령을 이용해서  hello packet를 생성하면 multicast IP 주소가 아니라 unicast 주소를 이용해서 전달할 수 있다. 



LSA TYPE

다음은 OSPF를 처음 배우면서 가장 이해하기 힘들었던 LSA Type 이다. 현재 LSA에는 6개의 타입이 주로 사용되고 있다. 

  • Type 1 - 동일한 area 내의 경로 정보 (Internal Routers)
  • Type 2 - 경로 정보는 없고 DR/BDR 에 대한 정보만 포함 (DR)
  • Type 3 - 네트워크 정보를 다른 area 로 전달(ABR)
  • Type 4 - ASBR의 위치정보(ABR,ASBR)
  • Type 5 - 외부 경로 정보를 포함(ABR,ASBR)
  • Type 7 - NSSA area에서만  외부경로를 redistribute 했을때, LSA Type 7 으로 생성해서 전달하고 이를 ABR에서 다시 Type 5 로 변환해서 백본(area 0)로 전달



Default Link Metric

OSPF에서는 bandwidth를 이용해서 metric 값을 생성한다. 

          Link Metric = 100M / Bandwidth


OSPF Stub AREA
ospf_stub_area.jpg
  Stub network는 network 말단(end network) 이라고 생각하면되다. 따라서 area0 에서 stub network area 에 대해서 Type 5(external route)를 필터링한다. 그 대신에 Defaul Route 정보를 stub area 에 생성해서 모든 다른 네트워크에 대한 패킷을 ABR를 통해서 area 0 로 들어오고, 결국 area 0에서 보내진 패킷에 대해서 routing 을 한다. 


OSPF Totally Stub AREA
ospf_total_stub_area.jpg

  Totally Stub network은 stub network 과 유사하나 Type 5(External Route) 뿐만 아니라 Type 3(network Summary) 까지 필더링하는 것이 다른 점이다. 


OSPF Not-So-Stubby AREA

ospf_nssa.jpg
Stub network 을 사용하게 되면, redistribute 된 외부경로를 백본(area 0) 전달하면 모두 필터링되서 route를 추가 할 수 없다. 이를 해결하기 위해서 NSSA(not-so-stubby area)에서 redistributed 된 경로는 Type 7으로 지정하고 NSSA 에서 필터링 되지 않게 만든다. 

일단, Type 7 LSA 데이터가 ABR에  도착하게 되면  Type 5 로 변경되서 백본(area 0)로 전달된다. LSA Type 7 는 NSSA area 에서만 존재하게 된다. 


OSPF Route Summarization 

OSPF 에서는 ABR, ASBR 에서만 summarization 이 가능하다. 왜냐하면 OSPF 는 Link State Database 를 기반으로 best path 를 찾기 때문이다. 따라서 같은 area 내의 모든 라우터는 동일한 LSDB 를 가지고 있어야 하기 때문에 summary 를 할수 없다. 

ABR summarization 

Router(config-router)# area area-id range address mask   

ASBR summarization 

Router(config-router)# 
        summary-address address mask [not-advertise] [tag tag]


OSPF Default Route Injection 

방법1. default router를 생성하고 전달
R3(config)# ip route 0.0.0.0 0.0.0.0 null 0
R3(config)# router ospf 1
R3(config-router)# default-information originate
방법2. always 키워드를 사용
R3(config)# router ospf 1
R3(config-router)# default-information originate always






참조 : 
http://www.itcertnotes.com/2011/02/ospf-neighbor-establishment-process.html
http://packetlife.net/blog/2008/jun/24/ospf-area-types/

2013년 1월 18일 금요일

EIGRP Review

EIGRP 에 대해서 한번 정리해 봅니다. 혹시 잘못된 부분이 있으면 댓글 부탁드려요..


EIGRP 의 특징 

1. Backup Route 를 함께 가지고 있다. ( Fast convergence / Dual )

   - Topology table을 보면 Best path 를 알려주는 Successor 뿐만 아니라 backup path 인 Feasible Successors 도 함께 가지고 있다. 이를 이용해서 Best path 가 다운이 된 경우, 경로를 재계산 하지 않고 바로 Feasible Successors를 backup path로 사용한다.
   
    (automatically failover without  any path calculation)

2. Combines best of Distance vector and Link State


3. flexibility in summariztion

   - OSPF 의 경우는 ABR/ASBR 에서만 summarization 이 가능하지만  EIGRP는 모든 포인트/ 인터페이스에서 summarization 이 가능하다.

4. unequal cost Load-balancing

  - EIGRP만 유일하게 unequal cost load-balancing 이 가능

5. simple configuration



3 table in EIGRP

1. neighbor table : neighbor 들에 대한 정보가 들어있다.

2. Topology table  : Successor / Feasible Successors 정보

3. Routing table : Best path to destinations


Terminology

- Feasible Distance(FD) : Source to Destination
- Advertised Distance(AD) : Neighbor to Destination


 - Successor : Best path
 - Feasible Successors : 조건1- FeasibleSuccessor.AD < Successor.FD

    위 조건을 만족하지 않으면 looping 이 생길수 있기 때문이다. Successor의 링크가 다운되는 경우에는 neighbor 들에게 query 메시지를 보내서 경로를 재계산 하면된다.




EIGRP Neighbor 

to make a neighbor relationship

in case of link down
Route Discovery



EIGRP Neighbor Establishment Requirements 

- ASN must match
- In the same subnet
- K-values must match
- Next-hop IP reachable
- Initerface must not be passive



EIGRP Metric Calculation 

 - Bandwidth (K1)
 - Delay (K3)
 - Reliability (K4, K5)
 - Loading (K2)
 - MTU

  *** Real Metric = 254 * (slowest BW + All_Delay )
                        = 254 * ( 10M/BW + sum(Delay_usec) )


EIGRP multicast addresss : 224.0.0.10


EIGRP Packets

- Hello : 네이버를 맺기 위해서 보내는 메시지
- Update : 라우팅 정보를 보내는 메시지
- Query : 라우팅 정보를 네이버에게 요청할때 보내는 메시지
- Reply :  Query 에 대한 응답 메시지
- ACK :  Update, Query, Reply 메시지를 받았다고 보내는 확인 메시지

Route Summarization 

- routing table 의 사이즈를 줄인다. 
- 네이버에게 보내는 Query 의 범위를 줄인다. 
- EIGRP는 모든 인터페이스에서 route summarization 을 할수 있다. 


EIGRP Stub










IP address class, Private IP and multicast IP address


항상 생각할때만 기억이 가물가물해서 한번 적어봤습니다. 

틈날때마다 한번씩보고 상기 시켜야죠. ^^


IP address class ? 

Class A : 0.0.0.0 ~ 127.255.255.255
Class B : 128.0.0.0 ~ 191.255.255.255
Class C : 192.0.0.0 ~ 223.255.255.255
Class D : 224.0.0.0 ~ 239.255.255.255
Class E : 240.0.0.0 ~ 255.255.255.255


what is a private IP Address ? 

Class A :  10.0.0.0 - 10.255.255.255
Class B :  172.16.0.0 - 172.31.255.255 
Class C :  192.168.0.0 - 192.168.255.255 


What is the multicast IP address ? 

   224.0.0.6 - OSPF 
   224.0.0.7 - OSPF 
   224.0.0.9 - RIP
   224.0.0.10 - EIGRP


2013년 1월 15일 화요일

CISCO VOICE LAB using GNS3, VMware



GNS3를 이용해서 Cisco Voice Lab을 만들어 보았습니다.

구글을 통해서 cisco voice lab을 검색해보면 몇몇 블로그가 나오는데,

그것들을 참고로해서 만들었습니다. 물론 제가 잘 몰라서 중간에 막히는 부분들이 많았구요.

결국 돌아가는걸 보니 고생한 보람이 있네요 ^^


GNS3 구성한 랩 환경은 다음과 같습니다.


Server : CUCM 7.0 in VMware
HQ site : 4 IP-blue softphones in VirtualBox (winXP)
SB site : 3 IP-blue softphones in VirtualBox (winXP2)
PSTN : CME and  one CIPC phone


두개의 사이트 HQ(SYD), SB(MEL) 와 하나의 CUCM 으로 구성된 one cluster 입니다. GNS3에서는 E1/T1 인터페이스를 지원하지 않아서 PSTN 연결을 어떻게 해야하는지에 대해서 막혔고, 이부분 해결하는데 시간이 좀 걸렸던거 같습니다. 결론적으로 보면 CUBE 를 이용해서 call forwarding 하면 됩니다.


이제 각각의 사이트를 보면,

HQ-SYD

HQ-SYD 는 VirtualBox에서 WinXP가 동작하고 있으며, 4개의 IP-BLUE 폰이 등록되어 있습니다.

SB-MEL

SB-MEL 의 경우도 VirtualBox의 WinXP가 동작하고 있으면, 3개의 IP-blue 폰이 CUCM 에 등록되고,

나머지 하나 CIPC 는 PSTN 보이스 게이트웨이의 CME 에 등록되어 PSTN 네트워크를 시뮬레이터 하고 있습니다.

현재까지의 진행사항은 위 보이스랩을 구성하고 TEHO 까지 테스트 완료한 상태입니다.
조만간에 CUCM 을 하나 더 추가해서 multiple CUCM 을 구현하고 overlaping Extension, sitecode 등의 기능을 확인해보고, 또 unity connection 을 붙여서 보이스 메일 까지 할 예정입니다.

한가지 걱정은 제 노트북이 어디까지 커버해줄수 있는가 의문이네요 ^^






TEHO - Tail End Hop Off



TEHO란 원거리에 전화를 하기위해서 최대한 가까운 Voice Gateway 를 이용하는 것이다. 이유는 간단하다 돈을 절약하기 위해서이다. 만일 SYD에서 MEL에 있는 고객 0399998888에 전화를 한다면 원거리요금(National Call)에 대한 비용을 지불한다. 하지만, MEL에 지점이 있다면 MEL 지점에 있는 Voice Gate를 이용해서 전화를 걸면 로컬요금(Local Call)에 대한 비용만 지불하게 되는 것이다.

조금더 확장해 보면 인터내셔널한 기업이 있고, 여러 국가에 지점이 있다면 국제 통화를 사용하는 대신에 각 지점의 보이스 게이트웨이 통해서 로컬요금만 지불하면서 국제 전화를 사용할 수 있는 것이다. 물론 현재는 각국에 통신법에 따라 TEHO 가 불법으로 되어 있는 경우도 있다.

설정 방법에 대해서 추후 업데이트 할 예정......




2013년 1월 9일 수요일

GNS3 에서 NIO ethernet 인터페이스 정보가 안보이는 경우

GNS3 에서 NIO ethernet 인터페이스 정보가 안보이는 경우 

1. 실행 권한 문제 

대부분의 경우 GNS3 실행 권한이 부족해서 하드웨어 정보를 볼수 없다.

이 경우 GNS3을 administrator 로 해주면 네트워크 인터페이스 정보를 확인 할수 있다.


2. Windows 7 개인 계정 설정 문제

개인 계정 권한 설정이 부족한 경우에도 네트워크 정보가 안보일수 있다.

window의 User Administrator Control 에 들어가서 모든 권한을 허용해 주면 된다.


참고 : http://forum.gns3.net/topic828.html

When you configure your topology, you can not bind your cloud to your network card because window 7 does not allow you do that. If you want to do that you should turn of the "Change user account control setting" feature of your account you are working with (this guy does not allow the "network list" program run). after that you must restart your laptop. It works !!!


-UAC 를 입력 한 다음 제어판 창에서 변경 사용자 계정 컨트롤 설정 클릭
UAC를 열기

  - 설정값을 Never notify 로 조절
  UAC 수준

[scrap]How to Build a Virtual CCIE Voice Lab using GNS3 and VMware



scrap from http://twopacket.zymichost.com/2011/10/08/how-to-build-a-virtual-ccie-voice-lab.html

[scrap]Full configuration files for the GNS3/Vmware CCIE Voice 3.0 Lab


[scrap]Full configuration files for the GNS3/Vmware CCIE Voice 3.0 Lab 


In my last post I told you about the CCIE Voice 3.0 lab that I am building.
Well as I will keep refering to this diagram–>   ccie-voice-vmware-gns3-diagram-1.0 just make a print of this and keep this as a hardcopy.
ccie-voice-vmware-gns3-diagram-1.0
Today I will be showing you my configuration for all of the sites that are in the diagram. Because my sources (Blindhog jayanm) did not posted full configuration examples for this lab and their setup is kind of outdated (as from the day I am writing this) I will post some full configuration with some explanation added to it, so it will be easier for you to set this up more easaly without loosing time.
HQ – hq-3725
host hq-3725
!this router is configured as a gateway on the callmanager itself
voice service voip
allow-connections h323 to h323
!
interface Loopback0
ip address 10.11.1.254 255.255.255.255
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.11.1.254
!
interface FastEthernet0/0
ip address 10.11.11.135 255.255.255.0
speed 100
full-duplex
!
interface FastEthernet0/1
ip address 10.255.255.135 255.255.255.0
speed 100
full-duplex
!
interface Serial0/0
 no ip address
 encapsulation frame-relay
 clock rate 2000000
!
interface Serial0/0.1 point-to-point
 ip address 10.254.254.1 255.255.255.252
 snmp trap link-status
 frame-relay interface-dlci 101
!
interface Serial0/0.2 point-to-point
 ip address 10.254.254.5 255.255.255.252
 snmp trap link-status
 frame-relay interface-dlci 102
!
router ospf 1
!Frame relay links are advertised in OSPF
network 10.200.1.0 0.0.0.255 area 0
network 10.200.2.0 0.0.0.255 area 0
!also specify the LAN network in OSPF
network 10.11.11.0 0.0.0.255 area 0
!
!all numbers that not known from the headquarter are routed to the PSTN router
!because this site is comfigured as a peer within the callmanager all known numbers will router automatically to the callmanager
dial-peer voice 1 voip
destination-pattern .T
session target ipv4:10.255.255.254
incoming called-number .
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
!if you call 1011111... this number will be directed to the callmanager
dial-peer voice 2010 voip
destination-pattern 1011111...
!this is callmanagers IP address
session target ipv4:10.11.11.137
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
gateway
RS1 – rs1-3725
host rs1-3725
!this router is configured as a gateway on the callmanager itself
voice service voip
allow-connections h323 to h323
!
interface Loopback0
ip address 10.12.1.254 255.255.255.255
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.12.1.254
!
interface FastEthernet0/0
ip address 10.11.12.254 255.255.255.0
speed 100
full-duplex
!
interface Serial0/0
 no ip address
 encapsulation frame-relay
 clock rate 2000000
!
interface Serial0/0.1 point-to-point
 ip address 10.254.254.2 255.255.255.252
 snmp trap link-status
 frame-relay interface-dlci 202
!
router ospf 1
!Frame relay link are advertised in OSPF
network 10.200.1.0 0.0.0.255 area 0
!
!also specify the LAN network in OSPF
network 10.11.12.0 0.0.0.255 area 0
!
!all numbers that not known from the headquarter are routed to the PSTN router
!because this site is configured as a peer within the callmanager all known numbers will router automatically to the callmanager
dial-peer voice 1 voip
destination-pattern .T
session target ipv4:10.255.255.254
incoming called-number .
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
RS2 - rs2-3725
host rs2-3725
!this router is configured as a gateway on the callmanager itself
voice service voip
allow-connections h323 to h323
!
interface Loopback0
ip address 10.13.1.254 255.255.255.255
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.13.1.254
!
interface FastEthernet0/0
ip address 10.11.13.254 255.255.255.0
speed 100
full-duplex
!
interface Serial0/0
 no ip address
 encapsulation frame-relay
 clock rate 2000000
!
interface Serial0/0.1 point-to-point
 ip address 10.254.254.6 255.255.255.252
 snmp trap link-status
 frame-relay interface-dlci 203
!
router ospf 1
!Frame relay link are advertised in OSPF
network 10.200.1.0 0.0.0.255 area 0
!also specify the LAN network in OSPF
network 10.13.1.0 0.0.0.255 area 0
!
!all numbers that not known from the headquarter are routed to the PSTN router
!because this site is configured as a peer within the callmanager all known numbers will router automatically to the callmanager
dial-peer voice 1 voip
destination-pattern .T
!this is the PSTNSIM IP address
session target ipv4:10.255.255.254
incoming called-number .
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
PSTN - pstn-3725
host pstn-3725
!make sure all the sites are in the same VLANS for PSTN communication
interface FastEthernet0/0
 switchport
 switchport mode access
 switchport access vlan 20
 no shut
!
!make sure all the sites are in the same VLANS for PSTN communication
interface FastEthernet0/1
 switchport
 switchport mode access
 switchport access vlan 20
 no shut
!
!make sure all the sites are in the same VLANS for PSTN communication
interface FastEthernet0/2
 switchport
 switchport mode access
 switchport access vlan 20
 no shut
!
interface vlan 20
 ip address 10.255.255.254 255.255.255.0
 h323-gateway voip interface
 h323-gateway voip bind srcaddr 10.255.255.254
 no shut
!
tftp-server flash:P00307020200.bin
tftp-server flash:P00307020200.loads
tftp-server flash:P00307020200.sb2
tftp-server flash:P00307020200.sbn
!
ip route 10.11.11.0 255.255.255.0 10.255.255.135
ip route 10.11.12.0 255.255.255.0 10.255.255.11
ip route 10.11.13.0 255.255.255.0 10.255.255.12
!
!
!When someone calls from the PSTN phone to 1011111...the call is directed to the HQ and the HQ will send it to the Callmanager
dial-peer voice 1000 voip
destination-pattern 1011111...
session target ipv4:10.11.1.254
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
!When someone calls from the PSTN phone to 2022222...the call is directed to the RS1 and a phone will be configured on this site to handle
calls
dial-peer voice 2000 voip
destination-pattern 2022222...
session target ipv4:10.12.1.254
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
!When someone calls from the PSTN phone to 3033333... the call is directed to the RS2 and a phone will be configured on this site to handle calls
dial-peer voice 3000 voip
destination-pattern 3033333...
session target ipv4:10.13.1.254
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
!This is where you say this is a IP network (for PSTN it would be POTS)
dial-peer voice 1 voip
!this is that all incomming numbers will be forwarded to the pstn phone
incoming called-number .
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
telephony-service
load 7960-7940 P00307020200
max-ephones 1
max-dn 5
ip source-address 10.255.255.254 port 2000
!
!these are the 5 numbers that are going to be terminated at the PSTN PHONE
ephone-dn 1 dual-line
number 911
!
ephone-dn 2 dual-line
number 1015551111
!
ephone-dn 3 dual-line
number 2025552222
!
ephone-dn 4 dual-line
number 3035553333
!
ephone-dn 5 dual-line
number 55987654321
!
!This is the PSTN phone itself
ephone 1
mac-address 0000.0000.0000
type 7960
button 1:1 2:2 3:3 4:4 5:5
!
gateway
Next time I will show you a video with a demonstration of how everything is set up and how it´s working together.
This means that we are actually going to make some real calls accross with the softphones and the dynamips routers in combination with the Callmanager that is running on VMware.
Have fun with the configuration and if you have questions or remarks please contact me… I would be more than happy to help you!

2013년 1월 8일 화요일

VOICE LAB #02 : CUCM post installation initial configuration (SUI)

VOICE LAB #02 : CUCM post installation initial configuration (SUI)

1. Active all the services
2. Restart CTI Manager Service
3. Remove DNS relience

4. Enterprise parameter
5. Service parameter




1. Active all the services

voice lab을 시작하기 전에 CUCM의 모든 서비스를 시작해 준다. 모든 기능을 사용하지는 않지만 만약의 경우를 대비해서 모두 활성화 시켜준다.

CUCM이 DHCP 서비스를 제공해 주기는 하나, 일반적으로 DHCP 는 네트워크에서 담당하므로 DHCP만 disable 상태로 만들어준다. 
   
   Navigation => Serviceability 

   Tool => Service Activation (DHCP 서비스 제외)

2. Restart CTI Manager Service 

   CTI란? computer telephony integration (CTI) 로 CUCM 과 IP폰이 통신할 수 있게 하는 프로토콜이라 생각하면 된다. 서비스를 시작하기 전에 CTI 재실행 시켜줘서 CTI가 제대로 동작하게 하는 것이다. 


3. Remove DNS relience
   
   System => server

HOST name을 IP address 로 변경해준다. 이유는 DNS 서버에 대한 의존도를 제거하는데 있다. 만일 DNS 서버가 동작 안하더라도 CUCM에는 영향이 없게 하는게 목적이다. 


4. Enterprise parameter 

enterprise parameter 에서는 URL과 Connection Monitor Duration 을 변경해 준다. 

 위치 : System => Enterprise Parameter
    
   - Connection Monitor Duration : 10 sec 

  -  Phone URL Parameters 


 5. Service parameter
   
  CM Administration => System => service Parameter => Cisco CallManager => T302 (5 sec)
   
   CM Administration => System => service Parameter =>Cisco CallManager =>  "Forward No Answer Timer(20 sec)
   





VOICE LAB #01 : basic configuration for routers and switches

VOICE LAB #01 : basic configuration for routers and switches

- switch : vlan 
- router : DHCP, subinterface and IGRP(ospf or eigrp)

1. switch 

   HQ-VOICE : 102
   HQ-DATA  : 202
 
   SB-VOICE : 302
   SB-DATA : 402

   SERVERS : 100
 
2. router 

- DHCP setting 

- subinterface for TRUNK 

- IGRP 
  

   
  
    

virtualbox OS 복사 방법


VMware 에서는 그냥 파일을 복사해서 import 하면 간단하게 복사가 되었는데,
virtualbox는 복사만 해서는 안되는거 같네요.. 혹시 다른 방법을 알고 계시면 댓글로 알려주세요..

virtualbox 메뉴에서  머신 > 복제

이렇게 하면 기존에 있는 게스트OS를 그대로 복제해서 사용할수 있습니다.


새로운 게스트 OS의 이름 설정 
복제 방식 선택 : 완전한 복제
이렇게만 설정하면 복제(cloning) 작업이 시작됩니다. 

대략 10분정도 소요되는 같네요 ...


이제 지루한 윈도우 설치 작업을 안해도 될꺼 같네요.. 

2013년 1월 6일 일요일

My Big Mistake Today : erase flash on cisco router

My Big Mistake Today : erase flash on cisco router 



GR2HQ#show flash:

CompactFlash directory:
File  Length   Name/status
  1   50889300  c2800nm-spservicesk9-mz.124-24.T4.bin
  2   2412     hoss-test1
  3   2735     hoss-test2
  4   2301     Ori060512
  5   2966     Paulus [deleted]
  6   3425     Paulus [deleted]
  7   3378     paulus [deleted]
  8   3406     paulus
  9   3815     bak_startup_20121120.cfg
 10   1561     bak_startup_20121127.cfg [deleted]
 11   1561     bak_startup_20121127.cfg
 12   3183     Geoff_cfg_20121127.txt [deleted]
 13   3183     Geoff_cfg_20121127.txt [deleted]
 14   3183     Geoff_cfg_20121127.txt [deleted]
 15   3477     Geoff_cfg_20121127.txt [deleted]
 16   3477     Geoff_cfg_20121127.txt
[50934416 bytes used, 13290860 available, 64225276 total]
62720K bytes of ATA CompactFlash (Read/Write)

GR2HQ#copy run flash
GR2HQ#copy run flash:bak_20130107.cfg
Destination filename [bak_20130107.cfg]?
Erase flash: before copying? [confirm]
Erasing the flash filesystem will remove all files! Continue? [confirm]
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.

Initializing memory for ECC
.
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
boot: cannot determine first executable file name on device "flash:"
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled


Readonly ROMMON initialized
rommon 1 >
rommon 1 >



In order to solve the problem....follow the below process

set up th tftp server and upload IOS image file to the tftp server..

and  then, download the file from tftp server to the router..


Router fa0/0 ----CROSSOVER---- TFTP Server


rommon 1 > IP_ADDRESS=10.0.0.1
rommon 2 > IP_SUBNET_MASK=255.0.0.0
rommon 3 > DEFAULT_GATEWAY=10.0.0.2
rommon 4 > TFTP_SERVER=10.0.0.2
rommon 5 > TFTP_FILE=c2801-adventerprisek9_ivs-mz.124-22.T.bin

rommon 6 > tftpdnld








rommon 15 > tftpdnld

          IP_ADDRESS: 10.10.10.1
      IP_SUBNET_MASK: 255.0.0.0
     DEFAULT_GATEWAY: 10.0.0.2
         TFTP_SERVER: 10.0.0.2
           TFTP_FILE: c2800nm-spservicesk9-mz.124-24.T4.bin
        TFTP_VERBOSE: Progress
    TFTP_RETRY_COUNT: 18
        TFTP_TIMEOUT: 7200
       TFTP_CHECKSUM: No
        TFTP_MACADDR: 00:1d:46:f3:97:08
             FE_PORT: Fast Ethernet 0
       FE_SPEED_MODE: Auto

Invoke this command for disaster recovery only.
WARNING: all existing data in all partitions on flash: will be lost!
Do you wish to continue? y/n:  [n]:  y
.
Receiving c2800nm-spservicesk9-mz.124-24.T4.bin from 10.0.0.2 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(omitted...)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
File reception completed.
Copying file c2800nm-spservicesk9-mz.124-24.T4.bin to flash:.


virtualbox 마우스 빠져나오기

virtualbox 마우스 빠져나오기

VMware 를 사용할때는 ctrl+alt 를 통해서 가상머신에서 호스트OS로 빠져 나왔는데, 

VirtualBox 에서는 마우스가 빠졌다가 간신히 ctrl + alt + del 로 빠져나왔네요.. 

인터넷 검색해보니 virtualBox 에는 간단히  "오른쪽 Ctrl" 만 누르면 된다고 하네요 ..

VirtualBox에서 가상 머신과 원래의 윈도우 사이를 전환하는 단축키는 오른쪽에 있는 Ctrl키 입니다. 화면 전환 이오에 주로 사용하는 VirtualBox의 단축키는 다음과 같습니다.

* 오른쪽 Ctrl : 마우스의 호스트/가상머신 전환
* 오른쪽 Alt : 가상머신내에서 한/영전환
* 오른쪽 Ctrl+F : 가상머신 전체화면

아래 화면은 VirtualBox에서 가상 머신을 실행했을때 나오는 화면입니다.


2013년 1월 2일 수요일

CUCM에서 H323 gateway 설정하기


H.323 Gateway 구현하기 

CUCM and H323 Gateway configuration

H.323 Gateway는 Voice 탑재된 라우터로서, PSTN call 과 IP망에서의 통화를 연결 시켜주는 기능을 한다. 


CUCM에 H323 Gateway 등록하기 

Step 1. go to CUCM Administration > Device > Gateway > Add New

Step 2. choose H322 Gateway from Gateway Type

참고로, H.323 gate는 CUCM 에 등록되지 않으므로 registraton status 를 보면 항상 Unknown 으로 되어 있다.


 Voice Router 에서 H.323 설정하기 

Step 1. h.323 voip 인터페이스 

Step 2. Voip Dial-Peer 설정하기

    H.323 Gateway 로 들어오는 모든 incoming call 을 CUCM (ip : 10.1.1.1) 으로 보내라는 dial-peer 이다. 

Step 3. CUCM Redundancy on H.323 Gateway : H.323 ==> CUCM
H.323 Voice Class Configuration

Step 4. H.323 Gateway Call Survivability

   CUCM 와 H.323 gateway 의 TCP 연결은 H.225 keepalive 에 의해서 모니터링이 되고 있다. 만일 이 둘 사이에 communication 이 실패하면, 통화는 drop 된다. 통화중에 call 이 끊기는 것을 방지하기 위해서는 no h225 timeout keepalive 를 설정해 주면된다. 참고로, h225 keepalive 는 TDM-to-VOIP call 에만 적용되는 값이다. 
Keepalive configuration
  
Step 5. CUCM Call Survivability 

   앞에서 설명한 것처럼 "no h225 timeout keepalive" 는 PSTN-VoIP call 는 적용된다. VoIP-VoIP 연결을 유지하기 위해서는 h.323 voice class 를 생성하고 call preserve parameter를 설정해주면 된다.  


















2013년 1월 1일 화요일

cisco voice translation rule setting & testing

cisco voice translation rule setting



Example 1

This example replaces any five-digit number that begins with "40" with the number "6666000".
voice translation-rule 1
 rule 1 /^40.../ /6666000/
router#test voice translation-rule 1 40123
Matched with rule 1
Original number: 40123    Translated number: 6666000


Example 2

This example replaces all numbers with "5554000".
voice translation-rule 2
 rule 1 /.*/ /5554000/
router#test voice translation-rule 2 123
Matched with rule 1
Original number: 123    Translated number: 5554000

router#test voice translation-rule 2 86573
Matched with rule 1
Original number: 86573  Translated number: 5554000

router#test voice translation-rule 2 ""
Matched with rule 1
Original number:   Translated number: 5554000

Example 3

This example provides further detail:
voice translation-rule 1
 rule 1 /^\(12\)3\(45\)$/ /6\1\2/
  • Set 1: 12
  • Set 2: 45
  • Ignore: 3
router#test voice translation-rule 1 12345
Matched with rule 1 
Original number: 12345 Translated number: 61245



Pattern Match with Wildcards

These tables define wildcard and wildcard combinations and show some examples.
WildcardDefinition
.Any single digit
0 to 9,*,#Any specific character
[0-9]Any range or sequence of characters
*Modifier—match none or more occurrences
+Modifier—match one or more occurrences
?Modifier—match none or one occurrence
Wildcard CombinationDefinition
.*Any digit followed by none or more ocurrences. This is effectively anything, including null.
.+Any digit followed by one or more ocurrences. This is effectively anything, except null.
^$No digits, null

Number Slice

You can use number slice when you need to copy parts of a matched number across to the replacement number. You slice the matched number into sets that you can keep or ignore.
CharacterDescription
\In the match pattern, indicates where to slice up the number.
\In the replacement pattern, indicates where to copy the sets to keep.
( )Indicates which sets in the matched number to keep.
Character UsageDescription
(a\)Keep expression "a".
b\Ignore expression "b".
\1Copy the first set into the replacement number.

Apply Rules

Voice Translation Rules are applied to Voice Translation Profiles. These profiles are then applied to dial peers or voice ports. Profiles can be applied to VoIP or POTS dial peers or voice ports, and can be applied to inbound or outbound calls. A profile can translate Called, Calling, or Redirecting numbers.
voice translation-rule 3 
 rule 1 /123/ /456/ 

voice translation-profile profile1
 translate calling 3 

dial-peer voice 10 pots
 translation-profile outgoing profile1

reference
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml