为您找到与cisco三层交换机配置静态路由相关的共200个结果:
基本配置
witch>
Switch>enable 进入特权执行模式
Switch#
Switch#show running-config 列出运行配置清单
Switch#config terminal 进入配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#enable secret cisco1 设置enable密码
Switch(config)#hostname c2950 设置主机名
c2950(config)#interface VLAN 1 进入VLAN 1的配置模式
c2950(config-if)#ip address 192.168.1.2 255.255.255.0
c2950(config-if)#no shut 保存配置
c2950(config-if)exit 退出
配置端口速率及双工模式
可以配置快速以太口的速率为10/100Mbps及千兆以太口的速率为10/100/1000-Mbps; 但对于GBIC端口则不能配置速率及双工模式,有时可以配置nonegotiate,当需要联接不支持自适应的其它千兆端口时。
举例如下:
Switch# configure terminal
Switch(config)# interface fastethernet0/3
Switch(config-if)# speed 10
Switch(config-if)# duplex half
关闭和打开端口
举例如下:
Switch# configure terminal
Switch(config)# interface fastethernet0/5
Switch(config-if)# shutdown
Switch(config-if)#
*Sep 30 08:33:47: %LINK-5-CHANGED: Interface FastEthernet0/5, changed state to a
administratively down
Switch# configure terminal
Switch(config)# interface fastethernet0/5
Switch(config-if)# no shutdown
Switch(config-if)#
*Sep 30 08:36:00: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up
浏览量:2
下载量:0
时间:
cisco思科公司是全球领先的网络解决方案供应商,其出产的设备配置起来也跟别的不太一样,下面是Cisco路由器交换机防火墙配置命令详解,希望对你有所帮助。
路由器显示命令
router#show run ;显示配置信息
router#show inte***ce ;显示接口信息
router#show ip route ;显示路由信息
router#show cdp nei ;显示邻居信息
router#reload;重新起动#p#副标题#e#
路由器口令设置
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 ;返回命令
路由器配置
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 ;重新引导
路由器文件操作
router#copy running-config startup-config ;保存配置
router#copy running-config tftp ;保存配置到tftp
router#copy startup-config tftp ;开机配置存到tftp
router#copy tftp flash: ;下传文件到flash
router#copy tftp startup-config;下载配置文件
ROM状态
Ctrl+Break ;进入ROM监控状态
rommon>confreg 0x2142 ;跳过配置文件
rommon>confreg 0x2102 ;恢复配置文件
rommon>reset;重新引导
rommon>copy xmodem: flash: ;从console传输文件
rommon>IP_ADDRESS=10.65.1.2 ;设置路由器IP
rommon>IP_SUBNET_MASK=255.255.0.0 ;设置路由器掩码
rommon>TFTP_SERVER=10.65.1.1 ;指定TFTP服务器IP
rommon>TFTP_FILE=c2600.bin ;指定下载的文件
rommon>tftpdnld ;从tftp下载
rommon>dir flash: ;查看闪存内容
rommon>boot ;引导IOS
Cisco路由器交换机防火墙配置命令详解的相关
浏览量:2
下载量:0
时间:
思科cisco公司已成为公认的全世界网络互联解决方案的领先厂商,该公司出产的一系列路由器更是引领世界,那么你知道Cisco怎么配置静态路由吗?下面是读文网小编整理的一些关于Cisco怎么配置静态路由的相关资料,供你参考。
我们的目的是,要PC0 ping通 PC1,基本思路是设定好所有设备的IP地址,然后再在路由器上配置静态路由。记得路由与路由之间设置时钟频率(两台路由器之间只设置一个时钟频率)
拓扑编址
PC0:192.168.1.1 gw:192.168.1.2 PC1:192.168.4.1 gw:192.168.4.2第一步:设置好PC机的IP地址。
第二步:配置三台路由器:
Router0:
Router 0 >en
Router 0 #conf t
Router 0 (config)#int f0/0
Router 0 (config-if)#ip address 192.168.1.2 255.255.255.0
Router 0 (config-if)#no shut
Router 0 (config-if)#int s0/0/0
Router 0 (config-if)#ip address 192.168.2.1 255.255.255.0
Router 0 (config-if)#clock rate 64000设置时钟频率
Router 0 (config-if)#no shut
Router 0 (config-if)#exit
Router 0 (config)#
Router1:
Router>en
Router#conf t
Router(config)#hostname Router1把路由器的名字设置为Router1
Router1(config)#int s0/0/0
Router1(config-if)#ip address 192.168.2.2 255.255.255.0
Router1(config-if)#no shut
Router1(config-if)#int s0/0/1
Router1(config-if)#ip address 192.168.3.1 255.255.255.0
Router1(config-if)#clock rate 64000
Router1(config-if)#no shut
Router1(config-if)#exit
Router1(config)#
Router2:
Router2>en
Router2#conf t
Router2(config)#int s0/0/1
Router2(config-if)#ip address 192.168.3.2 255.255.255.0
Router2(config-if)#no shut
Router2(config-if)#int f0/0
Router2(config-if)#ip address 192.168.4.2 255.255.255.0
Router2(config-if)#no shut
Router2(config-if)#exit
Router2(config)#
第三步:配置静态路由:
接下来就要用到我们上面的命令了:
ip router <目的网段> <目的网段掩码><下一跳>
Router0的设置:
Router0(config)#ip route 192.168.4.0 255.255.255.0 192.168.2.2
目的网段目的网段掩码下一跳(下一个路由器的入口)
Router1的设置:
Router1(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1
Router1(config)#ip route 192.168.4.0 255.255.255.0 192.168.3.2
注意这里是属于中心路由器,所以要设置两条静态路由,分别指向两边的网段。
Router2的设置:
Router2(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.1
现在把三台路由器的静态路由都设置好了,就应该是通了的。
现在从PC0 ping PC1 通了,那么从PC1 ping PC0 呢?
也通了,现在就达到了我们的目的。
看过文章“Cisco怎么配置静态路由”
浏览量:2
下载量:0
时间:
cisco制造的路由器设备、交换机和其他设备承载了全世界80%的互联网通信,成为硅谷中新经济的传奇,那么你了解Cisco常用的路由器交换机配置命令吗?下面是读文网小编整理的一些关于Cisco常用的路由器交换机配置命令的相关资料,供你参考。
交换机基本状态:
switch: ;ROM状态, 路由器是rommon>
hostname> ;用户模式
hostname# ;特权模式
hostname(config)# ;全局配置模式
hostname(config-if)# ;接口状态
交换机口令设置:
switch>enable ;进入特权模式
switch#config terminal ;进入全局配置模式
switch(config)#hostname ;设置交换机的主机名
switch(config)#enable secret xxx ;设置特权加密口令
switch(config)#enable password xxa ;设置特权非密口令
switch(config)#line console 0 ;进入控制台口
switch(config-line)#line vty 0 4 ;进入虚拟终端
switch(config-line)#login ;允许登录
switch(config-line)#password xx ;设置登录口令xx
switch#exit ;返回命令
交换机VLAN设置:
switch#vlan database ;进入VLAN设置
switch(vlan)#vlan 2 ;建VLAN 2
switch(vlan)#no vlan 2 ;删vlan 2
switch(config)#int f0/1 ;进入端口1
switch(config-if)#switchport access vlan 2 ;当前端口加入vlan 2
switch(config-if)#switchport mode trunk ;设置为干线
switch(config-if)#switchport trunk allowed vlan 1,2 ;设置允许的vlan
switch(config-if)#switchport trunk encap dot1q ;设置vlan 中继
switch(config)#vtp domain ;设置发vtp域名
switch(config)#vtp password ;设置发vtp密码
switch(config)#vtp mode server ;设置发vtp模式
switch(config)#vtp mode client ;设置发vtp模式
交换机设置IP地址:
switch(config)#interface vlan 1 ;进入vlan 1
switch(config-if)#ip address ;设置IP地址
switch(config)#ip default-gateway ;设置默认网关
switch#dir flash: ;查看闪存
交换机显示命令:
switch#write ;保存配置信息
switch#show vtp ;查看vtp配置信息
switch#show run ;查看当前配置信息
switch#show vlan ;查看vlan配置信息
switch#show interface ;查看端口信息
switch#show int f0/0 ;查看指定端口信息
看过文章“Cisco常用的路由器交换机配置命令”
浏览量:2
下载量:0
时间:
思科cisco生产的路由器、交换机设备和其他设备承载了全世界80%的互联网通信,成为硅谷中新经济的传奇,那么你知道cisco静态路由的应用怎么配置吗?下面是读文网小编整理的一些关于cisco静态路由的应用怎么配置的相关资料,供你参考。
静态路由的应用
Switch 0 的配置:
Switch>en
Switch>enable
Switch#conf
Switch#configure
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int
Switch(config)#interface f0/1
Switch(config-if)#no swi
Switch(config-if)#no switchport
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upSwitch(config-if)#
Switch(config-if)#ip add
Switch(config-if)#ip address 1.1.1.1 255.0.0.0
Switch(config-if)#no shut
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#int
Switch(config)#interface f
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#ip add
Switch(config-if)#no sw
Switch(config-if)#no switchport
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to upSwitch(config-if)#
Switch(config-if)#ip addre
Switch(config-if)#ip address 2.2.2.1 255.0.0.0
Switch(config-if)#no shut
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#ip route 4.0.0.0 255.0.0.0 f
Switch(config)#ip route 4.0.0.0 255.0.0.0 f?
FastEthernet
Switch(config)#ip route 4.0.0.0 255.0.0.0 fa
Switch(config)#ip route 4.0.0.0 255.0.0.0 fastEthernet 0/2
Switch(config)#no shut
Switch(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Switch#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
C 1.0.0.0/8 is directly connected, FastEthernet0/1
C 2.0.0.0/8 is directly connected, FastEthernet0/2
S 4.0.0.0/8 is directly connected, FastEthernet0/2
Switch#
Switch#show ?
access-lists List access lists
adjacency Adjacent nodes
arp Arp table
cdp CDP information
clock Display the system clock
controllers Interface controllers status
crypto Encryption module
debugging State of each debugging option
dhcp Dynamic Host Configuration Protocol status
etherchannel EtherChannel information
flash: display information about flash: file system
frame-relay Frame-Relay information
history Display the session command history
hosts IP domain-name, lookup style, nameservers, and host table
interfaces Interface status and configuration
ip IP information
ipv6 IPv6 information
mac-address-table MAC forwarding table
ospf For OSPF debug only
ospfv3 For OSPFv3 debug only
processes Active process statistics
protocols Active network routing protocols
running-config Current operating configuration
sessions Information about Telnet connections
spanning-tree Spanning tree topology
ssh Status of SSH server connections
startup-config Contents of startup configuration
tcp Status of TCP connections
terminal Display terminal configuration parameters
users Display information about terminal lines
version System hardware and software status
vlan VTP VLAN status
vtp Configure VLAN database
Switch#show ip ?
access-lists List access lists
arp IP ARP table
cef Cisco Express Forwarding
dhcp Show items in the DHCP database
eigrp IP-EIGRP show commands
interface IP interface status and configuration
nat IP NAT information
ospf OSPF information
protocols IP routing protocol process parameters and statistics
rip IP RIP show commands
route IP routing table
ssh Information on SSH
Switch#show ip int
Switch#show ip interface ?
Ethernet IEEE 802.3
FastEthernet FastEthernet IEEE 802.3
GigabitEthernet GigabitEthernet IEEE 802.3z
Loopback Loopback interface
Serial Serial
Vlan Catalyst Vlans
brief Brief summary of IP status and configuration
Switch#show ip interface f
Switch#show ip interface fastEthernet 0/1
FastEthernet0/1 is up, line protocol is up
Internet protocol processing disabled
Switch#show ip interface fastEthernet 0/2
FastEthernet0/2 is up, line protocol is up
Internet protocol processing disabled
Switch#show ru
Switch#show running-config
Building configuration...
Current configurat
!
hostname Switch ion : 1168 bytes
!
version 12.2
no service password-encryption
!
!
!
!
!
ip ssh version 1
!
port-channel load-balance src-mac
!
interface FastEthernet0/1
no switchport
ip address 1.1.1.1 255.0.0.0
duplex auto
speed auto
!
interface FastEthernet0/2
no switchport
ip address 2.2.2.1 255.0.0.0
duplex auto
speed auto
!#p#副标题#e#
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 4.0.0.0 255.0.0.0 FastEthernet0/2
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end
Switch#
Switch 1的配置:
Switch>
Switch>en
Switch>enable
Switch#conf
Switch#configure
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int
Switch(config)#interface f
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#no sw
Switch(config-if)#no switchport
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upSwitch(config-if)#ip add
Switch(config-if)#ip address 2.2.2.2 255.0.0.0
Switch(config-if)#no shut
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#int
Switch(config)#interface f
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#ip add
Switch(config-if)#no sw
Switch(config-if)#no switchport
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to upSwitch(config-if)#
Switch(config-if)#ip ad
Switch(config-if)#ip address 3.3.3.1 255.0.0.0
Switch(config-if)#noshut
Switch(config-if)#noshut
^
% Invalid input detected at '^' marker.
Switch(config-if)#no shut
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#ip rout
Switch(config)#ip route
Switch(config)#ip route 1.0.0.0 255.0.0.0 f
Switch(config)#ip route 1.0.0.0 255.0.0.0 fastEthernet 0/1
Switch(config)#ip route 4.0.0.0 255.0.0.0 fastEthernet 0/2
Switch(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Switch#ping 1.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 47/59/63 ms
Switch#ping 4.4.4.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 47/59/63 ms
Switch#ping 2.2.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms
Switch#ping 3.3.3.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 15/28/32 ms
Switch#show ip rou
Switch#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
S 1.0.0.0/8 is directly connected, FastEthernet0/1
C 2.0.0.0/8 is directly connected, FastEthernet0/1
C 3.0.0.0/8 is directly connected, FastEthernet0/2
S 4.0.0.0/8 is directly connected, FastEthernet0/2
Switch#
Switch 2 的配置:
Switch>en
Switch>enable
Switch#conf
Switch#configure
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int
Switch(config)#interface f
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#no sw
Switch(config-if)#no switchport
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to upSwitch(config-if)#
Switch(config-if)#ip add
Switch(config-if)#ip address 3.3.3.2 255.0.0.0
Switch(config-if)#no shut
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#int
Switch(config)#interface f
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#ip add
Switch(config-if)#no sw
Switch(config-if)#no switchport
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upSwitch(config-if)#
Switch(config-if)#ip add
Switch(config-if)#ip address 4.4.4.1 255.0.0.0
Switch(config-if)#no shut
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#ip route 1.0.0.0 255.0.0.0 f
Switch(config)#ip route 1.0.0.0 255.0.0.0 fastEthernet 0/2
Switch(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Switch#ping 4.4.4.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms
Switch#ping 3.3.3.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms
Switch#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
S 1.0.0.0/8 is directly connected, FastEthernet0/2
C 3.0.0.0/8 is directly connected, FastEthernet0/2
C 4.0.0.0/8 is directly connected, FastEthernet0/1
看过文章“cisco静态路由的应用怎么配置”
浏览量:2
下载量:0
时间:
cisco思科是全球领先的大品牌,相信很多人也不陌生,那么你知道cisco交换机上配置SSH吗?下面是读文网小编整理的一些关于cisco交换机上配置SSH的相关资料,供你参考。
在Cisco路由器产品系列中只有7200系列、7500系列和12000系列(GSR)等高端产品的IOS支持SSH.一般支持SSH的IOS版本文件名中都带有K3或者K4字样,K3 代表56bit SSH 加密,K4代表168bit SSH加密。如我省省网GSR 12016和12008上用的IOS 就是一个支持56bit SSH 加密的版本。
目前Cisco的产品只支持SSH-1,还不支持SSH-2.下面以GSR 12008为例详细介绍SSH-1的配置方法(斜体字为配置输入的命令):
① 配置hostname和ip domain-name:
Router#configure terminalRouter(config)#hostname TEST-GSR12008TEST-GSR12008(config)#ip domain-name jx.cn.net |
② 配置登录用户名和密码(以本地认证为例):
TEST-GSR12008(config)#username test password 0 test 注:添加一个用户:test,口令:testTEST-GSR12008(config)#line vty 0 4 TEST-GSR12008(config-line)#login local |
在这两部分做完以后,用show run命令就能够看到:
hostname TEST-GSR12008!boot system flash gsr-k3p-mz.120-14.S.binenable secret 5 $1$DMyW$gdSIOkCr7p8ytwcRwtnJG.enable password 7 094F47C31A0A!username test password 7 0835495D1Dclock timezone PRC 16redundancymain-cpuauto-sync startup-config!!!!ip subnet-zerono ip fingerip domain-name jx.cn.netip name-server 202.101.224.68ip name-server 202.101.226.68 ! |
③ 配置SSH服务:
TEST-GSR12008(config)#crypto key generate rsaThe name for the keys will be: TEST-GSR12008.jx.cn.net注:SSH的关键字名就是hostname + . +ip domain-nameChoose the size of the key modulus in the range of 360 to 2048 for yourGeneral Purpose Keys. Choosing a key modulus greater than 512 may takea few minutes.How many bits in the modulus [512]: 注:选择加密位数,用默认就行了Generating RSA keys ...[OK]TEST-GSR12008(config)#endTEST-GSR12008#writeBuilding configuration... |
这时候用show run命令可以看到:
ip subnet-zerono ip fingerip domain-name jx.cn.netip name-server 202.101.224.68ip name-server 202.101.226.68ip ssh time-out 120ip ssh authentication-retries 3 ! |
用命令show ip ssh也能看到:
SSH Enabled - version 1.5 Authentication timeout: 120 secs; Authentication retries: 3 |
现在SSH服务已经启动,如果需要停止SSH服务,用以下命令:
TEST-GSR12008(config)#crypto key zeroize rsa |
④设置SSH参数
配置好了SSH之后,通过show run命令我们看到SSH默认的参数:超时限定为120秒,认证重试次数为3次,可以通过下面命令进行修改:
TEST-GSR12008(config)#ip ssh {[time-out seconds]} | [authentication-retries interger]} |
如果要把超时限定改为180秒,则应该用:
TEST-GSR12008(config)# ip ssh time-out 180 |
如果要把重试次数改成5次,则应该用:
TEST-GSR12008(config)# ip ssh authentication-retries 5 |
这样,SSH已经在路由器上配置成功了,就能够通过SSH进行安全登录了
看过文章“cisco交换机上配置SSH”
浏览量:2
下载量:0
时间:
普联路由器是国内一流的网络连接设备,在这个网络时代里,路由器已经是使用最广的一种网络互联设备,是数据通信的重要互联设备,那么你知道普联路由器怎么配置静态路由功能吗?下面是读文网小编整理的一些关于普联路由器配置静态路由功能的相关资料,供你参考。
在一个公司网络中,不仅可以通过无线路由器B连接外网,还可以通过无线路由器A来连接公司内网服务器。在不修改本地连接的IP地址及网关情况下,公司电脑需要能够同时访问外网和内网服务器。配置实例如下图:
PC默认将不与自己在同一网段的数据发送给网关192.168.1.1,即无线路由器B。路由器B接收到数据后,检查数据包的目的地址。如果发现目的IP为10.70.1.0的数据包,则路由器会发送一个ICMP重定向数据包给PC,告知PC后续发往10.70.1.0网段的数据包,都发送给192.168.1.2,即路由器A即可。这样PC就可以直接访问公司内网服务器了。在我司TL-WR541G+无线路由器中的详细配置过程如下:
步骤1:
使用路由器管理地址登陆路由器B管理界面,点击“路由功能”菜单,选择“静态路由表”,如下图:
步骤2:
点击“添加新条目”按钮,在静态路由表中填写相应的参数。
步骤3:
点击“保存”按钮后,在静态路由表中可以查看已有配置。
步骤4:
在PC上访问内网服务器,检测静态路由条目是否生效。如果能访问,则说明静态路由配置成功。
看过文章“普联路由器怎么配置静态路由功能”
浏览量:0
下载量:0
时间:
普联技术有限公司是全球领先的网络通讯设备供应商,其出产的mr系列路由器性价比极高,在网络互联设备中,路由器是使用最广的一种网络互联设备,是数据通信的重要互联设备。那么你知道tl-mr11u路由器怎么配置静态ip吗?下面是读文网小编整理的一些关于tl-mr11u路由器配置静态ip的相关资料,供你参考。
1、设置操作电脑网络参数
请将操作电脑的无线网卡设置为自动获取IP地址。
2、无线连接Mini路由器
电脑搜索到Mini路由器的无线信号(TP-LINK_XXXXXX)并连接。
1、输入管理地址
打开电脑桌面上的IE浏览器,清空地址栏并输入192.168.1.1(管理地址),回车后页面会弹出登录框。
2、登录管理界面
在登录密码框中,输入路由器默认的管理密码:admin,点击 登录,进入管理界面。
1、开始设置向导
进入路由器的管理界面后,点击 设置向导,点击 下一步。
2、选择工作模式
工作模式选择 无线路由模式,点击 下一步。
3、选择上网方式
上网方式选择 静态IP,点击 下一步。
4、填写IP地址等参数
填写运营商指定的IP地址、子网掩码、网关以及DNS服务器地址。点击 下一步:
5、设置无线参数
修改 SSID (即无线网络名称),在 PSK密码 中设置无线密码,点 下一步。
6、设置完成,重启路由
点击 完成。弹出对话框提示重启,点击 确定。
看过文章“tl-mr11u路由器怎么配置静态ip”
浏览量:0
下载量:0
时间:
普联技术有限公司是全球领先的网络通讯设备供应商,其出产的mr系列路由器性价比极高,在网络互联设备中,路由器是使用最广的一种网络互联设备,是数据通信的重要互联设备。那么你知道tl-mr11u路由器配置静态ip不能上网怎么办吗?下面是读文网小编整理的一些关于tl-mr11u路由器配置静态ip不能上网的相关资料,供你参考。
Mini路由器Router模式下的静态IP上网已经设置完成,但是无法上网。该问题可能和线路连接、电脑网卡设置、路由器防火墙设置等原因相关,本文提供该问题的详细排查思路。
宽带线路(网线或Modem出来的线路)需连接在Mini路由器的网线接口(部分路由器为LAN/WAN接口),如下图:
电脑需要设置为自动获取IP地址。
如果电脑已经是自动获取IP地址,但获取到的IP地址为169.254.x.x,请把电脑对应的 本地连接 或 无线连接 禁用后再启用。
运营商绑定IP地址和MAC地址,需要将该MAC地址克隆到路由器WAN口。
克隆方法:查看之前单独连接宽带上网的电脑有线网卡的MAC地址。
点击 网络参数 >> MAC地址克隆,在MAC地址一栏中填写您查看到的MAC地址,点击 保存 并 重启路由器。如下图所示:
观察路由器重启后,终端是否可以正常上网。
路由器的 上网控制 功能可以限制内网电脑的上网权限,请根据实际需求设置该功能,非必要情况下,可不启用该功能。设置方法如下:
1、关闭家长控制
登录路由器管理界面,点击 家长控制 设置页面,选择 不启用 并 保存。如下图所示:
2、关闭上网控制
在 安全设置 >> 上网控制 中,确认不勾选 开启上网控制,点击 保存。如下图所示:
完成上述操作,可尝试打开网页测试上网。
请检查浏览器设置,检查方法如下:
禁用拨号连接:打开IE浏览器,点击 工具 >> Internet选项,选择 连接 >> 从不进行拨号连接。
禁用网络代理:点击 工具 >> Internet选项,选择 连接 >> 局域网设置,确保三个选项均未勾选,并点击 确定。回到上一个Internet选项对话框,点击 确定。
设置完毕,尝试打开浏览器上网。
注意:可以使用登录QQ等方式测试上网。
更换浏览器(使用火狐/Firefox、谷歌/Chrome或其他浏览器)后再尝试,如果仍然不能上网,尝试更换电脑测试。如果其他终端上网正常,则有可能是个别终端故障,可联系终端厂商检查,如果所有终端都上不了网,请继续一下步排查。
入户网线由于老化、质量太差或线路太长,引起线路衰减过大,导致无法上网。尝试更换网线,重启Mini路由器后进行测试。
如无法上网,请尝试电脑单机连接宽带,配置IP地址后测试宽带线路。如果单机上网正常,则可能是路由器的设置问题或者宽带线路故障,可尝试将路由器恢复为出厂设置后重新设置。如果无法上网,请联系运营商检查线路。
看过文章“tl-mr11u路由器配置静态ip不能上网怎么办”
浏览量:0
下载量:0
时间:
路由器的可靠性和安全性直接关系到网络的性能和数据信息的安全,选一款好的路由器很重要,tp路由器是国内优秀的互联网连接设备,那么你知道tp迷你路由器820n怎么配置静态ip上网吗?下面是读文网小编整理的一些关于tp迷你路由器820n配置静态ip上网的相关资料,供你参考。
Mini路由器工作在Router模式下,可以连接宽带共享上网,当作一台轻便的无线路由器使用,为手机、平板电脑、笔记本等无线终端提供无线网络。
1、拨动模式开关
将TL-WR820N的模式开关拔动到 ROUTER模式,如下图:
2、线路连接
给路由器供电,请根据您的入户宽带类型(电话线、光纤、网线),参考下图进行线路连接:
1、设置操作电脑网络参数
请将操作电脑的无线网卡设置为自动获取IP地址。
2、无线连接Mini路由器
电脑搜索到Mini路由器的无线信号(TP-LINK_XXXXXX)并连接。
1、输入管理地址
打开电脑桌面上的IE浏览器,清空地址栏并输入 tplogin.cn(管理地址),回车后页面会弹出登录框。
2、登录管理界面
在 设置密码 框中设置管理员密码,并在 确认密码 中再次输入,点击 确认。
1、开始设置向导
进入路由器的管理界面后,点击 设置向导,点击 下一步。
2、选择上网方式
上网方式选择 静态IP,点击 下一步。
3、填写IP地址等参数
填写运营商指定的IP地址、子网掩码、网关以及DNS服务器地址。点击 下一步:
4、设置无线参数
修改 SSID(即无线网络名称),在 PSK密码 中设置无线密码,点击 下一步。
5、设置完成,重启路由
点击 重启,弹出对话框提示重启,点击 确定。
至此,Mini路由器的Router模式设置完成。
手机、笔记本、Pad等无线终端,搜索到无线信号(本例为zhangsan),输入无线密码,连接成功后即可直接上网。
看过文章“tp迷你路由器820n怎么配置静态ip上网”
浏览量:0
下载量:0
时间:
随着国际互联网在全球通信中取得的巨大成功,互联网络成为了人们获取资讯的主要平台,路由器是连接互联网的重要设备,tp路由器是国内常用的连网设备,那么你知道tp迷你路由器820n配置静态ip不能上网怎么办吗?下面是读文网小编整理的一些关于tp迷你路由器820n配置静态ip不能上网的相关资料,供你参考。
Mini路由器Router模式下的静态IP上网已经设置完成,但是无法上网。该问题可能和线路连接、电脑网卡设置、路由器防火墙设置等原因相关,本文提供该问题的详细排查思路。
宽带线路(网线或Modem出来的线路)需连接在Mini路由器的网线接口(部分路由器为LAN/WAN接口),如下图:
电脑需要设置为自动获取IP地址。
如果电脑已经是自动获取IP地址,但获取到的IP地址为169.254.x.x,请把电脑对应的 本地连接 或 无线连接 禁用后再启用。
运营商绑定IP地址和MAC地址,需要将该MAC地址克隆到路由器WAN口。
克隆方法:查看之前单独连接宽带上网的电脑有线网卡的MAC地址。
点击 网络参数 >> MAC地址克隆,在MAC地址一栏中填写您查看到的MAC地址,点击 保存 并 重启路由器。如下图所示:
观察路由器重启后,终端是否可以正常上网。
路由器的 上网控制 功能可以限制内网电脑的上网权限,请根据实际需求设置该功能,非必要情况下,可不启用该功能。设置方法如下:
1、关闭家长控制
登录路由器管理界面,点击 家长控制 设置页面,选择 不启用 并 保存。如下图所示:
2、关闭上网控制
在 安全设置 >> 上网控制 中,确认不勾选 开启上网控制,点击 保存。如下图所示:
完成上述操作,可尝试打开网页测试上网。
请检查浏览器设置,检查方法如下:
禁用拨号连接:打开IE浏览器,点击 工具 >> Internet选项,选择 连接 >> 从不进行拨号连接。
禁用网络代理:点击 工具 >> Internet选项,选择 连接 >> 局域网设置,确保三个选项均未勾选,并点击 确定。回到上一个Internet选项对话框,点击 确定。
设置完毕,尝试打开浏览器上网。
注意:可以使用登录QQ等方式测试上网。
更换浏览器(使用火狐/Firefox、谷歌/Chrome或其他浏览器)后再尝试,如果仍然不能上网,尝试更换电脑测试。如果其他终端上网正常,则有可能是个别终端故障,可联系终端厂商检查,如果所有终端都上不了网,请继续一下步排查。
入户网线由于老化、质量太差或线路太长,引起线路衰减过大,导致无法上网。尝试更换网线,重启Mini路由器后进行测试。
如无法上网,请尝试电脑单机连接宽带,配置IP地址后测试宽带线路。如果单机上网正常,则可能是路由器的设置问题或者宽带线路故障,可尝试将路由器恢复为出厂设置后重新设置。如果无法上网,请联系运营商检查线路。
看过文章“tp迷你路由器820n配置静态ip不能上网怎么办”
浏览量:0
下载量:0
时间:
在短短的几十年里,网络信息技术高速发展,网络已经成为人们生活中、工作中必不可少的工具。路由器做为连接各个用户的结点,在网络中承担着网络的组建和数据包转发的重任。那么你知道tenda无线路由器怎么配置静态ip上网吗?下面是读文网小编整理的一些关于tenda无线路由器配置静态ip上网的相关资料,供你参考。
(有光猫)把光猫分出来一根网线接路由器的WAN口 (蓝色标识),再找一根短网线,一头接电脑,一头接路由器1/2/3任意接口(黄色),接线方式如下图:
注意:通电后,路由器正常工作状态是SYS指示灯闪烁,WAN指示灯常亮或闪烁,与电脑相连的1/2/3端口指示灯常亮或闪烁。如接线后对应1/2/3端口的指示灯不亮或电脑的网卡图标显示红色的叉,则表明
线路连接有问题,尝试检查下网线连接或换根网线试试。
将电脑上的本地连接IP地址设置为“自动获得IP地址”
1、点击桌面右下角的网络图标,打开“网络和共享中心”
2、点击“更改适配器设置”
3、右键点击“本地连接”选择“属性”
4、双击“Internet协议版本 4(TCP/IP)”
5、选择“自动获得IP地址”,“自动获得DNS服务器地址”,点击“确定”-“确定”。
1、打开浏览器,在浏览器地址栏中输入:192.168.0.1 按回车键登录设置界面。
2、在设置页面选择 “静态IP”,输入宽带运营商提供上网的固定IP地址、子网掩码、网关和首选DNS服务器,点击“确定”。
3. 点击“系统管理”,选择 “克隆本机MAC”,点击“确定”:
设置完成后,如联网状态显示“已联网”,就可以浏览网页,上网冲浪了。
看过文章"tenda无线路由器怎么配置静态ip上网”
浏览量:5
下载量:0
时间:
路由器WAN口静态IP上网已经设置完成,但是无法上网。该问题可能和线路连接、电脑网卡设置、路由器防火墙设置以及服务商限制等原因相关。那么你知道水星路由器mw309配置静态ip不能上网怎么办吗?下面是读文网小编整理的一些关于水星路由器mw309配置静态ip不能上网的相关资料,供你参考。
宽带线路(入户网线或从Modem出来的网线)需连接在路由器的WAN口,有线电脑需连接在LAN口,如下图:
如果线路连接正确,但WAN口指示灯不亮,则检查WAN口接线是否存在接触不良等情况,请尝试更换连接WAN口的网线。
电脑需要设置为自动获取IP地址,如果电脑已经是自动获取IP地址,如果获取到的参数不正确,请把电脑对应的 本地连接 或 无线连接 禁用后启用。
注意:如果路由器DHCP服务器是处于关闭状态,需要在电脑手动配置IP地址,请填写正确的网关(路由器的管理IP)、DNS服务器地址(在路由管理界面点击 运行状态 >> WAN口状态 中可查看到DNS地址)。
将之前单独连接宽带上网的电脑连接到路由器LAN口(此处一定要通过有线连接),登录路由器的管理界面。
点击 网络参数 >> MAC地址克隆,点击 克隆MAC地址。当MAC地址 和 当前管理PC的MAC地址 相同后,点击保存 并 重启路由器。如下图所示:
路由器的 家长控制、上网控制(部分路由器为防火墙设置)功能可以限制内网电脑上网权限,请根据实际需求设置该功能,非必要情况下,可不启用该功能。设置方法如下:
1、关闭家长控制
登录路由器管理界面,点击 家长控制 设置页面,选择 不启用 并 保存。如下图所示:
2、关闭上网控制
在 安全设置 >> 上网控制 中,确认不勾选 开启上网控制,点击 保存。如下图所示:
完成上述操作,可尝试打开网页测试上网。
请检查浏览器设置,检查方法如下:
禁用拨号连接:打开IE浏览器,点击 工具 >> Internet选项 >> 连接,选择 从不进行拨号连接。
禁用网络代理:点击 工具 >> Internet选项,选择 连接 >> 局域网设置,确保三个选项均未勾选,并点击 确定。回到上一个Internet选项对话框,点击 确定。
设置完成后,重新尝试打开网页看能否上网。
如果修正浏览器设置后,仍然无法上网,建议更换浏览器(使用火狐/Firefox、谷歌/Chrome或其他浏览器)后再尝试,如果仍然不能上网,尝试更换电脑做对比测试。
水星路由器配置静态ip不能上网的相关
浏览量:5
下载量:0
时间:
无线路由器可以实现宽带共享功能,为局域网内的电脑、手机、笔记本等终端提供有线、无线接入网络。那么你知道水星mw305r+路由器怎么配置静态ip上网吗?下面是读文网小编整理的一些关于水星mw305r+路由器配置静态ip上网的相关资料,供你参考。
没有使用路由器时,电脑直接连接宽带上网,现在使用路由器共用宽带上网,则需要用路由器来直接连接宽带。根据入户宽带线路的不同,可以分为网线、电话线、光纤三种接入方式。具体如何连接请参考下列动态图:
注意:宽带线一定连接到路由器WAN口(部分路由器WAN口的颜色与LAN口不同),电脑连接1234任意一个端口。
1、输入路由器管理地址
打开电脑桌面上的IE浏览器,清空地址栏并输入路由器管理IP地址(192.168.1.1),回车后弹出登录框。
注意:部分路由器使用melogin.cn登录,路由器的具体管理地址建议在壳体背面的标贴上查看。
2、登录管理界面
部分路由器需要输入管理用户名、密码,均输入admin即可。
初次进入路由器管理界面,为了保障您的设备安全,需要设置管理路由器的密码,请根据界面提示进行设置。如下图:
1、开始设置向导
进入路由器的管理界面后,点击 设置向导,点击 下一步。
2、选择上网方式
上网方式选择 静态IP,点击 下一步。
3、填写IP地址等参数
填写宽带服务商提供的IP地址、子网掩码、网关以及DNS服务器地址,点击 下一步。
注意:上述参数仅供参考,以实际应用为准。
4、设置无线参数
建议修改 SSID (即无线网络名称),选择 WPA-PSK/WPA2-PSK 的加密方式,在 PSK密码 的位置设置无线密码,点击 下一步。
5、设置完成
点击 完成,设置向导完成。
注意:部分路由器显示的是重启,点击重启,路由器会自动重启。
设置完成后,进入路由器管理界面,点击 运行状态,查看 WAN口状态,参数显示正常,则表示设置成功。
到此,网络连接成功,路由器已经设置完成。电脑连接路由器后无需进行宽带连接拨号,直接可以打开网页上网。
如果您还有其他电脑需要上网,用网线直接将电脑连接在1234接口即可尝试上网,不需要再配置路由器。如果是笔记本、手机等无线终端,无线连接(参考 无线连接)到路由器直接上网即可。
浏览量:2
下载量:0
时间:
路由器可以为局域网内的电脑、手机、笔记本等终端提供有线、无线接入网络。那么你知道路由器tplink845怎么配置静态ip上网吗?下面是读文网小编整理的一些关于路由器tplink845配置静态ip上网的相关资料,供你参考。
1、开始设置向导
进入路由器的管理界面后,点击 设置向导,点击 下一步。
2、选择上网方式
上网方式选择 静态IP,点击 下一步。
3、填写IP地址等参数
填写运营商指定的IP地址、子网掩码、网关以及DNS服务器地址。点击 下一步:
4、设置无线参数
SSID即无线网络名称(可根据实际需求设置),勾选 WPA-PSK/WPA2-PSK 并设置PSK无线密码,点击 下一步。
5、设置完成,重启路由
点击 重启,弹出对话框点击 确定。
重启完成后,进入路由器管理界面,点击 运行状态,查看 WAN口状态,如下图,则表示设置完成。
至此,路由器已经设置完成,操作电脑可以尝试上网。
路由器tplink845配置静态ip上网的相关
浏览量:0
下载量:0
时间: