收藏 分销(赏)

配置VLAN Stacking批发业务应用实例.docx

上传人:xrp****65 文档编号:8807103 上传时间:2025-03-03 格式:DOCX 页数:7 大小:36.67KB 下载积分:10 金币
下载 相关 举报
配置VLAN Stacking批发业务应用实例.docx_第1页
第1页 / 共7页
配置VLAN Stacking批发业务应用实例.docx_第2页
第2页 / 共7页


点击查看更多>>
资源描述
配置VLAN Stacking批发业务应用实例 通过本任务配置批发业务,使ISP提供的业务能迅速发放到指定的用户群。 组网图 VLAN Stacking批发业务应用组网图如图26-1所示。 用户1、2和用户3、4分别由不同的ISP提供宽带业务。MA5600应用VLAN Stacking特性,为用户报文打上两层VLAN Tag(外层VLAN Tag用于标识ISP,内层VLAN Tag用于标识用户)后,将用户报文转发至二层网络中。二层交换机根据外层VLAN Tag将用户报文转发到指定的ISP BRAS设备。ISP BRAS设备剥离外层VLAN Tag,并通过内层VLAN Tag识别用户。用户通过ISP BRAS认证后,可以获得ISP提供的各种业务。 图26-1  批发业务配置组网图 数据规划 批发业务数据规划如表26-1所示。 表26-1  批发业务数据规划表 配置项 数据 ISP1用户群 上行端口:0/7/0 上行VLAN ID(外层VLAN Tag):60 VLAN类型:Smart VLAN VLAN属性:Stacking 用户1: · ADSL2+端口:0/2/0 · VPI/VCI:0/35(与Modem侧的配置一致) · 内层VLAN Tag:11 用户2: · ADSL2+端口:0/2/1 · VPI/VCI:0/35(与Modem侧的配置一致) · 内层VLAN Tag:12 ISP2用户群 上行端口:0/7/0 上行VLAN ID(外层VLAN Tag):61 VLAN类型:Smart VLAN VLAN属性:Stacking 用户3: · ADSL2+端口:0/3/0 · VPI/VCI:0/35(与Modem上的配置一致) · 内层VLAN Tag:11 用户4: · ADSL2+端口:0/3/1 · VPI/VCI:0/35(与Modem侧的配置一致) · 内层VLAN Tag:12 配置流程 批发业务配置流程如图26-2所示。 图26-2  批发业务配置流程图 操作步骤 1. 创建VLAN。 huawei(config)#vlan 60-61 smart 2. 设置VLAN属性。 huawei(config)#vlan attrib 60-61 stacking 3. 加入上行端口。 huawei(config)#port vlan 60-61 0/7 0 4. 加入业务虚端口。 5. huawei(config)#service-port vlan 60 adsl 0/2/0 vpi 0 vci 35 rx-cttr 0 tx-cttr 0 6. huawei(config)#service-port vlan 60 adsl 0/2/1 vpi 0 vci 35 rx-cttr 0 tx-cttr 0 7. huawei(config)#service-port vlan 61 adsl 0/3/0 vpi 0 vci 35 rx-cttr 0 tx-cttr 0 huawei(config)#service-port vlan 61 adsl 0/3/1 vpi 0 vci 35 rx-cttr 0 tx-cttr 0 8. 设置内层VLAN Tag。 9. huawei(config)#stacking label 0/2/0 11 10. huawei(config)#stacking label 0/2/1 12 11. huawei(config)#stacking label 0/3/0 11 huawei(config)#stacking label 0/3/1 12 12. 保存数据。 huawei(config)#save 操作结果 用户1、用户2通过ISP1 BRAS设备认证后,可以获得ISP1提供的业务。 用户3、用户4通过ISP2 BRAS设备认证后,可以获得ISP2提供的业务。 26.3  批量配置VLAN stacking 在系统扩容的应用场景中,需要对新增加单板的业务批量配置Stacking VLAN内层标签,提高易用性。 前提条件 · 业务单板状态正常,并且已建立好业务虚端口。 · 只能对属性为Stacking的VLAN进行配置。配置之前必须使用service-port命令建立好业务虚端口。 · 缺省情况下,所有业务虚端口的Stacking VLAN内层标签值为1。 背景信息 · 批量配置某一单板下业务虚端口的Stacking VLAN内层标签时,第一个业务虚端口的标签值配置为baselabel,后面的业务虚端口的标签值依次加1。 · 批量配置整个系统的业务虚端口Stacking VLAN内层标签时,第一个业务虚端口的标签值配置为baselabel,后面的业务虚端口的标签值依次加1。 操作步骤 1. 使用stacking label命令配置某一单板或整个系统的业务虚端口Stacking VLAN内层标签值。 2. 使用display service-port命令查询业务虚端口Stacking VLAN内层标签值。 任务示例 举例:批量配置VLAN 2内,0/2槽位ADEE单板上所有业务流的内层VLAN标签值。 huawei(config)#stacking label vlan 2 0/2 baselabel 5 It will take several minutes, and console may be timeout, please use command idle-timeout to set time limit Are you sure to continue? (y/n)[n]:y The total of service virtual port(s) in this operation: 4 The total of service virtual port(s) which could be labeled: 2 Now begin to label these service virtual port(s), please wait ... The total of service virtual port(s) which could be labeled: 2 The total of service virtual port(s) which have been labeled successfully: 2 huawei(config)#display service-port board 0/2 ----------------------------------------------------------------------------- VLAN VLAN TYPE F/ S/ P VPI VCI FLOW FLOW RX TX STATE LABEL PRI ID ATTR TYPE PARA ----------------------------------------------------------------------------- 2 stacking adl 0/2 /0 0 35 - - 0 0 act/dn 5 0 2 stacking adl 0/2 /1 0 35 - - 0 0 act/dn 6 0 ----------------------------------------------------------------------------- Total : 2 (Up/Down : 0/2) Note : F--Frame, S--Slot, P--Port(or virtual port, such as IMA group etc.) top--TDM over packet.The characters precede / in the STATE column indicate the Admin-Status and characters behind the / indicate the Oper-Status of the service port.act means activate and deact means deactivate.dn is abbreviation of down. 举例:批量配置VLAN 2内所有业务流的内层VLAN标签值。 huawei(config)#stacking label vlan 2 baselabel 7 It will take several minutes, and console may be timeout, please use command idle-timeout to set time limit Are you sure to continue? (y/n)[n]:y The total of service virtual port(s) in this operation: 4 The total of service virtual port(s) which could be labeled: 4 Now begin to label these service virtual port(s), please wait ... 请参考 The total of service virtual port(s) which could be labeled: 4 The total of service virtual port(s) which have been labeled successfully: 4 huawei(config)#display service-port vlan 2 ----------------------------------------------------------------------------- VLAN VLAN TYPE F/ S/ P VPI VCI FLOW FLOW RX TX STATE LABEL PRI ID ATTR TYPE PARA ----------------------------------------------------------------------------- 2 stacking adl 0/2 /0 0 35 - - 0 0 act/dn 8 0 2 stacking adl 0/2 /1 0 35 - - 0 0 act/dn 10 0 2 stacking adl 0/3 /1 0 35 - - 0 0 act/dn 7 0 2 stacking adl 0/3 /0 0 35 - - 0 0 act/dn 9 0 ----------------------------------------------------------------------------- Total : 4 (Up/Down : 0/4) Note : F--Frame, S--Slot, P--Port(or virtual port, such as IMA group etc.) top--TDM over packet.The characters precede / in the STATE column indicate the Admin-Status and characters behind the / indicate the Oper-Status of the service port.act means activate and deact means deactivate.dn is abbreviation of down.   非常感谢!您的来电是对华为公司的帮助和支持。       苏纯  suchun@                 华为客户服务中心联系电话 400-830-2118                                    地址:深圳市龙岗区坂田华为基地 邮编:518129 ------------------------------------------------------------------------------------------------------------------------------------- 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!  
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服