Peer Enable; Peer Filter-Policy (Bgp-Vpnv4 Subaddress Family 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

1700
C
98: MPLS L3VPN C
HAPTER
Related command:
Example

peer enable

Syntax
View
Parameter
Description
Example

peer filter-policy (BGP-VPNv4 subaddress family view)

Syntax
C
ONFIGURATION
OMMANDS
peer upe.
# In BGP-VPNv4 subaddress family view, specify to advertise default routes of VPN
instance vpn1 to peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 enable
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 upe
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 default-route-advertise vpn-inst
ance vpn1
peer { group-name | ip-address } enable
undo peer { group-name | ip-address } enable
BGP-VPNv4 subaddress family view/BGP-L2VPN address family view
group-name: Name of the peer group, a string of 1 to 47 characters.
ip-address: IP address of the peer.
Use the
command to enable a peer or peer group for an address
peer enable
family and enable the exchange of BGP routing information of the address family.
Use the
undo peer enable
By default, only IPv4 routing information is exchanged between BGP peers/peer
groups.
# Configure peer 1.1.1.1 and enable the peer for the BGP-VPNv4 subaddress
family.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 as-number 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 enable
# Configure peer 1.1.1.1 and enable the peer for the BGP-L2VPN address family.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 as-number 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn] peer 1.1.1.1 enable
peer { group-name | ip-address } filter-policy acl-number { export | import }
command to disable the capability.

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