1702 CHAPTER 98: MPLS L3VPN CONFIGURATION COMMANDS

[Sysname-bgp] ipv4-family vpnv4

[Sysname-bgp-af-vpnv4] peer 1.1.1.1 group test

# In BGP-L2VPN address family view, add peer 1.1.1.1 into peer group test.

<Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] group test external

[Sysname-bgp] l2vpn-family [Sysname-bgp-af-l2vpn] peer 1.1.1.1 group test

peer ip-prefix (BGP-VPNv4 subaddress family view)

Syntax peer { group-nameip-address} ip-prefix prefix-name{ export import } undo peer { group-nameip-address} ip-prefix prefix-name{ export import }

View BGP-VPNv4 subaddress family view

Parameter group-name: Name of the peer group, a string of 1 to 47 characters. ip-address: IP address of the peer.

prefix-name: Name of the IP prefix list, a string of 1 to 19 characters.

export: Filters the routes to be advertised.

import: Filters the received routes.

Description Use the peer ip-prefixcommand to apply a route filtering policy based on IP prefix list to a peer or peer group.

Use the undo peer ip-prefixcommand to remove the configuration.

By default, no route filtering policy based on IP prefix list is applied to a peer or peer group.

Example # In BGP-VPNv4 subaddress family view, specify to filter the received routes of a peer group using IP prefix list list1.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv4-family vpnv4

[Sysname-bgp-af-vpnv4] peer group1 ip-prefix list1 import

peer label-route-capability (BGP view/BGP VPN instance view)

Syntax peer { group-nameip-address} label-route-capability

undo peer { group-nameip-address} label-route-capability

Page 1702
Image 1702
3Com MSR 30 Peer ip-prefix BGP-VPNv4 subaddress family view, Peer label-route-capability BGP view/BGP VPN instance view