APNIC IPv6/Routing Workshop Lab (Huawei VRP)
1
©APNIC V1.0 Created: 02 February 2016
Module 4 – eBGP with CPE Router for Training Lab Network
Objective: All the workshop lab routers are configured with required basic, interface, OSPF/IS-IS and iBGP configuration according to the topology diagram below. Network level reachability testing for all twelve routers loopback interfaces, all twelve point-to-point links, two transport links, eight customer sider point-to-point aggregated and four datacentre aggregated prefixes are successfully done in our previous modules (Module 1, 2 & 3). Participants will require to configure eBGP peering with the corresponding CPE routers and related configuration on this module for both IPv6 and IPv4 protocol. Workshop instructor will be presenting customer side eBGP design goal & specification for this module. Workshop team has already been build and participants have got access to their designated routers. Prerequisites: Intermediate routing concept (OSPF/IS-IS, iBGP), Huawei router CLI, Telnet/SSH software etc. The following will be the common topology and IP address plan used for the labs.
Figure 1 – ISP Lab Topology
Tuesday, June 07, 2016
2
Lab Notes This workshop is intended to be run on a real Huawei routers or eNSP (Enterprise Network Simulation Platform) with the above lab topologies set up. The routers are using both IPv4 and IPv6 supported Huawei VRP software (VRP software, Version 5.130). Participants should do their workshop module three configuration to achieve following goals.
1. In our previous module (Module 3) exercise we have successfully finished building our infrastructure routers with iBGP. So that when any perimeter router learns external prefix (i.e. downstream customer or Internet) that will be propagated across other part of the network using iBGP protocol.
2. In this module we will connect our customer routers to the corresponding POP routers i.e R13-R1, R14-R3, R15-R4, R16-R6, R17-R7, R18-R9, R19-R10 and R20-R12 using eBGP. After finishing the required configuration in this module we will be able to see eight new external prefixes in our lab routers routing table.
3. For the scalability purpose of customer network growth we will use separate peer group to reflect common customer profile I.e default originate, route filter etc.
4. Each customer will be allocated a non-portable prefixes to be advertised from their BGP originated from their own AS number.
5. Each team will need to configure both side of the customer link. I.e POP side and CPE side. a. Steps involved in POP side are:
i. Customer side interface configuration ii. Connectivity testing
iii. eBGP peering configuration iv. Configuring eBGP next hop behaviour use Next-hop Local on the POP routers
b. Steps involved in CPE side are: i. Basic and standard interface configuration for the CPE router
ii. Upstream side interface configuration iii. Connectivity testing iv. eBGP peering configuration v. Prefix advertisement
vi. Chang the next-hop to local on the customer border router (Need if customer has internal (iBGP) peer.
6. After finishing eBGP configuration on all CPE and POP routers we would like to see following 8 new prefixes are learn by our infrastructure routers using eBGP originated by the customer AS numbers listed on the table below.
Customer AS Number Prefix r-13-CAR1 65001 2406:6400:8000::/48 r-14-CBR1 65002 2406:6400:9800::/48 r-15-CAR2 65003 2406:6400:a000::/48 r-16-CBR2 65004 2406:6400:b800::/48 r-17-CAR3 65005 2406:6400:c000::/48 r-18-CBR3 65006 2406:6400:d800::/48 r-19-CAR4 65007 2406:6400:e000::/48 r-20-CBR4 65008 2406:6400:f800::/48
7. Due to time restriction in workshop eBGP analysis and example will cover IPv6 prefixes only.
You can check IPv4 prefixes for your own understanding purpose.
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
3
©APNIC V1.0 Created: 02 February 2016
8. As an example here we have outlined IPv6 related configuration only. Since we are building dual stack routers, please make sure you will finish IPv4 related configuration as well. For relevant command please visit the reference section of this document.
Lab Exercise 1. POP Router Configuration: In general customers are classified under peer-group on the POP
router to scale the growing number of customer in each POP. In our workshop case we have created a single peer-group for our customers. This peer-group will inherit common set of attribute for all our customer. Individual command for each customer (i.e remote-AS) need to apply outside the peer group. Step one example interface config: system-view interface gigabitethernet 4/0/0
This interface is connecting to a customer ipv6 enable
Enable the IPv6 function on an interface. By default, the IPv6 function is disable on a device. ipv6 address 2406:6400:0010:0000::1/64
This point-to-point link address usually given by ISP quit quit
save
Step two example interface connectivity verification: <Router1>ping ipv6 2406:6400:0010:0000::1 PING 2406:6400:0010:0000::1: 56 data bytes, press CTRL_C to break Reply from 2406:6400:10::1 bytes=56 Sequence=1 hop limit=64 time = 10 ms Reply from 2406:6400:10::1 bytes=56 Sequence=2 hop limit=64 time = 10 ms Reply from 2406:6400:10::1 bytes=56 Sequence=3 hop limit=64 time = 10 ms Reply from 2406:6400:10::1 bytes=56 Sequence=4 hop limit=64 time = 20 ms Reply from 2406:6400:10::1 bytes=56 Sequence=5 hop limit=64 time = 1 ms --- 2406:6400:0010:0000::1 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 1/10/20 ms
Other side of point-to-point link
Step three example eBGP peering config: system-view bgp 17821 group IPV6-eBGP-CUSTOMER-REG1-POP1 external
Tuesday, June 07, 2016
4
peer 2406:6400:0010:0000::2 as-number 65001
Individual remote AS number configuration for each customer ipv6-family unicast peer IPV6-eBGP-CUSTOMER-REG1-POP1 enable peer 2406:6400:0010:0000::2 group IPV6-eBGP-CUSTOMER-REG1-POP1
Add a BGP peer into this peer group peer IPV6-eBGP-CUSTOMER-REG1-POP1 default-route-advertise
This command will send a default [::/0] prefix to the CPE router. peer IPV6-iBGP-REG1 next-hop-local
In a POP router customer prefix next hop will be point-to-point interface address of the customer router. Since customer prefix is collected by eBGP when POP router forward it to its iBGP peer it will not change the next hop by default unless the above command is executed. quit quit quit save
2. CPE Router Configuration: So far CPE routers are in Cisco default configuration. Participants
need to build the necessary configuration to those CPE routers assigned to their team. Please note that you need to configure both IPv4 & IPv6 protocol related configuration. Following only IPv6 related configuration template might not work since it will forget some basic interface related configuration i.e. undo shutdown. Here are the steps involved. Step one example basic config: Please check module one for command description.
system-view sysname Router13 ipv6 undo dns resolve undo http server enable undo http secure-server enable interface loopback 0 info-center loghost source loopback0 info-center timestamp log date precision-time millisecond info-center timestamp debugging date precision-time second tcp timer syn-timeout 15 quit clock timezone AEST minus 10 save r13.cfg startup saved-configuration r13.cfg
Step two example interface config: Please check module one for command description. IPv4: system-view interface loopback 0 description r13-CAR1 Loopback undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.16.254 255.255.255.255 interface gigabitethernet2/0/0
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
5
©APNIC V1.0 Created: 02 February 2016
description LAN r13-CAR1 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.16.1 255.255.255.224 interface gigabitethernet4/0/1 description Upstream WAN r13-CAR1-R1 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.2 255.255.255.252 quit quit save
IPv6: system-view interface loopback 0 ipv6 enable ipv6 address 2406:6400:8000:0000::1/128 interface gigabitethernet4/0/1 ipv6 enable ipv6 address 2406:6400:0010:0000::2/64 interface gigabitethernet2/0/0 ipv6 enable ipv6 address 2406:6400:8000:0001::1/64 quit quit
save
Step three example eBGP peering config: Check previous section for command description. system-view bgp 65001 undo default ipv4-unicast peer 2406:6400:0010:0000::1 as-number 17821 ipv6-family unicast peer 2406:6400:0010:0000::1 enable quit quit quit save
Step four example prefix advertisement config: Module 3 for command description.
system-view bgp 65001 ipv6-family unicast network 2406:6400:8000:: 48 quit quit ipv6 route-static 2406:6400:8000:: 48 null 0 quit save
Step five example next-hop local config: If customer border router has iBGP peer. In our lab CPE router do not have any iBGP peer so next-hop-local command is not used.
3. Verify iBGP Configuration:
Example IPv6 protocol verification on a Router:
Tuesday, June 07, 2016
6
After eBGP Peering Config: display bgp ipv6 peer [To check bgp peering status] display bgp ipv6 routing-table [To check detail bgp table] display ipv6 routing-table protocol bgp [To check the routing table prefixes learned by BGP ] After prefix announcement: display bgp ipv6 routing-table peer [router 13……router20] advertised-routes [To check prefixes advertised to eBGP peers] display bgp ipv6 routing-table peer [router 13……router20] received-routes [To check prefixes received from eBGP peers] display ipv6 routing-table [R13, R14, R15, R16, R17, R18, R19, R20] [To check prefixes in routing table] Note: Please make sure all 8 customer prefixes outlined in page 2 of this document is visible in BGP and routing table. Example IPv4 protocol verification on a Router: After eBGP Peering Config: display bgp peer [To check bgp peering status] display bgp routing-table [To check detail bgp table] display ip routing-table protocol bgp [To check the routing table prefixes learned by BGP ] After prefix announcement: display bgp routing-table peer [router 13……router20] advertised-routes [To check prefixes advertised to eBGP peers] display bgp routing-table peer [router 13……router20] received-routes [To check prefixes learn from eBGP peers] display ip routing-table [R13, R14, R15, R16, R17, R18, R19, R20] [To check prefixes in routing table]
END OF MODULE THREE…… Next pages for reference template used on different routers….
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
7
©APNIC V1.0 Created: 02 February 2016
‘Workshop templates for reference purpose only’ eBGP Customer Conf Region 1:
IPv4 WAN Interface Router1 Conf: system-view interface gigabitethernet 4/0/0 description Customer WAN R1-CAR1 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.1 255.255.255.252 quit quit save IPv6 WAN Interface Router1 Conf: system-view interface gigabitethernet 4/0/0 ipv6 enable ipv6 address 2406:6400:0010:0000::1/64 quit quit save IPv4 WAN Interface Router3 Conf: system-view interface gigabitethernet 4/0/0 description Customer WAN R3-CBR1
Tuesday, June 07, 2016
8
undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.33 255.255.255.252 quit quit save IPv6 WAN Interface Router3 Conf: system-view interface gigabitethernet 4/0/0 ipv6 enable ipv6 address 2406:6400:0014:0000::1/64 quit quit save IPv4 eBGP Router1 Conf: system-view bgp 17821 group IPV4-eBGP-CUSTOMER-REG1-POP1 external peer 172.16.11.2 as-number 65001 ipv4-family unicast peer IPV4-eBGP-CUSTOMER-REG1-POP1 enable peer 172.16.11.2 group IPV4-eBGP-CUSTOMER-REG1-POP1 peer IPV4-eBGP-CUSTOMER-REG1-POP1 default-route-advertise quit quit quit save IPv4 Next-hop Local Router1 Conf: system-view bgp 17821 ipv4-family unicast peer IPV4-iBGP-REG1 next-hop-local quit quit quit save IPv6 eBGP Router1 Conf: system-view bgp 17821 group IPV6-eBGP-CUSTOMER-REG1-POP1 external peer 2406:6400:0010:0000::2 as-number 65001 ipv6-family unicast peer IPV6-eBGP-CUSTOMER-REG1-POP1 enable peer 2406:6400:0010:0000::2 group IPV6-eBGP-CUSTOMER-REG1-POP1 peer IPV6-eBGP-CUSTOMER-REG1-POP1 default-route-advertise quit quit quit save
IPv6 Next-hop Local Router1 Conf:
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
9
©APNIC V1.0 Created: 02 February 2016
system-view bgp 17821 ipv6-family unicast peer IPV6-iBGP-REG1 next-hop-local quit quit quit save IPv4 eBGP Router3 Conf: system-view bgp 17821 group IPV4-eBGP-CUSTOMER-REG1-POP2 external peer 172.16.11.34 as-number 65002 ipv4-family unicast peer IPV4-eBGP-CUSTOMER-REG1-POP2 enable peer 172.16.11.34 group IPV4-eBGP-CUSTOMER-REG1-POP2 peer IPV4-eBGP-CUSTOMER-REG1-POP2 default-route-advertise quit quit quit save IPv4 Next-hop Local Router3 Conf: system-view bgp 17821 ipv4-family unicast peer IPV4-iBGP-REG1 next-hop-local quit quit quit save IPv6 eBGP Router3 Conf: system-view bgp 17821 group IPV6-eBGP-CUSTOMER-REG1-POP2 external peer 2406:6400:0014:0000::2 as-number 65002 ipv6-family unicast peer IPV6-eBGP-CUSTOMER-REG1-POP2 enable peer 2406:6400:0014:0000::2 group IPV6-eBGP-CUSTOMER-REG1-POP2 peer IPV6-eBGP-CUSTOMER-REG1-POP2 default-route-advertise quit quit quit save IPv6 Next-hop Local Router3 Conf: system-view bgp 17821 ipv6-family unicast peer IPV6-iBGP-REG1 next-hop-local quit quit quit
Tuesday, June 07, 2016
10
save
Basic Conf r13-CAR1 system-view sysname Router13 ipv6 undo dns resolve undo http server enable undo http secure-server enable interface loopback 0 info-center loghost source loopback0 info-center timestamp log date precision-time millisecond info-center timestamp debugging date precision-time second tcp timer syn-timeout 15 quit clock timezone AEST minus 10 save r13.cfg startup saved-configuration r13.cfg Basic Conf r14-CBR1 system-view sysname Router14 ipv6 undo dns resolve undo http server enable undo http secure-server enable interface loopback 0 info-center loghost source loopback0 info-center timestamp log date precision-time millisecond info-center timestamp debugging date precision-time second tcp timer syn-timeout 15 quit clock timezone AEST minus 10 save r14.cfg startup saved-configuration r14.cfg IPv4 Interface Router13 Conf: system-view interface loopback 0 description r13-CAR1 Loopback undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.16.254 255.255.255.255 interface gigabitethernet2/0/0 description LAN r13-CAR1 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.16.1 255.255.255.224 interface gigabitethernet4/0/1 description Upstream WAN r13-CAR1-R1 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.2 255.255.255.252 quit
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
11
©APNIC V1.0 Created: 02 February 2016
quit save
IPv6 Interface Router13 Conf: system-view interface loopback 0 ipv6 enable ipv6 address 2406:6400:8000:0000::1/128 interface gigabitethernet4/0/1 ipv6 enable ipv6 address 2406:6400:0010:0000::2/64 interface gigabitethernet2/0/0 ipv6 enable ipv6 address 2406:6400:8000:0001::1/64 quit quit save IPv4 Interface Router14 Conf: system-view interface loopback 0 description r14-CBR1 Loopback undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.18.254 255.255.255.255 interface gigabitethernet2/0/0 description LAN r14-CBR1 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.18.1 255.255.255.224 interface gigabitethernet4/0/1 description Upstream WAN r14-CBR1-R3 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.34 255.255.255.252 quit quit save
IPv6 Interface Router14 Conf: system-view interface loopback 0 ipv6 enable ipv6 address 2406:6400:9800:0000::1/128 interface gigabitethernet4/0/1 ipv6 enable ipv6 address 2406:6400:0014:0000::2/64 interface gigabitethernet2/0/0 ipv6 enable ipv6 address 2406:6400:9800:0001::1/64 quit quit save
Tuesday, June 07, 2016
12
IPv4 eBGP Router13 Conf: system-view bgp 65001 peer 172.16.11.1 as-number 17821 ipv4-family unicast peer 172.16.11.1 enable quit quit quit save IPv4 Prefix Announcement Router13 Conf: system-view bgp 65001 ipv4-family unicast network 172.16.16.0 255.255.255.0 quit quit ip route-static 172.16.16.0 255.255.255.0 null 0 permanent quit save
IPv6 eBGP Router13 Conf: system-view bgp 65001 undo default ipv4-unicast peer 2406:6400:0010:0000::1 as-number 17821 ipv6-family unicast peer 2406:6400:0010:0000::1 enable quit quit quit save IPv6 Prefix Announcement Router13 Conf: system-view bgp 65001 ipv6-family unicast network 2406:6400:8000:: 48 quit quit ipv6 route-static 2406:6400:8000:: 48 null 0 quit save IPv4 eBGP Router14 Conf: system-view bgp 65002 peer 172.16.11.33 as-number 17821 ipv4-family unicast peer 172.16.11.33 enable quit quit quit
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
13
©APNIC V1.0 Created: 02 February 2016
save IPv4 Prefix Announcement Router14 Conf: system-view bgp 65002 ipv4-family unicast network 172.16.18.0 255.255.255.0 quit quit ip route-static 172.16.18.0 255.255.255.0 null 0 permanent quit save
IPv6 eBGP Router14 Conf: system-view bgp 65002 undo default ipv4-unicast peer 2406:6400:0014:0000::1 as-number 17821 ipv6-family unicast peer 2406:6400:0014:0000::1 enable quit quit quit save IPv6 Prefix Announcement Router14 Conf: system-view bgp 65002 ipv6-family unicast network 2406:6400:9800:: 48 quit quit ipv6 route-static 2406:6400:9800:: 48 null 0 quit save
Tuesday, June 07, 2016
14
eBGP Customer Conf Region 2:
IPv4 WAN Interface Router4 Conf: system-view interface gigabitethernet 4/0/0 description Customer WAN R4-CAR2 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.65 255.255.255.252 quit quit save IPv6 WAN Interface Router4 Conf: system-view interface gigabitethernet 4/0/0 ipv6 enable ipv6 address 2406:6400:0018:0000::1/64 quit quit save IPv4 WAN Interface Router6 Conf: system-view interface gigabitethernet 4/0/0 description Customer WAN R6-CBR2 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.97 255.255.255.252 quit quit save
IPv6 WAN Interface Router6 Conf:
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
15
©APNIC V1.0 Created: 02 February 2016
system-view interface gigabitethernet 4/0/0 ipv6 enable ipv6 address 2406:6400:001C:0000::1/64 quit quit save IPv4 eBGP Router4 Conf: system-view bgp 17821 group IPV4-eBGP-CUSTOMER-REG2-POP1 external peer IPV4-eBGP-CUSTOMER-REG2-POP1 as-number 65003 ipv4-family unicast peer IPV4-eBGP-CUSTOMER-REG2-POP1 enable peer 172.16.11.66 group IPV4-eBGP-CUSTOMER-REG2-POP1 peer IPV4-eBGP-CUSTOMER-REG2-POP1 default-route-advertise quit quit quit save IPv4 Next-hop Local Router4 Conf: system-view bgp 17821 ipv4-family unicast peer IPV4-iBGP-REG2 next-hop-local quit quit quit save IPv6 eBGP Router4 Conf: system-view bgp 17821 group IPV6-eBGP-CUSTOMER-REG2-POP1 external peer IPV6-eBGP-CUSTOMER-REG2-POP1 as-number 65003 ipv6-family unicast peer IPV6-eBGP-CUSTOMER-REG2-POP1 enable peer 2406:6400:0018:0000::2 group IPV6-eBGP-CUSTOMER-REG2-POP1 peer IPV6-eBGP-CUSTOMER-REG2-POP1 default-route-advertise quit quit quit save
IPv6 Next-hop Local Router4 Conf: system-view bgp 17821 ipv6-family unicast peer IPV6-iBGP-REG2 next-hop-local quit quit quit save
Tuesday, June 07, 2016
16
IPv4 eBGP Router6 Conf: system-view bgp 17821 group IPV4-eBGP-CUSTOMER-REG2-POP2 external peer IPV4-eBGP-CUSTOMER-REG2-POP2 as-number 65004 ipv4-family unicast peer IPV4-eBGP-CUSTOMER-REG2-POP2 enable peer 172.16.11.98 group IPV4-eBGP-CUSTOMER-REG2-POP2 peer IPV4-eBGP-CUSTOMER-REG2-POP2 default-route-advertise quit quit quit save IPv4 Next-hop Local Router6 Conf: system-view bgp 17821 ipv4-family unicast peer IPV4-iBGP-REG2 next-hop-local quit quit quit save IPv6 eBGP Router6 Conf: system-view bgp 17821 group IPV6-eBGP-CUSTOMER-REG2-POP2 external peer IPV6-eBGP-CUSTOMER-REG2-POP2 as-number 65004 ipv6-family unicast peer IPV6-eBGP-CUSTOMER-REG2-POP2 enable peer 2406:6400:001C:0000::2 group IPV6-eBGP-CUSTOMER-REG2-POP2 peer IPV6-eBGP-CUSTOMER-REG2-POP2 default-route-advertise quit quit quit save IPv6 Next-hop Local Router6 Conf: system-view bgp 17821 ipv6-family unicast peer IPV6-iBGP-REG2 next-hop-local quit quit quit save
Basic Conf r15-CAR2 system-view sysname Router15
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
17
©APNIC V1.0 Created: 02 February 2016
ipv6 undo dns resolve undo http server enable undo http secure-server enable interface loopback 0 info-center loghost source loopback0 info-center timestamp log date precision-time millisecond info-center timestamp debugging date precision-time second tcp timer syn-timeout 15 quit clock timezone AEST minus 10 save r15.cfg startup saved-configuration r15.cfg Basic Conf r16-CBR2 system-view sysname Router16 ipv6 undo dns resolve undo http server enable undo http secure-server enable interface loopback 0 info-center loghost source loopback0 info-center timestamp log date precision-time millisecond info-center timestamp debugging date precision-time second tcp timer syn-timeout 15 quit clock timezone AEST minus 10 save r16.cfg startup saved-configuration r16.cfg IPv4 Interface Router15 Conf: system-view sysname Router15 interface loopback 0 description r15-CAR2 Loopback undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.20.254 255.255.255.255 interface gigabitethernet2/0/0 description LAN r15-CAR2 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.20.1 255.255.255.224 interface gigabitethernet4/0/1 description Upstream WAN r15-CAR2-R4 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.66 255.255.255.252 quit quit save
IPv6 Interface Router15 Conf:
Tuesday, June 07, 2016
18
system-view interface loopback 0 ipv6 enable ipv6 address 2406:6400:A000:0000::1/128 interface gigabitethernet4/0/1 ipv6 enable ipv6 address 2406:6400:0018:0000::2/64 interface gigabitethernet2/0/0 ipv6 enable ipv6 address 2406:6400:A000:0001::1/64 quit quit save IPv4 Interface Router16 Conf: system-view interface loopback 0 description r16-CBR2 Loopback undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.22.254 255.255.255.255 interface gigabitethernet2/0/0 description LAN r16-CBR2 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.22.1 255.255.255.224 interface gigabitethernet4/0/1 description Upstream WAN r16-CBR2-R6 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.98 255.255.255.252 quit quit save
IPv6 Interface Router16 Conf: system-view interface loopback 0 ipv6 enable ipv6 address 2406:6400:B800:0000::1/128 interface gigabitethernet4/0/1 ipv6 enable ipv6 address 2406:6400:001C:0000::2/64 interface gigabitethernet2/0/0 ipv6 enable ipv6 address 2406:6400:B800:0001::1/64 quit quit save
IPv4 eBGP Router15 Conf: system-view bgp 65003 peer 172.16.11.65 as-number 17821
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
19
©APNIC V1.0 Created: 02 February 2016
ipv4-family unicast peer 172.16.11.65 enable quit quit quit save IPv4 Prefix Announcement Router15 Conf: system-view bgp 65003 ipv4-family unicast network 172.16.20.0 255.255.255.0 quit quit ip route-static 172.16.20.0 255.255.255.0 null 0 permanent quit save IPv6 eBGP Router15 Conf: system-view bgp 65003 undo default ipv4-unicast peer 2406:6400:0018:0000::1 as-number 17821 ipv6-family unicast peer 2406:6400:0018:0000::1 enable quit quit quit save IPv6 Prefix Announcement Router15 Conf: system-view bgp 65003 ipv6-family unicast network 2406:6400:A000:: 48 quit quit ipv6 route-static 2406:6400:A000:: 48 null 0 quit save
IPv4 eBGP Router16 Conf: system-view bgp 65004 peer 172.16.11.97 as-number 17821 ipv4-family unicast peer 172.16.11.97 enable quit quit quit save
Tuesday, June 07, 2016
20
IPv4 Prefix Announcement Router16 Conf: system-view bgp 65004 ipv4-family unicast network 172.16.22.0 255.255.255.0 quit quit ip route-static 172.16.22.0 255.255.255.0 null 0 permanent quit save IPv6 eBGP Router16 Conf: system-view bgp 65004 undo default ipv4-unicast peer 2406:6400:001C:0000::1 as-number 17821 ipv6-family unicast peer 2406:6400:001C:0000::1 enable quit quit quit save IPv6 Prefix Announcement Router16 Conf: system-view bgp 65004 ipv6-family unicast network 2406:6400:B800:: 48 quit quit ipv6 route-static 2406:6400:B800:: 48 null 0 quit save
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
21
©APNIC V1.0 Created: 02 February 2016
eBGP Customer Conf Region 3:
IPv4 WAN Interface Router7 Conf: system-view interface gigabitethernet 4/0/0 description Customer WAN R7-CAR3 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.129 255.255.255.252 quit quit save IPv6 WAN Interface Router7 Conf: system-view interface gigabitethernet 4/0/0 ipv6 enable ipv6 address 2406:6400:0020:0000::1/64 quit quit save IPv4 WAN Interface Router9 Conf: system-view interface gigabitethernet 4/0/0 description Customer WAN R9-CBR3 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.161 255.255.255.252 quit quit save
Tuesday, June 07, 2016
22
IPv6 WAN Interface Router9 Conf: system-view interface gigabitethernet 4/0/0 ipv6 enable ipv6 address 2406:6400:0024:0000::1/64 quit quit save IPv4 eBGP Router7 Conf: system-view bgp 17821 group IPV4-eBGP-CUSTOMER-REG3-POP1 external peer IPV4-eBGP-CUSTOMER-REG3-POP1 as-number 65005 ipv4-family unicast peer IPV4-eBGP-CUSTOMER-REG3-POP1 enable peer 172.16.11.130 group IPV4-eBGP-CUSTOMER-REG3-POP1 peer IPV4-eBGP-CUSTOMER-REG3-POP1 default-route-advertise quit quit quit save IPv4 Next-hop Local Router7 Conf: system-view bgp 17821 ipv4-family unicast peer IPV4-iBGP-REG3 next-hop-local quit quit quit save IPv6 eBGP Router7 Conf: system-view bgp 17821 group IPV6-eBGP-CUSTOMER-REG3-POP1 external peer IPV6-eBGP-CUSTOMER-REG3-POP1 as-number 65005 ipv6-family unicast peer IPV6-eBGP-CUSTOMER-REG3-POP1 enable peer 2406:6400:0020:0000::2 group IPV6-eBGP-CUSTOMER-REG3-POP1 peer IPV6-eBGP-CUSTOMER-REG3-POP1 default-route-advertise quit quit quit save
IPv6 Next-hop Local Router7 Conf: system-view bgp 17821 ipv6-family unicast peer IPV6-iBGP-REG3 next-hop-local quit
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
23
©APNIC V1.0 Created: 02 February 2016
quit quit save IPv4 eBGP Router9 Conf: system-view bgp 17821 group IPV4-eBGP-CUSTOMER-REG3-POP2 external peer IPV4-eBGP-CUSTOMER-REG3-POP2 as-number 65006 ipv4-family unicast peer IPV4-eBGP-CUSTOMER-REG3-POP2 enable peer 172.16.11.162 group IPV4-eBGP-CUSTOMER-REG3-POP2 peer IPV4-eBGP-CUSTOMER-REG3-POP2 default-route-advertise quit quit quit save IPv4 Next-hop Local Router9 Conf: system-view bgp 17821 ipv4-family unicast peer IPV4-iBGP-REG3 next-hop-local quit quit quit save IPv6 eBGP Router9 Conf: system-view bgp 17821 group IPV6-eBGP-CUSTOMER-REG3-POP2 external peer IPV6-eBGP-CUSTOMER-REG3-POP2 as-number 65006 ipv6-family unicast peer IPV6-eBGP-CUSTOMER-REG3-POP2 enable peer 2406:6400:0024:0000::2 group IPV6-eBGP-CUSTOMER-REG3-POP2 peer IPV6-eBGP-CUSTOMER-REG3-POP2 default-route-advertise quit quit quit save IPv6 Next-hop Local Router9 Conf: system-view bgp 17821 ipv6-family unicast peer IPV6-iBGP-REG3 next-hop-local quit quit quit save
Basic Conf r17-CAR3 system-view
Tuesday, June 07, 2016
24
sysname Router17 ipv6 undo dns resolve undo http server enable undo http secure-server enable interface loopback 0 info-center loghost source loopback0 info-center timestamp log date precision-time millisecond info-center timestamp debugging date precision-time second tcp timer syn-timeout 15 quit clock timezone AEST minus 10 save r17.cfg startup saved-configuration r17.cfg Basic Conf r18-CBR3 system-view sysname Router18 ipv6 undo dns resolve undo http server enable undo http secure-server enable interface loopback 0 info-center loghost source loopback0 info-center timestamp log date precision-time millisecond info-center timestamp debugging date precision-time second tcp timer syn-timeout 15 quit clock timezone AEST minus 10 save r18.cfg startup saved-configuration r18.cfg IPv4 Interface Router17 Conf: system-view interface loopback 0 description r17-CAR3 Loopback undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.24.254 255.255.255.255 interface gigabitethernet2/0/0 description LAN r17-CAR3 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.24.1 255.255.255.224 interface gigabitethernet4/0/1 description Upstream WAN r17-CAR3-R7 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.130 255.255.255.252 quit quit save
IPv6 Interface Router17 Conf:
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
25
©APNIC V1.0 Created: 02 February 2016
system-view interface loopback 0 ipv6 enable ipv6 address 2406:6400:C000:0000::1/128 interface gigabitethernet4/0/1 ipv6 enable ipv6 address 2406:6400:0020:0000::2/64 interface gigabitethernet2/0/0 ipv6 enable ipv6 address 2406:6400:C000:0001::1/64 quit quit save IPv4 Interface Router18 Conf: system-view interface loopback 0 description r18-CBR3 Loopback undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.26.254 255.255.255.255 interface gigabitethernet2/0/0 description LAN r18-CBR3 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.26.1 255.255.255.224 interface gigabitethernet4/0/1 description Upstream WAN r18-CBR3-R9 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.162 255.255.255.252 quit quit save
IPv6 Interface Router18 Conf: system-view interface loopback 0 ipv6 enable ipv6 address 2406:6400:D800:0000::1/128 interface gigabitethernet4/0/1 ipv6 enable ipv6 address 2406:6400:0024:0000::2/64 interface gigabitethernet2/0/0 ipv6 enable ipv6 address 2406:6400:D800:0001::1/64 quit quit save
IPv4 eBGP Router17 Conf: system-view bgp 65005 peer 172.16.11.129 as-number 17821
Tuesday, June 07, 2016
26
ipv4-family unicast peer 172.16.11.129 enable quit quit quit save IPv4 Prefix Announcement Router17 Conf: system-view bgp 65005 ipv4-family unicast network 172.16.24.0 255.255.255.0 quit quit ip route-static 172.16.24.0 255.255.255.0 null 0 permanent quit save
IPv6 eBGP Router17 Conf: system-view bgp 65005 undo default ipv4-unicast peer 2406:6400:0020:0000::1 as-number 17821 ipv6-family unicast peer 2406:6400:0020:0000::1 enable quit quit quit save IPv6 Prefix Announcement Router17 Conf: system-view bgp 65005 ipv6-family unicast network 2406:6400:C000:: 48 quit quit ipv6 route-static 2406:6400:C000:: 48 null 0 quit save IPv4 eBGP Router18 Conf: system-view bgp 65006 peer 172.16.11.161 as-number 17821 ipv4-family unicast peer 172.16.11.161 enable quit quit quit save
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
27
©APNIC V1.0 Created: 02 February 2016
IPv4 Prefix Announcement Router18 Conf: system-view bgp 65006 ipv4-family unicast network 172.16.26.0 255.255.255.0 quit quit ip route-static 172.16.26.0 255.255.255.0 null 0 permanent quit save IPv6 eBGP Router18 Conf: system-view bgp 65006 undo default ipv4-unicast peer 2406:6400:0024:0000::1 as-number 17821 ipv6-family unicast peer 2406:6400:0024:0000::1 enable quit quit quit save IPv6 Prefix Announcement Router18 Conf: system-view bgp 65006 ipv6-family unicast network 2406:6400:D800:: 48 quit quit ipv6 route-static 2406:6400:D800:: 48 null 0 quit save
Tuesday, June 07, 2016
28
eBGP Customer Conf Region 4:
IPv4 WAN Interface Router10 Conf: system-view interface gigabitethernet 4/0/0 description Customer WAN R10-CAR4 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.193 255.255.255.252 quit quit save IPv6 WAN Interface Router10 Conf: system-view interface gigabitethernet 4/0/0 ipv6 enable ipv6 address 2406:6400:0028:0000::1/64 quit quit save IPv4 WAN Interface Router12 Conf: system-view interface gigabitethernet 4/0/0 description Customer WAN R12-CBR4 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.225 255.255.255.252
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
29
©APNIC V1.0 Created: 02 February 2016
quit quit save IPv6 WAN Interface Router12 Conf: system-view interface gigabitethernet 4/0/0 ipv6 enable ipv6 address 2406:6400:002C:0000::1/64 quit quit save IPv4 eBGP Router10 Conf: system-view bgp 17821 group IPV4-eBGP-CUSTOMER-REG4-POP1 external peer IPV4-eBGP-CUSTOMER-REG4-POP1 as-number 65007 ipv4-family unicast peer IPV4-eBGP-CUSTOMER-REG4-POP1 enable peer 172.16.11.194 group IPV4-eBGP-CUSTOMER-REG4-POP1 peer IPV4-eBGP-CUSTOMER-REG4-POP1 default-route-advertise quit quit quit save IPv4 Next-hop Local Router10 Conf: system-view bgp 17821 ipv4-family unicast peer IPV4-iBGP-REG4 next-hop-local quit quit quit save IPv6 eBGP Router10 Conf: system-view bgp 17821 group IPV6-eBGP-CUSTOMER-REG4-POP1 external peer IPV6-eBGP-CUSTOMER-REG4-POP1 as-number 65007 ipv6-family unicast peer IPV6-eBGP-CUSTOMER-REG4-POP1 enable peer 2406:6400:0028:0000::2 group IPV6-eBGP-CUSTOMER-REG4-POP1 peer IPV6-eBGP-CUSTOMER-REG4-POP1 default-route-advertise quit quit quit save
IPv6 Next-hop Local Router10 Conf: system-view bgp 17821
Tuesday, June 07, 2016
30
ipv6-family unicast peer IPV6-iBGP-REG4 next-hop-local quit quit quit save IPv4 eBGP Router12 Conf: system-view bgp 17821 group IPV4-eBGP-CUSTOMER-REG4-POP2 external peer IPV4-eBGP-CUSTOMER-REG4-POP2 as-number 65008 ipv4-family unicast peer IPV4-eBGP-CUSTOMER-REG4-POP2 enable peer 172.16.11.226 group IPV4-eBGP-CUSTOMER-REG4-POP2 peer IPV4-eBGP-CUSTOMER-REG4-POP2 default-route-advertise quit quit quit save IPv4 Next-hop Local Router12 Conf: system-view bgp 17821 ipv4-family unicast peer IPV4-iBGP-REG4 next-hop-local quit quit quit save IPv6 eBGP Router12 Conf: system-view bgp 17821 group IPV6-eBGP-CUSTOMER-REG4-POP2 external peer IPV6-eBGP-CUSTOMER-REG4-POP2 as-number 65008 ipv6-family unicast peer IPV6-eBGP-CUSTOMER-REG4-POP2 enable peer 2406:6400:002C:0000::2 group IPV6-eBGP-CUSTOMER-REG4-POP2 peer IPV6-eBGP-CUSTOMER-REG4-POP2 default-route-advertise quit quit quit save IPv6 Next-hop Local Router12 Conf: system-view bgp 17821 ipv6-family unicast peer IPV6-iBGP-REG4 next-hop-local quit quit quit save
Basic Conf r19-CAR4
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
31
©APNIC V1.0 Created: 02 February 2016
system-view sysname Router19 ipv6 undo dns resolve undo http server enable undo http secure-server enable interface loopback 0 info-center loghost source loopback0 info-center timestamp log date precision-time millisecond info-center timestamp debugging date precision-time second tcp timer syn-timeout 15 quit clock timezone AEST minus 10 save r19.cfg startup saved-configuration r19.cfg
Basic Conf r20-CBR4 system-view sysname Router20 ipv6 undo dns resolve undo http server enable undo http secure-server enable interface loopback 0 info-center loghost source loopback0 info-center timestamp log date precision-time millisecond info-center timestamp debugging date precision-time second tcp timer syn-timeout 15 quit clock timezone AEST minus 10 save r20.cfg startup saved-configuration r20.cfg IPv4 Interface Router19 Conf: system-view interface loopback 0 description r19-CAR4 Loopback undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.28.254 255.255.255.255 interface gigabitethernet2/0/0 description LAN r19-CAR4 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.28.1 255.255.255.224 interface gigabitethernet4/0/1 description Upstream WAN r19-CAR4-R10 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.194 255.255.255.252 quit quit save
Tuesday, June 07, 2016
32
IPv6 Interface Router19 Conf: system-view interface loopback 0 ipv6 enable ipv6 address 2406:6400:E000:0000::1/128 interface gigabitethernet4/0/1 ipv6 enable ipv6 address 2406:6400:0028:0000::2/64 interface gigabitethernet2/0/0 ipv6 enable ipv6 address 2406:6400:E000:0001::1/64 quit quit save IPv4 Interface Router20 Conf: system-view interface loopback 0 description r20-CBR4 Loopback undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.30.254 255.255.255.255 interface gigabitethernet2/0/0 description LAN r20-CBR4 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.30.1 255.255.255.224 interface gigabitethernet4/0/1 description Upstream WAN r20-CBR4-R12 undo icmp redirect send undo ip forward-broadcast undo icmp port-unreachable send ip address 172.16.11.226 255.255.255.252 quit quit save
IPv6 Interface Router20 Conf: system-view interface loopback 0 ipv6 enable ipv6 address 2406:6400:F800:0000::1/128 interface gigabitethernet4/0/1 ipv6 enable ipv6 address 2406:6400:002C:0000::2/64 interface gigabitethernet2/0/0 ipv6 enable ipv6 address 2406:6400:F800:0001::1/64 quit quit save
IPv4 eBGP Router19 Conf: system-view
APNIC IPv6/Routing Workshop Lab (Huawei VRP)
33
©APNIC V1.0 Created: 02 February 2016
bgp 65007 peer 172.16.11.193 as-number 17821 ipv4-family unicast peer 172.16.11.193 enable quit quit quit save IPv4 Prefix Announcement Router19 Conf: system-view bgp 65007 ipv4-family unicast network 172.16.28.0 255.255.255.0 quit quit ip route-static 172.16.28.0 255.255.255.0 null 0 permanent quit save IPv6 eBGP Router19 Conf: system-view bgp 65007 undo default ipv4-unicast peer 2406:6400:0028:0000::1 as-number 17821 ipv6-family unicast peer 2406:6400:0028:0000::1 enable quit quit quit save IPv6 Prefix Announcement Router19 Conf: system-view bgp 65007 ipv6-family unicast network 2406:6400:E000:: 48 quit quit ipv6 route-static 2406:6400:E000:: 48 null 0 quit save
IPv4 eBGP Router20 Conf: system-view bgp 65008 peer 172.16.11.225 as-number 17821 ipv4-family unicast peer 172.16.11.225 enable quit
Tuesday, June 07, 2016
34
quit quit save IPv4 Prefix Announcement Router20 Conf: system-view bgp 65008 ipv4-family unicast network 172.16.30.0 255.255.255.0 quit quit ip route-static 172.16.30.0 255.255.255.0 null 0 permanent quit save
IPv6 eBGP Router20 Conf: system-view bgp 65008 undo default ipv4-unicast peer 2406:6400:002C:0000::1 as-number 17821 ipv6-family unicast peer 2406:6400:002C:0000::1 enable quit quit quit save IPv6 Prefix Announcement Router20 Conf: system-view bgp 65008 ipv6-family unicast network 2406:6400:F800:: 48 quit quit ipv6 route-static 2406:6400:F800:: 48 null 0 quit save
Top Related