QuidwayS8500系列路由交换机命令手册VPLS目录i目录第1章VPLS配置命令............................................................................................................1-11.1VPLS配置命令...................................................................................................................1-11.1.1bandwidth................................................................................................................1-11.1.2broadcast-restrain...................................................................................................1-11.1.3description...............................................................................................................1-21.1.4displayvplsconnection...........................................................................................1-31.1.5displayvsi................................................................................................................1-41.1.6displayvsiremote...................................................................................................1-71.1.7encapsulation..........................................................................................................1-81.1.8l2bindingvsi............................................................................................................1-81.1.9mac-tablelimit.........................................................................................................1-91.1.10mtu......................................................................................................................1-101.1.11peer.....................................................................................................................1-111.1.12peerenable.........................................................................................................1-121.1.13pwsignal..............................................................................................................1-121.1.14qos.......................................................................................................................1-131.1.15route-distinguisher...............................................................................................1-141.1.16shutdown.............................................................................................................1-151.1.17site.......................................................................................................................1-161.1.18tnl-policy..............................................................................................................1-161.1.19vpls-family...........................................................................................................1-171.1.20vpn-target............................................................................................................1-171.1.21vsi........................................................................................................................1-181.1.22vsi-id....................................................................................................................1-19QuidwayS8500系列路由交换机命令手册VPLS第1章VPLS配置命令1-1第1章VPLS配置命令1.1VPLS配置命令1.1.1bandwidth【命令】bandwidthvpn-speedundobandwidth【视图】VSI视图【参数】vpn-speed:指定VSI的速率限制值,以64为步长,系统自动向下取整(即取最接近的较小值),单位为kbps,缺省值为102400kbps。实际上2097152kbps以上将不进行速率抑制,该VSI下用户流量超过带宽抑制部分将被系统丢弃。【描述】bandwidth命令用来设置VSI的速率限制值。undobandwidth命令用来恢复VSI的速率限制值为缺省值。【举例】#配置VPLS实例aaa的速率限制值为10Mbps。Sysnamesystem-view[Sysname]vsiaaa[Sysname-vsi-aaa]bandwidth102401.1.2broadcast-restrain【命令】broadcast-restrainratioundobroadcast-restrain【视图】VSI视图QuidwayS8500系列路由交换机命令手册VPLS第1章VPLS配置命令1-2【参数】ratio:指定VSI的广播抑制百分比值,缺省值为5。【描述】broadcast-restrain命令用来配置VSI的广播抑制百分比。undoroadcast-restrain命令用来恢复VSI的广播抑制百分比为缺省值。注意:执行本命令后,该VSI下用户的广播流量(包括广播、组播和未知单播)超过带宽的广播抑制部分将被系统丢弃。【举例】#配置VPLS实例aaa的广播抑制百分比为10%。Sysnamesystem-view[Sysname]vsiaaa[Sysname-vsi-aaa]broadcast-restrain101.1.3description【命令】descriptiontextundodescription【视图】VSI视图【参数】text:指定VPLS实例的描述文本。【描述】description命令用来设置指定VPLS实例的描述字符串。undodescription命令用来删除该VPLS实例的描述字符串。缺省情况下,不设置VPLS实例的描述字符串。【举例】#给出VPLS实例aaa的描述信息为Aaa_Technologies_Co._Ltd.Sysnamesystem-view[Sysname]vsiaaaQuidwayS8500系列路由交换机命令手册VPLS第1章VPLS配置命令1-3[Sysname-vsi-aaa]descriptionAaa_Technologies_Co._Ltd.1.1.4displayvplsconnection【命令】displayvplsconnection[ldp|bgp|vsivsi-name][down|up|block][verbose]【视图】任意视图【参数】verbose:显示VPLS连接的所有详细信息。ldp:显示Martini方式的所有VPLS连接信息。bgp:显示Kompella方式的所有VPLS连接信息。vsivsi-name:指定VSI的VPLS连接信息。vsi-name表示指定要显示VPLS连接信息的VPLS实例的名称。up:指定状态为up的VPLS连接信息。down:指定状态为down的VPLS连接信息。block:指定状态为block的VPLS连接信息。verbose:显式VSI的详细信息。【描述】displayvplsconnection命令用来显示VPLS连接的信息。相关配置可参考命令vsi。【举例】#查看VPLS实例aaa的转发表。Sysnamedisplayvplsconnectionvsiaaa1totalconnections,connections:1up,0block,0down,1ldp,0bgpVSIName:aaaSignaling:ldpVsiIDVsiTypePeerAddrInLabelOutLabelLinkIDVCState500vlan1.1.1.95242885242891upQuidwayS8500系列路由交换机命令手册VPLS第1章VPLS配置命令1-4表1-1displayvplsconnection命令输出信息描述字段描述VSINameVPLS实例的名称SignalingVPLS实例所使用的PW信令协议类型VsiIDVPLS实例的ID号VsiTypeVP