‘壹’ 使用什么命令可以查看路由器的硬件(CPU.内存)和接口信息
cpu :sh proc cpu
接口:sh ip int b
内存:sh ver
‘贰’ 思科路由器的虚拟子接口配置本征vlan怎么配啊命令是什么
1、serial线对联,使用出口静态路由配置。
‘叁’ 华为路由器interface GigabitEthernet 0/0/1下配置了多个子接口,用什么命令能查看所有子接口的信息
display interface | inc 0/0/1.
display interface br | inc 0/0/1.
display cur | inc 0/0/1.
这几个都包含了。
‘肆’ 路由器里的常用命令
路由器常用的命令如下:
1、Router>(用户模式)、Router>enable (进入特权模式)、Router#(特权模式) 、Router#configure terminal(进入全局配置模式) 、Router(config)# (全局配置模式) 。
2、Router(config)#hostnameXXX (设置路由器主机名) 、Router(config)#enable password 123(设置特权非密口令) 、Router(config)#enable secret123 (设置特权加密口令) 。
3、Router(config)#interface f0/6 (进入端口配置模式 ) 、Router(config-if)# (端口配置模式) 、Router(config)#line consode 0 (进入控制台端口)。
4、Router(config)#line vty 0 4(进入虚拟终端配置模式) 、Router(config- line)# (虚拟终端配置模式) 、Router(config)#router rip (进入rip路由协议配置模式)。
5、Router(config-router) ( rip路由协议配置模式)、Router(config-router)network 159.105.0.0(设置参与RIP协议的网络地址,不支持可变长掩码,只有IP网络号)。
6、Router(config)#router ospf 63(进入ospf路由协议配置模式)、Router(config-router) # (ospf路由协议配置模式)。
7、Router#write memory(保存配置到路由器的NVRAM中) 、Router#write network tftp (保存配置到 TFTP服务器中)。
路由器原理:
路由器通过路由决定数据的转发。转发策略称为路由选择(routing),这也是路由器名称的由来(router,转发者)。
作为不同网络之间互相连接的枢纽,路由器系统构成了基于TCP/IP 的国际互联网络Internet的主体脉络,也可以说,路由器构成了Internet的骨架。它的处理速度是网络通信的主要瓶颈之一,它的可靠性则直接影响着网络互连的质量。
‘伍’ 7609路由器查子卡信息命令
router (config-if) #int f0/0.1;。
router (config -subif. 1) #ip address;设置子接口IP。
‘陆’ 思科路由器查看配置的命令是什么
思科路由器查看配置的命令是router#show run。
路由器显示命令:
router#show interface ;显示接口信息
router#show ip route ;显示路由信息
router#show cdp nei ;显示邻居信息
router#reload ;重新起动
路由器口令设置:
router>enable ;进入特权模式
router#config terminal ;进入全局配置模式
router(config)#hostname ;设置交换机的主机名
router(config)#enable secret xxx ;设置特权加密口令
router(config)#enable password xxb ;设置特权非密口令
router(config)#line console 0 ;进入控制台口
router(config-line)#line vty 0 4 ;进入虚拟终端
router(config-line)#login ;要求口令验证
router(config-line)#password xx ;设置登录口令xx
router(config)#(Ctrl+z) ; 返回特权模式
router#exit ;返回命令
(6)路由器查看子接口信息的命令扩展阅读:
路由器配置:
router(config)#int s0/0 ;进入Serail接口
router(config-if)#no shutdown ;激活当前接口
router(config-if)#clock rate 64000 ;设置同步时钟
router(config-if)#ip address ;设置IP地址
router(config-if)#ip address second ;设置第二个IP
router(config-if)#int f0/0.1 ;进入子接口
router(config-subif.1)#ip address ;设置子接口IP
router(config-subif.1)#encapsulation dot1q ;绑定vlan中继协议
router(config)#config-register 0x2142 ;跳过配置文件
router(config)#config-register 0x2102 ;正常使用配置文件
router#reload ;重新引导
参考资料来源:Cisco-思科路由器
‘柒’ 使用什么命令查看路由器各个接口的信息
路由器接口就是用来连接不同的网络的物理接口,路由器接口配置的查询命令每个厂商都是有区别的:
思科中兴设备用show interface all;
华为华三设备用display interface ;
‘捌’ 如何查看路由器端口命令
你可以在登陆设备后 进入特权模式。
执行show ip interface brief命令来查看端口状态。
或者show interface 端口类型 可以查看能详细的状态信息。
‘玖’ 技术人员可以通过什么命令来查看路由器行口配置的ip地址
你好,进入端口,display this,就可以查看该端口的ip。或者display cu interface。
‘拾’ 思科路由器子接口怎么设置
设置代码如下:
S1:
Switch>enable
Switch#vlandatabase
Switch(vlan)#vlan 30
Switch(vlan)#vlan 40
Switch# configure terminal
Switch(config)#int fastEthernet 0/1
Switch(config-if)#switchport access vlan 30
Switch(config-if)#int f0/2
Switch(config-if)#switchport access vlan 40
Switch(config-if)#int f 0/24
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk allowed vlan all
子接口的代码
RT1:
Router>enable
Router#configure terminal
Router(config)#int fastEthernet 0/0.1
Router(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip add 172.16.3.254 255.255.255.0
Router(config-subif)#int f 0/0.2
Router(config-subif)#encapsulation dot1Q 40
Router(config-subif)#ip add 172.16.4.254 255.255.255.0
Router(config-subif)#int f 0/0
Router(config-if)#no shutdown
(10)路由器查看子接口信息的命令扩展阅读:
思科路由器常见命令:
router>enable 进入特权模式
router#config terminal 进入全局配置模式
router(config)#hostname 设置交换机的主机名
router(config)#enable secret xxx 设置特权加密口令
router(config)#enable password xxb 设置特权非密口令
router(config)#line console 0 进入控制台口
router(config-line)#line vty 0 4 进入虚拟终端
router(config-line)#login 要求口令验证
router(config-line)#password xx 设置登录口令xx
router(config)#(Ctrl+z) 返回特权模式
router#exit 返回命令