surveillance-vlan vlan-id
To globally enable the ASV (Auto Surveillance VLAN) feature and select the surveillance VLAN ID, use the surveillance-vlan command in Global Configuration mode. Use the no form of this command to disable the feature.
Syntax
surveillance-vlan vlan-id vlan-id
no surveillance-vlan vlan-id
Parameters
vlan-id—The ID of the surveillance VLAN
Default Configuration
The ASV feature is disabled.
Command Mode
Global Configuration mode
User Guidelines
The VLAN assigned as the ASV must be an existing static VLAN.
When activating the ASV feature, the IGMP and MLD snooping and querier features become enabled on the VLAN and globally (if disabled). In addition, the bridge multicast filtering global setting is enabled (if disabled).
The Surveillance VLAN must be different form the following VLANs:
-
Voice VLAN
-
Unauthenticated VLAN
-
Guest VLAN
-
Private VLAN
The command can be used to modify the VLAN ID of an existing ASV VLAN. In this case the user will be prompted to confirm the configuration, as the change of the ASV VLAN ID may cause changes to VLAN membership on interfaces on which ASV is enabled (command surveillance-vlan enable (Interface)).
Example
The following example enables the ASV feature on VLAN 3:
switchxxxxxx(config)# surveillance-vlan vlan-id 3