background image

Chapter 8 BGP4+ Configuration

ZXR10_R1(config)#show bgp ipv6 unicast summary

Neighbor

Ver

As

MsgRcvd

MsgSend

Up/Down

State/PfxRcd

2003::2

4

1

12

12

00:25:34

0

2001::4

4

2

14

14

00:28:06

4

Run the

show bgp ipv6 unicast

command on R1 to check the routing table, as shown below.

R1(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

2001::4/64

2 ?

*> 2004:2::/64

2001::4/64

2 ?

*> 2004:3::/64

2001::4/64

2 ?

*> 2004:4::/64

2001::4/64

2 ?

Run the

show bgp ipv6 unicast summary

command on R2 to check the adjacency, as shown

below.

ZXR10_R2(config)#show bgp ipv6 unicast summary

Neighbor

Ver

As

MsgRcvd

MsgSend

Up/Down

State/PfxRcd

2003::1

4

1

12

12

00:25:34

4

2007::5

4

3

15

15

00:32:30

0

Run the

show bgp ipv6 unicast

command on R2 to check the routing table, as shown below.

R2(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

2003::1/64

100

2 ?

*> 2004:2::/64

2003::1/64

100

2 ?

*> 2004:3::/64

2003::1/64

100

2 ?

*> 2004:4::/64

2003::1/64

100

2 ?

Run the

show bgp ipv6 unicast summary

command on R4 to check the adjacency, as shown

below.

ZXR10_R4(config)#show bgp ipv6 unicast summary

Neighbor

Ver

As

MsgRcvd

MsgSend

Up/Down

State/PfxRcd

2001::1

4

1

14

14

00:28:06

0

Run the

show bgp ipv6 unicast

command on R4 to check the routing table, as shown below.

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

::

2 ?

*> 2004:2::/64

::

2 ?

*> 2004:3::/64

::

2 ?

8-9

SJ-20140504150128-018|2014-05-10 (R1.0)

ZTE Proprietary and Confidential

Summary of Contents for ZXR10 ZSR

Page 1: ...ed Multi Service Router Configuration Guide IPv6 Version 2 00 10 ZTE CORPORATION No 55 Hi tech Road South ShenZhen P R China Postcode 518057 Tel 86 755 26771900 Fax 86 755 26770801 URL http support zte com cn E mail support zte com cn ...

Page 2: ... infringement ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on the information contained herein ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subject matter of this document Except as expressly provided in any written license between ZTE CORPORATION and its licensee th...

Page 3: ...ances of IPv6 Static Route 4 3 4 3 1 Example Configuring a Direct Static IPv6 Route Direct Next Hop 4 3 4 3 2 Example Configuring a Static IPv6 Route Indirect Next Hop 4 5 4 3 3 Example Configuring a Default IPv6 Route 4 6 4 3 4 Example Configuring FRR for Static IPv6 Route in a Public Network 4 7 4 3 5 Example Configuring FRR for Static IPv6 Route in a Private Network 4 10 4 3 6 Example Configuri...

Page 4: ... BGP4 Route Reflector 8 3 8 3 2 Example Configuring BGP4 Route Load Sharing 8 5 8 3 3 Example Configuring BGP4 8 7 Chapter 9 IPv6 Route Map Policy Configuration 9 1 9 1 IPv6 Routing Policy Configuration 9 1 9 1 1 Configuring the IPv6 Routing Policy 9 1 9 1 2 IPv6 Routing Policy Configuration Instances 9 7 9 2 IPv6 Policy Route Configuration 9 30 9 2 1 Configuring IPv6 Policy Routes 9 30 9 2 2 IPv6...

Page 5: ...g IPv6 PIM SSM 15 1 15 3 IPv6 PIM SSM Configuration Example 15 2 Chapter 16 IPv6 Tunnel Configuration 16 1 16 1 IPv6 Tunnel Configuration 16 1 16 1 1 IPv6 Tunnel Overview 16 1 16 1 2 Configuring IPv6 Tunnels 16 5 16 1 3 IPv6 Tunnel Configuration Examples 16 6 16 2 ISATAP Tunnel Configuration 16 13 16 2 1 ISATAP Tunnel Overview 16 13 16 2 2 Configuring ISATAP Tunnels 16 14 16 2 3 ISATAP Configurati...

Page 6: ...onfiguring IPv6 WRED 22 3 22 3 3 Example Configuring IPv6 CAR 22 5 22 3 4 Example Configuring IPv6 Priority Inheritance 22 6 Chapter 23 IPv6 VRRP Configuration 23 1 23 1 IPv6 VRRP Overview 23 1 23 2 Configuring IPv6 VRRP 23 1 23 3 IPv6 VRRP Configuration Examples 23 4 23 3 1 Example Basic VRRP Configuration 23 4 23 3 2 Example Symmetrical VRRP Configuration 23 7 23 3 3 Example VRRP Heartbeat Confi...

Page 7: ...Figures I Tables V Glossary VII V SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 8: ...This page intentionally left blank VI SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 9: ...nd configuration examples 4 IPv6 Static Route Configuration Describes the IPv6 Static Route principle configuration commands and configuration examples 5 RIPng Configuration Describes the RIPng principle configuration commands and configuration examples 6 OSPFv3 Configuration Describes the OSPFv3 principle configuration commands and configuration examples 7 IS ISv6 Configuration Describes the IS I...

Page 10: ...uration Describes the 6VPE principle configuration commands and configuration examples 20 IPv6 ACL Configuration Describes the IPv6 ACL principle configuration commands and configuration examples 21 IPv6 URPF Configuration Describes the IPv6 URPF principle configuration commands and configuration examples 22 IPv6 QoS Configuration Describes the IPv6 QoS principle configuration commands and configu...

Page 11: ... breakdown Warning indicates a potentially hazardous situation Failure to comply can result in serious injury equipment damage or interruption of major services 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 III SJ 20140504150128 018 201...

Page 12: ...This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 13: ...ped or made optional to reduce the common case processing cost of packet handling and to limit the bandwidth cost of the IPv6 header l Improved support for extensions and options Changes in the way IP header options are encoded allows for more efficient forwarding less stringent limits on the length of options and greater flexibility for introducing new options in the future l Flow labeling capabi...

Page 14: ...s an ICMP destination unreachable packet to the source node By default this function is disabled the original packet triggering the generation of an ICMPv6 error packet is discarded on the forwarding plane 3 ZXR10 config icmp config Enters ICMP configuration mode 4 ZXR10 config icmp interface byname interface byname interface name Enters ICMP interface configuration mode 5 ZXR10 config icmp if int...

Page 15: ...ctions Range 5 50 unit packets default 5 packets 3 Verify the configurations To improve transfer efficiency IPv6 does not support fragmentation by intermediate nodes When the length of an IPv6 packet that is forwarded by the intermediate node is greater than the MTU of the interface of the intermediate node an ICMPv6 error packet is sent to inform the source node of the Path MTU value PMTU In this...

Page 16: ...ter is sending or receiving IPv6 packets Information can be printed by specifying an interface a protocol number or details ZXR10 debug ipv6 icmp Enables the debugging function of the ICMPv6 protocol to display debugging informatio about ICMPv6 protocol processing and whether a router is sending or receiving ICMP packets ZXR10 debug ipv6 tcp all Enables all print functions related to the IPv6 TCP ...

Page 17: ...bled ZXR10 show debug tcp6 Displays the IPv6 TCP protocol debugging functions that have been enabled ZXR10 show debug udp6 Displays the IPv6 UDP protocol debugging functions that have been enabled local ipv6 address local IP address in colon separated hexadecimal format vrf name VRF name of the IP address containing 1 to 32 characters local port local port number range 1 65535 remote ipv6 address ...

Page 18: ...ZXR10 ZSR V2 Configuration Guide IPv6 This page intentionally left blank 1 6 SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 19: ...net and the ability of Internet backbone routers to maintain large routing tables l Need for simpler auto configuration and renumbering l Requirement for security at the IP level l Need for better support to real time delivery of data also called Quality of Service QoS Note Features such as IP Security Protocol IPSec and QoS have been specified for both versions of IP Internet Protocol Version 6 I...

Page 20: ...6 contains only six fields and two address spaces l Although IPv6 header occupies 40 bytes which is 1 6 times of IPv4 header with 24 bytes it does not consume too much memory capacity due to its fixed length the length of the IPv4 header is variable l The following six fields are deleted from IPv4 header header length type of service identifier flags fragmented offsets and header checksum Names an...

Page 21: ...length of address allocation which is a part of the whole address space Table 2 1 shows allocation of IPv6 address space Table 2 1 IPv6 Address Space Allocation Prefix Fraction of Address Space Reserved 0000 0000 1 256 Unallocated 0000 0001 1 256 Reserved for NSAP allocation 0000 001 1 128 Reserved for IPX allocation 0000 010 1 128 Unallocated 0000 011 1 128 Unallocated 0000 1 1 32 Unallocated 000...

Page 22: ...distance based on routing protocol An IPv6 unicast address can be regarded as an entity with two fields One field is used to identify networks and the other is used to identify interfaces of nodes on this network In the subsequent description of the specific unicast address types the user finds that the network identifier can be divided into several parts each of which identifies different network...

Page 23: ...s and users and providers conclude contracts for the network access Such network access is either directly provided by a provider or indirectly provided by an exchange However the routing is through the exchange In this way a user needs not to address again when it changes a provider At the same time users are allowed to use multiple ISPs to process single block network address Aggregatable global...

Page 24: ...icated to the plane address space there are at most 65 535 different subnets available If the first eight bits are used for the internal advanced routing of this institution then there will be 255 advanced subnets available and each advanced subnet can have up to 255 sub subnets à Interface identifier field This is a 64 bit field containing 64 bit values of the IEEE EUI 64 interface identifier l S...

Page 25: ...ble 2 3 lists the address structures of these two kinds of addresses Table 2 3 Structure of the IPv6 Address Embedded With IPv4 Address IPv4 Compatible Address 80 16 32 0000 0000 0000 IPv4 address IPv4 image address 80 16 32 0000 0000 FFFF IPv4 address l Link Local Address and Site Local Address Using the network Model 10 address to translate IPv4 network addresses provides an option for the insti...

Page 26: ...l address is immediately followed by a succession of zeros which is slightly different from that of a link local address The subnet identifier of a site local address is 16 bit and its interface identifier is still the 64 bit IEEE based address Note that the special behavior of site local addresses has been removed from RFC Addresses such as fec0 10 need to be treated as common unicast addresses l...

Page 27: ...his address is a temporary address The other three flag bits are reserved for future use The initialization value is 0 l Scope field This is a 4 bit field and is used to indicate the range of multicast That is whether a multicast group only includes nodes within the same local network the same site or the same institution or includes nodes that resides anywhere in the IPv6 global address space The...

Page 28: ...equest to an anycast address to obtain information it is the nearest server associated to this anycast address that shall respond Anycast addresses are allocated outside of the normal IPv6 unicast address space Anycast addresses cannot be distinguished from unicast addresses in their forms and each member of an anycast address should be explicitly configured to identify an anycast address 2 1 2 Ad...

Page 29: ...fied address 0 0 0 0 0 0 0 0 In the environment mixed with IPv4 and IPv6 there may be a third way The least significant 32 bit in an IPv6 address can be used to express an IPv4 address in a mixed way X X X X X X d d d d among which X represents a 16 bit and d indicates a 8 bit decimal integer For example the address 0 0 0 0 0 0 10 0 0 1 is a legal IPv4 address Therefore this address is expressed a...

Page 30: ...esses l Multicast addresses FF01 1 of all the nodes within the node local range l Multicast addresses FF02 1 of all the nodes within the link local range l Multicast addresses FF02 2 of all the routers within the link local range l Multicast addresses FF05 2 of all the routers within the site local range l Multicast address of the solicited node if the solicited node group is added to an interface...

Page 31: ...dress from 48 bit to 64 bit If the network adapter MAC address used by the host is still 48 bit the IPv6 network adapter driver will convert the 48 bit MAC address to the 64 bit MAC address in accordance with an IEEE formula 2 The host sends a neighbor discovery request to the address to check whether the address is unique If there is no response to the request it indicates that the link local uni...

Page 32: ...hich is a decimal number 1 128 indicating how many bits from the utmost left of the IPv6 address are the address prefix X X X X link local address which must be assigned with the prefix fe80 64 2 Configure optional parameters of the IPv6 function Command Function ZXR10 config if interface name ipv6 mtu bytes Sets the Maximum Transfer Unit MTU of the IPv6 packets to be transmitted on the interface ...

Page 33: ...ig interface gei 1 1 R1 config if gei 1 1 no shutdown R1 config if gei 1 1 ipv6 enable R1 config if gei 1 1 ipv6 address 3ffe 100 1 64 Or R1 config interface gei 1 1 R1 config if gei 1 1 no shutdown R1 config if gei 1 1 ipv6 enable R1 config if gei 1 1 ipv6 address link local fe80 1111 2222 3333 4444 R1 config if gei 1 1 exit Configuration on R2 R2 config interface gei 2 1 R2 config if gei 2 1 no ...

Page 34: ...ffe 100 2 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 0 0 0 ms Verify the configuration results on R2 R1 show ipv6 interface brief gei 2 1 gei 2 1 up up fe80 1422 30ff fec4 e999 3ffe 100 2 64 R2 ping6 3ffe 100 1 sending 5 100 byte ICMP echoes to 3ffe 100 1 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 0 0 0 ms 2 16 SJ 20140504150128 018...

Page 35: ...ress l The NDP supports router discovery A host can detect the existence of routers through the NDP and determine the IDs of the routers willing to forward packets l The NDP supports prefix discovery A router can distribute prefix information through the NDP to the other connected links l The NDP also supports neighbor unreachability detection A node can determine the bidirectional reachability of...

Page 36: ...A packets to notify its own link layer address changes to other nodes When a new address is generated on a node the node needs to send a neighbor request to other nodes on the link to enquire whether the address has been used If the address has been used the node using the address responds with an NA packet If the node where the address is generated does not receive any response after multiple det...

Page 37: ...conds range 0 9000 default 1800 ZXR10 config if interface name ipv6 nd ra linkmtu ra advlinkmtu Configures the mtu field value in RA packets unit byte range 0 1500 default 1500 ZXR10 config if interface name ipv6 nd reachable time milliseconds Specifies the time within which the remote neighbor is considered as reachable after the reachability of the remote neighbor is confirmed in milliseconds de...

Page 38: ...interface default disabled ZXR10 config if interface name ipv6 nd inner vlan proxy Enables the ND proxy function in the same VLAN of the same interface default disabled Descriptions of the parameters in Step 2 valid lifetime indicates the valid lifetime in seconds of the prefix in seconds range 0 4294967295 default 2592000 preferred lifetime indicates the preferred lifetime in seconds in seconds r...

Page 39: ...his value is visible only in supervlan interface mode and must be configured 4 Verify the configurations Command Function ZXR10 show nd6 cache interface name Displays information from the IPv6 neighbor cache table If an interface is added only the neighbor cache entries of this interface are displayed The display results show not only the entries generated by the ND protocol for the routes to neig...

Page 40: ...ache table and check whether the static entry has been successfully added Configuration Commands Configuration on the router ZXR10 config interface gei 1 1 ZXR10 config if gei 1 1 no shutdown ZXR10 config if gei 1 1 nd6 add 780 1 0000 0a00 1345 Configuration Verification Assume that the echo information on the router before configuration is as follows ZXR10 show nd6 cache Total Cache Number Is 1 O...

Page 41: ...atic 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 3 7 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 3 8 SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 43: ...tes The static unicast routing table is configured by the network administrator according to his her routing requirements after he she gets familiar with the entire network topology Therefore the network administrator can exactly control routing behaviors in the network When the network topology changes however the network administrator needs to reconfigure the static routing table Unlike dynamic ...

Page 44: ... static description Configures an IPv6 static route ZXR10 config ipv6 route vrf mng vrf name ipv6 ad dress mask ipv6 address distance metric cost bfd enable name static description Configures the specified next hop of the IPv6 static route ipv6 address can be a directly connected address or an indirectly connected address ZXR10 config ipv6 route vrf mng vrf name ipv6 addre ss mask interface name i...

Page 45: ...eated The static route is informed to create a BFD session only when the IPv6 address of the interface is updated 2 Verify the configurations Command Function ZXR10 config show running config ipv6 static Displays the static routes configured in the system database ZXR10 config show ipv6 protocol routing static Displays the static routes in the routing table and the validity of these routes ZXR10 c...

Page 46: ...onfig if gei 2 1 exit R1 config ipv6 route 2003 64 2005 2 Configure the static route R1 config exit The configuration on R2 is as follows R2 config interface gei 4 1 R2 config if gei 4 1 no shutdown R2 config if gei 4 1 ipv6 enable R2 config if gei 4 1 ipv6 address 2005 2 64 R2 config if gei 4 1 exit R2 config interface gei 4 3 R2 config if gei 4 3 no shutdown R2 config if gei 4 3 ipv6 enable R2 c...

Page 47: ...t Destination Gw Gateway Pri Priority Codes K kernel I1 isis l1 SFN sf nat64 R ripng AF aftr B bgp D direct I2 isis l2 SLN sl nat64 O ospfv3 D6 dhcp P ppp S static N nd V vrrp A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 2003 64 S 0 gei 2 1 1 2005 2 4 3 2 Example Configuring a Static IPv6 Route Indirect Next Hop Configuration Description As shown in Figure 4 2 R1 and R3 ...

Page 48: ...nfiguration Verification R1 show ipv6 forwarding route static IPv6 Routing Table Headers Dest Destination Gw Gateway Pri Priority Codes K kernel I1 isis l1 SFN sf nat64 R ripng AF aftr B bgp D direct I2 isis l2 SLN sl nat64 O ospfv3 D6 dhcp P ppp S static N nd V vrrp A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 2003 64 S 0 gei 2 1 1 2005 2 2005 64 S 0 gei 2 1 1 2006 2 4 ...

Page 49: ...ion R1 config show ipv6 forwarding route IPv6 Routing Table Headers Dest Destination Gw Gateway Pri Priority Codes K kernel I1 isis l1 SFN sf nat64 R ripng AF aftr B bgp D direct I2 isis l2 SLN sl nat64 O ospfv3 D6 dhcp P ppp S static N nd V vrrp A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 0 S 0 gei 2 1 1 2005 2 4 3 4 Example Configuring FRR for Static IPv6 Route in a P...

Page 50: ... R1 config if gei 1 3 no shutdown R1 config if gei 1 3 ipv6 enable R1 config if gei 1 3 ipv6 address 300 1 56 R1 config if gei 1 3 exit R1 config interface gei 5 5 R1 config if gei 5 5 no shutdown R1 config if gei 5 5 ipv6 enable R1 config if gei 5 5 ipv6 address 500 1 56 R1 config if gei 5 5 exit R1 config ipv6 route static fast reroute Enable the FRR function R1 config ipv6 route 1234 1 128 500 ...

Page 51: ...lows R1 config show ipv6 forwarding route 1234 1 IPv6 Routing Table Headers Dest Destination Gw Gateway Pri Priority Codes K kernel I1 isis l1 SFN sf nat64 R ripng AF aftr B bgp D direct I2 isis l2 SLN sl nat64 O ospfv3 D6 dhcp P ppp S static N nd V vrrp A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 1234 1 128 S 0 gei 5 5 1 500 2 R1 config show ipv6 forwarding backup rout...

Page 52: ...IPv6 route as the active route in the private network 4 Configure a static IPv6 route as the standby route Its VRF destination address and mask must be the same with those of the active route The priority or metric of the standby route must be lower than that of the active route The active and standby routes must have different outgoing interfaces Configuration Commands Configuration on R1 R1 conf...

Page 53: ...onfig if loopback5 ipv6 enable R2 config if loopback5 ipv6 address 1234 1 128 R2 config if loopback5 exit Configuration Verification The configuration on R1 is verified as follows R1 config show ipv6 forwarding route vrf vpn 1234 1 IPv6 Routing Table Headers Dest Destination Gw Gateway Pri Priority Codes K kernel I1 isis l1 SFN sf nat64 R ripng AF aftr B bgp D direct I2 isis l2 SLN sl nat64 O ospf...

Page 54: ...atic IPv6 routes on R1 to the peer loopback interface address Configure the addresses of the peer end interfaces that are connected directly as the next hop addresses of the two routes Two static IPv6 routes must have the same distance value and metric value 3 The default load sharing mode is the per flow load sharing and it can be modified to the per packet load sharing mode Configuration Command...

Page 55: ...pback5 ipv6 address 1234 1 128 R2 config if loopback5 exit Configuration Verification Run the show ipv6 forwarding route command to display the route forwarding table on R1 R1 config show ipv6 forwarding route 1234 1 IPv6 Routing Table Headers Dest Destination Gw Gateway Pri Priority Codes K kernel I1 isis l1 SFN sf nat64 R ripng AF aftr B bgp D direct I2 isis l2 SLN sl nat64 O ospfv3 D6 dhcp P pp...

Page 56: ... of the interface directly connected to R3 loopback interface address and a static IPv6 route to the loopback interface address on R2 Enable the BFD function of the static IPv6 route and configure the next hop of the BFD source side of the static IPv6 route 2 On R1 configure the address of the interface directly connected to R4 address of the interface directly connected to R2 and a static IPv6 ro...

Page 57: ...enable R4 config ipv6 route nexthop source loopback1 Configuration on R1 R1 config interface gei 1 1 R1 config if gei 1 1 no shutdown R1 config if gei 1 1 ipv6 enable R1 config if gei 1 1 ipv6 address 100 2 56 R1 config if gei 1 1 exit 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 200 1 56 R1 config if gei 1 2 exit R...

Page 58: ...g if loopback1 exit R2 config ipv6 route 1002 1 128 200 1 R2 config ipv6 route 1002 1 128 300 1 R2 config ipv6 route 1234 1 128 1002 1 bfd enable R2 config ipv6 route nexthop source loopback1 Configuration Verification Run the show bfd neighbors ip brief command to display BFD session information on R2 R2 config show bfd neighbors ip brief LocalAddr PeerAddr LD RD Hold State Interface 1002 0 0 0 0...

Page 59: ...ew protocol but to make necessary alteration to the RIP to enable it to adapt to the routing requirements under IPv6 Therefore RIPng has the same working principles as the RIP except for changes in the address and packet formats l Address length RIPv1 and RIPv2 are IPv4 based The address field consists of only 32 bits In contrast RIPng is IPv6 based and all its addresses comprise 128 bits l Subnet...

Page 60: ... the length of a packet and the number of RTEs The length of a packet depends on the MTU of a medium This packet length processing mechanism of RIPng has improved the transmission efficiency of routing information on the network l Security consideration RIPv1 packets do not contain authentication information and thus RIPv1 is not secure Any host sending packets via UDP port 520 may be regarded by ...

Page 61: ...metric value range 0 to 16 update specifies the periodic packet sending interval in seconds range 5 to 65535 default 30 timeout specifies the time in seconds for the route to become invalid range 5 to 65535 default 180 garbage specifies the time period in seconds from the time when the route becomes invalid to the time when the route is deleted range 5 to 65535 default 120 in out specifies the rou...

Page 62: ...pv6 rip interface active Configures the active interface so that the interface only sends packets but does not receive packets To cancel the configuration and restore normal packet sending and receiving run the no form of the command ZXR10 config ripng if interface name ipv6 rip interface passive Configures the passive interface so that the interface only receives packets but does not send packets...

Page 63: ...rs can delete all the received routes or a certain route only End of Steps 5 3 RIPng Configuration Instances 5 3 1 RIPng Basic Configuration Example Configuration Description As shown in Figure 5 1 the RIPng runs on R1 and R2 to notify the RIPng route of these two routers The following use a loopback address and a redistribution of direct routes as an example to illustrate the configuration Figure...

Page 64: ... config interface loopback5 R1 config if loopback5 ipv6 enable R1 config if loopback5 ipv6 address 3555 52 64 R1 config if loopback5 exit R1 config ipv6 router rip R1 config ripng interface gei 3 6 R1 config ripng if gei 3 6 ipv6 rip enable R1 config ripng if gei 3 6 exit R1 config ripng interface loopback5 R1 config ripng if loopback5 ipv6 rip enable R1 config ripng if loopback5 exit R1 config ri...

Page 65: ...ng config ripng command on R1 and R2 to check the RIPng configuration information and execute the show ipv6 forwarding route ripng command to check the route information Check the route information on R1 R1 show running config ripng RIPNG ipv6 router rip redistribute connected interface gei 3 6 ipv6 rip enable interface loopback5 ipv6 rip enable RIPNG R1 show ipv6 rip RIPng protocol port 521 multi...

Page 66: ...36 64 nexthop via gei 3 6 metric 1 tag 0 3550 64 nexthop fe80 2d0 d0ff feaf cc10 via gei 3 6 metric 2 tag 0 3555 64 nexthop via loopback5 metric 1 tag 0 3611 64 nexthop via gei 3 6 metric 1 tag 0 R1 show ipv6 forwarding route ripng IPv6 Routing Table Headers Dest Destination Gw Gateway Pri Priority Codes K kernel I1 isis l1 SFN sf nat64 R ripng AF aftr B bgp D direct I2 isis l2 SLN sl nat64 O ospf...

Page 67: ... RIPng protocol port 521 multicast group FF02 9 administrative distance is 120 default metric is 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 redistribute connected R2 show ipv6 rip database 2255 64 nexthop fe80 2d0 d0ff fe78 99dd via gei 1 3 metric 16 tag ...

Page 68: ... direct I2 isis l2 SLN sl nat64 O ospfv3 D6 dhcp P ppp S static N nd V vrrp A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 2310 64 R 2 gei 1 3 120 fe80 2e 2d0 d0ff fe78 99dd 3555 64 R 2 gei 1 3 120 fe80 2e 2d0 d0ff fe78 99dd R2 ping6 2310 66 sending 5 100 byte ICMP echoes to 2310 66 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 0 0 0 ms 5 3 2 ...

Page 69: ...png interface gei 3 6 R1 config ripng if gei 3 6 ipv6 rip enable The configuration of R2 is as follows R2 config interface gei 1 3 R2 config if gei 1 3 ipv6 enable R2 config if gei 1 3 ipv6 address 3611 10 64 R2 config if gei 1 3 no shutdown R2 config if gei 1 3 exit R2 config interface loopback5 R2 config if loopback5 ipv6 enable R2 config if loopback5 ipv6 address 2001 db8 0 10 64 R2 config if l...

Page 70: ...IPv6 Routing Table Headers Dest Destination Gw Gateway Pri Priority Codes K kernel I1 isis l1 SFN sf nat64 R ripng AF aftr B bgp D direct I2 isis l2 SLN sl nat64 O ospfv3 D6 dhcp P ppp S static N nd V vrrp A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 2001 db8 0 10 64 R 2 gei 3 6 120 fe80 c 2d0 d0ff fe00 500 2001 db8 0 10 62 R 2 gei 3 6 120 fe80 c 2d0 d0ff fe00 500 2001 d...

Page 71: ...rity of IPv4 algorithms The essential OSPF mechanism remains unchanged from IPv4 to IPv6 Both OSPFv3 and OSPFv2 have a link status database The Link Status Advertisement LSA is contained in the link status database and the link status databases of all routers in the same area must be kept synchronous Database synchronization is implemented through the database exchange process which includes excha...

Page 72: ... the received packet are the same as those in its own packet adjacency is established between the two routers Two routers in an adjacency relationship do not necessarily become neighbors This depends on the network type The two routers become real neighbors only when they have successfully exchanged the DD packet and the LSA and their LSDBs are synchronized with each other l The same DR election m...

Page 73: ...esses in the global range or of a local site can serve as the source address The link local addresses occur in the OSPFv3 LSA but are not allowed to occur in other types of LSAs l Changes to the authentication mode The authentication type and authentication field are removed from the OSPFv3 header The authentication related fields do not occur in the OSPFv3 area data structure and the interface da...

Page 74: ...ix router LSA describes IPv6 address prefixes in other areas For stub areas inter area prefix LSA can also be used to describe the default route l Inter Area router LSA Its link state type is 0x2004 It is equivalent to the Type 4 LSA in IPv4 Created by the ABR it describes the ASBR to other areas l AS external LSA Its link state type is 0x4005 It is created by the ASBR and describes the ASBR to ot...

Page 75: ...SA The LSA is newly added 6 2 Configuring OSPFv3 This procedure describes how to configure the attributes and functions for OSPFv3 protocol routes including protocol attributes interface attributes route summarization redistributing routes into OSPFv3 from other routing protocols and route load sharing Steps 1 Enable OSPFv3 Step Command Function 1 ZXR10 config ipv6 router ospf process id vrf vrf n...

Page 76: ...rea area id range X X X X 0 128 advertise not advertise Configures the range of summary addresses in an area advertise not advertise enables prohibits the advertisement of summary 3 type LSAs ZXR10 config ospfv3 process id area area id stub no summary Defines an area as the stub area no summary implies the ABR is forbidden to send summary routes to this stub area ZXR10 config ospfv3 process id are...

Page 77: ...o set the smooth transition period hello interval seconds specifies the interval in seconds at which Hello packets are sent on the virtual link range 1 to 8192 default 10 dead interval seconds specifies the dead interval in seconds of neighbors on the virtual link range 1 to 8192 default 40 retransmit interval seconds specifies the retransmission interval of packets on the virtual link range 1 to ...

Page 78: ...d sharing Step Command Function 1 ZXR10 config ospfv3 process id maximum paths number Configures the number of routes supported by the protocol for load sharing range 1 32 default 1 Up to 32 equal cost route entries can be stored in the routing table for load balancing This command can configure up to 32 paths with the same measurement value 2 ZXR10 config interface interface name Enters interface...

Page 79: ... 1 to 65535 default 5 ZXR10 config ospfv3 process id if interface name transmit delay interval Specifies the delay in seconds after which an interface transmits a link state update packet range 1 to 65535 default 1 ZXR10 config ospfv3 process id if interface name dead interval interval Specifies the aging time in seconds of neighbors on an interface range 1 to 65535 The default value for point to ...

Page 80: ... Configures OSPFv3 interface encryption ZXR10 config ospfv3 process id if interface name ipv6 mtu ignore Configures to ignore MTU check during DD packet exchange ZXR10 config ospfv3 process id if interface name linklsa suppress enable Suppresses an interface to generate Type 8 link LSA ZXR10 config ospfv3 process id if interface name fast reroute disable Disable the FRR function on the interface 6...

Page 81: ...ng OSPF packets the purpose of which is for debugging and troubleshooting End of Steps 6 3 OSPFv3 Configuration Instances 6 3 1 OSPFv3 Basic Configuration Example Configuration Description As shown in Figure 6 1 R1 and R2 establish a link via direct connection interfaces to advertise their respective loopback address route Figure 6 1 Topology of OSPFv3 Configuration Examples Configuration Flow 1 E...

Page 82: ... 1 R1 config ospfv3 1 router id 11 11 11 11 R1 config ospfv3 1 interface gei 3 6 area 0 R1 config ospfv3 1 if gei 3 6 exit R1 config ospfv3 1 interface loopback5 area 0 R1 config ospfv3 1 if loopback5 exit R1 config ospfv3 1 exit The configuration on R2 is as follows R2 config interface gei 1 3 R2 config if gei 1 3 no shutdown R2 config if gei 1 3 ipv6 enable R2 config if gei 1 3 ipv6 address 3611...

Page 83: ... D direct I2 isis l2 SLN sl nat64 O ospfv3 D6 dhcp P ppp S static N nd V vrrp A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 3550 55 128 O 1 gei 3 6 110 fe80 12 2d0 d0ff feaf cc10 R1 ping6 3550 55 sending 5 100 byte ICMP echo es to 3550 0 0 0 0 0 0 55 timeout is 2 second s Success rate is 100 percent 5 5 round trip min avg max 2 2 3 ms Check and verify the configuration re...

Page 84: ...e 2 Configuration Flow 1 Enable the IPv6 protocol on each interface configure IPv6 addresses configure loopback interfaces enable IPv6 on the loopback interfaces and configure IPv6 addresses for the loopback interfaces 2 Configure OSPFv3 3 Add the interfaces to OSPFv3 R1 and R2 establish a link with each other in area 0 R2 and R3 establish a link with each other in area 10 and R1 redistributes the...

Page 85: ...1 3 ipv6 enable R2 config if gei 1 3 ipv6 address 3611 10 64 R2 config if gei 1 3 exit R2 config interface gei 1 2 R2 config if gei 1 2 no shutdown R2 config if gei 1 2 ipv6 enable R2 config if gei 1 2 ipv6 address 2352 52 64 R2 config if gei 1 2 exit R2 config interface loopback5 R2 config if loopback5 ipv6 enable R2 config if loopback5 ipv6 address 3550 52 64 R2 config if loopback5 exit R2 confi...

Page 86: ...mand on each router to check the established neighbour information and route information Ping the peer loopback interface of each router If both routers can ping the loopback interface of the peer router successfully it means that the configuration is successful Check and verify the configuration result on R1 as shown below R1 show running config ospfv3 OSPFV3 ipv6 router ospf 1 router id 11 11 11...

Page 87: ...rrp A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 3500 55 128 O 2 gei 3 6 110 fe80 12 2d0 d0ff feaf cc10 R1 ping6 3500 55 sending 5 100 byte ICMP echo es to 3500 0 0 0 0 0 0 55 timeout is 2 second s Success rate is 100 percent 5 5 round trip min avg max 3 3 3 ms Check and verify the configuration result on R2 as shown below R2 show running config ospfv3 OSPFV3 ipv6 router...

Page 88: ...k and verify the configuration result on R3 as shown below R3 show running config ospfv3 OSPFV3 ipv6 router ospf 1 router id 1 1 1 5 interface gei 3 6 area 0 0 0 10 instance 0 interface loopback5 area 0 0 0 10 instance 0 OSPFV3 R3 show ipv6 ospf neighbor OSPFv3 Process 1 Neighbor ID Pri State Dead Time Interface ID Interface 10 10 10 10 1 FULL DR 00 00 31 45 gei 3 6 R3 show ipv6 forwarding route 3...

Page 89: ...he interface and configure OSPFv3 3 Configure the load sharing for the interface Configuration Commands The configuration on R1 is as follows R1 config interface gei 1 1 R1 config if gei 1 1 no shutdown R1 config if gei 1 1 ipv6 enable R1 config if gei 1 1 ipv6 address 2005 1 64 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 ...

Page 90: ... config interface loopback10 R2 config if loopback10 ipv6 enable R2 config if loopback10 ipv6 address 2000 2 64 R2 config if loopback10 exit R2 config ipv6 router ospf 1 R2 config ospfv3 1 router id 1 1 1 1 R2 config ospfv3 1 interface gei 2 1 area 0 configure ospfv3 R2 config ospfv3 1 if gei 2 1 R2 config ospfv3 1 interface gei 2 2 area 0 R2 config ospfv3 1 if gei 2 2 R2 config ospfv3 1 interface...

Page 91: ...he IP routing table IS IS is a routing protocol with high expansibility so it can support the expansion of the CLNS routing protocol to support IPv4 and support IPv6 Uni topology IS IS can only run a single SPF algorithm The topologies corresponding to IPv4 and IPv6 must be identical and with special restriction While the multi topology IS IS can run multiple SPF algorithms Then the topologies cor...

Page 92: ... 6 bytes in the form of xxxx xxxx xxxx range range number specifies the extensible range of the System ID range 0 to 32 default 0 The instance assumes an ID ranging from System ID to System ID range number area address specifies the area address which is a hexadecimal string of 1 to 13 bytes 2 Configure IS ISv6 global parameters in IS ISv6 routing mode If all the devices on the network are the ZXR...

Page 93: ...he LSP SNP authentication of IS ISv6 ZXR10 config isis process id disable snp authentication Disables SNP authentication Run this command when only LSP authentication needs to be enabled after LSP SNP authentication is configured ZXR10 config isis process id enable snp authentication Enables SNP authentication Run this command if SNP authentication needs to be enabled again ZXR10 config isis proce...

Page 94: ...ISv6 makes topology computation range 1 to 120 default 10 2 ZXR10 config isis process id af prefix priority critical high medium acl name acl name tag value level 1 level 2 Configures the IPv6 prefix priority Parameters descriptions critical sets the critical prefix rule high sets high prefix rule medium sets medium prefix rule acl name acl name The ACL list indicates priorities Range 1 31 charact...

Page 95: ...tag specifies the route map name for the current protocol redistribution 1 to 31 characters in length ipv6 prefix IPv6 network segment prefix format X X X X 0 128 5 Configure load sharing and fast rerouting for IS ISv6 routes Command Function ZXR10 config isis process id af maximum paths number Configures the maximum number of next hop paths range 1 to 32 ZXR10 config isis process id af fast rerou...

Page 96: ...nfig isis process id if interface name hello multiplier multiplier level 1 level 2 Configures the IS ISv6 hello multiplier on an interface range 3 to 1000 default 3 ZXR10 config isis process id if interface name lsp interval interval level 1 level 2 Configures the interval in seconds at which the IS ISv6 protocol sends two consecutive LSP packets on an interface range 33 to 4294967040 default 33 Z...

Page 97: ... the maximum number of LSP packets to be sent on an interface range 1 to 50 default 1 ZXR10 config isis process id if interface name mesh group mesh group number blocked Sets the mesh group function on an certain interface range 1 to 4294967295 ZXR10 config isis process id if interface name network point to point Enables a LAN network interface to simulate a point to point interface ZXR10 config i...

Page 98: ...face ZXR10 config isis process id if interface name i pv6 bfd enable Enables the bidirectional fast link detection protocol of IS ISv6 on the interface ZXR10 config isis process id if interface name i pv6 fast reroute block Disables the IPv6 fast rerouting function on the interface 9 Debug IS ISv6 Command Function ZXR10 debug isis all Tracks and shows all the debugging information about the IS ISv...

Page 99: ... ensure that the system ids of the two routers are not the same If the IPv4 IS IS protocol has been configured on certain interfaces of the two routers set both routers to the multi topology mode To set the multi topology mode first set the metric type of the IS IS protocol to wide If the IPv4 IS IS protocol is not configured on any interface of the two routers adjacency can be established through...

Page 100: ...ystem id 0000 0000 0011 R1 config isis 0 metric style wide R1 config isis 0 hostname dynamic disable R1 config isis 0 interface gei 0 6 R1 config isis 0 if gei 0 6 ipv6 router isis R1 config isis 0 if gei 0 6 exit R1 config isis 0 interface loopback5 R1 config isis 0 if loopback5 ipv6 router isis R1 config isis 0 if loopback5 exit R1 config isis 0 address family ipv6 R1 config isis 0 af multi topo...

Page 101: ...ly computes the IPv6 topology and can successfully ping6 the loopback interface of the peer router Check the configuration result on R1 Run the show running config isis command to check the IS IS configuration information as shown below R1 show running config isis route_isis router isis 0 area 47 0005 system id 0000 0000 0011 hostname dynamic disable metric style wide address family ipv6 multi top...

Page 102: ...n it is necessary to check the link status The Level1 DR item shows the system id of the DIS R1 show isis circuits IS IS interface database Interface State Lev CirId Level1 DR Level2 DR Pri L1 L2 loopback5 Up L1L2 0 No found No found 64 64 gei 0 6 Up L1L2 6 0000 0000 0010 03 0000 0000 0010 03 64 64 Run the show ipv6 forwarding route isis l1 or show ipv6 forwarding route isis l2 command to check ro...

Page 103: ... 25 00D0 D078 99DD 64 64 M R2 show isis ipv6 topology Process ID 0 IS IS paths to Level 1 routers System id Metric Next Hop Interface SNPA 0000 0000 0010 0000 0000 0011 10 0000 0000 0011 gei 0 3 00D0 D078 99DD IS IS paths to Level 2 routers System id Metric Next Hop Interface SNPA 0000 0000 0010 0000 0000 0011 10 0000 0000 0011 gei 0 3 00D0 D078 99DD R2 show isis circuits IS IS interface database ...

Page 104: ... the routers in each area only need to maintain a smaller link state database Figure 7 2 shows a multi area IS IS instance R1 is in Area 1 R2 in Area 0 and R3 and R4 in Area 2 On R1 perform route aggregation for the network segments in Area 1 The static routes are redistributed to the IS IS on R4 Figure 7 2 Multi Area IS ISv6 Configuration Example Configuration Flow 1 Enable the IPv6 protocol on t...

Page 105: ...000 0 0 2 1 64 R1 config if loopback2 exit R1 config interface loopback3 R1 config if loopback3 ipv6 enable R1 config if loopback3 ipv6 address 2000 0 0 3 1 64 R1 config if loopback3 exit R1 config router isis R1 config isis 0 area 01 R1 config isis 0 system id 0000 0000 0011 R1 config isis 0 is type level 1 2 R1 config isis 0 metric style wide R1 config isis 0 interface gei 1 3 R1 config isis 0 i...

Page 106: ...t R2 config router isis R2 config isis 0 area 00 R2 config isis 0 system id 0000 0000 0012 R2 config isis 0 is type level 2 R2 config isis 0 metric style wide R2 config isis 0 interface gei 1 1 R2 config isis 0 if gei 1 1 ipv6 router isis R2 config isis 0 if gei 1 1 circuit type level 2 only R2 config isis 0 if gei 1 1 exit R2 config isis 0 interface gei 1 3 R2 config isis 0 if gei 1 3 ipv6 router...

Page 107: ...config isis 0 af end Configuration on R4 R4 config interface gei 1 3 R4 config if gei 1 3 ipv6 enable R4 config if gei 1 3 ipv6 address 2300 4 64 R4 config if gei 1 3 no shutdown R4 config if gei 1 3 exit R4 config interface loopback4 R4 config if loopback4 ipv6 enable R4 config if loopback4 ipv6 address 2400 4 64 R4 config if loopback4 exit R4 config ipv6 route 0 2400 1 R4 config router isis R4 c...

Page 108: ...ck the IS IS configuration information as shown below ZXR10_R1 show running config isis route_isis router isis 0 area 01 system id 0000 0000 0011 is type level 1 2 metric style wide address family ipv6 multi topology summary prefix 2000 48 interface gei 1 3 ipv6 router isis circuit type level 2 only interface loopback1 ipv6 router isis circuit type level 2 only interface loopback2 ipv6 router isis...

Page 109: ...2 0000 0000 0014 30 0000 0000 0012 gei 1 3 00D0 D078 99D2 0000 0000 0011 Run the show ipv6 forwarding route isis l2 command to check route advertisement If route advertisement is normal the route advertised by the loopback interface of the peer router can be seen R1 show ipv6 forwarding route isis l2 IPv6 Routing Table Headers Dest Destination Gw Gateway Pri Priority Codes K kernel I1 isis l1 SFN ...

Page 110: ... gei 1 1 0000 0000 0013 UP L2 25 00D0 D078 99D3 64 M R2 show isis ipv6 topology IS IS paths to Level 2 routers System id Metric Next Hop Interface SNPA 0000 0000 0012 0000 0000 0011 10 0000 0000 0011 gei 1 3 00D0 D078 99DD 0000 0000 0013 10 0000 0000 0013 gei 1 1 00D0 D078 99D3 0000 0000 0014 20 0000 0000 0013 gei 1 1 00D0 D078 99D3 R2 show isis circuits Process ID 0 IS IS interface database Inter...

Page 111: ...uter isis 0 area 02 system id 0000 0000 0013 metric style wide address family ipv6 multi topology interface gei 1 1 ipv6 router isis circuit type level 2 only interface gei 1 3 ipv6 router isis circuit type level 1 route_isis R3 show isis adjacency Interface System id State Lev Holds SNPA 802 2 Pri MT gei 1 3 0000 0000 0014 UP L1 25 00D0 D078 99D4 64 M gei 1 1 0000 0000 0012 UP L2 25 00D0 D078 99D...

Page 112: ... gei 1 1 115 fe80 2e 2d0 d0ff fe78 99d4 2003 64 I2 10 gei 1 1 115 fe80 2e 2d0 d0ff fe78 99d2 2400 64 I1 10 gei 1 1 115 fe80 2e 2d0 d0ff fe78 99d2 Check the configuration result on R4 as shown below R4 show running config isis route_isis router isis 0 area 02 system id 0000 0000 0014 is type level 1 metric style wide address family ipv6 multi topology redistribute connected metric 10 interface gei ...

Page 113: ...0000 0000 0013 10 0000 0000 0013 gei 1 3 00D0 1234 561F R4 ping6 2000 0 0 1 1 sending 5 100 byte ICMP echoes to 2000 0 0 1 1 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 56 93 102 ms 7 23 SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 114: ...ZXR10 ZSR V2 Configuration Guide IPv6 This page intentionally left blank 7 24 SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 115: ...ed functions such as BGP route reflection and BGP alliance as defined in RFC It has the following features l Supporting route aggregation l Employing TCP as the bottom layer protocol and using TCP port 179 to guarantee a reliable operation l Transmitting route updates only l Periodically sending the keep alives signal to guarantee normal TCP connections l Possessing complete metrics l Boasting of ...

Page 116: ...ring It is in the range of 1 32 The default value is 1 This is for IBGP route and ESGP route load sharing 3 ZXR10 config bgp af ipv6 bgp frr Configures the BGP FRR function Number of default backup routes 1 ZXR10 config interface interface name Enters interface configuration mode 4 ZXR10 config if interface name ip load sharing per destination per packet Configures load sharing mode on an interfac...

Page 117: ...a certain peer can be tracked and printed ZXR10 debug ip bgp events Tracks and displays the transition events of the state machine connected to BGP ZXR10 show debug bgp Displays debug command configuration information End of Steps 8 3 BGP4 Configuration Instances 8 3 1 Example Configuring a BGP4 Route Reflector Configuration Description In a network as shown in Figure 8 1 routers R1 R2 and R3 are ...

Page 118: ...nfig router bgp 200 R1 config bgp neighbor 3fe6 1 remote as 100 R1 config bgp neighbor 2010 126 remote as 200 R1 config bgp address family ipv6 R1 config bgp af ipv6 neighbor 3fe6 1 activate R1 config bgp af ipv6 neighbor 2010 126 activate R1 config bgp af ipv6 end Configuration on R2 R2 config router bgp 200 R2 config bgp neighbor 6e22 1 remote as 500 R2 config bgp neighbor 3331 100 remote as 200...

Page 119: ...each link As shown in Figure 8 2 load sharing is enabled for BGP4 if multiple links in the same area can reach the same neighbor node with the same link cost Figure 8 2 BGP4 Route Load Sharing Configuration Example Configuration Flow 1 On R1 and R2 enable IPv6 on each interface and configure IPv6 addresses Configure per packet load sharing default per flow load sharing On R2 configure the IPv6 add...

Page 120: ...ss 2000 2 64 R2 config if gei 2 1 exit R2 config interface gei 2 2 R2 config if gei 2 2 ipv6 enable R2 config if gei 2 2 ipv6 address 2001 2 64 R2 config if gei 2 2 exit R2 config interface loopback1 R2 config if loopback1 ipv6 enable R2 config if loopback1 ipv6 address 2000 0 0 1 2 64 R2 config if loopback1 exit R2 config router bgp 100 R2 config bgp neighbor 2000 1 remote as 100 R2 config bgp ne...

Page 121: ...5 encryption As shown in Figure 8 3 EBGP neighbors are established between R4 and R1 IBGP neighbors are established between R1 and R2 and multi hop EBGP neighbors are established between R2 and R5 R2 and R5 establish an EBGP multi hop relation through R3 Before BGP is configured it is necessary to ensure that the addresses used for neighbor establishment between the two routers can interwork with ...

Page 122: ...2003 2 activate R1 config bgp af ipv6 end Configuration on R2 R2 config router bgp 1 R2 config bgp neighbor 2003 1 remote as 1 R2 config bgp neighbor 2007 5 remote as 3 R2 config bgp neighbor 2007 5 ebgp multihop config ebgp multihop R2 config bgp neighbor 2007 5 password hello config password R2 config bgp address family ipv6 R2 config bgp af ipv6 neighbor 2003 1 activate R2 config bgp af ipv6 ne...

Page 123: ... 5 4 3 15 15 00 32 30 0 Run the show bgp ipv6 unicast command on R2 to check the routing table as shown below R2 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 2003 1 64 100 2 2004 2 64 2003 1 64 100 2 2004 3 64 2003 1 64 100 2 2004 4 64 2003 1 64 100 2 Run the show bgp ipv6 unicast sum...

Page 124: ... 2005 2 4 1 15 15 00 32 30 4 Run the show bgp ipv6 unicast command on R5 to check the routing table as shown below R5 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 2005 2 64 1 2 2004 2 64 2005 2 64 1 2 2004 3 64 2005 2 64 1 2 2004 4 64 2005 2 64 1 2 8 10 SJ 20140504150128 018 2014 05 1...

Page 125: ...nciples 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 Steps 1 In route map configuration mode configure the basic attributes of the ...

Page 126: ... route map match route type external type 1 type 2 internal level 1 level 2 local Matches the specified route type route map name Defines a meaningful name for the route map 1 to 31 characters in length permit deny permit If the match criterion is met for this route map and the permit keyword is specified the route is distributed based on the specified policy routing actions deny No policy routing...

Page 127: ...XR10 config route map set origin igp egp incomplete Sets the BGP origin code ZXR10 config route map set level level value Set the IS IS route attribute ZXR10 config route map set next hop ip address i p address Specifies the address of the next hop ZXR10 config route map set ipv6 metric metric value Sets a metric value for the IPv6 protocol ZXR10 config route map set ipv6 next hop ipv6 address Set...

Page 128: ...ess time is reached 3 Configure RIPng routing policy referencing Step Command Function 1 ZXR10 config ipv6 router rip Enters the RIPng configuration mode 2 ZXR10 config rip redistribute protocol p rocess id metric metric value route map route map name Redistributes RIPng routes protocol The protocol for which route redistribution is to be performed Options bgp connected isis ospf static aftr sf na...

Page 129: ...ZXR10 config ospfv3 id redistribute bgp route map route map name Redistributes BGP routes based on the specified route map 2 ZXR10 config ospfv3 id redistribute connected route map route map name Redistributes directly connected routes based on the specified route map 3 ZXR10 config ospfv3 id redistribute isis process id route map route map name Redistributes IS IS routes based on the specified ro...

Page 130: ...rtual Route and Forwarding VRF 2 ZXR10 config vrf name rd route distinguisher Configures a Route Distinguisher RD 3 ZXR10 config vrf name route target import export both extended community Creates a route target extended community attribute for a VRF 4 ZXR10 config vrf name address family ipv6 Activates the IPv6 VRF address family ZXR10 config vrf name af ipv6 import map route map name Configures ...

Page 131: ...outes to be redistributed The following shows an example of redistributing static routes Figure 9 1 An Example of Configuring a Routing Policy for Redistributing RIPng Routes Configuration Flow 1 Enable IPv6 and set IPv6 addresses on the corresponding interfaces of R1 and R2 2 Enable the RIPng protocol configuration on the interfaces 3 Redistribute other types of routes and create a redistribution...

Page 132: ...gei 2 2 ipv6 address 192 168 1 2 64 R2 config if gei 2 2 exit R2 config ipv6 router rip R2 config ripng interface gei 2 2 R2 config ripng if gei 2 2 ipv6 rip enable R2 config ripng if gei 2 2 end Configuration Verification Run the show command on R1 and R2 respectively to query the configuration of the RIP protocol route map and static routes RIP routing table and routing information The sample ou...

Page 133: ... nexthop fe80 221 1dff fe1d 1100 via gei 2 2 metric 11 tag 0 time 00 13 192 168 64 nexthop via gei 2 2 metric 1 tag 0 R2 show ipv6 protocol routing 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 O OSPF intra OI OSPF inter E1 OSPF ext 1 E2 OSPF ext 2 N ND B BGP IB IBGP EB EBGP AG BGP AGG V VRRP P PPP D6 DHCPv6 SFN Sta...

Page 134: ... R1 and R2 3 Create route map testisisv6 on R1 4 Configure route redistribution on R1 5 Apply a route map to static route redistribution Configuration Commands 1 Configure a neighbor relationship between R1 and R2 Configure IS ISv6 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 ...

Page 135: ...ig isis 44 af multi topology 2 Create route map testisisv6 on R1 R1 config route map testisisv6 permit 10 R1 config route map set ipv6 metric 10 R1 config route map exit 3 Configure static routes on R1 R1 config ipv6 route 1 2 3 64 192 168 1 2 4 Apply the route map to static route redistribution R1 config router isis 44 R1 config isis 44 address family ipv6 R1 config isis 44 af redistribute static...

Page 136: ... Destination Gw Gateway Pri Priority Codes K kernel I1 isis l1 SFN sf nat64 R ripng AF aftr B bgp D direct I2 isis l2 SLN sl nat64 O ospfv3 D6 dhcp P ppp S static N nd V vrrp A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 1 2 3 64 S 0 gei 1 2 1 192 168 1 2 On R2 check the IS ISv6 routing information that is advertised by R1 R2 config show ipv6 protocol routing isis IPv6 Ro...

Page 137: ...Configuration Flow 1 Enable IPv6 and set IPv6 addresses on the corresponding interfaces of R1 and R2 2 Create a neighbor relationship between R1 and R2 in OSPFv3 area 1 3 Create a route map on R1 4 Configure a static route on R1 5 Apply the route map to OSPFv3 route redistribution on R1 Configuration Commands 1 Create an OSPFv3 neighbor relationship by configuring the directly connected interfaces...

Page 138: ...pply the route map to OSPF route redistribution R1 config ipv6 router ospf 1026 R1 config ospfv3 1026 redistribute static route map ff R1 config ospfv3 1026 end Configuration Verification Log in to R1 and run the following commands to check the configuration static route and OSPF routes R1 show route map ff route map ff IP type IPv6 route map ff permit 10 match ipv6 metric 0 set ipv6 metric type t...

Page 139: ... 0 1 ADV Router Age Seq Link ID Rtr count 22 22 22 22 997 0x80000006 22 2 Intra Area Prefix Link States Area 0 0 0 1 ADV Router Age Seq Link ID Ref lstype Ref LSID 22 22 22 22 1248 0x80000004 2 0x2002 22 Link Type 8 Link States Area 0 0 0 1 ADV Router Age Seq Link ID Interface 11 11 11 11 1643 0x80000004 22 gei 1 2 22 22 22 22 1256 0x80000004 27 gei 1 2 Type 5 AS External Link States ADV Router Ag...

Page 140: ...v6 SFN Stateful NAT64 SLN Stateless NAT64 AF AFTR M Multicast FIB route selected route p stale info Time The time of last modified E1 1 2 3 64 110 51 via fe80 221 1dff fe1d 1100 gei 2 2 08h53m18s O 192 168 64 110 1 via gei 2 2 07h19m08s 9 1 2 4 Example Configuring a BGP4 Routing Policy Configuration Description An EBGP neighbor relationship is established between R1 and R2 and an IBGP neighbor rel...

Page 141: ...attribute of next hop For a BGP4 route map the specific attributes are as follows l set community list dampening local preference origin as path and next hop l Match as path and community list Configuration Commands 1 Create an EBGP neighbor relationship by configuring the directly connected interfaces between R1 R2 and R3 Configuration on R1 R1 config interface gei 1 3 R1 config if gei 1 3 no shu...

Page 142: ...ress 2 3 3 64 R3 config if gei 5 3 exit R3 config router bgp 200 R3 config bgp neighbor 2 3 2 remote as 200 R3 config bgp address family ipv6 R3 config bgp af ipv6 neighbor 2 3 2 activate R3 config bgp af ipv6 exit R3 config bgp exit 2 Run the following commands to advertise five BGP routes from R1 to R2 R1 config router bgp 1011 R1 config bgp address family ipv6 R1 config bgp af ipv6 network 4 4 ...

Page 143: ...te map exit 4 Apply route map test1 to the in direction of R2 s interface connecting to R1 and apply route map test2 to the out direction of R2 s interface connecting to R3 R2 config router bgp 200 R2 config bgp address family ipv6 R2 config bgp af ipv6 neighbor 1 2 1 route map test1 in R2 config bgp af ipv6 neighbor 2 3 3 route map test2 out R2 config bgp af ipv6 exit Configuration Verification A...

Page 144: ...about the two BGP routes is as follows R2 show bgp ipv6 unicast detail 4 4 64 BGP routing table entry for 4 4 64 08 50 07 received from 1 2 1 11 1 1 1 origin i global nexthop 1 2 1 link local nexthop FE80 220 23FF FE1D E0E localpref 30000 rtpref 20 as path 1011 as4 path R2 show bgp ipv6 unicast detail 7 7 64 BGP routing table entry for 7 7 64 08 50 07 received from 1 2 1 11 1 1 1 origin i global n...

Page 145: ... Configure the basic L3VPN networking environment CE1 PE1 PE2 CE2 enable IPv6 and set IPv6 addresses on the corresponding interfaces of the routers 2 Configure the protocol and make sure that the private routing tables on two PEs contain all planned routes 3 Create a route map on PE1 and define the characteristics of the routes for which policy routing is performed that is defining a group of matc...

Page 146: ...ble PE1 config if gei 1 2 ipv6 address 1001 20 1 120 PE1 config if gei 1 2 exit PE1 config router ospf 1 PE1 config ospf 1 network 10 0 0 0 0 255 255 255 area 0 0 0 0 PE1 config ospf 1 exit PE1 config ipv6 router ospf 1 vrf test1 PE1 config ospfv3 1 router id 10 10 1 1 PE1 config ospfv3 1 interface gei 1 2 area 0 0 0 0 PE1 config ospfv3 if gei 1 2 exit PE1 config ospfv3 1 redistribute bgp PE1 conf...

Page 147: ... gei 1 6 ip address 10 10 12 2 255 255 255 0 PE2 config if gei 1 6 exit PE2 config mpls ldp instance 1 PE2 config ldp 1 router id loopback1 PE2 config ldp 1 interface gei 1 6 PE2 config ldp 1 if gei 1 6 exit PE2 config ldp 1 exit PE2 config interface gei 1 7 PE2 config if gei 1 7 no shutdown PE2 config if gei 1 7 exit PE2 config interface gei 1 7 10 PE2 config if gei 1 7 10 exit PE2 config vlan co...

Page 148: ...ate PE2 config bgp af vpnv6 exit PE2 config bgp vpnv6 exit 2 Check the VRF routes on PE1 and PE2 The sample output on PE1 is as follows 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 O OSPF intra OI OSPF inter E1 OSPF ext 1 E2 OSPF ext 2 N ND B BGP IB IBGP EB EBGP AG...

Page 149: ...n PE1 and apply it to VRF Create route map test1 for restricting exporting routes PE1 config ipv6 access list test1 PE1 config ipv6 acl rule 1 permit ipv6 1001 20 0 120 any PE1 config ipv6 acl exit PE1 config route map test1 PE1 config route map match ipv6 address test1 PE1 config route map exit Create route map test2 for restricting importing routes PE1 config ipv6 access list test2 PE1 config ip...

Page 150: ...oopback1 IPv6 mpls 21h23m00s Run the following command on PE2 PE2 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 O OSPF intra OI OSPF inter E1 OSPF ext 1 E2 OSPF ext 2 N ND B BGP IB IBGP EB EBGP AG BGP AGG V VRRP P PPP D6 DHCPv6 SFN Stateful NAT64 SLN Stateless NAT64 AF ...

Page 151: ...y vpnv6 neighbor 10 10 3 3 activate route bgp PE1 show running config vrf vrf ip vrf test1 rd 100 1 address family ipv6 route target import 100 1 route target export 100 1 import map test2 export map test1 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...

Page 152: ...N Stateless NAT64 AF AFTR Time The time of last modified IB 22 64 200 0 via ffff 10 10 3 3 loopback1 IPv6 mpls 09h03m49s D 33 64 via loopback33 07h10m49s A 33 33 128 via loopback33 07h10m49s D 1001 20 0 120 via loopback44 08h47m18s A 1001 20 2 128 via loopback44 08h47m18s IB 2002 20 0 120 200 0 via ffff 10 10 3 3 loopback1 IPv6 mpls 08h33m41s After the VRF routing policy is enabled the routing tab...

Page 153: ... on PE2 is as follows PE2 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 O OSPF intra OI OSPF inter E1 OSPF ext 1 E2 OSPF ext 2 N ND 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 D 22...

Page 154: ...any condition defined in route map test1 The mismatched routes have been filtered out IB 33 64 200 0 via ffff 10 10 1 1 loopback1 IPv6 mpls 08h33m39s 9 2 IPv6 Policy Route Configuration 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 Configu...

Page 155: ...es of the users whose IP addresses belong to the subnet 10 1 24 whereas the ISP2 egress should be selected for the services of the users whose IP addresses belong to the subnet 11 1 24 Figure 9 6 IPv6 Policy Route Configuration Example Configuration Flow 1 Enable IPv6 and configure the interface addresses on the ZXR10 2 Create an ACL to control traffic 3 Create a route map associate it with the AC...

Page 156: ... interface gei 1 1 Interface interface gei 1 2 no shutdown description To User2 ipv6 enable ipv6 address 20 2 64 Interface ZXR10 config interface gei 2 1 ZXR10 config if gei 2 1 no shutdown ZXR10 config if gei 2 1 description To ISP1 ZXR10 config if gei 2 1 ipv6 enable ZXR10 config if gei 2 1 ipv6 address 100 2 64 ZXR10 config if gei 2 1 exit ZXR10 config show running config interface gei 2 1 Inte...

Page 157: ...ss list 1 1 1 showed total 1 permit ipv6 10 1 64 any ZXR10 config ipv6 access list 2 ZXR10 config ipv6 acl rule 1 permit ipv6 20 1 64 any ZXR10 config ipv6 acl exit ZXR10 config show ipv6 access lists name 2 ipv6 access list 2 1 1 showed total 1 permit ipv6 20 1 64 any Configure the route map information with the sequence numbers being 10 and 20 ZXR10 config route map v6 pbr permit 10 ZXR10 config...

Page 158: ...egress is selected for the services of the users of the subnet 11 1 24 l When the ISP1 egress is normal but the ISP2 egress is abnormal the ISP1 egress is selected for the services of the users of both subnets and then the default route is used for the services of the users of the subnet 11 1 24 l When the ISP1 egress is abnormal but the ISP2 egress is normal the services of the users of the subne...

Page 159: ... IPv6 Route Map Policy Configuration ipv6 policy interface gei 1 1 route map v6 pbr ipv6 policy interface gei 1 2 route map v6 pbr pbr 9 35 SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 160: ...ZXR10 ZSR V2 Configuration Guide IPv6 This page intentionally left blank 9 36 SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 161: ...nd multicast path establishment of IPv6 are similar to those of IPv4 Multicast Address Introduction An IPv6 address is of 128 bit long divided by colons into eight bytes with four hex numbers in each byte such as FEDC BA98 7654 3210 FEDC BA98 7654 3210 An IPv6 multicast address identifies a group of interfaces that belong to different nodes A node can belong to 0 or several multicast groups A pack...

Page 162: ...Multicast Listener Discovery MLD MLD Snooping IPv6 Protocol Independent Multicast PIM and IPv6 MBGP 1 Multicast routing group management protocol MLD originates from the Internet Group Management Protocol IGMP MLDv1 corresponds to IGMPv2 and Multicast Listener Discovery Version 2 MLDv2 corresponds to IGMPv3 Different from IGMP which uses message type of IP protocol number 2 MLD uses message type o...

Page 163: ... Rendezvous Point RP mechanism The device can obtain the RP addresses in other IPv6 PIM domains through the IPv6 multicast addresses with embedded RP addresses and initiate joins to the RPs in other domains To deliver inter domain IPv6 multicast routing information IPv6 MBGP can be used which is similar to IPv4 MBGP 10 2 Configuring Public IP Multicast This procedure describes how to configure pub...

Page 164: ... based on source address and multicast address is used ZXR10 config mcast ipv6 multipath s g hash next hop based Enables load sharing The Hash algorithm based on next hop is used 5 Verify the configurations Command Function ZXR10 show ipv6 mroute group group address source source address Displays the content of the IPv6 multicast routing table ZXR10 show ipv6 mroute summary Displays the number of ...

Page 165: ...es serve the following two purposes in accordance with different application environments l Changing RPF routes In general multicast has the same network topology architecture with unicast Multicast data is transmitted through the same path as the unicast data A static multicast route can be configured for changing an RPF route so that a transmission path different from that of unicast data is cre...

Page 166: ...nfig mcast ipv6 ipv6 multicast static li mit xg xg limit sg sg limit Configures the maximum number of static multicast route entries 3 ZXR10 config mcast ipv6 ipv6 multicast st atic route source address group address iif iif name oif oif index Configures the number of static multicast route entries 4 ZXR10 config mcast ipv6 ipv6 multicast static in terface index index interface interface name Conf...

Page 167: ...dress ff88 1 is configured so that multicast traffic can be forwarded Figure 11 1 Networking Diagram of the IPv6 Static Multicast Configuration Example Configuration Flow 1 Configure IP addresses of interfaces 2 Enter multicast mode 3 Start static multicast 4 Configure the maximum entries numbers of static multicast G and S G separately 5 Configure the outgoing interface list of static multicast 6...

Page 168: ...erface gei 3 7 R1 config show ipv6 multicast static route The Capability of Static Multicast6 Route g 1024 s g 1024 1 1 ff88 1 Incoming interface gei 3 6 A Outgoing interface list gei 3 7 F R1 config 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 1 1 ff88 1 TYPE STATIC FLAGS Incoming interface gei 3 6 flags ...

Page 169: ...e and group member report message l The multicast router sends group member query messages to all hosts periodically to determine the group members on the interconnected subnets l Each host replies with a member report message to report the multicast group which it belongs to When a host joins a new group it sends a join message immediately instead of waiting for a query in case it is the first me...

Page 170: ...an be configured on different interfaces of the same device Step Command Function 1 ZXR10 config mcast ipv6 router mld Enters MLD configuration mode 2 ZXR10 config mcast ipv6 mld version 1 2 Configures the protocol version number in the MLD instance 3 ZXR10 config mcast ipv6 mld interface interface name Enters MLD interface configuration mode 4 ZXR10 config mcast ipv6 mld if interface name version...

Page 171: ...ault 2 Interface mode takes precedence 6 Configure the MLD group function Step Command Function 1 ZXR10 config ipv6 multicast routing Enters multicast configuration mode 2 ZXR10 config mcast ipv6 router mld Enters MLD configuration mode 3 ZXR10 config mcast ipv6 mld interface interface name Enters MLD interface configuration mode 4 ZXR10 config mcast ipv6 mld if interface name access group access ...

Page 172: ...iving the query message a member host in the segment will subtract a random value on the basis of the maximum response time It uses the result as its response time If the querier receives a report message from another member host during this period the host cancels to send a report message If the querier does not receive any report message from any other member hosts when the period expires the me...

Page 173: ...querier in instance mode Range 60 300 unit second 3 ZXR10 config mcast ipv6 mld if interface name querier timeout seconds Configures the time out duration of the MLD querier in interface mode which takes precedence Range 60 300 unit second ZXR10 config mcast ipv6 mld last member query in terval seconds Configures the interval of the MLD special group query in instance mode Range 1 25 default 1 uni...

Page 174: ...d End of Steps 12 3 MLD Configuration Instances 12 3 1 Example Configurating MLD Querier Router Election Configuration Description As shown in Figure 12 1 PIM SM is enabled on R1 and R2 The MLD version is v1 MLDv1 elects a querier through common query messages The MLDv1 router with the smallest link local address is elected as the querier Figure 12 1 MLDv1 Configuration Example Configuration Flow ...

Page 175: ... exit R2 config ipv6 multicast routing R2 config mcast ipv6 router pim R2 config mcast ipv6 pim interface gei 2 1 R2 config mcast ipv6 pim if gei 2 1 pimsm R2 config mcast ipv6 pim if gei 2 1 end Configuration Verification Check the validity of the configuration on R1 R1 show ipv6 mld interface gei 1 1 gei 1 1 Internet address is fe80 1 MLD is enabled on interface Current MLD version is 2 MLD quer...

Page 176: ...gure it to join a dynamic group ffee 2 through a PC Figure 12 2 Example for Configuring a Router to Join a Static MLD Group and a Dynamic MLD Group Configuration Flow 1 Configure addresses on the interfaces of the routers in interface configuration mode 2 Enable the multicast function by configuring the ipv6 multicast routing command 3 Enter PIM route mode and then enter the interfaces 4 Enable PI...

Page 177: ...l is 125 seconds MLD last member query interval is 1 seconds MLD query max response time is 10 seconds MLD querier timeout period is 255 seconds MLD robustness variable is 2 MLD querier is fe80 2d0 d0ff fe06 606 never expire Inbound MLD access group is not set MLD immediate leave control is not set Check the detailed information about the corresponding interface group on R1 R1 show ipv6 mld groups...

Page 178: ...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 ZTE Proprietary and Confidential ...

Page 179: ...in the network l PIM DM will cut the branches with no forwarded multicast data and save only the branches with a receiver The diffuse cut branches operation takes place periodically and the cut branches recover to forwarding status periodically l When the cut branches have a member that exists in the multicast group this node sends messages to the upper stream actively In this case this node chang...

Page 180: ...Traces all debugging information about the messages received by IPv6 PIM ZXR10 debug ipv6 pim packet send Traces all debugging information about the messages sent by IPv6 PIM ZXR10 debug ipv6 pim packet recv Traces all debugging information about protocol messages received by IPv6 PIM ZXR10 debug ipv6 pim mrt Traces all debugging information about IPv6 PIM route ZXR10 debug ipv6 pim ast Traces all...

Page 181: ...xit R1 config interface gei 0 7 R1 config if gei 0 7 ipv6 enable R1 config if gei 0 7 ipv6 address 198 1 64 R1 config if gei 0 7 no shutdown R1 config if gei 0 7 exit R1 config ipv6 multicast routing R1 config mcast ipv6 router pim R1 config mcast ipv6 pim interface gei 0 9 R1 config mcast ipv6 pim if gei 0 9 pimdm R1 config mcast ipv6 pim if gei 0 9 exit R1 config mcast ipv6 pim interface gei 0 7...

Page 182: ...tatus R1 config show ipv6 pim neighbor Neighbor Address Interface Uptime Expires DR Pri fe80 2d0 d0ff fe06 600 gei 0 9 00 09 12 00 00 26 1 Run the show ipv6 pim interface command on R1 to check the interface status R1 config show ipv6 pim interface Interface State Nbr Hello DR PIM Silent Mode Count Period Priority gei 0 7 Up 0 30 1 Disabled D Address fe80 2d0 d0ff fe06 606 DR fe80 2d0 d0ff fe06 60...

Page 183: ...Upstream State 198 2 ff88 1 00 07 20 00 00 00 JOINED 00 03 25 Reg NO INFO RP 0 0 RT NULL Ind 0 Exd 0 Jns 1 LAst 0 Imo 1 Ino 1 Iif gei 0 7 RPF nbr 0 0 S AT RPF nbr 0 0 D 00 00 00 FORWARD Oif gei 0 9 JoinsSG InoSG DenseOlist 13 5 SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 184: ...ZXR10 ZSR V2 Configuration Guide IPv6 This page intentionally left blank 13 6 SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 185: ... center point that is responsible for sending packets to all the source sending ends in the multicast group Each source sending end sends packets to the center point along the shortest path and then takes the center point as the root point to distribute the packets to various receiving ends of the group The group center point of the PIM SM is called the RP There may be several RPs in a network but...

Page 186: ...ne message are in the same packet Either message can be null l Bootstrap message A route needs to send Bootstrap messages on all interfaces except the interface on which the Bootstrap message is received This message is generated on the BSR and forwarded by all routers l Assert message When there are several routers on a multi access network and a multicast group packet is received on an egress in...

Page 187: ... This procedure describes how to configure PIM SM including basic information global parameters and policy control function Steps 1 Enable and configure the IPv6 PIM SM protocol Step Command Function 1 ZXR10 config mcast ipv6 router pim Enables IPv6 PIM 2 ZXR10 config mcast ipv6 pim interface interface name 3 ZXR10 config mcast ipv6 pim if interface name pimsm After IPv6 PIM SM is enabled on an in...

Page 188: ...e BSR have the same highest priority the one with the largest IP address becomes the formal BSR 4 Configure candidate RP Command Function ZXR10 config mcast ipv6 pim rp candidate ipv6 address group list prefix list name priority priority Configures a candidate RP prefix list name Group range in which the RP provides services priority Candidate RP priority range 0 to 255 default 0 In PIM SM an RP i...

Page 189: ...ins when the RP receives the first Register message For the last hop DR the policy of SPT handover can be configured by using a single multicast group as the control granularity If the handover threshold of a group is set to infinity handover will not be performed By default as long as there is traffic a handover is performed A DR must be elected in a shared or multi access segment The candidate D...

Page 190: ...outer pim ZXR10 config mcast ipv6 pim interface gei 1 1 ZXR10 config mcast ipv6 pim if gei 1 1 hello interval 25 ZXR10 config mcast ipv6 pim if gei 1 1 exit 6 Configure IPv6 PIM SM control policy Step Command Function 1 ZXR10 config mcast ipv6 pim accept register access list name Filters the multicast packets encapsulated in Register messages 2 ZXR10 config mcast ipv6 pim accept rp access list nam...

Page 191: ...affic statistical information about the IPv6 PIM protocol End of Steps 14 3 IPv6 PIM SM Configuration Example Configuration Description As shown in Figure 14 1 an MLD group connects to R2 and a multicast source connects to R1 It is required to configure BSR neighbors and CRP Figure 14 1 PIM SM Configuration Example Configuration Flow 1 Configure addresses of related interfaces 2 Enter multicast co...

Page 192: ...im if gei 0 7 dr priority 20 R1 config ipv6 route 100 1 128 199 2 Configuration on R2 R2 config interface gei 0 8 R2 config if gei 0 8 ipv6 enable R2 config if gei 0 8 ipv6 address 199 2 64 R2 config if gei 0 8 no shutdown R2 config if gei 0 8 exit R2 config interface gei 0 7 R2 config if gei 0 7 ipv6 enable R2 config if gei 0 7 ipv6 address 200 1 64 R2 config if gei 0 7 no shutdown R2 config if g...

Page 193: ...606 Execute the show ipv6 pim neighbor command on R1 to check the neighbor state as shown below R1 config show ipv6 pim neighbor Neighbor Address es Interface Uptime Expires DR Pri fe80 211 12ff fe51 ea12 gei 0 9 01 02 30 00 01 19 1 Execute the show ipv6 pim bsr command on R1 to check the BSR state as shown below R1 config show ipv6 pim bsr BSR address 100 1 Uptime 00 17 48 BSR Priority 0 Hash mas...

Page 194: ...ZXR10 ZSR V2 Configuration Guide IPv6 This page intentionally left blank 14 10 SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 195: ...up address allocated for PIM SSM is FF3X 32 The routers do not construct a shared tree for this group address After a host sends a Join message from a specific source to a group the last hop router sends a S G Join message to the direction of the source to construct a SPT The last hop router does not send a G Join message to the direction of RP Once the SPT is constructed the first hop router forw...

Page 196: ...face addresses on gei 1 1 and gei 1 2 of R1 2 Enable the IP multicast function with the ipv6 multicast routing command 3 Enter IPv6 PIM route configuration mode to configure the address range of SSM group 4 Enter the interfaces gei 1 1 and gei 1 2 to enable PIM SM 5 Enter MLD route configuration mode and then enter the interfaces to enable MLDv2 6 Send dynamic group Join messages to specific sourc...

Page 197: ...tion Check the configuration information on R1 as shown below R1 show running config multicast6 ipv6 multicast ipv6 multicast routing router pim ssm range default interface gei 1 2 pimsm interface gei 1 1 pimsm router mld interface gei 1 1 interface gei 1 2 ipv6 multicast 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...

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 ...

Page 199: ...ader in the front of the IPv6 data packet and then transfer the IPv6 packet through a tunnel so that the IPv6 packet traverses the IPv4 network to implement the interworking between two isolated IPv6 networks as shown in Figure 16 1 Figure 16 1 Principles of the IPv6 over IPv4 Tunnel Mechanism An IPv6 over IPv4 tunnel can be established between two hosts between a host and a router or between two ...

Page 200: ...he protocol encapsulates an IPv4 or IPv6 data packet so that the encapsulated data packet can be transmitted in another IPv6 network The data packet after the encapsulation is an IPv6 tunnel packet as shown in Figure 16 2 Figure 16 2 Principles of the IPv4 or IPv6 over IPv4 Tunnel In Figure 16 2 Original data refers to the IPv4 or IPv6 packet A DS list tunnel enables IPv4 users to access IPv4 Inte...

Page 201: ...gure 16 4 Principles of a 6to4 Tunnel A 6to4 tunnel is a point to multipoint auto tunnel used to connect multiple isolated IPv6 sites through an IPv4 network to an IPv6 network It makes possible the automatic acquisition of the IPv4 address at the termination point of the tunnel by embedding an IPv4 address in the destination address of an IPv6 packet The 6to4 tunnel assumes a special 6to4 address...

Page 202: ...ess for further handling 4in6 Tunnel Figure 16 5 shows the operating principles of a 4in6 tunnel Figure 16 5 Principles of a 4in6 Tunnel The 4in6 tunnel involves a tunnel encapsulation and decapsulation process l Encapsulation If the packet egress interface is a tunnel interface when a host or router sends an IPv4 flow the host or router first determines the tunnel type If the tunnel is a 4in6 tun...

Page 203: ...ain up to 32 characters 2 Configure a 6in4 tunnel Step Command Function 1 ZXR10 config ipv6 tunnel if v6_tunnel tunnel mode ipv6ip 6in4 Sets the current tunnel mode to 6in4 2 ZXR10 config ipv6 tunnel if v6_tunnel tunnel source ipv4 src address Specifies the source address of the tunnel in IPv4 address format 3 ZXR10 config ipv6 tunnel if v6_tunnel tunnel destination ipv4 dst address Specifies the ...

Page 204: ...n IPv6 tunnels Command Function ZXR10 debug ipv6 tunnel Turns on the IPv6 tunnel debugging switch to check relevant encapsulation and decapsulation information ZXR10 show debug ipv6 tunnel Checks whether the IPv6 tunnel debugging switch has been turned on End of Steps 16 1 3 IPv6 Tunnel Configuration Examples 16 1 3 1 Example Configuring a 6in4 Tunnel Configuration Description As shown in Figure 1...

Page 205: ...s 3172 27 64 R1 config if v6_tunnel3 exit R1 config ipv6 tunnel config R1 config ipv6 tunnel interface v6_tunnel3 R1 config ipv6 tunnel if v6_tunnel3 tunnel mode ipv6ip 6in4 R1 config ipv6 tunnel if v6_tunnel3 tunnel destination ipv4 33 1 1 28 R1 config ipv6 tunnel if v6_tunnel3 tunnel source ipv4 33 1 1 27 R1 config ipv6 tunnel if v6_tunnel3 exit R1 config ipv6 tunnel exit R1 config interface gei...

Page 206: ...xit Configuration Verification Check the tunnel configurations on R1 and verify that the configurations have taken effect R1 config show running config interface v6_tunnel3 INTERFACE interface v6_tunnel3 ipv6 enable ipv6 address 3172 27 64 INTERFACE ipv6_TUNNEL ipv6 tunnel config interface v6_tunnel3 tunnel mode ipv6ip 6in4 tunnel source ipv4 33 1 1 27 tunnel destination ipv4 33 1 1 28 ipv6_TUNNEL...

Page 207: ...l or other routing protocols 1 Create a 4in6 tunnel and configure IPv4 addresses 2 Enter the tunnel configuration mode from the global mode and then enter the 4in6 tunnel interface to be configured 3 Configure the tunnel mode the source address and the destination address Configuration Commands Configuration on R1 R1 config interface v6_tunnel2 R1 config if v6_tunnel2 ip address 27 0 1 1 255 255 0...

Page 208: ... config ipv6 tunnel if v6_tunnel2 tunnel source ipv6 2078 28 R2 config ipv6 tunnel if v6_tunnel2 exit R2 config ipv6 tunnel exit R2 config interface gei 3 4 R2 config if gei 3 4 no shutdown R2 config if gei 3 4 ipv6 address 2078 28 64 R2 config if gei 3 4 ipv6 enable R2 config if gei 3 4 exit R2 config interface gei 3 3 R2 config if gei 3 3 no shutdown R2 config if gei 3 3 ip address 191 15 1 1 25...

Page 209: ...source end of the tunnel is bound with the IPv4 address of the local router and no destination address is required The tunnel address must assume a 2002 16 prefix 1 Create a 6to4 tunnel configure IPv6 addresses and enable IPv6 The first 48 bits of the tunnel address and the 6to4 sites are of a fixed format and generated according to the source IPv4 address of the tunnel Convert the x x x x of the ...

Page 210: ... shutdown R2 config if gei 3 4 ip address 1 1 1 2 255 255 255 0 R2 config if gei 3 4 exit R2 config interface v6_tunnel2 R2 config if v6_tunnel2 ipv6 address 2002 0101 0102 1 1 64 R2 config if v6_tunnel2 ipv6 enable R2 config if v6_tunnel2 exit R2 config ipv6 tunnel config R2 config ipv6 tunnel interface v6_tunnel2 R2 config ipv6 tunnel if v6_tunnel2 tunnel mode ipv6ip 6to4 R2 config ipv6 tunnel i...

Page 211: ...o transmit IPv6 packets ISATAP tunnels are mainly used to establish connections between IPv6 routers and between IPv6 hosts and IPv6 routers on the IPv4 network ISATAP Tunnel Work Flow ISATAP encapsulation and decapsulation are described below l Encapsulation principle When an IPv6 is sent the egress is an tunnel interface The tunnel type is determined according to packet call back on the interfac...

Page 212: ...l tunnel_no Creates an IPv6 tunnel interface 2 ZXR10 config if v6_tunnel ipv6 enable Enables IPv6 3 ZXR10 config if v6_tunnel ipv6 address addrprefix prefix len eui 64 Configures an eui 64 address on an interface for an ISATAP tunnel 4 ZXR10 config ipv6 tunnel config Enters IPv6 tunnel configuration mode 5 ZXR10 config v6_tunnel interface byname interface byname interface name Enters IPv6 tunnel i...

Page 213: ...IPv6 address prefix and prefix length 2 Maintain the ISATAP tunnel Command Function ZXR10 debug ipv6 tunnel Enables IPv6 tunnel debugging function to show the information related to encapsulation and decapsulation ZXR10 show debug ipv6 tunnel Displays whether the IPv6 tunnel debugging function is enabled End of Steps 16 2 3 ISATAP Configuration Example Configuration Description As shown in Figure ...

Page 214: ...nel2 R1 config if v6_tunnel2 ipv6 add 82 64 eui 64 R1 config if v6_tunnel2 ipv6 enable R1 config if v6_tunnel2 exit R1 config ipv6 tunnel config R1 config ipv6 tunnel interface v6_tunnel2 R1 config ipv6 tunnel if v6_tunnel2 tunnel mode ipv6ip isatap R1 config ipv6 tunnel if v6_tunnel2 tunnel source ipv4 1 1 1 1 R1 config ipv6 tunnel if v6_tunnel2 exit R1 config ipv6 tunnel exit R1 config ipv6 rout...

Page 215: ...terface ipv6 tunnel ipv6 tunnel config interface v6_tunnel2 tunnel mode ipv6ip isatap tunnel source ipv4 1 1 1 1 ipv6 tunnel ipv6 static ipv6 route 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...

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: ...lowing stateless operation of 6rd A 6rd domain consists of 6rd Customer Edge CE routers and one or more 6rd Border Relays BRs IPv6 packets encapsulated by 6rd follow the IPv4 routing topology within the SP network among CEs and BRs 6rd BRs are traversed only for IPv6 packets that are destined to or are arriving from outside the SP s 6rd domain As 6rd is stateless BRs may be reached using anycast f...

Page 218: ...l Unicast Address l Private address aggregation As shown in Figure 17 3 a private address differs from a global IPv4 unicast address in that à It reduces the number of bits for an IPv6 prefix à Domain ID overlays the private IPv4 space à The IPv6 prefix is fixed in format Figure 17 3 Private Address Aggregation 6rd Address Selection The CE 6rd configuration can be performed manually which may be r...

Page 219: ...8 0a0a 100 0 0202 0202 CPE1 determines that the next hop is the tunnel based on the IPv6 route 0 tunnel1 via 2001 db8 0 100 2 The IPv6 destination address indicates that this IPv6 message is addressed to the same domain CPE1 then encapsulates the message into a tunnel with the carried IPv4 address being the destination address 3 Search the route and forward the message to CPE2 CPE2 works as follow...

Page 220: ...ulated is that of BR and the source address to be encapsulated is that configured for the tunnel Perform a 6in4 encapsulation 3 Search the route and forward the message to BR BR works as follows 1 Check whether there is a 6rd label on the IPv4 route 2 If the 6rd label is found decapsulate the message 3 Forward the message to 200 1 l Forwarding a message to a 6rd domain Upon receipt of a message fr...

Page 221: ...ess 3 Search the route and forward the message CEP1 works as follows 1 Check whether there is a 6rd label on the IPv4 route 2 If a 6rd label is found perform a decapsulation 3 Forward the message to 2001 db8 0 100 64 17 2 Configuring 6RD Tunnels This procedure describes how to configure 6RD tunnels Steps 1 Configure a 6RD tunnel Step Command Description 1 ZXR10 config interface v6_tunnel tunnel_no...

Page 222: ...he IPv4 prefix of the 6RD tunnel Length range 0 32 tunnel_no serial number of the tunnel Up to 3000 tunnels can be created ipv6 address mask IPv6 prefix of the 6RD tunnel length range 0 128 lenth Length of the IPv4 mask code of the 6RD tunnel range 0 32 2 Maintain the 6RD tunnel Command Description ZXR10 debug ipv6 tunnel Enables the debug feature for the specified IPv6 tunnel ZXR10 show debug ipv...

Page 223: ... interface gei 1 1 R1 config if gei 1 1 ip address 1 0 0 2 255 255 255 0 R1 config if gei 1 1 no shutdown R1 config if gei 1 1 exit R1 config interface gei 1 2 R1 config if gei 1 2 ip address 10 0 0 1 255 255 255 0 R1 config if gei 1 2 no shutdown R1 config if gei 1 2 exit 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 con...

Page 224: ...l if v6_tunnel1 exit R2 config ipv6 tunnel exit The configuration of a v4 route to address 10 0 0 2 on device CPE2 is omitted Configuration Verification Run the debug ipv6 tunnel command and run the ping6 command on R1 The sample output is as follows R2 ping6 3000 0 a00 2 1 sending 5 100 byte ICMP echo es to 3000 0 A00 2 0 0 0 1 timeout is 2 second s R2 MPFU 12 0 2012 10 25 15 54 19 v6_tunnel1 Ipv...

Page 225: ...ol to transmit IPv6 routes over the backbone network l The MPLS label is assigned to the IPv6 routes by the PE routers and transparently transmitted between the PE routers l A two layer MPLS label stack is used to transmit IPv6 packets over the MPLS IPv4 backbone network The labels are classified into the LDP labels in the first layer for the egress PE routers and the PE IPv6 labels in the second ...

Page 226: ...erify the configurations Command Description ZXR10 config show bgp ipv6 unicast neighbor ipv4 address Displays the detailed information about the IPv6 neighbor ZXR10 config show bgp ipv6 unicast labels Displays the label information relating to BGP IPv6 routes End of Steps 18 3 6PE Configuration Example Configuration Description As shown in Figure 18 2 PE1 and PE2 are configured with 6PE PE1 and P...

Page 227: ...redistribute the direct IPv6 route 5 Check the configuration results and verify the following LDP OSPF and BGP neighbors have been correctly established on the two routers routes with IPv6 labels can be seen on each router and routes are generated Command Commands Configuration on PE1 PE1 config interface loopback1 PE1 config if loopback1 ip address 1 1 1 1 255 255 255 255 PE1 config if loopback1 ...

Page 228: ...amily ipv6 PE1 config bgp af ipv6 redistribute connected PE1 config bgp af ipv6 neighbor 2 2 2 2 activate PE1 config bgp af ipv6 neighbor 2 2 2 2 send label PE1 config bgp af ipv6 network 2255 64 PE1 config bgp af ipv6 redistribute connected PE1 config bgp af ipv6 exit Configuration on PE2 PE2 config interface loopback1 PE2 config if loopback1 ip address 2 2 2 2 255 255 255 255 PE2 config if loopb...

Page 229: ...1 1 1 1 activate PE2 config bgp neighbor 1 1 1 1 update source loopback1 PE2 config bgp address family ipv6 PE2 config bgp af ipv6 neighbor 1 1 1 1 activate PE2 config bgp af ipv6 neighbor 1 1 1 1 send label PE2 config bgp af ipv6 network 2352 64 PE2 config bgp af ipv6 redistribute connected PE2 config bgp af ipv6 end Configuration Verification Run the commands show running config ospf and show ru...

Page 230: ...e State is FULL it indicates that the neighbor has been established as shown below PE1 show ip ospf neighbor OSPF Router with ID 1 1 1 1 Process ID 1 Neighbor ID Pri State DeadTime Address Interface 2 2 2 2 1 FULL DR 00 00 35 56 41 10 10 gei 3 9 Verify that the OSPF neighbor has advertised the loopback1 route as shown below PE1 show ip forwarding route ospf IPv4 Routing Table Headers Dest Destinat...

Page 231: ... D6 dhcp P ppp S static N nd V vrrp A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 2352 64 B 0 gei 3 9 200 ffff 2 2 2 2 2355 64 B 0 gei 3 9 200 ffff 2 2 2 2 Check the labels of the IPv6 routes PE1 show bgp ipv6 unicast labels Network Next Hop In Label Out Label 2255 64 2255 66 212997 notag 2352 64 ffff 2 2 2 2 213031 212998 2355 64 ffff 2 2 2 2 213024 212999 3555 64 3555 5...

Page 232: ...mily vpnv6 address family route target route bgp PE2 show ip ospf neighbor OSPF Router with ID 56 41 41 10 Process ID 1 Neighbor ID Pri State DeadTime Address Interface 1 1 1 1 1 FULL BDR 00 00 35 56 41 10 11 gei 1 1 PE2 show ip forwarding route ospf IPv4 Routing Table Dest Gw Interface Owner Pri Metric 1 1 1 1 32 56 41 10 11 gei 1 1 o 110 2 PE2 show ip bgp summary Neighbor Ver As MsgRcvd MsgSend ...

Page 233: ...A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 2255 64 B 0 gei 1 1 200 ffff 2 2 2 2 3555 64 B 0 gei 1 1 200 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 Proprietar...

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: ...ity information It is necessary to configure IPv4 IPv6 Virtual Route Forwarding VRF 4 6VPE routers obtain route reachability information from Customer Edge CE routers on IPv4 IPv6 sites 5 6VPE routers distribute labels for route reachability information and advertise the reachability information for address prefixes in VPNs through the extended attributes of MP BGP If the user network that 6VPE ro...

Page 236: ...me Creates a VPN instance 2 ZXR10 config vrf vrf name rd route distinguisher Defines an RD for VRF There are three formats 0 65535 0 4294967295 1 65535 0 65535 0 65535 and A B C D 0 65535 3 ZXR10 config vrf vrf name address family ipv6 Activates IPv6 address family 4 ZXR10 config vrf vrf name af ipv6 route target import export both extended community Creates a route target extended community attri...

Page 237: ...d a PE When IPv6 static route runs between a CE and a Provider Edge PE it is necessary to configure an IPv6 static route to the CE on the PE and redistribute the static route to BGP Step Command Function 1 ZXR10 config ipv6 route vrf vrf name prefix of destination ipaddress network mask next hop address Configures an IPv6 static route to a CE on a PE It is necessary to specify the VRF which the st...

Page 238: ... exit CE1 config ipv6 route 2002 0 96 1001 10 1 Configuration on PE1 PE1 config ipv6 route vrf vpn_a 1001 0 96 1001 10 2 PE1 config router bgp 100 PE1 config bgp address family ipv6 vrf vpn_a PE1 config bgp af ipv6 vrf redistribute static PE1 config bgp af ipv6 vrf exit 4 Configure RIPng between a CE and a PE Step Command Function 1 ZXR10 config ipv6 router rip vrf vrf name Enables RIPng and enter...

Page 239: ...vrf redistribute rip metric metric value route map map tag Redistributes the RIPng routes As shown in Figure 19 3 it is required to run RIPng between CE1 and PE1 The following example shows how to configure RIPng on CE1 and PE1 respectively 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 CE...

Page 240: ... 2 ZXR10 config ospfv3 process id interface interface name area area id instance instance id Defines an interface that runs OSPFve and configures area IDs of the interface 3 ZXR10 config ospfv3 process id redistribute bgp tag tag value metric metric value metric type ext 2 ext 1 route map routemap Redistributes BGP routes 4 ZXR10 config router bgp as number Enters BGP route configuration mode 5 ZX...

Page 241: ...onfig ospfv3 2 if gei 1 1 exit PE1 config ospfv3 2 redistribute bgp PE1 config ospfv3 2 exit PE1 config router bgp 100 PE1 config bgp address family ipv6 vrf vpn_a PE1 config bgp af ipv6 vrf redistribute ospf int 2 PE1 config bgp af ipv6 vrf redistribute connected PE1 config bgp af ipv6 vrf exit 6 Configure EBGP between a CE and a PE Step Command Function 1 ZXR10 config router bgp as number Enters...

Page 242: ...ween CE and PE Configuration on CE1 CE1 config router bgp 65001 CE1 config bgp neighbor 1001 10 1 remote as 100 CE1 config bgp neighbor 1001 10 1 activate CE1 config bgp redistribute connected CE1 config bgp exit Configuration on PE1 PE1 config router bgp 100 PE1 config bgp address family ipv6 vrf vpn_a PE1 config bgp af ipv6 vrf neighbor 1001 10 2 remote as 65001 PE1 config bgp af ipv6 vrf neighb...

Page 243: ...dress peer group name activate Activates VPNv6 of a neighbor As shown in Figure 19 6 it is required to run MPBGP between PE1 and PE2 The following example shows how to configure MPBGP on PE1 and PE2 respectively Figure 19 6 Network Topology of the MPBGP Configuration It is necessary to make sure that the loopback addresses of PE1 and PE2 can be pinged successfully from each other in advance Config...

Page 244: ... router bgp as number Enters BGP route configuration mode 2 ZXR10 config bgp address family ipv6 vrf vrf name Enters IPv6 VRF address family configuration mode 3 ZXR10 config bgp af ipv6 vrf neighbor neighbor address as override Replaces the AS number of the CEs connected directly along the AS_PATH with the AS number of it own 9 Configure export map and import map The export map and import map are...

Page 245: ...source source address Checks network connectivity ZXR10 show ip vrf brief detail vrf name summary Displays the VRF information ZXR10 show ipv6 protocol routing vrf vrf name network ipv6 address mask_len protocol database Displays the VRF routing table End of Steps 19 3 6VPE Configuration Example Configuration Description As shown in Figure 19 7 CE1 and CE2 are in the same VPN The loopback address ...

Page 246: ...2 to vrf test1 Configure OSPF on PE1 and advertise the 10 10 0 0 16 segment Establish MPBGP neighbor relationship with PE2 and enable VPNv6 Establish an EBGP neighbor relationship with CE1 Configure LDP on gei 1 3 3 Configure IP addresses on gei 1 4 and gei 1 5 of P Configure OSPF and advertise the 10 10 0 0 16 segment Configure LDP on gei 1 4 and gei 1 5 4 Configure IP addresses on loopback1 gei ...

Page 247: ...rf test1 rd 100 1 PE1 config vrf test1 address family ipv6 PE1 config vrf test1 af ipv6 route target import 100 1 PE1 config vrf test1 af ipv6 route target export 100 1 PE1 config vrf test1 af ipv6 exit PE1 config vrf test1 exit PE1 config interface loopback1 PE1 config if loopback1 ip address 10 10 1 1 255 255 255 255 PE1 config if loopback1 exit PE1 config interface gei 1 3 PE1 config if gei 1 3...

Page 248: ...10 3 3 activate PE1 config bgp af vpnv6 exit PE1 config bgp exit Configuration on P P config interface gei 1 4 P config if gei 1 4 ip address 10 10 12 2 255 255 255 0 P config if gei 1 4 no shutdown P config if gei 1 4 exit P config interface gei 1 5 P config if gei 1 5 ip address 10 10 23 2 255 255 255 0 P config if gei 1 5 no shutdown P config if gei 1 5 exit P config interface loopback1 P confi...

Page 249: ... PE2 config if gei 1 7 10 exit PE2 config vlan configuration PE2 config vlan interface gei 1 7 10 PE2 config vlan if gei 1 7 10 encapsulation dot1q 10 PE2 config vlan if gei 1 7 10 exit PE2 config vlan exit PE2 config interface gei 1 7 10 PE2 config if gei 1 7 10 ip vrf forwarding test1 PE2 config if gei 1 7 10 ipv6 enable PE2 config if gei 1 7 10 ipv6 address 2002 20 2 120 PE2 config if gei 1 7 1...

Page 250: ...onfig if loopback1 exit CE2 config interface gei 1 8 10 CE2 config if gei 1 8 10 exit CE2 config vlan configuration CE2 config vlan interface gei 2 8 10 CE2 config vlan if gei 2 8 10 encapsulation dot1q 10 CE2 config vlan if gei 2 8 10 exit CE2 config vlan exit CE2 config interface gei 2 8 10 CE2 config if gei 2 8 10 ipv6 enable CE2 config if gei 2 8 10 ipv6 address 2002 20 1 120 CE2 config if gei...

Page 251: ... the IPv6 address of the peer device successfully PE1 ping6 vrf test1 2002 20 2 sending 5 100 byte ICMP echoes to 2002 20 2 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 0 0 0 ms Perform verification on PE2 in the same way PE2 show bgp vpnv6 unicast summary Neighbor Ver As MsgRcvd MsgSend Up Down State PfxRcd 10 10 1 1 4 100 27 109 03 35 22 1 PE2 show ipv6 forwarding ...

Page 252: ...2999 2002 20 0 120 2002 20 2 212997 notag PE2 ping6 vrf test1 1001 20 1 sending 5 100 byte ICMP echoes to 1001 20 1 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 0 0 0 ms 19 18 SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 253: ... IPv6 ACL This procedure describes how to configure an IPv6 ACL rule policy Steps 1 Enter IPv6 ACL configuration mode and configure the IPv6 ACL rule Step Command Function 1 ZXR10 config ipv6 access list acl name Configures the specified IPv6 ACL ZXR10 config ipv6 acl rule rule id permit deny flowlabel flowlabel value 0 255 ipv6 protocol type source ipv6 address any destination ipv6 address any ds...

Page 254: ...This ID determines the sequence of the rule in the IPv6 ACL table If this parameter is not specified the system inserts the rule at the end of the table by default and allocates the rule id according to the default base and increment 0 255 ipv6 protocol type Indicates the protocol type to be matched which can be one of the tcp udp and ip keywords or can be an integer representing the IP protocol n...

Page 255: ...le ids after rules are renumbered Default 10 range 1 2147483644 2 Bind IPv6 ACL to an interface Step Command Function 1 ZXR10 config ipv6 access group interface interface name ingress egress acl name Binds the specified IPv6 ACL to the specified interface ZXR10 config interface interface name Enters interface configuration mode 2 ZXR10 config if interface name ipv6 access group ingress egress acl ...

Page 256: ... ACL Configuration Example In this case it is only necessary to create one ACL and add the following rule to this ACL Deny the telnet packets matching the IP address of PC2 and using the protocol type TCP and the port type telnet Then bind the ACL to the ingress direction of the interface gei 1 3 or the egress direction of the interface gei 1 4 After the above configuration is completed the reques...

Page 257: ...ed ACL in one of the following three modes as shown below Check all the ACLs on the router In this mode all the names and number of ACLs are shown R2 config show ipv6 access lists brief No ACL RuleSum 1 test 2 Check the ACL of the specified name In this mode information about the number of rules of the specified ACL is shown R2 config show ipv6 access lists name test ipv6 access list test 2 2 show...

Page 258: ...Ingress test Check the binding between all ACLs on the router and the related interfaces including IPv4 ACLs and IPv6 ACLs R2 config show running config port acl PORT ACL interface gei 0 8 Bind other interface of IPv4 ACL to the device ipv4 access group ingress 1K interface gei 1 3 ipv6 access group ingress test PORT ACL 20 6 SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 259: ...ether the egress interface of return path is consistent with the ingress interface of the packets arriving If they are consistent the forwarding continues If they are inconsistent URPF ACL matching is considered If URPF ACL matching is not performed then the packets are discarded directly Conversely if URPF ACL matching is performed and the result is matched the forwarding continues If the result ...

Page 260: ...ator trusts that the packets with some features are legal packets he can configure ACL rules to forward these packets properly that are not discarded even if the packets lack a source route or the source route is default route but the default route is disabled in URPF That is when URPF check fails the packets are permitted or denied according to the ACL rules 21 2 Configuring IPv6 URPF This proced...

Page 261: ... 1 on R1 which prevents the network users coming from the network segment before 1 1 ad ea 64 from attacking the network connecting to R1 and permits the data flow from the network segment 1 11 ad ea 64 to pass through URPF inspection Figure 21 1 Topology of IPv6 URPF Configuration Example Strict Configuration Flow 1 Configure IPv6 address for the interface 2 Create ACL add the ACL matching requir...

Page 262: ...reachable via rx acl name acl URPF R1 config show running config interface gei 2 1 interface interface gei 2 1 no shutdown ipv6 enable ipv6 address 1 1 ad ea 64 interface URPF interface gei 2 1 ipv6 verify unicast source reachable via rx acl name acl URPF R1 config show ipv6 access lists name acl ipv6 access list acl 1 1 showed total 10 permit ipv6 1 11 ad ea 64 any 21 3 2 Example Configuring IPv6...

Page 263: ... gei 2 1 ipv6 enable R1 config if gei 2 1 ipv6 address 1 1 ad ea 64 R1 config if gei 2 1 exit R1 config interface gei 2 2 R1 config if gei 2 2 no shutdown R1 config if gei 2 2 ipv6 enable R1 config if gei 2 2 ipv6 address 1 10 ad ea 64 R1 config if gei 2 2 exit R1 config interface gei 2 2 1 R1 config if gei 2 2 1 exit R1 config vlan configuration R1 config vlan interface gei 2 2 1 R1 config vlan i...

Page 264: ...y unicast source reachable via any acl name wd bind the interface with loose URPF R2 config if gei 3 1 exit R2 config ipv6 acl exit R2 config ipv6 route 3ff1 64 200 2 Configure the static route and specify that the interface to source route is different from the ingress interface The other configurations of R2 are similar to the configurations of R1 Configuration Verification The traffic that meet...

Page 265: ...on in Configuration Guide QoS 22 3 IPv6 QoS Configuration Examples 22 3 1 Example Configuring IPv6 Priority Scheduling Configuration Description As shown in Figure 22 1 four users access the ZXR10 via interfaces gei 1 1 and gei 1 2 They are user1 user2 user3 and user4 The following requirements need to be met l User1 is allowed to pass at the first priority with the maximum bandwidth of 400 Mbps l...

Page 266: ...config if gei 1 1 exit ZXR10 config interface gei 1 2 ZXR10 config if gei 1 2 ipv6 enable ZXR10 config if gei 1 2 ipv6 address 8 1 64 ZXR10 config if gei 1 2 exit ZXR10 config interface gei 1 3 ZXR10 config if gei 1 3 ipv6 enable ZXR10 config if gei 1 3 ipv6 address 9 1 64 ZXR10 config if gei 1 3 exit 2 Configure the classes ZXR10 config class map dscp1 match all ipv6 ZXR10 config cmap match dscp ...

Page 267: ...how policy map policy map test class dscp1 priority llq police cir 400000 cbs 400 conform action transmit exceed action drop violate action drop class dscp2 bandwidth percent 30 class dscp3 bandwidth percent 20 class dscp4 bandwidth percent 10 Run the show service policy command to check the correctness of interface policy binding ZXR10 show service policy service policy gei 1 3 output test 22 3 2...

Page 268: ... the class to WRED 3 Select a PQ from the policy classes 4 Bind the policy map to the egress direction of the interface Configuration Commands 1 Configure the class ZXR10 config class map pre0 2 match all ipv6 ZXR10 config cmap match precedence 0 2 ZXR10 config cmap exit 2 Configure the policy ZXR10 config policy map wred ZXR10 config pmap class pre0 2 ZXR10 config pmap c random detect enable ZXR1...

Page 269: ...user2 accesses the system via the interface gei 1 2 The DSCP values are 1 and 2 respectively Packets are sent via the interface gei 1 3 According to the requirements the DSCP values of the packets of the two users sent via the interface gei 1 3 should be 7 the guaranteed bandwidth should be 100 M and the maximum bandwidth should be 150 M Figure 22 2 IPv6 CAR SET Configuration Example Configuration...

Page 270: ...configured on the interface ZXR10 config show running config carset carset qos interface gei 1 3 rate limit output ipv6 dscp 1 cir 100000 cbs 200000 pir 150000 pbs 300000 conform action set dscp transmit 7 exceed action set dscp transmit 7 violate action drop rate limit output ipv6 dscp 2 cir 100000 cbs 200000 pir 150000 pbs 300000 conform action set dscp transmit 7 exceed action set dscp transmit...

Page 271: ...1q 100 R2 config vlan if gei 1 1 1 exit R2 config vlan interface gei 1 2 1 R2 config vlan if gei 1 2 1 encapsulation dot1q 200 R2 config vlan if gei 1 2 1 exit R2 config vlan exit R2 config class map 802 1p match all ipv6 R2 config cmap match child R2 config cmap exit R2 config policy map 802 1p R2 config pmap class 802 1p R2 config pmap c set precedence inherit from 8021p R2 config pmap c exit R2...

Page 272: ...onfig 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 ZTE Proprietary and Confidential ...

Page 273: ...o 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 Steps 1 Configure the basic attributes of IPv6 VRRP Step Command Function 1 ZXR10 config vrrp Enters VRRP configuration mode ZXR10 config vrrp if interface name vrrp vrid version 2 3 Configures the VR...

Page 274: ... range of level is 1 254 The default priority is 100 ZXR10 config vrrp if interface name vrrp vrid preempt delay delay time disable Configures VRRP group preemption in VRRP interface configuration mode default preempt The default preemption delay is 0 ZXR10 config vrrp if interface name vrrp vrid timers advertise 1 40 msec 50 40000 Configures the interval in seconds to send VRRP advertisements in ...

Page 275: ... the accept function in VRRP interface configuration mode default Enable ZXR10 config vrrp if interface name vrrp vrid check ttl disable Enables the check ttl function in VRRP interface configuration mode default Enable ZXR10 config vrrp if interface name vrrp vrid admin group owner interface interface name vrid 1 255 Configures VRRP administration group function in VRRP interface configuration mo...

Page 276: ...RP The address of an interface for R1 is set to FE80 1 1 and the address of an interface for R2 is set to FE80 1 2 The same VRRP group number and virtual address are configured on the interfaces of R1 and R2 The virtual address is set to FE80 1 1 In this case the VRRP virtual address is the same as the actual address of an interface for R1 and therefore R1 is called IP address owner with a top pri...

Page 277: ...onfig if gei 1 1 no shutdown R1 config if gei 1 1 ipv6 enable R1 config if gei 1 1 ipv6 address link local fe80 1 1 R1 config if gei 1 1 exit R1 config vrrp R1 config vrrp interface gei 1 1 R1 config vrrp if gei 1 1 vrrp 1 ipv6 fe80 1 1 For the configuration of the IPv6 address in VRRPv3 the virtual master IP address must be a link local address that is an address beginning with FE80 such as vrrp ...

Page 278: ...tion enable delay 0 s Reload delay 5 s No authentication data Check ttl enable Vrrp accept mode enable Out interface send mode is all Tracked interface items 0 Interface State Policy Reduce Priority Tracked detect items 0 Admin group is None Vrrp run info State is Master 5 state changes last state change 17 05 34 1 day s Current priority is 255 Master router is local Master router address is FE80 ...

Page 279: ...metrical VRRP Configuration Configuration Description As shown in Figure 23 2 two VRRP groups are deployed in backup mode to support load sharing PC1 and PC2 use the virtual router in Group 1 as the default network gateway and the address is FE80 1 1 PC3 and PC4 use the virtual router in Group 2 as the default network gateway and the address is FE80 1 2 R1 and R2 act as backup routers for each oth...

Page 280: ...gei 1 1 exit R1 config vrrp R1 config vrrp interface gei 1 1 R1 config vrrp if gei 1 1 vrrp 1 ipv6 fe80 1 1 R1 config vrrp if gei 1 1 vrrp 2 ipv6 fe80 1 2 R1 config vrrp if gei 1 1 end The configuration on R2 is as follows 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 ...

Page 281: ...formation about VRRP on current interface State is Master VRRP running state 1 state changes last state change 03 12 14 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 Master router address is FE80 0 0 0 0 0 1 1 Master router priority is 255 M...

Page 282: ... VRRP interface configuration mode set and enable egress interfaces over which packets are transmitted for VRRP groups Configuration Commands Configuration on R1 R1 config interface gei 0 2 R1 config if gei 0 2 no shutdown R1 config if gei 0 2 ipv6 enable R1 config if gei 0 2 ipv6 address link local fe80 1 1 R1 config if gei 0 2 exit R1 config vrrp R1 config vrrp interface gei 0 2 R1 config vrrp i...

Page 283: ...on information IP version 6 VRRP version 3 Virtual IP address is FE80 0 0 0 0 0 1 1 Virtual MAC address is 0000 5e00 0201 Advertise time is 1 000 sec Configured priority is 100 Preemption enable delay 0 s Reload delay 0 s No authentication data Check ttl enable Vrrp accept mode enable Out interface send mode is all Out interface heartbeat line is gei 0 2 Tracked interface items 0 Interface State D...

Page 284: ...6 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 ...

Page 285: ...twork parameters from the DHCPv6 server On an IPv6 network a DHCP client uses a reserved multicast address that is valid on a link to locate the DHCPv6 server Therefore it is required that the client and the server should be on the same link However in some applications considering management economy and extension it is required that a client can communicate with a server that is not on the same l...

Page 286: ...ise message 2 A server sends an Advertise message to reply to a Solicit An Advertise message contains the allocated address and option information l Request message 3 A client sends a Request message to a specified server to request an address and configuration information l Confirm message 4 A client sends Confirm messages to any reachable server to check whether the current IPv6 address it obtai...

Page 287: ... to replay information l Relay replay message 13 A server sends a Relay replay message carrying the information that is to be sent to a client to a rely agent 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 serve...

Page 288: ...pv6 addr pool addr range start ipv6 end ipv6 vrf instance vrf name Configures the range of the IPv6 address pool 3 ZXR10 config ipv6 addr pool exclude range start ipv6 end ipv6 vrf instance vrf name Configures IPv6 reserved addresses 4 ZXR10 config ipv6 addr pool conflict time timeout Configures the release time in minutes of conflicting addresses in the IPv6 address pool range 1 to 18000 default ...

Page 289: ...l 3 ZXR10 config dhcpv6 pool prefix lifetime valid lifetime1 infinite preferred lifetime1 infinite Specifies the lifetime of address prefixes valid lifetime and preferred lifetime 4 ZXR10 config dhcpv6 pool aftr address xx xx xx xx fqdn word option code value 1 65535 In DHCPv6 pool mode configures the aftr option There are two aftr types address and domain name Either address or domain name can be...

Page 290: ...rred lifetime of the addresses allocated from the address pool range 60 4294967295 unit second default 3600 server number DNS server number options 1 2 5 Configure a DHCPv6 policy Step Command Function 1 ZXR10 config dhcpv6 policy policy name priority Enters DHCPv6 policy configuration mode from DHCPv6 configuration mode and configures the priority of the policy range 1 to 5 2 ZXR10 config dhcpv6 ...

Page 291: ...refix and IPv6 address End of Steps 24 3 Configuring a DHCPv6 Relay This procedure describes how to configure a DHCPv6 relay Steps 1 Enable the DHCPv6 function Step Command Function 1 ZXR10 config dhcp ipv6 Enters DHCPv6 configuration mode 2 ZXR10 config dhcpv6 enable Enables the embedded DHCPv6 function 2 Configure a DHCPv6 relay server group Step Command Function 1 ZXR10 config dhcpv6 relay serv...

Page 292: ...The normal mode is to forward to all servers first The first mode is master slave mode round robin Round robin refers to load sharing mode server no server number range 1 5 master master server 3 Configure a DHCPv6 relay policy Step Command Function 1 ZXR10 config dhcpv6 relay policy policy name Enters DHCPv6 relay policy configuration mode from DHCPv6 configuration mode 2 ZXR10 config dhcpv6r pol...

Page 293: ...ode 2 ZXR10 config dhcpv6 if interface name relay agent ipv6 address Configures the IP address of a DHCPv6 agent on an interface 3 ZXR10 config dhcpv6 if interface name relay interface id interface id Configures an interface ID of a DHCPv6 relay on an interface The ID is valid when the interface ID format is user configuration The interface ID is a string with 1 to 16 characters By default the pri...

Page 294: ... Step Command Function 1 ZXR10 config interface name ipv6 dhcp client address rapid commit Obtains an IPv6 address 2 ZXR10 config interface name ipv6 dhcp address name X X X X 1 128 Configures the prefix of the address of the DHCPv6 client 3 ZXR10 config interface name ipv6 dhcp client pd name rapid commit Enables the DHCPv6 client address prefix and configuration parameter application functions r...

Page 295: ... to be bounded to an IP pool Configure DNS lease time and other parameters 5 Configure a DHCPv6 policy The DHCPv6 policy is a policy option Many priorities are supported by a name for policy management 6 Configure a DHCPv6 server Configure the server mode in DHCPv6 interface configuration mode Bind the policy Configuration Commands Configuration on ZXR10 ZXR10 config interface gei 0 1 ZXR10 config...

Page 296: ...iguration of the IPv6 address pool on ZXR10 as shown below ZXR10 show ipv6 addr pool configure zte PoolName Lock Begin End Vrf Used Free zte no 86 1 2 86 1 10 0 15 RangeTotal 1 Check the DHCPv6 configuration on ZXR10 as shown below ZXR10 show running config dhcpv6 DHCPV6 dhcp ipv6 policy zte 1 dhcpv6 pool zte pool zte address pool zte interface gei 0 1 mode server server policy zte enable DHCPV6 A...

Page 297: ...guration mode on R2 enable DHCPv6 Configure an IPv6 address pool a DHCPv6 pool and a DHCPv6 policy Configure a route pointing to the interface network segment of R1 Configuration Flow 1 Configure an IPv6 address on the interface of the relay and enable DHCPv6 2 Configure a relay server group on the relay Bind the group in the relay policy 3 Configure relay agent mode on the interface connected to ...

Page 298: ...rface DHCP mode and other attributes R1 config dhcpv6 interface gei 0 1 R1 config dhcpv6 if gei 0 1 mode relay R1 config dhcpv6 if gei 0 1 relay agent 86 1 1 R1 config dhcpv6 if gei 0 1 relay policy 1 R1 config dhcpv6 if gei 0 1 exit R1 config dhcpv6 exit Configuration on R2 Configure an interface R2 config interface gei 0 2 R2 config if gei 0 2 ipv6 enable R2 config if gei 0 2 ipv6 address 87 1 2...

Page 299: ...onfig dhcpv6 if gei 0 2 server policy zte1 R2 config dhcpv6 if gei 0 2 exit Configure a static route R2 config ipv6 route 86 96 87 1 1 Configuration Verification Check the DHCPv6 configuration on R1 as shown below R1 show running config dhcpv6 DHCPV6 dhcp ipv6 relay policy 1 default server group 1 relay server group 1 server 1 87 1 2 interface gei 0 1 mode relay relay agent 86 1 1 relay policy 1 e...

Page 300: ...000 valid lifetime 10000 expires at 13 18 21 12 08 2010 9995 seconds Client DUID 000100014CFBF3DB001094000002 IA NA IA ID 0 T1 50000 T2 80000 Address 86 1 11 preferred lifetime 10000 valid lifetime 10000 expires at 13 18 20 12 08 2010 9994 seconds Client DUID 000100014CFBF3DB001094000003 IA NA IA ID 0 T1 50000 T2 80000 Address 86 1 12 preferred lifetime 10000 valid lifetime 10000 expires at 13 18 ...

Page 301: ...refix pool prefix delegation 11 11 12 0 112 112 R2 config ipv6 prefix pool exit R2 config dhcp ipv6 R2 config dhcpv6 enable R2 config dhcpv6 pool zte R2 config dhcpv6 pool address pool zte 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 dh...

Page 302: ...6 11 12 1 1 128 inet6 11 11 12 110 112 ND DAD is enabled number of DAD attempts 3 ND reachable time is 30000 milliseconds The client has two IPv6 addresses One is obtained directly 11 12 1 1 128 The suffix is 128 bits The other consists of two parts the obtained IP prefix and the configured suffix 11 11 12 110 112 You can also run the following command on R2 to check the allocated IPv6 addresses a...

Page 303: ...e Collection Configuration Example 5 11 Figure 6 1 Topology of OSPFv3 Configuration Examples 6 11 Figure 6 2 Topology of OSPFv3 Configuration Example 2 6 14 Figure 6 3 Topology of OSPFv3 Route Load Sharing Configuration Examples 6 19 Figure 7 1 Single Area IS ISv6 Configuration Example 7 9 Figure 7 2 Multi Area IS ISv6 Configuration Example 7 14 Figure 8 1 BGP4 Route Reflector Configuration Exampl...

Page 304: ...Tunnel Configuration Example 16 6 Figure 16 7 4in6 Tunnel Configuration Example 16 9 Figure 16 8 6to4 Tunnel Configuration Example 16 11 Figure 16 9 ISATAP Tunnel Principle 16 14 Figure 16 10 ISATAP Configuration Example 16 15 Figure 17 1 6rd Prefix Delegation 17 2 Figure 17 2 A Global Unicast Address 17 2 Figure 17 3 Private Address Aggregation 17 2 Figure 17 4 Forwarding a Message in a 6rd Domai...

Page 305: ...v6 CAR SET Configuration Example 22 5 Figure 22 3 IPv6 Priority Inheritance Configuration Example 22 6 Figure 22 4 Inheritance from 802 1p to IPP 22 8 Figure 23 1 Basic VRRP Configuration IPv6 23 4 Figure 23 2 Symmetrical VRRP Configuration IPv6 23 7 Figure 23 3 VRRP Heartbeat Configuration IPv6 23 10 Figure 24 1 Relation Among DHCPv6 Client Relay and Server 24 1 Figure 24 2 DHCPv6 Protocol Messag...

Page 306: ...Figures This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 307: ...te local Address 2 7 Table 2 5 Multicast Address Format 2 8 Table 2 6 Multicast Scope Values 2 9 Table 2 7 IPv6 Address Compression 2 11 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 V SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietar...

Page 308: ...This page intentionally left blank VI SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 309: ...col BOOTP Bootstrap Protocol BR Border Router BSR Bootstrap Router CAR Committed Access Rate CE Customer Edge CIDR Classless Inter Domain Routing DHCP Dynamic Host Configuration Protocol DIS Designate IS DR Designated Router DSCP Differentiated Services Code Point DUID DHCP Unique Identifier VII SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Page 310: ...col IP Internet Protocol IPSec IP SecurityProtocol IPX Internetwork Packet Exchange protocol IPv4 Internet Protocol version 4 IPv6 Internet Protocol Version 6 IS IS Intermediate System to Intermediate System ISATAP Intra Site Automatic Tunnel Addressing Protocol ISO International Organization for Standardization ISP Internet Service Provider LAN Local Area Network LDP Label Distribution Protocol L...

Page 311: ...Multicast Listener Discovery Version 2 MPLS Multiprotocol Label Switching MSDP Multicast Source Discovery Protocol MTU Maximum Transfer Unit NA Neighbor Advertisement NBMA Non Broadcast Multiple Access NDP Neighbor Discovery Protocol NS Neighbor Solicitation NSAP Network Service Access Point OSI Open System Interconnection OSPF Open Shortest Path First IX SJ 20140504150128 018 2014 05 10 R1 0 ZTE ...

Page 312: ...r Comments RIP Routing Information Protocol RIPng Routing Information Protocol next generation RP Rendezvous Point RS Router Solicitation RSVP TE Resource Reservation Protocol Traffic Engineering RT Route Target SPF Shortest Path First SPT Shortest Path Tree SSM Source Specific Multicast TCP IP Transmission Control Protocol Internet Protocol TLV Tag Length Value TTL Time To Live X SJ 2014050415012...

Page 313: ... Reverse Path Forwarding VLAN Virtual Local Area Network VPN Virtual Private Network VRF Virtual Route Forwarding WFQ Weighted Fair Queuing WRED Weighted Random Early Detection XI SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...

Reviews: