Operation Manual – IPv6 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 5 IPv6 BGP Configuration
5-14
5.5.3 Configuring the MED Attribute
Follow these steps to configure the MED attribute:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
Required
Enter IPv6 address family
view
ipv6-family
—
Configure a default MED
value
default med med-value
Optional
Defaults to 0
Enable to compare MED
values of routes from
different EBGP peers
compare-different-as-m
ed
Optional
Not enabled by default
Prioritize MED values of
routes from each AS
bestroute compare-med
Optional
Not configured by default
Prioritize MED values of
routes from confederation
peers
bestroute
med-confederation
Optional
Not configured by default
5.5.4 Configuring the AS_PATH Attribute
Follow these steps to configure the AS_PATH attribute:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
Required
Enter IPv6 address family
view
ipv6-family
—
Allow the local AS number
to appear in AS_PATH of
routes from a peer/peer
group and specify the
repeat times
peer
{
ipv6-group-name
|
ipv6-address
}
allow-as-loop
[
number
]
Optional
Not allowed by default
Specify a fake AS number
for a peer/peer group
peer
{
ipv6-group-name
|
ipv6-address
}
fake-as
as-number
Optional
Not specified by default
Neglect the AS_PATH
attribute for best route
selection
bestroute
as-path-neglect
Optional
Not neglected by default