516
Step Command
Remarks
5.
Redistribute remote site
routes advertised by the PE
into IS-IS.
import-route
protocol
[
process-id
|
all-processes
|
allow-ibgp
] [
allow-direct
|
cost
cost-value
|
cost-type
{
external
|
internal
} | [
level-1
|
level-1-2
|
level-2
] |
route-policy
route-policy-name
|
tag
tag
] *
By default, IS-IS does not
redistribute routes from any other
routing protocol.
If you do not specify the route
level in the command, the
command redistributes routes to
the level-2 routing table by
default.
6.
Return to system view.
quit
N/A
7.
Enter interface view.
interface
interface-type
interface-number
N/A
8.
Enable the IS-IS process on
the interface.
isis enable
[
process-id
]
By default, no IS-IS process is
enabled on the interface.
Configuring EBGP between an MCE and a VPN site
To run EBGP between an MCE and a VPN site, you must configure a BGP peer for each VPN
instance on the MCE, and redistribute the IGP routes of each VPN instance on the VPN site.
1.
Configure the MCE:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
By default, BGP is not
enabled.
3.
Enter BGP-VPN instance
view.
ip vpn-instance
vpn-instance-name
Configuration commands in
BGP-VPN instance view are
the same as those in BGP
instance view. For more
information, see
Layer 3—IP
Routing Configuration Guide.
4.
Configure an EBGP peer.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
as-number
as-number
By default, no BGP peers or
peer groups exist.
5.
Enter BGP-VPN IPv4
unicast address family
view.
address-family ipv4
[
unicast
]
N/A
6.
Enable BGP to exchange
IPv4 unicast routes with
the peer.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
enable
By default, BGP does not
exchange IPv4 unicast routes
with any peer.
7.
Allow the local AS
number to appear in the
AS_PATH attribute of
routes received from the
peer, and set the
maximum number of
repetitions.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
allow-as-loop
[
number
]
By default, BGP discards
incoming route updates that
contain the local AS number.
8.
Redistribute remote site
routes advertised by the
PE into BGP.
import-route
protocol
[ {
process-id
|
all-processes
} [
allow-direct
|
med
med-value
|
route-policy
route-policy-name
] * ]
By default, no routes are
redistributed into BGP.
2.
Configure a VPN site: