시스코 IPT 및 일반 CUCM, Voice Gateway 설정 시 튜닝에 필요한 translation rules 입니다.
사업자의 서비스 용도, 내선 변환 등에 이용할 변환패턴을 등록하고 숫자를 잘라내는 과정을 통해 내선번호 및 SIP트렁크 경로 전달에 많이 사용되는 방법입니다.
아래는 Cisco Voice Gateway IOS Translation Rule 에서 사용가능한 와일드카드와 넘버 슬라이스 방법이니 참고하시기 바랍니다.
와일드카드 (Wildcards)
. : 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
.* : 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)
\ : 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.
(a\) : Keep expression "a".
b\ : Ignore expression "b".
\1 : Copy the first set into the replacement number.
이렇게 만들어진 변환 패턴은 test voice translation-rule 명령으로 변환 패턴 룰에 대한 테스트를 진행할 수 있습니다.
Cisco Translation Rules 예제
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
구문 출처 : Cisco Translation Rules
'Technical > Network' 카테고리의 다른 글
Cisco VPN Client 윈도우 8.x/10 설치 및 사용 방법 (4) | 2016.12.15 |
---|---|
시스코 카탈리스트 기가비트 스위치 '2960-L' 시리즈 출시 (0) | 2016.12.01 |
MAC aging timer, ARP time-out 설정 (1) | 2015.05.12 |
Cisco Nexus NX-OS 에서 OSPF 재분배 방법 (1) | 2015.01.23 |
Cisco IPT 변환 룰 (변환 패턴) (2) | 2014.11.19 |
시스코 PI (Cisco Prime Infrastructure) (0) | 2014.08.05 |
BGP 라우팅 정보 업데이트 및 Clear 방법 (9) | 2014.04.21 |
L2 및 L3 스위치에 대한 이해 (0) | 2014.03.05 |
Auto Negotiation 이란 무엇이며 왜 필요한 것인가? (12) | 2014.02.28 |
오호 원리가 궁굼했는데!!!
더 궁금해졌어요! ㄷㄷㄷ
뭔가 어려워 보이네요!
ㅎㅎ 방문 감사합니다~~~