ADSL 및 SHDSL 인터페이스
ADSL 및 SHDSL 인터페이스 세부 사항과 보안 디바이스에서 인터페이스를 구성하는 방법에 대해 알아보십시오.
ADSL 및 SHDSL 인터페이스 개요
ADSL(Asymmetric Digital Subscriber Line) 기술은 기존의 트위스트 페어 전화선을 사용하여 고대역폭 데이터를 전송하는 DSL 모뎀 기술 제품군의 일부입니다 x. SHDSL(Symmetric High-Speed DSL) 인터페이스는 단일 CPE 가입자와 CO(Central Office) 간의 데이터 전송에 도움이 되는 SHDSL 멀티레이트 기술을 지원합니다. G.SHDSL Mini-PIM(Mini-Physical Interface Module )은 DSL 네트워크 미디어 유형에 대한 물리적 연결을 제공합니다. 표 1 에는 ADSL, SHDSL 인터페이스 및 G.SHDSL Mini-PIM의 주요 세부 정보가 나와 있습니다.
인터페이스 세부 정보 |
묘사 |
|---|---|
인터페이스 이름 |
ADSL, SHDSL |
지원되는 곳 |
플랫폼 지원에 대한 정보는 HCT(하드웨어 호환성 도구)를 참조하십시오. |
인터페이스 유형 |
|
ADSL/ADSL2/ADSL2+ 사용 사례 |
|
SHDSL 사용 사례 |
|
GSHDSL Mini-PIM 사용 사례 |
DSL 네트워크 미디어 유형에 대한 물리적 연결과 네트워크 전반의 셀에 확장된 ATM CoS 기능을 제공합니다. 대역폭 사용률이 무제한이므로 기본적으로 UBR(Unspecified Bit Rate)이 사용됩니다. 지속적인 셀 속도 및 버스트 허용능력으로 대역폭 활용도를 정의할 수 있습니다. |
ADSL2 하드웨어 사양에 대한 자세한 내용은 1포트 ADSL2+ 미니 물리적 인터페이스 모듈 네트워크 인터페이스 사양을 참조하세요.
ADSL, ADSL2 및 SHDSL 인터페이스에서 지원되는 기능
표 2 는 ADSL2 및 SHDSL 인터페이스에서 지원되는 주요 기능을 설명합니다.
특징 |
묘사 |
|---|---|
ADSL 기능 |
|
증권 시세 표시기 |
|
ATM CoS 지원 |
서비스 등급을 보장하는 네트워크의 능력은 소스가 셀을 생성하는 방식과 네트워크 리소스의 가용성에 따라 달라집니다. 소스가 셀을 생성하는 방식과 네트워크 리소스의 가용성에 따라 지정된 트래픽 설명자 집합은 다음과 같습니다.
|
캡슐화 |
기존 Junos OS CLI를 활성화하여 MLPPP 캡슐화 및 제품군 mlppp를 지원할 수 있습니다. ADSL 링크를 설정하려면 먼저 RJ-11 케이블을 사용하여 CPE를 DSLAM 패치 패널에 연결하여 ADSL 링크를 형성한 다음 OC3 또는 DS3을 사용하여 DSLAM을 M Series 또는 E 시리즈 디바이스에 연결하여 ATM 백본을 형성해야 합니다. |
SHDSL 기능 |
|
대역폭 |
SHDSL은 대칭이며 양방향으로 최대 2.3Mbps의 대역폭을 제공합니다. ADSL과 호환되므로 케이블 간 간섭이 거의 발생하지 않습니다. |
패킷 전송 모드(PTM) |
PTM을 지원하며 패킷(IP, PPP, 이더넷, MPLS 등)은 ATM(Asynchronous Transfer Mode)을 사용하는 대신 DSL 링크를 통해 전송됩니다. PTM은 EFM(Ethernet in First Mile) IEEE 802.3ah 표준을 기반으로 합니다. |
증권 시세 표시기 |
G.SHDSL Mini-PIM(Mini-Physical Interface Module )은 DSL 네트워크 미디어 유형에 대한 물리적 연결을 제공합니다. |
GSHDSL 가상 회로(VC) |
Mini-PIM당 VC(OAM VC를 포함하여 최대 10개) |
최대 전송 단위(MTU) 크기 |
최대 전송 단위(MTU) 크기는 9180바이트입니다. |
GSHDSL PTM EFM |
|
ADSL2 인터페이스의 지원되는 기능 및 프로필에 대한 자세한 내용은 1포트 ADSL2+ 미니 물리적 인터페이스 모듈 주요 기능 참조, SHDSL 및 GSHDSL 인터페이스의 경우 1포트 G.SHDSL 8선 미니 물리적 인터페이스 모듈 개요 참조.
다운스트림 대역폭이 일반적으로 업스트림 대역폭보다 크기 때문에 ADSL 전송은 비대칭입니다. ADSL, ADSL2 및 ADSL2+ 회로의 일반적인 대역폭은 표 3에 정의되어 있습니다.
작동 모드 |
업스트림 |
다운스트림 |
|---|---|---|
증권 시세 표시기 |
800Kbps—1Mbps |
8Mbps의 |
ADSL2 |
1-1.5Mbps |
12—14Mbps |
ADSL2+ 이상 |
1-1.5Mbps |
24—25Mbps |
ADSL2+ Annex M |
2.5-3Mbps |
25Mbps의 |
G.SHDSL Mini-PIM의 작동 모드 및 회선 속도
G.SHDSL Mini-PIM은 2선식(4포트 2선식) 모드, 4선식(2포트 4선식) 모드, 8선식(1포트 8선식) 모드, EFM 모드를 지원한다. 기본 작동 모드는 이 G.SHDSL Mini-PIM의 경우 2x 4선식입니다. G.SHDSL은 표 4에 표시된 대칭 WAN 속도를 사용하는 모든 디바이스에서 지원됩니다.
모드 |
부록 A 및 B를 사용한 대칭적 WAN 속도 |
Annex F 및 G를 사용하는 대칭 WAN 속도 |
|---|---|---|
2선식 |
2.3Mbps의 |
768Kbps에서 5.696Mbps까지 |
4선식 |
4.6 Mbps의 |
1.536Mbps에서 11.392Mbps로 |
8선식 |
9.2Mbps의 |
3.072Mbps에서 22.784Mbps로 |
EFM 모드 |
2.3Mbps의 |
768Kbps에서 5.696Mbps까지 |
|
메모:
SRX210, SRX220, SRX240 및 SRX550 디바이스에서는 최대 16Mbps가 지원됩니다. |
||
예: ADSL 및 SHDSL 네트워크 인터페이스 구성
이 예에서는 MLPPP를 통해 LFI를 지원하는 SRX 시리즈 방화벽에서 ADSL 및 SHDSL 인터페이스를 구성합니다. SRX 시리즈 방화벽의 ADSL 인터페이스에서 MLPPP 캡슐화 및 제품군 mlppp를 지원하려면 기존 Junos OS CLI를 활성화해야 합니다. 네트워크 디바이스 간에 ADSL 링크를 설정하려면 일부 중간 연결을 사용해야 합니다. 먼저 RJ-11 케이블을 사용해 CPE(예: SRX 시리즈 방화벽)를 DSLAM 패치 패널에 연결하고 ADSL 링크를 형성합니다. 그런 다음 OC3 또는 DS3을 사용하여 DSLAM을 M Series 또는 E 시리즈 디바이스에 연결하여 ATM 백본을 형성합니다.
표 5 는 ADSL 및 SHDSL 인터페이스를 구성하는 데 사용되는 CLI 빠른 구성 명령을 지정합니다.
| 구성 단계 |
CLI 빠른 구성 명령 |
|---|---|
| ADSL 인터페이스에서 DHCP 클라이언트 구성 |
set interfaces at-1/0/0 encapsulation ethernet-over-atm
set interfaces at-1/0/0 atm-options vpi 2
set interfaces at-1/0/0 dsl-options operating-mode auto
set interfaces at-1/0/0 unit 0
set interfaces at-1/0/0 unit 0 encapsulation ether-over-atm-llc
set interfaces at-1/0/0 unit 0 vci 2.122
set interfaces at-1/0/0 unit 0 family inet
set interfaces at-1/0/0 unit 0 family inet dhcp
|
| ADSL 인터페이스에서 IPv6 주소를 구성합니다 |
set interfaces at-1/0/0 encapsulation ethernet-over-atm
set interfaces at-1/0/0 atm-options vpi 2
set interfaces at-1/0/0 unit 0 encapsulation ether-over-atm-llc
set interfaces at-1/0/0 unit 0 vci 2.118
set interfaces at-1/0/0 unit 0 family inet6 address 13:13::1/64
|
| ATM-over-ADSL 네트워크 인터페이스 구성 |
set interfaces at-2/0/0 atm-options vpi 25 oam-liveness up-count 200 down-count 200
set interfaces at-2/0/0 atm-options vpi 25 oam-period 100
set interfaces at-1/0/0 unit 0 shaping cbr
set interfaces at-1/0/0 unit 0 shaping vbr peak 33000
set interfaces at-1/0/0 dsl-options operating-mode auto
set interfaces at-1/0/0 encapsulation ethernet-over-atm
set interfaces at-1/0/0 unit 3 encapsulation atm-nlpid oam-liveness up-count 200 down-count 200
set interfaces at-1/0/0 unit 3 oam-period 100
set interfaces at-1/0/0 unit 3 family inet
set interfaces at-1/0/0 unit 3 vci 35
|
| DSL 인터페이스에서 CHAP 구성 |
set access profile A-ppp-client client client1 chap-secret my-secret
set interfaces at-3/0/0 unit 0 ppp-options chap access-profile A-ppp-client local-name A-at-3/0/0.0 passive
|
| ATM-over-SHDSL 네트워크 인터페이스 구성 |
set chassis fpc 6 pic 0 shdsl pic-mode 1-port-atm
set interfaces at-2/0/0 atm-options vpi 25 oam-liveness up-count 200 down-count 200
set interfaces at-2/0/0 atm-options vpi 25 oam-period 100
set interfaces at-2/0/0 encapsulation ethernet-over-atm shdsl-options annex annex-a
set interfaces at-2/0/0 encapsulation ethernet-over-atm shdsl-options line-rate auto
set interfaces at-2/0/0 encapsulation ethernet-over-atm shdsl-options loopback local
set interfaces at-2/0/0 encapsulation ethernet-over-atm shdsl-options snr-margin current 5 snext 5
set interfaces at-2/0/0 unit 3 encapsulation atm-nlpid
set interfaces at-2/0/0 unit 3 oam-liveness up-count 200 down-count 200
set interfaces at-2/0/0 unit 3 oam-period 100
set interfaces at-2/0/0 unit 3 oam-period 100
set interfaces at-2/0/0 unit 3 vci 35
|
ADSL 인터페이스에서 DHCP 클라이언트 구성
이 예에서는 ATM 인터페이스를 (으)로 at-1/0/0구성합니다. 그런 다음 논리적 인터페이스를 로 unit 0 설정하고 패밀리 프로토콜 유형을 (으)로 inet지정합니다. 마지막으로 DHCP 클라이언트를 구성합니다. ADSL 인터페이스에서 DHCP 클라이언트를 구성하려면,
show interfaces at-1/0/0 명령을 사용하여 구성의 출력을 확인합니다.
ADSL 인터페이스에서 IPv6 주소 구성
ADSL 인터페이스에서 IPv6 주소를 구성하려면 다음을 수행합니다.
-
캡슐화 유형을 구성합니다.
[edit] user@host# set interfaces at-1/0/0 encapsulation ethernet-over-atm -
별관 유형을 지정합니다.
[edit] user@host# set interfaces at-1/0/0 atm-options vpi 2 -
논리 단위에 대한 캡슐화를 구성합니다.
[edit] user@host# set interfaces at-1/0/0 unit 0 encapsulation ether-over-atm-llc -
VCI 값을 구성합니다.
[edit] user@host# set interfaces at-1/0/0 unit 0 vci 2.118 -
제품군 프로토콜 유형을 구성하고 IPv6 주소를 할당합니다.
[edit] user@host# set interfaces at-1/0/0 unit 0 family inet6 address 13:13::1/64
show interfaces at-1/0/0 명령을 사용하여 구성의 출력을 확인합니다.
ATM-over-ADSL 네트워크 인터페이스 구성
이 예는 ADSL Annex A 또는 Annex B PIM이 있는 디바이스를 사용하여 DSLAM에 대한 포인트 투 포인트 연결을 통해 네트워크 트래픽을 전송하는 방법을 보여줍니다. 이 예에서는 ADSL 인터페이스가 DSLAM과 설정을 자동 협상하도록 DSL 작동 모드 유형을 auto로 설정합니다.
이 예에서는 at-2/0/0이라는 ATM 인터페이스를 생성하는 방법을 보여줍니다. 인터페이스의 물리적 속성 값은 상대적으로 낮게 유지되며, ATM VPI는 25로 설정됩니다. OAM 다운 카운트와 업 카운트는 모두 200셀로 설정됩니다. OAM 기간은 100초로 설정됩니다.
또한 이 예에서는 CoS를 지원하기 위해 ATM 인터페이스에서 트레픽 셰이핑 값을 설정하는 방법을 보여줍니다. 연결 기간 동안 셀 전송 속도를 안정화하기 위해 CBR이 활성화됩니다. 또한 VBR 피크는 데이터 패킷 전송을 위해 33,000으로 설정됩니다.
예를 들어, 캡슐화 모드를 ethernet-over-atm으로 설정하여 PPP over Ethernet IPv4 트래픽을 지원합니다. 논리적 인터페이스(디바이스 3)도 구성합니다. 논리적 인터페이스는 ATM NLPID 캡슐화를 사용합니다. 물리적 인터페이스와 마찬가지로 OAM 다운 카운트 및 업 카운트는 논리적 인터페이스에서 200셀로 설정되며 OAM 기간은 100초로 설정됩니다. 패밀리 프로토콜은 inet로 설정되고 VCI는 35로 설정됩니다.
SRX 시리즈 방화벽에서 CPE가 ANSI-DMT 모드로 구성되고 CO가 자동 모드로 구성된 경우 ATM 인터페이스가 작동하는 데 5분 이상 걸립니다. 이는 ADSL Mini-PIM에서 실행되는 현재 펌웨어 버전의 제한으로 인해 ALU 7300 DSLAM에서만 발생합니다.
디바이스에 대한 ATM-over-ADSL 네트워크 인터페이스를 구성하려면 다음을 수행합니다.
-
ATM 인터페이스를 생성합니다.
[edit] user@host# edit interfaces at-2/0/0 -
ATM 인터페이스의 물리적 속성을 구성합니다.
[edit interfaces at-2/0/0] user@host# set atm-options vpi 25 user@host# set atm-options vpi 25 oam-liveness up-count 200 down-count 200 user@host# set atm-options vpi 25 oam-period 100 -
이더넷 인터페이스에 대한 CBR 값 및 VBR 값을 지정합니다.
[edit] user@host# edit interfaces at-1/0/0 unit 0 user@host# set shaping cbr user@host# set shaping vbr peak 33000 -
DSL 작동 모드 유형을 설정합니다.
[edit interfaces at-1/0/0.0] user@host# set dsl-options operating-mode auto -
캡슐화 유형을 구성합니다.
[edit interfaces at-1/0/0] user@host# set encapsulation ethernet-over-atm -
논리 단위에 대한 캡슐화를 구성합니다.
[edit interfaces at-1/0/0 unit 3] user@host# set encapsulation atm-nlpid -
ATM 가상 서킷에 대한 OAM 활성도 값을 구성합니다.
[edit interfaces at-1/0/0 unit 3] user@host# set oam-liveness up-count 200 down-count 200 -
OAM 기간을 지정합니다.
[edit interfaces at-1/0/0 unit 3] user@host# set oam-period 100 -
제품군 프로토콜 유형을 설정합니다.
[edit interfaces at-1/0/0 unit 3] user@host# set family inet -
VCI 값을 구성합니다.
[edit interfaces at-1/0/0 unit 3] user@host# set vci 35
show 명령을 사용하여 구성의 출력을 확인합니다.
MLPPP-over-ADSL 인터페이스 구성
이 예에서 인터페이스 at-5/0/0에 대해 캡슐화를 atm-mlppp-llc 로 설정합니다. 그런 다음 제품군 MLPPP 번들을 로 lsq-0/0/0.1구성합니다.
그림 1은 MLPPP-over-ADSL 종단 간 연결의 일반적인 예를 보여줍니다.
ADSL 인터페이스에서 MLPPP를 구성하려면:
-
인터페이스를 구성합니다.
[edit] user@host# edit interfaces at-5/0/0 unit 0 -
MLPPP 캡슐화를 설정합니다.
[edit interfaces at-5/0/0 unit 0] user@host# set encapsulation atm-mlppp-llc -
패밀리 MLPPP를 지정합니다.
[edit interfaces at-5/0/0 unit 0] user@host# set family mlppp bundle lsq-0/0/0.1 -
디바이스 구성을 완료하면 해당 구성을 커밋합니다.
[edit] user@host# commit
show 명령을 사용하여 구성의 출력을 확인합니다.
DSL 인터페이스에서 CHAP 구성
이 예에서는 CHAP 액세스 프로필을 지정하고 라는 at-3/0/0인터페이스를 생성합니다. ATM-over-ADSL 또는 ATM-over-SHDSL 인터페이스에서 CHAP를 구성하고 클라이언트 목록과 액세스 매개 변수를 포함하는 A-ppp-client라는 고유한 프로파일 이름을 지정합니다. 그런 다음 CHAP에서 사용할 라는 고유한 호스트 이름을 A-at-3/0/0.0 지정합니다. 마지막으로, 수신 CHAP 패킷을 처리하도록 passive 옵션을 설정합니다. ATM-over-ADSL 또는 ATM-over-SHDSL 인터페이스에서 CHAP를 구성하려면 다음을 수행합니다.
-
CHAP 액세스 프로파일을 정의합니다.
[edit] user@host# set access profile A-ppp-client client client1 chap-secret my-secret -
인터페이스를 생성합니다.
[edit] user@host# edit interfaces at-3/0/0 unit 0 -
CHAP를 구성하고 고유한 프로파일 이름을 지정합니다.
[edit interfaces at-3/0/0 unit 0] user@host# set ppp-options chap access-profile A-ppp-client -
고유한 호스트 이름을 지정합니다.
[edit interfaces at-3/0/0 unit 0] user@host# set ppp-options chap local-name A-at-3/0/0.0 -
들어오는 CHAP 패킷만 처리하도록 옵션을 설정합니다.
[edit interfaces at-3/0/0 unit 0] user@host# set ppp-options chap passive
show 명령을 사용하여 구성의 출력을 확인합니다.
ATM-over-SHDSL 네트워크 인터페이스 구성
이 예에서는 필요한 경우 G.SHDSL 인터페이스에서 ATM-over-SHDSL 모드를 설정합니다. 라는 at-2/0/0 인터페이스를 생성하고 인터페이스의 물리적 속성을 구성합니다. 캡슐화 유형 및 부속 유형을 구성합니다. ATM-over-SHDSL 인터페이스에 대한 SHDSL 회선 속도와 SHDSL 연결 무결성을 테스트하기 위한 루프백 주소를 지정합니다. 그런 다음 SNR 마진을 구성하고, 논리 인터페이스를 설정하고, ATM-over-SHDSL 논리 장치에 대한 캡슐화를 구성합니다.
또한 ATM 가상 서킷에 대한 OAM 활성도 값을 구성하고 OAM 기간을 설정합니다. 마지막으로, 패밀리 프로토콜 유형 inet를 추가하고 VCI 값을 구성합니다. 디바이스에 대한 ATM-over-SHDSL 네트워크 인터페이스를 구성하려면 다음을 수행합니다.
-
G.SHDSL 인터페이스에서 ATM-over-SHDSL 모드를 설정합니다.
[edit] user@host# set chassis fpc 6 pic 0 shdsl pic-mode 1-port-atm -
인터페이스를 생성합니다.
[edit] user@host# edit interfaces at-2/0/0 -
인터페이스의 물리적 속성을 구성합니다.
[edit interfaces at-2/0/0] user@host# set atm-options vpi 25 user@host# set atm-options vpi 25 oam-liveness up-count 200 down-count 200 user@host# set atm-options vpi 25 oam-period 100 -
캡슐화 유형을 구성합니다.
[edit interfaces at-2/0/0] user@host# set encapsulation ethernet-over-atm -
별관 유형을 설정합니다.
[edit] user@host# edit interfaces at-2/0/0 shdsl-options user@host# set annex annex-a -
SHDSL 회선 속도를 구성합니다.
[edit interfaces at-2/0/0 shdsl-options] user@host# set line-rate auto -
SHDSL 연결 무결성을 테스트하기 위해 루프백 옵션을 구성합니다.
[edit interfaces at-2/0/0 shdsl-options] user@host# set loopback local -
신호 대 잡음비 비율 마진을 구성합니다.
[edit interfaces at-2/0/0 shdsl-options] user@host# set snr-margin current 5 user@host# set snr-margin snext5 -
논리적 인터페이스를 구성합니다.
[edit] user@host# edit interfaces at-2/0/0 unit 3 -
논리 단위에 대한 캡슐화를 구성합니다.
[edit interfaces at-2/0/0 unit 3] user@host# set encapsulation atm-nlpid -
ATM 가상 서킷에 대한 OAM 활성화 값을 구성합니다
[edit interfaces at-2/0/0 unit 3] user@host# set oam-liveness up-count 200 down-count 200 -
OAM 기간을 구성합니다.
[edit interfaces at-2/0/0 unit 3] user@host# set oam-period 100 -
가족 프로토콜 유형을 추가합니다.
[edit interfaces at-2/0/0 unit 3] user@host# set family inet -
VCI 값을 구성합니다.
[edit interfaces at-2/0/0 unit 3] user@host# set vci 35
show 명령을 사용하여 구성의 출력을 확인합니다.
확인
ADSL 및 SHDSL 인터페이스에 구성된 매개 변수에 대한 정보를 표시합니다.
-
DHCP 옵션이 구성되었는지 확인하려면 명령을 사용합니다
run show system services dhcp client.user@host#run show system services dhcp client Logical Interface name at-1/0/0.0 Hardware address 00:1f:12:e4:71:38 Client status bound Address obtained 10.40.1.2 Update server disabled Lease obtained at 2011-05-03 04:58:10 PDT Lease expires at 2011-05-04 04:58:10 PDT DHCP options: Name: server-identifier, Value: 10.40.1.1 Code: 1, Type: ip-address, Value: 255.255.255.0 Name: name-server, Value: [ 192.168.5.68, 192.168.60.131, 172.17.28.100, 172.17.28.101 ] Name: domain-name, Value: englab.juniper.net인터페이스 상태를 확인하고 트래픽 통계를
show interface terse확인하려면 명령을 사용하고 Ping 패킷을 원격 엔드 IP 주소로 전송하여 엔드 투 엔드 데이터 경로 연결을 테스트합니다.user@host#run show interfaces at-1/0/0 terse Interface Admin Link Proto Local Remote at-1/0/0 up up at-1/0/0.0 up up inet 10.40.1.2/24 at-1/0/0.32767 up upuser@host#run ping 10.40.1.1 count 100 rapid PING 10.40.1.1 (10.40.1.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 10.40.1.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 20.086/26.404/61.723/6.194 ms -
ADSL 인터페이스 속성이 구성되었는지 확인하려면 명령을 사용합니다
show ipv6 neighbors. 출력은 인터페이스 정보의 요약을 보여줍니다.user@host> show ipv6 neighbors IPv6 Address Linklayer Address State Exp Rtr Secure Interface 10:1::2 00:00:0a:00:00:00 reachable 17 yes no reth0.0 13:13::1 00:19:e2:4b:61:83 stale 1197 yes no at-1/0/0.0 12:12::2 00:19:e2:4b:61:83 stale 1188 yes no at-3/0/0.0
필드는
IPv6 Address인터페이스에 구성된 IPv6 주소를 표시합니다. -
ADSL 인터페이스 등록 정보를 확인하려면 명령을 사용합니다.
show interfaces at-1/0/0 extensiveuser@host> show interfaces at-1/0/0 extensive Physical interface: at-1/0/0, Enabled, Physical link is Up Interface index: 141, SNMP ifIndex: 49, Generation: 142 Link-level type: ATM-PVC, MTU: 4482, Clocking: Internal, ADSL mode, Speed: ADSL, Loopback: None Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Hold-times : Up 0 ms, Down 0 ms Current address: 00:05:85:c3:17:f4 Last flapped : 2008-06-26 23:11:09 PDT (01:41:30 ago) Statistics last cleared: Never Traffic statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps Input errors: Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0,Policed discards: 0, L3 incompletes: 0, L2 channelerrors: 0, L2 mismatch timeouts: 0, Resource errors: 0 Output errors: Carrier transitions: 3, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0, Resource errors: 0 ADSL alarms : None ADSL defects : None ADSL media: Seconds Count State LOF 1 1 OK LOS 1 1 OK LOM 0 0 OK LOP 0 0 OK LOCDI 0 0 OK LOCDNI 0 0 OK ADSL status: Modem status : Showtime (Adsl2plus) DSL mode : Auto Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 6093 ADSL Chipset Information: ATU-R ATU-C Vendor Country : 0x0f 0xb5 Vendor ID : STMI IFTN Vendor Specific: 0x0000 0x70de ADSL Statistics: ATU-R ATU-C Attenuation (dB) : 0.0 0.0 Capacity used(%) : 100 92 Noise margin(dB) : 7.5 9.0 Output power (dBm) : 10.0 12.5 Interleave Fast Interleave Fast Bit rate (kbps) : 0 24465 0 1016 CRC : 0 0 0 0 FEC : 0 0 0 0 HEC : 0 0 0 0 Received cells : 0 49 Transmitted cells : 0 0 ATM status: HCS state: Hunt LOC : OK ATM Statistics: Uncorrectable HCS errors: 0, Correctable HCS errors: 0,Tx cell FIFO overruns: 0,Rx cell FIFO overruns: 0,Rx cell FIFO underruns: 0, Input cell count: 49, Output cell count: 0,Output idle cell count: 0,Output VC queue drops: 0Input no buffers: 0, Input length errors: 0, Input timeouts: 0, Input invalid VCs: 0, Input bad CRCs: 0, Input OAM cell no buffers: 0 Packet Forwarding Engine configuration: Destination slot: 1 Direction : Output CoS transmit queue Bandwidth Buffer Priority Limit % bps % usec 0 best-effort 95 7600000 95 0 low none 3 network-control 5 400000 5 0 low none But for ADSL MiniPim TI chipset does not send ADSL Chipset Information. Also Adsl minipim does not send any alarms. So we can't show alarm stats for minipim. So following information will not be displayed in Minipim case. ADSL alarms : None ADSL defects : None ADSL media: Seconds Count State LOF 1 1 OK LOS 1 1 OK LOM 0 0 OK LOP 0 0 OK LOCDI 0 0 OK LOCDNI 0 0 OK ADSL Chipset Information: ATU-R ATU-C Vendor Country : 0x0f 0xb5 Vendor ID : STMI IFTN Vendor Specific: 0x0000 0x70de출력은 인터페이스 정보의 요약을 보여줍니다.
ATM-over-ADSL 인터페이스에 대한 PPPoA 구성이 올바른지 확인하려면 및
show access명령을 사용합니다show interfaces at-1/0/0. -
MLPPP-over-ADSL 인터페이스의 구성이 올바른지 확인하려면 명령을 사용합니다
show interfaces at-5/0/0. -
ADSL 인터페이스 속성이 사용하도록 설정되어 있는지 확인하려면 명령을 사용합니다
show interfaces at-3/0/0 extensive.user@host> show interfaces at-3/0/0 extensive Physical interface: at-3/0/0, Enabled, Physical link is Up Interface index: 141, SNMP ifIndex: 49, Generation: 142 Link-level type: ATM-PVC, MTU: 4482, Clocking: Internal, ADSL mode, Speed: ADSL, Loopback: None Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Hold-times : Up 0 ms, Down 0 ms Current address: 00:05:85:c3:17:f4 Last flapped : 2008-06-26 23:11:09 PDT (01:41:30 ago) Statistics last cleared: Never Traffic statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps Input errors: Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0,Policed discards: 0, L3 incompletes: 0, L2 channelerrors: 0, L2 mismatch timeouts: 0, Resource errors: 0 Output errors: Carrier transitions: 3, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0, Resource errors: 0 ADSL alarms : None ADSL defects : None ADSL media: Seconds Count State LOF 1 1 OK LOS 1 1 OK LOM 0 0 OK LOP 0 0 OK LOCDI 0 0 OK LOCDNI 0 0 OK ADSL status: Modem status : Showtime (Adsl2plus) DSL mode : Auto Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 6093 ADSL Chipset Information: ATU-R ATU-C Vendor Country : 0x0f 0xb5 Vendor ID : STMI IFTN Vendor Specific: 0x0000 0x70de ADSL Statistics: ATU-R ATU-C Attenuation (dB) : 0.0 0.0 Capacity used(%) : 100 92 Noise margin(dB) : 7.5 9.0 Output power (dBm) : 10.0 12.5 Interleave Fast Interleave Fast Bit rate (kbps) : 0 24465 0 1016 CRC : 0 0 0 0 FEC : 0 0 0 0 HEC : 0 0 0 0 Received cells : 0 49 Transmitted cells : 0 0 ATM status: HCS state: Hunt LOC : OK ATM Statistics: Uncorrectable HCS errors: 0, Correctable HCS errors: 0,Tx cell FIFO overruns: 0,Rx cell FIFO overruns: 0,Rx cell FIFO underruns: 0, Input cell count: 49, Output cell count: 0,Output idle cell count: 0,Output VC queue drops: 0Input no buffers: 0, Input length errors: 0, Input timeouts: 0, Input invalid VCs: 0, Input bad CRCs: 0, Input OAM cell no buffers: 0 Packet Forwarding Engine configuration: Destination slot: 1 Direction : Output CoS transmit queue Bandwidth Buffer Priority Limit % bps % usec 0 best-effort 95 7600000 95 0 low none 3 network-control 5 400000 5 0 low none But for ADSL MiniPim TI chipset does not send ADSL Chipset Information. Also Adsl minipim does not send any alarms. So we can't show alarm stats for minipim. So following information will not be displayed in Minipim case. ADSL alarms : None ADSL defects : None ADSL media: Seconds Count State LOF 1 1 OK LOS 1 1 OK LOM 0 0 OK LOP 0 0 OK LOCDI 0 0 OK LOCDNI 0 0 OK ADSL Chipset Information: ATU-R ATU-C Vendor Country : 0x0f 0xb5 Vendor ID : STMI IFTN Vendor Specific: 0x0000 0x70deATM-over-ADSL 인터페이스에 대한 PPPoA 구성이 올바른지 확인하려면 및
show access명령을 사용합니다show interfaces at-3/0/0.ATM-over-SHDSL 구성이 올바른지 확인하려면 명령을 사용합니다
show interfaces at-3/0/0 extensive.user@host> show interfaces at-3/0/0 extensive Physical interface: at-3/0/0, Enabled, Physical link is Up Interface index: 141, SNMP ifIndex: 23, Generation: 48 Link-level type: ATM-PVC, MTU: 4482, Clocking: Internal, ADSL mode, Speed: ADSL, Loopback: None Device flags : Present Running Link flags : None CoS queues : 8 supported Hold-times : Up 0 ms, Down 0 ms Current address: 00:05:85:c7:44:3c Last flapped : 2005-05-16 05:54:41 PDT (00:41:42 ago) Statistics last cleared: Never Traffic statistics: Input bytes : 4520 0 bps Output bytes : 39250 0 bps Input packets: 71 0 pps Output packets: 1309 0 pps Input errors: Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 1, L2 mismatch timeouts: 0, Resource errors: 0 Output errors: Carrier transitions: 3, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0, Resource errors: 0 Queue counters: Queued packets Transmitted packets Dropped packets 0 best-effort 4 4 0 1 expedited-fo 0 0 0 2 assured-forw 0 0 0 3 network-cont 2340 2340 0 SHDSL alarms : None SHDSL defects : None SHDSL media: Seconds Count State LOSD 239206 2 OK LOSW 239208 1 OK ES 3 1 OK SES 0 0 OK UAS 3 1 OK SHDSL status: Line termination :STU-R Annex :Annex B Line Mode :2–wire Modem Status :Data Last fail code :0 Framer mode :ATM Dying Gasp :Enabled Chipset version :1 Firmware version :R3.0 SHDSL Statistics: Loop Attenuation (dB) :0.600 Transmit power (dB) :8.5 Receiver gain (dB) :21.420 SNR sampling (dB) :39.3690 Bit rate (kbps) :2304 Bit error rate :0 CRC errors :0 SEGA errors :1 LOSW errors :0 Received cells :1155429 Transmitted cells :1891375 HEC errors :0 Cell drop :0
예: G.SHDSL 인터페이스 구성
이 예에서는 SRX 시리즈 방화벽에서 G.SHDSL 인터페이스를 구성하는 방법을 보여 줍니다.
GSHDSL 인터페이스를 구성하려면,
-
G.SHDSL 인터페이스에서 와이어 모드를 지정합니다. 기본 유선 모드는 4선식(2포트, 4선)입니다.
-
별관 유형을 지정합니다. 기본 별관 유형은 입니다
auto. -
SHDSL 회선 속도(SHDSL 연결에서 데이터 전송 속도)를 지정합니다. 기본 회선 속도는 입니다
auto. -
캡슐화 유형을 지정합니다. 인터페이스에는 캡슐화 유형이
pt-필요하지 않습니다. -
캡슐화 유형을 구성합니다.
시작하기 전에:
-
필요에 따라 네트워크 인터페이스를 구성합니다. 이더넷 인터페이스 이해를 참조하십시오.
-
SRX210 섀시의 첫 번째 슬롯에 G.SHDSL Mini-PIM을 설치합니다.
-
SRX210 디바이스를 DSLAM(IP DSLAM 및 ATM DSLAM)에 연결합니다.
그림 2는 2X4 와이어 모드에서 작동하는 G.SHDSL Mini-PIM의 토폴로지를 보여줍니다.
그림 3은 4X2-wire 모드에서 작동하는 G.SHDSL Mini-PIM의 토폴로지를 보여줍니다.
그림 4는 1X8 와이어 모드에서 작동하는 G.SHDSL Mini-PIM의 토폴로지를 보여줍니다.
표 6에 나열된 작동 유선 모드(2선, 4선 또는 8선) 및 해당 CLI 코드를 결정합니다.
| 유선 모드 구성 |
CLI 코드 |
|---|---|
| 2x4-와이어 구성 |
메모:
2x4 와이어 구성이 기본 구성 및 동작입니다. |
| 4x2-와이어 구성 |
|
| 1x8 와이어 구성 |
|
유선 모드를 8-와이어로 설정하면 하나의 물리적 인터페이스(IFD)가 생성됩니다. 마찬가지로 4-와이어 모드와 2-와이어 모드의 경우 각각 2개의 IFD와 4개의 IFD가 생성됩니다.
이 예제에 대한 설명은 다음과 같습니다.
-
먼저 기본 G.SHDSL 인터페이스를 구성합니다. 운영 유선 모드를 2-port-atm으로, 회선 속도를 4096으로, annex 유형을 로 설정합니다
annex-a. -
장치가 IP DSLAM에 연결될 때 G.SHDSL 인터페이스를 구성합니다. 캡슐화 유형을 ethernet-over-atm으로 설정하고 ATM VPI 옵션을 0으로 설정합니다. G.SHDSL 논리 인터페이스의 캡슐화 유형을 로
ether-over-atm-llc설정하고 ATM VCI 옵션을 0.60으로 구성합니다. 또한 논리적 인터페이스의 인터페이스 주소를 10.1.1.1/24로 설정합니다. -
디바이스가 ATM DSLAM에 연결될 때 G.SHDSL 인터페이스를 구성합니다. ATM VPI를 0으로 설정하고 캡슐화 유형을 로
ppp-over-ether-over-atm-llc설정합니다. PAP 액세스 프로파일,local-name및local-password이(가) 있는 PPPoE 인터페이스를 지정합니다. 수신 PAP 패킷을 처리하도록 passive 옵션을 구성하고 에 대한 PPPoE 세션의 기본 인터페이스로 논리적 인터페이스를 설정합니다at-1/0/0.0. PPPoE 세션이 종료된 후 다시 연결하기 전에 대기하려면 초(초)를 120으로 설정합니다. 논리적 인터페이스를 PPPoE 인터페이스의 클라이언트로 지정하고 원격 엔드와의 협상을 통해 IP 주소를 얻습니다. -
G.SHDSL 인터페이스에 대해 ATM을 통해 PPPoA를 구성합니다. 캡슐화 유형을 로
atm-pvc설정하고 ATM VPI를 0으로 설정합니다. 논리 인터페이스에서 PPP over ATM 적응 계층 5(AAL5) 논리 링크 제어(LLC)의 캡슐화 유형을 설정하고 ATM VCI를 122로 설정합니다. CHAP 액세스 프로필로 PPPoA 인터페이스를 juniper로 구성하고 CHAP 인터페이스의 을(를local-name) srx-210으로 설정합니다. 마지막으로, 원격 엔드와의 협상을 통해 IP 주소를 얻습니다.
표 7은 GSHDSL 인터페이스를 구성하는 데 사용되는 CLI 빠른 구성 명령을 지정합니다.
| 구성 단계 |
CLI 빠른 구성 명령 |
|---|---|
| 기본 G.SHDSL 인터페이스를 구성합니다 |
set chassis fpc 1 pic 0 shdsl pic-mode 2-port-atm
set interfaces at-1/0/0 shdsl-options line-rate 4096 annex annex-a
|
| IP DSLAM에 연결된 경우 G.SHDSL 인터페이스 구성 |
set interfaces at-1/0/0 encapsulation ethernet-over-atm
set interfaces at-1/0/0 atm-options vpi 0
set interfaces at-1/0/0 unit 0 encapsulation ether-over-atm-llc vci 0.60
set interfaces at-1/0/0 unit 0 family inet address 10.1.1.1/24
|
| ATM DSLAM에 연결된 경우 G.SHDSL 인터페이스 구성 |
set interfaces at-1/0/0 encapsulation atm-pvc atm-options vpi 0
set interfaces at-1/0/0 unit 0 encapsulation atm-snap vci 0.65
set interfaces at-1/0/0 unit 0 family inet address 10.2.1.1/24
|
| G.SHDSL 인터페이스에 대해 ATM을 통한 PPPoE 구성 |
set interfaces at-1/0/0 encapsulation ethernet-over-atm atm-options vpi 0
set interfaces at-1/0/0 unit 0 encapsulation ppp-over-ether-over-atm-llc vci 0.35
set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof local-name srx-210
set interfaces pp0 unit 0 ppp-options pap local-password "$9$0tLw1SeN-woJDSr-wY2GU69Cp1RSre"
set interfaces pp0 unit 0 ppp-options pap passive
set interfaces pp0 unit 0 pppoe-options underlying-interface at-1/0/0.0
set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 client
set interfaces pp0 unit 0 family inet negotiate-address
|
| G.SHDSL 인터페이스에 대해 ATM을 통해 PPPoA 구성 |
set interfaces at-1/0/0 encapsulation atm-pvc atm-options vpi 0
set interfaces at-1/0/0 unit 0 encapsulation atm-ppp-llc vci 1.122
set interfaces at-1/0/0 unit 0 ppp-options chap access-profile juniper local-name srx-210
set interfaces at-1/0/0 unit 0 family inet negotiate-address
|
| EFM PIC 모드에서 기본 G.SHDSL 인터페이스 코피규어 |
set chassis fpc 1 pic 0 shdsl pic-mode efm
set interfaces pt-1/0/0 shdsl-options annex annex-g
set interfaces pt-1/0/0 shdsl-options line-rate 5696
set interfaces pt-1/0/0 unit 0 family inet address 10.10.10.1/24
|
| G.SHDSL EFM 인터페이스를 위한 PPPoE 및 VLAN을 구성합니다 |
set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof local-name srx-210
set interfaces pp0 unit 0 ppp-options pap local-password "$9$0tLw1SeN-woJDSr-wY2GU69Cp1RSre"
set interfaces pp0 unit 0 ppp-options pap passive
set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0
set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 client
set interfaces pp0 unit 0 family inet negotiate-address
|
| EFM PIC 모드에서 기본 G.SHDSL 인터페이스 구성 |
set chassis fpc 1 pic 0 shdsl pic-mode efm
set interfaces pt-1/0/0 shdsl-options annex annex-g
set interfaces pt-1/0/0 shdsl-options line-rate 5696
set interfaces pt-1/0/0 unit 0 family inet address 10.10.10.1/24
|
| G.SHDSL EFM 인터페이스에 대한 PPPoE 및 VLAN 구성 |
set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof local-name srx-210
set interfaces pp0 unit 0 ppp-options pap local-password "$9$0tLw1SeN-woJDSr-wY2GU69Cp1RSre"
set interfaces pp0 unit 0 ppp-options pap passive
set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0
set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 client
set interfaces pp0 unit 0 family inet negotiate-address
|
기본 G.SHDSL 인터페이스 구성
CLI 빠른 구성 명령을 보려면 표 7을 참조하십시오. SRX210 디바이스에서 기본 G.SHDSL 인터페이스를 구성하려면:
show interfaces at-1/0/0 명령을 사용하여 구성의 출력을 확인합니다.
IP DSLAM에 연결된 경우 G.SHDSL 인터페이스 구성
디바이스가 IP DSLAM에 연결되어 있을 때 SRX210 디바이스에서 G.SHDSL 인터페이스를 구성하려면:
-
인터페이스를 생성합니다.
[edit] user@host# edit interfaces at-1/0/0 -
캡슐화 유형을 지정합니다.
[edit interfaces at-1/0/0] user@host# set encapsulation ethernet-over-atm -
ATM VPI 옵션을 구성합니다.
[edit interfaces at-1/0/0] user@host# set atm-options vpi 0 -
논리적 인터페이스의 캡슐화 유형을 지정합니다.
[edit interfaces at-1/0/0 ] user@host# edit unit 0 user@host# set encapsulation ether-over-atm-llc -
논리적 인터페이스에 대한 ATM VCI 옵션을 구성합니다.
[edit interfaces at-1/0/0 unit 0] user@host# set vci 0.60 -
인터페이스 주소를 구성합니다.
[edit interfaces at-1/0/0 unit 0] user@host# set family inet address 10.1.1.1/24
show interfaces at-1/0/0 명령을 사용하여 구성의 출력을 확인합니다.
ATM DSLAM에 연결할 때 G.SHDSL 인터페이스 구성
디바이스가 ATM DSLAM에 연결되어 있을 때 SRX210 디바이스에서 G.SHDSL 인터페이스를 구성하려면:
-
인터페이스를 생성합니다.
[edit] user@host# edit interfaces at-1/0/0 -
캡슐화 유형을 지정합니다.
[edit interfaces at-1/0/0] user@host# set encapsulation atm-pvc -
ATM VPI 옵션을 구성합니다.
[edit interfaces at-1/0/0] user@host# set atm-options vpi 0 -
논리적 인터페이스의 캡슐화 유형을 지정합니다.
[edit interfaces at-1/0/0] user@host# edit unit 0 user@host# set encapsulation atm-snap -
ATM VCI 옵션을 구성합니다.
[edit interfaces at-1/0/0 unit 0] user@host# set vci 0.65 -
인터페이스 주소를 구성합니다.
[edit interfaces at-1/0/0 unit 0] user@host# set family inet address 10.2.1.1/24
show interfaces at-1/0/0 명령을 사용하여 구성의 출력을 확인합니다.
G.SHDSL 인터페이스에 대해 ATM을 통한 PPPoE 구성
G.SHDSL 인터페이스에서 ATM을 통해 PPPoE를 구성하려면:
-
인터페이스를 생성합니다.
[edit] user@host# edit interfaces at-1/0/0 -
캡슐화 유형을 지정합니다.
[edit interfaces at-1/0/0] user@host# set encapsulation ethernet-over-atm -
ATM VPI 옵션을 구성합니다.
[edit interfaces at-1/0/0] user@host# set atm-options vpi 0 -
논리적 인터페이스에서 캡슐화 유형을 지정합니다.
[edit interfaces at-1/0/0] user@host# edit unit 0 user@host# set encapsulation ppp-over-ether-over-atm-llc -
ATM VCI 옵션을 구성합니다.
[edit interfaces at-1/0/0 unit 0] user@host# set vci 0.35 -
PAP 액세스 프로필로 PPPoE 인터페이스를 구성합니다.
[edit] user@host# edit interfaces pp0 unit 0 ppp-options pap user@host# set access-profile pap_prof -
PAP 인터페이스에 대한 로컬 이름을 구성합니다.
[edit interfaces pp0 unit 0 ppp-options pap] user@host# set local-name srx-210 -
PAP 인터페이스에 대한 로컬 비밀번호를 구성합니다.
[edit interfaces pp0 unit 0 ppp-options pap] user@host# set local-password "$9$0tLw1SeN-woJDSr-wY2GU69Cp1RSre" -
수신 PAP 패킷을 처리하기 위해 passive 옵션을 설정합니다.
[edit interfaces pp0 unit 0 ppp-options pap] user@host# set passive -
논리적 인터페이스를 PPPoE 세션의 기본 인터페이스로 지정합니다.
[edit] user@host# edit interfaces pp0 unit 0 pppoe-options user@host# set underlying-interface at-1/0/0.0 -
시간(초)을 지정합니다.
[edit interfaces pp0 unit 0 pppoe-options] user@host# set auto-reconnect 120 -
논리적 인터페이스를 PPPoE 인터페이스의 클라이언트로 설정합니다.
[edit interfaces pp0 unit 0 pppoe-options] user@host# set client -
원격 엔드와의 협상을 통해 IP 주소를 얻습니다.
[edit] user@host# edit interfaces pp0 unit 0 user@host# set family inet negotiate-address
show interfaces at-1/0/0 및 show interfaces pp0 명령을 사용하여 구성의 출력을 확인합니다.
G.SHDSL 인터페이스에 대해 ATM을 통해 PPPoA 구성
G.SHDSL 인터페이스에서 ATM을 통해 PPPoA를 구성하려면 다음을 수행합니다.
-
인터페이스를 생성합니다.
[edit] user@host# edit interfaces at-1/0/0 -
캡슐화 유형을 지정합니다.
[edit interfaces at-1/0/0] user@host# set encapsulation atm-pvc -
ATM VPI 옵션을 구성합니다.
[edit interfaces at-1/0/0] user@host# set atm-options vpi 0 -
G.SHDSL 논리 인터페이스에서 캡슐화 유형을 지정합니다.
[edit] user@host# edit interfaces at-1/0/0 unit 0 user@host# set encapsulation atm-ppp-llc -
ATM VCI 옵션을 구성합니다.
[edit interfaces at-1/0/0 unit 0] user@host# set vci 1.122 -
CHAP 액세스 프로필로 PPPoA 인터페이스를 구성합니다.
[edit] user@host# edit interfaces at-1/0/0 unit 0 ppp-options chap user@host# set access-profile juniper -
CHAP 인터페이스의 로컬 이름을 구성합니다.
[edit interfaces at-1/0/0 unit 0 ppp-options chap] user@host# set local-name srx-210 -
원격 엔드와의 협상을 통해 IP 주소를 얻습니다.
[edit] user@host# edit interfaces at-1/0/0 unit 0 user@host# set family inet negotiate-address
show interfaces at-1/0/0 명령을 사용하여 구성의 출력을 확인합니다.
EFM 모드에서 G.SHDSL 인터페이스 구성
이 예제에 대한 설명은 다음과 같습니다.
-
먼저 작업 유선 모드를 efm으로, 회선 속도를 auto로, annex 유형을 annex-auto로 설정하여 기본 G.SHDSL 인터페이스를 구성합니다.
-
그런 다음 디바이스가 EFM IP DSLAM에 연결될 때 G.SHDSL 인터페이스를 구성합니다. 논리 인터페이스를 10.10.10.1/24로 설정합니다.
-
다음으로 G.SHDSL 인터페이스에 대해 PPPoE를 구성합니다. 인터페이스 아래에서
unit 0pt-1/0/0캡슐화를 ppp-over-ether로 구성합니다. PAP 액세스 프로필, 로컬 이름 및 로컬 암호를 사용하여 PPPoE 인터페이스를 지정합니다. 그런 다음 수신 PAP 패킷을 처리하도록 passive 옵션을 구성하고 에 대한 PPPoE 세션의 기본 인터페이스로 논리적 인터페이스를 설정합니다pt-1/0/0.0. 또한 PPPoE 세션이 종료된 후 다시 연결하기 전에 대기하는 시간(초)을 120으로 설정합니다. 범위는 1초에서 4,294,967,295초까지입니다. 마지막으로, 논리 인터페이스를 PPPoE 인터페이스의 클라이언트로 지정하고 원격 엔드와의 협상을 통해 IP 주소를 얻습니다.
그림 5는 EFM 모드에서 작동하는 G.SHDSL Mini-PIM의 토폴로지를 보여줍니다.
유선 모드 EFM 구성을 작동하려면 CLI 코드를 사용합니다 set chassis fpc 1 pic 0 shdsl pic-mode efm . PIC 모드가 EFM으로 설정되면, 라는 pt-1/0/0 인터페이스가 생성됩니다.
CLI 빠른 구성 명령을 보려면 표 7을 참조하십시오.
EFM PIC 모드에서 기본 G.SHDSL 인터페이스 구성
기본 G.SHDSL 인터페이스를 구성하려면:
-
PIC 모드를 지정합니다.
[edit] user@host# set chassis fpc 1 pic 0 shdsl pic-mode efm메모:섀시 클러스터 모드에서 G.SHDSL 인터페이스를 구성할 때 노드 ID를 포함합니다. 예를 들어, 노드 0의 fpc 슬롯 1에 대한 섀시 클러스터 모드에서 G.SHDSL 인터페이스(EFM PIC 모드에서 작동)를 구성하려면 다음 명령을 사용합니다.
set chassis node 0 fpc 1 pic 0 shdsl pic-mode efm
-
IP 주소를 구성합니다.
[edit] user@host# set interfaces pt-1/0/0 unit 0 family inet address 10.10.10.1/24메모:기본적으로 annex 모드와 회선 속도는 auto로 설정됩니다. 부속 모드(annex-g) 및 회선 속도(5696Kbps)를 구성해야 하는 경우 3, 4, 5단계를 따릅니다.
-
SHDSL 옵션을 구성합니다.
[edit] user@host# set interfaces pt-1/0/0 shdsl-options -
별관 유형을 지정합니다.
[edit interfaces pt-1/0/0 shdsl-options] user@host# set annex annex-g -
회선 속도를 구성합니다.
[edit interfaces pt-1/0/0 shdsl-options] user@host# set line-rate 5696
show interfaces pt-1/0/0 및 show chassis fpc 1 명령을 사용하여 구성의 출력을 확인합니다.
G.SHDSL EFM 인터페이스에 대한 PPPoE 및 VLAN 구성
G.SHDSL EFM 인터페이스에 대해 PPPoE 및 VLAN을 구성하려면:
-
인터페이스를 생성합니다.
[edit] user@host# set interfaces pt-1/0/0 -
캡슐화 유형을 지정합니다.
[edit interfaces pt-1/0/0] user@host# set unit 0 user@host# set encapsulation ppp-over-ether -
PAP 액세스 프로필로 PPPoE 인터페이스를 구성합니다.
[edit] user@host# set interfaces pp0 unit 0 ppp-options pap user@host# set access-profile pap_prof -
PAP 인터페이스의 로컬 이름을 구성합니다.
[edit interfaces pp0 unit 0 ppp-options pap] user@host# set local-name srx-210 -
PAP 인터페이스에 대한 로컬 비밀번호를 구성합니다.
[edit interfaces pp0 unit 0 ppp-options pap] user@host# set local-password "$9$0tLw1SeN-woJDSr-wY2GU69Cp1RSre" -
수신 PAP 패킷을 처리하기 위해 passive 옵션을 설정합니다.
[edit interfaces pp0 unit 0 ppp-options pap] user@host# set passive -
논리적 인터페이스를 PPPoE 세션의 기본 인터페이스로 지정합니다.
[edit] user@host# set interfaces pp0 unit 0 pppoe-options user@host# set underlying-interface pt-1/0/0.0 -
시간(초)을 지정합니다.
[edit interfaces pp0 unit 0 pppoe-options] user@host# set auto-reconnect 120 -
논리적 인터페이스를 PPPoE 인터페이스의 클라이언트로 설정합니다.
[edit interfaces pp0 unit 0 pppoe-options] user@host# set client -
원격 엔드와의 협상을 통해 IP 주소를 얻습니다.
[edit interfaces] user@host# set pp0 unit 0 family inet negotiate-address -
EFM에서 VLAN을 구성합니다.
[edit interfaces] user@host# set pt-1/0/0 vlan-tagging -
VLAN ID를 지정합니다.
[edit interfaces] user@host# set pt-1/0/0 unit 0 vlan-id 99
show interfaces pt-1/0/0 및 show interfaces pp0 명령을 사용하여 구성의 출력을 확인합니다.
확인
GSHDSL 인터페이스에 구성된 매개변수에 대한 정보를 표시합니다.
-
모든 기본 G.SHDSL 인터페이스 속성에 대한 정보를 표시하려면 명령을 사용합니다
show interfaces at-1/0/0 extensive. -
G.SHDSL 인터페이스 등록 정보에 대한 정보를 표시하려면 다음을 수행합니다.
user@host> show interfaces pt-1/0/0 extensive인터페이스 pt-1/0/0을 위한 EFM 모드:
Physical interface: pt-1/0/0, Enabled, Physical link is Up Interface index: 158, SNMP ifIndex: 575, Generation: 277 Link-level type: Ethernet, MTU: 1514, Speed: SHDSL(8-Wire) Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Hold-times : Up 0 ms, Down 0 ms Current address: 78:fe:3d:60:2f:99 Last flapped : 2012-10-11 00:03:13 PDT (00:28:57 ago) Statistics last cleared: 2012-10-11 00:32:05 PDT (00:00:05 ago) Traffic statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps Input errors: Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0, Resource errors: 0 EFM Group Statistics: Type : EFM bond Active Pairs : 4 Bit rate (in Kbps) : 22784 Line Pair 0 : Up Active alarms : None Active defects : None SHDSL media: Seconds Count State ES 0 SES 0 UAS 0 SHDSL status: Line termination : STU-R Annex : Annex G Line mode : 2-wire Modem status : Data Bit rate (kbps) : 5696 Last fail mode : No failure (0x00) Framer mode : EFM PAF Status : Active Dying gasp : Enabled Framer sync status : In sync SHDSL statistics: Loop attenuation (dB) : 0.0 Transmit power (dBm) : 14.0 SNR sampling (dB) : 14.0000 CRC errors : 2 SEGA errors : 0 LOSW errors : 0 Line Pair 1 : Up Active alarms : None Active defects : None SHDSL media: Seconds Count State ES 0 SES 0 UAS 0 SHDSL status: Line termination : STU-R Annex : Annex G Line mode : 2-wire Modem status : Data Bit rate (kbps) : 5696 Last fail mode : No failure (0x00) Framer mode : EFM PAF Status : Active Dying gasp : Enabled Framer sync status : In sync SHDSL statistics: Loop attenuation (dB) : 0.0 Transmit power (dBm) : 14.0 SNR sampling (dB) : 19.0000 CRC errors : 0 SEGA errors : 0 LOSW errors : 0 Line Pair 2 : Up Active alarms : None Active defects : None SHDSL media: Seconds Count State ES 0 SES 0 UAS 0 SHDSL status: Line termination : STU-R Annex : Annex G Line mode : 2-wire Modem status : Data Bit rate (kbps) : 5696 Last fail mode : No failure (0x00) Framer mode : EFM PAF Status : Active Dying gasp : Enabled Framer sync status : In sync SHDSL statistics: Loop attenuation (dB) : 0.0 Transmit power (dBm) : 14.0 SNR sampling (dB) : 14.0000 CRC errors : 0 SEGA errors : 0 LOSW errors : 0 Line Pair 3 : Up Active alarms : None Active defects : None SHDSL media: Seconds Count State ES 0 SES 0 UAS 0 SHDSL status: Line termination : STU-R Annex : Annex G Line mode : 2-wire Modem status : Data Bit rate (kbps) : 5696 Last fail mode : No failure (0x00) Framer mode : EFM PAF Status : Active Dying gasp : Enabled Framer sync status : In sync SHDSL statistics: Loop attenuation (dB) : 1.0 Transmit power (dBm) : 14.0 SNR sampling (dB) : 18.0000 CRC errors : 0 SEGA errors : 0 LOSW errors : 0 Packet Forwarding Engine configuration: Destination slot: 0 (0x00) CoS information: Direction : Output CoS transmit queue Bandwidth Buffer Priority Limit % bps % usec 0 best-effort 95 21644800 95 0 low none 3 network-control 5 1139200 5 0 low none출력은 인터페이스 정보의 요약을 보여줍니다.