コンフィグレーションコマンドレファレンス Vol.1
MLD snoopingを実行するVLANを設定します。本コマンドを入力後,mld-snoopingモードに移行します。
[入力モード]
グローバルコンフィグモード
[入力形式]
- 情報の設定・変更
- mld-snooping [{ yes | no }]
- >>移行モード:mld-snooping
- 情報の削除
- delete mld-snooping
- 情報の表示
- show mld-snooping
[サブコマンド入力形式]
- 情報の設定・変更
- target-vlan <VLAN ID>
- >>移行モード:mld-snooping-target-vlan(サブコマンドモード)
- target-vlan <VLAN ID list>
- >>移行モード:mld-snooping-target-vlan(マルチサブコマンドモード)
- 情報の削除
- delete target-vlan <VLAN ID>
- delete target-vlan <VLAN ID list>
- 情報の表示
- show target-vlan <VLAN ID>
- show target-vlan <VLAN ID list>
[モード階層]
mld-snooping └─ mld-snooping-target-vlan
[パラメータ]
- { yes | no }
- 本装置において,MLD snooping機能の有効/無効を指定します。yesを指定すると有効になり,noを指定するとMLD snooping機能を無効にします。
- 本パラメータ省略時の初期値
yes
[サブコマンド]
- target-vlan <VLAN ID>
- 指定したVLANにMLD snoopingを開始します。本サブコマンドを入力後,mld-snooping-target-vlanモード(サブコマンドモード)に移行します。
- 本サブコマンド省略時の初期値
なし
- 値の設定範囲
設定・変更時:2〜4095
削除時:2〜4095
表示時:2〜4095
- 注意事項
未定義のVLANは指定できません。また,デフォルトVLAN(VLAN ID:1)も指定できません。
- target-vlan <VLAN ID list>
- MLD snoopingを実行する複数のVLANを一括指定します。
- 本サブコマンドを入力後,mld-snooping-target-vlanモード(マルチサブコマンドモード)に移行します。
- 【”-”または”,”による範囲指定】
- 指定範囲のすべてのVLAN IDをMLD snoopingの対象にします。設定範囲を満たさないVLANが一つでも指定されていた場合はエラーとします。
- 【”*”による範囲指定】
- MLD snoopingに設定済みのすべてのVLANを対象にします。設定時には指定できません。
- 本サブコマンド省略時の初期値
なし
- 値の設定範囲
設定・変更時:2〜4095
削除時:2〜4095
表示時:2〜4095
- 注意事項
未定義のVLANは指定できません。また,デフォルトVLAN(VLAN ID:1)も指定できません。
[入力例]
mld-snooping-target-vlanモード(サブコマンドモード)での入力例を示します。
- 情報の設定
VLAN10にMLD snoopingを設定し,マルチキャストルータポートの設定をします。
(config)# mld-snooping [mld-snooping] (config)# target-vlan 10 [mld-snooping target-vlan 10] (config)# mrouter-port 1/1,2/1 [mld-snooping target-vlan 10] (config)# exit- 情報の変更
VLAN10をdisableに変更します。
(config)# mld-snooping [mld-snooping] (config)# target-vlan 10 [mld-snooping target-vlan 10] (config)# disable [mld-snooping target-vlan 10] (config)# exit- 情報の表示
設定内容を表示します。
(config)# show mld-snooping mld-snooping yes target-vlan 10 disable mrouter-port 1/1 mrouter-port 2/1- 情報の削除
VLAN10のマルチキャストルータ指定を全削除します。
(config)# mld-snooping [mld-snooping] (config)# target-vlan 10 [mld-snooping target-vlan 10] (config)# delete mrouter-port */* [mld-snooping target-vlan 10] (config)# exit (config)# show mld-snooping mld-snooping yes target-vlan 10 disablemld-snooping-target-vlanモード(マルチサブコマンドモード)での入力例を示します。
- 情報の設定
マルチサブコマンドモードによりVLAN 30〜32にMLD snoopingを設定します。さらに,VLAN30〜32にクエリアを設定します。
(config)# mld-snooping [mld-snooping] (config)# target-vlan 30-32 [mld-snooping target-vlan 30-32] (config)# querier [mld-snooping target-vlan 30-32] (config)# exit- 情報の変更
VLAN30〜32にMLD snoopingのdisableを設定します。
(config)# mld-snooping [mld-snooping] (config)# target-vlan 30-32 [mld-snooping target-vlan 30-32] (config)# disable [mld-snooping target-vlan 30-32] (config)# exit- 情報の表示
設定内容を表示します。
(config)# show mld-snooping mld-snooping yes target-vlan 30 disable querier target-vlan 31 disable querier target-vlan 32 disable querier- 情報の削除
VLAN 30〜32からクエリアを削除します。
(config)# mld-snooping [mld-snooping] (config)# target-vlan 30-32 [mld-snooping target-vlan 30-32] (config)# delete querier [mld-snooping target-vlan 30-32] (config)# exit (config)# show mld-snooping mld-snooping yes target-vlan 30 disable target-vlan 31 disable target-vlan 32 disable
[関連コマンド]
vlan(VLAN情報)
link-aggregation(リンクアグリゲーション情報)
[注意事項]
- ほかのレイヤ2スイッチ機能との共存については,「解説書 Vol.1 6.1.3 レイヤ2スイッチ機能と他機能の共存について」を参照してください。
Copyright (c)2005, 2011, ALAXALA Networks Corporation. All rights reserved.