Disabling a port from becoming a dynamic router port

About disabling a port from becoming a dynamic router port

A receiver host might send MLD general queries or IPv6 PIM hello messages for testing purposes. On the Layer 2 device, the port that receives either of the messages becomes a dynamic router port. Before the aging timer for the port expires, the following problems might occur:

To solve these problems, you can disable the port from becoming a dynamic router port when receiving either of the messages. This also improves network security and the control over receiver hosts.

Restrictions and guidelines

This configuration and the static router port configuration do not interfere with each other.

Procedure

  1. Enter system view.

    system-view

  2. Enter Layer 2 interface view.

    • Enter Layer 2 Ethernet interface view.

      interface interface-type interface-number

    • Enter Layer 2 aggregate interface view.

      interface bridge-aggregation interface-number

  3. Disable the port from becoming a dynamic router port.

    mld-snooping router-port-deny [ vlan vlan-list ]

    By default, a port is allowed to become a dynamic router port.