set protocols bgp ipv4-unicast import vrf

Run the command set protocols bgp ipv4-unicast import vrf to configure route leaking by importing BGP routes from the specified user defined non-default VRF into the default VRF.

Run the command delete protocols bgp ipv4-unicast import vrf to remove this configuration from the switch database.


Command Syntax

set protocols bgp ipv4-unicast import vrf <vrf-name>

delete protocols bgp ipv4-unicast import vrf <vrf-name>


Parameter

Parameter

Description

vrf <vrf-name>

Specifies the VRF from which routes are imported. This is the destination VRF for the route and it must be a non-default user defined VRF. The value is a string.


Example

  • This example configures route leaking by importing BGP routes from vrf2 into the default VRF.

admin@Xorplus# set protocols bgp ipv4-unicast import vrf vrf2
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.