irb asymmetric (BGP-VPN instance IPv4 address family view)

Function

The irb asymmetric command enables the asymmetric mode for IRB routes.

The undo irb asymmetric command restores the default configuration.

By default, the asymmetric mode is disabled for IRB routes.

Format

irb asymmetric

undo irb asymmetric

Parameters

None

Views

BGP-VPN instance IPv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

By default, a device generates an IP prefix route based on the IP address in an IRB route that it has received from a BGP EVPN peer. IP prefix routes can be used for Layer 3 traffic forwarding. If Layer 2 forwarding is required, run the irb asymmetric command to enable the asymmetric mode for IRB routes. Specifically, after this configuration is performed, the device does not generate IP prefix routes after receiving IRB routes.

Example

# Enable the asymmetric mode for IRB routes.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[*HUAWEI-vpn-instance-vpna] route-distinguisher 1:1
[*HUAWEI-vpn-instance-vpna] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family vpn-instance vpna
[*HUAWEI-bgp-vpna] irb asymmetric
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >