待解决问题
小白求助:请帮忙配置华为交换机
离问题结束还有0天0小时 |
提问者:zczl2012
|
提问时间:2012-8-9 23:22
下面是我现用的华为2300交换机的配置,在不影响其他端口使用的情况下,我想把VLAN 100和201的数据经第19口接连到另外一个华为2403交换机上使用,,2403上第一口设为上行,VLAN100 规划到第二口,VLAN 201 规划到 第三口,请问第19口和2403交换机上的数据应该怎样配置,谢谢!
di cu
#
sysname neiwang
#
radius scheme system
server-type huawei
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
domain system
radius-scheme system
access-limit disable
state active
idle-cut disable
self-service-url disable
messenger time disable
domain default enable system
#
local-server nas-ip 127.0.0.1 key huawei
#
interface Aux0/0
#
vlan 1
#
vlan 100
#
vlan 101
#
vlan 102
#
vlan 103
#
vlan 104
#
vlan 105
#
vlan 106
#
vlan 107
#
vlan 108
#
vlan 109
#
vlan 110
#
vlan 200
#
vlan 201
#
vlan 202
#
vlan 203
#
vlan 204
#
vlan 205
#
vlan 206
#
vlan 207
#
vlan 208
#
vlan 209
#
vlan 210
#
vlan 3000
#
vlan 3001
#
interface Ethernet0/1
port access vlan 100
#
interface Ethernet0/2
port access vlan 100
#
interface Ethernet0/3
port access vlan 202
#
interface Ethernet0/4
port access vlan 105
#
interface Ethernet0/5
port access vlan 210
#
interface Ethernet0/6
port access vlan 105
#
interface Ethernet0/7
port access vlan 201
#
interface Ethernet0/8
port access vlan 201
#
interface Ethernet0/9
port access vlan 210
#
interface Ethernet0/10
port access vlan 100
#
interface Ethernet0/11
port access vlan 210
#
interface Ethernet0/12
port access vlan 109
#
interface Ethernet0/13
#
interface Ethernet0/14
port access vlan 110
#
interface Ethernet0/15
#interface Ethernet0/16
port access vlan 102
#
interface Ethernet0/17
port access vlan 100
#
interface Ethernet0/18
port access vlan 201
#
interface Ethernet0/19
#
interface Ethernet0/20
port link-type trunk
port trunk permit vlan 100 t0 3000
#
interface Ethernet0/21
port link-type trunk
port trunk permit vlan 100 to 105
#
interface Ethernet0/22
port link-type trunk
port trunk permit vlan 100 to 3000
#
interface Ethernet0/23
port access vlan 3001
#
interface Ethernet0/24
description to-maipu7500
port link-type trunk
port trunk permit vlan 3001
#
interface Ethernet0/25
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 114.11.34.15 preference 60
ip route-static 0.0.0.0 0.0.0.0 192.168.1.1 preference 60
ip route-static 0.0.0.0 0.0.0.0 13.1.11.1 preference 60
#
user-interface aux 0
user-interface vty 0 4
user privilege level 3
set authentication password simple cchw
#
return
di cu
#
sysname neiwang
#
radius scheme system
server-type huawei
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
domain system
radius-scheme system
access-limit disable
state active
idle-cut disable
self-service-url disable
messenger time disable
domain default enable system
#
local-server nas-ip 127.0.0.1 key huawei
#
interface Aux0/0
#
vlan 1
#
vlan 100
#
vlan 101
#
vlan 102
#
vlan 103
#
vlan 104
#
vlan 105
#
vlan 106
#
vlan 107
#
vlan 108
#
vlan 109
#
vlan 110
#
vlan 200
#
vlan 201
#
vlan 202
#
vlan 203
#
vlan 204
#
vlan 205
#
vlan 206
#
vlan 207
#
vlan 208
#
vlan 209
#
vlan 210
#
vlan 3000
#
vlan 3001
#
interface Ethernet0/1
port access vlan 100
#
interface Ethernet0/2
port access vlan 100
#
interface Ethernet0/3
port access vlan 202
#
interface Ethernet0/4
port access vlan 105
#
interface Ethernet0/5
port access vlan 210
#
interface Ethernet0/6
port access vlan 105
#
interface Ethernet0/7
port access vlan 201
#
interface Ethernet0/8
port access vlan 201
#
interface Ethernet0/9
port access vlan 210
#
interface Ethernet0/10
port access vlan 100
#
interface Ethernet0/11
port access vlan 210
#
interface Ethernet0/12
port access vlan 109
#
interface Ethernet0/13
#
interface Ethernet0/14
port access vlan 110
#
interface Ethernet0/15
#interface Ethernet0/16
port access vlan 102
#
interface Ethernet0/17
port access vlan 100
#
interface Ethernet0/18
port access vlan 201
#
interface Ethernet0/19
#
interface Ethernet0/20
port link-type trunk
port trunk permit vlan 100 t0 3000
#
interface Ethernet0/21
port link-type trunk
port trunk permit vlan 100 to 105
#
interface Ethernet0/22
port link-type trunk
port trunk permit vlan 100 to 3000
#
interface Ethernet0/23
port access vlan 3001
#
interface Ethernet0/24
description to-maipu7500
port link-type trunk
port trunk permit vlan 3001
#
interface Ethernet0/25
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 114.11.34.15 preference 60
ip route-static 0.0.0.0 0.0.0.0 192.168.1.1 preference 60
ip route-static 0.0.0.0 0.0.0.0 13.1.11.1 preference 60
#
user-interface aux 0
user-interface vty 0 4
user privilege level 3
set authentication password simple cchw
#
return
问题答案 ( 1 条 )
interface Ethernet0/19
description to-2403
port link-type trunk
port trunk permit vlan 100,201
quit
2403:
一口
interface Ethernet0/1
description to-2300
port link-type trunk
port trunk permit vlan 100,201
quit
二口
interface Ethernet0/2
port access vlan 100
quit
三口
interface Ethernet0/3
port access vlan 201
quit
description to-2403
port link-type trunk
port trunk permit vlan 100,201
quit
2403:
一口
interface Ethernet0/1
description to-2300
port link-type trunk
port trunk permit vlan 100,201
quit
二口
interface Ethernet0/2
port access vlan 100
quit
三口
interface Ethernet0/3
port access vlan 201
quit
热点问题