《上海贝尔lgw vlan模式设置方法》由会员分享,可在线阅读,更多相关《上海贝尔lgw vlan模式设置方法(13页珍藏版)》请在金锄头文库上搜索。
1、VLANVLAN 模式设置方法模式设置方法倪建华倪建华从 B11B0119 版本开始, LGW 支持 VLAN 功能. 具体设置方法如下.一. 设置成 3 个 IP 地址, 3 个 VLAN, 1 个物理网口的模式1. 将 B11B0119.pak 加载到 Blade 单板, 并且修改 nv 设置;2. 用如下 UI 命令设置 control, voice 和 oam 使用的 ip 地址;create ip if en.1.1.1 10.2.2.69 255.255.255.0 controlcreate ip if en.1.1.2 10.2.3.69 255.255.255.0 voice
2、create ip if en.1.1.3 10.2.4.69 255.255.255.0 oam,oam 可以与 control使用同一 ip,此时 ip 地址只有 2 个,vlan 也只要 2 个可用 UI 命令 vi ip if 查询设置结果.3. 用如下 UI 命令设置 snmp 使用的 ip 地址;def snmp config ip 10.2.4.69, 一般使用oam 的 ip, 如果oam 使用 control的 ip,那么这里也可以创成是 control 口的 ip可用 UI 命令 vi snmp config ip 查询设置结果.4. 用如下 UI 命令设置 H.248 使
3、用的 ip 地址;def mg mg ip 10.2.2.69,使用 control 口的 ip可用 UI 命令 vi mgc config 查询设置结果.5. 用如下 UI 命令设置 VLAN ID;diag L2Switch set 0x122 0x1 3 0 0x1 2 3 0x3 0x1 2 2 0x1 3 0 0x11: All ip packets are aggregated to port P0, i.e. e n.1.1.2;2: All ip packets are aggregated to port P1, i.e. e n.1.1.1;0: Signalling pa
4、ckets and oam packets are aggregated to port P1, i.e. e n.1.1.1. Voice packets use port P0, i.e. e n.1.1.2;3: VLAN mode is disabled.This value should be 1 or 2 in this case.Default VLAN ID of port P1( i.e. e n.1.1.1 )Default VLAN ID of port P0( i.e. e n.1.1.2 )2: All packet LGW sending have no VLAN
5、tag;3: All packets LGW sending have VLAN tag;Others: forbidden.This value should be 3 in this case.VLAN ID of oam packetsVLAN ID of voice packetsVLAN ID of signalling packets三个VLAN ID可以根据现场需要设置成其它值,但三个VLAN ID必须是不同值.信令数据包, 网管数据包和话音数据包带不同的 VLAN ID.三种数据包走相同的物理网口.二. 设置成 2 个 IP 地址, 2 个 VLAN, 1 个物理网口的模式1.
6、 将 B11B0119.pak 加载到 Blade 单板, 并且修改 nv 设置;2. 用如下 UI 命令设置 control, 和 voice 使用的 ip 地址;create ip if en.1.1.1 10.2.2.69 255.255.255.0 controlcreate ip if en.1.1.2 10.2.3.69 255.255.255.0 voice可用 UI 命令 vi ip if 查询设置结果.3. 用如下 UI 命令设置 snmp 使用的 ip 地址;def snmp config ip 10.2.2.69可用 UI 命令 vi snmp config ip 查询设
7、置结果.4. 用如下 UI 命令设置 H.248 使用的 ip 地址;def mgw mg ip 10.2.2.69可用 UI 命令 vi mgw config 查询设置结果.5. 用如下 UI 命令设置 VLAN ID;diag L2Switch set 0x122 0x1 3 0 0x1 2 3 0x3 0x1 2 2 0x1 3 0 0x11: All ip packets are aggregated to port P0, i.e. e n.1.1.2;2: All ip packets are aggregated to port P1, i.e. e n.1.1.1;0: Sig
8、nalling packets and oam packets are aggregated to port P1, i.e. e n.1.1.1. Voice packets use port P0, i.e. e n.1.1.2;3: VLAN mode is disabled.This value should be 1 or 2 in this case.Default VLAN ID of port P1( i.e. e n.1.1.1 )Default VLAN ID of port P0( i.e. e n.1.1.2 )2: All packet LGW sending hav
9、e no VLAN tag;3: All packets LGW sending have VLAN tag;Others: forbidden.This value should be 3 in this case.VLAN ID of oam packetsVLAN ID of voice packetsVLAN ID of signalling packets三个VLAN ID可以根据现场需要设置成其它值,但三个VLAN ID必须是不同值. OAM 的 VLAN ID 必须设置, 但实际上不用.信令数据包和网管数据包使用相同的 VLAN ID, 话音数据包使用自己的VLAN ID.三种数
10、据包走相同的物理网口.三.设置成 3 个 IP 地址, 3 个 VLAN, 2 个物理网口的模式1. 将 B11B0119.pak 加载到 Blade 单板, 并且修改 nv 设置;2. 用如下 UI 命令设置 control, voice 和 oam 使用的 ip 地址;create ip if en.1.1.1 10.2.2.69 255.255.255.0 controlcreate ip if en.1.1.2 10.2.3.69 255.255.255.0 voicecreate ip if en.1.1.3 10.2.4.69 255.255.255.0 oam可用 UI 命令 v
11、i ip if 查询设置结果.3. 用如下 UI 命令设置 snmp 使用的 ip 地址;def snmp config ip 10.2.4.69可用 UI 命令 vi snmp config ip 查询设置结果.4. 用如下 UI 命令设置 H.248 使用的 ip 地址;def mg mg ip 10.2.2.69可用 UI 命令 vi mgc config 查询设置结果.5. 用如下 UI 命令设置 VLAN ID;diag L2Switch set 0x122 0x1 3 0 0x1 2 3 0x3 0x1 2 2 0x1 3 0 0x01: All ip packets are ag
12、gregated to port P0, i.e. e n.1.1.2;2: All ip packets are aggregated to port P1, i.e. e n.1.1.1;0: Signalling packets and oam packets are aggregated to port P1, i.e. e n.1.1.1. Voice packets use port P0, i.e. e n.1.1.2;3: VLAN mode is disabled.This value should be 0 in this case.Default VLAN ID of p
13、ort P1( i.e. e n.1.1.1 )Default VLAN ID of port P0( i.e. e n.1.1.2 )2: All packet LGW sending have no VLAN tag;3: All packets LGW sending have VLAN tag;Others: forbidden.This value should be 3 in this case.VLAN ID of oam packetsVLAN ID of voice packetsVLAN ID of signalling packets三个VLAN ID可以根据现场需要设置
14、成其它值,但三个VLAN ID必须是不同值.三种数据包带不同的 VLAN ID.信令和网管数据包走 P1 口, 话音数据包走 P0 口.四. 设置成 2 个 IP 地址, 2 个 VLAN, 2 个物理网口的模式1. 将 B11B0119.pak 加载到 Blade 单板, 并且修改 nv 设置;2. 用如下 UI 命令设置 control, 和 voice 使用的 ip 地址;create ip if en.1.1.1 10.2.2.69 255.255.255.0 controlcreate ip if en.1.1.2 10.2.3.69 255.255.255.0 voice可用 UI
15、 命令 vi ip if 查询设置结果.3. 用如下 UI 命令设置 snmp 使用的 ip 地址;def snmp config ip 10.2.2.69可用 UI 命令 vi snmp config ip 查询设置结果.4. 用如下 UI 命令设置 H.248 使用的 ip 地址;def mg mg ip 10.2.2.69可用 UI 命令 vi mgc config 查询设置结果.5. 用如下 UI 命令设置 VLAN ID;diag L2Switch set 0x122 0x1 3 0 0x1 2 3 0x3 0x1 2 2 0x1 3 0 0x01: All ip packets a
16、re aggregated to port P0, i.e. e n.1.1.2;2: All ip packets are aggregated to port P1, i.e. e n.1.1.1;0: Signalling packets and oam packets are aggregated to port P1, i.e. e n.1.1.1. Voice packets use port P0, i.e. e n.1.1.2;3: VLAN mode is disabled.This value should be 0 in this case.Default VLAN ID of port P1( i.e. e n.1.1.1 )Default VLAN ID of port P0( i.e. e n.1.1.2 )2: All packet LGW sending have no VLAN tag;3: All packet