• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

H3C vBRAS转控分离场景典型配置案例集-E1218-5W100

09-H3C vBRAS转控分离场景支持IPoE可控组播业务典型配置举例

本章节下载 09-H3C vBRAS转控分离场景支持IPoE可控组播业务典型配置举例  (150.83 KB)

docurl=/cn/Service/Document_Software/Document_Center/Routers/Catalog/NFV/H3C_vBRAS/Configure/Typical_Configuration_Example/H3C_vBRAS_CE-E1218-5W100/201907/1210554_30005_0.htm

09-H3C vBRAS转控分离场景支持IPoE可控组播业务典型配置举例

H3C vBRAS转控分离场景支持IPoE可控组播业务典型配置举例

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

资料版本:5W100-20190625

产品版本:E1218 and later

 

Copyright © 2019 新华三技术有限公司 版权所有,保留一切权利。

非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部,并不得以任何形式传播。

除新华三技术有限公司的商标外,本手册中出现的其它公司的商标、产品标识及商品名称,由各自权利人拥有。

本文档中的信息可能变动,恕不另行通知。



1  简介

本文档介绍了vBRAS(Virtual Broadband Remote Access Server,虚拟宽带远程接入服务器)转控分离场景下IPoE可控组播业务的典型配置举例。

2  配置前提

本文档不严格与具体软、硬件版本对应,如果使用过程中与产品实际情况有差异,请参考相关产品手册,或以设备实际情况为准。

本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。

本文档假设您已了解IPoE、IGMP等特性。

3  配置举例

3.1  组网需求

图1所示:

·            Receiver1和Receiver2通过POP交换机,在不同的VXLAN隧道上请求接入。

·            CP负责处理用户的接入请求报文。为用户提供DHCP服务,通过AAA服务器完成接入认证。

·            DP负责通过识别用户user-profile属性,实现可控组播:将Receiver1加入到组播组A,将Receiver2加入到组播组B。

·            IP-Network中包含了PIM-SM中的IGMP协议设备,包括DR和RP。

图1 IPoE转控分离可控组播典型配置举例组网图

 

3.2  配置思路

·            在POP、DP、CP上配置VXLAN和OpenFlow。

·            在CP配置IPoE业务和IPoE接入相关的DHCP以及AAA策略。

·            在DP、CP的VSI接口下使能IGMP,使能可控组播,并配置按会话记录用户加入的组播组。

·            配置用户认证域的业务类型为STB,接入模块开启组播功能。

·            在DP上配置user-profile,指定ACL范围下的用户流量加入组播组。通过AAA服务器或者认证域为用户授权user-profile。

·            在DP公网侧接口上配置PIM-SM。在该文档中,PIM-SM不是IPoE可控组播业务关注的重点,假设您已了解PIM-SM组播相关协议内容。

3.3  配置注意事项

·            各设备上的IP地址和路由协议配置略,请按照实际组网要求完成配置。

·            IGMP组播路由协议配置略,请按照实际组网要求完成配置。

·            转控分离组网以及IPoE基本业务的配置见《H3C vBRAS路由器转控分离场景支持IPoE业务典型配置举例》,此处不再赘述。

3.4  配置步骤

3.4.1  配置CP

(1)       创建VSI虚接口11,配置IGMP相关功能。

# 使能IGMP功能。

<CP> system-view

[CP] interface Vsi-interface11

[CP-Vsi-interface11] igmp enable

# 配置按会话记录用户加入的组播组。

[CP-Vsi-interface11] igmp join-by-session

# 开启可控组播功能。

[CP-Vsi-interface11] igmp authorization-enable

# 配置用户从该接口上线所在的认证域为igmp_group1。

[CP-Vsi-interface11] ip subscriber dhcp domain igmp_group1

(2)       创建VSI虚接口22,配置IGMP相关功能。

# 使能IGMP功能。

<CP> system-view

[CP]interface Vsi-interface22

[CP-Vsi-interface22]igmp enable

# 配置按会话记录用户加入的组播组。

[CP-Vsi-interface22]igmp join-by-session

# 开启可控组播功能。

[CP-Vsi-interface22]igmp authorization-enable

# 配置用户从该接口上线所在的认证域为igmp_group2。

[CP-Vsi-interface22]ip subscriber dhcp domain igmp_group2

(3)       配置认证域igmp_group1。

[CP]domain name igmp_group1

# 配置用户接入类型为STB。

[CP-isp-igmp_group1]service-type stb

# 配置用户所属的用户组为user-profile。

[CP-isp-igmp_group1]authorization-attribute user-profile group1

(4)       配置认证域igmp_group2。

[CP]domain name igmp_group2

# 配置用户接入类型为STB。

[CP-isp-igmp_group2]service-type stb

# 配置用户所属的用户组为user-profile。

[CP-isp-igmp_group2]authorization-attribute user-profile group2

3.4.2  配置DP

(1)       使能IP组播路由。

<DP> system-view

[DP] multicast routing

[DP-mrib] quit

(2)       配置静态RP,保证IP地址与出接口IP路由可达

[DP] pim

[DP-pim] static-rp 14.14.14.1

[DP-pim] quit

(3)       创建VSI虚接口11,配置IGMP相关功能。

# 使能IGMP功能。

<DP> system-view

[DP] interface Vsi-interface11

[DP-Vsi-interface11]igmp enable

# 配置按会话记录用户加入的组播。.

[DP-Vsi-interface11]igmp join-by-session

# 开启可控组播功能。

[DP-Vsi-interface11]igmp authorization-enable

(4)       创建VSI虚接口22,配置IGMP相关功能。

# 使能IGMP功能。

<DP> system-view

[DP]interface Vsi-interface22

[DP-Vsi-interface22]igmp enable

# 配置按会话记录用户加入的组播组。

[DP-Vsi-interface22]igmp join-by-session

# 开启可控组播功能。

[DP-Vsi-interface22]igmp authorization-enable

[DP-Vsi-interface22] quit

(5)       在名为group1的User Profile下配置只允许IGMP用户加入组播组224.1.1.1。

[DP]acl basic 2001

[DP-acl-ipv4-basic-2001]rule permit source 224.1.1.1 0

[DP-acl-ipv4-basic-2001]quit

[DP]user-profile group1

[DP-user-profile-group1]igmp access-policy 2001

(6)       在名为group2的User Profile下配置只允许IGMP用户加入组播组225.1.1.1。

[DP] acl basic 2002

[DP-acl-ipv4-basic-2002]rule permit source 225.1.1.1 0

[DP-acl-ipv4-basic-2002]quit

[DP]user-profile group2

[DP-user-profile-group2]igmp access-policy 2002

[DP-user-profile-group2]quit

3.5  验证配置

# 在CP上查看IPoE接入用户。

[CP] display ip subscriber session

Type: D-DHCP   S-Static     U-Unclassified-IP     N-NDRS

Interface            IP address             MAC address    Type  State

                     IPv6 address           SVLAN/CVLAN    VXLAN

                     Username

Vsi11                100.11.0.2             0010-9400-001e D/-   Online

                     -                      1015/100       511

                     00109400001e

Vsi22                100.22.0.3             0010-9400-001f D/-   Online

                     -                      1025/100       522

                     00109400001f

# 在CP和DP上查看用户可控组播信息。

