< Home

Configuring a Multicast Boundary

Pre-configuration Tasks

Before configuring the multicast boundary, complete the following tasks:

  • Configure a unicast routing protocol to ensure normal unicast routing on the network.
  • Run the multicast routing-enable command in the system view to enable Layer 3 multicast routing globally.

Context

To restrict forwarding of multicast packets sent to a multicast group within a range, configure a multicast boundary on interfaces. Once the multicast boundary is configured on an interface, multicast packets sent to the group cannot be forwarded through the interface.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. (Optional) On an Ethernet interface, run undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

    Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

  4. Run multicast boundary group-address { mask | mask-length }

    A multicast boundary is configured on the interface.

Verifying the Configuration

After configuring a multicast boundary on interfaces, check the multicast routing table and information about the multicast boundary on the interfaces to verify that the multicast network can operate normally.

  • Run either of the following commands to check the multicast routing table:

    • display multicast routing-table [ group-address [ mask { group-mask | group-mask-length } ] | source-address [ mask { source-mask | source-mask-length } ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { include | exclude | match } { interface-type interface-number | register | none } ] * [ outgoing-interface-number [ number ] ]

  • Run the display multicast boundary [ group-address [ mask | mask-length ] ] [ interface interface-type interface-number ] command to check information about the multicast boundary configured on an interface.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >