R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide
323
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
acl-number: Specifies an IP ACL number in the range of 2000 to 3999.
export: Filters the routes to be advertised to the specified peer or peer group.
import: Filters the routes received from the specified peer or peer group.
Examples
# In BGP-VPNv4 subaddress family view, apply a filtering policy to filter the routes received from peer
group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test filter-policy 2003 import
Related commands
peer as-path-acl
peer group (BGP-VPNv4 subaddress family view/BGP-L2VPN
address family view/VPLS address family view)
Use peer group to add a peer into an existing peer group.
Use undo peer group to remove a peer from a peer group.
Syntax
peer ip-address group group-name
undo peer ip-address group group-name
Views
BGP-VPNv4 subaddress family view, BGP-L2VPN address family view, VPLS address family view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
Examples
# In BGP-VPNv4 subaddress family view, add peer 1.1.1.1 into peer group test.
<Sysname> system-view
[Sysname] bgp 100