[CP] display igmp user-authorization

 Authorized users in total: 2

 

   User name: 00109400001f

   Access type: IPoE

   Interface: Multicast-UA0

   Access interface: Vsi-interface22

   User address: 100.22.0.3

   User mac-address: 0010-9400-001f

   User ID: 0x3822a3bc (VLAN ID 1025, Second VLAN ID 100, VSI index 1, Link ID 83886201)

   Maximum allowed programs: 4

   User profile: group2

   Authorized program list:

 

   User name: 00109400001e

   Access type: IPoE

   Interface: Multicast-UA1

   Access interface: Vsi-interface11

   User address: 100.11.0.2

   User mac-address: 0010-9400-001e

   User ID: 0x3822a3bb (VLAN ID 1015, Second VLAN ID 100, VSI index 0, Link ID 83886201)

   Maximum allowed programs: 4

   User profile: group1

   Authorized program list:

# 用户加入组播组后,在DP上查看组播组信息。

[DP] display igmp group

IGMP groups in total: 2

 Multicast-UA0(0.0.0.0):

  IGMP groups reported in total: 1

   Group address   Last reporter   Uptime      Expires

   225.1.1.1       100.22.0.3      00:01:27    00:03:18

 Multicast-UA1(0.0.0.0):

  IGMP groups reported in total: 1

   Group address   Last reporter   Uptime      Expires

   224.1.1.1       100.11.0.2      00:05:52    00:02:57

# 如果多个用户加入到组播组225.1.1.1,会看到组播组内每个用户。

[DP] display igmp group

IGMP groups in total: 3

 Multicast-UA3(0.0.0.0):

  IGMP groups reported in total: 1

   Group address   Last reporter   Uptime      Expires

   225.1.1.1       100.22.0.5      00:01:19    00:03:02

 Multicast-UA4(0.0.0.0):

  IGMP groups reported in total: 1

   Group address   Last reporter   Uptime      Expires

   225.1.1.1       100.22.0.4      00:01:19    00:03:07

 Multicast-UA19(0.0.0.0):

  IGMP groups reported in total: 1

   Group address   Last reporter   Uptime      Expires

   225.1.1.1       100.22.0.3      00:01:19    00:03:03

# 查看PIM路由表,针对每个用户有一条路由。

[DP] display pim routing-table

 Total 1 (*, G) entries; 0 (S, G) entries

 

 (*, 224.1.1.1)

     RP: 14.14.14.1

     Protocol: pim-sm, Flag: WC

     UpTime: 00:34:51

     Upstream interface: Reth2

         Upstream neighbor: 14.14.14.1

         RPF prime neighbor: 14.14.14.1

     Downstream interface information:

     Total number of downstream interfaces: 3

         1: Multicast-UA4

             Protocol: igmp, UpTime: 00:34:51, Expires: -

         2: Multicast-UA6

             Protocol: igmp, UpTime: 00:34:51, Expires: -

         3: Multicast-UA13

             Protocol: igmp, UpTime: 00:34:43, Expires: -

3.6  配置文件

·            CP

#

interface Vsi-interface11

 igmp enable

 igmp join-by-session

 igmp authorization-enable

 ip subscriber dhcp domain igmp_group1

#

interface Vsi-interface22

 igmp enable

 igmp join-by-session

 igmp authorization-enable

 ip subscriber dhcp domain igmp_group2

#

domain name igmp_group1

 authorization-attribute user-profile group1

 service-type stb

#

domain name igmp_group2

 authorization-attribute user-profile group2

 service-type stb

#

·            DP

#

multicast routing

#

pim

 static-rp 14.14.14.1

#

interface Vsi-interface11

 igmp enable

 igmp join-by-session

 igmp authorization-enable

#

interface Vsi-interface22

 igmp enable

 igmp join-by-session

 igmp authorization-enable

#

acl basic 2001

 rule 1 permit source 224.1.1.1 0

#

user-profile group1

 igmp access-policy 2001

#

acl basic 2002

 rule 1 permit source 225.1.1.1 0

#

user-profile group2

 igmp access-policy 2002

#

4  相关资料

·            H3C vBRAS系列虚拟宽带远程接入服务器 配置指导-E1218

·            H3C vBRAS系列虚拟宽带远程接入服务器 命令参考-E1218

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们