The peer split-group command configures a split horizon group (SHG) to which a BGP EVPN peer group belong.
The undo peer split-group command restores the default configuration.
By default, no SHG is configured for a BGP EVPN peer group.
Parameter | Description | Value |
---|---|---|
group-name |
Specifies the name of a BGP EVPN peer group. |
The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
split-group split-group-name |
Specifies the name of the SHG to which BGP EVPN peers (or peer groups) belong. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. The string can contain spaces if it is enclosed with double quotation marks ("). |
Usage Scenario
In a scenario where segment VXLAN is used to implement Layer 2 interworking between DCs, a VXLAN tunnel is established in BGP EVPN mode between the DCs. To prevent forwarding BUM traffic from causing loops, run the peer split-group command on the transit leaf nodes (edge devices interconnecting the DCs) to configure an SHG to which the BGP EVPN peers (transit leaf nodes) belong. After the configuration is complete, devices within a DC belong to the default SHG, and transit leaf nodes between DCs belong to the specified SHG. In this manner, when a transit leaf node receives BUM traffic, it does not forward traffic to a device belonging to the same SHG, therefore preventing loops.
Prerequisites
BGP EVPN peer groups have been enabled to exchange route information using the peer enable command.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] group gp1 [*HUAWEI-bgp] peer 10.1.1.9 as-number 100 [*HUAWEI-bgp] l2vpn-family evpn [*HUAWEI-bgp-af-evpn] peer gp1 enable [*HUAWEI-bgp-af-evpn] peer 10.1.1.9 group gp1 [*HUAWEI-bgp-af-evpn] peer gp1 split-group aa