PTN6900业务平面DCN调测指导
Ø调测目标
PTN6900首节点上U2000网管需要进行设备的下站调测,首节点上网管后,后续网元可以在网管上直接进行调测。在进行首节点调测时可以使用LCT网管或者直接命令行调测两种,本文档只涉及首节点命令行调测。
ØDCN组网方案也配置
1. 主备路由方案

在此图中,PTN-1和PTN-2为主备节点与交换机直接相连。PTN-1为主、PTN-2为备。互联关系及IP如图所示。最终要达到的目标为:PTN-1、PTN-2的loopback(NEIP)地址,能够与U2000的IP地址互相ping通。此时U2000网管可以搜索到PTN-1和PTN-2。
上行路由:在PTN-1和PTN-2上配置目的地址到U2000的静态路由,并引入承载DCN的OSPF VPN实例(此实例在PTN6900默认存在),这样后续新接入的PTN可以直接学习到通往U2000的路由。调整路由的优先级,使得主走PTN-1,当PTN-1故障,可以走PTN-2上行。
下行路由:DCN网络需要在每个3层节点都具备到PTN loopback(NEIP)网段的路由,
可以在每个3层几点配置静态路由实现,如果本来DCN运行了动态协议,也可以通过在最下面节点配置静态后引入动态来实现。
需要注意,PTN上行接口需要关闭DCN,并将上行端口ospf设置为silence模式。避免出现环路。
方案规划:
1 打通PTN-1—>U2000上行路由,需要在首节点配置静态路由,目的地址为192.168.0.1,掩码32位,下一跳为192.168.0.9(如果对接为2层交换机,下一跳可以是网关地址,地址需要客户提供)配置静态路由的preference为58
1. 调测配置与步骤
1.1. 登录设备
可以使用CRT工具或者电脑的cmd工具进行telnet登录,新PTN6900主控板上ETH端口地址为129.0.0.1,可以使用网线将电脑与主用主控板ETH口互联,设置电脑地址为同一网段的地址。打开工具,输入telnet 129.0.0.1,回车后会提示输入用户名密码,PTN6900默认登录用户名/密码为:root/password
Login authentication
Username:root
Password:
Info: Authentication success,Welcome!
Info: The max number of VTY users is 20, and the number
of current VTY users on line is 1.
The current login time is 2012-12-14 11:39:22+00:00.
<HUAWEI>
1.1. 配置静态路由
登录后进入系统模式,配置到U2000的静态路由,调整优先级。
以图中组网为例。需要在首节点PTN-1配置静态路由,目的地址为192.168.0.1,掩码32位,下一跳为网关地址192.168.1.1(如果对接为路由器,下一跳为对端端口地址)配置静态路由的preference为58
<HUAWEI>system //进入系统模式
[HUAWEI]ip route-static vpn-instance __dcn_vpn__ 192.168.0.1 255.255.255.255 192.168.1.1 preference 58 //配置私网静态路由
1.1. 在OSPF中引入静态路由,设置上行端口为silence模式
<HUAWEI>system //进入系统模式
[HUAWEI] ospf 65534 vpn-instance __dcn_vpn__ //进入ospf DCN实例,可以只敲ospf 65534
[HUAWEI]import-route static //引入静态路由
[HUAWEI] silent-interface GigabitEthernet x/x/x //将上联端口设置为silence模式
1.1. 关闭上行端口DCN
[HUAWEI]interface GigabitEthernet x/x/x //进入上行端口
[HUAWEI-GigabitEthernetx/x/x]undo dcn //关闭端口DCN
在PTN-2上的调测步骤与PTN-1相同,需要注意调整静态路由优先级为59(preference值越低,优先级越高,静态路由默认为60)
注意:后续新建PTN与PTN-1或者PTN-2互联调通后,自动会通过ospf学习到目的地址为U2000的路由。但是U2000下行路由需要在DCN网络中也做相应部署才能互相ping通。
Ø配置检查
1. Ping测试
需要带源地址ping测试
[HUAWEI]ping -vpn __dcn_vpn__ -a 128.5.71.254 10.70.118.36
PING 10.70.118.36: 56 data bytes, press CTRL_C to break
Reply from 10.70.118.36: bytes=56 Sequence=1 ttl=122 time=32 ms
Reply from 10.70.118.36: bytes=56 Sequence=2 ttl=122 time=7 ms
Reply from 10.70.118.36: bytes=56 Sequence=3 ttl=122 time=7 ms
Reply from 10.70.118.36: bytes=56 Sequence=4 ttl=122 time=7 ms
Reply from 10.70.118.36: bytes=56 Sequence=5 ttl=122 time=7 ms
--- 10.70.118.36 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 7/12/32 ms
1. 检查设备当前所有配置
[HUAWEI]display current-configuration //查询当前所有配置
[HUAWEI]display cu | include ip rou //查询当前配置中包括ip rou的配置
ip route-static vpn-instance __dcn_vpn__ 10.0.0.0 255.0.0.0 10.70.121.1
ip route-static vpn-instance __dcn_vpn__ 10.70.85.21 255.255.255.255 10.70.121.1
ip route-static vpn-instance __dcn_vpn__ 10.70.85.21 255.255.255.255 10.70.121.2 preference 62
1. 查询当前端口配置
[HUAWEI]interface GigabitEthernet x/x/x //进入端口x/x/x
[HUAWEI-GigabitEthernetx/x/x]display this //查看当前端口下的配置
interface GigabitEthernetx/x/x
undo shutdown
ip binding vpn-instance __dcn_vpn__
ip address 10.70.121.4 255.255.255.192
1. 查看DCN私网路由表
<HUAWEI>dis ip rou vpn __dcn_vpn__
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: __dcn_vpn__
Destinations : 7 Routes : 7
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.70.85.21/32 Static 60 0 RD 10.70.121.1 GigabitEthernet4/1/7
10.70.121.0/26 Direct 0 0 D 10.70.121.3 GigabitEthernet4/1/7
10.70.121.3/32 Direct 0 0 D 127.0.0.1 GigabitEthernet4/1/7
10.70.121.63/32 Direct 0 0 D 127.0.0.1 GigabitEthernet4/1/7
128.5.71.253/32 Direct 0 0 D 127.0.0.1 LoopBack2147483647
128.5.71.254/32 Direct 0 0 D 128.5.71.254 DCN-Serial4/1/0:0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
1. 查询端口状态
<HUAWEI>display ip interface brief
Interface IP Address/Mask Physical Protocol
Aux0/0/1 unassigned down down
GigabitEthernet0/0/0 129.0.0.1/16 up up
GigabitEthernet4/0/0(10G) unassigned down down
GigabitEthernet4/0/1(10G) unassigned down down
GigabitEthernet4/1/0 unassigned down down
GigabitEthernet4/1/1 unassigned down down
GigabitEthernet4/1/2 unassigned down down
GigabitEthernet4/1/3 unassigned down down
GigabitEthernet4/1/4 unassigned down down
GigabitEthernet4/1/5 unassigned down down
GigabitEthernet4/1/6 unassigned down down
GigabitEthernet4/1/7 unassigned down down
LoopBack2147483647 128.145.184.35/16 up up(s)
NULL0 unassigned up up(s)
附件:设备配置文件示例