204
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an IS-IS process for a
VPN instance and enter
IS-IS view.
isis
[
process-id
]
vpn-instance
vpn-instance-name
Perform this configuration on the
PE. On the CE, configure
common IS-IS.
3.
Configure a network entity
title for the IS-IS process.
network-entity net
By default, no NET is configured.
4.
Return to system view.
quit
N/A
5.
Enter interface view.
interface interface-type
interface-number
N/A
6.
Enable the IS-IS process on
the interface.
isis enable
[
process-id
]
By default, no IS-IS process is
enabled on the interface.
470B
Configuring EBGP between a PE and a CE
1.
Configure the PE:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
[
multi-session-thread
]
N/A
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 the CE as the
VPN EBGP peer.
peer
{
group-name
|
ip-address
[
mask-length
] }
as-number
as-number
By default, no BGP peers exist.
For more information about
BGP peers and peer groups,
see
Layer 3—IP Routing
Configuration Guide.
5.
Create the BGP-VPN IPv4
unicast family and enter its
view.
address-family ipv4
[
unicast
]
By default, the BGP-VPN IPv4
unicast family is not created.
6.
Enable IPv4 unicast route
exchange with the
specified peer or peer
group.
peer
{
group-name
|
ip-address
[
mask-length
] }
enable
By default, BGP does not
exchange IPv4 unicast routes
with any peer.
7.
Redistribute the routes of
the local CE.
import-route
protocol
[ {
process-id
|
all-processes
}
[
allow-direct
|
med med-value
|
route-policy
route-policy-name
] * ]
A PE must redistribute the
routes of the local CE into its
VPN routing table so it can
advertise them to the peer PE.
8.
(Optional.) Allow the local
AS number to appear in the
AS_PATH attribute of a
received route, and set the
maximum number of
repetitions.
peer
{
group-name
|
ip-address
[
mask-length
] }
allow-as-loop
[
number
]
By default, BGP discards
incoming route updates that
contain the local AS number.
BGP detects routing loops by
examining AS numbers. In a
hub-spoke network where
EBGP is running between a PE
and a CE, the routing
information the PE advertises to