VLAN Membership Policy Server (VMPS) / Dynamic VLANs
VMPS permet d’assigner dynamiquement un vlan en mode accès à un port
- sur la base de adresse mac de l’équipement connecté.
- Un Switch 6500 peut être configuré en serveur VMPS
Configuration
SW1#conf t
SW1(config)#vmps server 10.1.1.10 primary
SW1(config)#vmps server 10.1.1.12
SW1(config)#vmps reconfirm 30
SW1(config)#vmps retry 5
SW1(config)#int range fa0/1-10
SW1(config-if-range)#switchport access vlan dynamic
Vérifications
SW1#show vmps VQP Client Status: -------------------- VMPS VQP Version: 1 Reconfirm Interval: 30 min Server Retry Count: 5 VMPS domain server: 10.1.1.12 10.1.1.10 (primary, current) Reconfirmation status --------------------- VMPS Action: other
SW1#show interfaces status Port Name Status Vlan Duplex Speed Type Fa0/1 R1:fa0/0 connected unassigned a-full a-100 10/100BaseTX Fa0/2 notconnect unassigned auto auto 10/100BaseTX Fa0/3 R3:fa0/0 notconnect unassigned auto auto 10/100BaseTX Fa0/4 notconnect unassigned auto auto 10/100BaseTX Fa0/5 R5:fa0/0 notconnect unassigned auto auto 10/100BaseTX Fa0/6 notconnect unassigned auto auto 10/100BaseTX Fa0/7 notconnect unassigned auto auto 10/100BaseTX Fa0/8 notconnect unassigned auto auto 10/100BaseTX Fa0/9 notconnect unassigned auto auto 10/100BaseTX Fa0/10 notconnect unassigned auto auto 10/100BaseTX Fa0/11 monitoring 1 a-half auto 10/100BaseTX Fa0/12 connected 21 a-full a-100 10/100BaseTX Fa0/13 connected trunk a-full a-100 10/100BaseTX Fa0/14 notconnect 1 auto auto 10/100BaseTX Fa0/15 notconnect 1 auto auto 10/100BaseTX Fa0/16 notconnect 1 auto auto 10/100BaseTX Fa0/17 notconnect 1 auto auto 10/100BaseTX Fa0/18 SW2 connected 100 a-full a-100 10/100BaseTX Fa0/19 SW2 connected 100 a-full a-100 10/100BaseTX Fa0/20 SW2 connected 100 a-full a-100 10/100BaseTX Fa0/21 SW3 connected trunk a-full a-100 10/100BaseTX Port Name Status Vlan Duplex Speed Type Fa0/22 SW3 connected trunk a-full a-100 10/100BaseTX Fa0/23 SW4 connected trunk a-full a-100 10/100BaseTX Fa0/24 SW4 connected trunk a-full a-100 10/100BaseTX Gi0/1 SW2:Gi0/1 disabled 1 auto auto 1000BaseSX Gi0/2 SW2:Gi0/2 disabled 1 auto auto 1000BaseTX