NETSH 如何扩展其功能?如何适配netsh使其支持SCTP协议?

Tcl/Tk的一些笔记 Tcl/Tk的一些笔记                                       快速图形界面开发语言Tcl/Tk0.前言.在unix like系统下,有没有像VB一样的快速图象界面开发工具呢?很多人大概马上会想到Kylix,基于Java的一些图形开发工具。但是数百兆的安装大小对于一些简单用途是否小题大做了呢?其实,很多脚本语言如Perl,Python本身就已经包含Tk库 阅读详情

NETSH


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

The NetShell utility (netsh) is a command-line, scripting interface for configuring and monitoring Windows. The configuration tool provides an interactive shell interface to the user. The front end is the command shell that accepts your commands, and the back end is a helper that corresponds to a system component or utility. A helper is a Dynamic Link Library file (.dll) that extends the functionality of netsh. A helper provides configuration and/or monitoring support for one or more services, utilities, or protocols, but helpers can also be used to extend other helpers. The command shell directs the command to the appropriate helper, and the helper carries out the command.

The netsh command allows you to run the NetShell utility to display or modify the configuration of a currently running computer. It also provides a scripting feature that you can use to run a collection of commands in batch mode against a specified computer.

The command shell provides for contexts, which are groupings of netsh commands for specific networking components. A context is identified by a string that is appended to commands. Commands entered in a given context are passed to an associated helper. The contexts available depend on the Windows components installed. For example, typing routing at the netsh command changes to the routing context. Typing ras at the netsh command changes to the ras (remote access portion of the Routing and Remote Access service) context.

Subcontexts may exist within each context. For example, within the routing context, you can change to the ip and ipx subcontexts.


Syntax

NETSH /?

NETSH [-a aliasfile ] [-c context ] [-r remotecomputer ] [command | -f scriptfile ]


Parameters

command ( NT2000 )
?

Switches

/? ( NTXP )
Displays help.
-a aliasfile ( NT2000 )
?
-c context ( NT2000 )
?
-f scriptfile ( NT2000 )
?
-r remotecomputer ( NT2000 )
?

Related

none.


Notes

To display a list of subcontexts and commands that can be used in a context, at the netsh prompt, type the context name, followed by a space and ?. For example, to display a list of subcontexts and commands that can be used in the routing context, at the netsh prompt, type:

    netsh>routing ?

Netsh Commands:

