欢迎来到一句话经典语录网
我要投稿 投诉建议
当前位置:一句话经典语录 > 口号 > 查接口号命令

查接口号命令

时间:2014-02-20 13:29

使用什么命令查看路由器各个接口的信息

路由器接口就是用来连接不同的网络的物理接口,路由器接口配置的查询命令每个厂商都是有区别的:思科中兴设备用show interface all;华为华三设备用display interface ;

windows 怎么用命令查看端口号

cmd下输入netstat命令,会显示:活动连接协议 本地地址 外部地址 状态(类型) (IP):(端口号) (你的计算机名称):(端口号) (状态的英文)

查看网络接口的命令不管用了,怎么回事

我拜托,命令是netstat -an好不好,记得不要漏了空格。

拿分来那就是你电脑有问题了。

不过很多安全软件都有端口查看功能啊。

你安个360,打开“高级”-“网络连接状态”就可以了。

怎么样查看OSPF的接口优先级

具体是哪条命令了

是show ip ospf interface至于你没有看到priority,确实是因为接口类型为串行口。

接口优先级(priority)是路由器之间选择DR\\\/BDR的时候用的,谁的优先级大,就会优选。

默认情况下,串行口的ospf类型为点到点,这个情况下,是不需要选择DR和BDR的,所以不需要priority,并不是因为它是0。

例子:(注意括号内的部分【】)r1#show ip ospf interface ethernet 0\\\/1Ethernet0\\\/1 is up, line protocol is up Internet Address 192.168.123.1\\\/24, Area 0 Process ID 100, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 100 广播类型 Transmit Delay is 1 sec, 【State DROTHER, Priority 1】优先级在这里 Designated Router (ID) 3.3.3.3, Interface address 192.168.123.3 Backup Designated router (ID) 2.2.2.2, Interface address 192.168.123.2 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 oob-resync timeout 40 Hello due in 00:00:02 Supports Link-local Signaling (LLS) Index 1\\\/1, flood queue length 0 Next 0x0(0)\\\/0x0(0) Last flood scan length is 0, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 2, Adjacent neighbor count is 2 Adjacent with neighbor 2.2.2.2 (Backup Designated Router) Adjacent with neighbor 3.3.3.3 (Designated Router) Suppress hello for 0 neighbor(s)r1# ------------------------------------------------------------------------ ROUTER1#show ip ospf interface serial 1    Serial1 is up, line protocol is up      Internet Address 0.0.0.0\\\/24, Area 0      Process ID 20, Router ID 10.1.2.1, Network Type POINT_TO_POINT, Cost: 64     Transmit Delay is 1 sec, 【State POINT_TO_POINT,】点到点类型 没有优先级     Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5    Hello due in 00:00:02     Neighbor Count is 1, Adjacent neighbor count is 1     Adjacent with neighbor 10.1.1.2     Suppress hello for 0 neighbor(s)

华为交换机配置好以后,用什么命令查看以配置的信息。

