单位一台很老的思科路由器需要更换成新采购了h3c路由器(型号3640,系统版本V7.1.064)
有大神等帮忙把思科上的命令转换的华三这边吗?
下面的思科的命令
希望大神提供转换后的命令
shaoguan>
shaoguan>en
Password:
shaoguan#show ru
Building configuration...
Current configuration : 2535 bytes
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname shaoguan
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$Gaby$yF6spP/7A0ESeHPJdrE7y/
!
aaa new-model
!
!
aaa authentication login default local
!
!
!
!
!
aaa session-id common
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
no ip domain lookup
ip domain name ***.***
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
license udi pid CISCO2811C/K9 sn FGL154710R3
username admin secret 5 $1$qswP$lCcIRxGCTyRpoSvFSPoVF1
username liuzs secret 5 $1$QoBL$XtI.B5eEGm97mCN3HYJpZ1
username wanggt secret 5 $1$L8/.$9/4yOa2cSewqWFldnuumK0
!
!
ip ssh time-out 30
!
class-map match-all shipinhuiyi
match access-group 188
!
!
policy-map shipinhuiyi
class shipinhuiyi
priority percent 50
class class-default
priority percent 50
!
!
!
!
!
!
interface FastEthernet0/0
description QG-MSTP-shaoguan
bandwidth 4000
ip address 172.xx.70.2 255.255.255.248
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 Tsingta0_2012
ip ospf network point-to-point
duplex auto
speed auto
service-policy output shipinhuiyi
!
interface FastEthernet0/1
ip address 172.xx.70.9 255.255.255.248
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
encapsulation ppp
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 Tsingta0_2012
!
router ospf 100
log-adjacency-changes
area 9170 authentication message-digest
redistribute static subnets
network 10.200.xxx.0 0.0.1.255 area 9170
network 172.xx.0.0 0.0.255.255 area 9170
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 10.0.0.2 255.255.255.255 172.xx.70.10
ip route 10.0.0.3 255.255.255.255 172.xx.70.10
ip route 10.200.xxx.0 255.255.255.0 172.xx.xx.10
ip route 10.200.xxx.0 255.255.254.0 172.xx.xx.10
!
logging trap errors
logging facility local1
logging source-interface FastEthernet0/0
logging 172.16.1.31
access-list 188 permit ip any host 10.xxx.6.28
access-list 188 permit ip host 10.xxx.6.28 any
access-list 188 permit tcp any any eq telnet
access-list 188 permit tcp any any eq 22
!
snmp-server community Pubtsin9 RO
snmp-server community Precisc0 RW
snmp-server enable traps tty
!
!
control-plane
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
exec-timeout 30 0
password Telcisc0
transport input ssh
line vty 5 15
exec-timeout 30 0
password Telcisc0
transport input ssh
!
scheduler allocate 20000 1000
end
shaoguan#
(0)
最佳答案
您好,配置供参考:
配置脚本翻译:
sysname shaoguan
#
clock timezone beijing add 08:00:00
#
ip unreachables enable
ip ttl-expires enable
#
lldp global enable
#
local-user admin class manage
password simple H3c@1qaz
service-type ssh
authorization-attribute user-role level-15
authorization-attribute user-role netowrk-admin
#
scheduler logfile size 16
#
line vty 0 63
authentication-mode scheme
user-role level-15
user-role network-admin
user-role network-operator
protocol inbound ssh
idle-timeout 3 0
#
acl basic 2001
rule 0 permit source 10.5.XX.1 0
rule 100 deny
#
acl basic 2200
rule 0 permit source 10.5.XX.81 0
rule 100 deny
#
ssh server enable
ssh server acl 2001
#
interface GigabitEthernet0/0
port link-mode route
description QG-MSTP-shaoguan
combo enable copper
ip address 172.xx.70.2 255.255.255.248
ospf network-type p2p
ospf authentication-mode md5 Tsingta0_2012
#
interface GigabitEthernet0/1
port link-mode route
combo enable copper
ip address 172.xx.70.9 255.255.255.248
#
ospf 100
import-route static
area 0.0.0.XX
network 10.200.xxx.0 0.0.1.255
network 172.xx.0.0 0.0.255.255
#
ip route 10.0.0.2 255.255.255.255 172.xx.70.10
ip route 10.0.0.3 255.255.255.255 172.xx.70.10
ip route 10.200.xxx.0 255.255.255.0 172.xx.xx.10
ip route 10.200.xxx.0 255.255.254.0 172.xx.xx.10
(0)
你好 请问还有这部分配置怎么翻译 logging trap errors logging facility local1 logging source-interface FastEthernet0/0 logging 172.16.1.31 access-list 188 permit ip any host 10.220.6.28 access-list 188 permit ip host 10.220.6.28 any access-list 188 permit tcp any any eq telnet access-list 188 permit tcp any any eq 22
logging trap errors logging facility local1 logging source-interface FastEthernet0/0 logging 172.16.1.31 access-list 188 permit ip any host 10.220.6.28 access-list 188 permit ip host 10.220.6.28 any access-list 188 permit tcp any any eq telnet access-list 188 permit tcp any any eq 22
这个是日志的和ACL列表的 info-center loghost source LoopBack0 info-center loghost 172.18.200.XX info-center source default loghost level warning acl basic 2000 description For_SSH rule 0 permit source 172.18.XX.10 0 rule 1 permit source 172.18.XX.0 0.0.0.255 rule 5 permit source 172.18.XX.0 0.0.0.255 rule 10 permit source 172.18.XX.0 0.0.0.255
思科的话,这边你可以描述一下你想实现什么功能,我在对照华三的相关命令看一下
(0)
主要是ospf部分的配置
主要是ospf部分的配置
还要就是这一部分的配置
class-map match-all shipinhuiyi
match access-group 188
!
!
policy-map shipinhuiyi
class shipinhuiyi
priority percent 50
class class-default
priority percent 50
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
具体都可以参考配置手册的