Professional Documents
Culture Documents
Version: 2.8.23.B2
ZTE CORPORATION
NO. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: +86-755-26771900
Fax: +86-755-26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn
LEGAL INFORMATION
Copyright © 2011 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or
distribution of this document or any portion of this document, in any form by any means, without the prior written
consent of ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by
contractual confidentiality obligations.
All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE
CORPORATION or of their respective owners.
This document is provided “as is”, and all express, implied, or statutory warranties, representations or conditions
are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose,
title or non-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, the user of this document shall not acquire any license to the subject matter
herein.
ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.
Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.
Revision History
I
6.1 RIPng Overview ................................................................................................. 6-1
6.2 Configuring RIPng .............................................................................................. 6-3
6.2.1 Configuring Basic RIPng........................................................................... 6-3
6.2.2 Configuring RIPng Enhanced Function ...................................................... 6-3
6.3 RIPng Configuration Example ............................................................................. 6-4
6.4 RIPng Maintenance and Diagnosis...................................................................... 6-4
II
9.4 BGP4+ Maintenance and Diagnosis .................................................................. 9-10
Figures............................................................................................................. I
Glossary ........................................................................................................ III
III
IV
About This Manual
Purpose
ZXR10 5900E Series (V2.8.23.B2) Easy-Maintenance MPLS Routing Switch User Manual
(IPv6 Volume). It is applicable for ZXR10 5900E series (V2.8.23.B2) easy-maintenance
MPLS routing switch (brieved as ZXR10 5900E series, also named as switch in common
part). It includes:
l ZXR10 5916E Easy-Maintenance MPLS Routing Switch
l ZXR10 5928E Easy-Maintenance MPLS Routing Switch
l ZXR10 5928E-FI Easy-Maintenance MPLS Routing Switch
l ZXR10 5952E Easy-Maintenance MPLS Routing Switch
CHAPTER SUMMARY
Chapter Summary
Chapter 2 IPv6 Address This chapter introduces IPv6 address and related
Configuration configuration.
Chapter 3 IPv6 Neighbor Discovery This chapter introduces IPv6 Neighbor Discovery Protocol and
Protocol related configuration.
Chapter 4 IPv6 Tunnel Configuration This chapter introduces IPv6 Tunnel and related configuration.
Chapter 5 IPv6 Other Configurations This chapter introduces IPv6 Static Route, IPv6 DHCP
Snooping and DHCPv6 relay configuration.
Chapter 6 RIPng Configuration This chapter introduces RIPng and related configuration.
Chapter 7 OSPFv3 Configuration This chapter introduces OSPFv3 and related configuration.
Chapter 8 IS-ISv6 Configuration This chapter introduces IS-ISv6 and related configuration.
Chapter 9 BGP4+ Configuration This chapter introduces BGP4+ and related configuration.
Chapter 10 IPv6 Multicasting Route This chapter introduces IPv6 Multicasting Routes and related
Configuration configuration.
Related Documentation
l ZXR10 5900E Series (V2.8.23.B2) Easy-Maintenance MPLS Routing Switch
Hardware Manual
l ZXR10 5900E Series (V2.8.23.B2) Easy-Maintenance MPLS Routing Switch User
Manual (Basic Configuration Volume)
I
l ZXR10 5900E Series (V2.8.23.B2) Easy-Maintenance MPLS Routing Switch User
Manual (Ethernet Switching Volume)
l ZXR10 5900E Series (V2.8.23.B2) Easy-Maintenance MPLS Routing Switch User
Manual (IPv4 Routing Volume)
l ZXR10 5900E Series (V2.8.23.B2) Easy-Maintenance MPLS Routing Switch User
Manual (IPv6 Volume)
The commands supported by ZXR10 5900E series (V2.8.23.B2) easy-maintenance MPLS
routing switch is based on unified platform ZXROS V4.8.23.
II
Chapter 1
Safety Instruction
Table of Contents
Safety Instruction .......................................................................................................1-1
Safety Signs ...............................................................................................................1-1
Warning!
Indicates the matters needing close attention. If this is ignored, serious injury accidents may happen
or devices may be damaged.
Caution!
1-1
Note:
1-2
FEDC:0DB0:7674:3110:FEDC:BC78:7654:1234
FEDC:0DB0:0:0:6:600:7654:6789
IPv6 addresses usually contain continuous hex 0. For writing convenience, use “::” mark
to replace continuous hex 0. This reduces the length of IPv6 addresses in writing. IPv6
address format is described in RFC 2373. Table 2-1 shows examples for compressed
formats of IPv6 addresses.
Caution!
“::” mark can only be used once in an IPv6 address. It is to replace the longest continuous hex 0.
Capitals and lowercases are not distinguished in IPv6 addresses.
2-1
In Table 2-1 , loopback address is used to send IPv6 data packets to node itself. Its function
is the same as that of IPv4. For example, an initialized node can use loopback address as
packet source address before receiving IPv6 address.
l Unicast address: the identifier of a single interface. The packets sent to a unicast
address will be transmitted to the interface with this address identifier.
l Multicast address: the identifier of a group of interfaces tethered to different nodes.
The packets sent to a multicast address will be transmitted to all the interfaces with
this address identifier.
l Anycast: the identifier of a group of interfaces tethered to different nodes. The
packets sent to an anycast address will be transmitted to an interface with this
address identifier (selecting the nearest one by calculating the distance based on
routing protocol).
There is no broadcast address in IPv6. Broadcast address function is replaced by that of
multicast.
The first few bits of the address specify the address type. The number of the bits is variable.
The first few bits are called format prefix. These prefixes are shown in Table 2-2 .
2-2
2-3
2-4
instead of global unicast address and site-local address. IPv6 routers can not transmit
data packets that use link-local unicast address as source or destination address to other
links.
Format of site-local unicast address is shown in Table 2-5.
1111111010 0 Interface ID
The whole IPv4-compatible IPv6 address is used as the node IPv6 address. The IPv4
address of low 32 bits is used as the node IPv4 address.
Format of this type of address is shown in Table 2-6.
96 bits 32 bits
Anycast address is allocated from unicast address space. It can use any unicast
address format. It is unable to distinguish anycast address and unicast address by the
appearances. If a unicast address is allocated to more than one interfaces, it becomes
an anycast address. It is required to point out it is an anycast address if it is allocated to
a node.
Caution!
Anycast addresses can only be used on routers. Hosts can not use anycast addresses. Anycast
addresses can not be used as source addresses in data packets.
2-5
128 bits
Subnet prefix is a prefix for specified link. Set interface ID of interface unicast address on
the link to be 0, then it becomes subnet router anycast address.
Packets that use subnet router anycast address as destination address are transmitted
to a router in this subnet. All routers in this subnet should support subnet router anycast
address.
When a node communicates with a router in a router group that is in a remote network,
subnet router anycast address can be applied.
Value Range
1 Local node
2 Local link
5 Local site
8 Local organization
E Global
2-6
4-bit 4-bit header 8-bit type of service 16-bit total length (in byte)
version length (TOS)
24-Options 8-filling
Data
data
2-7
of Service (DiffServ). Even though there is a correspondence of this field with the old
ToS field, its name more accurately reflects the current usage of the values carried
here.
l Flow label
it is a field unique to IPv6. The intention of this 20-bit field is to allow labeling of
particular flows of traffic; that is, packets that are not just originated by the same
source and going to the same destination, but that belong to the same applications at
the source and destination.
l Payload length
it specifies the length of the payload, in bytes, that the packet is encapsulating.
l Next header
it specifies which header follows the IPv6 packet header. In this, it is very similar to
the Protocol field in the IPv4 header and, in fact, is used for the same purpose when
the next header is an upper-layer protocol header. In IPv6, the header following the
packet header might be an upper-layer protocol header, or an extension header.
l Hop limit
the value in this field determines the maximum hops that IPv6 packets can pass by.
When the packets pass by a router, the value reduces by one. As there is no checksum
in IPv6 header, the router does not need to calculate checksum again when the value
reduces by one. This saves time.
TCP/UDP protocols
ZTE ZXROS supports IPv6/IPv4 dual protocol stack. If both IPv4 address and IPv6
address are configured on an interface, both IPv4 packets and IPv6 packets are
transmitted on this interface.
2-8
4 ZXR10(config-if-vlanX)#ipv6 address link-local < ipv6-prefix> This sets interface linklocal address.
2 ZXR10#show ipv6 interface [ < interface-name> ] brief This views brief information on IPv6
interface.
2-9
2-10
RFC 2461 (IPv6 neighbor discovery) describes the neighbor discovery mechanism, which
provides some different purposes, including the following points:
l Router discoveryThis mechanism helps a host to identify the local router.
l Prefix discoveryThis mechanism is used by nodes to determine an address prefix that
is used to specify the link-local address and an address prefix that should be sent to
a router for forwarding.
l Parameter discovery This mechanism helps nodes to determine the information like
link-local MTU.
l Address autoconfigurationThis mechanism is used for IPv6 node auto configuration.
3-1
l Address resolution This mechanism substitutes ARP and RARP to help nodes
determine the link-layer address of the local node, namely the neighbor, from the
destination IP address.
l Next hop determinationThis mechanism is meant to determine the next destination of
a packet, that is, determine whether the destination of a packet is on a local link. If it
is on the local link, then the next hop is the destination. Otherwise, the packet should
route and the next hop will serve as a router. The neighbor discovery can be used to
determine a router to be used.
l Neighbor unreachability detection Neighbor discovery can help nodes to determine
whether a neighbor (destination node or router) is reachable.
l Duplicate address detection Neighbor discovery helps a node to determine whether
an address it wants to use has been occupied on the local link.
l Redirection Sometimes the forwarding router selected by a node is not the optimum
for a packet to be forwarded. In this case, the forwarding router can redirect the node
to send the packet to an optimum router.
The neighbor discovery conducts the execution by defining the special ICMP packets,
including:
l Router Solicitation (RS) message
When an interface on a host is enabled, instead of waiting till next cycle time, the host
sends RS messages immediately.
l Router Advertisement (RA) messages
A router sends this message periodically or when it replies to RS message. RA
messages includes address prefix and maximum hops and so on.
Address prefix includes link-local address prefix and automatic configuration address
prefix. The flag of address prefix decides its type.
The host use link-local address prefix it receives to establish and maintain a list. The
list describes whether the destination of packets is on local links or the packets need
to be transmitted.
RA message tells the host how to perform address autoconfiguration. For example,
the router can specify the host to use stateful address autoconfiguration (DHCPv6) or
stateless address autoconfiguration.
RA message also includes some Internet parameters such as maximum hops, and
optional link parameters such as link MTU. It is possible to configure some important
parameters together on a router, and make the router send these parameters to its
neighbors.
l Neighbor Solicitation (NS) messages
A node sends NS messages and gets link layer from destination node to finish address
resolution. NS message is a multicast message. Its multicast address is request node
multicast address of destination node.
NS messages can be used to judge whether there are multiple nodes using the same
IPv6 address.
3-2
3-3
9 ZXR10(config-if-vlanX)#nd6 add < ipv6-address> < This adds a static entry to neighbor
hardware-address> cache table.
3-4
4-1
An IPv6 manually configured tunnel is a point to point tunnel. While an automatic 6to4
tunnel is a point to multi-point tunnel. In an automatic 6to4 tunnel, an IPv4 network is
looked as a virtual NBMA network. Therefore, routers are not configured in couples. The
other end of the tunnel can be found through an IPv4 address in which an IPv6 address is
embedded in.
IPv6 address prefix of edge router begins with 2002::/16. Its format is shown in Figure 4-1.
This kind of IPv6 address is called 6to4 address for short.
The IPv4 address in Figure 4-1 should be globally unique. This IPv4 address should be
configured on the interface of edge router that connects with IPv4 network.
Working flow of an automatic 6to4 tunnel is described as follows:
As shown in Figure 4-2, R1 and R2 are at two sides of a 6to4 tunnel. 6to4 addresses are
configured on fei_1/2 of R1 and all hosts in site 1. Configure an IPv4 address on fei_1/1
of R1. Embed this IPv4 address in 6to4 addresses.
6to4 addresses are also configured on fei_1/2 of R2 and all hosts in site 2. Configure an
IPv4 address on fei_1/2 of R2. Embed this IPv4 address in 6to4 addresses.
When a host in site 1 visits a host in site 2, a message is transmitted to R1. R1 views the
destination of this message and finds that it is a 6to4 address. R1 obtains IPv4 address at
the other side of the tunnel from this 6to4 address. So R1 encapsulates this IPv6 message
in an IPv4 message. The destination address of this IPv4 message is the peer IPv4
address, that is, the address on fei_1/1 of R2. The source address of this IPv4 message
is the address on fei_1/1 of R1. The message is transmitted to R2. R2 dis-encapsulates
this message and sends the IPv6 message to destination host.
4-2
4 ZXR10(config-tunnelX)#tunnel source ipv4 < ip address> This configures the source address
of the tunnel.
As shown in Figure 4-3, R1 and R2 are dual protocol stack routers. PC1 and PC2 are
IPv6 hosts. Configure a manually configured tunnel between R1 and R2.
l IPv6 address on tunnel interface of R1 is 3000:1:1:1::12/64.
l IPv6 address on tunnel interface of R2 is 3000:1:1:1::128/64.
4-3
4-4
2. Example 2:
As shown in Figure 4-4, R1 and R2 are dual protocol stack routers. PC1 and PC2 are
IPv6 hosts. Configure a manually configured tunnel between R1 and R2.
l 6to4 address of PC1 is 2002:1f01:0101:1::2/64, and gateway address is
2002:1f01:0101:1::1/64.
l 6to4 address of PC2 is 2002:1f01:0102:1::2/64, and gateway address is
2002:1f01:0102:1::1/64.
R1(config)#interface tunnel1
R1(config-tunnel1)#ipv6 enable
R1(config-tunnel1)#tunnel mode ipv6ip 6to4
R1(config-tunnel1)#tunnel source ipv4 31.1.1.1
R1(config-tunnel1)#exit
R1(config)#int fei_1/1
R1(config-fei_1/1)#switchport access vlan 2
R1(config-fei_1/1)#exit
R1(config)#int vlan 2
R1(config-if-vlan2)#ip address 31.1.1.1 255.255.255.0
R1(config-if-vlan2)#exit
R1(config)#int fei_1/2
R1(config-fei_1/2)#switchport access vlan 3
R1(config-fei_1/2)#exit
R1(config)#int vlan 3
R1(config-if-vlan3)#ipv6 enable
R1(config-if-vlan3)#ipv6 address 2002:1f01:0101:1::1/64
R1(config-if-vlan3)#exit R2(config-tunnel2)#ipv6 enable
R2(config-tunnel2)#tunnel mode ipv6ip 6to4
R2(config-tunnel2)#tunnel source ipv4 31.1.1.2
R2(config-tunnel2)#exit
R2(config)#int fei_1/1
R2(config-fei_1/1)#switchport access vlan 2
4-5
R2(config-fei_1/1)#exit
R2(config)#int vlan 2
R2(config-if-vlan2)#ip address 31.1.1.2 255.255.255.0
R2(config-if-vlan2)#exit
R2(config)#int fei_1/2
R2(config-fei_1/2)#switchport access vlan 3
R2(config-fei_1/2)#exit R2(config-if-vlan3)#ipv6 enable
R2(config-if-vlan3)#ipv6 address 2002:1f01:0102:1::1/64
R2(config-if-vlan3)#exit
1 ZXR10#show ipv6 interface tunnel< tunnel-number> [ brief] This views information of tunnel
interface.
2 ZXR10#debug ipv6 packet interface tunnel< tunnel-number> This views information of messages
that are sent and received on tunnel
interface.
4-6
1 ZXR10(config)#ipv6 route < ipv6 destination prefix> { < ipv6 gateway This configures an IPv6 static route.
address> | loopback | null | supervlan | tunnel | vlan} [ < distance> ]
2 ZXR10(config)#show ipv6 route [ < ipv6 address> | < ipv6 prefix> | This views IPv6 routing table.
bgp | connected | database | isis | ospf | rip | static]
Command Function
5-1
Command Function
2. To clear all dhcpv6 users at the specific interface, perform the following command.
Command Function
ZXR10(config)#ipv6 dhcp snooping clear [ interface-id] < interface-idr >physical interface such
as feigeismartgroup.
3. To bind dhcpv6 user information and create static database, perform the following
command. Use no command to release the binding.
Command Function
ZXR10(config)#ipv6 dhcp snooping bingding < mac> vlan < vlan> < ip < mac > user MAC address; < vlan > the
address> < interface-id> expiry < 60 ~ 2147483647> vlan that an user belongs to, the range
is 1~4096, < ip address > DHCP binding
IPv6 address; < interface-number >
physical interface such as fei, gei and
smartgroup.
ZXR10(config)#no ipv6 dhcp snooping binding < mac> vlan< vlan> < < vlan > the vlan that an user belongs
interface-id> to, the range is 1~4096, < ip address
> DHCP binding IPv6 address; <
interface-number > physical interface
such as fei, gei and smartgroup.
Command Function
ZXR10(config)#ipv6 dhcp snooping quota < 1 ~ 2048> This limits global maximum user
number, the range of user number is <
1 2048 >.
Command Function
ZXR10(config)#ipv6 dhcp snooping trust Interface < interface-id> This configures the interface whose
interface number is < interface-id > as
trust interface.
ZXR10(config)#no ipv6 dhcp snooping trust Interface < interface-id> This cancels the trust interface.
Command Function
ZXR10(config)#ipv6 dhcp snooping vlan < 1 ~ 4094> This enables dhcpv6 snooping of vlan.
5-2
Command Function
ZXR10(config)#no ipv6 dhcp snooping vlan < 1 ~ 4094> This disables dhcpv6 snooping of vlan.
Command Function
ZXR10(config-if-vlanX)#ipv6 dhcp snooping quota < 1 ~ 2000> < 1-2000 > is quota number.
Command Function
Command Function
ZXR10(config)#no ipv6 dhcp snooping information option This does not inserts 82 option.
Command Function
ZXR10(config)#no ipv6 dhcp snooping information option18 This does not inserts 18 option.
Command Function
ZXR10(config)#no ipv6 dhcp snooping information option37 This does not inserts 37 option.
5-3
2 ZXR10(config-if-vlanX)#ipv6 dhcp mode < relay> This configures dhcpv6 relay function
at the interface mode.
4 ZXR10(config)#show ipv6 dhcp interface vlan < 1 ~ 4094> This views dhcpv6 interface
configuration.
ZXR10(config)#ipv6 acl { extended | standard } < access-list-name> This configures IPv6 acl rule.
Command Function
ZXR10#ping6 < ipv6-addres> s [ interface { < interface-name> } | num < 1 ~ This diagnoses if the link to a specific
65535> | size < 64 ~ 8192> | timeout < 1 ~ 60> ] destination is normal.
ZXR10#trace6 < ipv6-address> [ max-ttl < 1 ~ 254> | timeout < 1 ~ 100> ] This diagnoses the real route to a
specific destination.
ZXR10#telnet6 < ipv6-address> [ interface < interface-name> ] This opens a IPv6 Telnet connection.
5-4
Command Function
ZXR10#debug ipv6 tcp driver This sets and closes IPv6 TCP
connection related information debug
switch.
ZXR10#debug ipv6 tcp transactions This sets debug switch of IPv6 TCP
status migration information.
ZXR10#debug ipv6 tcp all This opens all IPv6 TCP debug
information switch.
The following example shows how to use the command of show ipv6 route:
5-5
R1 configuration is as follows
ZXR10(config)#interface vlan10
ZXR10(config-if-vlan10)#ipv6 dhcp mode relay
ZXR10(config-if-vlan10)# ipv6 dhcp relay destination 101::1
ZXR10(config-if-vlan10)# ipv6 enable
ZXR10(config-if-vlan10)# ipv6 address 2009:1::3/64
ZXR10(config-if-vlan10)#exit
ZXR10(config)#ipv6 dhcp enable
5-6
l Scope of application
Scope of application for RIPv1 and RIPv2 is designed to adapt to both TCP/IP suite
and other network protocol suites. Therefore, routing table entries of a packet contain
6-1
network protocol suite fields. However, the realization program is seldom used for
other non-IP networks in practice. Therefore, support to this function is removed from
RIPng.
l Next hop indication
There is no information about next hop in RIPv1. The router at the receiving end
takes the source address of a packet as the next hop for the route to the destination
network. RIPv2 contains explicit information about next hop, thus facilitating selection
of the optimum route and avoiding routing loop and slow convergence.
Different from RIPv1 and RIPv2, the next hop fields in RIPng exist as separate RTEs to
avoid overlong Routing table Entry (RTE) and to improve efficiency in route information
transmission.
l Packet length
Both RIPv1 and RIPv2 set limit to the length of a packet, provisioning that each packet
can only carry at most 25 RTEs.
However, RIPng has no limit on the length of a packet and number of RTEs. The
length of a packet depends on the MTU of a medium. Processing on the packet length
by RIPng enables networks to improve efficiency in route information transmission.
l Security consideration
RIPv1 packets contain no authentication information, which results in insecurity. Any
host that sends packets through the UDP Port 520 will be regarded as a router by its
neighbor host, which is likely to cause router spoofing.
RIPv2 is designed to contain authentication packets to enhance security. Although
routers that exchange routes with each other cannot receive route information from
each other before authentication, RIPv2 does not have adequate security.
IPv6 contains perfect security policies, so there is no need to design separate security
authentication packets for RIPng any more but to use IPv6 security policies.
l Packet transmission mode
RIPv1 sends route information through broadcast. In this way, both routers and all the
hosts within the same LAN can receive packets, which is unnecessary and insecure.
However, both RIPv2 and RIPng can send packets either through broadcast or
through multicast. In this way, packets can be sent through multicast in networks
that support multicast, thus greatly reducing the quantity of route information that is
transmitted in networks.
6-2
1 ZXR10(config-router)#timers basic < update> < timeout> < This configures RIPng timers.
garbage>
2 ZXR10(config-router)#redistribute < protocol> [ { metric < 1-16> } This redistributes routes to RIPng.
| { route-map < name> } ]
4 ZXR10#clear ipv6 rip route [ X:X::X:X/< 0-128> | all] This deletes RIPng routes.
6-3
Configuration on R2:
ZXR10_R2(config)#ipv6 router rip
ZXR10_R2(config)#interface vlan4
ZXR10_R2(config-if-vlan4)#ipv6 enable
ZXR10_R2(config-if-vlan4)#ipv6 address 2005::2/64
ZXR10_R2(config-if-vlan4)#ipv6 rip enable
ZXR10_R2(config-if-vlan4)#exit
ZXR10_R2(config)#interface vlan5
ZXR10_R2(config-if-vlan5)#ipv6 enable
ZXR10_R2(config-if-vlan5)#ipv6 address 2003::2/64
ZXR10_R2(config-if-vlan5)#ipv6 rip enable
6-4
2 ZXR10#show ipv6 rip interface < ifname> This views RIPng information on an
interface.
6-5
6-6
IPv6 uses the term of link to describe the facilities or mediums used by nodes for
communications over the link layer. Nodes are connected with links. Multiple IP
subnets can be attached to a same link. Two nodes in different IP subnets can
communicate with each other directly over a single link.
OSPF message contains no IPv6 address except for LSA net load carried by the
update message in the link state.
7-1
Router LSA and network LSA do not contain network addresses any longer and only
indicate topology information simply.
OSPF router ID and the LSA link state ID are reserved to be the IPv4 32-bit, without
allocation of IPv6 addresses any more.
l OSPFv3 Expands flooding range.
LS fields of LSA reflect flooding ranges. LSA features the following three flooding
ranges:
à Link-local range: This LSA is only flooded in local links. This range is applicable
to link LSA.
à Area range: This LSA is only flooded in a single OSPF area. This range is
applicable to router LSA, network LSA, inter-area prefix LSA, inter-area router
LSA and intra-area prefix LSA.
à Autonomous area range: This LSA is flooded in route area. This is applicable to
the AS external LSA.
Each link supports multiple instances. OSPF supports running multiple OSPF protocol
instances over a single link.
OSPFv3 runs over IPv6 directly. Address semantic is not contained in OSPF header
but in different LSA types. Therefore, IPv6 OSPF is independent of network protocols.
Changes of OSPF packet format are described as follows:
à Authentication and authentication type fields are deleted from OSPF header.
7-2
7-3
The LS type of this LSA is 0x0008. A router initiates separate link LSA to each link
that connects with it. These LSAs have link-local flooding ranges and are not flooded
out of the related links.
l Intra-area prefix LSA
The LS type of this LSA is 0x2009. A router uses this LSA to advertise one or multiple
IPv6 address prefixes. These prefixes are related to the router itself, the connected
stub network segment and the connected Transit network segment.
4 ZXR10(config-if-vlanX)#ipv6 ospf < process-id> area < area-id> This enables OSPFv3 on an
[ instance-id < 0-255> ] interface.
7-4
2 ZXR10(config-if-vlanX)#ipv6 ospf hello-interval < interval> [ This sets Hello message interval.
instance-id < 0-255> ]
3 ZXR10(config-if-vlanX)#ipv6 ospf retransmit-interval < interval> This sets LSA retransmission interval
[ instance-id < 0-255> ] on an interface.
4 ZXR10(config-if-vlanX)#ipv6 ospf transmit-delay < interval> [ This sets time delay of sending a
instance-id < 0-255> ] link state update message on an
interface.
5 ZXR10(config-if-vlanX)#ipv6 ospf dead-interval < interval> [ This sets aging time of a neighbor.
instance-id < 0-255> ]
6 ZXR10(config-if-vlanX)#ipv6 ospf cost < cost-value> [ instance-id This sets interface cost.
< 0-255> ]
7 ZXR10(config-if-vlanX)#ipv6 ospf priority < value> [ instance-id This sets interface priority.
< 0-255> ]
1 ZXR10(config-router)#area < area-id> default-cost < cost-value> This configures default cost in an
area.
2 ZXR10(config-router)#area < area-id> range { X:X::X:X/< 0-128> } This configures address aggregation
[ advertise| not-advertise] range in an area.
4 ZXR10(config-router)#area < area-id> virtual-link < router-id> This defines a virtual link.
[ hello-interval < seconds> ] [ retransmit-interval < seconds> ] [
transmit-delay < seconds> ] [ dead-interval < seconds> ]
8 ZXR10(config-router)#timers spf < delay> < holdtime> This sets route recalculation interval
of OSPFv3.
7-5
Configuration on R1:
ZXR10_R1(config)#ipv6 router ospf 1
ZXR10_R1(config-router)# router-id 1.1.1.1
ZXR10_R1(config-router)# exit
ZXR10_R1(config)#interface vlan4
ZXR10_R1(config-if-vlan4)#ipv6 enable
ZXR10_R1(config-if-vlan4)#ipv6 address 2001::1/64
ZXR10_R1(config-if-vlan4)#ipv6 ospf 1 area 23
ZXR10_R1(config)#interface vlan6
ZXR10_R1(config-if-vlan6)#ipv6 enable
ZXR10_R1(config-if-vlan6)#ipv6 address 2005::1/64
ZXR10_R1(config-if-vlan6)#ipv6 ospf 1 area 0
Configuration on R2:
ZXR10_R2(config)#ipv6 router ospf 1
ZXR10_R2(config-router)# router-id 2.2.2.2
ZXR10_R2(config-router)# exit
ZXR10_R2(config)#interface vlan6
ZXR10_R2(config-if-vlan6)#ipv6 enable
ZXR10_R2(config-if-vlan6)#ipv6 address 2003::2/64
ZXR10_R2((config-if-vlan6)#ipv6 ospf 1 area 24
ZXR10_R2(config)#interface vlan4
ZXR10_R2(config-if-vlan4)#ipv6 enable
ZXR10_R2(config-if-vlan4)#ipv6 address 2005::2/64
ZXR10_R2(config-if-vlan4)#ipv6 ospf 1 area 0
7-6
3 ZXR10#show ipv6 ospf interface [ < ifname> ] This views interface information of
an OSPFv3 instance.
7-7
7-8
8-1
8-2
17 ZXR10(config-router)#spf-interval < 1-120> [ level-1 | level-2] This configures the minimum interval
that configures IS-ISv6 topology.
6 ZXR10(config-if-vlanX)#isis hello-multipiler < 3-1000> [ level-1 | This configures multiplier for Hello
level-2] holding time.
9 ZXR10(config-if-vlanX)#isis max-burst < 1-65535> This configures the number that LSP
sends each time.
8-3
11 ZXR10(config-if-vlanX)#isis priority < 0-127> [ level-1 | level-2] This configures IS-ISv6 priority on
interface.
8-4
Configuration on R2:
ZXR10_R2(config)#router isis
ZXR10_R2(config-router)#area 01
ZXR10_R2(config-router)#system-id 00D0.D0C7.5460
ZXR10_R2(config-router)#exit
ZXR10_R2(config)#interface vlan4
ZXR10_R2(config-if-vlan4)#ipv6 enable
ZXR10_R2(config-if-vlan4)#ipv6 address 2005::2/64
ZXR10_R2(config-if-vlan4)#ipv6 router isis
ZXR10_R2(config-if-vlan4)#exit
ZXR10_R2(config)#interface vlan3
ZXR10_R2(config-if-vlan3)#ipv6 enable
ZXR10_R2(config-if-vlan3)#ipv6 address 2003::2/64
ZXR10_R2(config-if-vlan3)#ipv6 router isis
Configuration on R1:
ZXR10_R1(config)#router isis
ZXR10_R1(config-router)#area 01
ZXR10_R1(config-router)#system-id 00D0.D0C7.53E0
ZXR10_R1(config-router)#is-type LEVEL-1-2
8-5
ZXR10_R1(config-router)#exit
ZXR10_R1(config)#interface vlan4
ZXR10_R1(config-if-vlan4)#ipv6 enable
ZXR10_R1(config-if-vlan4)#ipv6 address 2009::1/64
ZXR10_R1(config-if-vlan4)#ipv6 router isis
ZXR10_R1(config-if-vlan4)#isis circuit-type LEVEL-2-only
ZXR10_R1(config-if-vlan4)#exit
ZXR10_R1(config)#interface vlan6
ZXR10_R1(config-if-vlan6)#ipv6 enable
ZXR10_R1(config-if-vlan6)#ipv6 address 2001:1::1/64
ZXR10_R1(config-if-vlan6)#ipv6 router isis
ZXR10_R1(config-if-vlan6)#isis circuit-type LEVEL-1
ZXR10_R1(config-if-vlan6)#exit
ZXR10_R1(config)#interface vlan7
ZXR10_R1(config-if-vlan7)#ipv6 enable
ZXR10_R1(config-if-vlan7)#ipv6 address 2001:2::1/64
ZXR10_R1(config-if-vlan7)#ipv6 router isis
ZXR10_R1(config-if-vlan7)#isis circuit-type LEVEL-1
ZXR10_R1(config-if-vlan7)#exit
ZXR10_R1(config)#interface vlan8
ZXR10_R1(config-if-vlan8)#ipv6 enable
ZXR10_R1(config-if-vlan8)#ipv6 address 2001:3::1/64
ZXR10_R1(config-if-vlan8)#ipv6 router isis
ZXR10_R1(config-if-vlan8)#isis circuit-type LEVEL-1
ZXR10_R1(config-if-vlan8)#exit
ZXR10_R1(config)#router isis
ZXR10_R1(config-router)#address-family ipv6
ZXR10_R1(config-router-af)# summary-prefix 2001::/16
Configuration on R2:
ZXR10_R2(config)#router isis
ZXR10_R2(config-router)#area 00
ZXR10_R2(config-router)#system-id 00D0.E0D7.53E0
ZXR10_R2(config-router)#is-type LEVEL-2-only
ZXR10_R2(config-router)#exit
ZXR10_R2(config)#interface vlan4
ZXR10_R2(config-if-vlan4)#ipv6 enable
ZXR10_R2(config-if-vlan4)#ipv6 address 2009::2/64
ZXR10_R2(config-if-vlan4)#ipv6 router isis
ZXR10_R2(config-if-vlan4)#isis circuit-type LEVEL-2-only
ZXR10_R2(config-if-vlan4)#exit
ZXR10_R2(config)#interface vlan6
ZXR10_R2(config-if-vlan6)#ipv6 enable
ZXR10_R2(config-if-vlan6)#ipv6 address 2003::2/64
8-6
Configuration on R3:
ZXR10_R3(config)#router isis
ZXR10_R3(config-router)#area 00
ZXR10_R3(config-router)#system-id 00D0.E0C7.53E0
ZXR10_R3(config-router)#is-type LEVEL-2-only
ZXR10_R3(config-router)#exit
ZXR10_R3(config)#interface vlan4
ZXR10_R3(config-if-vlan4)#ipv6 enable
ZXR10_R3(config-if-vlan4)#ipv6 address 2003::3/64
ZXR10_R3(config-if-vlan4)#ipv6 router isis
ZXR10_R3(config-if-vlan4)#isis circuit-type LEVEL-2-only
ZXR10_R3(config-if-vlan4)#exit
ZXR10_R3(config)#interface vlan6
ZXR10_R3(config-if-vlan6)#ipv6 enable
ZXR10_R3(config-if-vlan6)#ipv6 address 2004::3/64
ZXR10_R3(config-if-vlan6)#ipv6 router isis
ZXR10_R3(config-if-vlan6)#isis circuit-type LEVEL-2-only
ZXR10_R3(config-if-vlan6)#exit
Configuration on R4:
ZXR10_R4(config)#router isis
ZXR10_R4(config-router)#area 00
ZXR10_R4(config-router)#system-id 00D0.E0E7.53E0
ZXR10_R4(config-router)#is-type LEVEL-2-only
ZXR10_R4(config-router)#exit
ZXR10_R4(config)#interface vlan4
ZXR10_R4(config-if-vlan4)#ipv6 enable
ZXR10_R4(config-if-vlan4)#ipv6 address 2004::4/64
ZXR10_R4(config-if-vlan4)#ipv6 router isis
ZXR10_R4(config-if-vlan4)#isis circuit-type LEVEL-2-only
ZXR10_R4(config-if-vlan4)#exit
ZXR10_R4(config)#interface vlan6
ZXR10_R4(config-if-vlan6)#ipv6 enable
8-7
Configuration on R5:
ZXR10_R5(config)#router isis
ZXR10_R5(config-router)#area 02
ZXR10_R5(config-router)#system-id 00D0.D0CF.53E0
ZXR10_R5(config-router)#is-type LEVEL-1-2
ZXR10_R5(config-router)#exit
ZXR10_R5(config)#interface vlan4
ZXR10_R5(config-if-vlan4)#ipv6 enable
ZXR10_R5(config-if-vlan4)#ipv6 address 2006::5/64
ZXR10_R5(config-if-vlan4)#ipv6 router isis
ZXR10_R5(config-if-vlan4)#isis circuit-type LEVEL-2-only
ZXR10_R5(config-if-vlan4)#exit
ZXR10_R5(config)#interface vlan6
ZXR10_R5(config-if-vlan6)#ipv6 enable
ZXR10_R5(config-if-vlan6)#ipv6 address 2007::5/64
ZXR10_R5(config-if-vlan6)#ipv6 router isis
ZXR10_R5(config-if-vlan6)#isis circuit-type LEVEL-1
ZXR10_R5(config-if-vlan6)#exit
Configuration on R6:
ZXR10_R6(config)#router isis
ZXR10_R6(config-router)#area 02
ZXR10_R6(config-router)#system-id 00D0.0ECD.53E0
ZXR10_R6(config-router)#is-type LEVEL-1
ZXR10_R6(config-router)#exit
ZXR10_R6(config)#interface vlan4
ZXR10_R6(config-if-vlan4)#ipv6 enable
ZXR10_R6(config-if-vlan4)#ipv6 address 2007::6/64
ZXR10_R6(config-if-vlan4)#ipv6 router isis
ZXR10_R6(config-if-vlan4)#isis circuit-type LEVEL-1
ZXR10_R6(config-if-vlan4)#exit
ZXR10_R6(config)#interface vlan8
8-8
ZXR10_R6(config-if-vlan8)#ipv6 enable
ZXR10_R6(config-if-vlan8)#ipv6 address 2008::6/64
ZXR10_R6(config-if-vlan8)#exit
ZXR10_R6(config)# ipv6 route 2009::/64 2008::10
ZXR10_R6(config)#router isis
ZXR10_R6(config-router)# address-family ipv6
ZXR10_R6(config-router-af)# redistribute static level-1
ZXR10_R6(config-router)#end
ZXR10_R6#
8-9
8-10
l The information newly added to BGP4 must make a specific network layer protocol
associated with the next hop information. That is, the address of the next hop should
be indicated by a designated network layer protocol address.
l BGP4 protocol should be able to enable a specific protocol associated with the NLRI,
and employ address family to distinguish various network layer protocols.
BGP4+ defined two attributes MP_REACH_NLRI and MP_UNREACH_NLRI BGP. They
are used to transmit IPv6 routing information. Similar to common distance vector routing
protocols, BGP4 protocol is usually independent of specific address family used by the
protocol.
IPv6 protocol is supported by BGP4. IPv6 introduces area-based unicast addresses and
defines the specific situations where specific address ranges must be applied. That is the
fundamental difference between IPv6 and IPv4 protocols in route information.
9-1
Example
Figure 9-1shows an example of configuring basic BGP4+. R1 is in AS100, and R2 is in
AS200.
Configuration on R1:
ZXR10_R1(config)#router bgp 100
ZXR10_R1(config-router)#neighbor 2005::2 remote-as 200
ZXR10_R1(config-router)#address-family ipv6
ZXR10_R1(config-router-af)#neighbor 2005::2 activate
ZXR10_R1(config-router-af)#network 2001::/64
Configuration on R2:
ZXR10_R2(config)#router bgp 200
ZXR10_R2(config-router)#neighbor 2005::1 remote-as 100
ZXR10_R2(config-router)#address-family ipv6
ZXR10_R2(config-router-af)#neighbor 2005::1 activate
ZXR10_R2(config-router-af)#network 2003::/64
In this example, R1 and R2 define the peer as neighbor. As they are in different
autonomous systems, they establish an EBGP connection.
R1 advertises network 2001::/64, and R2 advertises network 2003::/64.
Command Function
ZXR10(config-router)#network < ipv6 network number> [ route-map < This advertises known routes on local
name> ] device
ZXR10(config-router)#redistribute < protocol> [ metric < metric-value> ] This redistributes routes learnt by IGP
[ route-map < map-tag> ] protocols
9-2
Note:
Known routes on local device include direct-connected route, static route and the route learnt through
dynamic routing protocols.
Redistribute command is used to redistribute routes learnt by IGP protocols (RIPng, OSPFv3 and
IS-ISv6) into BGP4+. When using this command, make sure that the routes learned by IGP from
BGP4+ are not redistributed into BGP4+. Use the filtering command to prevent the loop from occurring
if necessary.
Command Function
ZXR10(config-router)#neighbor < ipv6-address> ebgp-multihop [ ttl < This configures EBGP multi-hops of
value> ] BGP4+
Note:
EBGP neighbors should be established on the straight-through interfaces of two routers. To estab-
lish EBGP neighbors on the interfaces that are not directly connected, use this command to configure
EBGP multi-hops. In addition, appropriate IGP or static route configuration is required to enable the
inter-working of these neighbors.
R1 needs to establish the neighbor relation with the interface with the IP address
2003::2/64 on R2, to which R1 is not connected directly, as shown in Figure 9-2.
Configuration on R1:
Configuration on R2:
ZXR10_R2(config)#router bgp 300
ZXR10_R2(config-router)#neighbor 2005::1 remote-as 100
9-3
When a route is received by the RR, it is reflected depending on the type of peer.
l A route from a Non-Client peer is reflected to all Client peers.
l A route from a Client peer is reflected to all Non-Client peers and Client peers.
l A route from an EBGP peer is reflected to all Non-Client peers and Client peers.
When there are multiple RRs in an AS, these RRs can be grouped into a cluster. An AS
can include multi clusters. A cluster includes more than one RR at least.
To configure BGP4+ route reflector, perform the following steps.
3 ZXR10(config-router)#bgp cluster-id { < value> | < ip-address> } This configures the ID of RR cluster.
Example
R3 and R4 are two route reflectors in AS100. The clients of R4 are R5 and R6. The clients
of R3 are R1 and R2. Network topology is shown in Figure 9-3.
9-4
Configuration on R3:
ZXR10_R3(config)#router bgp 100
ZXR10_R3(config-router)#bgp router-id 3.3.3.3
ZXR10_R3(config-router)#neighbor 3ffe::1 remote-as 100
ZXR10_R3(config-router)#neighbor 3ffe::2 remote-as 100
ZXR10_R3 (config-router)#address-family ipv6
ZXR10_R3 (config-router-af)#neighbor 3ffe::1 activate
ZXR10_R3 (config-router-af)#neighbor 3ffe::2 activate
ZXR10_R3 (config-router-af)#neighbor 3ffe::1
route-reflector-client
ZXR10_R3 (config-router-af)#neighbor 3ffe::2
route-reflector-client
Configuration on R2:
9-5
2 ZXR10(config-router)#bgp confederation peers < value> [ < value> ] This sets AS ID of a confederation
peer
Example
There are 5 BGP4+ routers in AS200, as shown in Figure 9-4 , It is divided into two
sub-ASs. One is defined as AS65010, which includes R3, R5 and R6, and the other is
defined as AS65020, which includes R4 and R7.
Configuration on R3:
ZXR10_R3(config)#router bgp 65010
ZXR10_R3(config-router)#bgp router-id 3.3.3.3
ZXR10_R3(config-router)#bgp confederation identifier 200
ZXR10_R3(config-router)#bgp confederation peers 65020
ZXR10_R3(config-router)#neighbor 3ffe:5:3::5 remote-as 65010
ZXR10_R3(config-router)#neighbor 3ffe:6:3::6 remote-as 65010
ZXR10_R3(config-router)#neighbor 3ffe:4:3::4 remote-as 65020
ZXR10_R3(config-router)#neighbor 3ffe:3:1::1 remote-as 100
9-6
ZXR10_R3(config-router)#address-family ipv6
ZXR10_R3(config-router-af)#neighbor 3ffe:5:3::5 activate
ZXR10_R3(config-router-af)#neighbor 3ffe:6:3::6 activate
ZXR10_R3(config-router-af)#neighbor 3ffe:4:3::4 activate
ZXR10_R3(config-router-af)#neighbor 3ffe:3:1::1 activate
Configuration on R5:
ZXR10_R5(config)#router bgp 65010
ZXR10_R5(config-router)#bgp router-id 5.5.5.5
ZXR10_R5(config-router)#bgp confederation identifier 200
ZXR10_R5(config-router)#neighbor 3ffe:5:3::3 remote-as 65010
ZXR10_R5(config-router)#address-family ipv6
ZXR10_R5(config-router-af)#neighbor 3ffe:5:3::3 activate
2 ZXR10(config-router)#bgp default local-preference < value> This sets BGP4+ default local priority
value.
5 ZXR10(config-router)#neighbor { < ipv6-address> | < This makes a router not send open
peer-group-name> } passive messages to neighbors.
9-7
6 ZXR10(config-router)#neighbor < ipv6-address> peer-group [ < This creates a peer group and add a
group-name> ] neighbor to this group.
4 ZXR10(config-router-af)#neighbor { < ipv6-address> | < This sets self to be the next hop
peer-group-name> } next-hop-self
9-8
Configuration on R4:
ZXR10_R4(config)#router bgp 2
ZXR10_R4(config-router)#neighbor 2001::1 remote-as 1
ZXR10_R4(config-router)#address-family ipv6
ZXR10_R4(config-router-af)#neighbor 2001::1 activate
ZXR10_R4(config-router-af)#redistribute static
Configuration on R1:
ZXR10_R1(config)#router bgp 1
ZXR10_R1(config-router)#neighbor 2003::2 remote-as 1
ZXR10_R1(config-router)#neighbor 2001::4 remote-as 2
ZXR10_R1(config-router)# address-family ipv6
ZXR10_R1(config-router-af)# neighbor 2001::4 activate
ZXR10_R1(config-router-af)# neighbor 2003::2 activate
ZXR10_R1(config-router-af)# neighbor 2003::2 next-hop-self
Configuration on R2:
ZXR10_R2(config)#router bgp 1
ZXR10_R2(config-router)#neighbor 2003::1 remote-as 1
ZXR10_R2(config-router)#neighbor 2007::5 remote-as 3
ZXR10_R2(config-router)#neighbor 2007::5 ebgp-multihop
ZXR10_R2(config-router)# address-family ipv6
ZXR10_R2(config-router-af)# neighbor 2003::1 activate
ZXR10_R2(config-router-af)# neighbor 2007::5 activate
ZXR10_R2(config-router-af)#neighbor 2003::1 next-hop-self
Configuration on R5:
ZXR10_R5(config)#router bgp 3
ZXR10_R5(config-router)#neighbor 2005::2 remote-as 1
9-9
3 ZXR10#show bgp ipv6 unicast summary This views all BGP4+ neighbor
states.
4 ZXR10#show bgp ipv6 unicast summary This views all BGP neighbor
connection status.
9-10
10-1
10-2
copies the packet and forwards it to outgoing interfaces; otherwise, it discards the
multicast packet.
The incoming interface from which the router receives multicast packets is called
parent link. The outgoing interface that sends multicast packets is called child link.
l Shared Multicast Tree
Shared multicast tree establishes a multicast route tree for each multicast group,
which is shared by all group members. That is, the tree is shared by the group (*,
G) instead of every pair (S, G). Each device to receive the multicast packets from the
group should be added to the shared tree explicitly.
A shared multicast tree uses one or a group of routers as the center of the tree.
Multicast packets from all sources in this group to the receivers are sent as uni-cast
packets to the center. Then these packets are forwarded as multicast packets along
the tree from the center.
10.1.4 PIM-SM
PIM-SM uses a shared tree to transmit multicast packets. A shared tree has a central
point, which is responsible for sending packets for all the sources in a multicast group.
Each source sends packets to the central point along the shortest-path route. Then the
source takes the central point as root node to distribute the packets to all the receivers
in the group. The central point of a PIM-SM group is called Rendezvous Point (RP). A
network is allowed to have multiple RPs, but a multicast group only has one RP.
A router can obtain the location of the RP by three methods.
l Configure RPs manually and statically on various routers running the PIM-SM.
l PIM-SM V1 obtains such locations through automatic RPs (Auto-RP) dynamically.
l PIM-SM V2 obtains such locations through the candidate-RP notification. The C-RPs
with higher priority will become formal RPs.
PIM-SM V2 manually configures some routers running PIM-SM as candidate-BSRs
(BootStrap Router), and selects the candidate-BSR with the highest priority as the formal
BSR. BSR is responsible for collecting candidate RP messages from the entire multicast
routers. It also tries to find the candidate RPs existing in the multicast domain and
advertises them to all the PIM routers in the PIM domain. Each PIM router selects the
optimum RP for each group in the RP set according to the unified RP election rule. RP
candidates are configured manually.
Routers running PIM-SM attempt to find each other and maintain the neighbor relation by
exchanging hello messages. On the multi-access network, a hello message also includes
router priority information. It is used to elect the designated router (DR).
Multicast source or the first-hop router (DR directly connected to the source) encapsulates
the packet into a Register message and sends it to RP through a uni-cast route. When
receiving the Register message, RP de-encapsulates the packet and sends it along the
shared tree downward to receivers in this group.
10-3
Each host acting as a receiver joins multicast group by an MLD member report message.
The last-hop router (or DR on the multi-access network) sends received Join message
to RP level by level for registration. The media router checks if a route for this group is
available after receiving Join message. If yes, it adds the downstream requesting router to
the shared tree as a branch. Otherwise, it creates a route for the group with the incoming
interface pointing to the RP and the outgoing interface pointing to the downstream
requesting router, and then the Join message proceeds to RP continuously level by level.
When the RP or multicast router is directly connected to any receiver, it can be switched
over from the shared tree to the per-source multicast tree. When receiving a Register
message from a new multicast source, RP returns a Join message to DR that is directly
connected to multicast source. Thus, the shortest path tree from the source to the RP is
established.
When a DR or a router with multicast members connected directly receives the first
multicast packet from the multicast group, or when the received packets reach a threshold,
it can be switched over from the shared tree to the per-source, shortest-path tree. Once
the switchover occurs, the route will send a Prune message to the upstream neighbors,
requesting to be separated from the shared tree.
10.1.5 MLD-SNOOPING
MLD SNOOPING is one of L2 switch features, which can control the forwarding of IP
multipoint transmission flow. Additionally, it can transmit packets to the port designated by
IPv6 host instead of all ports in a group. This optimizes the network bandwidth efficiently.
MLD SNOOPING also enables switch to learn which port belongs to multicast member
before transmitting packets in order to obtain forwarded information.
It is allowed to bind the group addresses on interfaces statically, that is, supposing the
group member exists all the time.
10-4
Example
This example shows how to configure static group ffe1::1 on interface vlan1.
ZXR10(config)#interface vlan 1
ZXR10(config-if-vlan1)#ipv6 mld static-group ffe1::1
1 ZXR10(config-if-vlanX)#ipv6 mld query-interval < seconds> This configures MLD query interval.
2 ZXR10(config-if-vlanX)#ipv6 mld query-timeout < seconds> This configures MLD query timeout.
10-5
Command Function
ZXR10(config)#ipv6 router pimsm static-rp < ipv6-addr> [ group-list This configures the static RP address.
< access-name> ]
Example
This example shows configuration of static RP 2001::1 for all groups.
ZXR10(config)#ipv6 router pimsm static-rp 2001::1
Command Function
ZXR10(config)#ipv6 router pimsm bsr-candidate < ipv6 addr> [ < This configures the Candidate-BSR.
hash-mask-length> ] [ < priority> ]
Command Function
ZXR10(config)#ipv6 router pimsm rp-candidate < ipv6 addr> [ group-list This configures the Candidate-RP.
< access-name> ] [ priority < priority> ]
10-6
The default priority of the Candidate-RP is 0. The candidate-RP with greater priority value
has smaller priority.
Bootstrap data packets cannot pass the border in any direction. The command effectively
divides a network into different BSR areas. Other PIM packets can pass the area border.
ZXR10(config)#ipv6 router pimsm accept-rp < access-name> This limits BSR message to advertise
to Candidate-RP.
ZXR10(config-if-vlanX)#ipv6 pim hello-interval < seconds> This configures interval to send Hello
message.
The interval to send hello message can be configured according to network conditions. It
is 30 seconds by default.
10-7
ZXR10(config-if-vlanX)#ipv6 pim join-prune-interval < seconds> This configures interval to send PIM JP
message.
3 ZXR10(config-vlanx)#mld snooping drop < group-address> [ num < This configures DROP function of
num> ] MLD SNOOPING.
5 ZXR10(config-vlanX)#mld snooping host-time-out < time> This configures aging time of users.
8 ZXR10(config-vlanX)#mld snooping mrouter interface < port-name> This configures the multicast routing
port in VLAN.
9 ZXR10(config-vlanX)#mld snooping mrouter-time-out < time> This configures the aging time of
multicast routing port in VLAN.
11 ZXR10(config-vlanX)#mld snooping static < group-address> This configures static users in VLAN.
interface < port-name>
12 ZXR10(config-vlanX)#ipv6 mld snooping querier [ vlan < word> ] This configures multiple MLD
SNOOPING agent queriers.
13 ZXR10(config-vlanX)#ipv6 mld snooping query-interval < interval> This configures the query interval of
agent querier.
10-8
Configuration on R1:
ZXR10_R1(config)#interface loopback1
ZXR10_R1(config-loopback1)#ipv6 enable
ZXR10_R1(config-loopback1)#ipv6 address 1000::1/128
ZXR10_R1(config)#ipv6 multicast-routing
ZXR10_R1(config)#ipv6 router pimsm
ZXR10_R1(config)#ipv6 router pimsm static-rp 1000::3
ZXR10_R1(config)#interface vlan 1
ZXR10_R1(config-if-vlan1)#ipv6 enable
ZXR10_R1(config-if-vlan1)#ipv6 address 2001:1::1/64
ZXR10_R1(config-if-vlan1)#ipv6 pim
ZXR10_R1(config)#interface vlan 2
ZXR10_R1(config-if-vlan2)#ipv6 enable
ZXR10_R1(config-if-vlan2)#ipv6 2001:2::1/64
ZXR10_R1(config-if-vlan2)#ipv6 pim
ZXR10_R1(config)#interface vlan 3
ZXR10_R1(config-if-vlan3)#ipv6 enable
ZXR10_R1(config-if-vlan3)#ipv6 2001:5::1/64
ZXR10_R1(config-if-vlan3)#ipv6 pim
ZXR10_R1(config)#ipv6 router ospf 1
ZXR10_R1(config-router)#router-id 1.1.1.1
ZXR10_R1(config)#int vlan 2
ZXR10_R1(config-if-vlan2)#ipv6 ospf 1 area 0
ZXR10_R1(config)#int vlan 3
10-9
Configuration on R2:
ZXR10_R2(config)#interface loopback1
ZXR10_R2(config-loopback1)#ipv6 enable
ZXR10_R2(config-loopback1)#ipv6 1000::2/128
ZXR10_R2(config)#ipv6 multicast-routing
ZXR10_R2(config)#ipv6 router pimsm
ZXR10_R1(config)#ipv6 router pimsm static-rp 1000::3
ZXR10_R2(config)#interface vlan 1
ZXR10_R2(config-if-vlan1)#ipv6 enable
ZXR10_R2(config-if-vlan1)#ipv6 address 2001:5::2/64
ZXR10_R2(config-if-vlan1)#ipv6 pim
ZXR10_R2(config)#interface vlan 2
ZXR10_R2(config-if-vlan2)#ipv6 enable
ZXR10_R2(config-if-vlan2)#ipv6 ddress 2001:3::2/64
ZXR10_R2(config-if-vlan2)#ipv6 pim
ZXR10_R2(config)#interface vlan 3
ZXR10_R2(config-if-vlan3)#ipv6 enable
ZXR10_R2(config-if-vlan3)#ipv6 ddress 2001:4::1/64
ZXR10_R2(config-if-vlan3)#ipv6 pim
ZXR10_R2(config)#ipv6 router ospf 1
ZXR10_R2(config-router)#router-id 2.2.2.2
ZXR10_R2(config)#interface vlan 2
ZXR10_R2(config-if-vlan2)#ipv6 ospf area 0
ZXR10_R1(config)#int vlan 1
ZXR10_R1(config-if-vlan1)#ipv6 ospf 1 area 0
Configuration on R3:
ZXR10_R3(config)#interface loopback1
ZXR10_R3(config-loopback1)#ipv6 enable
ZXR10_R3(config-loopback1)#ipv6 address 1000::3/128
ZXR10_R3(config)#ipv6 multicast-routing
ZXR10_R3(config)#ipv6 router pimsm
ZXR10_R1(config)#ipv6 router pimsm static-rp 1000::3
ZXR10_R3(config)#interface vlan 1
ZXR10_R3(config-if-vlan1)#ipv6 enable
ZXR10_R3(config-if-vlan1)#ipv6 address 2001:2::2/64
ZXR10_R3(config-if-vlan1)#ipv6 pim
ZXR10_R3(config)#interface vlan 2
ZXR10_R3(config-if-vlan2)#ipv6 enable
10-10
ZXR10_R3(config-if-vlan2)#ipv6 2001:3::1/64
ZXR10_R3(config-if-vlan2)#ipv6 pim
ZXR10_R3(config)#ipv6 router ospf 1
ZXR10_R3(config)#router-id 3.3.3.3
ZXR10_R3(config)#interface vlan 1
ZXR10_R3(config-if-vlan1)#ipv6 ospf 1 area 0
ZXR10_R3(config)#interface vlan 2
ZXR10_R3(config-if-vlan2)#ipv6 ospf 1 area 0
ZXR10_R3(config)#interface loopback1
ZXR10_R3(config-loopback1)#ipv6 ospf 1 area 0
Command Function
Information Description
mr6 data upsend suc The number of data packets sent by mr successfully.
mr6 data upsend fail The number of data packets sent by mr unsuccessfully.
mr6 pim6 upsend suc The number of data packets sent by pim successfully.
mr6 pim6 upsend fail The number of data packets sent by pim unsuccessfully.
mr6 pim6 send The total number of data packets sent by pim.
mr6 mld upsend suc The number of data packets sent by mld successfully.
mr6 mld upsend fail The number of data packets sent by mld unsuccessfully.
mr6 mld send The total number of data packets sent by mld.
mr6 pro send The total number of data packets sent by mr.
10-11
Command Function
ZXR10#show ipv6 mroute [ [ group < group-address> [ source < This displays information in multicast
source-address> ] ] | [ summary] forwarding table.
Instructions:
a. If there is no option specified, this command displays all multicast forwarding
tables.
b. If any group is specified, this command displays the group (*, g) and all related
forwarding entries (s, g).
c. If group and source addresses are specified, this command displays the specified
(s, g) forwarding entries.
d. If keyword summary is specified, this command displays statistics on routing
entries.
e. The description of displayed information is shown below.
Information Description
Entry flags Forwarding routing entry state: F can be forwarded, U protocol needs to
be sent, P in pruned state, can not be forwarded.
Command Function
ZXR10#show ipv6 mld groups [ < interface-name> ] | [ < group-addr> ] This views the added MLD group
information on interface.
Information Description
Interface Interface
Expire Left time in time-out timer, never indicates that there is a static group, timer
is inactivated
2. To view the MLD configuration information on interface, use the following command.
10-12
Command Function
ZXR10#show ipv6 mld interface [ < interface-name> ] This views the MLD configuration
information on interface.
1 ZXR10#show ipv6 pim mroute [ [ group < group-address> [ source < This displays information of IPv6
source-address> ] ] | [ group < group-address> ] PIM-SM routing table.
5 ZXR10#show ipv6 pimsm interface [ < interface-name> ] This displays information on PIM-SM
interface.
6 ZXR10#show ipv6 pim neighbor [ < interface-name> ] This displays neighbor information of
PIM-SM Interface.
8 ZXR10#show ipv6 pim rp mapping [ info-source< info-source> ] This displays information of RP set.
10-13
10 ZXR10#show ipv6 pim topology [ [ group < group-address> [ source < This displays topology information of
source-address> ] ] | [ route-count] PIM-SM multicast routing table.
12 ZXR10#show ipv6 rpf [ address< ipv6-addr> ] This displays the checking result rpf
sent to RP or source.
2 ZXR10#show ipv6 mld snooping group < ipv6-address> vlan < vlan-id> This displays configuration and
running information of a specified
group.
4 ZXR10#show ipv6 mld snooping port-info vlan < vlan-id> This displays VLAN interface
information related to MLD
SNOOPING.
5 ZXR10#show ipv6 mld snooping statistic [ clear] [ < port-name> ] This displays statistics information
of MLD packets.
6 ZXR10#show ipv6 mld snooping vlan < vlan-id> This displays MLD SNOOPING
configuration related to specified
VLAN.
Debugging PIM-SM
To debug PIM-SM, perform the following steps.
10-14
9 ZXR10#debug ipv6 mld group < group-addr> This enables debugging mld related
to group.
10 ZXR10#debug ipv6 mld interface < interface-name> This enables debugging mld related
to interface.
10-15
10-16
I
Figures
IS-IS
- Intermediate System-to-Intermediate System
LSA
- Link State Advertisement
NBMA
- Non-Broadcast Multiple Access
NDP
- Neighbor Discovery Protocol
NLRI
- Network Layer Reachable Information
NSAP
- Network Service Access Point
OSPF
- Open Shortest Path First
OUI
- Organizationally Unique Identifier
PDA
- Personal Digital Assistant
III
ZXR10 5900E Series User Manual (IPv6 Volume)
QoS
- Quality of Service
RARP
- Reverse Address Resolution Protocol
RIPng
- Routing Information Protocol next generation
SPF
- Shortest Path First
TLV
- Type/Length/Value
UDP
- User Datagram Protocol
IV