我现在有一个思科2811路由器配置如下
Building configuration...
Current configuration : 3216 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname router
!
boot-start-marker
boot-end-marker
!
security authentication failure rate 10 log
security passwords min-length 8
logging buffered 51200 warnings
no logging console
enable secret 5 $1$K9FD$8HTfTB8qU3SX8Rh9D660c1
enable password 7 094F471A1A0A
!
aaa new-model
!
!
aaa authentication login fk local line none
!
aaa session-id common
!
resource policy
!
ip subnet-zero
!
!
ip cef
!
!
ip domain name ***.***
login block-for 10 attempts 2 within 5
login delay 2
!
username cisco privilege 15 secret 5 $1$.ucm$/3pTaysR1SyiWMQyebjc4/
username fkadmin privilege 15 secret 5 $1$kreP$bXAe.FhYxPc6TctCp4dF91
!
!
!
interface FastEthernet0/0
description to ygs
ip address 10.100.1.162 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.20.253 255.255.255.0
ip nat outside
duplex full
speed auto
!
interface FastEthernet0/0/0
switchport access vlan 2
!
interface FastEthernet0/0/1
switchport access vlan 3
!
interface FastEthernet0/0/2
!
interface FastEthernet0/0/3
switchport access vlan 2
no mop enabled
!
interface Vlan1
ip address 20.1.11.254 255.255.255.0
ip nat inside
!
interface Vlan2
ip address 192.168.244.33 255.255.255.240
ip nat inside
!
interface Vlan3
ip address 192.168.88.1 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.20.254
ip route 10.100.1.0 255.255.255.0 10.100.1.161
ip route 128.3.0.0 255.255.0.0 10.100.1.161
ip route 128.7.0.0 255.255.255.0 10.100.1.161
ip route 128.7.1.0 255.255.255.0 10.100.1.161
ip route 128.7.2.0 255.255.255.0 10.100.1.161
ip route 128.7.3.0 255.255.255.0 10.100.1.161
ip route 192.168.244.0 255.255.255.0 10.100.1.161
!
no ip http server
ip nat inside source list 10 interface FastEthernet0/1 overload
!
!
logging 128.7.124.219
access-list 10 deny 192.168.244.33
access-list 10 deny 192.168.244.34
access-list 10 permit any
access-list 1998 permit 10.100.1.161
access-list 1999 permit 128.7.124.219
snmp-server community y RO
!
control-plane
!
banner login ^C
-----------------------------------------------------------------------
Cisco Router and Security Device Manager (SDM) is installed on this device.
This feature requires the one-time use of the username "cisco"
with the password "cisco". The default username and password have a privilege level of 15.
Please change these publicly known initial credentials using SDM or the IOS CLI.
Here are the Cisco IOS commands.
username <myuser> privilege 15 secret 0 <mypassword>
no username cisco
Replace <myuser> and <mypassword> with the username and password you want to use.
For more information about SDM please follow the instructions in the QUICK START
GUIDE for your router or go to http://www.cisco.com/go/sdm
-----------------------------------------------------------------------
^C
!
line con 0
timeout login response 300
password 7 00071A150754
login authentication fk
line aux 0
line vty 0 4
login authentication fk
transport input all
transport output all
line vty 5 15
password 7 05080F1C2243
transport input none
transport output none
!
scheduler allocate 20000 1000
!
end
现在想用一个H3C路由器把它代替了,那么应该用哪个型号的H3C路由器?具体怎么配置路由?
(0)
最佳答案
主要是做好设备的互联配置和路由的指向:
ip route 0.0.0.0 0.0.0.0 192.168.20.254
ip route 10.100.1.0 255.255.255.0 10.100.1.161
ip route 128.3.0.0 255.255.0.0 10.100.1.161
ip route 128.7.0.0 255.255.255.0 10.100.1.161
ip route 128.7.1.0 255.255.255.0 10.100.1.161
ip route 128.7.2.0 255.255.255.0 10.100.1.161
ip route 128.7.3.0 255.255.255.0 10.100.1.161
ip route 192.168.244.0 255.255.255.0 10.100.1.161
interface FastEthernet0/0
description to ygs
ip address 10.100.1.162 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.20.253 255.255.255.0
ip nat outside
duplex full
speed auto
interface FastEthernet0/0/0
switchport access vlan 2
!
interface FastEthernet0/0/1
switchport access vlan 3
!
interface FastEthernet0/0/2
!
interface FastEthernet0/0/3
switchport access vlan 2
no mop enabled
!
interface Vlan1
ip address 20.1.11.254 255.255.255.0
ip nat inside
!
interface Vlan2
ip address 192.168.244.33 255.255.255.240
ip nat inside
!
interface Vlan3
ip address 192.168.88.1 255.255.255.0
主要是上述这两部分的配置,涉及到基础网络的。
关于路由器产品的选型,可咨询下当地办事处售前或400确认。
(0)
我想问用H3C命令怎么配置?
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
我想问用H3C命令怎么配置?