思科路由器7206的配置 联通 移动双wan运营商接入
Username: lll9999
Password:
HTHL_7206_Router#sh run
Building configuration...
Current configuration : 2115 bytes
!
! Last configuration change at 05:53:02 UTC Wed Apr 22 2020 by helon8
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname HTHL_7206_Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
ip cef
!
no ipv6 cef
ipv6 multicast rpf use-bgp
!
!
multilink bundle-name authenticated
!
username cisco privilege 15 password 0 cisco
username lll9999 privilege 15 password 0 lll9999
username lll9999 privilege 15 password 0 lll9999
!
track 1 ip sla 1 reachability
!
track 2 ip sla 2 reachability
!
interface GigabitEthernet0/1
ip address 135.134.196.83 255.255.255.192
ip nat outside
media-type rj45
speed auto
duplex auto
negotiation auto
!
interface GigabitEthernet0/2
description YiDong
ip address 10.0.50.12 255.255.255.0
ip nat outside
shutdown
media-type rj45
speed auto
duplex auto
negotiation auto
!
interface GigabitEthernet0/3
ip address 192.168.100.1 255.255.255.0
ip nat inside
ip policy route-map YD
media-type rj45
speed auto
duplex auto
negotiation auto
!
ip nat translation timeout 900
ip nat translation tcp-timeout 900
ip nat translation udp-timeout 900
ip nat translation syn-timeout 900
ip nat inside source list nat interface GigabitEthernet0/1 overload
ip nat inside source list Yidong interface gigabitEthernet 0/2 overload
ip nat inside source static tcp 192.168.2.29080 158.12.73.19 9080 extendable
ip nat inside source static tcp 192.168.0.10 80 158.12.73.19 9999 extendable
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 10.0.50.1 200 track 1
ip route 0.0.0.0 0.0.0.0 135.134.196.65 track 2
ip route 0.0.0.0 0.0.0.0 135.134.196.65
ip route 192.168.0.0 255.255.0.0 10.10.2.254
ip route 192.168.0.0 255.255.0.0 192.168.100.254
!
ip access-list extended Yidong
permit ip 192.168.5.0 0.0.0.255 any
permit ip 192.168.4.0 0.0.0.255 any
permit ip 192.168.3.0 0.0.0.255 any
permit ip 192.168.2.0 0.0.0.255 any
permit ip 192.168.1.0 0.0.0.255 any
permit ip 192.168.0.0 0.0.0.255 any
ip access-list extended nat
permit ip any any
ip access-list extended route-map
permit ip 192.168.4.0 0.0.0.255 any
permit ip 192.168.5.0 0.0.0.255 any
!
ip sla 1
icmp-echo 10.0.50.1 source-ip 10.0.50.12
frequency 10
ip sla schedule 1 life forever start-time now
ip sla 2
icmp-echo 135.134.196.65 source-ip 135.134.196.83
frequency 5
ip sla schedule 2 life forever start-time now
!
!
route-map YD permit 10
match ip address route-map
set ip next-hop 10.0.50.1
!
control-plane
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login local
!
end
HTHL_7206_Router#
张蔷新裤子乐队合唱《别再问我什么是迪斯科》