• 143.40 KB
  • 2022-06-16 12:02:16 发布

上海贝尔LGW VLAN模式设置方法

  • 13页
  • 当前文档由用户上传发布,收益归属用户
  1. 1、本文档共5页,可阅读全部内容。
  2. 2、本文档内容版权归属内容提供方,所产生的收益全部归内容提供方所有。如果您对本文有版权争议,可选择认领,认领后既往收益都归您。
  3. 3、本文档由用户上传,本站不保证质量和数量令人满意,可能有诸多瑕疵,付费之前,请仔细先通过免费阅读内容等途径辨别内容交易风险。如存在严重挂羊头卖狗肉之情形,可联系本站下载客服投诉处理。
  4. 文档侵权举报电话:19940600175。
VLAN模式设置方法倪建华从B11B0119版本开始,LGW支持VLAN功能.具体设置方法如下.一.设置成3个IP地址,3个VLAN,1个物理网口的模式1.将B11B0119.pak加载到Blade单板,并且修改nv设置;2.用如下UI命令设置control,voice和oam使用的ip地址;createipifen.1.1.110.2.2.69255.255.255.0controlcreateipifen.1.1.210.2.3.69255.255.255.0voicecreateipifen.1.1.310.2.4.69255.255.255.0oam,oam可以与control使用同一ip,此时ip地址只有2个,vlan也只要2个可用UI命令viipif查询设置结果.3.用如下UI命令设置snmp使用的ip地址;defsnmpconfigip10.2.4.69,一般使用oam的ip,如果oam使用control的ip,那么这里也可以创成是control口的ip可用UI命令visnmpconfigip查询设置结果.4.用如下UI命令设置H.248使用的ip地址;defmgmgip10.2.2.69,使用control口的ip可用UI命令vimgcconfig查询设置结果.5.用如下UI命令设置VLANID; diagL2Switchset0x1220x1300x1230x30x1220x1300x11:AllippacketsareaggregatedtoportP0,i.e.en.1.1.2;2:AllippacketsareaggregatedtoportP1,i.e.en.1.1.1;0:SignallingpacketsandoampacketsareaggregatedtoportP1,i.e.en.1.1.1.VoicepacketsuseportP0,i.e.en.1.1.2;3:VLANmodeisdisabled.Thisvalueshouldbe1or2inthiscase.DefaultVLANIDofportP1(i.e.en.1.1.1)DefaultVLANIDofportP0(i.e.en.1.1..2)2:AllpacketLGWsendinghavenoVLANtag;3:AllpacketsLGWsendinghaveVLANtag;Others:forbidden.Thisvalueshouldbe3inthiscase.VLANIDofoampacketsVLANIDofvoicepacketsVLANIDofsignallingpackets三个VLANID可以根据现场需要设置成其它值,但三个VLANID必须是不同值.信令数据包,网管数据包和话音数据包带不同的VLANID.三种数据包走相同的物理网口. 二.设置成2个IP地址,2个VLAN,1个物理网口的模式1.将B11B0119.pak加载到Blade单板,并且修改nv设置;2.用如下UI命令设置control,和voice使用的ip地址;createipifen.1.1.110.2.2.69255.255.255.0controlcreateipifen.1.1.210.2.3.69255.255.255.0voice可用UI命令viipif查询设置结果.3.用如下UI命令设置snmp使用的ip地址;defsnmpconfigip10.2.2.69可用UI命令visnmpconfigip查询设置结果.4.用如下UI命令设置H.248使用的ip地址;defmgwmgip10.2.2.69可用UI命令vimgwconfig查询设置结果.5.用如下UI命令设置VLANID; diagL2Switchset0x1220x1300x1230x30x1220x1300x11:AllippacketsareaggregatedtoportP0,i.e.en.1.1.2;2:AllippacketsareaggregatedtoportP1,i.e.en.1.1.1;0:SignallingpacketsandoampacketsareaggregatedtoportP1,i.e.en.1.1.1.VoicepacketsuseportP0,i.e.en.1.1.2;3:VLANmodeisdisabled.Thisvalueshouldbe1or2inthiscase.DefaultVLANIDofportP1(i.e.en.1.1.1)DefaultVLANIDofportP0(i.e.en.1.1..2)2:AllpacketLGWsendinghavenoVLANtag;3:AllpacketsLGWsendinghaveVLANtag;Others:forbidden.Thisvalueshouldbe3inthiscase.VLANIDofoampacketsVLANIDofvoicepacketsVLANIDofsignallingpackets三个VLANID可以根据现场需要设置成其它值,但三个VLANID必须是不同值.OAM的VLANID必须设置,但实际上不用.信令数据包和网管数据包使用相同的VLANID,话音数据包使用自己的VLANID.三种数据包走相同的物理网口. 三.设置成3个IP地址,3个VLAN,2个物理网口的模式1.将B11B0119.pak加载到Blade单板,并且修改nv设置;2.用如下UI命令设置control,voice和oam使用的ip地址;createipifen.1.1.110.2.2.69255.255.255.0controlcreateipifen.1.1.210.2.3.69255.255.255.0voicecreateipifen.1.1.310.2.4.69255.255.255.0oam可用UI命令viipif查询设置结果.3.用如下UI命令设置snmp使用的ip地址;defsnmpconfigip10.2.4.69可用UI命令visnmpconfigip查询设置结果.4.用如下UI命令设置H.248使用的ip地址;defmgmgip10.2.2.69可用UI命令vimgcconfig查询设置结果.5.用如下UI命令设置VLANID; diagL2Switchset0x1220x1300x1230x30x1220x1300x01:AllippacketsareaggregatedtoportP0,i.e.en.1.1.2;2:AllippacketsareaggregatedtoportP1,i.e.en.1.1.1;0:SignallingpacketsandoampacketsareaggregatedtoportP1,i.e.en.1.1.1.VoicepacketsuseportP0,i.e.en.1.1.2;3:VLANmodeisdisabled.Thisvalueshouldbe0inthiscase.DefaultVLANIDofportP1(i.e.en.1.1.1)DefaultVLANIDofportP0(i.e.en.1.1..2)2:AllpacketLGWsendinghavenoVLANtag;3:AllpacketsLGWsendinghaveVLANtag;Others:forbidden.Thisvalueshouldbe3inthiscase.VLANIDofoampacketsVLANIDofvoicepacketsVLANIDofsignallingpackets三个VLANID可以根据现场需要设置成其它值,但三个VLANID必须是不同值.三种数据包带不同的VLANID.信令和网管数据包走P1口,话音数据包走P0口. 四.设置成2个IP地址,2个VLAN,2个物理网口的模式1.将B11B0119.pak加载到Blade单板,并且修改nv设置;2.用如下UI命令设置control,和voice使用的ip地址;createipifen.1.1.110.2.2.69255.255.255.0controlcreateipifen.1.1.210.2.3.69255.255.255.0voice可用UI命令viipif查询设置结果.3.用如下UI命令设置snmp使用的ip地址;defsnmpconfigip10.2.2.69可用UI命令visnmpconfigip查询设置结果.4.用如下UI命令设置H.248使用的ip地址;defmgmgip10.2.2.69可用UI命令vimgcconfig查询设置结果.5.用如下UI命令设置VLANID; diagL2Switchset0x1220x1300x1230x30x1220x1300x01:AllippacketsareaggregatedtoportP0,i.e.en.1.1.2;2:AllippacketsareaggregatedtoportP1,i.e.en.1.1.1;0:SignallingpacketsandoampacketsareaggregatedtoportP1,i.e.en.1.1.1.VoicepacketsuseportP0,i.e.en.1.1.2;3:VLANmodeisdisabled.Thisvalueshouldbe0inthiscase.DefaultVLANIDofportP1(i.e.en.1.1.1)DefaultVLANIDofportP0(i.e.en.1.1..2)2:AllpacketLGWsendinghavenoVLANtag;3:AllpacketsLGWsendinghaveVLANtag;Others:forbidden.Thisvalueshouldbe3inthiscase.VLANIDofoampacketsVLANIDofvoicepacketsVLANIDofsignallingpackets三个VLANID可以根据现场需要设置成其它值,但三个VLANID必须是不同值.OAM的VLANID必须设置,但实际上不用.信令数据包和网管数据包使用相同的VLANID,话音数据包使用自己的VLANID.信令和网管数据包走P1口,话音数据包走P0口. 五.设置成原有的separate模式1.将B11B0119.pak加载到Blade单板,并且修改nv设置;2.用如下UI命令设置control,和voice使用的ip地址;createipifen.1.1.110.2.2.69255.255.255.0controlcreateipifen.1.1.210.2.3.69255.255.255.0voice可用UI命令viipif查询设置结果.3.用如下UI命令设置snmp使用的ip地址;defsnmpconfigip10.2.2.69可用UI命令visnmpconfigip查询设置结果.4.用如下UI命令设置H.248使用的ip地址;defmgmgip10.2.2.69可用UI命令vimgcconfig查询设置结果.5.用如下UI命令设置VLANID; diagL2Switchset0x1220x1300x1230x20x1220x1300x31:AllippacketsareaggregatedtoportP0,i.e.en.1.1.2;2:AllippacketsareaggregatedtoportP1,i.e.en.1.1.1;0:SignallingpacketsandoampacketsareaggregatedtoportP1,i.e.en.1.1.1.VoicepacketsuseportP0,i.e.en.1.1.2;3:VLANmodeisdisabled.Thisvalueshouldbe3inthiscase.DefaultVLANIDofportP1(i.e.en.1.1.1)DefaultVLANIDofportP0(i.e.en.1.1..2)2:AllpacketLGWsendinghavenoVLANtag;3:AllpacketsLGWsendinghaveVLANtag;Others:forbidden.Thisvalueshouldbe2inthiscase.VLANIDofoampacketsVLANIDofvoicepacketsVLANIDofsignallingpackets 六.设置成原有的combine模式1.将B11B0119.pak加载到Blade单板,并且修改nv设置;2.用如下UI命令设置control,和voice使用的ip地址;createipifen.1.1.110.2.2.69255.255.255.0combine可用UI命令viipif查询设置结果.3.用如下UI命令设置snmp使用的ip地址;defsnmpconfigip10.2.2.69可用UI命令visnmpconfigip查询设置结果.4.用如下UI命令设置H.248使用的ip地址;defmgmgip10.2.2.69可用UI命令vimgcconfig查询设置结果.5.用如下UI命令设置VLANID; diagL2Switchset0x1220x1300x1230x20x1220x1300x31:AllippacketsareaggregatedtoportP0,i.e.en.1.1.2;2:AllippacketsareaggregatedtoportP1,i.e.en.1.1.1;0:SignallingpacketsandoampacketsareaggregatedtoportP1,i.e.en.1.1.1.VoicepacketsuseportP0,i.e.en.1.1.2;3:VLANmodeisdisabled.Thisvalueshouldbe3inthiscase.DefaultVLANIDofportP1(i.e.en.1.1.1)DefaultVLANIDofportP0(i.e.en.1.1..2)2:AllpacketLGWsendinghavenoVLANtag;3:AllpacketsLGWsendinghaveVLANtag;Others:forbidden.Thisvalueshouldbe2inthiscase.VLANIDofoampacketsVLANIDofvoicepacketsVLANIDofsignallingpackets 注:关于snmp的设置请参考如下附件.how_to_config_trap_v1onLGW.txt