VLAN
Configuration
configure terminal
vlan 10
name VOICE
exit
vlan 50
name DATA
exit
configure terminal
interface fa0/10
switchport mode access
switchport access vlan 50
interface range fa0/1 - 4
switchport mode access
switchport access vlan 50
switchport voice vlan 10
Statut
show vlan brief
show vtp status
Trunk
Configuration
configure terminal
interface fastEthernet 0/24
switchport trunk encapsulation dot1q
switchport mode trunk
Statut
show interfaces FastEthernet 0/24 switchport
Freebox v5 / VLAN100
Configuration du port pour la Freebox
moyra(config-if)#no switchport access vlan
moyra(config-if)#switchport mode trunk
moyra(config-if)#switchport trunk encapsulation dot1q
moyra(config-if)#switchport trunk native vlan 101
moyra(config-if)#switchport trunk allowed vlan 100
Configuration du port pour le pare-feu
moyra(config-if)#switchport access vlan 101
Configuration du port pour le boitier HD
moyra(config-if)#no switchport access vlan
moyra(config-if)#switchport mode trunk
moyra(config-if)#switchport trunk encapsulation dot1q
moyra(config-if)#switchport trunk allowed vlan 100