1697

vpn-instancevpn-instance-name: Associates a VPN instance with an IPv4 address family and enter BGP VPN instance view. The vpn-instance-nameargument is a string of 1 to 31 characters.

Description Use the ipv4-familycommand to enter BGP-VPNv4 subaddress family view or BGP VPN instance view.

Use the undo ipv4-familycommand to remove all configurations performed in either of the two views.

Before entering BGP VPN instance view, you must create the VPN instance.

Example # Enter BGP-VPNv4 subaddress family view.

<Sysname> system-view

[Sysname] bgp 100

[Sysname] ipv4-family vpnv4

[Sysname-bgp-af-vpnv4]

#Associate VPN instance vpn1 with an IPv4 address family and enter BGP VPN instance view.

<Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] quit [Sysname] bgp 100

[Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1]

peer advertise-community (BGP-VPNv4 subaddress family view)

Syntax peer { group-nameip-address} advertise-community undo peer { group-nameip-address} advertise-community

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.

Description Use the peer advertise-communitycommand to specify to advertise community attributes to a peer or peer group.

Use the undo peer advertise-communitycommand to remove the configuration.

By default, no community attributes are advertised to any peer or peer group.

Example # In BGP-VPNv4 subaddress family view, specify to advertise community attributes to peer 3.3.3.3.

Page 1697
Image 1697
3Com MSR 50, MSR 30 manual Peer advertise-community BGP-VPNv4 subaddress family view, 1697