![H3C S5500-EI series Скачать руководство пользователя страница 375](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960375.webp)
358
and notify it to IPv6 BGP. Then the link Switch A<—>Switch D<—>Switch C takes effect
immediately.
Figure 118
Network diagram
Device Interface IP
address
Device Interface IP
address
Switch A
Vlan-int100
3000::1/64
Switch C
Vlan-int101
3001::3/64
Vlan-int200 2000::1/64
Vlan-int201 2001::3/64
Switch B
Vlan-int100
3000::2/64
Switch D
Vlan-int200
2000::2/64
Vlan-int101 3001::2/64
Vlan-int201 2001::2/64
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown)
2.
Configure OSPFv3 to make sure that Switch A and Switch C are reachable to each other. (Details
not shown)
3.
Configure IPv6 BGP on Switch A.
# Establish two iBGP connections between Switch A and Switch C.
<SwitchA> system-view
[SwitchA] bgp 200
[SwitchA-bgp] ipv6-family
[SwitchA-bgp-af-ipv6] peer 3001::3 as-number 200
[SwitchA-bgp-af-ipv6] peer 2001::3 as-number 200
[SwitchA-bgp-af-ipv6] quit
# When the two links between Switch A and Switch C are both up, Switch C adopts the link Switch
A<—>Switch B<—>Switch C to exchange packets with network 1200::0/64. (Set a higher MED value
for route 1200::0/64 sent to peer 2001::3 on Switch A.)
•
Create IPv6 ACL 2000 to permit 1200::0/64 to pass.
[SwitchA] acl ipv6 number 2000
[SwitchA-acl6-basic-2000] rule permit source 1200::0 64
[SwitchA-acl6-basic-2000] quit
•
Create two route policies,
apply_med_50
and
apply_med_100
. Policy
apply_med_50
sets the
MED for route 1200::0/64 to 50. Policy
apply_med_100
sets that to 100.