Using the mtrace from-source Command

本文介绍了一种使用mtrace from-source命令来显示从源到服务路由器的多播路径信息的方法。该命令允许用户设置多种选项,如额外跳数、组地址、间隔秒数等,并提供了样本输出和字段说明。

Using the mtrace from-source Command

To display information about a multicast path from a source to the Services Router, enter the mtrace from-source command with the following syntax. Table 206 describes the mtrace from-source command options.


user@host> mtrace from-source source host <extra-hops number> <group address> <interval seconds> <max-hops number> <max-queries number> <response host> <routing-instance routing-instance-name> <ttl number> <wait-time seconds> <loop> <multicast-response | unicast-response> <no-resolve> <no-router-alert> <brief | detail>

Table 206: CLI mtrace from-source Command Options

Option

Description

source host

Traces the path to the specified hostname or IP address.

extra-hops number

(Optional) Sets the number of extra hops to trace past nonresponsive routers. Specify a value from 0 through 255.

group address

(Optional) Traces the path for the specified group address. The default value is 0.0.0.0.

interval seconds

(Optional) Sets the interval between statistics gathering. The default value is 10.

max-hops number

(Optional) Sets the maximum number of hops to trace toward the source. Specify a value from 0 through 255. The default value is 32.

max-queries number

(Optional) Sets the maximum number of query attempts for any hop. Specify a value from 1 through 32. The default value is 3.

response host

(Optional) Sends the response packets to the specified hostname or IP address. By default, the response packets are sent to the Services Router.

routing-instance routing-instance-name

(Optional) Traces the routing instance you specify.

ttl number

(Optional) Sets the time-to-live (TTL) value in the IP header of the query packets. Specify a hop count from 0 through 255. The default value for local queries to the all routers multicast group is 1. Otherwise, the default value is 127.

wait-time seconds

(Optional) Sets the time to wait for a response packet. The default value is 3 seconds.

loop

(Optional) Loops indefinitely, displaying rate and loss statistics. To quit the mtrace command, press Ctrl-C.

multicast-response

(Optional) Forces the responses to use multicast.

unicast-response

(Optional) Forces the response packets to use unicast.

no-resolve

(Optional) Does not display hostnames.

no-router-alert

(Optional) Does not use the router alert IP option in the IP header.

brief

(Optional) Does not display packet rates and losses.

detail

(Optional) Displays packet rates and losses if a group address is specified.

Following is sample output from the mtrace from-source command:


user@host> mtrace from-source source 192.1.4.1 group 224.1.1.1

Mtrace from 192.1.4.1 to 192.1.30.2 via group 224.1.1.1 Querying full reverse path... * *    0  ? (192.1.30.2)  -1  ? (192.1.30.1)  PIM  thresh^ 1    -2  routerC.mycompany.net (192.1.40.2)  PIM  thresh^ 1    -3  hostA.mycompany.net (192.1.4.1) Round trip time 22 ms; total ttl of 2 required.  Waiting to accumulate statistics...Results after 10 seconds:    Source        Response Dest    Overall     Packet Statistics For Traffic From 192.1.4.1  192.1.30.2       Packet      192.1.4.1 To 224.1.1.1      v       __/  rtt   16 ms     Rate       Lost/Sent = Pct  Rate 192.168.195.37  192.1.40.2      routerC.mycompany.net       v     ^      ttl    2                      0/0    = --    0 pps 192.1.40.1      192.1.30.1      ?                    v      /__   ttl    3                      ?/0            0 pps 192.1.30.2      192.1.30.2   Receiver      Query Source

Each line of the trace display is usually in the following format (depending on the options selected and the responses from the routers along the path):


hop-number host (ip-address) protocolttl

Table 207 summarizes the output fields of the display.

Note: The packet statistics gathered from Juniper Networks routers and routing nodes are always displayed as 0.

Table 207: CLI mtrace from-source Command Output Summary

Field

Description

hop-number

Number of the hop (router) along the path.

host

Hostname, if available, or IP address of the router. If the no-resolve option was entered in the command, the hostname is not displayed.

ip-address

IP address of the router.

protocol

Protocol used.

ttl

TTL threshold.

Round trip time milliseconds ms

Total time between the sending of the query packet and the receiving of the response packet.

total ttl of number required

Total number of hops required to reach the source.

Source

Source IP address of the response packet.

Response Dest

Response destination IP address.

Overall

Average packet rate for all traffic at each hop.

Packet Statistics For Traffic From

Number of packets lost, number of packets sent, percentage of packets lost, and average packet rate at each hop.

Receiver

IP address receiving the multicast packets.

Query Source

IP address of the host sending the query packets.


代码下载地址: https://pan.quark.cn/s/bcac7912890d 在本文中,我们将详细研究如何将Windows 10操作系统调整为类似苹果的主题风格,并分析这一过程可能涉及的关键技术要素。Windows 10用户有时期望通过改变系统界面来获得与苹果Mac OS相近的体验,这通常涉及到图标、窗口布局、任务栏等方面的调整。"windows10美化变仿苹果主题"是一个此类解决方案,它致力于提供一种简便高效的方法,让用户能够在不降低系统性能的情况下,使Windows 10的外观更接近苹果的操作系统。 我们需要熟悉这个美化工具的关键部分——"安装程序Dock.exe"。Dock是苹果Mac OS中的一个显著功能,它是一个可定制的快捷方式条,用于迅速访问常用的应用程序和文件。在Windows 10中,实现仿苹果主题通常包括一个类似的功能,模拟Mac的Dock效果,使用户能够便捷地启动和切换应用程序。这个Dock程序很可能包含了模仿Mac样式的任务栏和启动器的界面组件。 在描述中提及的"一键启动,完美仿苹果",表明这个美化工具应该是用户友好的,只需执行一个简单的步骤,就能完成整个系统的转换。这样的设计对于那些不熟悉复杂系统设置调整的用户来说非常便利。同时,"支持:windows7/windows10"显示这个工具不仅适用于Windows 10,还适用于较早版本的Windows 7,拓宽了它的适用范围。 值得关注的是,该工具被强调为"不会占用很多资源",在个人电脑测试中,仅消耗3%的内存资源。这在一定程度上确保了系统性能不会因为美化而受到明显影响。在进行系统美化时,保证软件的轻量化和资源使用效率是至关重要的,因为过多的后台进程可能会减慢系统运行速度。 在达...
源码链接: https://pan.quark.cn/s/a4b39357ea24 ### MG996R舵机控制详细说明 #### 一、MG996R舵机概述 MG996R舵机是一种在机器人、无人机、模型飞机等多个领域得到普遍应用的伺服电机。该舵机能够依据输入的脉冲宽度调制(PWM)信号进行精准的角度定位。由于具备操作简便、运行高效、成本较低等优势,这种舵机在各种机电控制系统中被频繁采用。 #### 二、MG996R舵机的工作机制 MG996R舵机内部配备了一个精密的反馈系统,确保其输出的角度具有高度的精确性。其主要运作过程如下: 1. **控制信号调节**:控制信号由接收机的通道传输至信号调制芯片,该信号通常表现为周期性变化的PWM信号。信号调制芯片会提取出这一信号中的直流偏置电压。 2. **基准信号的产生**:舵机内部设有基准电路,用于生成一个周期为20ms、宽度为1.5ms的基准信号。 3. **电压对比**:所获取的直流偏置电压与电位器的电压进行对比,从而得出电压差。 4. **电机驱动**:电压差的正负决定了电机的旋转方向。电机通过一系列的齿轮减速装置驱动电位器旋转,使电压差趋近于零,此时电机停止转动。 #### 三、舵机控制信号详述 舵机的控制信号通常采用PWM信号,通过调节信号的占空比来控制舵机的位置。一般情况下,对舵机的控制要求如下: - **周期**:通常设置为20ms。 - **脉冲宽度**:依据所需控制的角度而变动,通常范围为1ms至2ms之间。 - **最小脉冲宽度**:1ms对应舵机的最左侧位置。 - **最大脉冲宽度**:2ms对应舵机的最右侧位置。 - **中间位置**:1.5ms对应的脉冲宽度代表舵机的中心位置。 #### 四...
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值