例:同じVLAN demuxインターフェイス上での動的DHCP IP demuxおよびPPPoE demuxインターフェイスの同時設定
この例では、同じ動的 VLAN デモックス インターフェイス上で、動的 DHCP IP デモックス インターフェイスと PPPoE デモックス インターフェイスの両方を設定する方法を示します。この例は、IPv4設定を提供します。ただし、IPv6アドレッシングを使用して、同じVLANインターフェイス上で、イーサネット/DHCPおよびPPPoEインターフェイス上の同時IP を設定することもできます。
要件
開始する前に、必ずDHCPリレーまたはDHCPローカルサーバーを設定してください。これらのコンポーネントのいずれかの設定については、 拡張DHCPリレーエージェントの概要 またはレ ガシーDHCPと拡張DHCPの違いについてを参照してください。
概要
family pppoeステートメントの導入により、PPPoEは排他的なカプセル化設定として扱われなくなり、複数のプロトコルインターフェイススタックでVLANインターフェイスを設定できます。例えば、1つのVLANインターフェイス上で、IP over Ethernet/DHCPおよびPPPoEインターフェイスを同時に設定できます。
設定
- 加入者アクセス インターフェイスの準備
- ループバックインターフェイスの準備
- 動的単一タグ付き VLAN を作成するための動的プロファイルの設定
- 動的デュアルタグ付きVLANを作成するための動的プロファイルの設定
- 動的プロファイルを設定して動的IP Demuxインターフェイスを作成する
- 動的PPPoEインターフェイスを作成するための動的プロファイルの設定
加入者アクセス インターフェイスの準備
CLIクイックコンフィグレーション
加入者がルーターにアクセスする集合型イーサネットインターフェイスをすばやく設定するには:
[edit] set chassis aggregated-devices ethernet device-count 1 set interfaces ge-5/0/9 gigether-options 802.3ad ae0 set interfaces ge-5/1/9 gigether-options 802.3ad ae0 set interfaces ae0 flexible-vlan-tagging set interfaces ae0 auto-configure vlan-ranges dynamic-profile Auto-VLAN-Demux accept any set interfaces ae0 auto-configure vlan-ranges dynamic-profile Auto-VLAN-Demux accept any line-identity includes circuit-id set interfaces ae0 auto-configure vlan-ranges dynamic-profile Auto-VLAN-Demux accept any line-identity includes remote-id set interfaces ae0 auto-configure vlan-ranges dynamic-profile Auto-VLAN-Demux accept any line-identity includes accept-no-ids mac-address set interfaces ae0 auto-configure vlan-ranges dynamic-profile Auto-VLAN-Demux ranges ranges 1000-1500 set interfaces ae0 auto-configure stacked-vlan-ranges dynamic-profile Auto-Stacked-VLAN-Demux accept any set interfaces ae0 auto-configure stacked-vlan-ranges dynamic-profile Auto-Stacked-VLAN-Demux ranges 1501-2000,any set interfaces ae0 aggregated-ether-options lacp active set interfaces ae0 aggregated-ether-options lacp link-protection
ステップバイステップの手順
同じVLANインターフェイス上で複数のプロトコルインターフェイススタックを同時に設定する場合、DHCPまたはPPPoEクライアントが最初にルーターにアクセスする物理インターフェイスを設定する必要があります。受信クライアントから期待されるのと同じVLANタグをインターフェイスに指定することをお勧めします。この例では、柔軟なVLANタグ付けを使用して、同じイーサネットポート上の論理インターフェイス上での802.1Q VLANシングルタグおよびデュアルタグフレームの送信を同時にサポートします。
動的VLANを自動的に作成するには、インターフェイスにVLAN範囲タイプ(単一またはスタック)、動的プロファイル参照、およびVLANで使用したい特定の範囲も含める必要があります。
加入者アクセス用の物理インターフェイスを設定するには:
加入者が最初にルーターにアクセスする物理インターフェイスにアクセスします。
[edit] user@host# edit interfaces ge-5/0/9
物理インターフェイスが属する集合型イーサネットインターフェイスを指定します。
[edit interfaces ge-5/0/9] user@host# set gigether-options 802.3ad ae0
集合型イーサネットバンドルに割り当てるインターフェイスごとに、ステップ1とステップ2を繰り返します。
[edit] user@host# set interfaces ge-5/1/9 gigether-options 802.3ad ae0
集合型イーサネットインターフェイスにアクセスします。
[edit] user@host# edit interfaces ae0
集合型イーサネットインターフェイスが使用するVLANタグ付けを指定します。
[edit interfaces ae0] user@host# set flexible-vlan-tagging
auto-configureスタンザを編集して、VLANを自動的に設定します。[edit interfaces ae0] user@host# edit auto-configure
単一タグ付きVLANの
vlan-rangesスタンザを編集します。[edit interfaces ae0 auto-configure] user@host# edit vlan-ranges
単一タグ付き VLAN を動的に作成するためにインターフェイスで使用する動的 VLAN プロファイルを指定します。
[edit interfaces ae0 auto-configure vlan-ranges] user@host# edit dynamic-profile Auto-VLAN-Demux
VLANプロファイルが受け入れるVLANイーサネットパケットタイプを指定します。
[edit interfaces ae0 auto-configure vlan-ranges dynamic-profile Auto-VLAN-Demux] user@host# set accept any
動的プロファイルで使用するVLAN範囲を指定します。次の例では、VLAN ID の下限を 1000、VLAN ID の上限を 1500 に指定しています。
[edit interfaces ae0 auto-configure vlan-ranges dynamic-profile Auto-VLAN-Demux] user@host# set ranges 1000-1500
デュアルタグ付きVLANの
stacked-vlan-rangesスタンザを編集します。[edit interfaces ae0 auto-configure] user@host# edit stacked-vlan-ranges
デュアルタグ付きVLANを動的に作成するためにインターフェイスで使用する動的VLANプロファイルを指定します。
[edit interfaces ae0 auto-configure stacked-vlan-ranges] user@host# edit dynamic-profile Auto-Stacked-VLAN-Demux
スタックVLANプロファイルが受け入れるVLANイーサネットパケットタイプを指定します。
[edit interfaces ae0 auto-configure stacked-vlan-ranges dynamic-profile Auto-Stacked-VLAN-Demux] user@host# set accept any
動的プロファイルで使用する外側と内側のスタックVLAN範囲を指定します。次の例では、1501〜2000の外側のスタックVLAN IDの範囲(単一タグVLANとのVLAN IDの重複を避けるため)とany(内側のスタックVLAN IDに1〜4094の範囲を有効に)を指定しています。
[edit interfaces ge-5/0/9 auto-configure stacked-vlan-ranges dynamic-profile Auto-Stacked-VLAN-Demux] user@host# set ranges 1501-2000,any
(オプション)集合型イーサネットインターフェイスでLACPパケットの送信を有効にします。
[edit interfaces ae0] user@host# set aggregated-ether-options lacp active
集合型イーサネットインターフェイスがリンク保護を使用することを指定します。
[edit interfaces ae0] user@host# set aggregated-ether-options link-protection
ループバックインターフェイスの準備
CLIクイックコンフィグレーション
この例に必要なループバックインターフェイスをすばやく設定するには:
[edit] set interfaces lo0.0 unit 0 family inet address 100.100.100.1/32
ステップバイステップの手順
動的に作成されるインターフェイスの番号なしアドレスおよび優先送信元アドレスとして使用するループバックインターフェイスを設定する必要があります。
この例に必要なループバックインターフェイスを設定するには:
ループバックインターフェイスを設定します。
[edit] user@host# edit interfaces lo0.0
ループバックインターフェイスがinetパケットを受け入れることを指定します。
[edit interfaces lo0 unit 0] user@host# edit family inet
ループバックインターフェイスのIPアドレスを指定します。
[edit interfaces lo0 unit 0 family inet] user@host# set address 100.100.100.1/32
動的単一タグ付き VLAN を作成するための動的プロファイルの設定
CLIクイックコンフィグレーション
この例では、単一タグ付き VLAN を動的に作成するために使用する動的プロファイルをすばやく構成するには:
[edit] set dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit $junos-interface-unit demux-source inet set dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit $junos-interface-unit proxy-arp set dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit $junos-interface-unit vlan-id $junos-vlan-id set dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit $junos-interface-unit vlan-id $junos-vlan-id auto-configure line-identity includes circuit-id set dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit $junos-interface-unit vlan-id $junos-vlan-id auto-configure line-identity includes remote-id set dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit $junos-interface-unit vlan-id $junos-vlan-id auto-configure line-identity includes accept-no-ids mac-address set dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit $junos-interface-unit demux options underlying-interface $junos-interface-ifd-name set dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit $junos-interface-unit family inet unnumbered-address lo0.0 preferred source-address 100.100.100.1 set dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit $junos-interface-unit family pppoe duplicate-protection set dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit $junos-interface-unit family pppoe dynamic-profile PPP-Base-PAP
ステップバイステップの手順
動的DHCP IP demuxインターフェイスと動的PPPoEインターフェイスの両方が、単一タグ付きVLANインターフェイス上に同時に存在するには、まずVLANインターフェイスが存在する必要があります。
VLAN インターフェイスを自動的に作成する動的プロファイルを設定するには:
VLANインターフェイスを自動的に作成するための動的プロファイルを作成します。
[edit] user@host# edit dynamic-profiles Auto-VLAN-Demux
動的VLANプロファイルがdemuxインターフェイスを使用することを指定します。
[edit dynamic-profiles “Auto-VLAN-Demux”] user@host# edit interfaces demux0
動的プロファイルがdemuxインターフェイスユニット値を動的VLANに適用することを指定します。
[edit dynamic-profiles Auto-VLAN-Demux interfaces demux0] user@host# edit unit $junos-interface-unit
demuxソースがIPv4(inet)パケットを受け入れることを指定します。
[edit dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# set demux-source inet
(オプション)ARP要求のターゲットアドレスへのアクティブなルートが存在する限り、動的に作成された各インターフェイスが任意のARP要求に応答することを指定します。
[edit dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# set proxy-arp
VLAN IDが動的に作成されることを指定します。
[edit dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# set vlan-id $junos-vlan-id
- (オプション)
回線ID、リモートIDとして回線識別子を持つPPPoEパケットを受け入れるように動的プロファイルを自動的に設定するには、
accept-no-ids mac-addressオプションを使用して識別子を受信しない場合はmacアドレスを使用します。accept-no-ids属性が設定されていて、ACIまたはARI文字列なしでPPPoE PADIを受信した場合、送信元MACアドレスは基礎となるインターフェイスに連結され、連結された文字列がACI VLANの作成に使用されます。set auto-configure line-identity includes circuit-id set auto-configure line-identity includes remote-id set auto-configure line-identity includes accept-no-ids mac-address
動的VLANの論理基盤インターフェイスを指定します。
[edit dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# set demux-options underlying-interface $junos-interface-ifd-name
VLAN demuxインターフェイスがIP over Ethernet/DHCP加入者のinetファミリーパケットを受け入れることができることを指定します。
[edit dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# edit family inet
ループバックアドレスを、inetファミリーの番号なしアドレスおよび優先送信元アドレスとして指定します。
[edit dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit “$junos-interface-unit” family inet] user@host# set unnumbered-address lo0.0 preferred-source-address 100.100.100.1
VLAN demuxインターフェイスがPPPoE加入者向けのpppoeファミリーパケットを受け入れることを指定します。
[edit dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# edit family pppoe
同じ VLAN インターフェイス上の同じ PPPoE 加入者に対して複数の PPPoE セッションが作成されないようにします。
[edit dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit “$junos-interface-unit” family pppoe] user@host# set duplicate-protection
動的PPPインターフェイスプロファイルを、任意の動的PPPインターフェイスに適用します。
[edit dynamic-profiles Auto-VLAN-Demux interfaces demux0 unit “$junos-interface-unit” family pppoe] user@host# set dynamic-profile PPP-Base-PAP
- (オプション)
回線ID、リモートIDとして回線識別子を持つPPPoEパケットを受け入れるように動的PPPインターフェイスプロファイルを自動的に設定するには、
accept-no-ids mac-addressオプションを使用して識別子を受信しない場合はmacアドレスを使用します。accept-no-ids属性が設定されていて、ACIまたはARI文字列なしでPPPoE PADIを受信した場合、送信元MACアドレスは基礎となるインターフェイスに連結され、連結された文字列がACI VLANの作成に使用されます。set accept pppoe line-identity includes circuit-id set accept pppoe line-identity includes remote-id set accept pppoe line-identity includes accept-no-ids mac-address
動的デュアルタグ付きVLANを作成するための動的プロファイルの設定
CLIクイックコンフィグレーション
この例では、スタック/デュアルタグ付きVLANを動的に作成するために使用する動的プロファイルをすばやく設定します。
[edit] set dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit $junos-interface-unit demux-source inet set dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit $junos-interface-unit proxy-arp set dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit $junos-interface-unit vlan-tags outer $junos-stacked-vlan-id set dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit $junos-interface-unit vlan-tags inner $junos-vlan-id set dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit $junos-interface-unit vlan-tags inner $junos-vlan-id accept any line-identity includes circuit-id set dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit $junos-interface-unit vlan-tags inner $junos-vlan-id accept any line-identity includes remote-id set dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit $junos-interface-unit vlan-tags inner $junos-vlan-id accept any line-identity includes accept-no-ids mac-address set dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit $junos-interface-unit demux options underlying-interface $junos-interface-ifd-name set dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit $junos-interface-unit family inet unnumbered-address lo0.0 preferred source-address 100.100.100.1 set dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit $junos-interface-unit family pppoe duplicate-protection set dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit $junos-interface-unit family pppoe dynamic-profile PPP-Base-PAP
ステップバイステップの手順
動的DHCP IP demuxインターフェイスと動的PPPoEインターフェイスの両方がVLANインターフェイス上に同時に存在するには、まずVLANインターフェイスが存在する必要があります。
スタック/デュアルタグ付きVLANインターフェイスを自動的に作成する動的プロファイルを設定するには、以下を行います。
VLANインターフェイスを自動的に作成するための動的プロファイルを作成します。
[edit] user@host# edit dynamic-profiles Auto-Stacked-VLAN-Demux
動的VLANプロファイルがdemuxインターフェイスを使用することを指定します。
[edit dynamic-profiles “Auto-Stacked-VLAN-Demux”] user@host# edit interfaces demux0
動的プロファイルがdemuxインターフェイスユニット値を動的VLANに適用することを指定します。
[edit dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0] user@host# edit unit $junos-interface-unit
demuxソースがIPv4(inet)パケットを受け入れることを指定します。
[edit dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# set demux-source inet
(オプション)ARP要求のターゲットアドレスへのアクティブなルートが存在する限り、動的に作成された各インターフェイスが任意のARP要求に応答することを指定します。
[edit dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# set proxy-arp
外部VLAN IDが動的に作成されることを指定します。
[edit dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# set vlan-id -tags outer $junos-stacked-vlan-id
内部VLAN IDが動的に作成されることを指定します。
[edit dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# set vlan-id -tags inner $junos-vlan-id
- (オプション)
回線ID、リモートIDとして回線識別子を持つPPPoEパケットを受け入れるように動的プロファイルを自動的に設定するには、
accept-no-ids mac-addressオプションを使用して識別子を受信しない場合はmacアドレスを使用します。accept-no-ids属性が設定されていて、ACIまたはARI文字列なしでPPPoE PADIを受信した場合、送信元MACアドレスは基礎となるインターフェイスに連結され、連結された文字列がACI VLANの作成に使用されます。set auto-configure line-identity includes circuit-id set auto-configure line-identity includes remote-id set auto-configure line-identity includes accept-no-ids mac-address
動的VLANの論理基盤インターフェイスを指定します。
[edit dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# set demux-options underlying-interface $junos-interface-ifd-name
VLAN demuxインターフェイスがIP over Ethernet/DHCP加入者のinetファミリーパケットを受け入れることができることを指定します。
[edit dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# edit family inet
ループバックアドレスを、inetファミリーの番号なしアドレスおよび優先送信元アドレスとして指定します。
[edit dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit “$junos-interface-unit” family inet] user@host# set unnumbered-address lo0.0 preferred-source-address 100.100.100.1
VLAN demuxインターフェイスがPPPoE加入者向けのpppoeファミリーパケットを受け入れることを指定します。
[edit dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# edit family pppoe
同じdemux基板インターフェイス上で、別の動的PPPoE論理インターフェイスがアクティブ化されないようにします。
[edit dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit “$junos-interface-unit” family pppoe] user@host# set duplicate-protection
動的PPPインターフェイスプロファイルを、任意の動的PPPインターフェイスに適用します。
[edit dynamic-profiles Auto-Stacked-VLAN-Demux interfaces demux0 unit “$junos-interface-unit” family pppoe] user@host# set dynamic-profile PPP-Base-PAP
- (オプション)
回線ID、リモートIDとして回線識別子を持つPPPoEパケットを受け入れるように動的PPPインターフェイスプロファイルを自動的に設定するには、
accept-no-ids mac-addressオプションを使用して識別子を受信しない場合はmacアドレスを使用します。accept-no-ids属性が設定されていて、ACIまたはARI文字列なしでPPPoE PADIを受信した場合、送信元MACアドレスは基礎となるインターフェイスに連結され、連結された文字列がACI VLANの作成に使用されます。set accept pppoe line-identity includes circuit-id set accept pppoe line-identity includes remote-id set accept pppoe line-identity includes accept-no-ids mac-address
動的プロファイルを設定して動的IP Demuxインターフェイスを作成する
CLIクイックコンフィグレーション
この例では、DHCP IP デモックスインターフェイスを動的に作成するために使用する動的プロファイルをすばやく設定するには:
[edit] set dynamic-profiles DHCP-IP-Demux interfaces demux0 unit $junos-interface-unit proxy-arp set dynamic-profiles DHCP-IP-Demux interfaces demux0 unit $junos-interface-unit demux-options underlying-interface $junos-underlying-interface set dynamic-profiles DHCP-IP-Demux interfaces demux0 unit $junos-interface-unit family inet demux-source $junos-subscriber-ip-address set dynamic-profiles DHCP-IP-Demux interfaces demux0 unit $junos-interface-unit family inet unnumbered-address lo0.0 preferred-source-address 100.100.100.1
ステップバイステップの手順
IP デモックスインターフェイスを自動的に作成する動的プロファイルを設定するには:
IP デモックスインターフェイスを動的に作成するための動的プロファイルを作成します。
[edit] user@host# edit dynamic-profiles DHCP-IP-Demux
動的プロファイルがdemux0インターフェイスを使用することを指定します。
[edit dynamic-profiles DHCP-IP-Demux] user@host# edit interfaces demux0
動的プロファイルが、動的PPPoEインターフェイスにインターフェイス単位値を適用することを指定します。
[edit dynamic-profiles DHCP-IP-Demux interfaces demux0] user@host# edit unit $junos-interface-unit
(オプション)ルーターにARP要求のターゲットアドレスへのアクティブなルートがある限り、あらゆるARP要求に応答するようにルーターを設定します。
[edit dynamic-profiles DHCP-IP-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# set proxy-arp
動的IP デモックスインターフェイスの論理基盤インターフェイスを指定します。
[edit dynamic-profiles DHCP-IP-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# set demux-options underlying-interface $junos-underlying-interface
動的IP デモックスインターフェイスのプロトコルファミリー情報を指定します。
[edit dynamic-profiles DHCP-IP-Demux interfaces demux0 unit “$junos-interface-unit”] user@host# edit family inet
受信加入者IPアドレスから取得されたdemux送信元アドレスを指定します。
[edit dynamic-profiles DHCP-IP-Demux interfaces demux0 unit “$junos-interface-unit” family inet] user@host# set demux-source $junos-subscriber-ip-address
動的IP demuxインターフェイスの優先ソースアドレスとして、ループバックインターフェイスを番号なしアドレスとして指定し、demuxインターフェイスのIPアドレスを指定します。
[edit dynamic-profiles DHCP-IP-Demux interfaces demux0 unit “$junos-interface-unit” family inet] user@host# set unnumbered-address lo0.0 preferred-source-address 100.100.100.1
動的PPPoEインターフェイスを作成するための動的プロファイルの設定
CLIクイックコンフィグレーション
例でPPPoEインターフェイスを動的に作成するために使用する動的プロファイルをすばやく設定するには:
[edit] set dynamic-profiles PPP-Base-PAP interfaces pp0 unit $junos-interface-unit ppp-options pap set dynamic-profiles PPP-Base-PAP interfaces pp0 unit $junos-interface-unit pppoe-options underlying-interface $junos-underlying-interface server set dynamic-profiles PPP-Base-PAP interfaces pp0 unit $junos-interface-unit no-keepalives set dynamic-profiles PPP-Base-PAP interfaces pp0 unit $junos-interface-unit family inet unnumbered-address lo0.0
ステップバイステップの手順
PPPoE インターフェイスを自動的に作成するための動的プロファイルを作成します。
[edit] user@host# edit dynamic-profiles PPP-Base-PAP
動的PPPoEプロファイルがpp0インターフェイスを使用することを指定します。
[edit dynamic-profiles PPP-Base-PAP] user@host# edit interfaces pp0
動的プロファイルが、動的PPPoEインターフェイスにインターフェイス単位値を適用することを指定します。
[edit dynamic-profiles PPP-Base-PAP interfaces pp0] user@host# edit unit $junos-interface-unit
動的に作成されるPPPoEインターフェイスがPAP認証を使用することを指定します。
[edit dynamic-profiles PPP-Base-PAP interfaces pp0 unit “$junos-interface-unit”] user@host# set ppp-options pap
動的PPPoEインターフェイスの論理基盤インターフェイスを指定します。
[edit dynamic-profiles PPP-Base-PAP interfaces pp0 unit “$junos-interface-unit”] user@host# set pppoe-options underlying-interface $junos-underlying-interface
ルーターがPPPoEサーバーとして機能することを指定します。
[edit dynamic-profiles PPP-Base-PAP interfaces pp0 unit “$junos-interface-unit”] user@host# set pppoe-options server
(オプション)動的PPPoEインターフェイスでのキープアライブメッセージの送信を無効にします。
[edit dynamic-profiles PPP-Base-PAP interfaces pp0 unit “$junos-interface-unit”] user@host# set no-keepalives
動的PPPoEインターフェイスのプロトコルファミリー情報を指定します。
[edit dynamic-profiles PPP-Base-PAP interfaces pp0 unit “$junos-interface-unit”] user@host# edit family inet
動的PPPoEインターフェイスの番号なしアドレスとして、ループバックインターフェイスを指定します。
[edit dynamic-profiles PPP-Base-PAP interfaces pp0 unit “$junos-interface-unit”] user@host# set unnumbered-address lo0.0