H3C Technologies H3C S12500 Series Switches User Manual

Page 465

Advertising
background image

449

[SwitchC] interface vlan-interface 104

[SwitchC-Vlan-interface104] pim ipv6 sm

[SwitchC-Vlan-interface104] quit

[SwitchC] interface vlan-interface 200

[SwitchC-Vlan-interface200] pim ipv6 sm

[SwitchC-Vlan-interface200] mld enable

[SwitchC-Vlan-interface200] quit

# Configure an IPv6 PIM domain border on Switch A.

[SwitchA] interface vlan-interface 101

[SwitchA-Vlan-interface101] pim ipv6 bsr-boundary

[SwitchA-Vlan-interface101] quit

# Configure an IPv6 PIM domain border on Switch B.

[SwitchB] interface vlan-interface 101

[SwitchB-Vlan-interface101] pim ipv6 bsr-boundary

[SwitchB-Vlan-interface101] quit

4.

Configure the position of C-BSR and C-RP:
# Configure the position of C-BSR and C-RP on Switch A.

[SwitchA] pim ipv6

[SwitchA-pim6] c-bsr 1001::1

[SwitchA-pim6] c-rp 1001::1

[SwitchA-pim6] quit

# Configure the position of C-BSR and C-RP on Switch B.

[SwitchB] pim ipv6

[SwitchB-pim6] c-bsr 1001::2

[SwitchB-pim6] c-rp 1001::2

[SwitchB-pim6] quit

5.

Configure BGP, specify the IPv6 MBGP peer and enable direct route redistribution:
# On Switch A, configure the IPv6 MBGP peer and enable direct route redistribution.

[SwitchA] ipv6

[SwitchA] bgp 100

[SwitchA-bgp] router-id 1.1.1.1

[SwitchA-bgp] ipv6-family

[SwitchA-bgp-af-ipv6] peer 1001::2 as-number 200

[SwitchA-bgp-af-ipv6] import-route direct

[SwitchA-bgp-af-ipv6] quit

[SwitchA-bgp] ipv6-family multicast

[SwitchA-bgp-af-ipv6-mul] peer 1001::2 enable

[SwitchA-bgp-af-ipv6-mul] import-route direct

[SwitchA-bgp-af-ipv6-mul] quit

[SwitchA-bgp] quit

# On Switch B, configure the IPv6 MBGP peers and redistribute OSPF routes.

[SwitchB] ipv6

[SwitchB] bgp 200

[SwitchB-bgp] router-id 2.2.2.2

[SwitchB-bgp] ipv6-family

[SwitchB-bgp-af-ipv6] peer 1001::1 as-number 100

[SwitchB-bgp-af-ipv6] import-route ospfv3 1

Advertising