H3C Technologies H3C S5560 Series Switches User Manual

Page 335

Advertising
background image

319

[SwitchD-bgp] address-family ipv6 unicast

[SwitchD-bgp-ipv6] peer 3002::1 enable

[SwitchD-bgp-ipv6] peer 2002::1 enable

[SwitchD-bgp-ipv6] network 4:: 64

[SwitchD-bgp-ipv6] quit

[SwitchD-bgp] quit

4.

Configure preferred values so Link B is used to forward traffic between Switch A and Switch D:
# Configure Switch A to set the preferred value to 100 for routes received from Switch B.

[SwitchA-bgp-ipv6] peer 3001::2 preferred-value 100

[SwitchA-bgp-ipv6] quit

[SwitchA-bgp] quit

# Configure Switch D to set the preferred value to 100 for routes received from Switch B.

[SwitchD-bgp-ipv6] peer 3002::1 preferred-value 100

[SwitchD-bgp-ipv6] quit

[SwitchD-bgp] quit

5.

Configure BGP FRR:
# On Switch A, create routing policy frr to set a backup next hop 2001::2 (Switch C) for the route
destined for 4::/64.

<SwitchA> system-view

[SwitchA] ipv6 prefix-list abc index 10 permit 4:: 64

[SwitchA] route-policy frr permit node 10

[SwitchA-route-policy] if-match ipv6 address prefix-list abc

[SwitchA-route-policy] apply ipv6 fast-reroute backup-nexthop 2001::2

[SwitchA-route-policy] quit

# Apply the routing policy to BGP FRR for BGP IPv6 unicast address family.

[SwitchA] bgp 100

[SwitchA-bgp] address-family ipv6 unicast

[SwitchA-bgp-ipv6] fast-reroute route-policy frr

[SwitchA-bgp-ipv6] quit

[SwitchA-bgp] quit

# On Switch D, create routing policy frr to set a backup next hop 2002::1 (Switch C) for the route

destined for 1::/64.

<SwitchD> system-view

[SwitchD] ipv6 prefix-list abc index 10 permit 1:: 64

[SwitchD] route-policy frr permit node 10

[SwitchD-route-policy] if-match ipv6 address prefix-list abc

[SwitchD-route-policy] apply ipv6 fast-reroute backup-nexthop 2002::1

[SwitchD-route-policy] quit

# Apply the routing policy to BGP FRR for BGP IPv6 unicast address family.

[SwitchD] bgp 200

[SwitchD-bgp] address-family ipv6 unicast

[SwitchD-bgp-ipv6] fast-reroute route-policy frr

[SwitchD-bgp-ipv6] quit

[SwitchD-bgp] quit

Advertising
This manual is related to the following products: