187
Step
Command
Remarks
8.
Enable MPLS LDP on the
interface.
mpls ldp enable
By default, MPLS LDP is disabled
on the interface.
9.
Return to system view.
quit
N/A
10.
Enter interface view of the
interface connected to the
remote ASBR.
interface
interface-type
interface-number
N/A
11.
Enable MPLS on the
interface.
mpls enable
By default, MPLS is disabled on
the interface.
12.
Return to system view.
quit
N/A
13.
Enter BGP view.
bgp as-number
N/A
14.
Configure the PE in the same
AS as an IBGP peer.
peer
{
group-name
|
ip-address
[
mask-length
] }
as-number
as-number
By default, no BGP peer is
created.
15.
Configure the ASBR in
another AS as an EBGP
peer.
peer
{
group-name
|
ip-address
[
mask-length
] }
as-number
as-number
By default, no BGP peer is
created.
16.
Create the BGP IPv4 unicast
address family and enter its
view.
address-family ipv4
[
unicast
]
By default, the BGP IPv4 unicast
address family is not created.
17.
Enable exchange of IPv4
unicast routes with the PE in
the same AS and the ASBR
in another AS.
peer
{
group-name
|
ip-address
[
mask-length
] }
enable
By default, BGP does not
exchange IPv4 unicast routes with
any peer.
18.
Enable exchange of labeled
IPv4 routes with the PE in the
same AS and the ASBR in
another AS.
peer
{
group-name
|
ip-address
[
mask-length
]
}
label-route-capability
By default, BGP cannot advertise
labeled routes to any IPv4 peer or
peer group.
19.
Configure the ASBR-PE to
set itself as the next hop of
routes advertised to the PE
in the local AS.
peer
{
group-name
|
ip-address
[
mask-length
] }
next-hop-local
By default, BGP does not use its
address as the next hop of routes
advertised to an IBGP peer or
peer group.
20.
(Optional.) Apply a routing
policy to routes incoming
from or outgoing to a peer or
peer group.
peer
{
group-name
|
ip-address
[
mask-length
] }
route-policy
route-policy-name
{
export
|
import
}
By default, no routing policy is
applied.
Configuring a routing policy on an ASBR-PE
A routing policy on an ASBR-PE does the following:
•
Assigns MPLS labels to routes received from the PEs in the local AS before advertising them to
the peer ASBR-PE.
•
Assigns new MPLS labels to labeled IPv4 routes advertised to PEs in the local AS.
Which IPv4 routes are assigned with MPLS labels depends on the routing policy. Only routes that
meet the criteria are assigned with labels. All other routes are still common IPv4 routes.
To configure a routing policy for inter-AS option C on an ASBR-PE:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a routing policy and
enter routing policy view.
route-policy
route-policy-name
{
deny
|
permit
}
node
By default, no routing policy is
created.
Содержание FlexNetwork 5510 HI Series
Страница 9: ...vii Remote support 460 Documentation feedback 460 Index 462 ...
Страница 318: ...309 Request list 0 Retransmit list 0 ...
Страница 363: ...354 Verify that CE 1 and CE 2 can ping each other Details not shown ...
Страница 446: ...437 The MCE has redistributed the OSPF routes of the two VPN instances into the EBGP routing tables of PE 1 ...