1.
Configure the IBGP connections among Router B, Router C, and Router D.
2.
Configure the EBGP connection between Router A and Router B.
Data Preparation
To complete the configuration, you need the following data:
l
The router ID of Router A is 1.1.1.1. Its AS number is 65008.
l
The router IDs of Router B, Router C, and Router D are 2.2.2.2, 3.3.3.3, and 4.4.4.4
respectively. Their AS number is 65009.
Procedure
Step 1
Assign an IPv6 address for each interface.
For configuration details, see "Configuration Files" in this section.
Step 2
Configure the IBGP.
# Configure Router B.
[RouterB]
ipv6
[RouterB]
bgp 65009
[RouterB-bgp]
router-id 2.2.2.2
[RouterB-bgp]
peer 2001:db8:1::2 as-number 65009
[RouterB-bgp]
peer 2001:db8:3::2 as-number 65009
[RouterB-bgp]
ipv6-family unicast
[RouterB-bgp-af-ipv6]
peer 2001:db8:1::2 enable
[RouterB-bgp-af-ipv6]
peer 2001:db8:3::2 enable
[RouterB-bgp-af-ipv6]
network 2001:db8:1:: 64
[RouterB-bgp-af-ipv6]
network 2001:db8:3:: 64
[RouterB-bgp-af-ipv6]
quit
[RouterB-bgp]
quit
# Configure Router C.
[RouterC]
ipv6
[RouterC]
bgp 65009
[RouterC-bgp]
router-id 3.3.3.3
[RouterC-bgp]
peer 2001:db8:3::1 as-number 65009
[RouterC-bgp]
peer 2001:db8:2::2 as-number 65009
[RouterC-bgp]
ipv6-family unicast
[RouterC-bgp-af-ipv6]
peer 2001:db8:3::1 enable
[RouterC-bgp-af-ipv6]
peer 2001:db8:2::2 enable
[RouterC-bgp-af-ipv6]
network 2001:db8:3:: 64
[RouterC-bgp-af-ipv6]
network 2001:db8:2:: 64
[RouterC-bgp-af-ipv6]
quit
[RouterC-bgp]
quit
# Configure Router D.
[RouterD]
ipv6
[RouterD]
bgp 65009
[RouterD-bgp]
router-id 4.4.4.4
[RouterD-bgp]
peer 2001:db8:1::1 as-number 65009
[RouterD-bgp]
peer 2001:db8:2::1 as-number 65009
[RouterD-bgp]
ipv6-family unicast
[RouterD-bgp-af-ipv6]
peer 2001:db8:1::1 enable
[RouterD-bgp-af-ipv6]
peer 2001:db8:2::1 enable
[RouterD-bgp-af-ipv6]
network 2001:db8:2:: 64
[RouterD-bgp-af-ipv6]
network 2001:db8:1:: 64
[RouterD-bgp-af-ipv6]
quit
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
9 BGP4+ Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1123