Junos OSリリース14.1以降、スタック802.1Q VLANを作成するための動的プロファイルを設定できるようになりました。
動的VLANプロファイルを設定するには:
- 動的プロファイルを作成します。
user@host# set dynamic-profile STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"
- (オプション)動的demuxインターフェイスをサポートするには、IPv4またはIPv6に対して有効にします。
-
IPv4 デモックスインターフェイスの場合:
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"]
user@host# set demux-source inet
-
IPv6 デモックスインターフェイスの場合:
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"]
user@host# set demux-source inet6
- (オプション)ARP要求に応答するようにルーターを設定するには、
proxy-arpステートメントを指定します。
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"]
user@host# set proxy-arp
- 外部VLAN ID変数を指定します。
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"]
user@host# set vlan-tags outer $junos-stacked-vlan-id
変数は、 [interfaces] 階層レベルで指定されたVLAN範囲内の外部VLAN IDに動的に置き換えられます。
- 内部VLAN ID変数を指定します。
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"]
user@host# set vlan-tags inner $junos-vlan-id
変数は、 [interfaces] 階層レベルで指定されたVLAN範囲内の内部VLAN IDに動的に置き換えられます。
- ユニット ファミリ タイプを定義します。
- IPv4インターフェイスの場合:
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"]
user@host# set family inet
- IPv6インターフェイスの場合:
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit"]
user@host# set family inet6
- (オプション)動的プロファイルの動的demuxインターフェイスのIPおよびMACアドレス検証を有効にします。
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit" family inet]
user@host# set mac-validate loose
- 番号なしアドレスと優先送信元アドレスを指定します。
[edit dynamic-profiles STACKED-VLAN-PROF1 interfaces "$junos-interface-ifd-name" unit "$junos-interface-unit" family inet]
user@host# set unnumbered-address lo.0 preferred-source-address 192.0.2.16
変更履歴テーブル
サポートされる機能は、使用しているプラットフォームとリリースによって決まります。 機能エクスプローラー を使用して、機能がお使いのプラットフォームでサポートされているかどうかを確認します。
14.1
Junos OSリリース14.1以降、スタック802.1Q VLANを作成するための動的プロファイルを設定できるようになりました。