help
netq help
显示所有命令或包含特定关键字的命令的语法,所有命令和选项的列表,或命令格式的摘要。
语法
netq help [<text-keywords>]
netq help list
netq help verbose
必需参数
参数 | 值 | 描述 |
---|---|---|
list | NA | 在终端窗口中显示所有 NetQ 命令 |
verbose | NA | 显示 NetQ 命令格式规则 |
选项
选项 | 值 | 描述 |
---|---|---|
NA | <text-keywords> | 显示包含这些关键字的命令的语法 |
用法示例
显示包含 addresses
关键字的所有命令的语法
cumulus@switch:~$ netq addresses help OR netq help addresses
Commands:
netq <hostname> show ip addresses [<remote-interface>] [<ipv4>|<ipv4/prefixlen>] [vrf <vrf>] [around <text-time>] [count] [json]
netq show ip addresses [<remote-interface>] [<ipv4>|<ipv4/prefixlen>] [vrf <vrf>] [subnet|supernet|gateway] [around <text-time>] [json]
netq <hostname> show ipv6 addresses [<remote-interface>] [<ipv6>|<ipv6/prefixlen>] [vrf <vrf>] [around <text-time>] [count] [json]
netq show ipv6 addresses [<remote-interface>] [<ipv6>|<ipv6/prefixlen>] [vrf <vrf>] [subnet|supernet|gateway] [around <text-time>] [json]
netq check addresses [label <text-label-name> | hostnames <text-list-hostnames>] [check_filter_id <text-check-filter-id>] [include <addr-number-range-list> | exclude <addr-number-range-list>] [around <text-time>] [json | summary]
Keywords:
addresses : IPv4/v6 addresses
subnet : Display all addresses in the subnet of a given address
supernet : Display all addresses in a supernet
workers-ipv6 : Workers nodes IPv6 addresses
显示 NetQ 命令格式规则
cumulus@netq-ts:~$ netq help verbose
netq commands have the following format:
netq [<hostname>] action object [options]
[] denotes an optional parameter or keyword
<> denotes a parameter to be specified such as an IP prefix, addr etc.
Hitting the TAB key will automatically show the available options.
Partial keywords are also accepted; e.g.: 'netq show ip ro 4.0.0.1'.
...
相关命令
无