Povolenie VLANe prechodu cez TRUNK.


Pôvodný stav.

VLANa 2081 ešte nepriradená TRUNKOvým portom.














Povoľovanie.


switch49bf19#configure

switch49bf19(config)#interface range GigabitEthernet 1-4

switch49bf19(config-if-range)#switchport mode trunk

switch49bf19(config-if-range)#switchport trunk allowed vlan add 2081



VLANa 2081 už priradená TRUNKOvým portom.













Priradenie portu Fa2 VLANe 2081.


Pôvodný stav.

VLANa 2081 ešte nepriradená portu Fa2.













Priraďovanie portu Fa2 VLANe 2081.


switch49bf19#configure

switch49bf19(config)#interface FastEthernet 2

switch49bf19(config-if)#switchport mode access

switch49bf19(config-if)#switchport access vlan 2081



Po priradení portu VLANe.














Vrátenie portu do default VLAN.


Pôvodný stav.











Uvoľnenie portu Fa2 od VLANy.


switch49bf19#configure

switch49bf19(config)#interface FastEthernet 2

switch49bf19(config-if)#switchport mode access

switch49bf19(config-if)#no switchport access vlan

switch49bf19(config-if)#













Zrušenie prechodu VLAN 2081 cez SWITCH.

P ôvodný stav













Uvoľnenie VLANy 2081 od TRUNK portov.


switch49bf19#configure

switch49bf19(config)#interface range GigabitEthernet 1-4

switch49bf19(config-if-range)#switchport mode trunk

switch49bf19(config-if-range)#switchport trunk allowed vlan remove 2081