3com S7906E Installationsanweisungen
1-32
To do…
Use the command…
Remarks
Specify the source interface for
route updates
route updates
peer { group-name |
ip-address } connect-interface
interface-type interface-number
ip-address } connect-interface
interface-type interface-number
Required
By default, BGP uses the
source interface of the optimal
route update packet.
source interface of the optimal
route update packet.
Enter BGP-VPNv4 subaddress
family view
family view
ipv4-family vpnv4 [ unicast ]
Required
Enable the exchange of
BGP-VPNv4 routing
information with the specified
peer
BGP-VPNv4 routing
information with the specified
peer
peer { group-name |
ip-address } enable
ip-address } enable
Required
By default, BGP peers
exchange IPv4 routing
information only.
exchange IPv4 routing
information only.
Configuring Routing Features for BGP VPNv4 Subaddress Family
With BGP VPNv4 subaddress family, there are a variety of routing features that are the same as those
for BGP IPv4 unicast routing. You can select any of the features as required.
Configuring common routing features for all types of subaddress families
For VPN applications, BGP address families include BGP VPN-IPv4 address family, BGP-L2VPN
address family, and VPLS address family. Every command in the following table has the same function
on BGP routes for each type of the address families.
Follow these steps to configure common routing features for all types of subaddress families:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
Required
Configure the remote PE as the
peer
peer
peer ip-address as-number
as-number
as-number
Required
Specify the interface for TCP
connection
connection
peer ip-address
connect-interface
interface-type interface-number
connect-interface
interface-type interface-number
Required
ipv4-family vpnv4
l2vpn-family
Enter address family view
vpls-family
Required
Use one of the commands as
needed.
needed.
Allow the local AS number to
appear in the AS_PATH
attribute of a received route and
set the maximum number of
repetitions
appear in the AS_PATH
attribute of a received route and
set the maximum number of
repetitions
peer { group-name |
ip-address } allow-as-loop
[ number ]
ip-address } allow-as-loop
[ number ]
Optional
Enable a peer or peer group for
an address family and enable
the exchange of BGP routing
information of the address
family
an address family and enable
the exchange of BGP routing
information of the address
family
peer { group-name |
ip-address } enable
ip-address } enable
Required
By default, only IPv4 routing
information is exchanged
between BGP peers.
information is exchanged
between BGP peers.
Add a peer into an existing peer
group
group
peer ip-address group
group-name
group-name
Optional