77范文网 - 专业文章范例文档资料分享平台

MX960运维命令汇总手册V2(9)

来源:网络收集 时间:2020-05-05 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

参数 -n

阻止 pathping 试图将中间路由器的 IP 地址解析为各自的名称。这有可能加快 pathping 的结果显示。

-h Maximum_Hops

指定搜索目标(目的)的路径中存在的跃点的最大数。默认值为 30 个跃点。 -g HostList

指定回响请求消息利用 HostList 中指定的中间目标集在 IP 数据头中使用“稀疏来源路由”选项。使用稀疏来源路由时,相邻的中间目标可以由一个或多个路由器分隔开。HostList 中的地址或名称的最大数为 9。HostList 是一系列由空格分隔的 IP 地址(用带点的十进制符号表示)。 -p Period

指定两个连续的 ping 之间的时间间隔(以毫秒为单位)。默认值为 250 毫秒(1/4 秒)。 -q Num_Queries

指定发送到路径中每个路由器的回响请求消息数。默认值为 100 个查询。 -w Timeout

指定等待每个应答的时间(以毫秒为单位)。默认值为 3000 毫秒(3 秒)。 -i IPAddress 指定源地址。 -4 IPv4

强制使用IPv4。 -6 IPv6

强制使用IPv6。 TargetName

指定目的端,它既可以是 IP 地址,也可以是主机名。 /?

在命令提示符下显示帮助。

五、调试跟踪

1.

查看接口光功率

abc@MX960_4# run show interfaces diagnostics optics ge-4/0/2 Physical interface: ge-4/0/2

Laser bias current : 5.630 mA

Laser output power : 0.2310 mW / -6.36 dBm

Module temperature : 40 degrees C / 105 degrees F

Module voltage : 3.2420 V

Receiver signal average optical power : 0.0834 mW / -10.79 dBm Laser bias current high alarm : Off

Laser bias current low alarm : Off Laser bias current high warning : Off Laser bias current low warning : Off Laser output power high alarm : Off Laser output power low alarm : Off Laser output power high warning : Off Laser output power low warning : Off Module temperature high alarm : Off Module temperature low alarm : Off Module temperature high warning : Off Module temperature low warning : Off Module voltage high alarm : Off Module voltage low alarm : Off Module voltage high warning : Off Module voltage low warning : Off Laser rx power high alarm : Off Laser rx power low alarm : Off Laser rx power high warning : Off Laser rx power low warning : Off Laser bias current high alarm threshold : 60.000 mA Laser bias current low alarm threshold : 0.100 mA Laser bias current high warning threshold : 50.000 mA Laser bias current low warning threshold : 0.500 mA

Laser output power high alarm threshold : 1.0000 mW / 0.00 dBm Laser output power low alarm threshold : 0.0560 mW / -12.52 dBm Laser output power high warning threshold : 0.6300 mW / -2.01 dBm Laser output power low warning threshold : 0.0890 mW / -10.51 dBm

Module temperature high alarm threshold : 105 degrees C / 221 degrees F Module temperature low alarm threshold : -45 degrees C / -49 degrees F Module temperature high warning threshold : 80 degrees C / 176 degrees F Module temperature low warning threshold : -15 degrees C / 5 degrees F Module voltage high alarm threshold : 4.000 V Module voltage low alarm threshold : 2.800 V Module voltage high warning threshold : 3.600 V Module voltage low warning threshold : 3.000 V

Laser rx power high alarm threshold : 0.6310 mW / -2.00 dBm Laser rx power low alarm threshold : 0.0071 mW / -21.49 dBm Laser rx power high warning threshold : 0.5012 mW / -3.00 dBm Laser rx power low warning threshold : 0.0090 mW / -20.46 dBm

2. 抓接口流量包

abc@MX960_4# run monitor traffic interface ge-4/3/0 layer2-headers

verbose output suppressed, use or for full protocol decode Address resolution is ON. Use to avoid any reverse lookup delay. Address resolution timeout is 4s.

Listening on ge-4/3/0, capture size 96 bytes

15:24:08.270394 In 44:82:e5:a4:d4:00 > 01:80:c2:00:00:00, 802.3, length 60: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.44:82:e5:a4:d4:00.8090, length 43

Reverse lookup for 224.0.0.5 failed (check DNS reachability). Other reverse lookup failures will not be reported.

Use to avoid reverse lookups on IP addresses.

15:24:09.146843 Out a8:d0:e5:f7:d3:0f > 01:00:5e:00:00:05, ethertype IPv4 (0x0800), length 74: truncated-ip - 20 bytes missing! 10.0.1.1 > 224.0.0.5: OSPFv2, Hello, length 60

