Peer Ip-Prefix (Bgp-Vpnv4 Subaddress Family View); Peer Label-Route-Capability (Bgp View/Bgp Vpn Instance View) - 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

1702
C
98: MPLS L3VPN C
HAPTER

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

Syntax
View
Parameter
Description
Example

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

Syntax
C
ONFIGURATION
OMMANDS
[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 { group-name | ip-address } ip-prefix prefix-name { export | import }
undo peer { group-name | ip-address } ip-prefix prefix-name { export | import }
BGP-VPNv4 subaddress family view
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.
Use the
peer ip-prefix
prefix list to a peer or peer group.
Use the
undo peer ip-prefix
By default, no route filtering policy based on IP prefix list is applied to a peer or
peer group.
# 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 { group-name | ip-address } label-route-capability
undo peer { group-name | ip-address } label-route-capability
command to apply a route filtering policy based on IP
command to remove the configuration.

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