思科路由器设置ip_cisco路由器如何登陆设置页面

思科路由器 如何设置路由器默认路由和网关可以从192.168. 1.1这个网站去操作设置一下路由器和相关的官网 。我平时都是从这个网站去操作设置的 。
思科路由器设置ip是什么?思科路由进入接口号设置ip 。
方法如下:

    cisco#conf t 进入全局模式;
    cisco(conf)#int s1/0 进入端口号为S1/0;
    cisco(conf-if)#ip address 192.168.1.1 255.255.255.0 设置IP地址为192.168.1.1 子网掩码为255.255.255.0;
    cisco(conf-if)#clock rate 9600 配置时钟为9600;
    cisco(conf-if)#no shutdown 激活端口号;
    IP地址设置完成 。

思科路由器每个端口设置的IP有什么不同?【思科路由器设置ip_cisco路由器如何登陆设置页面】固定IP上网配置:
现有客户需要使用思科的2600路由器上网,用户为10M光纤,申请了16个固定IP,IP为61.161.xxx.2-61.161.xxx.14, 默认网关是61.161.xxx.1 。内网IP段192.168.1.0,客户要实现192.168.1.50-192.168.1.60之间的IP可以上网,其余的不可以 。
路由器e0/0接口为WAN外网接口,e0/1为LAN内网接口
interface e0/0
ip address 61.161.xxx.2 255.255.255.240 //这里可以使用61.161.xxx.2-14个地址中的任意一个,这里就用2
ip nat outside
full-duplex
no shutdown
interface e0/1
ip address 192.168.1.1 255.255.255.0
ip nat inside
full-duplex
no shutdown
//设置放行的IP地址列表
access-list 1 permit host 192.168.1.50
access-list 1 permit host 192.168.1.51
access-list 1 permit host 192.168.1.52
access-list 1 permit host 192.168.1.53
access-list 1 permit host 192.168.1.54
access-list 1 permit host 192.168.1.55
access-list 1 permit host 192.168.1.56
access-list 1 permit host 192.168.1.57
access-list 1 permit host 192.168.1.58
access-list 1 permit host 192.168.1.59
access-list 1 permit host 192.168.1.60
ip nat pool intoout 61.161.xxx.2 61.161.xxx.2 netmask 255.255.255.240 //这里复用61.161.xxx.2的地址,也可以这样写:ip nat pool intoout 61.161.xxx.2 61.161.xxx.14 netmask 255.255.255.252 这样写之后 , 从地址池里选择任意可用的外网ip 转换 。
ip nat inside source list 1 pool intoout Overload
ip route 0.0.0.00.0.0.061.161.xxx.1//默认网关,即电信端的地址 , 下一跳地址 。
配置后就可以上网了,但是客户端必须设置固定IP,配置DNS , 不配置,因为没有开启DHCP服务 , 所以必须设置固定IP 。
开启DHCP,则需要这样配置:
ip dhcp pool ABC
network 192.168.1.0
default router 192.168.1.1
dns-server 202.96.64.68
ip dhcp excluded-address 192.168.1.1 需要除去网关的地址,要不就冲突了 。
没有ip的限制,就是单纯的上网,删除那个access-list 1 permit host 192.168.1.50 至access-list 1 permit host 192.168.1.60
增加 access-list 1 permit 192.168.1.0 255.255.255.0就可以了 。
PPPOE拨号上网配置:
对以设置PPPOE上网,以太网接口LAN的配置不变 , 需要更改外网口WAN的配置和访问控制列表,增加VPDN的配置 。用户名是admin,密码 123456,配置过程如下:
interface e0/1
ip address 192.168.1.1 255.255.255.0
ip nat inside
full-duplex
interface Dialer1//建立一个拨号接口
ip address negotiated //拨号接口的地址是通过协商获得的
ip nat outside
encapsulation ppp //封装为ppp协议
dialer pool 1//建立拨号池为 1
dialer-group 1//建立拨号组1 有时候需要设置MTU值比如MTU=1492
mtu1492
ppp authentication pap callin //加密的验证模式为pap,是chap,直接更改就可以了 。
ppp pap sent-username admin password 0 123456 //用户名和密码
vpdn enable
vpdn-group office
request-dialin
protocol pppoe
pppoe enable
pppoe-client dial-pool-number 1
dialer-list 1 protocol ip permit
access-list1permit 192.168.1.0 255.255.255.0
ip route0.0.0.00.0.0.0Dialer1permanent
ip nat inside source list 1 interface Dialer1 overload
思科路由器查看配置的命令是什么?思科路由器查看配置的命令是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 ;返回命令
思科路由器设置ip_cisco路由器如何登陆设置页面

文章插图
扩展资料:
路由器配置:
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-思科路由器思科路由器如何设置dns1、打开浏览器,输入IP192.168.0.1 。
思科路由器设置ip_cisco路由器如何登陆设置页面

文章插图
思科路由器2821配置代码,怎么配置IP?switch>用户模式
1:进入特权模式enable
switch>enable
switch#

2:进入全局配置模式configure terminal
switch>enable
switch#c onfigure terminal
switch(conf)#

3:交换机命名 hostname aptech2950以aptech2950为例
switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch-2950
aptech2950(conf)#

4:配置使能口令enable password cisco以cisco为例
switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#enable password cisco

5:配置使能密码enable secret ciscolab以cicsolab为例
switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#enable secret ciscolab

6:设置虚拟局域网vlan 1interface vlan 1
switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#interface vlan 1
aptech2950(conf-if)#ipaddress 192.168.1.1 255.255.255.0配置交换机端口ip和子网掩码
aptech2950(conf-if)#noshut是配置处于运行中
aptech2950(conf-if)#exit
aptech2950(conf)#ipdefault-gateway 192.168.254设置网关地址

7:进入交换机某一端口 interface fastehernet 0/17以17端口为例
switch>enable
switch#c onfigure terminal
switch(conf)#hostnameaptch2950
aptech2950(conf)#interface fastehernet 0/17
aptech2950(conf-if)#

8:查看命令show
switch>enable
switch#show version察看系统中的所有版本信息
showinterface vlan 1查看交换机有关ip 协议的配置信息
showrunning-configure 查看交换机当前起作用的配置信息
showinterface fastethernet 0/1察看交换机1接口具体配置和统计信息
showmac-address-table查看mac地址表
showmac-address-table aging-time查看mac地址表自动老化时间

9:交换机恢复出厂默认恢复命令
switch>enable
switch#erase startup-configure
switch#reload
10:双工模式设置
switch>enable
switch#c onfigure terminal
switch2950(conf)#hostnameaptch-2950
aptech2950(conf)#interface fastehernet 0/17以17端口为例
aptech2950(conf-if)#duplexfull/half/auto有full , half, auto 三个可选项

11:cdp相关命令
switch>enable
switch#show cdp查看设备的cdp全局配置信息
show cdpinterface fastethernet 0/17查看17端口的cdp配置信息
show cdptraffic查看有关cdp包的统计信息
show cdpnerghbors列出与设备相连的cisco设备
cisco路由器如何登陆设置页面路由器进入管理界面方法:
1、先查看ip , 方法:win+r---输入:cmd---在再黑白界面输入:ipconfig,按回车 。
2、根据网关查看路由器地址 。若网关是:192.168.1.1,那么路由器的ip一般就是 。192.168.1.1 。
3、在IE地址栏中输入地址:192.168.1.1 。
4、弹出路由器登陆界面输入路由器的默认登陆用户名:admin  密码:admin(如果不正确 , 就看路由器背面) 。
思科路由器设置ip_cisco路由器如何登陆设置页面

文章插图