华为VRP系统隐含命令.docx
- 文档编号:17185017
- 上传时间:2023-07-22
- 格式:DOCX
- 页数:21
- 大小:20.88KB
华为VRP系统隐含命令.docx
《华为VRP系统隐含命令.docx》由会员分享,可在线阅读,更多相关《华为VRP系统隐含命令.docx(21页珍藏版)》请在冰点文库上搜索。
华为VRP系统隐含命令
系统隐含命令
进入系统隐含命令的方法:
在系统视图下执行supervisor命令,输入密码:
sbqygmmb
进入超级视图。
[Router]super
sbqygmmb
[Router-supervisor]
1.1h-arpFreshTime
【命令】
h-arpFreshTime[time]
【视图】
超级视图
【参数】
time:
设置ARP表项的生命周期。
取值范围5-14400。
【描述】
h-arpFreshTime:
命令用来显示和设置当前ARP表项的生命周期。
Time:
ARP表项的生命周期缺省值为20分钟
【举例】
#设置当前ARP表项的生命周期为30分钟。
[Router-supervisor]h-arpfre30
[Router-supervisor]h-arpfre
ThecurrentlifetimeofArpItemsis30Min
1.2h-arpItemNum
【命令】
h-arpItemNum
【视图】
超级视图
【参数】
无
【描述】
h-arpItemNum:
显示ARP表项总条目数。
【举例】
#显示当前ARP表项的总条目数。
[Router-supervisor]h-arpitemnum
ThetotalnumberofARPitemsis0
1.3h-arpRecover
【命令】
h-arpRecover
【视图】
超级视图
【参数】
无
【描述】
h-arpRecover:
显示当前ARP表项的错误信息。
【举例】
#显示当前ARP表项的错误信息。
[Router-supervisor]h-arpRecover
StatisticinformationabouterrorARP:
Conflicttimes:
WiththesameIP,Gatewayare127.0.0.1andMAC:
0
WiththesameIP,GatewayaretwodifferentMAC:
0
UpFlagdonotset:
0
Notsameasradixtree:
0
CheckRTTableOrderisAscendingfail:
0
Callcheckfunctiontimes:
Intimeoutfunction,Totalcall0,fail0
InARP_RtRequestfirstcall,Totalcall0,fail0
InARP_RtRequestsecondcall,Totalcall0,fail0
InRT_Request,Totalcall0,fail0
1.4h-cpuload
【命令】
h-cpuload
【视图】
超级视图
【参数】
无
【描述】
h-cpuload:
显示CPU利用率。
【举例】
#显示当前CPU利用率。
[Router-supervisor]h-cpuload
CurrentCPUload:
1%
1.5h-disconnect
【命令】
h-disconnect{all|useruser-name}
【视图】
超级视图
【参数】
all:
所有的用户
user:
指定的用户
user-name:
用户的名字
【描述】
h-disconnect:
断开用户连接。
【举例】
1.6h-dsp
【命令】
h-dsp{e1vi{channel-no|off}|message{channel-no|off}|pcm{channel-no|off}|watchdog{disable|enable}}
【视图】
超级视图
【参数】
e1vi:
E1VI接口的信息
message:
DSP错误信息
pcm:
抓pcm数据包
watchdog:
看门狗操作
channel-no:
指定的通道号
off:
禁止显示DSP信息
disable:
关闭语音单板的看门狗开关
enable:
打开语音单板的看门狗开关
【描述】
h-dsp:
显示和设置DSP相关的操作。
【举例】
无
1.7h-emergentprint
【命令】
h-emergentprint{on|off}
【视图】
超级视图
【参数】
on:
打开紧急打印开关
off:
关闭紧急打印开关
【描述】
h-emergentprint:
打开或者关闭紧急打印开关。
【举例】
#打开紧急打印开关
[Router-supervisor]h-emergentprinon
Emergentprintison.
1.8h-erase
【命令】
h-erase
【视图】
超级视图
【参数】
无
【描述】
h-erase:
擦除当前FLASH中的应用程序和配置文件。
(此命令危害极大,慎用!
)
【举例】
无
1.9h-flowthreshold
【命令】
h-flowthreshold{bottom-thresholdintegerinterface-full-name|top-thresholdintegerinterface-name}
【视图】
超级视图
【参数】
bottom-threshold:
设置下门限
top-threshold:
设置上门限
integer:
门限值
interface-full-name:
接口的完整名称
【描述】
h-flowthreshold:
调试时设置接口的流控门限。
Integer:
下门限范围为最小为1,最大值为该接口所对应的流缓冲区的流控上门限值减1。
上门限范围为最小为该接口所对应的流缓冲区的流控下门限值加1,最大值为该接口所对应的流缓冲区大小的百分之八十。
注意:
1.如果在配置过程中出现"Noflowbufferallocatedonthisinterface"提示,表示该接口当前没有流缓冲区,如当在接口上配置了modem命令,但拨号连接尚未建立,这时流缓冲区是没有被创建的。
2.如果需要取消流控门限的设置,请将该接口配置成dedicated方式后再配置回来即可。
既取消流缓冲区后再重新创建该缓冲区。
【举例】
#设置接口的流控门限
[Router-supervisor]h-flowthresholdtop33ethernet0
Noflowbufferallocatedonthisinterface
1.10h-helpmode
【命令】
h-helpmode
【视图】
超级视图
【参数】
无
【描述】
h-helpmode:
改变命令帮助模式
在执行命令时,后面加?
显示帮助信息后,下一个命令行提示符显示会有两种模式:
⑴显示前一次输入的命令
⑵不显示前一次输入的命令
执行h-helpmode会在两种模式之间切换
【举例】
#改变命令帮助模式
[Router-supervisor]h-hel?
h-helpmode
[Router-supervisor]h-hel/*显示上次输入的命令*/
[Router-supervisor]h-helpmode/*执行h-helpmode命令*/
[Router-supervisor]h-hel?
h-helpmode
[Router-supervisor]/*不显示上次输入的命令*/
1.11h-hwtacacs
【命令】
h-hwtacacs{debuggingerror|undo-debuggingerror}
【视图】
超级视图
【参数】
debugging:
打开调试开关
undo-debugging:
关闭调试开关
error:
错误的信息
【描述】
h-hwtacacs:
打开或者关闭HWTACACS调试开关。
【举例】
无
1.12h-kernroute
【命令】
h-kernroute
【视图】
超级视图
【参数】
无
【描述】
h-kernroute:
显示系统核心路由表。
【举例】
[Router-supervisor]h-kernroute
DestinationNetmaskFlagGatewayInterfaceRefs
127.0.0.0255.0.0.0ULoopBack00
Flagmeaning
B---BLACKHOLEC---CLONINGD---DYNAMICG---GATEWAY
H---HOSTL---LLINFORM---MODIFIEDr---REJECT
S---STATICU---UP
1.13h-maxruntime
【命令】
h-maxruntime{max-running-time|negative}
【视图】
超级视图
【参数】
max-running-time:
设置Socket_Run任务最长的独占运行次数,范围1
~5000
negative:
忽略Socket_Run任务最长独占运行次数的设置
【描述】
h-maxruntime:
显示和设置Socket_Run任务最长的独占运行次数。
系统默认Socket_Run任务最长的独占运行次数为20。
【举例】
无
1.14h-page
【命令】
h-page{on|off|state}
【视图】
超级视图
【参数】
on:
在执行命令时,有分页的命令依然显示分页,它是系统的默认值
off:
在执行命令时,有分页的命令关闭分页功能,不再进行分页
state:
在执行命令时,显示分页开关当前置为何种状态
【描述】
h-page:
打开或者关闭或显示分页开关的功能。
系统的默认值是ON
【举例】
#打开或者关闭或显示分页开关的功能
[Router-supervisor]h-pageon
Pageswitchisalreadyon!
[Router-supervisor]h-pageoff
[Router-supervisor]h-pagestat
Pageswitchisoff!
1.15h-regenerate
【命令】
h-regenrate
【视图】
超级视图
【参数】
无
【描述】
h-regenerate:
重新生成此路由器的序列号。
【举例】
无
1.16h-rtp
【命令】
h-rtp{channel-no|free}
【视图】
超级视图
【参数】
channel-no:
要捕获的RTP语音包的通道号
free:
释放在捕获RTP语音包的通道
【描述】
h-rtp:
抓RTP语音包。
【举例】
[Router-supervisor]h-rtp1
startcapturertppacket,channel:
1,addr:
0x7ccc894
[Router-supervisor]h-rtpfree
freeOK!
1.17h-setmeminfo
【命令】
h-setmeminfo{on|off}
【视图】
超级视图
【参数】
on:
打开内存信息开关
off:
关闭内存信息开关
【描述】
h-setmeminfo:
设置内存信息开关。
【举例】
无
1.18h-stack
【命令】
h-stack
【视图】
超级视图
【参数】
无
【描述】
h-stack:
打印异常堆栈信息。
【举例】
Quidway(config)#h-stack
The0times
ExceptionTypeis0x000003c8
ExceptionPointeris0x0002f48c
TheRelationofFunctionCalled
0015a8d80002442c
1.19h-tread
【命令】
h-tread{interfaceinterface-typeinterface-indexchipchip-idoffsetoffset-value}
【视图】
超级视图
【参数】
interface:
接口
interface-type:
接口类型
interface-index:
接口的索引,范围0~9
chip:
接口芯片
chip-id:
接口芯片的标识
offset:
偏移量
offset-value:
偏移量的值
【描述】
h-tread:
读取单板芯片寄存器。
offset-value:
偏移量的
取值范围为:
0x0~0x10000。
【举例】
无(此命令的解析有问题,举例暂无)
1.20h-tsend
【命令】
h-tsend{interfaceinterface-typeinterface-indexlengthlengthcountcountcontentcontent}
【视图】
超级视图
【参数】
interface:
接口
nterface-type:
接口类型
interface-index:
接口的索引,范围0~9
length:
长度
length:
发送的数据长度
count:
次数
count:
发送的数据次数
content:
内容
content:
发送的数据内容
【描述】
h-tsend:
向指定的端口发送数据。
ength:
发送的数据长度取值范围:
4~1700。
count:
发送的数据次数取值范围:
0~4000000000。
content:
发送的数据内容为任意字符(问号除外)。
【举例】
#向指定的端口发送数据,长度为4,次数为2,内容为33
[Router-supervisor]h-tsendinterfacee0lengt4cou2con33
[Router-supervisor]
1.21h-tshow
【命令】
h-tshow{interfaceinterface-typeinterface-indexstatic|chipid|bd|queue}
【视图】
超级视图
【参数】
interface:
接口
nterface-type:
接口类型
interface-index:
接口的索引,范围0~9
static:
指定接口的物理状态
chip:
芯片ID
bd:
物理口的缓冲区信息
queue:
接口队列的信息
【描述】
h-tshow:
显示单板驱动信息
【举例】
无
1.22h-twrite
【命令】
h-twrite{interface}{interface-typeinterface-index}{chipany-para}{offsetvalue}{contentany-para}
【视图】
超级视图
【参数】
interface:
接口
nterface-type:
接口类型
interface-index:
接口的索引,范围0~9
chip:
芯片
any-para:
任意参数
offset:
偏移量
value:
偏移量的值,范围0x0~0x1000
content:
内容
【描述】
h-twrite:
写数据到单板芯片寄存器。
【举例】
1.23h-vofr
【命令】
h-vofr{packet{display[c-alerting|c-callproc|c-connect|
c-connack|c-release|c-relcomp|c-setup|m-connect|m-olc|
m-release|m-setup]|modify[c-alerting|c-callproc|c-connect|
c-connack|c-release|c-relcomp|c-setup|m-connect|m-olc|
m-release|m-setup]|reset[c-alerting|c-callproc|c-connect
|c-connack|c-release|c-relcomp|c-setup|m-connect|m-olc|
m-release|m-setup]|free}}
【视图】
超级视图
【参数】
display:
显示修改信息
modify:
添加修改信息
reset:
清除修改信息
free:
释放修改信息缓冲区
c-alerting:
警告信息
c-callproc:
呼叫处理信息
c-connect:
连接信息
c-connack:
连接响应信息
c-release:
释放消息
c-relcomp:
释放完整的消息
c-setup:
建立消息
m-connect:
MOTOROLA连接消息
m-olc:
MOTOROLA开放逻辑通道的消息
m-release:
MOTOROLA释放消息
m-setup:
MOTOROLA建立信息
【描述】
h-vofr:
设置VOFR信令信息。
【举例】
无
1.24h-voip-jbinfor
【命令】
h-voip-jbinfor{channel|free}
【视图】
超级视图
【参数】
channel:
抓jitterbuffer语音包的通道
free:
释放抓jitterbuffer语音包的通道
【描述】
h-voip-jbinfor:
抓jitterbuffer语音包信息。
【举例】
1.25h-voip-statistic
【命令】
h-voip-statistic
【视图】
超级视图
【参数】
无
【描述】
h-voip-statistic:
显示VoIP统计信息(测试用)。
【举例】
无
1.26h-vos
【命令】
h-vos{memory{addressmem-start-addressmem-end-address
mem-length|all[detail]|blksizeblock-size[detail]|
consume{free|rawslice{malloc-size[malloc-block-number]}|slice
{malloc-size[malloc-block-number]}|fastmbuffer|midsid
mem-mid{[mem-sid]|[detail]}|usedsizeused-size[detail]}|
queue{all|queidqueue-id|queue{arp|interface[interface-type]|
ip|ipx|timer}}|task{all|switch{on|off|[number]}|taskid
task-id}|semaphore|timer}
【视图】
超级视图
【参数】
memory:
内存信息
address:
指定地址的内存信息
mem-start-address:
内存开始地址
mem-end-address:
内存结束地址
mem-length:
内存长度
all:
所有的内存信息
detail:
内存详细信息
blksize:
内存块大小
block-size:
内存块大小值
consume:
为了尽快消耗掉内存而申请指定大小的内存
free:
释放所有申请的内存
rawslice:
为了尽快消耗掉内存而申请指定大小的非分片内存
malloc-size:
指定大小的内存
malloc-block-number:
指定的内存值
slice:
为了尽快消耗掉内存而申请指定大小的分片内存
fastmbuffer;显示快速缓冲信息
midsid:
显示指定MID(HEX)和SID(HEX)的内存信息
mem-mid:
MID(HEX)内存信息
mem-sid:
SID(HEX)的内存信息
usedsize:
显示指定内存块长度(用户分配指定的)的内存信息
used-size:
用户分配指定的内存值
queue:
显示消息队列信息
all:
显示系统所有消息队列信息
queid:
按照消息队列标识显示
queue-id:
队列标识
queue:
当前系统队列
arp:
ARP接收队列
interface:
接口队列
interface-type:
接口类型
ip:
IP接收队列
ipx:
IPX接收队列
timer:
定时器队列
task:
显示任务信息
all:
显示所有任务信息
switch:
显示任务交换信息开关
on:
打开任务交换信息开关
off:
关闭任务交换信息开关
number:
交换信息历史记录数,范围1~1024。
taskid:
显示指定任务标识的任务信息
task-id:
任务标识
semaphore:
显示信号量信息
timer:
显示定时器信息
【描述】
h-vos:
显示VOS相关信息。
【举例】
[Router-supervisor]h-vostimer
TimerIDStatusTypeLengthTaskIDQueIDFunction
----------------------------------------------------------------
3041720ACTIVENOLOOP2005570x003C4EEC
3041716ACTIVENOLOOP9525570x00AA4738
3041698ACTIVENOLOOP20005570x00A175F0
21ACTIVELOOP100013680x00A98B00
3041711ACTIVENOLOOP10005570x0002C200
3041712ACTIVENOLOOP10005570x009D056C
3041719ACTIVENOLOOP5005570x003C4E40
32ACTIVELOOP10004720x00A45470
3041715ACTIVENOLOOP100010140x0000000D
36ACTIVELOOP200014280x00003333
2ACTIVELOOP50005570x0034372C
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 华为 VRP 系统 隐含 命令