These additional commands can be used with Netsh. Optional parameters are shown in brackets ([ ]). Alternative entries are shown with a pipe (|) between them.

  • ? Displays help.
  • abort Discards any changes made in offline mode. No effect in online mode.
  • add helper DLL_name Installs the helper DLL.
  • alias [alias_name] Displays the equivalent string.
  • alias [alias_name] [string1] [string2] ... Sets alias_name to the specified strings.
  • alias Lists all aliases.
  • bye Exits the program.
  • commit Commits any changes made in the offline mode to the router. No effect in the online mode.
  • delete helper DLL_name Removes the helper DLL.
  • dump -file_name Dumps or appends configuration to a text file.
  • exec Script_file_name Loads the script file and executes commands from it.
  • exit Exits the program.
  • h Displays help.
  • help Displays help.
  • offline Sets the current mode to offline. Any changes made in this mode will be saved, but require a commit or online command to be set in the router.
  • online Sets the current mode to online. Any changes in this mode will be immediately reflected in the router.
  • popd Pops a context from the stack.
  • pushd Pushes current context onto the stack.
  • quit Exits the program.
  • set file [open file_name | append file_name | close] Copies the Command Prompt window output to a file. NT2003
  • set machine [[//computer_name=]string] Sets the current computer on which to perform configuration tasks. NT2003
  • set mode [mode =] online | offline Sets the current mode to online or offline.
  • show alias Lists all defined aliases.
  • show helper Lists all top-level helpers.
  • show mode Shows the current mode.
  • unalias alias_name Deletes the specified alias.

Examples

none.


Errorlevels

none.


Availability

External
DOS
none
Windows
none
Windows NT
NT2000 NTXP NT2003

Last Updated: 2003/07/28
Direct corrections or suggestions to: Rick Lively

 

From: http://or8.net/~aj/Windows_Total_Command/COMMANDS/N/NETSH.HTM

Windows下用VS2022编译libcurl全流程(含openssl配置避坑指南) 本文详细介绍了在Windows平台使用Visual Studio 2022编译libcurl库的完整流程,重点解决了集成OpenSSL支持HTTPS功能时的常见配置难题。从环境准备、源码获取、依赖编译到工程配置,提供了清晰的步骤和针对非默认安装路径的避坑指南,帮助开发者高效完成网络库的集成工作。 阅读详情

相关推荐

如何在 Ubuntu 24.04 或 22.04 上安装和使用 GDebi

本文介绍了在Ubuntu 24.04上安装和使用GDebi的方法。GDebi是DPKG的轻量级替代品,能够自动解析并安装.deb包的依赖项。文章详细说明了系统更新、安装GDebi的步骤,并演示了通过GUI和CLI两种方式安装.deb包的操作流程。此外,还提供了验证安装和卸载包的方法。GDebi虽然非必需,但为用户提供了处理依赖项的另一种选择,适合需要安装本地Debian包的用户。

山岚的运维笔记 1998

对于监视和配置计算机或网络的几个非常有用的MS-DOS 命令

使用 Ipconfig 可显示 TCP/IP 网络配置。 使用 Nbtstat 可显示协议统计和当前 TCP/IP 连接。 使用 Netsh 可在命令行状态或脚本接口下配置并监视 Windows 2000。 使用 Nslookup 可显示 DNS(域名系统)名称服务器信息。 使用 Pathping 可确定导致网络问题的路由器或链路。 Ipconfig 该诊断命令显示所有当前的 TCP/IP 网络配...

Earl_86 462

mipi协议中的calibration和scramble模式

在MIPI(Mobile Industry Processor Interface)协议中,calibration(校准)和scramble(加扰)模式是两个重要的特性,它们分别用于优化数据传输的准确性和减少信号干扰。

flomingo1的专栏 2401

Windows的Netsh命令

然后,选择“共享”选项卡,选中“准许其他网络用户通过此计算机的互联网连接进行连接”,从下拉列表框中选择“虚拟无线网络连接”,然后单击“确定”。Netsh WLAN set allowexplicitcreds:在一个用户并不登录计算机时,指定是否准许计算机将存储的用户登录凭证用于802.1x认证,使用下面的参数:allow=为了充分利用虚拟无线网络,你可以配置计算机与连接到虚拟接入点的用户共享其互联网连接(使用Windows的Internet连接共享属性)。如果你需要启动虚拟网络,必须手动进行。

Cisco_hw_zte的博客 949

cuda安装时出现错误 Unable to locate package cuda-toolkit-12-4

cuda安装时出现错误 Unable to locate package cuda-toolkit-12-4

4870

Windows环境下DataEase一站式安装指南(含WSL2+Docker配置)

本文详细介绍了在Windows环境下通过WSL2和Docker快速部署DataEase的完整教程。从WSL2配置、Docker环境搭建到DataEase离线安装,逐步指导用户完成一站式部署,特别适合需要快速搭建数据分析平台的开发者。教程包含常见问题解决方案和性能优化技巧,帮助用户高效使用这款国产开源数据可视化工具。

weixin_42526166的博客 398

学习笔记:黑客基础知识——黑客常用命令

路由和网关 路由:相互连接的网络中,把信息从源地点移动到目的地点的活动。路由过程中,信息至少会经过一个或多个中间节点。 路由器:互联网的主要节点设备,路由器 通过路由决定如何转发数据,转发的策略称为路由选择。路由器构成了Internet的骨架,它的处理速度的提升是网络通信的主要瓶颈之一,其可靠性直接影响网络互连的质量。 网关:又称网间连接器、协议转换器,仅用于两个高层协议不同的网络互连。网关既可以用于广域网互连,也可以用于局域网互连。在使用不同的通信协议。数据格式或语言,甚至体系结构完全不同的两种系统之间充

qq_44219837的博客 1007

MFC属性网格控件(CMFCPropertyGridCtrl)完全指南:构建专业属性编辑界面

本文详细介绍了MFC中的CMFCPropertyGridCtrl控件的使用方法。主要内容包括:控件基础用法(初始化、添加属性、事件处理)、高级设置(自定义外观、创建属性类型、动态更新)、派生类实现(自定义绘制、搜索过滤功能)、界面集成技巧(对话框布局、属性编辑器)以及实际应用示例。文章重点讲解了如何通过继承和自定义实现复杂功能,并提供了性能优化、多语言支持等最佳实践方案。该控件适用于需要大量参数配置的应用程序,能够创建类似Visual Studio属性窗口的专业界面。

专注现代C++实战,从核心语法到高性能编程,助力开发者深入掌握系统级编程精髓。 155

如果序列文件的染色体名称和你的Fasta文件和注释文件不同时,需要建立名称对应文件alias文件

创建对应文件的过程:Creating a Chromosome Name Alias FileOne of the common causes for a data loading failure is a mismatch in chromosome names between the data file and the IGV genome it is being viewed against...

飘羽的博客 1920

MATLAB库函数unwrap(相位解卷绕)的C语言实现

什么是相位解卷绕 Q = unwrap(P) Q = unwrap(P) corrects the radian phase angles in a vector P by adding multiples of ±2π when absolute jumps between consecutive elements of P are greater than or equal to the default jump tolerance of π radians. If P is a matrix, unw

业精于勤,荒于嬉 4248

AUTOSAR从入门到精通-汽车电子电气架构(EEA)

EEA(Electrical/Electronic Architecture),电子电气架构,是首先由德尔福公司提出的,集合汽车的电子电气系统原理设计、中央电器盒的设计、连接器的设计、电子电气分配系统等设计为一体的整车电子电气解决方案的概念。通过EEA的设计,可将动力总成、驱动信息、娱乐信息等车身信息转化为实际的电源分配的物理布局、信号网络、数据网络、诊断、容错、能量管理等的电子电气解决方案。

getusushu的博客 861

使用netsh.exe命令配置TCP/IP协议

你知道netsh.exe能为你做些什么吗?如果不知道的话就请跟我一起往下看吧。  首先,它可以显示你TCP/IP协议的相关设置。在命令提示窗口(CMD.EXE)里输入下列命令:netsh interface ip show config  你还可以用它来更改计算机的IP地址或者配置TCP/IP的其它相关属性。例如,你想为计算机的“本地连接”指定一个静态的IP地址:192.168

leyvan的专栏 1198

嵌入式面经篇八——进程&线程

记录一些招聘公司在招聘嵌入式软件岗位时的一些问题,此文为第八篇。进程上文:是指进程由用户态切换到内核态时需要保存用户态时CPU寄存器中的值,进程状态以及堆栈上的内容。即保存当前进程的状态,以便再次执行该进程时,能够恢复切换时的状态,继续执行。进程下文:是指切换到内核态后执行的程序,即进程运行在内核空间的部分。中断上文:硬件通过中断触发信号,导致内核调用中断处理程序,进入内核空间。这个过程中,硬件的一些变量和参数也要传递给内核,内核通过这些参数进行中断处理。

明天你好的博客 1854

扩展sctp协议后的netsh,查看其helper列表中,新增了SCTPMON.DLL

netsh>show helper 助手 GUID                               DLL 文件名     命令--------------------------------------  ------------  -------{00770721-44EA-11D5-93BA-00B0D022DD1F}  HNETMON.DLL   bridge{

知止定静安虑得 1269

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

KDE和GNOME中启动终端的方法

KDE下运行:konsoleGNOME下运行:gnome-terminal startkdegnome-session

知止定静安虑得 1万+

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

html中ol,ul,li 分别是哪几个英语单词的缩写?

ul: unordered lists ol: ordered lists li: list item

知止定静安虑得 1万+

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

为什么在网络系统中的端口号范围为0~65535(2^16-1)?

因为在传输层协议(例如TCP、SCTP)中,Header Format的最前端32bit结构为:    0                   1                   2                   3       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1    +-+-+-+-+-+-+

知止定静安虑得 9229

Linux下如何启动SMB服务

/usr/sbin/smbd -D -s /etc/samba/smb.conf

知止定静安虑得 3121

【草木瓜专题】Lex和Yacc Primer,好文章

http://blog.youkuaiyun.com/liwei_cmg/category/207528.aspx

知止定静安虑得 1799

HOST和Endpoint

o 主机(Host)主机配有一个或多个IP地址,是一个典型的物理实体。o 端点(SCTP Endpoint)一个传送地址(IP地址+SCTP端口号)唯一标识一个端点。o 一个主机上可以有多个端点。

知止定静安虑得 1505

Abstract Syntax Notation One

In telecommunications and computer networking, Abstract Syntax Notation One (ASN.1) is a standard and flexible notation that describes data structures for representing, encoding, transmitting, and dec

知止定静安虑得 1475

AngularJS指令中,ngif无效,ngIf才行,注意区分大小写

AngularJS指令中,ngif无效,ngIf才行,注意区分大小写 <div *ngIf="selectedHero"> <h2>{{selectedHero.name | uppercase}} Details</h2> <div><span>id: </span>{{selectedHero.id}}&lt...

知止定静安虑得 1365

Tcl脚本的历史【必读】

(原翻译不详)人们常常问我设计Tcl语言的目的是什么,为什么它会变得这么受欢迎。本文将重温一下当年产生设计Tcl和Tk的想法,回顾Tcl和Tk在过去十年间发展的过程,以及我从伯克利到sun到scriptics的人生经历。你将看到,起初Tcl是很简陋的;这个系统的成功令我很吃惊,其实我也是通过回顾它的历史才开始明白Tcl流行的原因是什么。 Tcl的诞生  Tcl脚本诞生于80年代初,我在

知止定静安虑得 1199

unless otherwise stated

翻译成中文就是:“除非有特殊说明”

知止定静安虑得 1192

传递经验最好的途径

传递经验最好的途径是有经验的人和没有经验的人一起工作(Team Working),面对面手把手传递经验

知止定静安虑得 1159

Transport address【3元组】

Transport address: A transport address is traditionally defined by      a network-layer address, a transport-layer protocol, and a      transport-layer port number.  In the case of SCTP running over I

知止定静安虑得 1090
上一篇: 学习智者的生活态度
下一篇: 扩展sctp协议后的netsh,查看其helper列表中,新增了SCTPMON.DLL
平衡有度
博客等级 码龄21年 35粉丝 253原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值