📄 网络管理中的常用命令8.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0043)http://www.net130.com/2004/5-30/2034-8.html -->
<HTML><HEAD><TITLE>网络管理中的常用命令</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="网络管理中的常用命令8.files/cisco.css" type=text/css rel=stylesheet>
<META content=cisco,ccna,ccnp,net,net130,ccie,bbs.net130.com.net,TestKing
name=keywords>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY bgColor=#eaeaea leftMargin=0 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<TABLE cellSpacing=0 cellPadding=0 width=780 align=center bgColor=#99ccff
border=0>
<TBODY>
<TR>
<TD width=7> </TD>
<TD noWrap height=25>
<FORM action=http://bbs.net130.com/member.php method=post><FONT
face=宋体,verdana,arial,helvetica>Cisco网络技术论坛-> <FONT
color=#000000>用户名</FONT></FONT> <INPUT type=hidden
value=67c92557f3c0e73f48507762f7d6cf05 name=s> <INPUT type=hidden
value=login name=action> <INPUT class=input1 size=7 name=username> 密码
<INPUT class=input1 type=password size=7 name=password> <INPUT class=input2 type=submit value=登录 name=submit> </FORM></TD>
<TD noWrap>
<FORM action=/search.asp method=post>
<TABLE border=0>
<TBODY>
<TR>
<TD><FONT color=#000000>搜索</FONT></TD>
<TD><INPUT class=input1 size=10 name=keyword></TD>
<TD><SELECT class=input1 name=condition> <OPTION value=title
selected>标题</OPTION> <OPTION value=content>内容</OPTION></SELECT></TD>
<TD><INPUT class=input2 type=submit value=搜索 name=Submit></TD></TR></TBODY></TABLE></FORM></TD>
<TD width=11>
<DIV align=right></DIV></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=780 align=center border=0>
<TBODY>
<TR bgColor=#ecb70a>
<TD colSpan=2><IMG height=3 src="网络管理中的常用命令8.files/space.gif"
width=1></TD></TR>
<TR>
<TD width=200 height=70><IMG height=60 src="网络管理中的常用命令8.files/logo.gif"
width=185></TD>
<TD>
<DIV align=center>
<SCRIPT src="网络管理中的常用命令8.files/ad_news_content.js"></SCRIPT>
</DIV></TD></TR></TBODY></TABLE>
<TABLE style="BORDER-TOP: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
cellSpacing=0 cellPadding=0 width=780 align=center border=0>
<TBODY>
<TR>
<TD width=185 bgColor=#004d9c>
<DIV align=center><FONT
style="FONT-WEIGHT: bold; FONT-SIZE: 17px; COLOR: #ffffff; FONT-FAMILY: arial; TEXT-DECORATION: none">Net130.com</FONT></DIV></TD>
<TD width=595 bgColor=#ffffff>
<SCRIPT src="网络管理中的常用命令8.files/navigation2.js"></SCRIPT>
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=780 align=center border=0>
<TBODY>
<TR>
<TD><IMG height=1 alt="" src="网络管理中的常用命令8.files/space.gif" width=1
name=""></TD></TR></TBODY></TABLE>
<TABLE style="BORDER-LEFT: #dddddd 1px solid" cellSpacing=0 cellPadding=0
width=780 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD><IMG height=1 src="网络管理中的常用命令8.files/space.gif"
width=1></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD background=网络管理中的常用命令8.files/head_bg.gif
height=22> [Navigation]</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=2 cellPadding=2 width="95%" align=center border=0>
<TBODY>
<TR vAlign=bottom>
<TD class=title align=middle colSpan=2
height=40><STRONG>网络管理中的常用命令</STRONG>
<HR align=center width="95%" SIZE=1>
</TD></TR>
<TR>
<TD class=chinese9ptmain vAlign=top colSpan=2 height=40>
<DIV align=center>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="20%"> </TD>
<TD width="56%" height=18>
<DIV
align=center>http://www.net130.com 发布日期:2004-5-30</DIV></TD>
<TD width="24%">
<DIV align=center>浏览次数:
<SCRIPT src="网络管理中的常用命令8.files/Click.html"></SCRIPT>
</DIV></TD></TR>
<TR>
<TD width="20%"> </TD>
<TD width="56%" height=18>
<DIV align=center> </DIV></TD>
<TD width="24%"> </TD></TR></TBODY></TABLE></DIV></TD></TR>
<TR bgColor=#f8f8f8>
<TD class=chinesefont105pt colSpan=2>. . . . . : 10.1.1.94
(本地连接更改之前的ip)
<P></P>
<P>Subnet Mask . . . . . . . . . . . : 255.255.255.0 </P>
<P>Default Gateway . . . . . . . . . : 10.1.1.254 </P>
<P>C:\>netsh (进入设置模式) </P>
<P>netsh>interface </P>
<P>interface>ip </P>
<P>interface ip>set address "本地连接" static 10.1.1.111
255.255.255.0 10.1.1.254 </P>
<P>interface ip>exit </P>
<P>上文中的set命令具体解释如下: </P>
<P>set address - 设置指定的接口的 IP 地址和默认网关。 </P>
<P>set dns - 设置 DNS 服务器模式和地址。 </P>
<P>set wins - 设置 WINS 服务器模式和地址。 </P>
<P>C:\>ipconfig (更改后再用ipconfig命令看一下,确认一下是否更改成功) </P>
<P>Windows 2000 IP Configuration </P>
<P>Ethernet adapter 本地连接: </P>
<P>Connection-specific DNS Suffix . : </P>
<P>IP Address. . . . . . . . . . . . : 10.1.1.111 </P>
<P>Subnet Mask . . . . . . . . . . . : 255.255.255.0 </P>
<P>Default Gateway . . . . . . . . . : 10.1.1.254 <BR>命令一览 <BR>.. -
移到上一层上下文级。 <BR>? - 显示命令列表。 <BR>aaaa - 更改到 `aaaa' 上下文。 <BR>abort -
丢弃在脱机模式下所做的更改。 <BR>add - 将一个配置项添加到项目列表中。 <BR>alias - 添加一个别名 <BR>bye
- 退出程序。 <BR>commit - 提交在脱机模式中所做的更改。 <BR>delete - 在项目列表上删除一个配置项目。
<BR>dhcp - 更改到 `dhcp' 上下文。 <BR>dump - 显示一个配置脚本。 <BR>exec - 运行一个脚本文件。
<BR>exit - 退出程序。 <BR>help - 显示命令列表。 <BR>interface - 更改到 `interface'
上下文。 <BR>offline - 将当前模式设置成脱机。 <BR>online - 将当前模式设置成联机。 <BR>popd -
从堆栈上打开一个上下文。 <BR>pushd - 将当前上下文放推入堆栈。 <BR>quit - 退出程序。 <BR>ras - 更改到
`ras' 上下文。 <BR>routing - 更改到 `routing' 上下文。 <BR>set - 更新配置设置。
<BR>show - 显示信息 <BR>unalias - 删除一个别名。 <BR>wins - 更改到 `wins' 上下文。
<BR>route 的命令 <BR>routing ip add/delete/set/show interface
在指定接口上添加、删除、配置或显示常规 IP 路由设置。 <BR>routing ip add/delete/set/show
filter 在指定接口上添加、删除、配置或显示 IP 数据包筛选器。 <BR>routing ip add/delete/show
boundary 在指定接口上添加、删除或显示多播边界设置。 <BR>routing ip add/set ipiptunnel
添加或配置 IP 中的 IP 接口。 <BR>routing ip add/delete/set/show rtmroute
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -