예: 채널화된 MIC에서 링크 인터페이스 구성
요구 사항
이 예에서 사용되는 하드웨어 및 소프트웨어 구성 요소는 다음과 같습니다.
MX240, MX480 및 MX960 라우터용 Junos OS 릴리스 12.1 이상
MX240, MX480 또는 MX960 라우터 1개
개요
이 예에서는 다음 채널화된 MIC에서 링크 인터페이스를 구성하는 방법에 대한 정보를 제공합니다.
4포트 채널화된 SONET/SDH OC3/STM1(다중 속도) MIC(SFP 포함)(MIC-3D-4CHOC3-2CHOC12)
8포트 채널화된 SONET/SDH OC3/STM1(다중 속도) MIC(SFP 포함)(MIC-3D-8CHOC3-4CHOC12)
8포트 채널화된 DS3/E3 MIC(MIC-3D-8CHDS3-E3-B)
먼저 MIC의 각 포트를 분할하여 링크 인터페이스 T1, T3 및 DS를 구성한 다음 번들에 대한 링크 인터페이스를 구성해야 합니다. MLPPP 번들에는 여러 T1/T3/DS 인터페이스를 하나의 IP 주소만 사용하는 단일 논리적 인터페이스로 "번들링"하는 작업이 포함됩니다. MLPPP 번들에 대한 자세한 내용은 MLPPP 번들 이해 및 직렬 링크의 LFI(Link Fragmentation and Interleaving)를 참조하십시오. 마찬가지로 프레이밍 모드를 SDH로 설정하여 포트를 분할하여 E1/E3 인터페이스에 MIC를 구성할 수 있습니다.
멀티서비스 DPC가 있는 MX240, MX480 및 MX960 라우터의 멀티링크 기반 프로토콜에 대한 자세한 내용은 채널화된 MIC의 멀티링크 인터페이스 개요를 참조하십시오.
다음 예제에서는 구성 계층의 다양한 수준을 탐색해야 합니다. 이를 수행하는 방법에 대한 지침은 Junos OS CLI 사용자 가이드의 구성 모드에서 CLI 편집기 사용을 참조하십시오.
요구 사항에 따라 각 매개 변수의 값을 설정할 수 있습니다. 이 예제에 제공된 값은 설명 목적으로만 사용됩니다.
SFP가 포함된 4포트 채널화된 SONET/SDH OC3/STM1(다중 속도) MIC의 구성
MIC의 각 포트를 분할하고 링크 인터페이스 T1, T3 및 DS를 구성하고 번들에 대한 링크 인터페이스를 구성하려면 다음 작업을 수행합니다.
- CLI 빠른 구성
- 채널화된 MIC의 포트 분할 및 링크 인터페이스 T1, T3 및 DS 구성
- 번들용 링크 인터페이스에서 MLPPP, MLFR FRF.15 및 MLFR FRF.16 구성
- 결과
CLI 빠른 구성
앞서 언급한 라우터에서 동기화를 신속하게 구성하려면 다음 명령을 복사하여 텍스트 파일에 붙여넣고 줄 바꿈을 제거한 다음 명령을 복사하여 CLI에 붙여넣습니다.
[편집]
set interfaces coc12-5/2/0 partition 1 interface-type coc1set interfaces coc12-5/2/0 partition 1 oc-slice 1set interfaces coc12-5/2/0 partition 2 oc-slice 2 interface-type coc1set interfaces coc12-5/2/0 partition 3 oc-slice 3 interface-type coc1set interfaces coc1-5/2/0:1 no-partition interface-type t3set interfaces coc1-5/2/0:3 no-partition interface-type t3set interfaces coc1-5/2/0:2 partition 1 interface-type ct1set interfaces coc1-5/2/0:2 partition 2 interface-type t1set interfaces coc1-5/2/0:2 partition 3 interface-type ct1set interfaces coc1-5/2/0:2 partition 4 interface-type t1set interfaces ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type dsset interfaces ct1-5/2/0:2:1 파티션 2 타임 슬롯 2 인터페이스 유형 dsset interfaces ct3-2/0/0 파티션 없음 인터페이스 유형 t3세트 인터페이스 ct3-2/0/0 파티션 1 인터페이스 유형 t1set interfaces ct3-2/0/0 partition 2 interface-type t1set interfaces ct3-2/0/0 partition 3 interface-type t1set interfaces ct3-2/0/0 partition 4 interface-type ct1set interfaces ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type dsset interfaces t1-5/2/0:2:2 unit 0 제품군 mlppp 번들 rlsq0.1set interfaces ds-5/2/0:2:1:1 unit 0 제품군 mlppp 번들 rlsq0.0set interfaces ds-5/2/0:2:1:2 unit 0 family mlppp bundle rlsq0.0인터페이스 설정 t3-5/2/0:3 유닛 0 제품군 mlppp 번들 rlsq0.2세트 인터페이스 t3-5/2/0:1 유닛 0 제품군 mlppp 번들 rlsq0.2세트 인터페이스 t1-5/2/0:2:2 캡슐화 multilink-frame-relay-uni-nni 유닛 0 제품군 mlfr-uni-nni 번들 rlsq0:0세트 인터페이스 t1-5/2/0:2:4 캡슐화 multilink-frame-relay-uni-nni 유닛 0 제품군 mlfr-uni-nni 번들 rlsq0:0세트 인터페이스 ds-5/2/0:2:1:1 캡슐화 multilink-frame-relay-uni-nni 유닛 0 제품군 mlfr-uni-nni 번들 rlsq0:0세트 인터페이스 ds-5/2/0:2:1:2 캡슐화 multilink-frame-relay-uni-nni 유닛 0 제품군 mlfr-uni-nni 번들 rlsq0:0세트 인터페이스 t1-5/2/0:2:2 캡슐화 프레임 릴레이 유닛 0 dlci 10 제품군 mlfr-end-to-end 번들 rlsq0.0세트 인터페이스 t1-5/2/0:2:4 캡슐화 프레임 릴레이 유닛 0 dlci 11 제품군 mlfr-end-to-end 번들 rlsq0.0set interfaces ds-5/2/0:2:1:1 캡슐화 프레임 릴레이 유닛 0 dlci 10 제품군 mlfr-end-to-end 번들 rlsq0.0세트 인터페이스 ds-5/2/0:2:1:2 캡슐화 프레임 릴레이 유닛 0 dlci 11 제품군 mlfr-end-to-end 번들 rlsq0.0세트 인터페이스 t3-5/2/0:1 캡슐화 프레임 릴레이 유닛 0 dlci 11 제품군 mlfr-end-to-end 번들 rlsq0.1세트 인터페이스 t3-5/2/0:3 캡슐화 프레임 릴레이 유닛 0 dlci 10 제품군 mlfr-end-to-end 번들 rlsq0.1
채널화된 MIC의 포트 분할 및 링크 인터페이스 T1, T3 및 DS 구성
단계별 절차
채널화된 MIC에서 각 포트를 분할하려면:
coc12-5/2/0
하위 수준 인터페이스 유형을 로 설정하고coc1
옵션을 로1
설정하여partition
인터페이스를 구성합니다.[edit interfaces] user@host# set coc12-5/2/0 partition 1 interface-type coc1
coc12-5/2/0
OC-슬라이스 범위(OC-슬라이스 범위는 구성 중인 인터페이스 유형에 필요한 대역폭 크기를 지정함)를 로1
설정하여 인터페이스를 구성합니다.[edit interfaces] user@host# set coc12-5/2/0 partition 1 oc-slice 1
coc12-5/2/0
옵션을 로2
설정하고, 하위 레벨 인터페이스 유형을 로 설정coc1
partition
하고, OC-슬라이스 범위를 로2
설정하여 인터페이스를 구성합니다.[edit interfaces] user@host# set coc12-5/2/0 partition 2 oc-slice 2 interface-type coc1
coc12-5/2/0
옵션을 로3
설정하고, 하위 레벨 인터페이스 유형을 로 설정coc1
partition
하고, OC-슬라이스 범위를 로3
설정하여 인터페이스를 구성합니다.[edit interfaces] user@host# set coc12-5/2/0 partition 3 oc-slice 3 interface-type coc1
coc1-5/2/0:1
하위 수준 인터페이스 유형에t3
대한 옵션을 설정하여no-partition
인터페이스를 명확한 채널로 구성합니다. (일반 채널은 채널화된 인터페이스의 전체 대역폭을 표준 인터페이스처럼 보이는 하나의 비분할 스트림으로 통합합니다.)[edit interfaces] user@host# set coc1-5/2/0:1 no-partition interface-type t3
coc1-5/2/0:3
하위 수준 인터페이스 유형에t3
대한 옵션을 설정하여no-partition
인터페이스를 명확한 채널로 구성합니다.[edit interfaces] user@host# set coc1-5/2/0:3 no-partition interface-type t3
coc1-5/2/0:2
옵션을 로3
1
설정하고 하위 수준 인터페이스 유형을 로ct1
설정하여partition
인터페이스를 구성합니다.coc1-5/2/0:2
옵션을 로4
2
설정하고 하위 수준 인터페이스 유형을 로t1
설정하여partition
인터페이스를 구성합니다.[edit interfaces] user@host# set coc1-5/2/0:2 partition 1 interface-type ct1 user@host# set coc1-5/2/0:2 partition 2 interface-type t1 user@host# set coc1-5/2/0:2 partition 3 interface-type ct1 user@host# set coc1-5/2/0:2 partition 4 interface-type t1
ct1-5/2/0:2:1
옵션을 로2
1
설정하고 하위 수준 인터페이스 유형을 로ds
설정하여partition
인터페이스를 구성합니다. 파티션의 시간 슬롯을 구성합니다.[edit interfaces] user@host# set ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type ds user@host# set ct1-5/2/0:2:1 partition 2 timeslots 2 interface-type ds
옵션을 하위 수준 인터페이스 유형으로
t3
설정하여no-partition
채널화된 인터페이스에서ct3-2/0/0
명확한 채널을 구성합니다(명확한 채널은 채널화된 인터페이스의 전체 대역폭을 표준 인터페이스처럼 보이는 분할되지 않은 단일 스트림으로 통합합니다).[edit interfaces] user@host# set ct3-2/0/0 no-partition interface-type t3
옵션을
1
, , 및3
하위 수준 인터페이스 유형으로ds
설정하여partition
채널화된 인터페이스에서ct3-2/0/0
2
명확한 채널을 구성합니다.ct3-2/0/0
하위 수준 인터페이스 유형을ct1
사용하여 옵션을 로4
설정하여partition
인터페이스를 구성합니다.[edit interfaces] user@host# set ct3-2/0/0 partition 1 interface-type t1 user@host# set ct3-2/0/0 partition 2 interface-type t1 user@host# set ct3-2/0/0 partition 3 interface-type t1 user@host# set ct3-2/0/0 partition 4 interface-type ct1
ct1-2/0/0:4
옵션을 로2
1
설정하고 하위 수준 인터페이스 유형을 로ds
설정하여partition
인터페이스를 구성합니다. 파티션의 시간 슬롯을 구성합니다.[edit interfaces] user@host# set ct1-5/2/0:2:1 partition 1 timeslots 1 interface-type ds user@host# set ct1-5/2/0:2:1 partition 2 timeslots 2 interface-type ds
결과
MIC에서 각 포트를 분할하고 링크 인터페이스 T1, T3 및 DS를 구성한 결과를 표시합니다.
CHOC12/3 인터페이스 결과
user@host# show interfaces coc12-5/2/0 { partition 1 oc-slice 1 interface-type coc1; partition 2 oc-slice 2 interface-type coc1; partition 3 oc-slice 3 interface-type coc1; } coc1-5/2/0:1 { no-partition interface-type t3; } coc1-5/2/0:3 { no-partition interface-type t3; } coc1-5/2/0:2 { partition 1 interface-type ct1; partition 2 interface-type t1; partition 3 interface-type ct1; partition 4 interface-type t1; }
CHDS3 MIC 인터페이스 결과
user@host# show interfaces ct1-5/2/0:2:1 { partition 1 timeslots 1 interface-type ds; partition 2 timeslots 2 interface-type ds; } ct3-2/0/0 { no-partition interface-type t3; partition 1 interface-type t1; partition 2 interface-type t1; partition 3 interface-type t1; partition 4 interface-type ct1; } ct1-2/0/0:4 { partition 1 timeslots 1 interface-type ds; partition 2 timeslots 2 interface-type ds; }
번들용 링크 인터페이스에서 MLPPP, MLFR FRF.15 및 MLFR FRF.16 구성
단계별 절차
번들용 링크 인터페이스 T1, T3 및 DS에서 MLPPP, MLFR FRF.15 및 MLFR FRF.16을 구성하려면:
T1 링크 인터페이스에서
t1-5/2/0:2:2
t1-5/2/0:2:4
MLPPP 캡슐화를 구성하고 .[edit interfaces] user@host# set t1-5/2/0:2:2 unit 0 family mlppp bundle rlsq0.1 user@host# set t1-5/2/0:2:4 unit 0 family mlppp bundle rlsq0.1
DS 링크 인터페이스
ds-5/2/0:2:1:1
및ds-5/2/0:2:1:2
에서 MLPPP 캡슐화를 구성합니다.[edit interfaces] user@host# set ds-5/2/0:2:1:1 unit 0 family mlppp bundle rlsq0.0 user@host# set ds-5/2/0:2:1:2 unit 0 family mlppp bundle rlsq0.0
T3 링크 인터페이스
t3-5/2/0:3
및t3-5/2/0:1
에서 MLPPP 캡슐화를 구성합니다.[edit interfaces] user@host# set t3-5/2/0:3 unit 0 family mlppp bundle rlsq0.2 user@host# set t3-5/2/0:1 unit 0 family mlppp bundle rlsq0.2
T1 링크 인터페이스
t1-5/2/0:2:2
및t1-5/2/0:2:4
에서 MLFR FRF.16 캡슐화를 구성합니다.[edit interfaces] user@host# set t1-5/2/0:2:2 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0 user@host# set t1-5/2/0:2:4 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0
DS link 인터페이스
ds-5/2/0:2:1:1
및ds-5/2/0:2:1:2
에서 MLFR FRF.16 캡슐화를 구성합니다.[edit interfaces] user@host# set ds-5/2/0:2:1:1 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0 user@host# set ds-5/2/0:2:1:2 encapsulation multilink-frame-relay-uni-nni unit 0 family mlfr-uni-nni bundle rlsq0:0
T1 링크 인터페이스에서
t1-5/2/0:2:2
t1-5/2/0:2:4
MLFR FRF.15 캡슐화를 구성하고 .[edit interfaces] user@host# set t1-5/2/0:2:2 encapsulation frame-relay unit 0 dlci 10 family mlfr-end-to-end bundle rlsq0.0 user@host# set t1-5/2/0:2:4 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.0
DS link 인터페이스
ds-5/2/0:2:1:1
및ds-5/2/0:2:1:2
에서 MLFR FRF.15 캡슐화를 구성합니다.[edit interfaces] user@host# set ds-5/2/0:2:1:1 encapsulation frame-relay unit 0 dlci 10 family mlfr-end-to-end bundle rlsq0.0 user@host# set ds-5/2/0:2:1:2 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.0
T3 링크 인터페이스
t3-5/2/0:1
및t3-5/2/0:3
에서 MLFR FRF.15 캡슐화를 구성합니다.[edit interfaces] user@host# set t3-5/2/0:1 encapsulation frame-relay unit 0 dlci 11 family mlfr-end-to-end bundle rlsq0.1 user@host# set t3-5/2/0:3 encapsulation frame-relay unit 0 dlci 10 family mlfr-end-to-end bundle rlsq0.1
결과
번들에 대한 링크 인터페이스 구성 결과를 표시합니다.
T1 링크의 MLPPP
user@host# show interfaces t1-5/2/0:2:2 { unit 0 { family mlppp { bundle rlsq0.1; } } } t1-5/2/0:2:4 { unit 0 { family mlppp { bundle rlsq0.1; } } }
DS 링크의 MLPPP
user@host# show interfaces ds-5/2/0:2:1:1 { unit 0 { family mlppp { bundle rlsq0.0; } } } ds-5/2/0:2:1:2 { unit 0 { family mlppp { bundle rlsq0.0; } } }
T3 링크의 MLPPP
user@host# show interfaces t3-5/2/0:3 { unit 0 { family mlppp { bundle rlsq0.2; } } } t3-5/2/0:1 { unit 0 { family mlppp { bundle rlsq0.2; } } }
T1 링크의 MLFR FRF.15
user@host# show interfaces t1-5/2/0:2:2 { encapsulation frame-relay; unit 0 { dlci 10; family mlfr-end-to-end { bundle rlsq0.0; } } } t1-5/2/0:2:4 { encapsulation frame-relay; unit 0 { dlci 11; family mlfr-end-to-end { bundle rlsq0.0; } } }
DS 링크의 MLFR FRF.15
user@host# show interfaces ds-5/2/0:2:1:1 { encapsulation frame-relay; unit 0 { dlci 10; family mlfr-end-to-end { bundle rlsq0.0; } } } ds-5/2/0:2:1:2 { encapsulation frame-relay; unit 0 { dlci 11; family mlfr-end-to-end { bundle rlsq0.0; } } }
T3 링크의 MLFR FRF.15
user@host# show interfaces t3-5/2/0:1 { encapsulation frame-relay; unit 0 { dlci 11; family mlfr-end-to-end { bundle rlsq0.1; } } } t3-5/2/0:3 { encapsulation frame-relay; unit 0 { dlci 10; family mlfr-end-to-end { bundle rlsq0.1; } } }
T1 링크의 MLFR FRF.16
user@host# show interfaces t1-5/2/0:2:2 { encapsulation multilink-frame-relay-uni-nni; unit 0 { family mlfr-uni-nni { bundle rlsq0:0; } } } t1-5/2/0:2:4 { encapsulation multilink-frame-relay-uni-nni; unit 0 { family mlfr-uni-nni { bundle rlsq0:0; } } }
DS 링크의 MLFR FRF.16
user@host# show interfaces ds-5/2/0:2:1:1 { encapsulation multilink-frame-relay-uni-nni; unit 0 { family mlfr-uni-nni { bundle rlsq0:0; } } } ds-5/2/0:2:1:2 { encapsulation multilink-frame-relay-uni-nni; unit 0 { family mlfr-uni-nni { bundle rlsq0:0; } } }
확인
구성이 올바르게 작동하고 있는지 확인합니다.
MLPPP 번들 확인
목적
구성 링크가 번들에 올바르게 추가되었는지 확인합니다.
행동
운영 모드에서 명령을 입력합니다 show interfaces lsq-fpc/pic/port
.
의미
출력에는 번들에 추가된 구성 링크가 표시됩니다. 작동 명령에 대한 show interfaces lsq-fpc/pic/port
자세한 내용은 CLI 탐색기를 참조하세요.
MLFR FRF.15 구성 확인
목적
MLFR FRF.15 구성을 확인합니다.
행동
운영 모드에서 명령을 입력합니다 show interfaces lsq-fpc/pic/port
.
의미
출력은 지정된 링크 서비스 IQ 인터페이스에 대한 표준 상태 정보를 표시합니다. 작동 명령에 대한 show interfaces lsq-fpc/pic/port
자세한 내용은 CLI 탐색기를 참조하세요.