IPv6オペレータ育成プログラム

本資料は2009年11月19日に開催されたIPv4アド
レス枯渇対応タスクフォ ス主催のレス枯渇対応タスクフォース主催のIPv6ハンズオンセミナー「マルチキャスト編」(講師：鹿志村康生氏)を元にし、公開用に資料を編集したものである。
IPv4アドレス枯渇対応タスクフォース
http://www.kokatsu.jp/
1© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

IPv6オペレータ育成プログラム

IPv6ハンズオンセミナー
マルチキャスト編＜ハンズオンテキスト＞

日本アルカテル・ルーセント株式会社
鹿志村 康生2
2© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

IPv6オペレータ育成プログラム

Agenda（第2部：ハンズオン)
1. ハンズオン環境について
ズオ 環境
2. 設定とStatusの確認>– Enable IPv6 multicast routing– Enable MLD– Enable PIM– Configuring RP for PIM‐ASM– Configuring PIM‐SSM– Configuring MLD Snooping

3. 動作確認–Streamの送信–PIM‐ASM動作確認
PIM ASM動作確認–PIM‐SSM動作確認–MLD‐Snooping動作確認
MLD Snooping動作確認–PIM Route Failover

4 Advanced course
4.
–PIM DRの動作–Static MLD joinj–SSM mapping

5. まとめ© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

3

IPv6オペレータ育成プログラム

ハンズオン環境について© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

4

IPv6オペレータ育成プログラム
Streaming
Server

全体構成
ALA

RT-1

RT-2

RT 20
RT-20

ALU

RT 21
RT-21

CIS

RT 22
RT-22

Copper

ALA

ALU

ALU

Fiber

RT-3

CIS

RT 23
RT-23

CIS

RT 24
RT-24

ALA

RT 25
RT-25

ALA

RT 26
RT-26

ALA

RT 27
RT-27

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

5

IPv6オペレータ育成プログラム
Streaming
Server

全体構成<not print>

0/1(vlan1)
0/2(vlan2)

ALA

0/3(vlan3)

RT-1

0/1(vlan1)

RT-2

ALU

2

3

1/1/1

2/1
1/1/2

9

2
6

7

2/1
2/2
2/5

CIS
ALU
1/3/5
/
1/3/3 RT-21
RT 21 1/3/3 RT-22
RT 22 2/3

ALU

RT 20
RT-20

4 5

Fiber

RT-3

1/1/1

8

2/2

CIS

RT 23
RT-23

2/3

3

2/1

4

ALA

5 6

7

9
8

2/2
0/2
0/1
2/5
CIS
0/5 ALA
2/3
0/3

RT 24
RT-24

RT 25
RT-25

Copper

0/1

0/2

0/2

0/1

0/5

ALA

RT 26 0/3
RT-26

0/5

ALA

RT-27
RT
27 0/3© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

6

IPv6オペレータ育成プログラム
アドレッシング/Port
Multicast Stream:(2001:1:10::10, FF18::1:1) ASM用
(2001:1:10::10, FF38::2:1) SSM用
用

自身のRouter名: RT-XXのXX部分を下記にあてはめて下さいのXX部分を下記にあてはめて下さい。

1/1/1(ge-1/1/1) ALU
0/1( l 1)
0/1(vlan1)
AlaxalaAll2/1(Gig 2/1)
cisco

LoopbackLb k
2001::2/128

OSPFv3::2

RT-XX

2001:1:2::/64

RT-2

Loopback: 2001::XX/128

2001:1:10::/64

2001:2:XX::/64
::XX
::XX
2001:XX::/64

1/3/1(e-1/3/1)
1/3/3(vpls3)
0/3(vlan3)
2/3(vlan3)

ALU(L３)
ALU(L2)
Alaxala
cisco

RT-1

2001:3:XX::/64

Streaming
Server2001:1:3::/64
::3
3

RT-3
1/1/2(ge-1/1/2) ALU
0/2(vlan2)/
Alaxala2/2(Gig 2/2)
cisco
© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

7

IPv6オペレータ育成プログラム
L2/L3内部構成<Alcatel>
RT-2<Alaxala>
RT-3

ge-1/1/1

ge-1/1/2

vpls 3(vlan 3)

RT-2

RT-3

0/1(vlan1) 0/2(vlan2)

Vlan3<Cisco>RT-2

gig 2/1

RT-3

gig 2/2

Vlan3

e-1/3/1/ /1/3/2

1/3/3 1/3/4

0/3

0/4

gig 2/3

gig 2/4© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

8

IPv6オペレータ育成プログラム
ルータへのアクセス方法■ “TeraTerm”
TeraTerm から ル
ループバックアドレスへTelnet
プバックアドレスへTelnet＃Host指定の所は [2001::XX] のように括弧でくくる。

<ALU>
user/pass = admin/admin<Alaxala>user = operator
enable password無し
c sco<cisco>login password無し
enable password = cisco© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

9

IPv6オペレータ育成プログラム

基本的なConfig方法• Alcatel : Enable modeからそのままconfig
ALU# configure router pim xxxxxxx• Alaxala : configモードに入って設定、保存してからExit
Alaxala# conf t
Alaxala (config)# ipv6 pim xxxxxxx! Alaxala (config)# save
Alaxala(config)#a a a(co
g)# e
exit
t
Alaxala#• Cisco : configモードに入って設定gcisco#conf t
cisco(config)#ipv6 pim xxxxxxx
cisco(config)#exit(g)
cisco#© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

10

IPv6オペレータ育成プログラム• Alcatel :Configの保存

ALU# admin save
Writing file to cf3:¥v6mcast-training
Saving configuration .... Completed.
Completed• Alaxala :! Alaxala (config)# save <Congigモ<Congigモードから保存>
ドから保存>
Alaxala# copy running-config startup-config
Configuration
Cogu at o filee copy to sta
startup-config?
tup cog? (y/(y/n):): y• Cisco :Cisco#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

11

IPv6オペレータ育成プログラム

IPv6 unicast関連 確認コマンド(参考)• Alcatel :ALU# show router interface ipv6
ALU# show router route-table
route table ipv6
ALU# show router route-table 2001::1
ALU# show router ospf3 <interface/neighbor/etc..>
ALU# ping 2001::1• Alaxala :Alaxala# show ipv6 interface
Alaxala# show ipv6 route
Alaxala# show ipv6 route 2001::1
Alaxala# show ipv6 ospf <interface/neighbor/etc..>
Alaxala# ping ipv6 2001::1© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

12

IPv6オペレータ育成プログラム

IPv6 unicast関連 確認コマンド(参考)• Cisco :cisco# show ipv6 interface
cisco# show ipv6 routecisco# show ipv6 route 2001::1
cisco# show ipv6 ospf <interface/neighbor/etc..>
cisco# ping 2001::1© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

13

IPv6オペレータ育成プログラム

Enable IPv6 Multicast Routing© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

14

IPv6オペレータ育成プログラム

Enable IPv6 multicast routing• Alcatel : 不要
• Alaxala:
Al lAlaxala# conf t
Alaxala (config)# swrt_table_resource
swrt table resource l3switch-X
l3switch X<IPv6 multicastが使用できるようにリソース割り当てを変更する>
Alaxala (config)# swrt_multicast_table<multicast routingとsnoopingを同時に使用可能にする>
Alaxala (config)# ipv6 multicast-routing<ipv6 multicast routingをEnableにする>• CiscoCi:
cisco# conf t
cisco(config)# ipv6 multicast-routing
multicast routing<ipv6 multicast routingをEnableにする>© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

15

IPv6オペレータ育成プログラム

Enable MLD router© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

16

IPv6オペレータ育成プログラム

Enable MLD router• Alcatel :ALU# configuregrouter mld interface "e-1/3/1"• Alaxala :Alaxala (config)# interface vlan 3
Alaxala (config-if)# ipv6 mld router• Cisco
Ci
: 不要
“ipv6
p multicast‐routing”をEnableにした時点で全て
gのIPv6 interfaceでpim/mldはEnableとなる。

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

17

IPv6オペレータ育成プログラム• Alcatel :MLD 確認ALU# show router mld status===============================================================================
MLD Status===============================================================================
Admin State: Up
Oper State: Up
Query Interval: 125
Last Listener Query Interval: 1
Query Response Interval: 10
Robust Count: 2===============================================================================
ALU# show router mld interface===============================================================================
MLD Interfaces===============================================================================
Interface
Adm Oper Cfg/Opr
Num
PolicyQuerier
VersionGroups------------------------------------------------------------------------------e-1/3/1
Up
Up
2/2
0
none
FE80::216:4DFF:FE56:25DB------------------------------------------------------------------------------Interfaces : 1===============================================================================© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED. 18

IPv6オペレータ育成プログラム• Alaxala :MLD 確認

Alaxala# show ipv6 mld interface
Date 2000/02/13 19:30:58 UTC
Total: 1 Interface
InterfaceVersion Flags
g
Querier
NoticeVLAN0003
2
S
fe80::212:e2ff:fe08:6915

ExpirespGroup
p Count-© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

019

IPv6オペレータ育成プログラム• Cisco :MLD 確認cisco#show ipv6 mld interface vlan 3
Vlan3 is up, line protocol is up
Internet address is FE80::213:5FFF:FE1C:F840/10
MLD is enabled on interface
Current MLD version is 2
MLD query interval is 125 seconds
MLD querier timeout is 255 seconds
MLD max qquery
y responseptime is 10 seconds
Last member query response interval is 1 seconds
MLD activity: 13 joins, 0 leaves
MLD querying router is FE80::213:5FFF:FE1C:F840 (this system)
MLD snooping is globally enabled
MLD snooping is enabled on this interface
MLD snooping fast-leave (for v1) is disabled
MLD snooping querier is disabled.
MLD snooping explicit-tracking is enabled
MLD snooping last member query response interval is 1000 ms
MLD snooping report-suppression is enabled© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

20

IPv6オペレータ育成プログラム

Enable PIM© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

21

IPv6オペレータ育成プログラム• Alcatel :Enable PIM on interface

ALU # configure router pim
ALU >config>router>pim# no ipv6-multicast-disable
ALU >config>router>pim# interface ge-1/1/1
ALU >config>router>pim>if# exit
ALU >config>router>pim# interface ge-1/1/2
ALU >config>router>pim>if# exit
ALU >config>router>pim# interface e-1/3/1
ALU >config>router>pim>if# exit

• Alaxala :Alaxala(config)#Alaala(config)# interface vlan 1
Alaxala(config-if)# ipv6 pim
Alaxala(config-if)# exit
Alaxala(config)#ginterface vlan 2
Alaxala(config-if)# ipv6 pim
Alaxala(config-if)# exit
Alaxala(config)# interface vlan 3
Alaxala(config if)# ipv6 pim
Alaxala(config-if)#
Alaxala(config-if)# exit

• Cisco : 不要
“ipv6 multicast-routing”
をEnableにした時点で全てのIPv6 interfaceでpim/mldはE bl となる
Enableとなる。

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

22

IPv6オペレータ育成プログラム• Alcatel :PIM interface 確認

ALU # show router pim interface ipv6===============================================================================PIM Interfaces ipv6
p===============================================================================
Interface
Adm Opr DR Prty
Hello Intvl Mcast Send
DR------------------------------------------------------------------------------ge-1/1/1
Up
Up
1
30
auto
FE80::216:4DFF:FE56:25DB
ge-1/1/2
Up
Up
1
30
auto
FE80::216:4DFF:FE9B:A0FA
e-1/3/1
Up
Up
1
30
auto
FE80::216:4DFF:FE56:25DB------------------------------------------------------------------------------Interfaces : 3===============================================================================© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

23

IPv6オペレータ育成プログラム• Alcatel :PIM Neighbor 確認

ALU # show router pim neighbor ipv6===============================================================================PIM Neighborg
ipv6p===============================================================================
Interface
Nbr DR Prty
Up TimeExpiry Time
Hold Time
Nbr Address------------------------------------------------------------------------------ge-1/1/1
10d 06:07:32
0d 00:01:43
105
FE80::216:4DFF:FE1D:D1B8
ge-1/2/1
1
0d 05:54:21
0d 00:01:24
105
FE80::216:4DFF:FE9B:A0FA------------------------------------------------------------------------------Neighbors : 2===============================================================================© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

24

IPv6オペレータ育成プログラム• Alaxala :PIM interface 確認

Alaxala# show ipv6 pim interface
Date 2000/02/13 04:21:02 UTCInterface
Component
Vif Nbr
Hello DRThisCount Intvl Address
System
VLAN0001
PIM-SM1
1
30 fe80::212:e2ff:fe08:6915 Y
VLAN0002
PIM-SM2
1
30 fe80::216:4dff:fe9b:a0fa N
VLAN0003
PIM-SM3030 fe80::212:e2ff:fe08:6915 Y© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

25

IPv6オペレータ育成プログラム• Alaxala :PIM Neighbor 確認

Alaxala# show ipv6 pim neighbor
Date 2000/02/13 04:23:18 UTC
Neighbor Address
Interfacefe80::203:faff:feac:2432 VLAN0001
fe80::216:4dff:fe9b:a0fa VLAN0002

Uptime1hour
1hour

Expires
01:41
01:41

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

26

IPv6オペレータ育成プログラム• Cisco :PIM interface 確認

cisco#show ipv6 pim interface
Interface
PIM Nbr
Hello
Count Intvl

DR
Prior

GigabitEthernet2/2 on
130
1Address: FE80::213:5FFF:FE1C:F840
DR: FE80::216:4DFF:FE9B:A0FA
GigabitEthernet2/1 on
130
1Address: FE80::213:5FFF:FE1C:F840
DR: FE80::216:4DFF:FE1D:D1B8
Vlan3
on
0
30
1
Address: FE80::213:5FFF:FE1C:F840
DR: this system© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

27

IPv6オペレータ育成プログラム• Cisco :PIM Neighbor 確認

cisco#show ipv6 pim neighbor detail
Neighbor Address(es)Interface
UptimeExpires DR pri Bidir
Address-list Hello option included as type 24 and 65001
FE80::216:4DFF:FE9B:A0FA
2001:3:5::3

GigabitEthernet2/2 3w0d

00:01:21 1 (DR)FE80::216:4DFF:FE1D:D1B8
2001:2:5::2

GigabitEthernet2/1
g
3w0d

00:01:43 1 (DR)© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

28

IPv6オペレータ育成プログラム

Configuring RP for PIM‐ASM© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

29

IPv6オペレータ育成プログラム

Configuring RP for PIM‐ASM• Alcatel :ALU # configure router pim
ALU >config>router>pim# rp ipv6
ALU >config>router>pim>rp>ipv6# static address 2001::2<RPを2001::2に静的に設定する>
ALU >config>router>pim>rp>ipv6>static>address# override<BSRよりもstatic-rpの設定を優先させるように”override”設定をする>
ALU >config>router>pim>rp>ipv6>static>address# group-prefix FF18::/16<2001::2をRPとして使用するgroup-addressの範囲を指定する>• Alaxala
Al l :
Alaxala(config)# ipv6 access-list asm-group
Alaxala(config-ipv6-acl)#(g p) 10 ppermit ipv6
pany
y ff18::/16/<Access-List”asm-group”でgroup-addressの範囲を指定する>
Alaxala(config-ipv6-acl)# exit
Alaxala(config)# ipv6 pim rp-address 2001::2 asm-group<RPを2001 2に静的に設定し group-addressの範囲として”asm-group”を指定する><RPを2001::2に静的に設定し、ddの範囲として””を指定する>© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

30

IPv6オペレータ育成プログラム• Cisco :Configuring RP for PIM‐ASM

cisco(config)#ipv6 access-list asm-groupcisco(config-ipv6-acl)#permit ipv6 any ff18::/16<Access-List”asm-group”でgroup-addressの範囲を指定する>
cisco(config-ipv6-acl)#exiti(
fi i 6l)# itcisco(config)#ipv6 pim rp-address 2001::2 asm-group<RPを2001::2に静的に設定し、 group-addressの範囲として”asm-group”を指定する>© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

31

IPv6オペレータ育成プログラム• Alcatel :RP to Group mapping 確認

ALU # show router pim rp ipv6===============================================================================PIM RP Set ipv6===============================================================================
Group Address
Hold Expiry
RP Address
Type
Prio Time Time------------------------------------------------------------------------------FF18::/16/
2001::2
Static1
N/A N/A------------------------------------------------------------------------------Group Prefixes : 1===============================================================================• Alaxala :Alaxala# show ipv6 pim rp-mapping
Date 2000/02/13 19:17:06 UTC
Status : Not Candidate Rendezvous Point
Total: 1 route , 1 g
group
p , 1 RP
Group/Masklen
C-RP Address
ff18::/16
2001::2

Priority Uptime Expires
0 16hours --:--© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

32

IPv6オペレータ育成プログラム• Cisco :RP to Group mapping 確認

cisco#show ipv6 pim group-map <ff18::>＜Group-addressから使われ方(SM or SSM, RP-Aｄｄ等)を確認>
FF18::/16*SM, RP: 2001::2
RPF: Gi2/1,FE80::216:4DFF:FE1D:D1B8
Info source: Static
Uptime: 15:51:35, Groups: 1
c6504#show ipv6 pim range-list＜RP-addressからGroup-addressを確認>
Static SSM Exp: never Learnt from : ::FF33::/32/
Up: 3w2d
FF34::/32 Up: 3w2d
<省略>
FF3D::/32 Up: 3w2d
FF3E::/323/32 Up: 3
3w2d
2d
FF3F::/32 Up: 3w2d
Static SM RP: 2001::2 Exp: never Learnt from : ::FF18::/16 Up: 15:52:45© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

33

IPv6オペレータ育成プログラム

Configuring PIM‐SSM© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

34

IPv6オペレータ育成プログラム• Alcatel :Configuring PIM‐SSM

ALU # configure router pim
ALU >config>router>pim# ssm-groups
ALU >config>router>pim>ssm# group-range FF38::/16<FF38::/16をPIM-SSMのGroup-address範囲として設定する><FF38::/16をPIM
SSMのGroup address範囲として設定する>• Alaxala :Alaxala(config)# ipv6 access
access-list
list ssm
ssm-group
group
Alaxala (config-ipv6-acl)# permit ipv6 any ff38::/16<Access-List”ssm-group”でgroup-addressの範囲を指定する>
Alaxala (config-ipv6-acl)# exit
Alaxala (config)#i # ipv6i 6 pimi ssm range ssm-group<SSMのGroup-address範囲として”ssm-group” を指定する>※または、 “ipv6※またはipv6 pim ssm default”
default でも良い。この場合、FF3X::の全ての標準SSMアドレス範囲につでも良い。この場合 FF3X::の全ての標準SSMアドレス範囲についてSSMがEnableとなる。

• Cisco : 不要
“ipv6 multicast-routing”をEnableにした時点でFF3X::の全ての標準SSMアドレス範囲について
SSMがEnableとなる。
© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

35

IPv6オペレータ育成プログラム

Configuring MLD‐Snooping© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

36

IPv6オペレータ育成プログラム• Alcatel :Configuring MLD‐Snooping

ALU# configure service vpls 3
ALU >config>service>vpls# mld-snooping no shutdown<vpls 3(VLAN3)でmld-snoopingをEnableにする>• Alaxala :Alaxala# interface vlan 3
Alaxala(config-if)# ipv6 mld snooping<vlan 3 でmld-snoopingをEnableにする>• Cisco : 不要
DefaultでEnableとなっている。

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

37

IPv6オペレータ育成プログラム• Alcatel :MLD Snooping status確認
確認

ALU # show service id 10 mld-snooping base===============================================================================
MLD Snooping Base info for service 10===============================================================================
Admin State : Up
Querier: FE80::216:4DFF:FE56:25DB on SAP 1/8/2------------------------------------------------------------------------------Sap/Sdp/
Oper
MRtr Send
Max Num
MVR
Num
Id
State
Port QueriesGroupsFrom-VPLS Groups------------------------------------------------------------------------------sap:1/8/2
UpYes
Disabled No Limit Local0
sap:1/8/3/ /Up
No
Disabledi
No Limit
i i
Local
0
===============================================================================© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

38

IPv6オペレータ育成プログラム• Alaxala :MLD Snooping status確認
確認

Alaxala# show mld-snooping
Date 2000/02/13 20:21:35 UTC
VLAN counts: 1
VLAN: 3IP address: fe80::212:e2ff:fe08:6915
Querier: disable
MLD querying system: fe80::212:e2ff:fe08:6915
Querier version: V2
IPv6 Multicast routing: On
Port(1): 0/3
Mrouter-port:
Group Counts: 0• Cisco :cisco#show ipv6 mld snooping mrouter
vlan
ports
-----+---------------------------------------3 Router© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

39

IPv6オペレータ育成プログラム

Streamの送信(VLC mediaplayer)© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

40

IPv6オペレータ育成プログラム

VLCでのStreamの送信(例)1.“メディア” メニューから “ストリーミング” を選択
2.ソースとするファイルを選択後、”ストリーム”をクリック© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

41

IPv6オペレータ育成プログラム

VLCでのStreamの送信
3.プロトコル、Encap Type,
アドレス/Port TTL等を指定
アドレス/Port,TTL等を指定

D f ltでは”1”とな て
Defaultでは”1”となっているため注意が必要！

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

42

IPv6オペレータ育成プログラム

VLCでのStreamの送信
4.ビデオ・オーディオコーデッ
ク レートを指定
ク,レートを指定© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

43

IPv6オペレータ育成プログラム

PIM‐ASM動作確認© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

44

IPv6オペレータ育成プログラム

ASM (S,G) 送信開始
② (2001:1:10::10,(2001 1 10 10 FF18
FF18::1:1)
1 1)
③

RP
①
RT-XX

RT-2

RT-1

MLD reportJoin(*,FF18::1:1)
i
18 1 1(2001 1 10 10 FF18
(2001:1:10::10,
FF18::1:1)
1 1)

RT-3
① PIM Register PacketをRP(2001::2)へ送信 (Unicast)② RPに(S,G)のEntryが作られる③ RPからFirstHopRouterへRegister Stopを送信© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

45

IPv6オペレータ育成プログラム

RPの状態を確認
状態を確認
ALU# show router pim group ipv6===============================================================================PIM Groups ipv6===============================================================================
Group Address
Type
Spt Bit Inc Intf
No.Oifs
Source Address
RP------------------------------------------------------------------------------FF18::1:1(S,G)
ge-1/1/4
0
2001:1:10::10
2001::2------------------------------------------------------------------------------Groups : 1===============================================================================© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

46

IPv6オペレータ育成プログラム

ASM groupへJoin
RP:2001::2

RT-XX

RT-2

(2001:1:10::10, FF18::1:1)

RT-1

MLD reportJoin(*,FF18::1:1)
i
18 1 1

RT-3© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

47

IPv6オペレータ育成プログラム

VLC Client GUIからJoin (ASM)“メディア” メニューから “ネットワークストリームを開く” を選択プロトコル アドレス ポートを指定し”再生する”をクリック
プロトコル、アドレス、ポートを指定し”再生する”をクリック

または、コマンドプロンプトから “vlc rtp://@[ff18::1:1]:1234”© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

48

IPv6オペレータ育成プログラム

動作確認◆MLD Entryは正しく出来ていますか？
◆ PIMの配信Treeはどのような状態になっていますか？(Forwarding Entryは正しく出来ていますか？)◆(*,G) と (S,G)のRPF interface(Incoming interface)はどのような状態になっているでしょうか？
またそのような状態になった理由は？

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

49

IPv6オペレータ育成プログラム• Alcatel :MLD Entryの確認

ALU # show router mld group===============================================================================MLD Groups===============================================================================(*,FF18::1:1)
Up Time : 0d 00:00:14
Fwd List : e-1/8/1------------------------------------------------------------------------------(*,G)/(S,G) Entries : 1===============================================================================• Alaxala :Alaxala# show ipv6 mld group
Date 2000/02/13 22:16:09 UTC
Total: 1 group
Group Address/Source Address
Interface
Reporter
Uptime Expires MLDv1
Time MLDv2Time
ff18::1:1
VLAN0003
fe80::7d4c:d2a0:dfed:d2a3 17:50
03:30-:-03:30

Version Mode

2

Last

EXCLUDE© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

50

IPv6オペレータ育成プログラム

MLD Entryの確認• Cisco :cisco#show ipv6 mld groups detailInterface:
Vlan3
Group:
FF18::1:1
Uptime:00:03:27
R t
Routermode:d
EXCLUDE (E(Expires:i00
00:03:41)
03 41)
Host mode:
INCLUDE
Last reporter: FE80::7D4C:D2A0:DFED:D2A3
Source list is empty© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

51

IPv6オペレータ育成プログラム

PIMの配信Treeの確認• Acatel :ALU # show router pim group ipv6===============================================================================PIM Groups ipv6===============================================================================
Group Address
Type
Spt Bit Inc Intf
No.Oifs
Source Address
RP------------------------------------------------------------------------------FF18::1:1(*,G)
ge-1/1/1
1*
2001::2
FF18::1:1(S,G)
spt
ge-1/2/1
1
2001:1:10::10
2001::2------------------------------------------------------------------------------Groups : 2===============================================================================© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

52

IPv6オペレータ育成プログラム

PIMの配信Treeの確認• Alaxala :Alaxala# show ipv6 mroute
Date 2000/02/13 22:18:29 UTC
Total: 2 routes, 1 group , 1 source(S,G) 1 route-------------------------------------------------Group Address
Source Address
ff18::1:1
2001:1:10::10
uptime 20:10
expires 03:05
assert 00:00
flags LT protocol SM
incoming: VLAN0002
upstream: fe80::216:4dff:fe9b:a0fa
outgoing: VLAN0003
uptime 20:10
expires --:-( ,G) 1 route(*,G)-------------------------------------------------Group Address
RP Address
ff18::1:1
2001::2
uptime 20:10
expires --:-assert 00:00
flags LR protocol SM
incoming: VLAN0001
upstream: fe80::203:faff:feac:2432
outgoing: VLAN0003
uptime 20:10
expires --:--© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

53

IPv6オペレータ育成プログラム

PIMの配信Treeの確認• Cisco :cisco#show ipv6 mroute
Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group,C - Connected,
Connected L - Local,
Local I - Received Source Specific Host Report,
ReportP - Pruned, R - RP-bit set, F - Register flag, T - SPT-bit set,
J - Join SPTTimers: Uptime/Expires
Interface state: Interface,
Interface State(*, FF18::1:1), 00:03:16/never, RP 2001::2, flags: SCJ
Incoming interface: GigabitEthernet2/1
RPF nbr: FE80::216:4DFF:FE1D:D1B8
Immediate Outgoing interface list:
Vlan3, Forward, 00:03:16/never(2001:1:10::10, FF18::1:1), 00:04:05/00:00:13, flags: SJT
Incoming interface: GigabitEthernet2/2
RPF nbr: FE80::216:4DFF:FE9B:A0FA
Inherited Outgoing interface list:
Vlan3, Forward, 00:03:16/never© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

