HDLC → PPP로 변환
R1(config)#interface serial 0/0 R1(config-if)# R1(config-if)#encapsulation ? frame-relay Frame Relay networks hdlc Serial HDLC synchronous ppp Point-to-Point protocol R1(config-if)#encapsulation ppp |
IP Address설정
R1(config-if)#ip address 10.1.1.1 255.255.255.0 |
Bandwidth 설정하기
R1(config-if)#bandwidth ? <1-10000000> Bandwidth in kilobits R1(config-if)#bandwidth 64 |
Clock 설정하기(DCE Interface에서 설정)
R1(config-if)# R1(config-if)#clock rate 64000 R1(config-if)#clock rate ? Speed (bits per second 1200 2400 4800 9600 19200 38400 56000 64000 72000 125000 128000 148000 250000 500000 800000 1000000 1300000 2000000 4000000 <300-4000000> Choose clockrate from list above R1(config-if)#clock rate |
→ clock rate
- bandwidth과 가장 비슷한 값으로 입력
- bandwidth은 Kbps단위, clock rate는 bps단위로 입력
ex)bandwidth 64 → 1000배 → clock 64000
ex)bandwidth 512 → 1000배 → clock 500000 - 값이 없을 경우 제일 가까운 값으로 입력
인터페이스(Interface) 동작시키기 (DCE, DTE 전부설정)
R1(config-if)#no shutdown |
인터페이스(Interface) 확인
R1# R1#show controllers serial 0/0 Interface Serial0/0 Hardware is PowerQUICC MPC860 DCE V.35, no clock //DCE or DTE확인 idb at 0x81081AC4, driver data structure at 0x81084AC0 SCC Registers: General [GSMR]=0x2:0x00000000, Protocol-specific [PSMR]=0x8 Events [SCCE]=0x0000, Mask [SCCM]=0x0000, Status [SCCS]=0x00 Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E Interrupt Registers: Config [CICR]=0x00367F80, Pending [CIPR]=0x0000C000 Mask [CIMR]=0x00200000, In-srv [CISR]=0x00000000 Command register [CR]=0x580 Port A [PADIR]=0x1030, [PAPAR]=0xFFFF [PAODR]=0x0010, [PADAT]=0xCBFF Port B [PBDIR]=0x09C0F, [PBPAR]=0x0800E [PBODR]=0x00000, [PBDAT]=0x3FFFD Port C [PCDIR]=0x00C, [PCPAR]=0x200 [PCSO]=0xC20, [PCDAT]=0xDF2, [PCINT]=0x00F Receive Ring rmd(68012830): status 9000 length 60C address 3B6DAC4 rmd(68012838): status B000 length 60C address 3B6D444 |
→ 메세지 첫 줄 확인 시
Serial1/0(1Layer 1state) is up(활성화) or down(비활성화)
line protocol(2Layr 2state) is up(활성화) or down(비활성화)
- Serial 1/0 is administratively down, line protocol is down
→ serial 1/0이 shutdown 상태
→ 해결방법 : interface serial 1/0을 no shutdown으로 활성화 해준다 - Serial 1/0 is down, line protocol is down
→ 옆 장비의 interface가 stutdown 상태
→ 해결방법 : 옆 장비의 interface를 no shutdown으로 활성화 해준다 - Serial 1/0 is up, line protocol is down
→ local 장비와 옆 장비 모두 포트는 열렸으나, 서로 프레임 해석이 되지 않은 상태
→ 해결방법 : (1)encapsulation이 일치하는지 확인 PPP->PPP
(2)clock rate 설정확인 - Serial 1/0 is up, line protocol is up
→ 1,2계층이 모두 정상적으로 동작하는 상태
→ 모두 정상 작용 후 3계층 확인시 ping test 이용
인터페이스의 IP정보를 간단하게 출력
R11#show ip interface brief |
'Network > 기본이론' 카테고리의 다른 글
정적 라우팅(Static routing), 동적 라우팅(Dynamic routing) 비교 (0) | 2021.01.31 |
---|