cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
370
Views
5
Helpful
2
Replies

ask VLAN is active or not

Muhammad Hakim
Level 1
Level 1

Hi forum,

 

maybe this is a silly question, but i need to know how the VLAN is whether active or not, example i have a switch with VLAN A, but theres no accessport on the switch, but actually the traffic VLAN just pass by. i search on Distribution when svi interface VLAN/gateway, but theres no IP address located on it. maybe i dont know who use the VLAN and where the VLAN goes. so i want know how

 

thanks

2 Replies 2

Peter Paluch
Cisco Employee
Cisco Employee

Muhammad,

It is hard to tell just by looking at a single switch if a VLAN is being used or is currently unused. But to me, the most straightforward way of testing things would simply be to use the show mac address-table dynamic vlan vlan-id command. If any MAC addresses are displayed then there is definitely some traffic present in this VLAN. If no MAC addresses are displayed, however, then the VLAN may still be used but the MAC addresses could have expired, or VTP pruning is in effect - there are several reasons why there are no MAC addresses learned even on a used VLAN.

My two cents here...

Best regards,
Peter

thanks Peter, that is helpful answer.. :)