54

IPv6オペレータ育成プログラム

Multicast Forwarding Entryの確認• Alcatel : 該当コマンド無し• Alaxala :Alaxala# show ipv6 mcache
Date 2000/02/13 22:21:01 UTC
Total: 1 routeGroup Address
ff18::1:1
uptime: 22:45
expires: 03:30
incoming:
VLAN0002
outgoing:
VLAN0003<snooping>

Source Address
2001:1:10::10© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

55

IPv6オペレータ育成プログラム• Cisco :Multicast Forwarding Entryの確認

cisco#show ipv6 mfib FF18::1:1<省略>(*,FF18::1:1) Flags: C
RP Forwarding: 0/0/0/0, Other: 0/0/0
LC Forwarding: 0/0/0/0
0/0/0/0, Other: 0/0/0
HW Forwd:
0/0/0/0, Other: NA/NA/NA
GigabitEthernet2/1 Flags: A NS
Vlan3 Flags: F NS
Pkts: 0/0/0(2001:1:10::10,FF18::1:1) Flags:
RP Forwarding: 9336/0/1376/0, Other: 25/25/0
LC Forwarding: 0/0/0/0, Other: 0/0/0
HW Forwd:
265399/707/1376/7602
265399/707/1376/7602, Other: NA/NA/NA
GigabitEthernet2/2 Flags: A
Vlan3 Flags: F NS
Pkts: 0/9243/9© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

56

IPv6オペレータ育成プログラム

RPF の確認 <Alcatel>
ALU # show router route-table 2001::2===============================================================================
IPv6 Route Table (Router: Base)===============================================================================
Dest Prefix
Type
Proto
Age
Pref
Next Hop[Interface
[
f
Name]
]
Metrici------------------------------------------------------------------------------2001::2/128
Remote OSPF301d00h39m
10
FE80::216:4DFF:FE1D:D1B8-"ge-1/1/1"
101------------------------------------------------------------------------------No. of Routes: 1===============================================================================
ALU# show router route-table 2001:1:10::10===============================================================================
IPv6 Route Table (Router: Base)===============================================================================
D t P
Dest
Prefix
fi
T
Type
P
Proto
t
A
Age
P
Pref
f
Next Hop[Interface Name]
Metric------------------------------------------------------------------------------2001:1:10::/64
Remote OSPF301d00h37m
10FE80 216 4DFF FE9B A0FA "FE80::216:4DFF:FE9B:A0FA-"ge-1/2/1"
1/2/1"
201------------------------------------------------------------------------------No. of Routes: 1© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED. 57===============================================================================

IPv6オペレータ育成プログラム

RPF の確認 <Alaxala>
Alaxala# show ipv6 route 2001::2＜省略＞* NextHop fe80::203:faff:feac:2432%VLAN0001, Interface: VLAN0001
Protocol <OSPFv3 intra>
Source Gateway ---Metric/2: 2/Distance/2/3: 110/1/0

Alaxala# show ipv6 route 2001:1:10::10＜省略＞* NextHop fe80::216:4dff:fe9b:a0fa%VLAN0002, Interface: VLAN0002
Protocol <OSPFv3 intra>
Source Gateway ---Metric/2: 102/Distance/2/3: 110/1/0
Alaxala# show ipv6 rpf 2001:1:10::10
Date 2000/02/13 22:55:25 UTC
RPF informationiifor ? (2001:1:10::10):
2001 1 10 10If VLAN0002 NextHop fe80::216:4dff:fe9b:a0fa© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

58

IPv6オペレータ育成プログラム

RPF の確認 <Cisco>cisco#show
#
ipv6
p
rpf
p 2001::2
RPF information for 2001::2
RPF interface: GigabitEthernet2/1
RPF neighbor: FE80::216:4DFF:FE1D:D1B8
RPF route/mask:t /k 2001::2/128
2001 2/128
RPF type: Unicast
RPF recursion count: 0
Metric p
preference: 110
Metric: 2
cisco#show ipv6 rpf 2001:1:10::10
RPF information
i f
ti
for
f
2001:1:10::10
2001 1 10 10
RPF interface: GigabitEthernet2/2
RPF neighbor: FE80::216:4DFF:FE9B:A0FA
RPF route/mask: 2001:1:10::/64
RPF type: Unicast
RPF recursion count: 0
Metric preference: 110
M t i
Metric:102© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

59

IPv6オペレータ育成プログラム

LHRで起きたこと(Debug例) ‐ 1
MLD reportを受信、RP向けRPF Neighborへ(*,G)Joinを送信
ALU #[029 22:22:48.660] MLD interface e-1/8/1[ifIndex 4] V2 PDU: :: -> FF02::16 pduLen 28
Type: V2 REPORT maxrespCode 0x0 checkSum 0x6e74
Num Group Records: 1
Group Record 0
Type: CHG_TO_EXCL, AuxDataLen 0, Num Sources 0
Mcast Addr: FF18::1:1
Source Address List
51 2009/11/07 16:24:45.49 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance 1 Base]: pimSendJoinPrunePdu
pimSendJoinPrunePdu: if 2, adj FE80::216:4DFF:FE1D:D1B8"
52 2009/11/07 16:24:45.49 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance 1 Base]: pimSGEncodeGroupSet
pimEncodeGroupSet: encoding groupset for group FF18::1:1, numJoinedSrcs 1, numPr
unedSrcs 0"
53 2009/11/07 16:24:45.49 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance 1 Base]: pimSGEncodeGroupSet
pimEncodeGroupSet: Encoding Join for (*,G) RP = 2001::2"© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

60

IPv6オペレータ育成プログラム

LHRで起きたこと(Debug例) ‐ 2
Source向けRPF Neighborへ (S,G)Joinを送信

57 2009/11/07 16:24:45.53 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance 1 Base]: pimSendJoinPrunePdu
pimSendJoinPrunePdu: if 3, adj FE80::216:4DFF:FE9B:A0FA"
58 2009/11/07 16:24:45.53 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance 1 Base]: pimSGEncodeGroupSet
pimEncodeGroupSet: encoding groupset for group FF18::1:1, numJoinedSrcs 1, numPr
unedSrcs 0"
59 2009/11/07 16:24:45.54 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance[
1 Base]:] p
pimSGEncodeGroupSetp
pimEncodeGroupSet: Encoding Join for source 2001:1:10::10"
60 2009/11/07 16:24:45.54 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance 1 Base]: pimSGEncodeGroupSet
pimEncodeGroupSet: num joined srcs 1,
1 num pruned srcs 0"© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

61

IPv6オペレータ育成プログラム

