设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 653|回复: 4
收起左侧

[求助] 思科ISR4331换宽带运营商怎么修改配置?

[复制链接]
发表于 2021-4-20 14:59:09 | 显示全部楼层 |阅读模式
3鸿鹄币
Current configuration : 4466 bytes
!
! No configuration change since last restart
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
no platform punt-keepalive disable-kernel-core
platform hardware throughput level 300000
!
hostname ISR4331
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-intf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!         
enable secret 5 $1$8.Il$FHAuo9sxXgDx9Wg6reEbb/
!         
aaa new-model
!         
!         
aaa authentication login default local-case line
aaa authentication login NO-Console none
aaa authentication login Ez***_Authen_Local local-case
aaa authentication enable default enable
aaa authorization network Ez***_Author_Local local
!         
         
aaa session-id common
clock timezone GMT 8 0
         
ip name-server 223.5.5.5
!         
        
subscriber templating
!         
multilink bundle-name authenticated
!         
        
license udi pid ISR4331/K9 sn FDO22260V0V
license boot level securityk9
!         
spanning-tree extend system-id
!         
!         
redundancy
mode none
!         
      
vlan internal allocation policy ascending
!               
crypto isakmp policy 10
encr 3des
authentication pre-share
group 2  
!         
crypto isakmp client configuration group Ez***_IKE_Client_Config_Group
pool Ez***_Pool
acl Ez***_Local_Site_Network
netmask 255.255.255.0
crypto isakmp profile Ez***_IKE_Profile
   match identity group Ez***_IKE_Client_Config_Group
   client authentication list Ez***_Authen_Local
   isakmp authorization list Ez***_Author_Local
   client configuration address respond
   virtual-template 10
!                 
crypto ipsec transform-set Ez***_IPsec_Trans esp-3des esp-sha-hmac
mode tunnel
!         
crypto ipsec profile Ez***_IPsec_Profile
set transform-set Ez***_IPsec_Trans
set isakmp-profile Ez***_IKE_Profile
!         
     
interface GigabitEthernet0/0/0
ip address 59.44.140.135 255.255.255.224
ip nat outside
ip access-group Deny_Telnet in
negotiation auto
no cdp enable
!         
interface GigabitEthernet0/0/1
ip address 10.1.1.1 255.255.255.0
ip nat inside
negotiation auto
!         
interface GigabitEthernet0/0/2
no ip address
shutdown
negotiation auto
!         
interface GigabitEthernet0
vrf forwarding Mgmt-intf
no ip address
shutdown
negotiation auto
!         
interface Virtual-Template10 type tunnel
ip unnumbered GigabitEthernet0/0/0
tunnel mode ipsec ipv4
tunnel protection ipsec profile Ez***_IPsec_Profile
!         
interface Vlan1
no ip address
shutdown
!         
ip local pool Ez***_Pool 172.31.10.1 172.31.10.254
ip nat inside source list 1 interface GigabitEthernet0/0/0 overload
ip forward-protocol nd
no ip http server
ip http authentication local
no ip http secure-server
ip tftp source-interface GigabitEthernet0
ip route 0.0.0.0 0.0.0.0 59.44.140.133
ip route 10.1.1.0 255.255.255.0 10.1.1.2
ip route 192.168.10.0 255.255.255.0 10.1.1.2
ip route 192.168.11.0 255.255.255.0 10.1.1.2
ip route 192.168.12.0 255.255.255.0 10.1.1.2
ip route 192.168.13.0 255.255.255.0 10.1.1.2
ip route 192.168.14.0 255.255.255.0 10.1.1.2
ip route 192.168.15.0 255.255.255.0 10.1.1.2
ip ssh version 2
!         
!         
ip access-list standard Site_Network
permit 192.168.10.0 0.0.0.255
permit 192.168.11.0 0.0.0.255
permit 192.168.12.0 0.0.0.255
permit 192.168.13.0 0.0.0.255
permit 192.168.14.0 0.0.0.255
permit 192.168.15.0 0.0.0.255
permit 10.1.1.0 0.0.0.255
!         
ip access-list extended Deny_Telnet
deny   tcp any host 59.44.140.135 eq telnet
permit ip any any
ip access-list extended Ez***_Local_Site_Network
permit ip 192.168.0.0 0.0.255.255 any
permit ip 10.1.0.0 0.0.255.255 any
!         
access-list 1 permit 192.168.10.0 0.0.0.255
access-list 1 permit 192.168.11.0 0.0.0.255
access-list 1 permit 192.168.12.0 0.0.0.255
access-list 1 permit 192.168.13.0 0.0.0.255
access-list 1 permit 192.168.14.0 0.0.0.255
access-list 1 permit 192.168.15.0 0.0.0.255
access-list 1 permit 10.1.1.0 0.0.0.255
!         
      
control-plane
!         
      
line con 0
logging synchronous
login authentication NO-Console
stopbits 1
line aux 0
stopbits 1
line vty 0 4
logging synchronous
transport input all
!         
ntp source GigabitEthernet0/0/0
ntp server 120.27.94.97



公司换了宽带网络运营商,以上为路由器现有的配置文件,实在不明白怎么改,小白一个求大神帮助。
,运营商给提供的新的地址网关:59.44.144.97 ip:59.44.144.107 掩码:255.255.255.244 DNS:118.118.118.1
希望能有大神把修改的命令帮我写一下,最好按步帮我写一下,因为实在的不懂,怕搞错,还有就是是不是上网的话只要改外网的接口就行,不会影响内网的配置?望好人一生平安。





最佳答案

查看完整内容

看起來就是修改 ip name-server 223.5.5.5 改成給你的新DNS interface GigabitEthernet0/0/0 改成你的新IP ip route 0.0.0.0 0.0.0.0 59.44.140.133 這行改成你的新網關 ip access-list extended Deny_Telnet deny tcp any host 59.44.140.135 eq telnet 一樣改成你的新IP 不過大哥你這密碼都爆露拉
发表于 2021-4-20 14:59:10 | 显示全部楼层
看起來就是修改
ip name-server 223.5.5.5 改成給你的新DNS
interface GigabitEthernet0/0/0 改成你的新IP
ip route 0.0.0.0 0.0.0.0 59.44.140.133 這行改成你的新網關
ip access-list extended Deny_Telnet
deny   tcp any host 59.44.140.135 eq telnet 一樣改成你的新IP

不過大哥你這密碼都爆露拉
沙发 2021-4-20 14:59:10 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2021-4-21 08:38:36 | 显示全部楼层
~~~~~~~~~~~
板凳 2021-4-21 08:38:36 回复 收起回复
回复

使用道具 举报

发表于 2021-5-15 20:05:27 | 显示全部楼层
本帖最后由 nbvnbv0022 于 2021-5-15 20:06 编辑

en
conf tno ip name-server 223.5.5.5
ip name-server 118.118.118.1
interface GigabitEthernet0/0/0
no ip address 59.44.140.135 255.255.255.224
ip address 59.44.144.107 255.255.255.224

no ip route 0.0.0.0 0.0.0.0 59.44.140.133
ip route 0.0.0.0 0.0.0.0 59.44.144.97

ip access-list extended Deny_Telnet
no deny   tcp any host 59.44.140.135 eq telnet
deny   tcp any host 59.44.144.107 eq telnet
end
wr


地板 2021-5-15 20:05:27 回复 收起回复
回复

使用道具 举报

发表于 2021-5-15 20:07:28 | 显示全部楼层
另,你的VPN clint要改server IP。
5# 2021-5-15 20:07:28 回复 收起回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-4-19 12:35 , Processed in 0.070887 second(s), 8 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

快速回复 返回顶部 返回列表