3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
1700
C
HAPTER
 98: MPLS L3VPN C
ONFIGURATION
 C
OMMANDS
Related command:
Example
# 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 enable
Syntax
peer { group-name | ip-address enable
undo peer { group-name | ip-address enable
View
BGP-VPNv4 subaddress family view/BGP-L2VPN address 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 enable command to enable a peer or peer group for an address 
family and enable the exchange of BGP routing information of the address family.
Use the undo peer enable command to disable the capability.
By default, only IPv4 routing information is exchanged between BGP peers/peer 
groups.
Example
# 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 filter-policy (BGP-VPNv4 subaddress family view)
Syntax
peer { group-name | ip-address filter-policy acl-number { export | import }