SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#vlan 2
SW1(config-vlan)#name secretaire
SW1(config-vlan)#end
On voit le vlan apparaître
SW1#show vlan brief
VLAN Name Status Ports
1 default active Fa0/1, Fa0/2,
2 secretaire active
On défini un des ports 0/2 dans le vlan 2 (secretaire)
SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#interface FastEthernet0/2
SW1(config-if)#switchport access vlan 2
SW1(config-if)#end
Catégorie : cmd Cisco Rubrique: VLAN
Ang: name
Fra.: nom
Définir le Vlan du nom de secretaire
SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#vlan 2
SW1(config-vlan)#name secretaire
SW1(config-vlan)#end
On voit le vlan apparaître
SW1#show vlan brief
VLAN Name Status Ports
1 default active Fa0/1, Fa0/2,
2 secretaire active
On défini un des ports 0/2 dans le vlan 2 (secretaire)
SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#interface FastEthernet0/2
SW1(config-if)#switchport access vlan 2
SW1(config-if)#end