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

思科2960和H3C5120

2022-09-20提问
  • 0关注
  • 0收藏,851浏览
粉丝:0人 关注:2人

问题描述:

思科2960和H3C5120trunk相连H3C上自动获取的vlan无法获取到IP,静态的都正常,思科上都正常

以下是思科配置

 !

version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname 1WORKSHOP5
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$ybGL$CS.MzrjTzbGM.NB27AMw2.
enable password 7 02160C5601545F701F
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
!
!
crypto pki trustpoint TP-self-signed-708874496
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-708874496
 revocation-check none
 rsakeypair TP-self-signed-708874496
!
!
crypto pki certificate chain TP-self-signed-708874496
 certificate self-signed 01
  30820241 308201AA A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 37303838 37343439 36301E17 0D393330 33303130 30303035
  335A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
  532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3730 38383734
  34393630 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
  B04AD77B AAC3ABC6 DA2CEC06 F994E0BC 912570C7 29F9FB85 7379C719 D292DDA8
  4C59CF8F 7029E1AA 0AE99F8F 56E854BF E759D386 A541437A 9D20F270 DFB34338
  AAD3655D DD9F0B7D F50FFAAF 62D9FF33 F9A8A60E 6564EFE8 EA43A97E 6CE63511
  26281FB1 F2F9E004 8D315241 3E1DF96C 6584F681 20C1031F 897BD881 5D80EC73
  02030100 01A36B30 69300F06 03551D13 0101FF04 05300301 01FF3016 0603551D
  11040F30 0D820B31 574F524B 53484F50 352E301F 0603551D 23041830 168014F6
  89EDCC69 57B463F1 C076060B BCFC1194 431D1B30 1D060355 1D0E0416 0414F689
  EDCC6957 B463F1C0 76060BBC FC119443 1D1B300D 06092A86 4886F70D 01010405
  00038181 006835E3 1A99A4BC 3DB5FBE9 C9E535F9 CF88FAB5 978C32BF 291398D2
  C5026F35 2CE2A651 D5BC9D41 94F168E4 DE4B3701 43214EA2 B2FBAA35 C79391F7
  0F3C4749 37533744 2DBF5BFE 273B8303 38FF01C2 7239D6C5 06B1B0DA 0333D43F
  E4AE0BAE 8A138CD5 1C59CC2A D01EEFB5 C33C2459 036C1CDD ECA0A80B B385EE6F
  47FCA857 CE
  quit
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
interface FastEthernet0/1
 switchport access vlan 60
 switchport mode access
!
interface FastEthernet0/2
 switchport access vlan 60
!
interface FastEthernet0/3
 switchport access vlan 60
!
interface FastEthernet0/4
 switchport access vlan 60
!
interface FastEthernet0/5
 switchport access vlan 60
 switchport mode access
!
interface FastEthernet0/6
 switchport access vlan 60
 switchport mode access
!
interface FastEthernet0/7
 switchport access vlan 60
!
interface FastEthernet0/8
 switchport access vlan 60
!
interface FastEthernet0/9
 switchport access vlan 60
!
interface FastEthernet0/10
 switchport access vlan 60
!
interface FastEthernet0/11
 switchport access vlan 60
!
interface FastEthernet0/12
 switchport access vlan 60
!
interface FastEthernet0/13
 switchport access vlan 60
!
interface FastEthernet0/14
 switchport access vlan 60
!
interface FastEthernet0/15
 switchport access vlan 60
!
interface FastEthernet0/16
 switchport access vlan 60
!
interface FastEthernet0/17
 switchport access vlan 60
!
interface FastEthernet0/18
 switchport access vlan 60
!
interface FastEthernet0/19
 switchport access vlan 60
!
interface FastEthernet0/20
 switchport access vlan 60
!
interface FastEthernet0/21
 switchport access vlan 60
!
interface FastEthernet0/22
 switchport access vlan 60
!
interface FastEthernet0/23
 switchport access vlan 60
 switchport mode access
!
interface FastEthernet0/24
 switchport access vlan 60
 switchport mode access
!
interface FastEthernet0/25
 switchport access vlan 60
!
interface FastEthernet0/26
 switchport access vlan 60
!
interface FastEthernet0/27
 switchport access vlan 60
!
interface FastEthernet0/28
 switchport access vlan 60
!
interface FastEthernet0/29
 switchport access vlan 60
!
interface FastEthernet0/30
 switchport access vlan 60
!
interface FastEthernet0/31
 switchport access vlan 60
!
interface FastEthernet0/32
 switchport access vlan 60
!
interface FastEthernet0/33
 switchport access vlan 60
!
interface FastEthernet0/34
 switchport access vlan 11
!
interface FastEthernet0/35
 switchport access vlan 14
!
interface FastEthernet0/36
 switchport access vlan 14
!
interface FastEthernet0/37
 switchport access vlan 21
!
interface FastEthernet0/38
 switchport access vlan 14
!
interface FastEthernet0/39
 switchport access vlan 14
 switchport mode access
!
interface FastEthernet0/40
 switchport access vlan 14
 switchport mode access
!
interface FastEthernet0/41
 switchport access vlan 14
!
interface FastEthernet0/42
 switchport access vlan 14
!
interface FastEthernet0/43
 switchport access vlan 14
!
interface FastEthernet0/44
 switchport access vlan 14
!
interface FastEthernet0/45
 switchport access vlan 14
!
interface FastEthernet0/46
 switchport access vlan 14
!
interface FastEthernet0/47
 switchport access vlan 14
!
interface FastEthernet0/48
 switchport access vlan 11
!
interface GigabitEthernet0/1
 switchport mode trunk
!
interface GigabitEthernet0/2
 switchport mode trunk
!
interface Vlan1
 ip address 172.10.1.13 255.255.255.0
 no ip route-cache
!
ip http server
ip http secure-server
!
control-plane
!
!
line con 0
 password 7 14071A0606567A7A77
 login
line vty 0 4
 password 7 14071A0606567A7A77
 login
line vty 5 15
 login
!
end
 

以下是H3C配置

#

 version 7.1.070, Release 6329

#

 sysname jihuaup

#

 telnet server enable

#

 irf mac-address persistent timer

 irf auto-update enable

 undo irf link-delay

 irf member 1 priority 1

#

 lldp global enable

#

 password-recovery enable

#

vlan 1

#

vlan 2 to 6

#

vlan 10 to 28

#

vlan 30 to 32

#

vlan 50

#

vlan 60

#

 stp global enable

#

interface NULL0

#

interface Vlan-interface1

 ip address 172.10.1.19 255.255.255.0

 dhcp client identifier ascii 305f771f3b10-VLAN0001

#

interface GigabitEthernet1/0/1

 port access vlan 21

#

interface GigabitEthernet1/0/2

 port access vlan 14

#

interface GigabitEthernet1/0/3

 port access vlan 11

#

interface GigabitEthernet1/0/4

 port access vlan 11

#

interface GigabitEthernet1/0/5

 port access vlan 14

#

interface GigabitEthernet1/0/6

 port access vlan 14

#

interface GigabitEthernet1/0/7

 port access vlan 11

#

interface GigabitEthernet1/0/8

 port access vlan 14

#

interface GigabitEthernet1/0/9

 port access vlan 11

#

interface GigabitEthernet1/0/10

 port access vlan 11

#

interface GigabitEthernet1/0/11

 port access vlan 11

#

interface GigabitEthernet1/0/12

 port access vlan 11

#

interface GigabitEthernet1/0/13

 port access vlan 11

#

interface GigabitEthernet1/0/14

 port access vlan 11

#

interface GigabitEthernet1/0/15

 port access vlan 11

#

interface GigabitEthernet1/0/16

 port access vlan 11

#

interface GigabitEthernet1/0/17

 port access vlan 60

#

interface GigabitEthernet1/0/18

 port access vlan 11

#

interface GigabitEthernet1/0/19

 port access vlan 11

#

interface GigabitEthernet1/0/20

 port access vlan 14

#

interface GigabitEthernet1/0/21

 port access vlan 30

#

interface GigabitEthernet1/0/22

 port access vlan 11

#

interface GigabitEthernet1/0/23

 port link-type trunk

 port trunk permit vlan all

#

interface GigabitEthernet1/0/24

 port link-type trunk

 port trunk permit vlan all

#

interface GigabitEthernet1/0/25

#

interface GigabitEthernet1/0/26

#

interface GigabitEthernet1/0/27

#

interface GigabitEthernet1/0/28

#

 scheduler logfile size 16

#

line class aux

 user-role network-admin

#

line class vty

 user-role network-operator

#

line aux 0

 user-role network-admin

#

line vty 0 63

 user-role network-admin

 user-role network-operator

 set authentication password hash $h$6$qOP/sw1VavYYW3Ta$DTQ/d8GpXsNSYkmFp00NNwm0VQ4PxSjdtyxCMKUMj+Tzt4M6NODNU4ze2N2CNMEMo3IdLebxkATfIPwGVNWbtQ==

#

 ip route-static 0.0.0.0 0 172.10.1.1

#

radius scheme system

 user-name-format without-domain

#

domain system

#

 domain default enable system

#

role name level-0

 description Predefined level-0 role

#

role name level-1

 description Predefined level-1 role

#

role name level-2

 description Predefined level-2 role

#

role name level-3

 description Predefined level-3 role

#

role name level-4

 description Predefined level-4 role

#

role name level-5

 description Predefined level-5 role

#

role name level-6

 description Predefined level-6 role

#

role name level-7

 description Predefined level-7 role

#

role name level-8

 description Predefined level-8 role

#

role name level-9

 description Predefined level-9 role

#

role name level-10

 description Predefined level-10 role

#

role name level-11

 description Predefined level-11 role

#

role name level-12

 description Predefined level-12 role

#

role name level-13

 description Predefined level-13 role

#

role name level-14

 description Predefined level-14 role

#

user-group system

#

local-user phmj2013 class manage

 service-type telnet

 authorization-attribute user-role network-admin

 authorization-attribute user-role network-operator

#

 cloud-management server domain cloudnet.h3c.com

#

return

组网及组网描述:


最佳答案

您好,请知:

无法自动获取到IP地址,以下是排查要点,请参考:

1、检查DHCP功能是否已开启。

2、检查DHCP内配置的网段和VLAN IP是否在同一个子网内。

3、接口关闭STP看下。

4、其次配置DHCP snooping,不排除可能存在其他DHCP服务器而导致获取混乱。

5、检查DHCP内的IP地址是否足够使用。


暂无评论

1 个回答
已采纳
粉丝:0人 关注:0人

华三交换机的话检查dhcpsnoopibg或者关闭stp看看。

暂无评论

编辑答案

你正在编辑答案

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

分享扩散:

提出建议

    +

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

确定

亲~检测到您登陆的账号未在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. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

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

不规范转载

×

举报说明