R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

376
display ipv6 routing-table protocol
ip vpn-instance (BGP view)
Use ip vpn-instance to create an BGP-VPN instance and enter BGP-VPN instance view.
Use undo ip vpn-instance to remove an BGP-VPN instance and all its configurations.
Syntax
ip vpn-instance vpn-instance-name
undo ip vpn-instance vpn-instance-name
Default
No BGP-VPN instance exists.
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 typically executed on provider edge (PE)
or Multi-VPN-Instance CE (MCE) devices. The commands add routes learned from different sites into
different VPN instances.
Before you execute this command, perform the following tasks:
Use the ip vpn-instance command to create the VPN instance in system view.
Use the route-distinguisher command to configure a route distinguisher (RD) for the VPN instance.
Examples
# Create a BGP-VPN instance and enter its view.
<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)