Association des ports et des VLAN
Exemple 1 : CISCO SG300
Sw-C305-1#show vlan Created by: D-Default, S-Static, G-GVRP, R-Radius Assigned VLAN, V-Voice VLAN Vlan Name Tagged Ports UnTagged Ports Created by ---- ----------------- ------------------ ------------------ ---------------- 1 1 Po1-8 V 2 2 gi10 S 10 etudiants gi10 gi2-4 S 20 professeurs gi10 gi5-7 S 99 gestion gi1 S 999 trouNoir gi8-9 S
Exemple 2 : CISCO SF300
Sw-C305-1#show vlan Created by: D-Default, S-Static, G-GVRP, R-Radius Assigned VLAN, V-Voice VLAN Vlan Name Tagged Ports UnTagged Ports Created by ---- ----------------- ------------------ ------------------ ---------------- 1 1 fa1-3,Po1-8 DV 2 2 fa8 S 10 etudiants fa8 fa4 S 20 professeurs fa8 fa5-7 S 30 30 S
Configuration d'un port
Cas d'un port en mode access
Exemple 1 : CISCO SG300
Sw-C305-1#show interfaces switchport GigabitEthernet 5 Added by: D-Default, S-Static, G-GVRP, R-Radius Assigned VLAN, T-Guest VLAN, V-Voice VLAN Port : gi5 Port Mode: Access Gvrp Status: disabled Ingress Filtering: true Acceptable Frame Type: admitAll Ingress UnTagged VLAN ( NATIVE ): 20 Port is member in: Vlan Name Egress rule Added by ---- -------------------------------- ----------- ---------------- 20 professeurs Untagged S
Cas d'un port en mode trunk
Exemple 1 : CISCO SG300
Sw-C305-1show interfaces switchport GigabitEthernet 10 Added by: D-Default, S-Static, G-GVRP, R-Radius Assigned VLAN, T-Guest VLAN, V-Voice VLAN Port : gi10 Port Mode: Trunk Gvrp Status: disabled Ingress Filtering: true Acceptable Frame Type: admitAll Ingress UnTagged VLAN ( NATIVE ): 2 Port is member in: Vlan Name Egress rule Added by ---- -------------------------------- ----------- ---------------- 2 2 Untagged S 10 etudiants Tagged S 20 professeurs Tagged S