交知死生
ip pool是dhcp 跟管理地址有什么关系 跟上网有关系
什么
交知死生
方法告诉你了 你自己试试不知道了
一个是改地址 一个是改给接口 那个都好使
轟蕰阖
我现在[ddsl5700-Vlanif99]ip address 10.18.99.6 255.255.255.0
[ddsl5700-Vlanif99]
这个行不?
轟蕰阖
现在能PING通10.18.99. 下面别的地址
现在怎么能加上这个管理地址
交知死生
就是管理地址在PC上不通的事
给你出个注意吧
轟蕰阖
Current configuration : 2697 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname dd2
!
enable password 522
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
!
!
!
!
!
!
!
!
errdisable recovery cause loopback
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy asc
!
!
interface FastEthernet0/1
switchport access vlan 22
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 22
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 22
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 30
switchport mode access
storm-control broadcast level 50.0
!
interface FastEthernet0/5
switchport access vlan 30
switchport mode access
storm-control broadcast level 50.0
!
interface FastEthernet0/6
switchport access vlan 30
switchport mode access
storm-control broadcast level 50.0
!
interface FastEthernet0/7
switchport access vlan 31
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 31
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 31
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 31
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 90
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 90
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 200
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 200
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 200
switchport mode access
!
interface FastEthernet0/22
switchport mode trunk
!
interface FastEthernet0/23
switchport mode trunk
!
interface FastEthernet0/24
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan30
no ip address
no ip route-cache
!
interface Vlan99
ip address 10.18.99.3 255.255.255.
no ip route-cache
!
ip http server
ip http secure-server
!
control-plane
!
!
line con 0
line vty 0 4
password 522
login
line vty 5 15
login
!
end
给我看看
这是原来的2950
version 12.2是这一句?
交知死生
人家是vlan99 你用的是vlan2000
轟蕰阖
#
interface Vlanif1
#
interface Vlanif99
ip address 10.18.99.6 255.255.255.0
#
轟蕰阖
interface GigabitEthernet0/0/15
port link-type access
port default vlan 99
#
interface GigabitEthernet0/0/16
port link-type access
port default vlan 99
#
interface GigabitEthernet0/0/17
port link-type access
port default vlan 99
轟蕰阖
interface Vlanif1
#
interface Vlanif99
ip address 10.18.99.6 255.255.255.0
交知死生
你是vlan1 你有接口在vlan1 下吗
交知死生
哦 vlan 99 你得有接口在vlan 99
轟蕰阖
有啊 轟蕰阖
interface GigabitEthernet0/0/15
port link-type access
port default vlan 99
#
interface GigabitEthernet0/0/16
port link-type access
port default vlan 99
轟蕰阖
原来的2950的地址10.18.99.3
这个怎么都能通
轟蕰阖
我是想在所以网络内的机子都能管理到这个交换机
还是我想搞明白
为什么原来CISCO这样配能行,而华为不行
交知死生
刚才你在5700上就出错了
连路由用的那个段
vlan是多少
轟蕰阖
现在在Current configuration : 2697 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname dd2
!
enable password 522
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
!
!
!
!
!
!
!
!
errdisable recovery cause loopback
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy asc
!
!
interface FastEthernet0/1
switchport access vlan 22
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 22
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 22
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 30
switchport mode access
storm-control broadcast level 50.0
!
interface FastEthernet0/5
switchport access vlan 30
switchport mode access
storm-control broadcast level 50.0
!
interface FastEthernet0/6
switchport access vlan 30
switchport mode access
storm-control broadcast level 50.0
!
interface FastEthernet0/7
switchport access vlan 31
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 31
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 31
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 31
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 90
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 90
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 200
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 200
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 200
switchport mode access
!
interface FastEthernet0/22
switchport mode trunk
!
interface FastEthernet0/23
switchport mode trunk
!
interface FastEthernet0/24
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan30
no ip address
no ip route-cache
!
interface Vlan99
ip address 10.18.99.3 255.255.255.
no ip route-cache
!
ip http server
ip http secure-server
!
control-plane
!
!
line con 0
line vty 0 4
password 522
login
line vty 5 15
login
!
end
这是2950
原来在VLAN22下,就第1口连着另一个2950,能通
轟蕰阖
<ddsl5700>sys
Enter system view, return user view with Ctrl+Z.
[ddsl5700]dis cur
!Software Version V200R008C00SPC500
#
sysname ddsl5700
#
vlan batch 15 22 30 to 31 90 99 200 2000
#
clock timezone UTC add 00:00:00
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password irreversible-cipher %^%#Oi8B@J$KWVXfphUQ~c4Ch|+=,Xj*V
EPa:YQ3+RD/rzi1IP8z+Mp9rw7Zfq}9%^%#
local-user admin privilege level 15
local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif2000
ip address 10.18.99.6 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 15
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 15
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 22
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 22
#
interface GigabitEthernet0/0/5
port link-type access
port default vlan 22
#
interface GigabitEthernet0/0/6
port link-type access
port default vlan 30
#
interface GigabitEthernet0/0/7
port link-type access
port default vlan 30
#
interface GigabitEthernet0/0/8
port link-type access
port default vlan 30
#
interface GigabitEthernet0/0/9
port link-type access
port default vlan 31
#
interface GigabitEthernet0/0/10
port link-type access
port default vlan 31
#
interface GigabitEthernet0/0/11
port link-type access
port default vlan 31
#
interface GigabitEthernet0/0/12
port link-type access
port default vlan 31
#
interface GigabitEthernet0/0/13
port link-type access
port default vlan 90
#
interface GigabitEthernet0/0/14
port link-type access
port default vlan 90
#
interface GigabitEthernet0/0/15
port link-type access
port default vlan 99
#
interface GigabitEthernet0/0/16
port link-type access
port default vlan 99
#
interface GigabitEthernet0/0/17
port link-type access
port default vlan 99
#
interface GigabitEthernet0/0/18
port link-type access
port default vlan 99
#
interface GigabitEthernet0/0/19
port link-type access
port default vlan 200
#
interface GigabitEthernet0/0/20
port link-type access
port default vlan 200
#
interface GigabitEthernet0/0/21
port link-type access
port default vlan 200
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/24
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/25
#
interface GigabitEthernet0/0/26
#
interface GigabitEthernet0/0/27
#
interface GigabitEthernet0/0/28
#
interface NULL0
#
user-interface con 0
authentication-mode password
set authentication password cipher $1a$ADf7DcJ&"3$9@~EFGbMq"'[`40A{JDY~-Q;<^w*)
'B4v\8vW90V$
user-interface vty 0 4
authentication-mode aaa
user-interface vty 16 20
#
return这是5700现在把这个2950接到5700的第3口不通怎么回事?同样在VLAN22下 生先彭
思科22口做了trunk对应华为那个口22吗?
生先彭
在5700做了trink没有
ip对不对
3号口也要trunk支持的
我看一下
轟蕰阖
下面这个2950没动就用5700代替了原上面的2950 轟蕰阖
!
interface FastEthernet0/1
switchport access vlan 22
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 22
switchport mode access
!
原来是这个划的
轟蕰阖
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 22
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 22
现在是这个的
原来接1口没有配置TRUNK
interface FastEthernet0/1
switchport access vlan 22
switchport mode access
现在接3口nterface GigabitEthernet0/0/3
port link-type access
port default vlan 22
就不通了
生先彭
你先ping 不通再入端口配trunk
借口没有配置,是因为另一边配置了
轟蕰阖
那现在为什么又要TRUNK,那边的没动
不同设备需要配置
?
噢
轟蕰阖
user-interface con 0
authentication-mode password
set authentication password cipher $1a$ADf7DcJ&"3$9@~EFGbMq"'[`40A{JDY~-Q;<^w*)
'B4v\8vW90V$
user-interface vty 0 4
authentication-mode aaa
user-interface vty 16 20
#
return
看这个,我的TELENT登录配置成功没?
湘潇李
没有开启telnet服务吧