R21xx-HP FlexFabric 11900 Layer 3 IP Routing Command Reference
258
Views
BGP view
Predefined user roles
network-admin
Parameters
vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
After you create a BGP peer in BGP-VPN instance view, the BGP routes learned from the peer are added
into the routing table of the specified VPN instance.
This command and all commands in BGP-VPN instance view are usually executed on provider edge (PE)
or Multi-VPN-Instance CE (MCE) devices to add routes learned from different sites into different VPN
instances.
Before you execute this command, use the ip vpn-instance command to create the VPN instance in
system view, and use the route-distinguisher command to configure a route distinguisher (RD) for the
VPN instance.
Examples
# Enter BGP-VPN instance view of VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] route-distinguisher 100:1
[Sysname-vpn-instance-vpn1] quit
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1]
Related commands
• ip vpn-instance (system-view) (MPLS Command reference)
• route-distinguisher (MPLS Command reference)
ipv4-family
Use ipv4-family to create and enter BGP IPv4 unicast address family view or BGP-VPN IPv4 unicast
address family view.
Use undo ipv4-family to remove all configurations in BGP IPv4 unicast address family view or BGP-VPN
IPv4 unicast address family view.
Syntax
ipv4-family [ unicast ]
undo ipv4-family [ unicast ]
Default
The BGP IPv4 unicast address family view or the BGP-VPN IPv4 unicast address family view is not
created.
Views
BGP view, BGP-VPN instance view










