# Configuring PIM-SM or PIM-SSM status and properties for a VLAN

Use the following procedure to enable PIM on a VLAN and configure related properties.

By default, PIM-SM is disabled on VLANs.

## Prerequisites

- You must enable PIM-SM globally.

- Before you change the state (active or passive) of a PIM interface using the InterfaceType field, first disable PIM to prevent instability in the PIM operations, especially when neighbors are present or when streams are received.

## Procedure steps

1. From the navigation tree, double-click VLAN.

2. In the VLAN tree, double-click VLANs.

3. In the Basic tab, select the VLAN ID that you want to configure with PIM.

4. In the toolbar, click IP.

5. In the work area, click the PIM tab.

6. Select the Enable check box.

7. Configure the parameters as required.

8. In the toolbar, click Apply.

## Variable definitions

The following table describes the fields of the PIM tab.

Field | Description
--- | ---
Enable | Enables or disables PIM-SM on the VLAN.
Mode | Displays the PIM mode on the switch: sparse mode or source specific multicast mode.
HelloInterval | Specifies the interval (in seconds) that the PIM router waits between sending out hello message to neighboring routers. The default is 30 seconds.
JoinPruneInterval | Specifies the interval (in seconds) the PIM router waits between sending out join/prune message to its upstream neighbors. The default is 60 seconds.
CBSRPreference | Specifies the preference for this local interface to become a C-BSR. The C-BSR with the highest BSR priority and address is the preferred BSR. The default is –1, which indicates that the current interface is not a C-BSR.
InterfaceType | Specifies the state (active or passive) of PIM on a VLAN interface. An active interface transmits and receives PIM control traffic. A passive interface drops all PIM control traffic, thereby reducing the load on the system. Passive interfaces are useful when you have a high number of PIM interfaces and these interfaces are connected to end users, not to other switches. By default, PIM-SM interfaces are active.