R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
794
Establish two IBGP connections between Firewall A and Router C. When both links are working,
Router C adopts the link Firewall A<—>Router B<—>Router C to exchange packets with network
1200::0/64. Configure BFD over the link. Then if the link fails, BFD can quickly detect the failure
and notify it to IPv6 BGP. Then the link Firewall A<—>Router D<—>Router C takes effect
immediately.
Figure 387 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure OSPFv3 to make sure that Firewall A and Router C are reachable to each other.
3. Configure IPv6 BGP on Firewall A:
# Establish two IBGP connections between Firewall A and Router C.
<FirewallA> system-view
[FirewallA] bgp 200
[FirewallA-bgp] ipv6-family
[FirewallA-bgp-af-ipv6] peer 3002::2 as-number 200
[FirewallA-bgp-af-ipv6] peer 2002::2 as-number 200
[FirewallA-bgp-af-ipv6] quit
# When the two links between Firewall A and Router C are both up, Router C adopts the link
Firewall A<—>Router B<—>Router C to exchange packets with network 1200::0/64. (Set a
higher MED value for route 1200::0/64 sent to peer 2002::2 on Firewall A.)
{ Create IPv6 ACL 2000 to permit 1200::0/64 to pass.
[FirewallA] acl ipv6 number 2000
[FirewallA-acl6-basic-2000] rule permit source 1200::0 64
[FirewallA-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.
[FirewallA] route-policy apply_med_50 permit node 10
[FirewallA-route-policy] if-match ipv6 address acl 2000
[FirewallA-route-policy] apply cost 50
[FirewallA-route-policy] quit
[FirewallA] route-policy apply_med_100 permit node 10
[FirewallA-route-policy] if-match ipv6 address acl 2000
[FirewallA-route-policy] apply cost 100