15:24:10.276573 In 44:82:e5:a4:d4:00 > 01:80:c2:00:00:00, 802.3, length 60: LLC, dsap STP (0x42) Individual, ssap STP (0x42) Command, ctrl 0x03: STP 802.1w, Rapid STP, Flags [Learn, Forward, Agreement], bridge-id 8000.44:82:e5:a4:d4:00.8090, length 43 ^C

3 packets received by filter 0 packets dropped by kernel 【监控二层接口流量包】

abc@MX960_4# run monitor traffic interface ge-4/0/2 no-resolve matching \67 or 68\ Address resolution is OFF.

Listening on ge-4/0/2, capture size 1514 bytes

15:25:49.279629 In Juniper PCAP Flags [Ext, no-L2, In], PCAP Extension(s) total length 22 Device Media Type Extension TLV #3, length 1, value: Ethernet (1) Logical Interface Encapsulation Extension TLV #6, length 1, value: Ethernet (14) Device Interface Index Extension TLV #1, length 2, value: 165 Logical Interface Index Extension TLV #4, length 4, value: 355 Logical Unit Number Extension TLV #5, length 4, value: 1073878590 -----original packet----- PFE proto 2 (ipv4): (tos 0x0, ttl 255, id 0, offset 0, flags [none], proto: UDP (17), length: 632) 213.227.15.33.68 > 213.227.15.167: [udp sum ok] BOOTP/DHCP, Request from e8:65:d4:0b:e4:a9, length 548, xid 0xec95a626, secs 10, Flags [none] (0x0000)

【监控接口DHCP流量包】

abc@MX960_4# run monitor traffic interface ge-4/0/2 no-resolve matching \546 or 547\ Address resolution is OFF.

Listening on ge-4/0/2, capture size 1514 bytes 【监控接口DHCPv6流量包】

abc@MX960_4# run show firewall log detail

Time of Log: 2017-06-03 15:31:52 CST, Filter: pfe, Filter action: accept, Name of interface: irb.202

Name of protocol: ICMP, Packet Length: 147, Source address: 192.168.202.30, Destination address: 10.1.1.4 ICMP type: 3, ICMP code: 3 【监控防火墙日志】

六、升级系统

1.

文件位置

升级后文件保存在这个目录:/var/sw/pkg

升级文件放在这个目录/var/tmp/ 或放在ftp服务器上。

file copy re1:/var/tmp/jinstall64-13.3R7.4-domestic-signed.tgz re0:/var/tmp

2. 双RE升级步骤

1.1. 升级前准备

1.1.2. 升级前的设备信息收集 1) 设备硬件状态

root@re0> show chassis alarms | no-more

root@re0> show system core-dumps | no-more root@re0> show chassis hardware detail | no-more root@re0> show chassis environment | no-more root@re0> show chassis routing-engine | no-more

root@re0> show version invoke-on all-routing-engines | no-more 2) 协议状态

root@re0> show route summary | no-more root@re0> show bgp summary | no-more root@re0> show ospf neighbor | no-more root@re0> show isis adjacency | no-more 3) 接口状态

show interfaces terse | match up

1.1.3. 升级前配置同步和备份

1) 确认设备没有未提交的配置,然后同步主备RE的配置 root@re0# show | compare root@re0> commit synchronize

2) 将主备RE的CF卡与硬盘之间的镜像信息进行同步(这个过程大约为3分钟)

root@re0> request system snapshot

登录备用:

root@re0> request routing-engine login other-routing-engine root@re1> request system snapshot root@re1> exit

3) 保存配置

保存在PC机上:

root@re0> show configuration | no-more

或保存在设备硬盘上:

root@re0# save /var/tmp/mx960.conf

1.1.4. 上传升级软件包到设备 1) 打开设备的FTP服务

root@re0# set system services ftp

2) 打开FTP客户端软件连接到设备上(使用fxp0带外网管口ip地址或者管理ip地址连接),JUNOS升级软件上传到设备/var/tmp下 本次junos升级版本为jinstall64-12.3R5.7-domestic-signed.tgz 3) 将升级软件包从主用RE拷贝到备用RE root@re0> file copy /var/tmp/jinstall64-12.3R5.7-domestic-signed.tgz re1:/var/tmp/jinstall64-12.3R5.7-domestic-signed.tgz 4) 检查/var/tmp目录存在升级软件包:

root@re0> file list /var/tmp/jinstall64-12.3R5.7-domestic-signed.tgz 5) 关闭FTP服务

root@re0# delete system service ftp root@re0# commit

1.1.5. 禁用graceful-switchover和NSR配置

root@re0># deactive chassis redundancy graceful-switchover root@re0># deactivate routing-options nonstop-routing root@re0># commit synchronize 一定要关闭GRES和NSR功能,否则升级会失败 1.2. 升级步骤

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库MX960运维命令汇总手册V2(9)在线全文阅读。

MX960运维命令汇总手册V2(9).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/jiaoyu/1025275.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: