Page 2
ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations. All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATION or of their respective owners.
About This Manual Purpose This manual describes the principles, configuration commands and configuration examples about implementing IPv6 on ZXR10 ZSR V2. Intended Audience This manual is intended for: Network planning engineers Commissioning engineers Maintenance engineers What Is in This Manual...
Page 10
Menus, menu options, function names, input fields, option button names, check boxes, drop-down lists, dialog box names, window names, parameters, and commands. Constant Text that you type, program codes, filenames, directory names, and function names. width SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 11
Caution: indicates a potentially hazardous situation. Failure to comply can result in moderate injury, equipment damage, or interruption of minor services. Note: provides additional information about a certain topic. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 12
This page intentionally left blank. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Authentication and privacy capabilities Extensions to support authentication, data integrity, and (optional) data confidentiality are specified for IPv6. 1.2 Configuring IPv6 This procedure describes how to configure the basic functions of IPv6, including ICMPv6 and TCPv6. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 14
ZXR10 ZSR V2 Configuration Guide (IPv6) Steps 1. Configure ICMPv6. If a router cannot process an IP packet due to some reasons (no route can be found or the packet contains a wrong layer 3 protocol number), an ICMP error packet is generated possibly and sent back to the source node of the IP packet.
Page 15
TCPv6 connections. Displays information about show tcp6 config ZXR10# TCPv6 configuration parameters. Displays TCP layer statistical show tcp6 statistics ZXR10# parameters. show tcp6 tcb <tcb-index> Displays the TCPv6 connection ZXR10# parameters of the specified TCB. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 16
ZXR10 ZSR V2 Configuration Guide (IPv6) 4. Maintain IPv6. Command Function clear tcp6 connect {<local-ipv6-address>| vrf Clears IPv6 TCP connections, ZXR10# <vrf-name><local-ipv6-address>}<local-port><remote-ipv6-addr including the Telnet, FTP, and ess><remote-port> BGP connections based on IPv6 TCP. Clears IPv6 TCP statistical clear tcp6 statistics ZXR10# information.
Page 17
<vrf-name>: VRF name of the IP address, containing 1 to 32 characters. <local-port>: local port number, range: 1–65535. <remote-ipv6-address>: remote IP address in colon-separated, hexadecimal format. <remote-port>: remote port number, range: 1–65535. – End of Steps – SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 18
ZXR10 ZSR V2 Configuration Guide (IPv6) This page intentionally left blank. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Internet Protocol Version 6 (IPv6) features a huge address capacity up to 128 bits, which is described as follows: provides 2128 different IPv6 addresses, that number allocable addresses around world 340,282,366,920,938,463,463,374,607,431,768,211,456. It provides 2.2*10 addresses per cm if addresses are allocated based on ground area. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) IPv4 and IPv6 Header Format The following are differences between IPv4 and IPv6 in header format. The header formats of IPv4 and IPv6 as shown in Figure 2-1 andFigure 2-2 respectively. (Numbers in the figures refer to bit numbers.)
Page 22
ZXR10 ZSR V2 Configuration Guide (IPv6) Allocation Prefix Fraction of Address Space Site local unicast address 1111 1110 11 [FEC] 1/1024 Multicast address 1111 1111 [FF] 1/256 Note: The hex number in [] in this table refers to the starting and ending hex numbers of the corresponding address.
Here, it refers to the routing information with the most hosts in network interconnection. Currently, this field is 13 bits and can obtain at most 8,192 different top level routes. RES field à SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 24
ZXR10 ZSR V2 Configuration Guide (IPv6) This is an 8-bit field and reserved for future use. It is likely to be used for extending the top- or next-level aggregation identifier field. NLA ID field à This is the next-level aggregation identifier with 24 bits. This identifier is used...
To implement this function, IPv6 allocates two different address segments from the globally unique Internet space. Table 2-4 is originated from RFC, indicating the structures of link-local and site-local addresses. Table 2-4 Structures of Link-local Address and Site-local Address Link-local Address SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) 1111111010 Interface identifier Site-local Address 1111111011 Subnet Interface identifier identifier Link-local addresses are used in a single network link for host numbering. The address identified by the first ten bits of the prefix is the link-local address. Routers do not process the packets with link-local addresses at their source end and destination end because they never forward these packets.
Table 2-6 Multicast Scope Values Decimal Value Reserved Node-local range Link-local range Reserved Management-local range Site-local range Unallocated Unallocated Institution-local range Unallocated Unallocated Unallocated Unallocated Unallocated Global range Reserved Group ID field SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) The 112-bit multicast ID field identifies a multicast group within a specified range permanently or temporarily. Anycast Address A multicast address can be shared by many nodes in a sense. All the nodes of the members of a multicast address expect to receive all the packets sent to this address.
The link-local address of each interface The unicast address of each interface, which can be a site-local address or one or more aggregable global addresses 2-11 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Loopback address (::1) of a loopback interface In addition, each host must always keep receiving the data from the following multicast addresses. Multicast addresses (FF01::1) of all the nodes within the node-local range Multicast addresses (FF02::1) of all the nodes within the link-local range...
Internet. 2.2 Configuring an IPv6 Address This procedure describes how to configure an IPv6 address for an interface, which is the prerequisite for managing and configuring other functions. Steps 1. Configure IPv6 address. 2-13 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 32
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function interface <interface-name> Enters interface configuration ZXR10(config)# mode. Enables the IPv6 protocol. ipv6 enable ZXR10(config-if-interface-name)# ipv6 address Configures an IPv6 address ZXR10(config-if-interface-name)# <ipv6-address>/<prefix-length> on an interface. Configures the IPv6 link local ipv6 address ZXR10(config-if-interface-name)# link-local <X:X::X:X>...
Each RA packet may also contain prefix information, link configuration information and IPv6 protocol parameters. It indicates the existence of routers, and routers can forward the packet. The RA packet carries the information about SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) the routers. Such information helps a host to determine where the packet should be sent. The host discovers available routers through the RA packet and constructs a list of all the discovered routers as the default router list.
Page 37
Configures the router enables ZXR10(config-if-interface-name)# sending router advertisement suppress-ra<disable> packets, by default, no RA packets are sent. Configures the counter limit ipv6 nd ZXR10(config-if-interface-name)# of router advertisement hops, ra-curhoplimit<hoplimit> range: 0–255, default: 64. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 38
ZXR10 ZSR V2 Configuration Guide (IPv6) Command Function Configures the staled-time (in ipv6 nd ZXR10(config-if-interface-name)# minutes) of ND entities in the staled-time<minutes> neighbor cache table, range: 1–14400, default: 1440. Configures reachability detection ipv6 nd stale-switch ZXR10(config-if-interface-name)# before staled-time expires, default: disabled.
Page 39
IPv6 neighbor cache table if no interface name is specified. Clear the dynamic entries of the interface from the IPv6 neighbor cache table if an interface name is specified. This command can be used only in privileged mode. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Command Function Turns on all the debugging debug ipv6 nd6 ZXR10# function switches related to the ND protocol. Displays the ND6 protocol show debug nd6 ZXR10# debugging switches that have already been turned on.
Page 41
Chapter 3 NDP Configuration 780::1 0000.0a00.1345 static Reachable gei-1/1 3ffe:100::2 0023.e422.1134 23h55m6s Stale gei-1/1 The result above indicates that a static entry has been successfully added to the NDP neighbor cache table. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 42
ZXR10 ZSR V2 Configuration Guide (IPv6) This page intentionally left blank. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
This procedure describes how to configure a static IPv6 route. The network administrator configures static routes manually based on the route requirements so that the route behaviors in the network can be precisely controlled. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 44
ZXR10 ZSR V2 Configuration Guide (IPv6) Context The following issues require attention when configuring static routes: For a point-to-point interface, it is only necessary to specify the out-interface for the static route, because specifying an out-interface also specifies the next hop implicitly.
2003::/64 of R2, a static route to the network segment 2003::/64 can be added on R1, with the next hop being the IPv6 address of the R2 interface that directly connects R1 with R2. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Figure 4-1 Topology Diagram for Configuring a Static IPv6 Route (Direct Next Hop) Configuration Flow 1. Configure the IPv6 address of the network segment 2005::/64 for the direct connection between R1 and R2. 2. Configure the IPv6 address of another different network segment 2003::/64 on the direct connection interface of R2.
2003::/64, it must transmit packets to R2 having IPv6 address 2006::2 first. If R2 needs to transmit packets to remote network segment 2003::/64, it must transmit packets to R3 having IPv6 address 2005::2 first. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Figure 4-2 Topology Diagram for Configuring a Static IPv6 Route (Indirect Next Hop) Configuration Flow 1. Configure a static route on R1, with the destination network segment 2003::/64 and next hop 2005::2. 2. Configure a static route on R1, with the destination network segment 2005::/64 and next hop 2006::2.
FRR provides backup protection for important nodes or links in the network when they are invalid to implement fast rerouting, thus minimizing the impact on traffic and restoring traffic quickly. As shown in Figure 4-4, FRR function is configured for static IPv6 routes in a public network. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Figure 4-4 Networking Diagram for Configuring FRR for Static IPv6 Route in a Public Network Configuration Flow 1. On R1, enable the backup route calculation function for static IPv6 routes in the public network.
ZXR10 ZSR V2 Configuration Guide (IPv6) 4.3.5 Example: Configuring FRR for Static IPv6 Route in a Private Network Configuration Description FRR provides backup protection for important nodes or links in the network when they are invalid to implement fast rerouting, thus minimizing the impact on traffic and restoring traffic quickly.
ZXR10 ZSR V2 Configuration Guide (IPv6) Interface Pri M/S Sta Gw 1234::1/128 gei-5/5 500::2 1234::1/128 gei-5/3 300::2 4.3.6 Example: Configuring Load Sharing from Static IPv6 Routes Configuration Description Load sharing enables the traffic beyond the bandwidth of a single interface to be allocated to multiple links evenly, thus load balancing on links is implemented.
Page 55
1234::1/128 gei-1/1 300::2 1234::1/128 gei-1/2 500::2 The above result indicates that there are two next hops to destination 1234::1/128, 300::2 and 500::2 respectively. Outgoing interfaces are gei-1/1 and gei-1/2. Load sharing is implemented. 4-13 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) 4.3.7 Example: Configuring the Next Hop Address of the BFD Source Side of a Static IPv6 Route Configuration Description The next hop of the source end must be specified when a multi-hop BFD session of a static IPv6 route is created.
Page 59
RIPv2, so it can use subnet masks to distinguish between network routes and subnet routes. IPv6 address prefixes have express meanings. Therefore, RIPng no longer involves the subnet mask concept but uses the prefix length instead. Similarly, due to the use SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 60
ZXR10 ZSR V2 Configuration Guide (IPv6) of IPv6 addresses, it is unnecessary for RIPng to distinguish among network routes, subnet routes and host routes. Protocol applicable scope The application scope of RIPv1 and RIPv2 is not limited to the Transfer Control Protocol/Internet Protocol (TCP/IP) protocol suite but also includes other network protocol suites.
<protocol>[metric Configures the redistribution of ZXR10(config-ripng)# <metric-value>][route-map <map-tag>] protocol routes. <protocol>: specifies the name of the protocol whose routes are redistributed. <metric-value>: specifies the metric for the redistributed routes, range: 1 to 16. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 62
ZXR10 ZSR V2 Configuration Guide (IPv6) <map-tag>: specifies the route map used for protocol route redistribution. 4. Enable the RIPng protocol function for an interface. Step Command Function interface <interface-name> Enters RIPng interface ZXR10(config-ripng)# configuration mode. Enables RIPng on an...
Figure 5-1 Topology of RIPng Basic Configuration Example Configuration Flow 1. Enable the IPv6 protocol on the interfaces and configure IPv6 addresses. 2. Configure the RIPng protocol. 3. Enable the RIPng-related configurations on the interfaces. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 64
ZXR10 ZSR V2 Configuration Guide (IPv6) 4. Configure the redistribution commands if it is necessary to redistribute other routes. 5. Check the configuration result, and confirm whether the neighbor relationship is established correctly between two routers, and whether these two routers can learn the route notified by the peer end.
Page 65
1 updates every 30 seconds, expire after 180 seconds garbage collect after 120 seconds The number of ripng routes: connect ripng route 3 aggregate ripng route 0 ripng route 2 Redistribution: SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 70
ZXR10 ZSR V2 Configuration Guide (IPv6) R2(config-ripng)#interface gei-1/3 R2(config-ripng-gei-1/3)#ipv6 rip enable R2(config-ripng-gei-1/3)#exit R2(config-ripng)#summary-prefix 2001:db8:0:10::/62 /*collect several routers of loopback together*/ Configuration Verification The RIPng route learnt from R1 is as follows: The route information on R1 is as follows: R1#show ipv6 forwarding route ripng IPv6 Routing Table: Headers: Dest: Destination, Gw: Gateway, Pri: Priority;...
Page 71
Designate Router (DR) and Backup Designate Router (BDR). OSPFv3 and OSPFv2 also maintain consistency with each other in such aspects as neighbor determination, basic concept of inter-area routes, redistribution of Autonomous System (AS) external routes, and so forth. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 72
ZXR10 ZSR V2 Configuration Guide (IPv6) Compared with OSPFv2, OSPFv3 has almost the same working mechanism but has also revised OSPFv2 to support the IPv6 address format. The following sections describe in detail the similarities and differences between OSPFv2 and OSPFv3.
The Hello packet does not contain the address semanteme but contains an à interface ID used by the router to identify the link. If the router becomes the DR on the link, the interface ID will be the link state ID of the network LSA. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 74
ZXR10 ZSR V2 Configuration Guide (IPv6) To process the router LSA during SPF computation, two flag bits R and V6 are à added to the options field. The OSPF header contains an Example ID, thus allowing the operation of multiple OSPF protocol instances over a single link.
<vrf-name>: VRF name, range: 1–32 characters. <router-id>: OSPF router ID in IP address format. OSPFv3 instances cannot run properly until the router ID is configured through the router-id command. 2. Configure OSPFv3 protocol attributes. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 76
ZXR10 ZSR V2 Configuration Guide (IPv6) Command Function area <area-id> Configures authentication ZXR10(config-ospfv3-process-id)# authentication ipsec spi <spi-id>{md5 | sha1 password of all interfaces in an <Hex-string>[rollover-interval <rollover-interval>]} OSPFv3 area. area <area-id> bfd Configures BFD attribute of all ZXR10(config-ospfv3-process-id)# <disable | enable>...
Page 77
<holdtime>: specifies the hold time (in seconds), range: 0 to 65535, default: 10. 3. Configure OSPFv3 route summarization, and redistribute routes into OSPFv3 from other routing protocols. Command Function Redistributes the routes of redistribute ZXR10(config-ospfv3-process-id)# <protocol>[metric <metric-value>][metric-type protocols into the OSPFv3 <type>][route-map <name>][tag <number>] protocol. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 78
ZXR10 ZSR V2 Configuration Guide (IPv6) Command Function Summaries the routes of other summary-prefix ZXR10(config-ospfv3-process-id)# <X:X::X:X/<0-128>> protocols that are redistributed to OSPF. <protocol>: specifies the name of the redistributed protocol, such as “connected”, “static”, “rip”, “bgp”, “isis”, “iaftr”,“isf-nat64”,“isl-nat64-ipv6”or “isubscriber-host. <metric-value>: specifies the metric of the redistributed LSA. By default, range: 1-16777214.
Page 79
120 seconds. Sets the interface cost value ZXR10(config-ospfv3-process-id-if-interface- cost <cost-value> (in seconds), range: 1 to name)# 65535. Sets the interface priority (in ZXR10(config-ospfv3-process-id-if-interface- priority <value> seconds), range: 0 to 255, name)# default: 1. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 80
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function Configures the neighboring ZXR10(config-ospfv3-process-id-if- neighbor <X:X::X:X>[{[cost routers in a non-broadcast or interface-name)# <cost-value>]|[poll-interval <interval>]|[priority point-to-multipoint network. <value>]}] Sets the network type for an ZXR10(config-ospfv3-process-id-if-interface- network {broadcast | non-broadcast | interface. name)#...
1. Enable the IPv6 protocol on the direct connection interfaces of R1 and R2, configure IPv6 addresses for the direct connection interfaces, configure loopback interfaces, enable IPv6 on the loopback interfaces, and configure IPv6 addresses for the loopback interfaces. 2. Configure OSPFv3. 6-11 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 82
ZXR10 ZSR V2 Configuration Guide (IPv6) 3. Add the interfaces to OSPFv3 area 0. 4. Check and verify the configuration results: Neighbors are correctly established between the two routers, each router can learn the routes advertised by the peer router, and each router can ping the peer loopback interface successfully.
ZXR10 ZSR V2 Configuration Guide (IPv6) R1#ping6 3550::52 sending 5,100-byte ICMP echo(es) to 3555:0:0:0:0:0:0:52,timeout is 2 second(s). !!!!! Success rate is 100 percent(5/5),round-trip min/avg/max= 2/3/4 ms. 6.3.2 OSPFv3 Redistribution Configuration Example Configuration Description As shown in Figure 6-2, R1 and R2 establish a link with each other via the direct connection...
Page 85
R2(config-if-loopback5)#ipv6 address 3550::52/64 R2(config-if-loopback5)#exit R2(config)#ipv6 router ospf 1 R2(config-ospfv3-1)#router-id 10.10.10.10 R2(config-ospfv3-1)#interface gei-1/3 area 0 R2(config-ospfv3-1-if-gei-1/3)#exit R2(config-ospfv3-1)#interface loopback5 area 0 R2(config-ospfv3-1-if-loopback5)#exit R2(config-ospfv3-1)#interface gei-1/2 area 10 R2(config-ospfv3-1-if-gei-1/2)#exit R2(config-ospfv3-1)#exit The configuration on R3 is as follows: R3(config)#interface gei-3/6 6-15 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 87
0.0.0.0 instance 0 interface gei-1/2 area 0.0.0.10 instance 0 ! </OSPFV3> R2#show ipv6 ospf neighbor OSPFv3 Process 1 Neighbor ID State Dead Time Interface ID Interface 1.1.1.5 FULL/BDR 00:00:33 gei-1/2 6-17 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
The TLV type value of the IPv6 Interface Address TLV is 232 (0xE8). Its TLV effects are equal to the TLV of IPv4: IP port address. The difference is that the original 32-bit address segment is superseded by the 128-bit address segment in the new TLV. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) The operating principles of IS-ISv6 are similar to those of IS-ISv4. 7.2 Configuring IS-ISv6 This procedure describes how to configure the attributes and functions of IS-ISv6 protocol routes, including basic attributes, global attributes, summary route, redistributing routes into IS-ISv6 from other routing protocols, fast rerouting, and interface parameters.
Page 93
MTU value of the interface. 3. Configure IS-ISv6 global parameters in IS-ISv6 address family mode. Step Command Function Enters IPv6 address-family address-family ipv6 ZXR10(config-isis-process-id)# configuration mode. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 94
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function distance <1-255> Configures the ZXR10(config-isis-process-id-af)# administrative distance of IS-ISv6 routes. Enables the multi-topology multi-topology ZXR10(config-isis-process-id-af)# function. Sets the overload-bit in the set-overload-bit ZXR10(config-isis-process-id-af)# LSP packets sent by IS-IS itself. Configures the leakage...
Page 95
Sets the fast rerouting type of fast-reroute ZXR10(config-isis-process-id-af)# alternate-type {down-stream-path} IS-IS. 6. Configure IS-ISv6 interface parameters. Step Command Function Enters IS-ISv6 interface interface ZXR10(config-isis-process-id)# <interface-name> configuration mode. Runs the IS-ISv6 protocol ZXR10(config-isis-process-id-if-interface- on an interface. ipv6 router isis name)# SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 96
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function Configures the circuit-type ZXR10(config-isis-process-id-if-interface- circuit-type {level-1 | level-1-2 | level-2-only} on an interface. name)# Configures the interval at ZXR10(config-isis-process-id-if-interface- csnp-interval <interval>[level-1 | level-2] which the IS-ISv6 protocol name)# sends CSNP packets on an interface, range: 1 to 65535.
IPv4 address and an IPv6 address as well as the commands ip router isis and ipv6 router isis. Here, the multi-topology environment is taken as an example. 3. Enable the IS-ISv6 protocol on the interfaces. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 100
ZXR10 ZSR V2 Configuration Guide (IPv6) 4. Check and verify the configuration results: Neighbors are correctly established between the routers, and each router correctly computes the IPv6 topology and can successfully ping6 the loopback interface of the peer router. Configuration Commands...
Page 101
UP. After the neighbor is established, the state field should indicate “UP”. R1#show isis adjacency Interface System id State Lev Holds SNPA(802.2) gei-0/6 0000.0010.0022 UP/UP L1L2 7/6 00D0.D0AF.CC10 64/64 M 7-11 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 102
ZXR10 ZSR V2 Configuration Guide (IPv6) Run the show isis ipv6 topology command to check whether the topology is correctly computed (For the single-topology environment, run the show isis topology command instead to check it). If the topology has been successfully computed, the execution results will indicate the following item.
Page 103
Level2-DR Pri(L1/L2) loopback5 L1L2 0 Disabled Disabled 64/64 gei-0/3 L1L2 3 Dis is me Dis is me 64/64 R2#show ipv6 forwarding route isis-l1 IPv6 Routing Table: Headers: Dest: Destination, Gw: Gateway, Pri: Priority; 7-13 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 108
ZXR10 ZSR V2 Configuration Guide (IPv6) R4(config-isis-0-if-loopback4)#circuit-type level-1 R4(config-isis-0)#address-family ipv6 R4(config-isis-0-af)#multi-topology R4(config-isis-0-af)#redistribute static metric 10 /*Redistribute the route*/ R4(config-isis-0-af)#end Configuration Verification After the configuration is completed, run the show command on each router to check the configuration information: Neighbors are correctly established, the topology is computed, and interfaces can be pinged successfully.
Page 109
If neighbor establishment and route advertisement are normal, the loopback interface of R4 can be pinged successfully. ZXR10_R1#ping6 2400::4 sending 5,100-byte ICMP echoes to 2400::4,timeout is 2 seconds. !!!!! Success rate is 100 percent(5/5),round-trip min/avg/max=97/120/156 ms. 7-19 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 110
ZXR10 ZSR V2 Configuration Guide (IPv6) Similarly, check the configuration result on R2, as shown below. R2#show running-config isis ! <route_isis> router isis 0 area 00 system-id 0000.0000.0012 is-type level-2-only metric-style wide address-family ipv6 multi-topology interface gei-1/1 ipv6 router isis...
Page 111
0000.0000.0012 UP 00D0.D078.99D2 R3#show isis ipv6 topology Process ID: 0 IS-IS paths to Level-1 routers System id Metric Next-Hop Interface SNPA 0000.0000.0013 -- 0000.0000.0014 10 0000.0000.0014 gei-1/3 00D0.D078.99D4 IS-IS paths to Level-2 routers 7-21 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Steps 1. Configure BGP4+ basic function. For the ZXR10 ZSR V2, the commands for configuring BGP4+ are similar to those for configuring BGP in IPv4, except that the ZXR10 ZSR V2 supports IPv6 address SJ-20140504150128-018|2014-05-10 (R1.0)
Page 116
ZXR10 ZSR V2 Configuration Guide (IPv6) configuration. For details, refer to the “BGP Configuration” in “Configuration Guide (IPv4 Routing)”. 2. Configure BGP4+ route load sharing. Step Command Function router bgp < as-number> Enters RIP route configuration mode. ZXR10(config)# Enters BGP IPv6 address family...
R3 can forward the routes it receives from an IBGP neighbor to another IBGP neighbor. Considering that the routers with IBGP are not fully meshed in AS 200, a route reflector can be configured to avoid full meshing. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Figure 8-1 BGP4+ Route Reflector Configuration Example Configuration Flow 1. Enable IPv6 on each interface in accordance with the networking diagram, and configure IPv6 addresses. 2. Enable BGP. 3. Specify neighbors. 4. Configure a route reflector cluster ID. Set the neighbors as route reflector clients.
Configuration Flow 1. Enable IPv6 on each interface and configure IPv6 addresses. 2. Create a BGP4+ instance. 3. Configure BGP4+ neighbors and routing policies. 4. Configure the redistribution command and enable neighbors to advertise routes. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 122
ZXR10 ZSR V2 Configuration Guide (IPv6) Configuration Commands The IPv6 interface address configuration is omitted in this example. For the detailed configuration, refer to “Example: Configuring BGP4+ Route Load Sharing”. Configuration on R4: R4(config)#router bgp 2 R4(config-bgp)#neighbor 2001::1 remote-as 1...
Page 123
R4(config)#show bgp ipv6 unicast Status codes: * valid, > best, i - internal, s - stale Origin codes: i-IGP, e-EGP, ?-incomplete Network Next Hop Metric LocPrf RtPrf Path *> 2004:1::/64 *> 2004:2::/64 *> 2004:3::/64 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 124
ZXR10 ZSR V2 Configuration Guide (IPv6) *> 2004:4::/64 Run the show bgp ipv6 unicast summary command on R5 to check the adjacency, as shown below. ZXR10_R5(config)#show bgp ipv6 unicast summary Neighbor MsgRcvd MsgSend Up/Down State/PfxRcd 2005::2 00:32:30 Run the show bgp ipv6 unicast command on R5 to check the routing table, as shown below.
9.1 IPv6 Routing Policy Configuration IPv6 has the same routing policy as IPv4. For the detailed concepts and principles, refer to the “Routing Policy Overview” section in the ZXR10 ZSR V2 (V2.00.10) Configuration Guide (Policy Template). 9.1.1 Configuring the IPv6 Routing Policy This procedure describes how to configure the IPv6 routing policy, including basic attributes, route attributes, and how the policy is invoked in a routing protocol.
Page 126
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Description Matches the IPv6 address that match ipv6 address ZXR10(config-route-map)# is permitted by a standard or an *(<access-list-name>) extended access list. Matches the specified match ipv6 metric ZXR10(config-route-map)# metric value(s), range: 0 to *(<metric-value>)
Page 127
IP header, range: 0–7. set ipv6 traffic-class Sets the traffic class of an IPv6 ZXR10(config-route-map)# <traffic-value> route. Run the no command to cancel the configuration. <traffic-value>: traffic class of IPv6 routes, range: 0–255. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 128
ZXR10 ZSR V2 Configuration Guide (IPv6) Command Description When a packet matches the routing set ipv6 path interface ZXR10(config-route-map)# <interface> next-hop <nexthop> policy, run this command to route the packet to the specified Ethernet interface and the next hop. set ipv6 metric-type {internal |...
Page 129
6. Configure BGP4+ routing policy referencing. Step Command Function router bgp {<1~65535>|<1~65535>. Enters the BGP route ZXR10(config)# <0~65535>} configuration mode. bgp dampening [ route-map Enables BGP route dampening ZXR10(config-bgp)# <route-map-name>] or modifies its factors. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 130
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function neighbor [<ipv6-address>|<peer-g Filters the routes to/from the ZXR10(config-bgp)# roup-name>] route-map <route-map-name>{in | out} specified peer or its peer group, or sets the route priorities. in | out refers to applying the rule to inbound or outbound routes respectively.
5. Set the route-map. 6. Query the configuration result, and verify that R1 and R2 can learn routes that the peer advertises. Configuration Commands Configuration on R1: R1(config)#interface gei-1/2 R1(config-if-gei-1/2)#no shutdown R1(config-if-gei-1/2)#ipv6 enable R1(config-if-gei-1/2)#ipv6 address 192:168::1:1/64 R1(config-if-gei-1/2)#exit SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 133
B - BGP, IB - IBGP, EB - EBGP, AG - BGP AGG, V - VRRP, P - PPP, D6 - DHCPv6, SFN - Stateful NAT64, SLN - Stateless NAT64, AF - AFTR Time: The time of last modified! 1:2:3::/64 [120/11] via fe80::221:1dff:fe1d:1100, gei-2/2, 06h39m58s 192:168::/64 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) , gei-2/2, 03h42m55s 192:168::1:2/128 , gei-2/2, 03h42m55s 9.1.2.2 Example: Configuring an IS-ISv6 Routing Policy Configuration Description An IS-ISv6 neighbor relationship (status: up) is established between R1 and R2, see Figure 9-2. Static routes are configured on R1, and a route-map is created for IS-ISv6 route redistribution.
Page 135
Configuration Verification The sample output is as follows. R1(config)#show running-config isis ! <route_isis> router isis 44 area 44 system-id 5555.5555.5555 is-type level-1-2 metric-style wide address-family ipv6 multi-topology redistribute static route-map testisisv6 interface gei-1/2 9-11 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
R1 and R2 to be on the same network segment. R1(config)#interface gei-1/2 R1(config-if-gei-1/2)#no shutdown R1(config-if-gei-1/2)#ipv6 enable R1(config-if-gei-1/2)#ipv6 address 192:168::1:1/64 R1(config-if-gei-1/2)#exit R1(config)#ipv6 router ospf 1026 R1(config-ospfv3-1026)#router-id 11.11.11.11 R1(config-ospfv3-1026)#interface gei-1/2 area 1 R1(config-ospfv3-1026-if-gei-1/2)#exit 9-13 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 139
Type-5 AS External Link States ADV Router Seq# Prefix 11.11.11.11 0x80000001 1:2:3::/64 /*Check the tag attributes.*/ R1#show ipv6 ospf database external OSPFv3 Router with ID (11.11.11.11) (Process ID 1026) Type-5 AS External Link States 9-15 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 143
1011 i *> 8:8::/64 1:2::1 1011 i R3#show bgp ipv6 unicast Status codes: * valid, > best, i - internal, s - stale Origin codes: i - IGP, e - EGP, ? - incomplete 9-19 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 144
ZXR10 ZSR V2 Configuration Guide (IPv6) Network Next Hop Metric LocPrf RtPrf Path i4:4::/64 1:2::1 1011 i i5:5::/64 1:2::1 1011 i i6:6::/64 1:2::1 1011 i i7:7::/64 1:2::1 1011 i i8:8::/64 1:2::1 1011 i Verify that R2 can only learn routes 4:4:::/64 and 7:7::/64 permitted in route-map test1.
4. Apply the route-map to a VRF instance on PE1 to implement route importing/exporting, route publishing and receiving. Configuration Commands 1. Configure the basic L3VPN networking environment on PE1 and PE2. Configuration on PE1: PE1(config)#ip vrf test1 PE1(config-vrf-test1)#rd 100:1 PE1(config-vrf-test1)#address-family ipv6 PE1(config-vrf-test1-af-ipv6)#route-target import 100:1 9-21 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 149
Apply the route-maps to vrf test1. PE1(config)#ip vrf test1 PE1(config-vrf-test1)#address-family ipv6 PE1(config-vrf-test1-af-ipv6)#export map test1 PE1(config-vrf-test1-af-ipv6)#import map test2 4. Check the VRF routing table on PE1 and PE2, and verify that the routing policy has been enabled. 9-25 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 150
ZXR10 ZSR V2 Configuration Guide (IPv6) Run the following command on PE1. PE1#show ipv6 protocol routing vrf test1 Vrf test1 IPv6 Routing Table Codes: D - Direct, A - Address, S - Static, R - RIP, UI - USER_IPADDR, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS static,...
Page 151
! </vrf> PE1#show route-map test1 [route-map test1] IP type: IPv6 route-map test1 permit 10 match ipv6 address test1 PE1#show route-map test2 [route-map test2] IP type: IPv6 route-map test2 permit 10 match ipv6 address test2 9-27 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 152
ZXR10 ZSR V2 Configuration Guide (IPv6) PE1#show ipv6-access-lists name test1 ipv6-access-list test1 1/1 (showed/total) 1 permit ipv6 1001::20:0/120 any PE1#show ipv6-access-lists name test2 ipv6-access-list test2 1/1 (showed/total) 1 permit ipv6 2002::20:0/120 any Before the use of the VRF routing policy, in the export direction, the routing table for vrf test1 on PE1 is as follows.
Page 153
::, gei-1/10.1, 06h2211s 2002::20:2/128 via ::, gei-1/10.1, 06h22m11s After the policy is enabled, the routing table for VRF test1 on PE2 is as follows. PE2#show ipv6 protocol routing vrf test1 Vrf test1 IPv6 Routing Table 9-29 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
The concept of IPv6 policy routes is similar to the concept of IPv4 policy routes. For details about the overview and configuration commands, refer to “Policy Routing Configuration” in the ZXR10 ZSR V2 (V2.00.10) Configuration Guide (Policy Template). 9.2.1 Configuring IPv6 Policy Routes This procedure describes how to configure IPv6 policy routes.
3. Create a route-map, associate it with the ACL, and define the action. 4. Associate the route-map with the corresponding interfaces. Configuration Commands Configure the interfaces on the ZXR10. ZXR10(config)#interface gei-1/1 ZXR10(config-if-gei-1/1)#no shutdown ZXR10(config-if-gei-1/1)#description To User1 ZXR10(config-if-gei-1/1)#ipv6 enable 9-31 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Name Address Description Requested node multicast FF02::1:FFxx:xxxx Consisting of the address addresses prefix FF02::1:FF00:/104 (in front) and low 24 bits of a unicast or anycast address of a requested node. For example, 4307::01:800:200E:8C6C is corresponding to FF02::1:FF0E:8C6C.
Restricts the number of entries in ZXR10(config-mcast-ipv6)# the multicast forwarding table. By default, the maximum value allowed by the system is used. 3. Configure multicast damping. Step Command Function Enables damping. damping-enable ZXR10(config-mcast-ipv6)# 10-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 164
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function Restricts the threshold of the damping-threshold ZXR10(config-mcast-ipv6)# <threshold> number of times that a route is delivered. If the threshold is exceeded, the damping function is enabled to inhibit route delivery for at least 10 seconds and up to 60 seconds.
Multicast routing protocols use the RPF check mechanism during creation of multicast routing entries to ensure that multicast data can be transmitted through a correct path. This can also avoid generation of loops due to various reasons. 11-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) The method for selecting an optimum path with the multicast source address as the destination address from the unicast routing table, MBGP routing table, and static multicast routing table. 1. If the longest match algorithm is configured, the route with the longest mask is selected.
ZXR10 ZSR V2 Configuration Guide (IPv6) gei-3/6 oif 2 R1(config-mcast-ipv6)#end Configuration Verification Run the show ipv6 multicast-static-interface command on R1 to display static multicast information about interfaces: R1(config)#show ipv6 multicast-static-interface STATIC-MULTICAST OUT PORT INDEX 2: Outgoing Interface: gei-3/7 R1(config)#show ipv6 multicast-static-route...
Page 169
Otherwise, it will not forward data any longer. At present, there are two versions of MLD. MLDv1 corresponds to IGMPv2, and it provides the fast leaving mechanism of group members. MLDv2 corresponds to IGMPv3, and 12-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) it provides the ability to receive or refuse to receive packets from designated multicast sources, thus to support SSM. 12.2 Configuring MLD This procedure describes how to configure the basic functions of MLD, including version information, group joining/leaving functions, and timer-related attribute parameters.
<group-address> as a member in a static group name)# for sending report packets. Configures the MLD interface ZXR10(config-mcast-ipv6-mld-if-interface- static-group <group-address>[source as a member in a static group. name)# {<source-address>[{include | exclude}]| ssm-map}] 12-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 172
Users can set the timers related to the querier according to demand. To configure MLD timers on the ZXR10 ZSR V2, perform the following steps. Step Command...
Page 173
MLD special group query in name)# interface mode, which takes precedence. Range: 1–25, default: 1, unit: second. 8. Verify the configurations. Command Function show ipv6 mld interface [<interface-name>] Displays MLD configuration on an ZXR10# interface. 12-5 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Command Function show ipv6 mld groups [{[<interface-name>],[<g Displays joining of multicast groups that ZXR10# are learned through the MLD protocol by roup-address>]}][detail] the interface directly connected to the router. show ipv6 mld packet-count [<interface-name>]...
Page 175
MLD querier is fe80::1, never expire Inbound MLD access group is not set MLD immediate leave control is not set Check the validity of the configuration on R2: R2#show ipv6 mld interface gei-2/1 gei-2/1 12-7 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Internet address is fe80::2 MLD is enabled on interface Current MLD version is 2 MLD query interval is 125 seconds MLD last member query interval is 1 seconds MLD query max response time is 10 seconds...
Page 177
Group source list: (M - SSM Mapping, S - Static, R - Report) Source addr Present Expires Flag 200::1 01:06:51 Never Check the detailed information about a PC requesting to join the multicast groups on R1: R1(config-mcast-ipv6)#show ipv6 mld groups Total: 2 groups 12-9 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 178
ZXR10 ZSR V2 Configuration Guide (IPv6) Group Address : ffee::2 Last Reporter : fe80::200:65ff:fe03:102 Interface : gei-1/1 Uptime : 00:01:44 Expires : 00:03:44 Group Address : ffee::1 Last Reporter : fe80::2d0:d0ff:fe06:606 Interface : gei-1/1 Uptime : 00:03:11 Expires : never 12-10 SJ-20140504150128-018|2014-05-10 (R1.0)
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function Enables the PIM-DM protocol for the IPv6 ZXR10(config-mcast-ipv6-pim-if- multicast. pimdm interface-name)# 2. Verify the configurations. Command Function show ipv6 pim interface [<interface-name>] Checks the configured IPv6 PIM interface. ZXR10# show ipv6 pim mroute [[group <group-address...
Router (BSR). The candidate BSR with the highest priority is elected as the formal BSR. The BSR is responsible for collecting the candidate RP information on the multicast routers in group to find out candidate RPs in the multicast domain. It notifies the candidate RPs to 14-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 186
ZXR10 ZSR V2 Configuration Guide (IPv6) all the PIM routers in the PIM domain in a unified way. Each PIM router, according to the similar Hash rules, elects the one with the highest priority as the formal RP from the same candidate RP set.
After a static RP is configured, it participates in RP set selection, even the router does not receive any RP information advertisement of BSR. If the < prifix-list-name > parameter is not configured, the static RP is suitable for all multicast groups. 14-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 188
ZXR10 ZSR V2 Configuration Guide (IPv6) The following example shows how to configure a static RP 2001::1 for all multicast groups. ZXR10(config-mcast-ipv6-pim)#static-rp 2001::1 3. Configure candidate BSR. Command Function bsr-candidate <ipv6-ad Configures a candidate BSR. ZXR10(config-mcast-ipv6-pim)# dress>[{[hash-mask-length <hash-mask-length>],[priority <priority>]}] <hash-mask-length>: Hash mask length, range: 0 to 128.
Page 189
The router priority is contained in the Hello messages exchanged with neighbors, with the default value of 1. The following example shows how to configure the DR priority on gei-1/1. ZXR10(config)#ipv6 multicast-routing ZXR10(config-mcast-ipv6)#router pim ZXR10(config-mcast-ipv6-pim)#interface gei-1/1 ZXR10(config-mcast-ipv6-pim-if-gei-1/1)#dr-priority 20 ZXR10(config-mcast-ipv6-pim-if-gei-1/1)#exit 14-5 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 190
ZXR10 ZSR V2 Configuration Guide (IPv6) By default, an interface is not the border of the PIM domain. When the interface is set to the border of the PIM domain, no BSR messages can pass the border in any direction. This function divides the network into different areas of BSR messages effectively.
5. Enable PIM-SM on interfaces. 6. Configure a unicast route to the RP on R1. Configure a unicast route to the multicast source on R2 (In this example, static route or IGP can be used). 14-7 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Configures address range of IPv6 ZXR10(config-mcast-ipv6-pim)# [group-list < access-list-name >] SSM groups, or uses the default group address range. When the group-list is not configured, the default group range is FF3X::/32. 2. Verify the configurations. 15-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Command Function show ipv6 pim mroute [group <group-address Displays the IPv6 PIM routing table. ZXR10# >][source <source-address>] – End of Steps – 15.3 IPv6 PIM-SSM Configuration Example Configuration Description As shown in Figure 15-1, PIM-SM is enabled on R1, and SSM is configured. Configure the SSM group range.
Page 197
Check the result of the routes on R1, as shown below. R1#show ipv6 mroute IPv6 Multicast Routing Table Flags:NS:SPT upsend,RT:Reg upsend,F:Forward, NTP:NTP join,DPU:Damping enable,DPD:Damping del, (100::2, ff3a::aaaa:1), TYPE: DYNAMIC, FLAGS: Incoming interface: gei-1/1, flags: Outgoing interface list: gei-1/2, flags: F 15-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 198
ZXR10 ZSR V2 Configuration Guide (IPv6) This page intentionally left blank. 15-4 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
IPv6 packet, or the packet may still need to be further forwarded. Therefore, tunnels are classified into configured tunnels and automatic tunnels based on the ways to obtain the destination IPv4 address of a tunnel. 16-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) If the termination address of the IPv6 over IPv4 tunnel cannot be automatically obtained from the destination address of the IPv6 packet but needs to be manually configured, the tunnel is called a configured tunnel, such as a 6in4 tunnel.
48 bits of the prefix are a fixed number or determined by the IPv4 address of the device at the start or termination point of a tunnel, it is possible to forward IPv6 packets over the tunnel. The 6to4 tunnel makes possible the interconnection 16-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) of two IPv6 networks through an IPv4 network and thus eliminates the limitations of automatic IPv4-compatible IPv6 tunnels in practical use. The 6to4 tunnel involves a tunnel encapsulation and decapsulation process. Encapsulation: If the egress interface of the sent IPv6 packet is a tunnel interface, the host first determines the tunnel type.
Sets the current tunnel mode tunnel ZXR10(config-ipv6-tunnel-if-v6_tunnel)# to 6to4. mode ipv6ip 6to4 Specifies the source address tunnel ZXR10(config-ipv6-tunnel-if-v6_tunnel)# source ipv4 <src_address> of the tunnel, in IPv4 address format. 4. Configure a 4in6 tunnel. 16-5 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function Sets the current tunnel mode tunnel ZXR10(config-ipv6-tunnel-if-v6_tunnel)# to 4in6. mode ipipv6 4in6 Specifies the source address tunnel ZXR10(config-ipv6-tunnel-if-v6_tunnel)# source ipv6 <src_address> of the tunnel, in IPv6 address format. Specifies the destination...
2. Enter the tunnel configuration mode from the global mode, and then enter the 6to4 tunnel interface to be configured. 3. Configure the tunnel mode and the source address. 4. Advertise the tunnel route through static routing or BGP4+. Configuration Commands Configuration on R1: 16-11 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
IPv4 header is 41, the protocol number processing functions registered for IPv4 are called and the 6in4 decapsulation function is used. The device searches for the matched tunnel entity according to the source address and destination address of 16-13 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) the packet. If the matched tunnel entity is found, the IPv4 header encapsulated is removed, and the left IPv6 packet is handled according to the IPv6 packet receiving flow. Figure 16-9 shows the ISATAP tunnel principle.
Configuration Description As shown in Figure 16-10, assume that R1 and R2 are dual-stack routers, PC1 and PC2 are IPv6 hosts. It is required to configure an ISATAP tunnel. Figure 16-10 ISATAP Configuration Example 16-15 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 214
ZXR10 ZSR V2 Configuration Guide (IPv6) Configuration Flow To configure an ISATAP tunnel, it is necessary to enable IPv6 and bind the IPv4 address of the router at the source end of the tunnel. It is unnecessary to configure the destination address.
Page 215
81::/16 v6_tunnel2 !</ipv6-static> Execute the show ipv6 interface brief v6_tunnel2 command on R1 to view the tunnel interface information, as shown below. R1(config)#show ipv6 interface brief v6_tunnel2 v6_tunnel2 [up/up] fe80::5efe:101:101 82::5efe:101:101/64 [EUI] 16-17 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 216
ZXR10 ZSR V2 Configuration Guide (IPv6) This page intentionally left blank. 16-18 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 217
6rd CE router, and doing so may offer some efficiencies when communicating directly with 6to4 routers. 6rd Prefix Delegation Figure 17-1 shows the format of an IPv6 address with a 6rd prefix and an embedded CE IPv4 address. 17-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Figure 17-1 6rd Prefix Delegation The IPv4 address can be a global unicast address or an aggregation of private addresses. Global unicast address The IPv6 address prefix in a 6rd domain is a CE-based global IPv4 prefix, see Figure 17-2, and can be transmitted in a manual or protocol way (through DHCPv4 or TR-69).
17-5, upon receipt of a message from PC1, CPE1 determines that the message is addressed to an out-of-domain area by matching the IPv6 prefix. It then encapsulates the message into a 6in4 tunnel with the destination address being 17-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) the BR address. Upon receipt of the message, BR obtains the raw IPv6 message after a decapsulation, and forwards it to PC3 (or an IPv6 WAN). Figure 17-5 Forwarding a Message out of a 6rd Domain CPE1 works as follows: 1.
Creates the interface of the IPv6 ZXR10(config)# tunnel. Enters IPv6 tunnel mode. ipv6-tunnel-config ZXR10(config)# interface {byname Enters IPv6 tunnel interface ZXR10(config-ipv6-tunnel)# <interface-byname>|<interface-name>} configuration mode. The interface alias and name can contain up to 32 characters. 17-5 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
17.3 6RD Configuration Example Configuration Description The following 6RD configuration is based on the networking topology shown in Figure 17-7. Both R1 and R2 (ZXR10 ZSR V2) can serve as 6rd Border Relays (BRs). 17-6 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
/*Configure a v4 route, so that there is v4 route between address 10.0.0.2 on device CPE2 and the gei-1/1 interface on R2. The configuration is omitted.*/ Configuration on R2: R2(config)#interface gei-1/1 R2(config-if-gei-1/1)#ip address 1.0.0.1 255.255.255.0 R2(config-if-gei-1/1)#no shutdown R2(config-if-gei-1/1)#exit R2(config)#interface v6_tunnel1 R2(config-if-v6_tunnel1)#ipv6 enable R2(config-if-v6_tunnel1)#ipv6 address 3000:0:100:1::1/32 R2(config-if-v6_tunnel1)#exit 17-7 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 224
ZXR10 ZSR V2 Configuration Guide (IPv6) R2(config)#ipv6-tunnel-config R2(config-ipv6-tunnel)#interface v6_tunnel1 R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnel mode ipv6ip 6RD R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnel 6RD-ipv4-mask-length 0 /*Configure tunnel mode ipv6ip 6RD first, and then configure 6RD-ipv4-mask-length and other parameters. Otherwise, the system prompts: "%Code 130024: 6RD mode needs config first!"*/ R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnel 6RD-prefix 3000::1/32 R2(config-ipv6-tunnel-if-v6_tunnel1)#tunnel source ipv4 1.0.0.1...
PE routers and the PE IPv6 labels (in the second layer) During implementations, the MPLS-labeled IPv6 routes are advertised through MP-BGP. Figure 18-1 illustrates the implementation of 6PE. Figure 18-1 6PE Implementation 18-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 233
Dest Owner Metric Interface 2255::/64 gei-1/1 ::ffff:2.2.2.2 3555::/64 gei-1/1 ::ffff:2.2.2.2 PE2#show bgp ipv6 unicast labels Network Next Hop In Label/Out Label 2255::/64 ::ffff:1.1.1.1 212994/212997 2352::/64 2352::52 212998/notag 2355::/64 2355::10 212999/notag 3555::/64 ::ffff:1.1.1.1 213027/213020 18-9 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 234
ZXR10 ZSR V2 Configuration Guide (IPv6) This page intentionally left blank. 18-10 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 235
IPv6 routing information from different VPNs. VPN-IPv6 is a new-defined address family. In the extended attributes of MP-BGP, the codes of VPN-IPv6 address family are expressed as: AFI = 2: indicating IPv6 19-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) SAFI = 128: indicating a VPN-IPv6 address The format of a VPN-IPv6 address is shown in Figure 19-1. The length of the Route Distinguisher (RD) is 8 bytes, and the length of the IPv6 address is 16 bytes. 6VPE does not limit the IP version of the backbone network, so IPv6 VPN traffic can be transmitted in IPv6 tunnels or IPv4 tunnels.
[metric <metric-value>],[route-map <map-tag>] As shown in Figure 19-2, it is required to run static route between CE1 and PE1. The following example shows how to configure static routes on CE1 and PE1 respectively. 19-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Figure 19-3 Network Topology of the RIPng Configuration Between CE and PE Configuration on CE1: CE1(config)#ipv6 router rip CE1(config-ripng)#interface gei-1/1 CE1(config-ripng-if-gei-1/1)#ipv6 rip enable CE1(config-ripng-if-gei-1/1)#exit Configuration on PE1: PE1(config)#ipv6 router rip vrf vpn_a PE1(config-ripng-vrf-vpn_a)#redistribute bgp 19-5 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 240
ZXR10 ZSR V2 Configuration Guide (IPv6) PE1(config-ripng-vrf-vpn_a)#interface gei-1/1 PE1(config-ripng-vrf-vpn_a-if-gei-1/1)#ipv6 rip enable PE1(config-ripng-vrf-vpn_a-if-gei-1/1)#exit PE1(config-ripng-vrf-vpn_a)#exit PE1(config)#router bgp 100 PE1(config-bgp)#address-family ipv6 vrf vpn_a PE1(config-bgp-af-ipv6-vrf)#redistribute rip PE1(config-bgp-af-ipv6-vrf)#redistribute connected PE1(config-bgp-af-ipv6-vrf)#exit 5. Configure OSPFv3 between a CE and a PE. Step Command Function ipv6 router ospf <process-id>[vrf <...
Page 241
6. Configure EBGP between a CE and a PE. Step Command Function router bgp < as-number> Enters BGP route ZXR10(config)# configuration mode. address-family ipv6 vrf < vrf-name> Enters VRF address family ZXR10(config-bgp)# configuration mode. 19-7 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function neighbor < Configures an EBGP neighbor ZXR10(config-bgp-af-ipv6-vrf)# ipv6-address> remote-as <as-number> or configures the AS number of a neighbor peer group. As shown in Figure 19-5, it is required to run EBGP between CE1 and PE1. The following example shows how to configure BGP on CE1 and PE1 respectively.
It is necessary to make sure that the loopback addresses of PE1 and PE2 can be pinged successfully from each other in advance. Configuration on PE1: PE1(config)#router bgp 100 PE1(config-bgp)#neighbor 1.1.1.3 remote-as 100 PE1(config-bgp)#neighbor 1.1.1.3 activate PE1(config-bgp)#neighbor 1.1.1.3 update-source loopback1 PE1(config-bgp)#address-family vpnv6 PE1(config-bgp-af-vpnv6)#neighbor 1.1.1.3 activate PE1(config-bgp-af-vpnv6)#exit 19-9 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 244
ZXR10 ZSR V2 Configuration Guide (IPv6) Configuration on PE2: PE2(config)#router bgp 100 PE2(config-bgp)#neighbor 1.1.1.1 remote-as 100 PE2(config-bgp)#neighbor 1.1.1.1 activate PE2(config-bgp)#neighbor 1.1.1.1 update-source loopback1 PE2(config-bgp)#address-family vpnv6 PE2(config-bgp-af-vpnv6)#neighbor 1.1.1.1 activate PE2(config-bgp-af-vpnv6)#exit 8. Configure AS overriding. When BGP runs between PEs and CEs, sometimes different nodes need to reuse the AS number.
It is required to configure a VPN and OSPFv3 to make CE1 and CE2 learn routes from each other. BGP runs between CE1 and PE1, and OSPFv3 runs between CE2 and PE2, which makes CE1 and CE2 learn routes from each other and can be pinged successfully. 19-11 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Figure 19-7 6VPE Configuration Example The addresses on the interfaces are listed in Table 19-1. Table 19-1 Addresses on the Interfaces Device Interface Name IP Address gei-1/1 1001::20:2/120 gei-1/2 1001::20:1/120 gei-1/3 10.10.12.1/24 gei-1/4 10.10.12.2/24 gei-1/5 10.10.23.2/24...
Configures the extended IPv6 ZXR10(config-ipv6-acl)# | deny}[flowlabel <flowlabel-value>]{<0-255>| ACL rule. ipv6 |<protocol-type>}{[<source-ipv6-address>| any}{<destination-ipv6-address>| any}[dscp <dscp-value>][{[routing],[authen],[destopts],[fragme nts],[hop-by-hop],[esp]}][time-range <time-range-name>] rule [<rule-id>]{permit|den Configures the IPv6 ACL rule ZXR10(config-ipv6-acl)# y}[flowlabel <flowlabel-value>] tcp {<source-ipv6-address>| based on TCP. any}[{<operator>{<0-65535>|<source-porttype>}| range <0-65535>-<0-65535>}]{<destination-ipv6-address>| any}[{<operator>{<0-65535>|<destination-porttype>}| 20-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 254
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function range <0-65535>-<0-65535>}][{[established],[rst<rst>],[ac k<ack>],[fin<fin>],[syn<syn>],[urg<urg>],[psh<psh>]}][d scp<dscp-value>][{[routing],[authen],[destopts],[fragment s],[hop-by-hop],[esp]}][time-range <time-range-name>] rule [<rule-id>]{permit | Configures the IPv6 ACL rule ZXR10(config-ipv6-acl)# deny}[flowlabel <flowlabel-value>] udp {<source-ip based on UDP. v6-address>| any}[<oper><source-port>]{<destination -ipv6-address>| any}[<oper><destination-port>][dscp <dscp-value>][{[routing],[authen],[destopts],[fragments],[h op-by-hop],[esp]}][time-range <time-range-name>] rule [<rule-id>]{permit...
Page 255
ZXR10(config)# [{[by-access-list <acl-name>],[by-direction information. The information can be {ingress | egress}],[by-interface <interface-name>]}] selectively displayed according to the command parameters. show running-config ipv6-acl[ Displays the entire IPv6 ACL ZXR10(config)# all][|{begin |exclude |include}<key_words>] information. 20-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Command Function Displays all the IPv6 ACL binding show running-config port-acl[ ZXR10(config)# all][|{begin |exclude |include}<key_words>] information (and the IPv4 ACL binding information as well as if any IPv4 ACL is bound). – End of Steps –...
Page 257
10 deny tcp 100:1::1:2/128 eq telnet 110:1::1:2/128 20 permit ipv6 any any Check the interface bound with the ACL. Two methods are available for checking the binding between the ACL and the interface, as shown below. 20-5 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 258
ZXR10 ZSR V2 Configuration Guide (IPv6) /*Check the binding between IPv6 ACLs on the router and the related interfaces*/ R2(config)#show ipv6-access-groups Interface name|vlan Direction ACL name ------------------------------------------------------ gei-1/3 Ingress test /*Check the binding between all ACLs on the router and the...
ISP policy, sRPF just like an ACL with incomplete configuration. Some valid data flow will be discarded because of lack of information in the forwarding table of the filter router. 21-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Loose RPF In loose RPF mode, the router only checks whether the source IP address of the packet exists in the routing table (normal source address route or default route). It does not check whether the ingress for receiving packets matches with the content of the routing table.
1:11::ad:ea/64 to pass. 3. Bind strict IPv6 URPF with ACL list to the interface. Configuration Commands The configuration of R1 is as follows: R1(config)#interface gei-2/1 R1(config-if-gei-2/1)#no shutdown R1(config-if-gei-2/1)#ipv6 enable R1(config-if-gei-2/1)#ipv6 address 1:1::ad:ea/64 21-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
User3 is provided with a guaranteed bandwidth of 200 Mbps or a greater bandwidth. User4 is provided with a guaranteed bandwidth of 100 Mbps or a greater bandwidth. Figure 22-1 IPv6 Priority Scheduling Configuration Example 22-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 266
ZXR10 ZSR V2 Configuration Guide (IPv6) Configuration Flow 1. Configure H-QoS in the downlink of the interface gei-1/3 to guarantee the bandwidth of every user when port congestion occurs. 2. Set the Differentiated Services Code Point (DSCP) values of the four users to 1, 2, 3, and 4 respectively, and configure four classes.
Configure a Weighted Random Early Detection (WRED) policy in the uplink of the router interface, so that different discard policies are applied to the packets of different priorities when congestion occurs. The following objectives should be attained: 22-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 268
ZXR10 ZSR V2 Configuration Guide (IPv6) For queues with the priority value 0, the lowest discard threshold is 30 kb, the highest discard threshold is 100 kb, the discard probability is 90%, and the average queue length indicator is 8.
DSCP values 1 and 2 respectively, and set the DSCP value of the permitted traffic to 7. Set the guaranteed bandwidth to 100 M, and set the maximum bandwidth to 150 M. Configuration Commands 1. Enter CAR configuration mode. 22-5 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 271
On R1 and R3, it is only necessary to configure the VLAN sub-interfaces and addresses. Configuration Verification Check the configuration result on R2, as shown below. R2(config)#show class-map 802.1p class-map 802.1p match-all ipv6 match child R2(config)#show policy-map 802.1p policy-map 802.1p 22-7 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) class 802.1p set precedence inherit-from 8021p R2(config)#show service-policy gei-1/1.1 service-policy gei-1/1.1 input 802.1p Figure 22-4 shows the inheritance from the inbound interface 802.1p to the outbound interface IPP. Figure 22-4 Inheritance from 802.1p to IPP 22-8 SJ-20140504150128-018|2014-05-10 (R1.0)
For the principle of VRRP, refer to the ZXR10 ZSR V2 Configuration Guide (Reliability). 23.2 Configuring IPv6 VRRP This procedure describes how to configure IPv6 VRRP, including version number, packet sending mode, and interface attributes.
Page 274
ZXR10 ZSR V2 Configuration Guide (IPv6) rotation: A packet is sent to each outgoing interface in turn. <reload-delay>: configures the duration of delaying startup of the interface state machine. Range: 0–65535, unit: second, default: 0 second. 2. Configure the optional parameters of the IPv6 VRRP interface attributes.
Page 275
3. Verify the configurations. 23-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Command Function Displays the brief information about show vrrp ipv6 brief ZXR10# all IPv6 VRRP groups on a router. show vrrp ipv6 brief interface <interface-name> Displays the brief information about ZXR10# all IPv6 VRRP groups on a specific interface.
Page 277
R2(config)#interface gei-1/1 R2(config-if-gei-1/1)#no shutdown R2(config-if-gei-1/1)#ipv6 enable R2(config-if-gei-1/1)#ipv6 address link-local fe80::1:2 R2(config-if-gei-1/1)#exit R2(config)#vrrp R2(config-vrrp)#interface gei-1/1 R2(config-vrrp-if-gei-1/1)#vrrp 1 ipv6 fe80::1:1 R2(config-vrrp-if-gei-1/1)#end Configuration Verification View the VRRP information and configuration result on R1, as shown below. 23-5 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 278
ZXR10 ZSR V2 Configuration Guide (IPv6) R1#show vrrp ipv6 brief Interface vrID Pri Time A P L State Master addr VRouter addr gei-1/1 255 1000 Master FE80:0:0:0:0:0:1:1 FE80:0:0:0:0:0:1:1 gei-1/1 100 1000 backup FE80:0:0:0:0:0:1:1 FE80:0:0:0:0:0:1:2 /*A: whether the router is the address owner.
When both routers are invalid, the communication between the hosts and external network is interrupted. Figure 23-2 Symmetrical VRRP Configuration (IPv6) Configuration Flow 1. Enter the interfaces on which VRRP should be enabled. Enable IPv6, and configure IPv6 addresses. 23-7 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 280
ZXR10 ZSR V2 Configuration Guide (IPv6) 2. Enter VRRP configuration mode from global configuration mode, and then enter the interfaces to configure VRRP. 3. Configure VRRP 1 and corresponding virtual address on R1. Configure VRRP 2 and corresponding virtual address on R2. Set a priority for VRRP 1 higher than that for VRRP 2 on R1, and set a priority for VRRP 2 higher than that for VRRP 1 on R2.
23-3, VRRP operates between R1 and R2. The VRRP virtual address is the same as the IP address FE80::1:1 of an interface for R1, and therefore R1 is elected as the master router. 23-9 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Figure 23-3 VRRP Heartbeat Configuration (IPv6) Configuration Flow 1. Enter the interfaces on which VRRP should be enabled. Enable IPv6, and configure IPv6 addresses. 2. Enter VRRP configuration mode from global configuration mode, and then enter the interfaces to configure VRRP.
Page 283
/*Number of state changes and the time for how long the system has been running until the last change.*/ Current priority is 255 /*Current priority, the largest priority of the Owner is 255*/ Master router is local 23-11 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 284
ZXR10 ZSR V2 Configuration Guide (IPv6) Master router address is FE80:0:0:0:0:0:1:1 Master router priority is 255 Master Advertisement interval is 1.000 sec Master Down interval is 3.003 sec, no learn 23-12 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
This function is implemented by a DHCPv6 relay. A DHCPv6 relay can relay access requests from other clients or relays. Figure 24-1 shows the relationships between DHCPv6 clients, relays and a server. Figure 24-1 Relation Among DHCPv6 Client, Relay and Server 24-1 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 286
ZXR10 ZSR V2 Configuration Guide (IPv6) DHCPv6 Features Each DHCPv6 client or server has a unique identifier, that is, a DHCP Unique Identifier (DUID). There are several modes to generate DUIDs. The lengths of DUIDs are different. Not every message needs to carry a DUID, therefore a DUID is contained in the option information.
Figure 24-2 shows the interaction procedure of DHCPv6 messages in a standard networking environment. Figure 24-2 DHCPv6 Protocol Message Interaction 24.2 Configuring the DHCPv6 Server This procedure describes how to configure the DHCPv6 server. 24-3 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 288
ZXR10 ZSR V2 Configuration Guide (IPv6) Steps 1. Enable the DHCPv6 function, and set the DHCPv6 mode of the interface to DHCPv6 Server. Step Command Function Enters DHCPv6 configuration dhcp ipv6 ZXR10(config)# mode. enable Enables the embedded ZXR10(config-dhcpv6)# DHCPv6 function.
Page 289
ZXR10(config-dhcpv6-pool)# {<valid-lifetime2>| infinite}{<preferred-lifetime2>| infinite} addresses (valid lifetime and preferred time) Configures the address of an dns-server ZXR10(config-dhcpv6-pool)# <server-number><server-ipv6> IPv6 DNS server. Configures the domain name domain-name ZXR10(config-dhcpv6-pool)# <domain-name-number><domain-name> of an IPv6 DNS server. 24-5 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 290
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function Configures the server preference ZXR10(config-dhcpv6-pool)# <preference-value> preference, range: 1 to 255. Configures the unicast server-unicast-address ZXR10(config-dhcpv6-pool)# <ipv6-address> address of the server. <valid-lifetime1>: valid lifetime of the prefixes allocated from the address pool, range: 60–4294967295, unit: second, default: 3600.
Enters DHCPv6 relay server ZXR10(config-dhcpv6)# group configuration mode from DHCPv6 configuration mode. Configures the DHCPv6 relay algorithm ZXR10(config-dhcpv6r-server-group)# {normal | first | round-robin} server to use a policy. The default forwarding mode is normal. 24-7 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 292
ZXR10 ZSR V2 Configuration Guide (IPv6) Step Command Function server <server Configures the DHCPv6 relay ZXR10(config-dhcpv6r-server-group)# -no><server-ipv6>[interface <interface-name>][master] server to trust information. Configures the unavailable deadtime ZXR10(config-dhcpv6r-server-group)# <time> duration after the DHCPv6 relay server fails to send messages. Configures the description for...
Page 293
Configures a DHCPv6 relay ZXR10(config-dhcpv6-if-interface-name)# policy <policy-name> policy of an interface. 6. Verify the configurations. Command Function show ipv6 dhcp relay user [interface Displays the client information on a ZXR10# <interface-name>]|[summary] DHCPv6 relay. 7. Maintain DHCPv6. 24-9 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
ZXR10 ZSR V2 Configuration Guide (IPv6) Command Function Enables DHCPv6 relay debugging debug dhcpv6 relay ZXR10# function. kick-off ipv6 dhcp relay user [[interface Kicks off online users of the DHCP ZXR10# <interface-name>]|[prefix<IPv6 prefix>[vrf-instance relay by the specified attribute, such <vrf-name>]]|[address <IPv6 address>[vrf-instance as interface, IPv6 prefix and IPv6 <vrf-name>]]...
ZXR10(config-if-gei-0/1)#ipv6 address 86::1:1/96 ZXR10(config-if-gei-0/1)#no shutdown ZXR10(config-if-gei-0/1)#exit /*Configure an IPv6 address pool*/ ZXR10(config)#ipv6 addr-pool zte ZXR10(config-ipv6-addr-pool)#addr-range 86::1:2 86::1:10 ZXR10(config-ipv6-addr-pool)#exit /*Enable DHCPv6*/ ZXR10(config)#dhcp ipv6 ZXR10(config-dhcpv6)#enable /*Bind the IPv6 address pool to the DHCPv6 pool*/ ZXR10(config-dhcpv6)#pool zte 24-11 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 296
ZXR10 ZSR V2 Configuration Guide (IPv6) ZXR10(config-dhcpv6-pool)#address-pool zte ZXR10(config-dhcpv6-pool)#exit /*Bind the DHCPv6 pool to the DHCPv6 policy*/ ZXR10(config-dhcpv6)#policy zte 1 ZXR10(config-dhcpv6-policy)#dhcpv6-pool zte ZXR10(config-dhcpv6-policy)#exit /*Configure server mode in interface configuration mode and bind the policy*/ ZXR10(config-dhcpv6)#interface gei-0/1 ZXR10(config-dhcpv6-if-gei-0/1)#mode server ZXR10(config-dhcpv6-if-gei-0/1)#server policy zte...
5. Configure a static route to the network segment of the relay interface on the server. Configuration Commands Configuration on R1: /*Configure an interface*/ R1(config)#interface gei-0/1 R1(config-if-gei-0/1)#ipv6 enable R1(config-if-gei-0/1)#ipv6 address 86::1:1/96 R1(config-if-gei-0/1)#no shutdown R1(config-if-gei-0/1)#exit 24-13 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 299
1 enable ! </DHCPV6> Check the configuration of the IPv6 address pool on R2, as shown below. R2#show ipv6 addr-pool configure zte1 PoolName Lock Begin Used Free zte1 86::1:10 86::1:50 RangeTotal:1 24-15 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
R2(config-dhcpv6-pool)#address-lifetime 60 60 R2(config-dhcpv6-pool)#prefix-lifetime 60 60 R2(config-dhcpv6-pool)#prefix-pool zte1 R2(config-dhcpv6-pool)#exit R2(config-dhcpv6)#policy zte 1 R2(config-dhcpv6-policy)#dhcpv6-pool zte R2(config-dhcpv6-policy)#exit R2(config-dhcpv6)#interface gei-1/2 R2(config-dhcpv6-if-gei-1/2)#mode server R2(config-dhcpv6-if-gei-1/2)#server policy zte Run the following commands on R1: R1(config)#interface gei-1/2 R1(config-if-gei-1/2)#no shutdown R1(config-if-gei-1/2)#ipv6 enable 24-17 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 302
ZXR10 ZSR V2 Configuration Guide (IPv6) R1(config-if-gei-1/2)#ipv6 dhcp client address /*obtain an IPv6 address*/ R1(config-if-gei-1/2)#ipv6 dhcp address zte ::110/112 /*Configure the suffix*/ R1(config-if-gei-1/2)#ipv6 dhcp client pd zte rapid-commit /*Obtain the IPv6 prefix*/ Configuration Verification Run the show ipv6 interface<interface-name> command on R1 to check the interface:...
Page 303
Figure 9-3 An Example of Configuring an OSPFv3 Routing Policy ......9-13 Figure 9-4 An Example of Configuring a BGP4+ Routing Policy......9-16 Figure 9-5 An Example of Configuring a Routing Policy for 6VPE ......9-21 Figure 9-6 IPv6 Policy Route Configuration Example ..........9-31 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 304
ZXR10 ZSR V2 Configuration Guide (IPv6) Figure 10-1 Structure of IPv6 Multicast Address on the Basis of Unicast Prefix ....................10-2 Figure 11-1 Networking Diagram of the IPv6 Static Multicast Configuration Example ....................11-3 Figure 12-1 MLDv1 Configuration Example............. 12-6 Figure 12-2 Example for Configuring a Router to Join a Static MLD Group and a Dynamic MLD Group ................
Page 305
Figure 24-1 Relation Among DHCPv6 Client, Relay and Server......24-1 Figure 24-2 DHCPv6 Protocol Message Interaction ..........24-3 Figure 24-3 DHCPv6 Server Configuration Example..........24-11 Figure 24-4 DHCPv6 Relay Configuration Example ..........24-13 Figure 24-5 DHCPv6 Client Configuration Example ..........24-17 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 306
Figures This page intentionally left blank. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 307
Table 6-1 Similarities and Differences Between OSPFv3 LSAs and OSPFv2 LSAs ......................6-5 Table 9-1 IP Address Planning ................9-21 Table 10-1 IPv6 Multicast Address Allocation ............10-1 Table 19-1 Addresses on the Interfaces ..............19-12 SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 308
This page intentionally left blank. SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 310
ZXR10 ZSR V2 Configuration Guide (IPv6) - Identity Association IBGP - Interior Border Gateway Protocol ICMP - Internet Control Message Protocol IEEE - Institute of Electrical and Electronics Engineers IETF - Internet Engineering Task Force IGMP - Internet Group Management Protocol...
Page 311
- Maximum Transfer Unit - Neighbor Advertisement NBMA - Non-Broadcast Multiple Access - Neighbor Discovery Protocol - Neighbor Solicitation NSAP - Network Service Access Point - Open System Interconnection OSPF - Open Shortest Path First SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...
Page 312
ZXR10 ZSR V2 Configuration Guide (IPv6) - Provider Edge PIM-DM - Protocol Independent Multicast - Dense Mode PIM-SSM - Protocol Independent Multicast-Source Specific Multicast - Quality of Service - Router Advertisement - Route Distinguisher - Request For Comments - Routing Information Protocol...
Page 313
- User Datagram Protocol URPF - Unicast Reverse Path Forwarding VLAN - Virtual Local Area Network - Virtual Private Network - Virtual Route Forwarding - Weighted Fair Queuing WRED - Weighted Random Early Detection SJ-20140504150128-018|2014-05-10 (R1.0) ZTE Proprietary and Confidential...