LHRで起きたこと(Debug例) ‐ 3
RP向けのRPF neighborへ (S,G)RPT-Pruneを送信
64 2009/11/07 16:24:45.55 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance 1 Base]: pimSendJoinPrunePdu
pimSendJoinPrunePdu:
i
d i
d
if 2
2, adjdj FE80::216:4DFF:FE1D:D1B8"80 216 41
1 8"
65 2009/11/07 16:24:45.55 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance 1 Base]: pimSGEncodeGroupSet
pimEncodeGroupSet: encoding groupset for group FF18::1:1, numJoinedSrcs 0, numPr
unedSrcs 1"
66 2009/11/07 16:24:45.55 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance 1 Base]: pimSGEncodeGroupSet
pimEncodeGroupSet: Encoding RPT Prune for source 2001:1:10::10"
2001:1:10::10
67 2009/11/07 16:24:45.55 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance 1 Base]: pimSGEncodeGroupSet
pimEncodeGroupSet: num joined srcs 0, num pruned srcs 1"
68 2009/11/07 16:24:45.56 JST MINOR: DEBUG #2001 Base PIM[Instance 1 Base]"PIM[Instance 1 Base]: pimSendJoinPrunePdu
pimSendJoinPrunePdu2: sending JP PDU with 1 groups."© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

62

IPv6オペレータ育成プログラム

ASM GroupにJoinしている状態のTree
RP:2001::2(*,G)Tree
RT-XX

RT-2

(S,G)Tree
MLD reportJoin(*,FF18::1:1)
i
18 1 1(2001:1:10::10, FF18::1:1)

RT-1

Mcast
traffic

RT-3© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

63

IPv6オペレータ育成プログラム

PIM‐SSM 動作確認

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

64

IPv6オペレータ育成プログラム

SSM groupへJoin

RT-XX

RT-2

(2001:1:10::10,FF38::2:1)

RT 1
RT-1

MLD reportJoin(2001:1:10::10,FF38::2:1)

RT-3◆VLC Client CLIからJoin (SSM)
コマンドプロンプト(vlcのディレクトリ)から# vlc rtp://[2001:1:10::10]@[ff38::2:1]:1235© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

65

IPv6オペレータ育成プログラム◆MLD Entryは正しく出来ていますか？ASMの場合とどのような違いがありますか？
◆ PIMの配信Treeはどのような状態になっています
か？ASMの場合とどのような違いがありますか？

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

66

IPv6オペレータ育成プログラム• Alcatel :MLD Entryの確認

ALU# show router mld group ff38::2:1===============================================================================MLD Groups===============================================================================(2001:1:10::10,FF38::2:1)
Up Time : 0d 00:00:21
Fwd List : e-1/8/1------------------------------------------------------------------------------(*,G)/(S,G) Entries : 1===============================================================================© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

67

IPv6オペレータ育成プログラム• Alaxala :MLD Entryの確認

Alaxala# show ipv6
p
mld g
group
p ff38::2:1
Total: 1 group
Group Address/Source Address
Interface
Reporter
Uptime Expires MLDv1
Time MLDv2Time
ff38::2:1
VLAN0003
fe80::7d4c:d2a0:dfed:d2a3 05:04--:--:---:-2001:1:10::10
fe80::7d4c:d2a0:dfed:d2a3 05:04
03:47
03:47

Version Mode

Last

2

INCLUDE

-

-

Fwd
Yes

Flags
Remote 4• Cisco :cisco#show ipv6 mld groups ff38::2:1 detailInterface:
Vlan3
Group:
FF38::2:1
Uptime:p
00:00:22
Router mode:
INCLUDE
Host mode:
INCLUDE
Last reporter: FE80::7D4C:D2A0:DFED:D2A3
Group
p source list:
Source Address
Uptime2001:1:10::10
00:00:22

Expires
00:03:57© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

68

IPv6オペレータ育成プログラム

PIMの配信Treeの確認• Alcatel :ALU # show router pim group ff38::2:1===============================================================================PIM Groups ipv6===============================================================================
Group Address
Type
Spt Bit Inc Intf
No.Oifs
Source Address
RP------------------------------------------------------------------------------FF38::2:1(S,G)
ge-1/2/1
1
2001:1:10::10------------------------------------------------------------------------------Groups : 1===============================================================================© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

69

IPv6オペレータ育成プログラム

PIMの配信Treeの確認• Alaxala :Alaxala# show ipv6 mroute ff38::2:1
Date 2000/02/13 23:34:23 UTC
Total: 1 route , 1 group , 1 source(S,G) 1 route-------------------------------------------------Group Address
Source Address
ff38::2:1
2001:1:10::10
uptime 06:29
expires --:-assert 00:00
flags L
protocol SSM
incoming: VLAN0002
upstream: fe80::216:4dff:fe9b:a0fa
outgoing: VLAN0003
uptime 06:29
expires --:--© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

70

IPv6オペレータ育成プログラム

PIMの配信Treeの確認• Cisco :cisco#show ipv6 mroute ff38::2:1
Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group,C - Connected, L - Local, I - Received Source Specific Host
Report,P - Pruned, R - RP-bit set, F - Register flag, T - SPT-bit set,
J - Join SPTTimers: Uptime/Expires
Interface state: Interface, State(2001:1:10::10, FF38::2:1), 00:01:52/never, flags: sTI
Incoming interface: GigabitEthernet2/2
RPF nbr: FE80::216:4DFF:FE9B:A0FA
Immediate Outgoing interface list:
Vlan3, Forward, 00:01:52/never© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

71

IPv6オペレータ育成プログラム

SSM GroupにJoinしている状態のTree

RT-XX

RT-2

(S,G)Tree
MLD reportJoin(2001:1:10::10,FF38::2:1)(2001:1:10::10, FF38::2:1)

RT-1

Mcast
traffic

RT-3© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

72

IPv6オペレータ育成プログラム• Alcatel :(参考) たまに便利なコマンド

ALU # show router pim group ff38::2:1 detail＜省略＞Group Address: FF38::2:1
Source Address: 2001:1:10::10＜省略＞
Curr Fwding Rate
: 6920.7 kbps
Forwarded Packets : 71223
Discarded Packets : 0
Forwarded Octets: 98002848
RPF Mismatches: 0
Spt threshold: 0 kbps
ECMP opt threshold : 7
Admin bandwidth: 1 kbps------------------------------------------------------------------------------Groups : 1===============================================================================• Cisco :cisco#show ipv6 mfib active
Active IPv6 Multicast Sources - sending >= 4 kbps
Group: FF18::1:1
Source: 2001:1:10::10
RP Rate: 0 pps/0 kbps(1sec)
LC Rate: 0 pps/0 kbps(1sec)
HW Rate: 706 pps/7597 kbps(1sec)© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

73

IPv6オペレータ育成プログラム

MLD Snooping 動作確認

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

74

IPv6オペレータ育成プログラム

MLD Snoopingの確認<Alcatel>
RT 2
RT-2

<Alaxala>
RT 3
RT-3

ge-1/1/1

ge-1/1/2

vpls 3(vlan 3)

RT 2
RT-2

RT 3
RT-3

0/1(vlan1) 0/2(vlan2)

