The evi vpn-target command associates the EVI-RT extended community attributes of IGMP Join Synch routes with a BD.
The undo evi vpn-target command deletes the EVI-RT extended community attributes of IGMP Join Synch routes associated with a BD.
By default, the EVI-RT extended community attributes of IGMP Join Synch routes are not associated with a BD.
Parameter | Description | Value |
---|---|---|
vrfRt |
Specifies an EVI VPN target added to VPN target lists of the EVPN instance address family for IGMP Join Synch routes. |
vpn-target can be in any of the following formats:
|
vrfRtType |
Adds an EVI VPN target to specified VPN target lists of the EVPN instance address family. |
This vlaue can be: export-extcommunity: Adds an EVI VPN target to the export VPN target list of the EVPN instance address family. import-extcommunity: Adds an EVI VPN target to the import VPN target list of the EVPN instance address family. both: Adds an EVI VPN target to both the import and export VPN target lists of the EVPN instance address family. If vrfRtType is not specified, both is used by default. |
Usage Scenario
When IGMP snooping runs in a BD in an EVPN scenario, PEs synchronize IGMP signaling through BGP EVPN IGMP Join Synch routes. Each IGMP Join Synch route must carry a unique EVI-RT extended community attribute. To configure a unique EVI-RT extended community attribute in a BD, run the evi vpn-target command.
Prerequisites
IGMP signaling synchronization based on IGMP Join Synch routes has been enabled using the igmp-snooping signal-synch enable command in a BD.
<HUAWEI> system-view [~HUAWEI] igmp-snooping enable [*HUAWEI] evpn vpn-instance vrf1 bd [*HUAWEI-evpn-instance-vrf1] route-distinguisher 100:1 [*HUAWEI-evpn-instance-vrf1] quit [*HUAWEI] bridge-domain 1 [*HUAWEI-bd1] evpn binding vpn-instance vrf1 [*HUAWEI-bd1] igmp-snooping enable [*HUAWEI-bd1] igmp-snooping proxy [*HUAWEI-bd1] igmp-snooping signal-synch enable [*HUAWEI-bd1] evi vpn-target 1:1 both