华为交换、路由器常见命令路由器基本配置命令举例[Quidway]sysname router_name 命名路由器(或交换机)[Quidway]delete 删除Flash ROM中的配置[Quidway]save 将配置写入Flash ROM[Quidway]interface serial 0 进入接口配置模式[Quidway]quit 退出接口模式到系统视图[Quidway]shutdown\\\/undo shutdown 关闭\\\/重启接口[Quidway]ip address ip_address subnet_mask 为接口配置IP地址和子网掩码[Quidway]display version 显示VRP版本号[Quidway]display current-configuration 显示系统运行配置信息[Quidway]display interfaces 显示接口配置信息[Quidway]display ip routing 显示路由表[Quidway]ping ip_address 测试网络连通性[Quidway]tracert ip_address 测试数据包从主机到目的地所经过的网关[Quidway]debug all 打开所有调试信息[Quidway]undo debug all 关闭所有调试信息[Quidway]info-center enable 开启调试信息输出功能[Quidway]info-center console dubugging 将调试信息输出到PC[Quidway]info-center monitor dubugging 将调试信息输出到Telnet终端或哑终端换机配置命令举例(大括号{}中的选项为单选项,斜体字部分为参数值[Quidway]super password password 修改特权模式口令[Quidway]sysname switch_name 命名交换机(或路[Quidway]interface ethernet 0\\\/1 进入接口视图[Quidway]quit 退出系统视图[Quidway-Ethernet0\\\/1]duplex {half|full|auto} 配置接口双工工[Quidway-Ethernet0\\\/1]speed {10|100|auto} 配置接口速率[Quidway-Ethernet0\\\/1]flow-control 开启流控制[Quidway-Ethernet0\\\/1]mdi {across|normal|auto} 配置MDI\\\/MDIX[Quidway-Ethernet0\\\/1]shutdown\\\/undo shutdown 关闭\\\/重启端口VLAN基本配置命令(以Quidway S3026为例) [Quidway]vlan 3 创建并进入VLAN配置模式,缺省时系统将所有端口加入VLAN 1,这个端口既不能被创建也不能被删除。

[Quidway]undo vlan 3 删除一个VLAN[Quidway-vlan3]port ethernet 0\\\/1 to ethernet 0\\\/4 给VLAN增加\\\/删除以太网接口[Quidway-Ethernet0\\\/2]port access vlan 3 将本接口加入到指定VLAN id [Quidway-Ethernet0\\\/2]port link-type {access|trunk|hybrid} 设置端口工作方式,access(缺省)不支持802.1q帧的传送,而trunk支持(用于Switch间互连),hybrid和trunk的区别在于 trunk只允许缺省VLAN的报文发送时不打标签,而hybrid允许多个VLAN报文发送时不打标签。

端口聚合配置命令[Quidway]link-aggregation ethernet 0\\\/7 to ethernet 0\\\/10 {ingress|both} 配置端口聚合Port_num1为端口聚合组的起始端口号,Port_num2为终止端口号ingress为接口入负荷分担方式,both为接口出负荷分担方式。

STP基本配置命令[Quidway]stp {enable|disable} 开启\\\/关闭 STP 功能,默认关闭,开启后所有端口都参与STP 计算。

[Quidway-Ethernet0\\\/3]stp disable 关闭指定接口上的STP功能,如某些网络不存在环路可以关闭STP。

PPP配置命令[Quidway-Serial0]link-protocol ppp 封装PPP协议[Quidway-Serial0]ppp authentication-mode {pap|chap} 设置验证类型[Quidway]local-user username password {simple|cipher} password 配置用户列表- PAP验证配置:主验证方[Quidway]local-user username password {simple|cipher} password 配置用户列表[Quidway-Serial0]ppp authentication-mode pap被验证方[Quidway-Serial0]ppp pap local-user username password {simple|cipher} password- CHAP验证配置:主验证方[Quidway]local-user username password {simple|cipher} password 配置被验证方用户列表[Quidway-Serial0]ppp chap host hostname 配置本地名称[Quidway-Serial0]ppp authentication-mode chap被验证方[Quidway]local-user username password {simple|cipher} password 配置主验证方用户列表[Quidway-Serial0]ppp chap user username 配置本地名称MP配置命令[Quidway-Serial0]ppp mp 封装MP协议[Quidway]ppp mp user username bind virtual-template number 建立用户与虚拟模板的对应关系[Quidway]interface virtual-template number 配置虚拟接口模板[Quidway]ppp mp max-bind number 设置虚拟模板最大绑定数(1-100)帧中继配置命令[Quidway-Serial0]link-protocol fr {mfr|ietf|nonstandard} 封装帧中继协议:IETF、Cisco兼容[Quidway-Serial0]fr interface-type {dte|dce|nni} 配置帧中继接口类型,NNI为帧中继交换机之间的接口。

若配为DCE或NNI,则须先使能fr switching。

[Quidway-Serial0]fr lmi type {q933a|ansi|cisco-compatible} 配置LMI协议类型[Quidway-Serial0]fr dlci dlci_number 配置一条本地虚电路号[Quidway-Serial0]fr map {ip|ipx} protocol-address dlci dlci_number 建立本地DLCI到对端协议地址的映射[Quidway-Serial0]fr inarp [ip|ipx] [dlci_number] 配置Inverse ARP动态映射[Quidway]interface type number.subinterface_number 创建并进入子接口配置模式RIP协议配置命令[Quidway]display rip 显示RIP配置信息[Quidway]rip 启动并进入RIP配置模式[Quidway-rip]network {network_number|all} 在指定网络上使能RIP[Quidway-rip]peer ip_address 配置报文的定点传送[Quidway-Ethernet0]rip version {1|2 [bcast|mcast]} 指定RIP版本及传送方式[Quidway-Serial0]rip work 指定接口工作状态(同rip input,rip output)[Quidway-rip]auto-summary 配置RIP-2路由聚合[Quidway-Serial0]rip authentication simple password 配置RIP-2明文认证密码[Quidway-Serial0]rip authentication md5 key-string string 配置RIP-2 MD5密文认证密码串[Quidway-Serial0]rip authentication md5 type {nonstandard-compatible|usual} 指定MD5类型[Quidway]debugging rip packet 打开RIP调试开关[Quidway]info-center console 将调试信息输出到PC静态路由配置命令[Quidway]ip route ip_address subnet_mask {interface_name|gateway_address} [preference preference_value] [reject|black_bone][命令说明] reject:任何去往该目的地的报文均被丢弃,通知源主机不可达。

black_bone:任何去往该目的地的报文均被丢弃,不通知源主机。

当只有下一跳的接口是PPP或HDLC接口才能写interface_name,如Serial0,否则只能写gateway_address(下一跳地址)。

[命令举例] [Quidway]ip route 129.1.0.0 16 10.0.0.2[Quidway]ip route 129.1.0.0 255.255.0.0 10.0.0.2[Quidway]ip route 129.1.0.0 16 Serial2[Quidway]ip route 0.0.0.0 0.0.0.0 10.0.0.2 配置缺省路由。

OSPF配置命令[Quidway]router id ip_address 配置Router ID[Quidway]ospf enable 启用OSPF协议[Quidway-Serial0]ospf enable area area_id 配置当前接口所属的OSPF区域

linux使用什么命令查看端口 ?

netstat命令各个参数说明如下:-t : 指明显示TCP端口-u : 指明显示UDP端口-l : 仅显示监听套接字(所谓套接字就是使应用程序能够读写与收发通讯协议(protocol)与资料的程序)-p : 显示进程标识符和程序名称,每一个套接字\\\/端口都属于一个程序。

-n : 不进行DNS轮询,显示IP(可以加速操作)即可显示当前服务器上所有端口及进程服务,于grep结合可查看某个具体端口及服务情况··netstat -ntlp \\\/\\\/查看当前所有tcp端口·netstat -ntulp |grep 80 \\\/\\\/查看所有80端口使用情况·netstat -an | grep 3306 \\\/\\\/查看所有3306端口使用情况·

声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。联系xxxxxxxx.com

Copyright©2020 一句话经典语录 www.yiyyy.com 版权所有

友情链接

心理测试 图片大全 壁纸图片