Vlan3<Cisco>RT 2
RT-2

gig 2/1

RT 3
RT-3

gig 2/2

Vlan3

e-1/3/1
1/3/2

1/3/3 1/3/4

0/3

PacketCaptureVLC
ClientVLC
Client0/4

PacketCapturegig 2/3

VLC
Clientgig 2/4

PacketCaptureClientと同 VLANに設定された別PortにPCを接続しPacket Captureを行い、Clientと同一VLANに設定された別PortにPCを接続しPacket
Multicast Packetを受信しないことを確認© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

75

IPv6オペレータ育成プログラム• Alcatel :MLD Snooping entryの確認

ALU # show service id 3 mld-snoopingp g pproxy-dbyGroup AddressMode
Up TimeNum Sources------------------------------------------------------------------------------FF18::1:1
exclude 0d 00:11:40
0FF38::2:1
include 0d 00:11:40
1------------------------------------------------------------------------------Number of groups: 2===============================================================================
ALU # show service id 3 mld-snooping port-db sap 1/3/3
Group Address
Mode
Type
From-VPLS Up Time

Num
MC
Src
Stdby
------------------------------------------------------------------------------c6504#show ipv6 mfib active
FF18::1:1
Active IPv6 Multicast Sources - sending >= 4 kbps
0d 00:11:41
143s
0Group: FF18::1:1exclude dynamic local
FF38::2:1
Source: 2001:1:10::10
includedynamic local
0d 00:11:41
0s
1
RP Rate: 0 pps/0kbps(1sec)------------------------------------------------------------------------------LC Rate: 0 pps/0 kbps(1sec)
Numberof groups:
2
HW Rate:706 pps/7597kbps(1sec)===============================================================================© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED. 76• Cisco :ExpiresIPv6オペレータ育成プログラム• Alaxala :MLD Snooping entryの確認

Alaxala# show mld-snooping group
Date 2000/02/14 01:02:29 UTC
Total Groups: 2
VLAN counts: 1
VLAN: 3 Group counts: 2 IPv6 Multicast routing: On
Group Address
MAC Address
ff18::1:1
3333.0001.0001
Port-list:0/3
ff38::2:1
3333.0002.0001
Port-list:0/3
Alaxala# show mld-snooping port 0/3
Date 2000/02/14 01:02:33 UTC
Port 0/3
VLAN counts: 1
VLAN: 3 Group counts: 2
Group Address
Last Reporter
ff18::1:1
fe80::7d4c:d2a0:dfed:d2a3
ff38::2:1
fe80::7d4c:d2a0:dfed:d2a3• Cisco :Uptime00:50
00:50

Version
-

Mode
-

-

-

Expires
04:01
04:05

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

77

IPv6オペレータ育成プログラム• Cisco :MLD Snooping entryの確認

cisco#show mac-address-table multicast mld-snooping
vlan
mac address
type
learn qos
ports-----+---------------+--------+-----+---+-------------------------------3 3333.0002.0001
static Yes
Gi2/3,Router
3 3333.0000.000d
static Yes
Gi1/2,Gi2/1,Gi2/2,Gi2/3
Router,Switch
3 3333.0000.0001
static Yes
Switch3 3333.0001.0003
static Yes
Gi2/3,Router
3 3333.0001.0001
static Yes
Gi2/3,Router
3 3333.0000.0016
static Yes
Switch© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

78

IPv6オペレータ育成プログラム

MLD Snoopingの確認<Alcatel>
RT 2
RT-2

<Alaxala>
RT 3
RT-3

ge-1/1/1

ge-1/1/2

RT 2
RT-2

RT 3
RT-3

0/1(vlan1) 0/2(vlan2)
Vlan3<Cisco>RT 2
RT-2

gig 2/1

RT 3
RT-3

gig 2/2

Vlan3

vpls 3(vlan 3)

e-1/3/1
1/3/2

1/3/3 1/3/4

0/3

PacketCaptureVLC
ClientVLC
Client0/4

PacketCapturegig 2/3

VLC
Clientgig 2/4

PacketCaptureMLD SnoopingをDisableにし、Multicast
をにしPacketがFloodされることを確認がされる とを確認© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

79

IPv6オペレータ育成プログラム

Disabling/Enabling/
MLD‐Snooping• Alcatel :ALU # configure service vpls 3 mld-snooping shutdown
ALU # configure service vpls 3 mld-snooping no shutdown• Alaxala :Alaxala(config)# no ipv6 mld snooping
Alaxala(config)# ipv6 mld snooping• Cisco :cisco(config)#no ipv6 mld snooping
cisco(config)#ipv6 mld snooping© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

80

IPv6オペレータ育成プログラム

PIMでのRouter Failover© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

81

IPv6オペレータ育成プログラム

PIMのRoute Failover
上位の経路をDownさせ、PIMでの経路の切り替わりを観察する。
RP:2001::2(*,G)Tree
RT-XX

RT-2

(Sx,Gx)Tree
MLD reportJoin(*,FF18::1:1)(2001:1:10::10, FF18::1:1)

RT-1

Mcast
traffic

RT-3

PIM 配信Treeがどのように変わったか？
show router pim group ipv6/ show ipv6 mroute で確認© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

82

IPv6オペレータ育成プログラム

PIMのRoute Failover 切り替え時のプロセス
プ
RP:2001::2⑥(S,G)Join⑤(S,G)Join
RT-22
RT
⑦
RT-XX

(2001 1 10 10 FF18::1:1)(2001:1:10::10,
FF18 1 1)⑦④(S,G)Prune
RT-1

Receiver②unicast経路変更③multicast RPF変更
③
変更

Mcast
M
t
traffic①
RT-3(*,G) Tree
OLD (S,G) Tree
New (S,G) Tree

© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

83

IPv6オペレータ育成プログラム

Advanced Course
PIM DRの動作© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

84

IPv6オペレータ育成プログラム

PIM DR
下記コマンドでルータ～ルータ間のPortをno shutdown、およびおよびMLD‐Snoopingでのmrouter
portの設定をして下さい。
設定をさ• Alcatel :ALU # configure port 1/3/5 no shutdown
ALU # configure service vpls 3 mld-snooping shutdown• Alaxala :Alaxala(config)# interface gigabitethernet 0/5
Alaxala(config-if)# no shutdown
Alaxala(config)# interface vlan 3
Alaxala(config-if)# ipv6 mld snooping mrouter interface gigabitethernet 0/5• Cisco :cisco(config)#interface gigabitEthernet 2/5
cisco(config-if)#no shutdown© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

85

IPv6オペレータ育成プログラム

PIM DR
RT-2

RT-3

0/1(vlan1) 0/2(vlan2)

Vlan3

RT-2

RT-3

0/1(vlan1) 0/2(vlan2)

Vlan3◆どちらのRouterがPIM DRになっていますか？
◆どちらのRouterがMLD Querierになっていますか？
◆どちらのR t がF
◆どちらのRouterがForwarderになっていますか？
d にな ていますか？
© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

