Changing the interface status to active

Change the PIM interface status to active to allow PIM control traffic on the interface.

Before you begin

  • The PIM interface is disabled.

About this task

The command you use depends on the required administrative state of the interface (enable or disable).

Procedure

  1. Enter Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]} or interface vlan <1–4059>

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Create an active interface in the disabled state:

    ip pim interface-type active

    You must manually enable the interface.

  3. Create an active interface and enable it simultaneously:

    ip pim active

    OR

    ip pim enable

    The second command enables an active interface only if this is the first PIM interface you create on the port or VLAN or you created an active interface in the disabled state. If you already created a passive interface in the disabled state, the second command enables that passive interface.

Variable definitions

Use the data in the following table to use the ip pim command.

Variable

Value

active

Configures the selected interface. You can change the state of a PIM interface after you create the interface but only if you first disable PIM on the interface. An active interface permits PIM control transmitted and received traffic. A passive interface prevents PIM control traffic from transmitting or receiving, thereby reducing the load on a system. This feature is useful if a high number of PIM interfaces exist and connect to end users, not to other switches. The default is active. To configure this option to the default value, use the default operator with the command.

passive

Configures the selected interface. You can change the state of a PIM interface after you create the interface but only if you first disable PIM on the interface. An active interface permits PIM control transmitted and received traffic. A passive interface prevents PIM control traffic from transmitting or receiving, thereby reducing the load on a system. This feature is useful if a high number of PIM interfaces exist and connect to end users, not to other switches. The default is active. To configure this option to the default value, use the default operator with the command.