[index] CentreCOM x610シリーズ コマンドリファレンス 5.4.3
モード: インターフェースモード
カテゴリー: 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) 2011 - 2013 アライドテレシスホールディングス株式会社
PN: 613-001613 Rev.D