86

IPv6オペレータ育成プログラム

Ad
AdvanceddC
Course検証の際に便利な機能: Static MLD Join
実際にReceiverが居ない状態でも強制的にJoinさせることが可能
実際にR
i が居ない状態でも強制的にJ i させることが可能
そのInterfaceの配下にClientが居る状態を静的にEmulate© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

87

IPv6オペレータ育成プログラム

S i MLD Join
Static
J i• Alcatel :ALU # configure router mld
ALU>config>router>mld# interface e-1/3/1
ALU>config>router>mld>if# static group ff18::1:1 starg<interface上でASM Group(FF18::1:1)をStaticにJoinさせる。Source指定無しのため”starg”オプションを付ける>
p(
)を
さ る。
指定無
g オ シ ンを付ける
ALU>config>router>mld>if# static group ff38::2:1 source 2001:1:10::10<interface上でSSM Group(FF38::2:1)をStaticにJoinさせる。SSMのためSourceも指定する。>• Cisco :cisco(config)#interface vlan 3
cisco(config-if)#ipv6 mld static-group ff18::1:1<interface上でASM Group(FF18::1:1)をStaticにJoinさせる。>
cisco(config-if)#(g)# ipv6p
mld static-groupgp ff38::2:1 2001:1:10::10<interface上でSSM Group(FF38::2:1)をStaticにJoinさせる。SSMのためSourceも指定する。>© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

88

IPv6オペレータ育成プログラム

S i MLD Join
Static
J i• Alaxala :Alaxala(config)# ipv6 access-list asm-static
Alaxala(config-ipv6-acl)# permit ipv6 any host ff18::1:1
Alaxala(config-ipv6-acl)# exit
<JoinさせるGroup AddressをACL “asm-static”で指定する。（ASM用）
asm static で指定する。（ASM用） >Alaxala(config)# interface vlan 3
Alaxala(config-if)# ipv6 mld static-group asm-static<interface上で”asm-static”で指定したGroupをStaticにJoinさせる。>
paccess-list ssm-static
Alaxala# ipv6
Alaxala(config-ipv6-acl)# permit ipv6 any host ff38::2:1<JoinさせるGroup AddressをACL “ssm-static”で指定する。（SSM用） >Alaxala(config)# ipv6 mld ssm-map enable<ssm mappingをEnableにする><ssm-mappingをEnableにする>
Alaxala(config)# ipv6 mld ssm-map static ssm-static 2001:1:10::10<“ssm-static”で指定したGroup AddressにMapするSource Addrを指定(SSM Mapping)>
Alaxala(config)# interface vlan 3
Alaxala(config-if)#g
ipv6p
mld static-groupgp ssm-static<interface上で”ssm-static”で指定したGroupをStaticにJoinさせる。>© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

89

IPv6オペレータ育成プログラム

Advanced Course
SSM mapping
特定のGroup Addressを特定のSource AddressにMapping
MLDv1 Clientしか無い((*,G)Joinしか出せない)がSSMをしたい場合等に有効© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

90

IPv6オペレータ育成プログラム• Alcatel :ALU # configure router mld
ALU >config>router>mld# ssm-translate grp-range ff38::2:1 ff38::2:1 source
2001 1 10 10
2001:1:10::10<Group AddressのRange(Start/End)とそれにMapするSource Addrを指定>• Alaxala :Alaxala(config)# ipv6 access-list ssm-static
Alaxala(config-ipv6-acl)# permit ipv6 any host ff38::2:1<mappingさせるGroup AddressのRangeをACL “ssm-static”で指定>
Alaxala(config)# ipv6 mld ssm
ssm-map
map enable<ssm-mappingをEnableにする>
Alaxala(config)# ipv6 mld ssm-map static ssm-static 2001:1:10::10<“ssm-static”で指定したGroup AddressにMapするSource Addrを指定>
Alaxala(config if)# exit
Alaxala(config-if)#• Cisco :cisco(config)#ipv6 access-list ssm-test
cisco(config-ipv6-acl)#permit ipv6 any host ff38::2:1<mappingさせるGroup AddressのRangeをACL “ssm-test”で指定>
cisco(config)#ipv6 mld ssm-map enable<ssm-mappingをEnableにする>
cisco(config)#ipv6 mld ssm-map static ssm-test 2001:1:10::10<“ssm-static”で指定したGroup AddressにMapするSource Addrを指定>© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

91

IPv6オペレータ育成プログラム（参考)何かのときに便利な機能: static mroute
Unicastの経路に影響を及ぼさずにMulticastのRouteのみを変更したい場合
MulticastのRPF決定にのみ使用されるstatic
決定
使 される
routeが使用できる。
が使きる
RP:2001::2(* G)Tree(*,G)Tree
RT-XX

MLD reportJoin(*,FF18::1:1)
2001:1:10::10/128向けの
mroute(mcast-ipv6 route)をRT2(2001:2:XX::2)向けに設定

RT-2(Sx,Gx)Tree(2001:1:10::10, FF18::1:1)
RT-1

Mcast
traffic

RT-3

ALU # configure router static-route 2001:1:10::10/128 next-hop 2001:2:XX::2
mcast-ipv6
cisco(config)#ipv6 route 2001:1:10::10/128 2001:2:XX::2 multicast© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

92

IPv6オペレータ育成プログラム

まとめ：Trouble Shootingの考え方•

まずはSourceがきちんとTrafficを出しているかを確認する。
– TTLは1になっていないか？
– Source/Group Addressは合っているか？

•

Receiver側からSource/RP側へさかのぼって確認していく。
– LHRでMLD Entryは正しく出来ているか？
– LHRでPIM Neighborは正しく認識しているか？
N i hb は正しく認識しているか？
– LHRでPIM Entry(mroute)は正しく出来ているか？
– LHRで意図したRPF Neighbor/Interfaceになっているか？
– LHRからRPF NeighborへJoinを送信しているか？
↓– 上位のRouterでPIM Entryは正しく出来ているか？
– 上位のRouterで意図したRPF Neighbor/Interfaceになっているか？
– 上位のRouterからRPF NeighborへJoinを送信しているか？
↓
Sourceまでさかのぼっていく© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

93

IPv6オペレータ育成プログラム• Alcatel :(参考)
参考 Debugコマンドド

ALU # debug router pim jp
ALU # debug router pim packet
ALU # debug router pim db
ALU # debug router mld packet• Alaxala :Alaxala# show tcpdump interface vlan 3 detail | grep multicast
Alaxala# show tcpdump interface vlan 3 detail | grep pim
Alaxala# show tcpdump interface vlan 3 detail | grep ip6• Cisco :cisco#debug ipv6 pim groupcisco#debug ipv6 mrib routecisco#debug ipv6 mld group© Task Force on IPv4 Address Exhaustion, Japan ALL RIGHT RESERVED.

94