[index] CentreCOM x600シリーズ コマンドリファレンス 5.4.2

switchport private-vlan host-association

モード: インターフェースモード
カテゴリー: L2スイッチング / バーチャルLAN


(config-if)# switchport private-vlan host-association <1-4094> add <1-4094>

(config-if)# no switchport private-vlan host-association


対象スイッチポートがマルチプルVLAN(プライベートVLAN)のホストポート(プライベートポート)として設定されている場合、該当ホストポートの所属先VLAN(セカンダリーVLAN。アイソレートVLANとコミュニティーVLANがある)とプライマリーVLAN(プロミスキャスポートが所属しているVLAN)を指定する。
no形式で実行した場合は、該当ホストポートの所属先VLANとプライマリーVLANの設定を削除する。


パラメーター

<1-4094> プライマリーVLANのVLAN ID(VID)
add <1-4094> セカンダリーVLANのVLAN ID(VID)


使用例

■ プライベートVLAN用ホストポートの設定例。ここでは、プロミスキャスポートの所属するプライマリーVLANがvlan2であると仮定している。

awplus(config)# interface port1.0.3-1.0.8
awplus(config-if)# switchport mode private-vlan host
awplus(config-if)# switchport private-vlan host-association 2 add 21
awplus(config-if)# exit
awplus(config)# interface port1.0.9-1.0.10
awplus(config-if)# switchport mode private-vlan host
awplus(config-if)# switchport private-vlan host-association 2 add 22
awplus(config-if)# exit
awplus(config)# interface port1.0.11-1.0.12
awplus(config-if)# switchport mode private-vlan host
awplus(config-if)# switchport private-vlan host-association 2 add 23



注意・補足事項

■ 本コマンドで指定するプライマリーVLANとセカンダリーVLANは、private-vlan associationコマンドで関連付けされていなくてはならない。


コマンドツリー

interface (グローバルコンフィグモード)
    |
    +- switchport private-vlan host-association(インターフェースモード)


関連コマンド

private-vlan(VLANモード)
private-vlan association(VLANモード)
show vlan private-vlan(特権EXECモード)
switchport mode private-vlan(インターフェースモード)
switchport private-vlan mapping(インターフェースモード)
vlan(VLANモード)



(C) 2008 - 2012 アライドテレシスホールディングス株式会社

PN: 613-001070 Rev.M