- 現在との差分 を表示
- ソース を表示
- Ciscoコマンド集/S/switchport trunk allowed へ行く。
7: 2009-02-13 (金) 11:39:18 staff | 8: 2009-03-16 (月) 17:41:50 staff | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TITLE:トランクリンク上で特定のVLANフレームの転送を止める | + | TITLE:トランクリンク上で特定VLANの追加や削除を行う |
#norelated | #norelated | ||
#navi(Ciscoコマンド集) | #navi(Ciscoコマンド集) | ||
Line 15: | Line 15: | ||
:試験レベル| &tag(BCMSN); | :試験レベル| &tag(BCMSN); | ||
- | :構文|switchport trunk allowed vlan remove '''VLAN番号''' | + | :構文|switchport trunk allowed vlan [add | remove] '''VLAN番号''' |
#footnotes(nohr); | #footnotes(nohr); | ||
:使用例| | :使用例| | ||
+ | ●"switchport trunk allowed vlan add"コマンドでトランクリンクにVLANを追加する。 | ||
+ | #pre(soft){{ | ||
+ | Switch#show interfaces trunk | ||
+ | |||
+ | Port Mode Encapsulation Status Native vlan | ||
+ | Fa0/12 on 802.1q trunking 1 | ||
+ | |||
+ | Port Vlans allowed on trunk | ||
+ | Fa0/12 1-59,61-4094 | ||
+ | |||
+ | Port Vlans allowed and active in management domain | ||
+ | Fa0/12 1,70,80,90,100 | ||
+ | |||
+ | Port Vlans in spanning tree forwarding state and not pruned | ||
+ | Fa0/12 1,70,80,90,100 | ||
+ | Switch#conf t | ||
+ | Enter configuration commands, one per line. End with CNTL/Z. | ||
+ | Switch(config)#int fa0/12 | ||
+ | Switch(config-if)#switchport trunk allowed vlan add ? | ||
+ | WORD VLAN IDs of disallowed VLANS when this port is in trunking mode | ||
+ | |||
+ | |||
+ | Switch(config-if)#switchport trunk allowed vlan add 60 ? | ||
+ | <cr> | ||
+ | |||
+ | Switch(config-if)#switchport trunk allowed vlan add 60((トランクリンクからVLAN60を削除する)) | ||
+ | Switch(config-if)#end | ||
+ | Switch#show interfaces trunk | ||
+ | |||
+ | Port Mode Encapsulation Status Native vlan | ||
+ | Fa0/12 on 802.1q trunking 1 | ||
+ | |||
+ | Port Vlans allowed on trunk | ||
+ | Fa0/12 1-4094 | ||
+ | |||
+ | Port Vlans allowed and active in management domain | ||
+ | Fa0/12 1,60,70,80,90,100 | ||
+ | |||
+ | Port Vlans in spanning tree forwarding state and not pruned | ||
+ | Fa0/12 1,60,70,80,90,100 | ||
+ | Switch# | ||
+ | }} | ||
+ | |||
+ | ●"switchport trunk allowed vlan remove"コマンドでトランクリンクからVLANを削除する。 | ||
#pre(soft){{ | #pre(soft){{ | ||
Switch#show interfaces trunk | Switch#show interfaces trunk | ||
Line 63: | Line 107: | ||
#footnotes(nohr); | #footnotes(nohr); | ||
- | :解説|該当インターフェースのトランクリンク内にある不必要VLANをトランクリンクから省く事が出来ます。 | + | :解説|該当インターフェースのトランクリンク内にあるVLANをトランクリンクへ追加や削除を行う事が出来ます。 |
#footnotes(nohr); | #footnotes(nohr); | ||
Line 70: | Line 114: | ||
:参考リンク|[[ネットワークエンジニアとして VLAN Trunk>http://www.infraexpert.com/study/vlan1.3.htm]] | :参考リンク|[[ネットワークエンジニアとして VLAN Trunk>http://www.infraexpert.com/study/vlan1.3.htm]] | ||
- | [[Google検索>Google検索:"switchport trunk allowed vlan remove " ( cisco | ccna | ccnp | ccie ) -"cisco-records" -"ISBN" -"ISBN4"]] | + | [[Google検索>Google検索:"switchport trunk allowed vlan" ( cisco | ccna | ccnp | ccie ) -"cisco-records" -"ISBN" -"ISBN4"]] |
:タグ|&tag(Trunk,,,,,,,,,,,,,,,,,,); | :タグ|&tag(Trunk,,,,,,,,,,,,,,,,,,); |
- Ciscoコマンド集/S/switchport trunk allowed のバックアップ一覧
- Ciscoコマンド集/S/switchport trunk allowed のバックアップ差分(No. All)
- 1: 2007-11-01 (木) 23:59:29 staff
- 2: 2007-11-07 (水) 17:27:49 staff
- 3: 2007-11-07 (水) 17:27:49 staff
- 4: 2008-12-18 (木) 21:38:05 staff
- 5: 2008-12-22 (月) 16:15:35 staff
- 6: 2009-02-06 (金) 13:52:45 staff
- 7: 2009-02-13 (金) 11:39:18 staff
- 8: 2009-03-16 (月) 17:41:50 staff
- 9: 2009-03-16 (月) 20:04:28 staff
- 現: 2009-08-04 (火) 16:03:21 staff_mita
Counter: 21325,
today: 1,
yesterday: 1