思科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
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论