PPPoE動的プロファイルの設定
動的PPPoE論理加入者インターフェイス(pp0)の属性を定義するPPPoE加入者用の基本的な動的プロファイルを設定できます。
基本的なPPPoE動的プロファイルを設定するには:
- 動的プロファイルに名前を付けます。
[edit] user@host# edit dynamic-profiles basic-pppoe-profile
- 動的プロファイルで
pp0論理インターフェイスを設定することを指定します。[edit dynamic-profiles basic-pppoe-profile] user@host# edit interfaces pp0
pp0インターフェイスの論理ユニット番号を表す定義済みの変数として$junos-interface-unitを指定します。$junos-interface-unit変数は、加入者がログインするときにネットワークから提供される実際のユニット番号に置き換えられます。[edit dynamic-profiles basic-pppoe-profile interfaces pp0] user@host# edit unit $junos-interface-unit
pp0インターフェイスのPPPoE固有のオプションを設定します。- ルーターが動的PPPoE論理インターフェイスを作成する基盤となるイーサネットインターフェイスの名前を表す
$junos-underlying-interface定義済みの変数を指定します。$junos-underlying-interface変数は、加入者がログインするときにネットワークから提供される基盤となるインターフェイスの実際の名前に置き換えられます。[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set pppoe-options underlying-interface $junos-underlying-interface
- リモートアクセスコンセントレータとも呼ばれるPPPoEサーバーとして機能するようにルーターを設定します。
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set pppoe-options server
- ルーターが動的PPPoE論理インターフェイスを作成する基盤となるイーサネットインターフェイスの名前を表す
pp0インターフェイスのPPP 認証プロトコルを設定します。動的インターフェイスの場合、ルーターは単方向認証のみをサポートします。つまり、ルーターは常にオーセンティケータとして機能します。動的プロファイルでPPP認証を設定する場合、 chap および pap ステートメントは追加の設定オプションをサポートしません。
CHAP認証を設定するには:
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set ppp-options chap
PAP認証を設定するには:
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# set ppp-options pap
- キープアライブ間隔を変更するか、キープアライブメッセージの送信を無効にするようにルーターを設定します。
pp0インターフェイスのプロトコルファミリーを設定します。inet(IPv4)またはinet6(IPv6)プロトコルファミリーを設定することを指定します。[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] user@host# edit family inet
- 動的PPPoE論理インターフェイスのIPv4またはIPv6アドレスを指定します。
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet] user@host# set address 6.6.6.7/32
- プロトコルファミリーの番号なしアドレスを設定します。
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet] user@host# set unnumbered-address lo0.0
- 動的PPPoE論理インターフェイスに適用する入出力サービスセットを指定します。
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet] user@host# set service input service-set inputService_100 user@host# set service input post-service-filter postService_20 user@host# set service output service-set outputService_200
- 動的PPPoE論理インターフェイスに適用する入出力フィルターを指定します。
フィルターの処理順序を制御するために、オプションで入力フィルター、出力フィルター、または両方の優先度値を指定できます。
[edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet] user@host# set filter input pppoe-input-filter user@host# set filter output pppoe-output-filter precedence 50