Policy Vpn-Target - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

Example

policy vpn-target

Syntax
View
Parameter
Description
Example
UPE is a kind of special VPNv4 peer. It accepts only one default route for each
related VPN instance on an SPE, rather than common VPNv4 routes. An SPE is a
common VPN peer.
# Configure peer 1.1.1.1 as a UPE.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 upe
policy vpn-target
undo policy vpn-target
BGP-VPNv4 subaddress family view/BGP-L2VPN address family view
None
Use the
policy vpn-target
VPNv4 routes.
Use the
undo policy vpn-target
VPNv4 routes.
Only VPNv4 routes with export route target attributes matching the local import
route target attributes are added into the routing table.
By default, the VPN target filtering function is enabled for received VPNv4 routes.
n
The command applies to inter-provider VPN option B schemes.
# In BGP-VPNv4 subaddress family view, enable VPN target filtering for received
VPNv4 routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] policy vpn-target
# In BGP-L2VPN address family view, enable VPN target filtering for received
VPNv4 routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn] policy vpn-target
command to enable VPN target filtering for received
command to disable the filtering, permitting all
1707

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents