background image

Chapter 20 DHCPv6 Configuration

l

Relay-replay message (13): A server sends a Relay-replay message carrying the

information that will be sent to a client to a rely agent.

Figure 20-2

shows the interaction procedure of DHCPv6 messages in a standard network

environment.

Figure 20-2 DHCPv6 Protocol Message Interaction

20.2 Configuring DHCPv6

Configuring the DHCPv6 Server

To configure the DHCPv6 server on the ZXR10 5900E, perform the following steps:

Step

Command

Function

1

ZXR10(config)#

dhcp ipv6

Enters DHCPv6 configuration

mode.

20-3

SJ-20150114102049-011|2015-01-15 (R1.0)

ZTE Proprietary and Confidential

Summary of Contents for ZXR10 5900E Series

Page 1: ...nce MPLS Routing Switch Configuration Guide IPv6 Version 3 00 11 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: ...3 3 1 6in4 Tunnel Configuration Example 3 6 3 3 2 6to4 Tunnel Configuration Example 3 8 Chapter 4 IPv6 ACL Configuration 4 1 4 1 IPv6 ACL Overview 4 1 4 2 Configuring IPv6 ACL 4 1 4 3 IPv6 mixed ACL Maintenance and Diagnosis 4 7 4 4 IPv6 ACL Configuration Example 4 9 Chapter 5 IPv6 Static Route Configuration 5 1 5 1 IPv6 Static Route Overview 5 1 5 2 Configuring IPv6 Static Routes 5 1 5 3 Maintain...

Page 4: ...ing BGP4 9 1 9 3 Maintaining BGP4 9 2 9 4 BGP4 Configuration Examples 9 8 9 4 1 BGP4 Route Reflector Configuration Example 9 8 9 4 2 BGP4 General Configuration Example 9 10 Chapter 10 IPv6 QoS Configuration 10 1 10 1 IPv6 QoS Overview 10 1 10 2 Configuring IPv6 QoS 10 1 10 3 IPv6 QoS Configuration Examples 10 1 Chapter 11 IPv6 Multicast Configuration 11 1 11 1 IPv6 Multicast Overview 11 1 11 2 Con...

Page 5: ...cast Configuration Example 15 3 Chapter 16 ISATAP Tunnel Configuration 16 1 16 1 ISATAP Tunnel Overview 16 1 16 2 Configuring an ISATAP Tunnel 16 2 16 3 ISATAP Configuration Example 16 3 Chapter 17 IPv6 Basic Configuration 17 1 Chapter 18 TCP6 Configuration 18 1 18 1 TCP6 Overview 18 1 18 2 Configuring the TCP6 18 1 18 3 TCP6 Maintenance and Diagnosis 18 3 Chapter 19 UDP6 Configuration 19 1 Chapte...

Page 6: ...This page intentionally left blank IV SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 7: ...s maintenance commands and configuration examples on the ZXR10 5900E Chapter 3 IPv6 Tunnel Configuration Describes IPv6 tunnel technology and principle configuration commands maintenance commands and configuration examples on the ZXR10 5900E Chapter 4 IPv6 ACL Configuration Describes IPv6 ACL technology and principle configuration commands maintenance commands and configuration examples on the ZXR...

Page 8: ...configuration examples on the ZXR10 5900E Chapter 12 MLD Configuration Describes MLD technology and principle configuration commands maintenance commands and configuration examples on the ZXR10 5900E Chapter 13 IPv6 PIM SM Configuration Describes IPv6 PIM SM technology and principle configuration commands maintenance commands and configuration examples on the ZXR10 5900E Chapter 14 IPv6 PIM SSM Co...

Page 9: ...s check boxes drop down lists dialog box names window names parameters and commands Constant width Text that you type program codes filenames directory names and function names Optional parameters Mandatory parameters Separates individual parameters in a series of parameters Danger indicates an imminently hazardous situation Failure to comply can result in death or serious injury equipment damage ...

Page 10: ...This page intentionally left blank IV SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 11: ...Internet 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 Versio...

Page 12: ... 1 6 times of an 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 an IPv4 header header length type of service identifier flags fragmented offsets and header checksum Names and some functions of the three fields of total length protocol and Time to Live TTL are change...

Page 13: ...er of a group of interfaces These interfaces belong to different nodes The packets sent to a multicast address will be transmitted to all the interfaces with this address identifier l Anycast It is the identifier of a group of interfaces These interfaces belong to different nodes The packets sent to an anycast address will be transmitted to an interface with this address identifier selecting the n...

Page 14: ...used as prefixes for other unallocated unicast Table 1 2 lists the aggregatable global unicast address fields Table 1 2 Aggregatable Global Unicast Address Fields 3 13 8 24 16 64 FP TLA ID RES NLA ID SLA ID Interface identifier The table includes the following fields à FP This is the 3 bit format prefix in an IPv6 address indicating to which address category in the IPv6 address space this address ...

Page 15: ...field containing 64 bit values of the IEEE EUI 64 interface identifier l Special Address Reserved Address In the first 1 256 IPv6 address space the first 8 bits 0000 0000 of all the addresses are reserved Most of the vacant address spaces are used for special addresses including à Undesignated address This is an all zero address and is used if no valid address is available For example if a host do...

Page 16: ...implementations to support the above address structures l Link Local Address and Site Local Address Using the network Model 10 address to translate IPv4 network addresses provides an option for the institutions that do not want to apply for globally unique IPv4 network addresses A router that resides outside of an institution but used by the institution shall not forward these addresses It can nei...

Page 17: ...from a site Routers within a site can only forward packets within the site instead of forwarding them outside of the site The 10 bit prefix of a site local 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 l...

Page 18: ...s address is a well known address If this flag bit is set to one it indicates that this 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 inst...

Page 19: ...ce whether it is located closely or remotely Similarly a closely located time server is preferable in terms of accuracy Therefore when a host sends a request 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 distinguis...

Page 20: ... compressed formats of IPv6 addresses Table 1 7 IPv6 Address Compression Add Type Normal Format Compressed Format Unicast address 1080 0 0 0 8 800 200C 417A 1080 8 800 200C 417A Multicast address FF01 0 0 0 0 0 0 101 FF01 101 Loopback address 0 0 0 0 0 0 0 1 1 Unspecified 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...

Page 21: ...ach interface which can be a site local address or one or more aggregable global addresses à Subnet router anycast address à Other anycast addresses optional à Loopback address 1 of a loopback interface Similarly apart from these addresses a router must always keep listening to the data flow from the following multicast addresses à Multicast addresses FF01 1 of all the nodes within the node local ...

Page 22: ... case an IP address is needed the node must determine whether to obtain it through the stateless auto configuration or through the state auto configuration The procedure is as follows 1 In the stateless auto configuration process the host adds its network adapter MAC address after the 1111111010 prefix of the link local address to create a link local unicast address IEEE has modified the network a...

Page 23: ... mtu bytes Sets the MTU of the IPv6 packets to be transmitted on the interface For a description of the parameters in Step 2 refer to the following table Parameter Description ipv6 address Specifies the address to be configured on the interface The address format follows RFC 2373 16 bits form a group and groups are separated by colons The address may also assume the simplified mode as defined in R...

Page 24: ...s ZXR10 config show ipv6 interface brief vlan2 up down fe80 200 22ff fe22 0 tentative 15 2 64 tentative vlan10 up up fe80 222 93ff fe5a f750 1000 2 64 ZXR10 config For a description of the sample output from the show ipv6 interface interface name command refer to the following table Command Output Description IPv6 is enable Indicates that IPv6 is enabled on the interface Hardware is Vlan Indicates...

Page 25: ...tion S1 config interface vlan10 S1 config if vlan10 ipv6 enable S1 config if vlan10 ipv6 address 3ffe 100 1 64 Or S1 config interface vlan10 S1 config if vlan10 ipv6 enable S1 config if vlan10 ipv6 address link local fe80 1111 2222 3333 4444 S1 config if vlan10 exit S2 configuration S2 config interface vlan10 S2 config if vlan10 ipv6 enable S2 config if vlan10 ipv6 address 3ffe 100 2 64 Or S2 conf...

Page 26: ...00 percent 5 5 round trip min avg max 0 0 0 ms Verify the configuration results on S2 S2 show ipv6 interface brief vlan10 vlan10 up up fe80 1422 30ff fec4 e999 3ffe 100 2 64 S2 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 1 16 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 27: ...actions between nodes on the same link NDP Principle The IPv6 NDP provides a group of solutions for solving communication related problems The NDP supports address resolution that is it can resolve the IPv6 address of one IPv6 node interface into the corresponding link layer address The NDP supports router discovery A host can detect the existence of routers through the NDP and determine the IDs o...

Page 28: ...artup process A node can send an NS packet to interpret the link layer address of another node so as to verify the reachability of that node and the address uniqueness of a specific link A node can send an NA packet as the response to an NS packet It will also send unsolicited NA packets to notify its own link layer address changes to other nodes 2 2 Configuring NDP To configure NDP perform the fo...

Page 29: ...time field in the router response packets sent on the interface in the unit of seconds The value range is 0 9000 The default value is 1 800 seconds 6 ZXR10 config if interface name no ipv6 nd ra lifetime Restores the default value of the ra lifetime field ZXR10 config if interface name ipv6 nd reachable time milliseconds Specifies the time within which the remote neighbor is considered as reachabl...

Page 30: ...lue of the stale status period of the nd entry in the neighbor s catch table ZXR10 config if interface name ipv6 nd stale switch Configures reachability detection before staled time expires 12 ZXR10 config if interface name no ipv6 nd stale switch Disables reachability detection before staled time expires By default the reachability detection function is not enabled ZXR10 config if interface name ...

Page 31: ...meter Description ipv6 prefix Indicates the network prefix included in the RA packet prefix length Indicates the prefix length valid lifetime Indicates the valid lifetime of the prefix in the unit of seconds The default value is 604800 seconds preferred lifetime Indicates the preferred lifetime in the unit of seconds The default value is 86400 seconds no autoconfig Indicates that the hosts on the ...

Page 32: ...iption Address Indicates the IP address link Address Indicates the link layer address age Indicates the age of the entry in this status or other attributes infinity Indicates that the corresponding interface address is infinitely valid static Indicates that the entry is a static entry infinitely valid status Indicates the status of the ND entry Incomplete The entry has been generated but the link ...

Page 33: ...he neighbor cache table 2 Show the content of the neighbor cache table and check whether the static entry has been successfully added Steps Router configuration ZXR10 config interface vlan10 ZXR10 config if vlan10 nd6 add 780 1 0000 0a00 1345 Verification Verify the configuration results on the router ZXR10 show nd6 cache Total Cache Number Is 1 Only Current Valid Items Are Shown Below Address lin...

Page 34: ...ZXR10 5900E Series Configuration Guide IPv6 This page intentionally left blank 2 8 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 35: ... a tunnel so that the IPv6 packet traverses the IPv4 network to implement the interworking between two isolated IPv6 networks as shown in Figure 3 1 Figure 3 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 routers The termination point of the tunnel may be the ultimate destination of the IP...

Page 36: ...ted data packet can be transmitted in another IPv6 network The data packet after the encapsulation is an IPv6 tunnel packet as shown in Figure 3 2 Figure 3 2 Principles of the IPv4 or IPv6 over IPv4 Tunnel In the above figure Original data refers to the IPv4 or IPv6 packet IPv6 Tunnel Principle l 6in4 Tunnel Figure 3 3 shows the operating principles of a 6in4 tunnel Figure 3 3 Principles of a 6in4...

Page 37: ...ress 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 in the format of 2002 abcd efgh Subnet ID InterfaceID 64 Of the address 2002 is a fixed IPv6 address prefix abcd efgh is a globally unique 32 bit IPv4 source address of the 6to4 tunnel in hexadecimal system e g 1 1 1 1 can be expressed...

Page 38: ...receiving process for further handling 3 2 Configuring IPv6 Tunnel Configuring 6in4 Tunnel To configure a 6in4 tunnel perform the following steps Step Command Function 1 ZXR10 config interface v6_tunnel tunnel_no Creates an IPv6 tunnel interface To delete the tunnel interface use the no format of the command The parameter tunnel_no indicates the tunnel number The number of tunnel interfaces that c...

Page 39: ...no indicates the tunnel number The number of tunnel interfaces that can be created ranges from 1 to 512 2 ZXR10 config ipv6 tunnel config Enters the IPv6 tunnel configuration mode 3 ZXR10 config ipv6 tunnel interface v6_tunnel tunne l_no Enters the IPv6 tunnel interface configuration mode 4 ZXR10 config ipv6 tunnel if v6_tunnel1 tunnel mode ipv6ip 6to4 Sets the current tunnel mode to 6to4 To cance...

Page 40: ... of the tunnel via the IPv4 routing protocol the static routing protocol or other routing protocols 1 Create 6in4 tunnel interfaces and enable IPv6 on them 2 Enter the tunnel configuration mode from the global mode and then enter the 6in4 tunnel interface to be configured 3 Configure the tunnel mode the source address and the destination address Configuration Commands S1 configuration S1 config in...

Page 41: ... S2 config ipv6 tunnel if v6_tunnel3 exit S2 config ipv6 tunnel exit S2 config interface vlan10 S2 config if vlan10 ip address 33 1 1 28 255 255 0 0 Configuration Verification Check the tunnel configurations on S1 and verify whether the configurations have taken effect S1 config show running config interface v6_tunnel3 INTERFACE interface v6_tunnel3 index 49 ipv6 enable ipv6 address 3172 27 64 INT...

Page 42: ...stination 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 source IPv4 address of the tunnel into a hexadecimal yyyy yyyy and then add 2002 16 t...

Page 43: ...6 tunnel config S2 config ipv6 tunnel interface v6_tunnel2 S2 config ipv6 tunnel if v6_tunnel2 tunnel mode ipv6ip 6to4 S2 config ipv6 tunnel if v6_tunnel2 tunnel source ipv4 1 1 1 1 S2 config ipv6 tunnel if v6_tunnel2 S2 config ipv6 route 2002 16 v6_tunnel2 Configuration Verification Check the tunnel configurations on S1 and verify whether the configurations have taken effect S1 config show runnin...

Page 44: ...ZXR10 5900E Series Configuration Guide IPv6 This page intentionally left blank 3 10 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 45: ...ter packets by the fields in IPv6 packets One IPv6 ACL can have multiple rules with each rule describing certain matching conditions For a given packet matching starts from the first rule Once a packet matches a certain rule the permit or deny action set in the rule is returned 4 2 Configuring IPv6 ACL Configuring IPv6 ACL To configure IPv6 ACL perform the following steps Step Command Function ZXR...

Page 46: ...e traffic class value Configures the IPv6 ACL rule based on ICMP 2 ZXR10 config ipv6 acl rule rule id permit deny protocol source any destination any authen destopts esp fragments hop by hop routing time range name traffic class value This configures an ACL with an IPv6 extended header ZXR10 config ipv6 acl no rule rule id all Deletes the specified IPv6 ACL rule or all rules 3 ZXR10 config ipv6 ac...

Page 47: ... port operation type which can be any of the keywords eq ge le and range If this parameter is set to range two port numbers need to be specified behind range source port Indicates the source port number ranging from 0 to 255 destination port Indicates the destination port number ranging from 0 to 255 dscp value Indicates the DSCP field The value range is 0 63 traffic class value Indicates the traf...

Page 48: ...inner cos value inner vlan value outer cos value outer vlan value udp source any oper source port destination any oper destination port dscp value time range name Configures the LINK ACL based and UDP based IPv6 ACL rule ZXR10 config ipv6 mixed acl rule rule id permit deny link protocol value source mac source mac wildcard any inner cos value inner vlan value outer cos value outer vlan value icmp ...

Page 49: ...tination Destination IPv6 address in the form of dotted decimal notation sdestination wildcard Wildcard mask of the destination IPv6 address in the form of dotted decimal notation oper Port operation type which can be any of the keywords eq ge le and range If this parameter is set to range two port numbers need to be specified behind range source port Source port number range 0 to 65535 destinatio...

Page 50: ...the egress direction IPv6 MIXED ACL is not valid Bind the VLAN to the IPv6 ACL To bind the VLAN to the IPv6 ACL on the ZXR10 5900E perform the following steps Step Command Function ZXR10 config ipv6 access group vlan vlan id ingress egress The IPv6 ACL bound on the VLAN 1 ZXR10 config no ipv6 access group vlan vlan id ingress egress Deletes the IPv6 ACL bound on the VLAN ZXR10 config ipv6 mixed ac...

Page 51: ...on can be selectively displayed according to the command parameters ZXR10 config show running config ipv6 acl Shows the entire IPv6 ACL information ZXR10 config show running config port acl Shows all the IPv6 ACL binding information and the IPv4 ACL binding information as well if any IPv4 ACL is bound ZXR10 config show running config interface port acl interface name Shows the IPv6 ACL binding inf...

Page 52: ...ess group ingress kkk PORT_ACL The following example shows the outputs of the command show running config interface port acl interface name ZXR10 config show running config interface port acl gei 0 1 1 1 PORT_ACL interface gei 0 1 1 1 ipv4 access group ingress lll interface gei 0 1 1 1 ipv6 access group ingress kkk PORT_ACL The outputs of the command show ipv6 access groups are described as follow...

Page 53: ...ribes as follows Parameter Function acl name Shows IPv6 MIXED ACLinformation by the specified ACL name ingress egress Shows ACL information by the ingress or egress interface name Shows ACL information by the interface name interface name Shows the ACL IPv4 and IPv6 binding information related to a certain interface 4 4 IPv6 ACL Configuration Example General Description In the network as shown in ...

Page 54: ...t During the creation a customized name can be assigned to this list but the length of the name shall not exceed 31 characters 2 Enter the IPv6 ACL configuration mode after the list is created and then add rules A packet type can be specified for each rule and the permit or deny action applies to the packet type 3 Bind the customized ipv6 access list to the ingress or egress direction of the inter...

Page 55: ...0 permit ip any any Check the interface bound with the ACL Two methods are available for checking the binding between the ACL and the interface Check the binding between IPv6 ACLs on the router and the related interfaces S2 config show ipv6 access groups Interface name Direction ACl name gei 0 1 1 3 Ingress test Check the binding between the specified interface and the corresponding ACL S2 config ...

Page 56: ...ZXR10 5900E Series Configuration Guide IPv6 interface gei 0 1 1 3 ipv6 access group ingress test PORT_ACL 4 12 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 57: ...involving multiple routers and multiple paths however it is rather complex to configure static routes 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 chang...

Page 58: ...rs The management port mng is a special VRF prefix Indicates the IPv6 address prefix mask len Indicates the mask length ranging from 0 to 128 forwarding router s address Indicates the next hop IPv6 address interface name Indicates the interface name distance metric Indicates the administrative distance ranging from 1 to 255 bfd enable Enables the BFD for the route in the IPv6 route configuration 5...

Page 59: ...oute 23 56 loopback17 ipv6 route 23 56 loopback18 NSM For a description of the sample output from the show running config ipv6 static route command refer to the following table Command Output Description ipv6 route Indicates the keyword of the configuration command 23 56 Indicates the destination address and mask length loopback18 Indicates the egress interface The following is a sample output fro...

Page 60: ...h each other and belong to the network segment 2005 64 To enable S1 to successfully ping the network segment 2003 64 of S2 a static route to the network segment 2003 64 can be added on S1 with the next hop being the IPv6 address of the S2 interface that directly connects S1 with S2 Figure 5 1 IPv6 Static Route Configuration Example Method 1 Configure the IPv6 address of the network segment 2005 64...

Page 61: ...ification On S1 check whether the address has been successfully configured whether the interface is up and whether the static route has been successfully added and then run ping6 2003 2 to check whether the ping operation is successful S1 config show running config interface vlan10 if intf interface vlan10 ipv6 enable ipv6 address 2005 1 64 if intf S1 config show ipv6 interface brief vlan10 vlan10...

Page 62: ...ZXR10 5900E Series Configuration Guide IPv6 Success rate is 100 percent 5 5 round trip min avg max 7 8 12 ms 5 6 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 63: ...e 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 Mask and Prefix Length RIPv1 is designed for use in subnet free...

Page 64: ...et 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 neighboring hosts as a router and thus router spoofing may easily t...

Page 65: ...ig ipv6 router rip Enters the RIPng configuration mode 2 ZXR10 config ripng timers basic update timeout garbage Configures the timers of RIPng The command parameters in step 2 are described as follows Parameter Description update Specifies the periodic packet sending interval in the unit of seconds The value range is 5 65535 seconds The default value is 30 seconds timeout Specifies the time for th...

Page 66: ...prefix and length of the summarized routes l Configure the port for listening to RIPng multicast packets Step Command Function 1 ZXR10 config ipv6 router rip Enters the RIPng configuration mode 2 ZXR10 config ripng port 1 65535 Specifies the port for listening to multicast packets The value range is 1 65535 The default value is 521 l Configure the offset list of the RIPng Step Command Function 1 Z...

Page 67: ...value Specifies the metric for the redistributed routes in the range of 1 16 map tag Specifies the route map used for protocol route redistribution l Delete the routes received by the RIPng Command Function ZXR10 clear ipv6 rip route X X X X 0 128 all vrf Deletes the routes received by the RIPng You can delete all the received routes or a certain route only The command parameters are described as ...

Page 68: ...al packet sending and receiving use the no form of the command ZXR10 config ripng if ipv6 rip interface passive Configures the passive interface so that the interface only receives packets but does not send packets To cancel the configuration and restore normal packet sending and receiving use the no form of the command ZXR10 config ripng if ipv6 rip neighbor X X X X Configures the neighbor addres...

Page 69: ...iption vrf vrf name VRF name with 1 32 characters X X X X Indicates the specific IPv6 route prefix X X X X 0 128 Indicates the IPv6 route prefix and prefix length interface name Indicates the interface name The following example shows the outputs of the command show ipv6 rip ZXR10 config show ipv6 rip RIPng protocol port 521 multicast group FF02 9 administrative distance is 120 default metric is 1...

Page 70: ... ipv6 rip database ZXR10 config show ipv6 rip database 2010 64 nexthop 2010 13 via vlan10 metric 1 tag 0 time 00 01 The outputs of the command show ipv6 rip database are described as follows Command Output Description 2010 64 Indicates the destination network segment nexthop 2010 13 Indicates the next hop address In this example there is no next hop because the network segment is a direct connecti...

Page 71: ...ss is taken as an example and can redistribute other routes The redistribution of direct routes is taken as an example Figure 6 1 RIPng Configuration Example Method 1 Enable the IPv6 protocol on the interfaces and configure IPv6 addresses 2 Configure the RIPng protocol 3 Enable the RIPng related configurations on the interfaces 4 Configure the redistribution commands if it is necessary to redistri...

Page 72: ...g if ipv6 address 3611 10 64 S2 config if exit S2 config interface vlan2 S2 config if ipv6 enable S2 config if ipv6 address 2352 52 64 S2 config interface loopback5 S2 config if ipv6 enable S2 config if ipv6 address 3550 52 64 S2 config if exit S2 config ipv6 router rip S2 config ripng interface vlan1 S2 config ripng if ipv6 rip enable S2 config ripng if exit S2 config ripng interface loopback5 S2...

Page 73: ...collect after 120 seconds the number of ripng routes is 4 Redistribution Interfaces vlan1 loopback5 S1 show ipv6 rip database 2255 64 nexthop via unknown metric 16 tag 0 time 04 41 2355 64 nexthop fe80 2d0 d0ff feaf cc10 via vlan1 metric 2 tag 0 time 00 12 2356 64 nexthop fe80 2d0 d0ff feaf cc10 via vlan1 metric 2 tag 0 time 00 12 2357 64 nexthop fe80 2d0 d0ff feaf cc10 via vlan1 metric 2 tag 0 ti...

Page 74: ...d0ff feaf cc10 2356 64 ripng 2 vlan1 fe80 12 2d0 d0ff feaf cc10 3550 64 ripng 2 vlan1 fe80 12 2d0 d0ff feaf cc10 S1 ping6 2352 52 sending 5 100 byte ICMP echoes to 2352 52 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 0 0 0 ms Check the routing information on S2 S2 show running config ripng RIPNG ipv6 router rip redistribute connected interface vlan1 ipv6 rip enable R...

Page 75: ...me 00 13 3550 64 nexthop via loopback5 metric 1 tag 0 3555 64 nexthop fe80 2d0 d0ff fe78 99dd via vlan1 metric 2 tag 0 time 00 13 3611 64 nexthop via vlan1 metric 1 tag 0 S2 show ipv6 forwarding route ripng IPv6 Routing Table Dest Owner Metric Interface Gw 2255 16 ripng 2 vlan1 fe80 2e 2d0 d0ff fe78 99dd 2310 64 ripng 2 vlan1 fe80 2e 2d0 d0ff fe78 99dd 3036 64 ripng 2 vlan1 fe80 2e 2d0 d0ff fe78 9...

Page 76: ...ZXR10 5900E Series Configuration Guide IPv6 This page intentionally left blank 6 14 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 77: ...2 The IPv6 OSPF keeps the majority 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 exchang...

Page 78: ...checks the parameters defined in the packet If the parameters in 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...

Page 79: ...sses 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 dat...

Page 80: ...fix 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 o...

Page 81: ...nd the name are completely the same Link LSA The LSA is newly added Intra Area Prefix LSA The LSA is newly added 7 2 Configuring OSPFv3 Enabling OSPFv3 To enable OSPFv3 perform the following steps Step Command Function 1 ZXR10 config ipv6 router ospf process id Enables the OSPFv3 process 2 ZXR10 config ospfv3 process id router id router id Specifies the Router ID for an OSPFv3 process Configuring ...

Page 82: ...fv3 process id if interface name transmit delay interval Specifies the delay after which an interface transmits a link state update packet in the unit of seconds The value range is 1 65535 The default value is 1 second ZXR10 config ospfv3 process id if interface name dead interval interval Specifies the aging time of neighbors on an interface in the unit of seconds The value range is 1 65535 The d...

Page 83: ...et exchange ZXR10 config ospfv3 process id if interface name linklsa suppress enable Suppresses an interface to generate Type 8 link LSA Configuring OSPFv3 Protocol Attributes To configure OSPFv3 protocol attributes perform the following steps Step Command Function 1 ZXR10 config ipv6 router ospf process id Enables an OSPFv3 instance and enters the OSPFv3 configuration mode 2 ZXR10 config process ...

Page 84: ...r is OSPF routes The distribute list out command controls the redistribution of external routes to OSPF areas after Type 5 LSAs are generated This is a supplement of the redistribute command 10 ZXR10 config ospfv3 maximum paths number Sets the maximum number of routes for load sharing in OSPF 11 ZXR10 config ospfv3 passive interface interface name Prohibits OSPFv3 enabled interfaces from sending O...

Page 85: ...the prefix length advertise Enables the advertisement of summary 3 type LSAs not advertise Prohibits the advertisement of summary 3 type LSAs The command parameters in step 5 are described as follows Parameter Description area id Specifies the ID of the area as an IP address of the decimal 0 4294967295 or dotted decimal format A B C D no summary Forbids ABR to send summary information to the stub ...

Page 86: ...7214 The command parameters in step 9 are described as follows Parameter Description access list name The first character can be a digit Use an unused name name of a route map Route map template name in In The template specified is used to filter routes The command parameter in step 10 is described as follows Parameter Description number Maximum number of routes for load sharing in OSPF in the ran...

Page 87: ...OSPFv3 is more complicated There are many fault reasons behind a fault symptom Therefore the maintenance and diagnosis of OSPFv3 is more difficult To maintain and diagnose OSPFv3 use the following commands Command Function ZXR10 config show ipv6 ospf process id Shows an OSPFv3 instance ZXR10 config show ipv6 ospf database Shows the database information about an OSPFv3 instance ZXR10 config show ip...

Page 88: ...tance ID 0 Router ID 1 1 1 8 Network Type LOOPBACK Cost 1 Loopback interface is treated as a stub Host qinq1 is up line protocol is up Link Local Address fe80 2f0 e0ff fe21 201 Interface ID 2 Area 0 0 0 1 Process ID 1 Instance ID 0 Router ID 1 1 1 8 Network Type BROADCAST Cost 10 Transmit Delay is 1 sec State BDR Priority 1 Designated Router ID 1 1 1 9 local address fe80 2f0 e0ff fe21 203 Backup D...

Page 89: ... 2 2 2 2 1046 0x80000001 60 2 Inter Area Prefix Link States Area 0 0 0 1 ADV Router Age Seq Prefix 1 1 1 1 405 0x80000001 2000 64 2 2 2 2 403 0x80000001 1000 64 Intra Area Prefix Link States Area 0 0 0 1 ADV Router Age Seq Link ID Ref lstype Ref LSID 2 2 2 2 1044 0x80000001 7 0x2002 60 Link Type 8 Link States Area 0 0 0 1 ADV Router Age Seq Link ID Interface 1 1 1 1 1911 0x80000001 1186 vlan500 2 ...

Page 90: ... S1 configuration S1 config interface vlan10 S1 config if vlan10 ipv6 enable S1 config if vlan10 ipv6 address 3611 11 64 S1 config if vlan10 exit S1 config interface loopback5 S1 config if loopback5 ipv6 enable S1 config if loopback5 ipv6 address 3555 52 64 S1 config if loopback5 exit S1 config ipv6 router ospf 1 S1 config ospfv3 1 router id 11 11 11 11 S1 config ospfv3 1 interface vlan10 area 0 S...

Page 91: ...ess 1 Neighbor ID Pri State Dead Time Interface ID Interface 10 10 10 10 1 FULL BDR 00 00 35 46 vlan10 S1 show ipv6 forwarding route 3550 55 IPv6 Routing Table Dest Owner Metric Interface Pri Gw 3550 55 128 ospf6 10 vlan10 0 fe80 12 2d0 d0ff feaf cc10 S1 ping6 3550 55 sending 5 100 byte ICMP echoes to 3550 55 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 0 0 0 ms Chec...

Page 92: ...e IPv6 addresses for the loopback interfaces 2 Configure OSPFv3 3 Add the interfaces to OSPFv3 S1 and S2 establish a link with each other in area 0 S2 and S3 establish a link with each other in area 10 and S1 redistributes the direct route 4 Check and verify the configuration results Neighbors are correctly established between the routers each router can learn the routes advertised by the other tw...

Page 93: ...S2 config if loopback5 ipv6 enable S2 config if loopback5 ipv6 address 3550 52 64 S2 config if loopback5 exit S2 config ipv6 router ospf 1 S2 config ospfv3 1 router id 10 10 10 10 S2 config ospfv3 1 interface vlan10 area 0 S2 config ospfv3 1 if vlan10 exit S2 config ospfv3 interface loopback5 area 0 S2 config ospfv3 if loopback5 exit S2 config ospfv3 interface vlan20 area 10 S2 config ospfv3 if vl...

Page 94: ...6 router ospf 1 router id 11 11 11 11 redistribute connected redistribute static interface vlan100 area 0 0 0 0 instance 0 interface loopback5 area 0 0 0 0 instance 0 ospfv3 R1 show ipv6 ospf neighbor OSPFv3 Process 1 Neighbor ID Pri State Dead Time Interface ID Interface 10 10 10 10 1 FULL BDR 00 00 35 46 vlan10 R1 show ipv6 forwarding route 3550 55 IPv6 Routing Table Dest Owner Metric Interface ...

Page 95: ...0ff fe78 99dd 3500 55 128 ospf6 10 vlan20 0 fe80 2d 1416 15ff fe14 1212 R2 ping6 3555 55 sending 5 100 byte ICMP echoes to 3555 55 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 0 0 0 ms Check and verify the configuration results as follows on R3 R3 show running config ospfv3 OSPFV3 ipv6 router ospf 1 router id 1 1 1 5 interface vlan20 area 0 0 0 10 instance 0 interfac...

Page 96: ... vrrp A address M multicast UI user ipaddr Dest Owner Metric Interface Pri Gw 3550 52 128 O 1 vlan101 110 fe80 2d0 d0ff fe0a b20 3555 52 128 O 2 vlan101 110 fe80 2d0 d0ff fe0a b20 3611 64 O 2 vlan101 110 fe80 2d0 d0ff fe0a b20 R3 ping6 3555 55 sending 5 100 byte ICMP echoes to 3555 55 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 0 0 0 ms 7 20 SJ 20150114102049 011 20...

Page 97: ...s It uses the SPF algorithm to obtain the optimal route according to the link status database and then adds the route to the 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 ide...

Page 98: ...D of a route instance 2 ZXR10 config isis 0 area area address Designates the area address of IS ISv6 3 ZXR10 config isis 0 interface interface name Adds an interface to the IS ISv6 route entity 4 ZXR10 config isis 0 if vlan100 ipv6 router isis Runs the IS ISv6 protocol on an interface For a description of the parameters in Step 1 refer to the following table Parameter Description process id IS IS ...

Page 99: ... address of IS ISv6 2 2 ZXR10 config isis 0 system id system id ra nge range number Configures the system ID of IS ISv6 2 3 ZXR10 config isis 0 authentication type md5 text level 1 level 2 Configures the authentication mode of the IS ISv6 route entity 2 4 ZXR10 config isis 0 ignore lsp errors disable Sets the IS ISv6 to ignore LSP checksum errors 2 5 ZXR10 config isis 0 is type level 1 level 2 onl...

Page 100: ...0 hostname dynamic disable enable Configures the dynamic host name mapping function of IS ISv6 2 17 ZXR10 config isis 0 hello padding multi point point to point Pads 0 to each hello packet sent on the interface till the packet size equals the MTU value of the interface 3 ZXR10 config isis 0 address family ipv6 Enters the IPv6 family configuration mode 4 1 ZXR10 config isis 0 af distance 1 255 Conf...

Page 101: ...igured For a description of the parameters in Step 2 1 refer to the following table Parameter Description area address Specifies the area address which is a hexadecimal string of 1 to 13 bytes For a description of the parameters in Step 2 2 refer to the following table Parameter Description system id Specifies the System ID of the instance which is a hexadecimal string of 6 bytes in the form of xx...

Page 102: ... the parameters in Step 2 7 refer to the following table Parameter Description interval Specifies the maximum LSP lifetime in the unit of seconds The value range is 1 65535 The default value is 1 200 seconds Set the maximum LSP lifetime of the local IS IS that is the lifetime of LSP packets locally generated in the databases of all the reachable nodes By default the maximum lifetime of LSP packets...

Page 103: ...disable snp authentication For a description of the parameters in Step 2 13 refer to the following table Parameter Description number Specifies the number of parallel routes supported The value range is 1 32 If the maximum paths parameter is not specified only one parallel route is supported by default For a description of the parameters in Step 2 14 refer to the following table Parameter Descript...

Page 104: ...description of the parameters in Step 4 3 refer to the following table Parameter Description protocol Specifies the route origin which can be connect static rip ospf or bgp This parameter is mandatory To redistribute IS IS OSPF routes it is necessary to specify the instance number level 1 level 2 level 1 2 Specifies the redistribution range The default value is level 2 metric metric value Specifie...

Page 105: ...onfiguring IS ISv6 Interface Parameters The interface parameters of IS ISv6 need to be set in interface mode To configure the interface parameters of the IS ISv6 protocol perform the following steps Step Command Function 1 ZXR10 config router isis process id vrf vrf name Enables the IS ISv6 routing protocol process 2 ZXR10 config isis 0 interface interface name Configures the IS ISv6 protocol on t...

Page 106: ...v6 hello packets 3 9 ZXR10 config isis 0 if vlan100 authenticat ion key encrypt key clear key level 1 level 2 Configures the authentication of IS ISv6 hello packets 3 10 ZXR10 config isis 0 if vlan100 priority priority level 1 level 2 Configures the IS ISv6 password on the broadcast network interface 3 11 ZXR10 config isis 0 if vlan100 retransmit i nterval interval level 1 level 2 Configures the i...

Page 107: ...ter Description interval Specifies the interval at which the IS ISv6 protocol sends CSNP packets in the unit of seconds The value range is 1 65535 The default value is 10 seconds for a broadcast link and 3 600 seconds for a point to point link level 1 level 2 Specifies the applicable scope of the CSNP interval level 1 CSNP or level 2 CSNP By default the interval takes effect for both level 1 and l...

Page 108: ...ult value is 3 seconds level 1 level 2 Specifies the applicable scope of the PSNP interval level 1 PSNP or level 2 PSNP By default the interval takes effect for both level 1 and level 2 In general PSNP is used in point to point networks When the optional parameter is not carried in the command the set interval takes effect for both level 1 PSNP and level 2 PSNP on the interface For a description o...

Page 109: ...arameter Description interval Specifies the retransmission interval in the unit of seconds The value range is 1 65535 The default value is 5 seconds level 1 level 2 Specifies the applicable scope of the LSP retransmission interval level 1 or level 2 By default the interval takes effect for both level 1 and level 2 The above parameter settings exist only for point to point links When the optional p...

Page 110: ...rmation ZXR10 config show isis ipv6 route process id summary process id process id Shows the current IS ISv6 route table ZXR10 config show isis ipv6 topology level 1 proc ess id process id level 2 process id process id process id process id Shows IS ISv6 topology information ZXR10 config show isis hostname process id process id Shows current IS ISv6 hostname information ZXR10 config show isis mesh...

Page 111: ...the interface name System ID Indicates the system ID of the neighbor displayed as the mapped hostname State Indicates the status which may be UP or INIT Level Indicates the level which may be L1 L2 or L1L2 Holds Indicates the hold time SNPA Indicates the port address of the neighbor in the format of snpa type xx xx xx xx xx xx Pri Indicates the priority of DIS election MT Indicates that the peer s...

Page 112: ...orted protocol Hostname Indicates the host name Ip Address Indicates the port IP address IPv6 Address Indicates the port IPv6 address Inter Domain Info Indicates the inter domain information Tag The following is a sample output from the show isis circuit command ZXR10 config show isis circuits Process ID 0 Interface State Lev CirId Level1 DR Level2 DR Pri L1 L2 vlan1 Up L1L2 2 Dis is me Dis is me ...

Page 113: ... routes ZXR10 config isis 0 show isis ipv6 rib summary process id 1 Porcess ID 1 There are totally 2 routes For a description of the sample output from the show isis ipv6 route command refer to the following table Command Output Description I1 ISIS L1 route information I2 ISIS L2 route information The following is a sample output from the show isis topology command ZXR10 config show isis ipv6 topo...

Page 114: ...ddresses for the direct connection interfaces configure loopback interfaces enable IPv6 on the loopback interfaces and configure IPv6 addresses for the loopback interfaces 2 Configure the IS ISv6 protocol and 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 m...

Page 115: ...onfig router isis S1 config isis 0 area 47 0005 S1 config isis 0 system id 0000 0000 0011 S1 config isis 0 metric style wide S1 config isis 0 interface vlan10 S1 config isis 0 if vlan10 ipv6 router isis S1 config isis 0 if vlan10 exit S1 config isis 0 interface loopback5 S1 config isis 0 if loopback5 ipv6 router isis S1 config isis 0 if loopback5 exit S1 config isis 0 address family ipv6 S1 config...

Page 116: ...ing config isis to check the IS IS configuration information as follows ZXR10_S1 show running config isis ISIS router isis area 47 0005 system id 0000 0000 0011 metric style wide address family ipv6 multi topology interface vlan10 ipv6 router isis interface loopback5 ipv6 router isis ISIS Run the command show isis adjacency to check whether the neighbor status is normal that is check whether the s...

Page 117: ...e State Lev CirId Level1 DR Level2 DR Pri L1 L2 loopback5 Up L1L2 0 No found No found 64 64 vlan10 Up L1L2 6 0000 0000 0010 03 0000 0000 0010 03 64 64 Run the command show ipv6 forwarding route isis_l1 or show ipv6 forwarding route isis_l2 to check route advertisement If route advertisement is normal the route advertised by the loopback interface of the peer router can be seen ZXR10_S1 show ipv6 f...

Page 118: ...w 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 vlan10 Up L1L2 3 Dis is me Dis is me 64 64 ZXR10_S2 show ipv6 forwarding route isis_l1 IPv6 Routing Table Dest Owner Metric Interface Gw 3555 64 isis_l1 20 vlan10 fe80 2e 2d0 d0ff fe78 99dd ZXR10_S2 ping6 3555 55 sending 5 100 byte ICMP echoes to 3555 55 time...

Page 119: ...that the system ids of the routers are not the same Establish L2 neighbors between S2 and S1 S3 and establish L1 neighbors between S3 and S4 Here the multi topology environment is taken as an example 3 Enable the IS ISv6 protocol on the interfaces 4 Enable route aggregation on S1 5 Redistribute the direct route on S4 6 Check and verify the configuration results The routers can correctly establish ...

Page 120: ...uter isis S1 config isis 0 if loopback1 circuit type level 2 S1 config isis 0 if loopback1 exit S1 config isis 0 interface loopback2 S1 config isis 0 if loopback2 ipv6 router isis S1 config isis 0 if loopback2 circuit type level 2 S1 config isis 0 if loopback2 exit S1 config isis 0 interface loopback3 S1 config isis 0 if loopback3 ipv6 router isis S1 config isis 0 if loopback3 circuit type level 2...

Page 121: ...ig if exit S3 config interface vlan30 S3 config if ipv6 enable S3 config if ipv6 address 2300 3 64 S3 config if exit S3 config router isis S3 config isis 0 area 02 S3 config isis 0 system id 0000 0000 0013 S3 config isis 0 is type level 1 2 S3 config isis 0 metric style wide S3 config isis 0 interface vlan20 S3 config isis 0 if vlan20 ipv6 router isis S3 config isis 0 if vlan20 circuit type level ...

Page 122: ...it S4 config isis 0 address family ipv6 S4 config isis 0 af multi topology S4 config isis 0 af redistribute connected level 1 metric 10 S4 config isis 0 af end Configuration Verification After the configuration is completed run the show command on each router to check the configuration information Neighbors are correctly established the topology is computed and interfaces can be pinged First verif...

Page 123: ...esults will indicate the following item If the metric is it indicates the local router If the metric is xx it indicates that the destination is unreachable ZXR10_S1 show isis ipv6 topology IS IS IPv6 paths to Level 1 routers System id Metric Next Hop Interface SNPA 0000 0000 0011 IS IS IPv6 paths to Level 2 routers System id Metric Next Hop Interface SNPA 0000 0000 0012 10 0000 0000 0012 vlan10 00...

Page 124: ...pv6 router isis circuit type level 2 only interface vlan20 ipv6 router isis circuit type level 2 only ISIS ZXR10_S2 show isis adjacency Interface System id State Lev Holds SNPA 802 2 Pri MT vlan10 0000 0000 0011 UP L2 25 00D0 D078 99DD 64 M vlan20 0000 0000 0013 UP L2 25 00D0 D078 99D3 64 M ZXR10_S2 show isis ipv6 topology IS IS IPv6 paths to Level 1 routers System id Metric Next Hop Interface SNP...

Page 125: ...02 system id 0000 0000 0013 is type level 1 2 metric style wide address family ipv6 multi topology interface vlan20 ipv6 router isis circuit type level 2 only interface vlan30 ipv6 router isis circuit type level 1 ISIS ZXR10_S3 show isis adjacency Interface System id State Lev Holds SNPA 802 2 Pri MT vlan30 0000 0000 0014 UP L1 25 00D0 D078 99D4 64 M vlan20 0000 0000 0012 UP L2 25 00D0 D078 99D2 6...

Page 126: ...style wide address family ipv6 multi topology redistribute connected level 1 metric 10 interface vlan20 ipv6 router isis circuit type level 2 only ISIS ZXR10_S4 show isis adjacency Interface System id State Lev Holds SNPA 802 2 Pri MT vlan30 0000 0000 0013 UP L1 25 00D0 D078 99D3 64 M ZXR10_S4 show isis ipv6 topology IS IS IPv6 paths to Level 1 routers System id Metric Next Hop Interface SNPA 0000...

Page 127: ...Chapter 8 IS ISv6 Configuration Success rate is 100 percent 5 5 round trip min avg max 56 93 102 ms 8 31 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 128: ...ZXR10 5900E Series Configuration Guide IPv6 This page intentionally left blank 8 32 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 129: ...d BGP alliance as defined in RFC 1966 and RFC 1997 It has the following features l Supporting route aggregation l Employing TCP as the bottom layer protocol and using TCP port 179 to guarantee reliable running l Transmitting route updates only l Periodically sending the keepalive signal to guarantee normal TCP connections l Possessing complete metrics l Boasting of abundant attributes and powerful...

Page 130: ...ws the states of all BGP neighbors The following is a sample output from the show ip bgp protocol command E1 show ip bgp protocol BGP router ID is 1 1 1 11 Local as is 100 Hold time is 180 seconds KeepAlive time is 60 seconds Default local preference is 100 Default export metric is 0 IPv4 IGP synchronization is disabled IPv6 IGP synchronization is disabled Default information advertise is disabled...

Page 131: ...synchronization is disabled BGP routing table is not synchronized with IPv6 IGP routing table by default they are not synchronized Default export metric is 0 Indicates the default export metric is 0 Distance external 20 internal 200 Indicates that the external administrative distance is 20 and the internal administrative distance is 200 The following is a sample output from the show bgp ipv6 unica...

Page 132: ...vpnv4 refreshes 0 ipv4 refreshes 0 ipv4 multicast refreshes 0 ipv6 refreshes 0 ipv6 multicast refreshes 0 vpnv6 refreshes 0 notifications For address family IPv4 Unicast no activate All received nlri 0 unnlri 0 0 accepted prefixes All sent nlri 0 unnlri 0 0 advertised prefixes Maximum limit 4294967295 Threshold for warning message 75 Minimum time between advertisement runs is 30 seconds Minimum ti...

Page 133: ...31 0 1 BGP 4 is used The peer BGP router ID is 218 231 0 1 BGP state Established up for 00 13 58 Neighbor relation state is Established The session has been established for 13 minutes 58 seconds hold time is 90 seconds keepalive interval is 30 s The hold time is 90 seconds and the Keepalive interval is 30 seconds Neighbor capabilities The capability to describe the peer Route refresh advertised an...

Page 134: ...ighbor MED attribute is sent to local device All received nlri 5 unnlri 0 5 accepted prefixes There are 5 NLRI messages no withdraw message and 5 unicast prefixes received All sent nlri 7 unnlri 6 1 advertised prefixes There are 7 NLRI messages 6 withdraw message and 1 unicast prefix received Maximum limit 4294967295 Threshold for warning message 75 The maximum limit is 4294967295s The threshold t...

Page 135: ...uter itself Metric Indicates the route metric LocPrf Indicates the local preference of the routes learned by BGP RtPrf Distance of the route The default distance of the EBGP advertised route is 20 and the distance of the IBGP advertised route is 200 Path Indicates the route origin which can be one of IGP EGP and incomplete The following is a sample output from the show bgp ipv6 unicast summary com...

Page 136: ...ormation about the alarm The alarm code indicates the essence of the alarm and enables the alarm console to learn what the alarm is An alarm may also carry some additional information such as the alarm cause For details about BGP alarms refer to the relevant alarm reference manual 9 4 BGP4 Configuration Examples 9 4 1 BGP4 Route Reflector Configuration Example Configuration Description In a networ...

Page 137: ...address family ipv6 S1 config bgp af ipv6 neighbor 3fe6 1 activate S1 config bgp af ipv6 neighbor 2010 126 activate S1 config bgp af ipv6 end S2 configuration S2 config router bgp 200 S2 config bgp neighbor 6e22 1 remote as 500 S2 config bgp neighbor 3331 100 remote as 200 S2 config bgp address family ipv6 S2 config bgp af ipv6 neighbor 6e22 1 activate S2 config bgp af ipv6 neighbor 3331 100 activ...

Page 138: ...tion and Message Digest 5 Algorithm MD5 encryption As shown in Figure 9 2 EBGP neighbors are established between S4 and S1 IBGP neighbors are established between S1 and S2 and multi hop EBGP neighbors are established between S2 and S5 S2 and S5 establish an EBGP multi hop relation through S3 Before BGP is configured it is necessary to ensure that the addresses used for neighbor establishment betwe...

Page 139: ... 2007 5 remote as 3 S2 config bgp neighbor 2007 5 ebgp multihop S2 config bgp neighbor 2007 5 password hello S2 config bgp address family ipv6 S2 config bgp af ipv6 neighbor 2003 1 activate S2 config bgp af ipv6 neighbor 2007 5 activate S2 config bgp af ipv6 end S5 configuration ZXR10_S5 config router bgp 3 S5 config bgp neighbor 2005 2 remote as 1 S5 config bgp neighbor 2005 2 ebgp multihop S5 co...

Page 140: ...g show bgp ipv6 unicast Status codes valid best i internal 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 command show bgp ipv6 unicast summary on S4 to check the adjacency as shown below ZXR10_S4 config show bgp ipv6 unicast summary Neighbor Ver As MsgRcvd...

Page 141: ...heck the routing table as shown below ZXR10_S5 config show bgp ipv6 unicast Status codes valid best i internal 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 9 13 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 142: ...ZXR10 5900E Series Configuration Guide IPv6 This page intentionally left blank 9 14 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 143: ...g the configuration For details about the configuration commands refer to the section about QoS configuration in the QoS Volume 10 3 IPv6 QoS Configuration Examples l Configuration Description As shown in Figure 10 1 user1 accesses the system via the interface gei 0 1 1 1 whereas user2 accesses the system via the interface gei 0 1 1 2 The DSCP values are 1 and 2 respectively Packets are sent via t...

Page 144: ... config pm qos conform dscp 1700 ZXR10 config pm qos conform dscp 2710 ZXR10 config pm qos trust dscp gei 0 1 1 3 enable ZXR10 config pm qos traffic shape gei 0 1 1 3 queue 0 min gua datarate 100000 max datarate limit 150000 l Configuration Verification Run the command show running config pm qos to check the CAR SET configured on the interface ZXR10 config pm qos show running config pm qos pm qos ...

Page 145: ...warding and multicast path establishment of IPv6 are similar to those of IPv4 Multicast Address 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 packet s...

Page 146: ...de Multicast Listener Discovery MLD MLD Snooping IPv6 Protocol Independent Multicast PIM and IPv6 MBGP 1 Multicast routing group management protocol MLD originate from 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 of ...

Page 147: ...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 11 2 Configuring Public IP Multicast To configure public IPv6 multicast on ZXR10 5900E perform the following steps Step Command Function ZXR10 config ipv6 multicast routing Enables IPv6 multicast function 1 ZXR10 config no ipv6 multicast routing ...

Page 148: ...scription source address Source address in the X X X X format group address Group address in the X X X X format The command parameter in Step 6 is described as follows Parameter Description group address Group address in the X X X X format 11 4 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 149: ...ticast router sends group member query messages to all hosts periodically to know the group members on the interconnected subnets 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 member of the group When a host begins to receive in...

Page 150: ... on an interface That whether MLD is enabled on an interface is controlled by whether PIM is enabled on an interface Use the no format of this command to delete the interface configuration and restore the default configuration 3 ZXR10 config mcast mld ipv6 ssm map static access list number default source address Configures mapping from groups in a specified range to the source 4 ZXR10 config mcast...

Page 151: ...Command Function ZXR10 config mcast mld if interface name access group access list number Configures the range of groups allowing MLD join 1 ZXR10 config mcast mld if interface name no access group Deletes the join group ZXR10 config mcast mld if interface name static group group address source source address include exclude ssm map Binds a group address on an interface statically 2 ZXR10 config m...

Page 152: ...aracters By default when a device receives an MLD leaving message the group member will leave the group if it does not receive any report message within last member query interval 2 1 seconds If no option is configured in the command it takes effect in all multicast groups Configuring MLD Timers After MLD is enabled on interfaces of multicast routers in a shared segment an optimal interface will b...

Page 153: ... time ZXR10 config mcast mld if interface name queri er timeout seconds Configures the MLD querier timeout time 3 ZXR10 config mcast mld if interface name no querier timeout Restores the default MLD querier timeout time ZXR10 config mcast mld if interface name last me mber query interval seconds Configures MLD query interval of a specified group 4 ZXR10 config mcast mld if interface name no last m...

Page 154: ...ng table Parameter Description times Robust variable Range 2 7 default 2 12 3 Maintaining MLD To maintain MLD run the following commands Command Function ZXR10 show ipv6 mld interface interface name Shows MLD configuration on an interface ZXR10 show ipv6 mld groups interface name group address detail Shows MLD group join information on an interface ZXR10 show ipv6 mld packet count interface name S...

Page 155: ...ever expire Inbound MLD access group is not set MLD immediate leave control is not set The following is a sample output from the show ipv6 mld groups command ZXR10 config pimsm ipv6 if show ipv6 mld groups Group addr Interface Present Expire Last Reporter ff88 1 loopback1 00 00 16 never ff88 2 loopback1 00 00 16 never For a description of the sample output refer to the following table Command Outp...

Page 156: ...6 multicast routing 3 Enter PIM route mode and then enter the interfaces 4 Enable PIM SM in interface configuration mode Configuration Commands S1 configuration S1 config interface vlan1 S1 config if vlan1 ipv6 enable S1 config if vlan1 ipv6 address 100 1 64 S1 config if vlan1 exit S1 config ipv6 multicast routing S1 config mcast ipv6 router pim S1 config mcast ipv6 pim interface vlan1 S1 config m...

Page 157: ...and verify the configuration results as follows on S2 S1 show ipv6 mld interface vlan2 vlan2 Internet address is 100 2 MLD is enabled on interface Current MLD version is 2 MLD query interval is 125 seconds MLD last member query interval is 1 seconds MLD query max response time is 10 seconds MLD querier timeout period is 255 seconds MLD robustness variable is 2 MLD querier is fe80 2d0 d0ff fe06 606...

Page 158: ...n1 ipv6 address 100 1 64 S1 config if vlan1 exit S1 config ipv6 multicast routing S1 config mcast ipv6 router pim S1 config mcast ipv6 pim interface vlan1 S1 config mcast ipv6 pim if vlan1 pimsm S1 config mcast ipv6 pim if vlan1 end S1 configure terminal S1 config ipv6 multicast routing S1 config mcast ipv6 router mld S1 config mcast ipv6 mld interface vlan1 S1 config mcast ipv6 mld if vlan1 stati...

Page 159: ...ast reporter fe80 2d0 d0ff fe06 606 Group source list is empty Interface vlan1 Group ffee 1 Flags S Uptime 21 51 20 Group mode INCLUDE Last reporter fe80 2d0 d0ff fe06 606 Group source list R Report M SSM Mapping S Static Source addr Present Expires Fwd Flag 200 1 00 03 50 Never Yes S Interface vlan1 Group ffee 2 Flags S Uptime 21 51 18 Group mode INCLUDE Last reporter fe80 2d0 d0ff fe06 606 Group...

Page 160: ...ZXR10 5900E Series Configuration Guide IPv6 This page intentionally left blank 12 12 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 161: ...ed by the control packets PIM SM Principle PIM SM sends multicast packets by using a shared tree A shared tree has a 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 receivi...

Page 162: ...cast switch connects to a receiver directly it can switch to the SPT from the shared tree When the RP receives a Register message sent from a new multicast source the RP will return a Join message to the DR directly connecting to the multicast source Thus the SPT from the source to the RP is constructed After a DR or a switch directly connecting to multicast members receives the first multicast pa...

Page 163: ...fig mcast ipv6 router pim Enables IPv6 PIM SM 1 ZXR10 config mcast ipv6 no router pim Disables PIM SM ZXR10 config mcast ipv6 pim static rp ip address p riority priority Configures a static RP ZXR10 config mcast ipv6 pim no static rp ip address priority priority Deletes a static RP ZXR10 config mcast ipv6 pim rp candidate ip address priority priority Configures a candidate BSR ZXR10 config mcast i...

Page 164: ...cast ipv6 pim if vlan1 no dr priority Configures the DR priority on a IPv6 PIM SM interface ZXR10 config mcast ipv6 pim if vlan1 bsr border ZXR10 config mcast ipv6 pim if vlan1 no bsr border Sets an interface to the border of the IPv6 PIM SM domain 3 ZXR10 config mcast ipv6 pim if vlan1 hello inter val seconds ZXR10 config mcast ipv6 pim if vlan1 no hello interval Configures the interval to send H...

Page 165: ...candidate RP 6 ZXR10 config mcast ipv6 pim anycast rp local ipv6 address Configures the anycast rp local address 7 ZXR10 config mcast ipv6 pim anycast rp peer ipv6 address Configures the anycast rp peer address The command parameters in Step 3 are described as follows Parameter Description ip address Static RP address in the X X X X format priority Priority in the range of 0 255 with the default v...

Page 166: ... the default value of 192 In PIM SM a RP is the root of the RPT It is responsible for sending multicast packets to downstream multicast receiving members along the RPT There should be only one formal RP in each multicast group Usage descriptions of a candidate RP 1 The default priority of a candidate RP is 192 The RP with the smallest priority value will become the RP If some candidate RPs have th...

Page 167: ...s set to infinity handover will not be performed By default as long as there is traffic handover is performed The command parameters in Step 2 are described as follows Parameter Description priority DR priority on a PIM interface in the range of 0 4294967295 with the default value of 1 A DR must be elected in a shared or multi access segment The candidate DR with the highest priority will become t...

Page 168: ...ello messages on vlan1 ZXR10 config mcast ipv6 router pim ZXR10 config mcast ipv6 pim interface vlan1 ZXR10 config mcast ipv6 pim if vlan1 hello interval 25 ZXR10 config mcast ipv6 pim if vlan1 exit Configuring an IPv6 PIM SM Control Policy To configure an IPv6 PIM SM control policy on ZXR10 5900E perform the following steps Step Command Function 1 ZXR10 config mcast ipv6 pim accept register acces...

Page 169: ...ZXR10 config show ipv6 pim rp hash group address Displays the RP information selected by a specific multicast group ZXR10 config show ipv6 pim interface interface name Displays the interface on which IPv6 PIM SM is configured ZXR10 config show ipv6 pim neighbor interface name Displays the neighbor information of a PIM SM interface ZXR10 config show ipv6 pim nexthop Displays the PIM SM next hop inf...

Page 170: ...an2 LocalIn ImoXG The outputs of the command show ipv6 pim mroute is as follows Command Output Description Ind PIM local join state RPF nbr RPF neighbor The following example shows the outputs of the show ipv6 pim mroute summary command ZXR10 show ipv6 pim mroute summary IPv6 PIM SM Multicast Routing Table Summary G 6 S G 0 S G rpt 0 Register 0 ff88 1 JOINED RP 2002 20 ff88 2 JOINED RP 2002 20 ff8...

Page 171: ...nfigured locally CRP IP address interface number priority and other information of the RP configured locally The following example shows the outputs of the show ipv6 pim rp mapping command ZXR10 config mcast ipv6 pim show ipv6 pim rp mapping ff02 16 RP Protocol L Local RPF Info source Default Expires ff10 15 RP Protocol NOUSED RPF Info source Default Expires ff12 16 RP Protocol L Local RPF Info so...

Page 172: ...bed as follows Command Output Description rp address RP address selected by a specific multicast group The following example shows the outputs of the show ipv6 pim interface command ZXR10 show ipv6 pim interface vlan1 Interface State Nbr Hello DR Count Period Priority vlan1 Up 1 30 1 Address fe80 2e0 d0ff fe21 203 DR fe80 2e0 d0ff fe21 205 The outputs of the show ipv6 pim interface command are des...

Page 173: ...6 pim nexthop IPv6 PIM SM Nexthop Table Nexthop state R Nexthop to RP S Nexthop to Source O Related with Unicast U No Unicast Route L Local Route C Connect to Dest Nexthop 2001 20 00 03 26 Type R L Metric 0 Preference 0 Nexthop address is Local Nexthop port vlan1 Nexthop 2002 20 00 03 26 Type L Metric 0 Preference 0 Nexthop address is Local Nexthop port vlan1 The outputs of the show ipv6 pim nexth...

Page 174: ...st Ast C RP Ad RCV_type 641 0 0 0 0 0 0 SEND_type 1964 0 0 0 0 0 0 pkt_rcv_all 1281 pkt_rcv_error 640 pkt_rcv_ok_notpim 0 xg_Prune_rcv 0 sg_Prune_rcv 0 igmp_xglev_rcv 0 igmp_sginlev_rcv 0 pkt_send_all 1964 data_rcv_all 0 wrong_data_rcv 0 data_send_all 0 wrong_data_send 0 The outputs of the show ipv6 pim traffic command are described as follows Command Output Description Interface Interface name He...

Page 175: ...packets received by the IPv6 PIM SM instance igmp_sginlev_rcv Number of igmp sg include leave packets received by the IPv6 PIM SM instance pkt_send_all Number of protocol packets sent by the IPv6 PIM SM instance data_rcv_all Number of data packets received by the IPv6 PIM SM instance wrong_data_rcv Number of incorrect data packets received by the IPv6 PIM SM instance data_send_all Number of data p...

Page 176: ...type 0 0 0 0 0 0 0 SEND_type 0 0 0 0 0 0 0 pkt_rcv_all 0 pkt_rcv_error 0 pkt_rcv_ok_notpim 0 xg_Prune_rcv 0 sg_Prune_rcv 0 igmp_xglev_rcv 0 igmp_sginlev_rcv 0 pkt_send_all 0 data_rcv_all 0 wrong_data_rcv 0 data_send_all 0 wrong_data_send 0 13 4 IPv6 PIM SM Configuration Example General Description As shown in Figure 13 1 an MLD group connects to S2 and a multicast source connects to S1 It is requi...

Page 177: ...S1 config mcast ipv6 pim if vlan1 pimsm S1 config mcast ipv6 pim if vlan1 exit S1 config mcast ipv6 pim interface vlan2 S1 config mcast ipv6 pim if vlan2 pimsm S1 config mcast ipv6 pim if vlan2 dr priority 20 S1 config ipv6 route 100 1 128 199 2 S2 configuration S2 config ipv6 multicast routing S2 config mcast ipv6 router pim S2 config mcast ipv6 pim rp candidate loopback5 S2 config mcast ipv6 pim...

Page 178: ... d0ff fe06 606 DR fe80 2d0 d0ff fe06 606 Execute the show ipv6 pim neighbor command on S1 to check the neighbor state as shown below S1 config show ipv6 pim neighbor Neighbor Address es Interface Uptime Expires DR Pri fe80 211 12ff fe51 ea11 vlan1 01 05 20 00 01 25 1 fe80 211 12ff fe51 ea12 vlan2 01 05 20 00 01 30 1 Execute the show ip pim rp mapping command on S1 to check the RP state as shown be...

Page 179: ...ed for PIM SSM is FF3X 32 The switches will 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 switch will send a S G Join message to the direction of the source to construct a SPT The last hop switch will not send a G Join message to the direction of RP Once the SPT is constructed the first hop switch will forward pa...

Page 180: ...10 config mld if static group FF38 2 source 2009 8 ZXR10 config mld if exit ZXR10 config mld ipv6 exit ZXR10 config mcast ipv6 router pimsm ZXR10 config pimsm ipv6 inerface loopback1 ZXR10 config pimsm ipv6 if pimsm ZXR10 config pimsm ipv6 if exit ZXR10 config pimsm ipv6 show ipv6 pimsm mroute IPv6 PIM SM Multicast Routing Table Flags T SPT bit set A Foward J Join SPT U Upsend Macro state Ind Pim ...

Page 181: ...ange of SSM groups 4 Enter VLAN 1 and VLAN 2 to enable the PIM SM protocol 5 Enter MLD route configuration mode and then enter the interfaces to enable MLDv2 6 Send dynamic group Join messages to specific receiving groups Steps S1 configuration S1 config ipv6 multicast routing S1 config mcast ipv6 router pim S1 config mcast ipv6 pim interface vlan1 S1 config mcast ipv6 pim if vlan1 pimsm S1 config...

Page 182: ...interface vlan2 pimsm interface vlan1 pimsm router mld interface vlan2 version 2 MULTICAST6 Check the result of routes on S1 as shown below S1 show ipv6 mroute 100 2 ff3a aaaa 1 RP TYPE DYNAMIC FLAGS NS Incoming interface vlan1 flags NS Outgoing interface list vlan2 14 4 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 183: ...n general the multicast networking structure is the same as the unicast networking structure and the transport path for multicast packets is the same as that for unicast packets RPF routes can be changed through the static multicast route configuration which creates a transport path for multicast packets This path is different from the transport path for unicast packets l Re establishing RPF route...

Page 184: ...otocol 2 ZXR10 config mcast ipv6 ipv6 multicast static limit xg xg limit sg sg limit Configures the maximum number of static multicast routes 3 ZXR10 config mcast ipv6 ipv6 multicast static route source address grou p address iif iif name oif oif index Configures a static multicast routing entry 4 ZXR10 config mcast ipv6 ipv6 multicast static interface index index interface interface name Configur...

Page 185: ... Displays valid interfaces in the egress interface set ZXR10 show ipv6 multicast static route group g roup address source source address source source address Displays the contents in the static multicast routing table ZXR10 show ipv6 multicast static route summary Displays the statistics on the contents in the static multicast routing table 15 4 IPv6 Static Multicast Configuration Example l Confi...

Page 186: ...t xg 1024 sg 1024 S1 config mcast ipv6 ipv6 multicast static interface index 2 interface gei 0 1 1 2 S1 config mcast ipv6 ipv6 multicast static route 1 1 ff88 1 iif gei 0 1 1 1 oif 2 S1 config mcast ipv6 end l Configuration Verification Run the show ipv6 multicast static interface command on S1 to display static multicast information about the interfaces S1 config show ipv6 multicast static interf...

Page 187: ...mit IPv6 packets The ISATAP tunnel is mainly used to connect two IPv6 forwarding devices and connect an IPv6 host to an IPv6 forwarding device on an IPv4 network ISATAP Tunnel Principle ISATAP encapsulation principle and decapsulation principle are described below l Encapsulation principle When an IPv6 is sent the egress is an tunnel interface The tunnel type is judged according to packet call bac...

Page 188: ...10 config interface v6_tunnel1 tunnel_no Creates an IPv6 tunnel interface Use the no format of this command to delete a tunnel interface 2 ZXR10 config if ipv6 enable Enables IPv6 3 ZXR10 config if 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 interfa...

Page 189: ...Figure 16 2 assume that S1 and S2 are dual stack switches PC1 and PC2 are IPv6 hosts It is required to configure an ISATAP tunnel Figure 16 2 ISATAP Configuration Example Method To configure an ISATAP tunnel it is necessary to enable IPv6 and bind the IPv4 address of the switch at the source end of the tunnel It is unnecessary to configure the destination address The configuration steps are descri...

Page 190: ... S2 config interface vlan10 S2 config ip add 1 1 1 2 255 255 255 0 S2 config interface v6_tunnel2 S2 config if v6_tunnel2 ipv6 add 81 64 eui S2 config if v6_tunnel2 ipv6 enable S2 config if v6_tunnel2 S2 config ipv6 tunnel config S2 config ipv6 tunnel interface v6_tunnel2 S2 config ipv6 tunnel if v6_tunnel2 tunnel mode ipv6ip isatap S2 config ipv6 tunnel if v6_tunnel2 tunnel source ipv4 1 1 1 2 S2...

Page 191: ...L Execute the show ipv6 interface brief v6_tunnel2 command on S1 to view the tunnel interface information as shown below S1 config show ipv6 interface brief v6_tunnel2 v6_tunnel2 up up fe80 5efe 101 101 82 5efe 101 101 64 EUI 16 5 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 192: ...ZXR10 5900E Series Configuration Guide IPv6 This page intentionally left blank 16 6 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 193: ...e To query the learned PMTU on the ZXR10 5900E perform the following step Command Function ZXR10 show ipv6 pmtu Queries the PMTU Example The following is a sample output from the ZXR10 show ipv6 pmtu command ZXR10 show ipv6 pmtu MTU Since Timeout Dest Vrfname Vpnid 1300 19s 9m41s 3ffe 320e 1 211 2 zte 1400 27s 9m33s 3ffe 3000 1 211 2 zte 17 1 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary a...

Page 194: ...ZXR10 5900E Series Configuration Guide IPv6 This page intentionally left blank 17 2 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 195: ...re one end sends packets the other end must acknowledge the packet sent before Using this method packets can be transmitted reliably The window mechanism can greatly improve the network throughput Congestion mechanism and retransmission mechanism can solve the packet delay and retransmission faults The state machine and timers are key to TCP6 data transmission 18 2 Configuring the TCP6 To configur...

Page 196: ...o command to restore the value to the default 5 packets 5 ZXR10 clear tcp6 connect local ip address vrf vrf name local ip address local port remote ip addre ss remote port Clears a TCP6 connection 6 ZXR10 clear tcp6 statistics Clears the TCP6 statistics information 7 ZXR10 clear tcp6 tcb tcb index Clears the TCP6 control block information The range of tcb index is 1 4294967295 The command paramete...

Page 197: ...01 10 3183 ESTAB 10 2001 1 23 2001 10 3182 ESTAB 7 2001 1 23 2001 6 1380 ESTAB Parameter descriptions are as follows Command Output Description 2001 1 23 2001 10 2382 ESTAB The index of the current control block is 10 l Local Address Local address and the port l Foreign Address Remote address and the port l State State of the TCP connection The following is a sample output from the show tcp6 confi...

Page 198: ...mitted 0 data packets 0 bytes 0 data packets 0 bytes retransmitted 0 ack only packets 0 delayed 0 window probe packets 0 window update packets 0 Connections initiated 0 connections accepted 0 connections established 0 Connections closed including 0 dropped 0 embryonic dropped 0 Total rxmt timeout 0 connections dropped in rxmt timeout 0 Keepalive timeout 0 keepalive probe 0 connections dropped in k...

Page 199: ...st 2345 6 7 8 fff 2 1 b Foreign port 39647 iss 435911597 snduna 435911882 sndnxt 435911882 sndwnd 3844 irs 3391817218 rcvnxt 3391817259 rcvwnd 8192 SRTT 8 ms RTTO 4 ms RTV 0 ms minRTT 2 ms maxRTT 0 ms ACK hold 200 ms Parameter descriptions are as follows Command Output Description show tcp6 tcb 2 Displays the parameters of the connection that corresponds to control block 2 For parameter descriptio...

Page 200: ...ZXR10 5900E Series Configuration Guide IPv6 This page intentionally left blank 18 6 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 201: ...e source port source IP address and the destination port destination IP address to establish a connection between two programs It is a connectionless datagram transmission mechanism When you use the UDP protocol to transmit data there is no reply The sender does not guarantee that the data is sent to the destination and the receiver only arranges the datagram according to the sequence field If a d...

Page 202: ...ZXR10 5900E Series Configuration Guide IPv6 This page intentionally left blank 19 2 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 203: ...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 link with the client Th...

Page 204: ...mation 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 obtained is suitable for the connected links l Renew message 5 A client uses Renew messages to extend the address lease term and update other con...

Page 205: ...n procedure of DHCPv6 messages in a standard network environment Figure 20 2 DHCPv6 Protocol Message Interaction 20 2 Configuring DHCPv6 Configuring the DHCPv6 Server To configure the DHCPv6 server on the ZXR10 5900E perform the following steps Step Command Function 1 ZXR10 config dhcp ipv6 Enters DHCPv6 configuration mode 20 3 SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential...

Page 206: ...connected to the server and has an address assigned 3 ZXR10 config dhcpv6 if mode server relay Enables DHCPv6 working mode of an interface ZXR10 config ipv6 addr pool pool name Enters IPv6 address pool configuration mode ZXR10 config ipv6 addr pool addr range start ipv6 end ipv6 vrf instance vrf name Configures the range of the IPv6 address pool ZXR10 config ipv6 addr pool exclude range start ipv6...

Page 207: ... pool address lifetime valid lifetime infinite preferred lifetime infinite Specifies the life time of the address pool ZXR10 config dhcpv6 pool prefix pool pool name Binds the specified prefix pool to the dhcpv6 pool ZXR10 config dhcpv6 pool prefix lifetime valid lifetime infinite preferred lifetime infinite Specifies the lifetime for the prefix pool ZXR10 config dhcpv6 pool binding c lient duid a...

Page 208: ...HCPv6 policy to a DHCPv6 address pool 7 ZXR10 config dhcpv6 policy link addrss ipv6 address Configures a DHCPv6 policy link address ZXR10 config dhcpv6 interface interface name Enters DHCPv6 interface configuration mode ZXR10 config dhcpv6 if server policy policy name Configures a DHCPv6 server policy on the interface ZXR10 config dhcpv6 if enable server unicast Enables unicast on a DHCPv6 interfa...

Page 209: ...CPv6 configuration mode ZXR10 config dhcpv6 enable Enables the embedded DHCPv6 function 2 ZXR10 config dhcpv6 disable Disables the embedded DHCPv6 function ZXR10 config dhcpv6 relay server group number Enters DHCPv6 relay server group configuration mode from DHCPv6 configuration mode ZXR10 config dhcpv6 relay max user 1 48000 Configures the maximum number of users on the DHCP relay ZXR10 config dh...

Page 210: ... the interface ID format of the DHCPv6 relay 5 ZXR10 config dhcpv6 relay remote id num name Configures the global remote ID of a relay It is not allowed to run this command By default the value is not configured ZXR10 config dhcpv6 interface interface name Enters DHCPv6 interface configuration mode ZXR10 config dhcpv6 if relay agent ipv6 address Configures IP address of an DHCPv6 agent on an inter...

Page 211: ...ntain DHCPv6 run the following commands Command Function ZXR10 show ipv6 dhcp server user interface interface name summary Shows the client information on a DHCPv6 server ZXR10 show ipv6 dhcp relay user interface interface name summary Shows the client information on a DHCPv6 relay ZXR10 show running config dhcpv6 Displays the DHCPv6 information For a description of the parameters refer to the fol...

Page 212: ...XR10 are described below l In global configuration mode configure an IPv6 address an IPv6 pool a DHCPv6 pool and a DHCPv6 policy Enable DHCPv6 function l In interface configuration mode configure an IP address and DHCP server mode Bind the DHCPv6 policy Configuration Thought 1 Enable IPv6 on the interface and configure an IPv6 address 2 Configure an IPv6 address pool and configure related paramete...

Page 213: ...ZXR10 config ipv6 addr pool exit Enable DHCPv6 ZXR10 config dhcp ipv6 ZXR10 config dhcpv6 enable Bind the IPv6 address pool to the DHCPv6 pool ZXR10 config dhcpv6 pool zte ZXR10 config dhcpv6 pool address lifetime 1000 1000 ZXR10 config dhcpv6 pool exit Bind the DHCPv6 pool to the DHCPv6 policy ZXR10 config dhcpv6 policy zte 1 ZXR10 config dhcpv6 policy dhcpv6 pool zte ZXR10 config dhcpv6 policy e...

Page 214: ...80000 Address 86 1 2 preferred lifetime 1000 valid lifetime 1000 expires at 11 08 11 12 07 2010 995 seconds Client DUID 000100014CFBF3DB001094000002 IA NA IA ID 0 T1 50000 T2 80000 Address 86 1 3 preferred lifetime 1000 valid lifetime 1000 expires at 11 08 10 12 07 2010 994 seconds Client DUID 000100014CFBF3DB001094000003 IA NA IA ID 0 T1 50000 T2 80000 Address 86 1 4 preferred lifetime 1000 valid...

Page 215: ...erver group on the relay Bind the group in the relay policy 3 Configure relay agent mode on the interface connected to the PC on the relay 4 The configuration on the server is similar to that on the server in the DHCPv6 Server Configuration Instance It is necessary to specify the IPv6 address of the relay interface in the DHCPv6 policy 5 Configure a static route to the network segment of the relay...

Page 216: ... S1 config dhcpv6 interface vlan10 S1 config dhcpv6 if mode relay S1 config dhcpv6 if relay agent 86 1 1 S1 config dhcpv6 if relay policy 1 S1 config dhcpv6 if exit S1 config dhcpv6 exit Configuration on S2 Configure an interface S2 config swvlan interface gei 0 1 1 2 S2 config swvlan if gei 0 1 1 2 switchport access vlan 20 S2 config swvlan if gei 0 1 1 2 exit S2 config swvlan exit S2 config inte...

Page 217: ...ace S2 config dhcpv6 interface vlan20 S2 config dhcpv6 if mode server S2 config dhcpv6 if server policy zte1 S2 config dhcpv6 if exit Configure a static route S2 config ipv6 route 86 96 87 1 1 Configuration Verification Check the DHCPv6 configuration on S1 as shown below S1 show running config dhcpv6 DHCPV6 dhcp ipv6 enable relay policy 1 default server group 1 relay server group 1 server 1 87 1 2...

Page 218: ... as shown below S2 show ipv6 dhcp server user Client DUID 000100014CFBF3DB001094000001 IA NA IA ID 0 T1 50000 T2 80000 Address 86 1 10 preferred lifetime 10000 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 seco...

Page 219: ... Area IS ISv6 Configuration Example 8 18 Figure 8 2 Multi Area IS ISv6 Configuration Example 8 23 Figure 9 1 BGP4 Route Reflector Configuration Example 9 9 Figure 9 2 BGP4 General Configuration Example 9 10 Figure 10 1 IPv6 CAR SET Configuration Example 10 2 Figure 11 1 Structure of IPv6 Multicast Address on Basis of Unicast Prefix 11 2 Figure 12 1 MLDv1 Configuration Example 12 8 Figure 12 2 Stat...

Page 220: ...ZXR10 5900E Series Configuration Guide IPv6 Figure 20 4 DHCPv6 Relay Configuration Instance 20 13 II SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 221: ... Structures of Link local Address and Site local Address 1 7 Table 1 5 Multicast Address Format 1 8 Table 1 6 Multicast Scope Value 1 8 Table 1 7 IPv6 Address Compression 1 10 Table 7 1 Similarities and Differences Between OSPFv3 LSAs and OSPFv2 LSAs 7 5 Table 11 1 IPv6 Multicast Address Allocation 11 1 III SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 222: ...Tables This page intentionally left blank IV SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 223: ... Detection BGP Border Gateway Protocol BOOTP Bootstrap Protocol BSR Bootstrap Router CAR Committed Access Rate CE Customer Edge DHCP Dynamic Host Configuration Protocol DIS Designate IS DR Designated Router DSCP Differentiated Services Code Point DUID DHCP Unique Identifier IA Identity Association V SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary and Confidential ...

Page 224: ...et Protocol version 4 IPv6 Internet Protocol Version 6 IPX Internetwork Packet Exchange protocol ISATAP Intra Site Automatic Tunnel Addressing Protocol IS IS Intermediate System to Intermediate System ISO International Organization for Standardization ISP Internet Service Provider LAN Local Area Network LDP Label Distribution Protocol LSA Link State Advertisement LSDB Link state Database LSP Label...

Page 225: ...ticast Source Discovery Protocol MTU Maximum Transfer Unit NBMA Non Broadcast Multiple Access NDP Neighbor Discovery Protocol NSAP Network Service Access Point OSI Open System Interconnection OSPF Open Shortest Path First PE Provider Edge PIM SSM Protocol Independent Multicast Source Specific Multicast QoS Quality of Service RD Route Distinguisher RFC Request For Comments VII SJ 20150114102049 011...

Page 226: ...Traffic Engineering RT Route Target SPF Shortest Path First SSM Source Specific Multicast TCP IP Transmission Control Protocol Internet Protocol TLV Tag Length Value TTL Time To Live UDP User Datagram Protocol URPF Unicast Reverse Path Forwarding VPN Virtual Private Network VRF Virtual Route Forwarding WRED Weighted Random Early Detection VIII SJ 20150114102049 011 2015 01 15 R1 0 ZTE Proprietary ...

Reviews: