3Com MSR 50, MSR 30 manual Policy vpn-target, Syntax policy vpn-target Undo policy vpn-target, 1707

Models: MSR 50 MSR 30

1 2742
Download 2742 pages 31.98 Kb
Page 1707
Image 1707

1707

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.

Example # 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

Syntax policy vpn-target

undo policy vpn-target

View BGP-VPNv4 subaddress family view/BGP-L2VPN address family view

Parameter None

Description Use the policy vpn-targetcommand to enable VPN target filtering for received VPNv4 routes.

n

Example

Use the undo policy vpn-targetcommand to disable the filtering, permitting all 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.

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

Page 1707
Image 1707
3Com MSR 50, MSR 30 manual Policy vpn-target, Syntax policy vpn-target Undo policy vpn-target, 1707