• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

老思科转3640 V7版本命令问题

2021-04-11提问
  • 0关注
  • 1收藏,1264浏览
零段
粉丝:0人 关注:0人

问题描述:

单位一台很老的思科路由器需要更换成新采购了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#

最佳答案

粉丝:4人 关注:3人

您好,配置供参考:

配置脚本翻译:
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



你好 请问还有这部分配置怎么翻译 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

发表时间:2021-04-11

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

发表时间:2021-04-11
回复:

这个是日志的和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

Itcrazy 发表时间:2021-04-11
回复:

具体都可以参考配置手册的

Itcrazy 发表时间:2021-04-11
2 个回答
知了小白
粉丝: 关注:

思科的话,这边你可以描述一下你想实现什么功能,我在对照华三的相关命令看一下

主要是ospf部分的配置

发表时间:2021-04-11
知了小白
粉丝:0人 关注:0人

还要就是这一部分的配置

class-map match-all shipinhuiyi
match access-group 188
!
!
policy-map shipinhuiyi
class shipinhuiyi
priority percent 50
class class-default
priority percent 50

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明