这个是老交换机S5110上的原始配置,到现在能正常工作,我把主要配置贴上来
vlan 1
#
vlan 11
#
vlan 13
#
vlan 20
#
vlan 108
#
vlan 201
#
vlan 653
#
vlan 950 to 951
#
vlan 953
#
vlan 985
#
vlan 1803
#
vlan 3048
#
vlan 3248
#
vlan 3448
#
vlan 3648 to 3649
#
vlan 3900
# ----------------------------------vlan20
interface Vlan-interface20
ip address 10.32.190.60 255.255.255.224
# ----------------------------------vlan201
interface Vlan-interface201
ip address 10.110.81.40 255.255.255.224
# ----------------------------------出口1
interface GigabitEthernet1/0/1
description to_LYQ
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 201 1803 3649
# ----------------------------------出口2
interface GigabitEthernet1/0/2
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 201 953 985
# ---------------------------光纤接入49口
interface GigabitEthernet1/0/49
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 4094
#
interface GigabitEthernet1/0/50
#
interface GigabitEthernet1/0/51
#
interface GigabitEthernet1/0/52
# --------------------------------静态路由
ip route-static 0.0.0.0 0.0.0.0 10.32.190.34
ip route-static 10.32.184.5 255.255.255.255 10.110.81.33
ip route-static 10.109.220.0 255.255.255.0 10.109.220.1
----------------------------------------------------------------------------------------------------------
以下是新交换机S6520-24S-SI万兆光**换机配置,这个配置是复制了老交换机S5110的配置,但是网络不通,请问这个应该怎么解决
vlan 1
#
vlan 11
#
vlan 13
#
vlan 20
#
vlan 108
#
vlan 201
#
vlan 653
#
vlan 950 to 951
#
vlan 953
#
vlan 985
#
vlan 1803
#
vlan 3048
#
vlan 3248
#
vlan 3448
#
vlan 3648 to 3649
#
vlan 3900
#
stp global enable
#
# ----------------------------------vlan20
interface Vlan-interface20
ip address 10.32.190.60 255.255.255.224
# ----------------------------------vlan201
interface Vlan-interface201
ip address 10.110.81.40 255.255.255.224
#
interface M-GigabitEthernet0/0/0
# ----------------光纤接入1口
interface Ten-GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
port trunk permit vlan all
# ----------------------------出口7
interface Ten-GigabitEthernet1/0/7
port link-mode bridge
description to_LYQ
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 201 1803 3649
# ----------------------------出口11
interface Ten-GigabitEthernet1/0/11
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 201 953 985
# ------------------------静态路由
ip route-static 0.0.0.0 0 10.32.190.34
ip route-static 10.32.184.5 32 10.110.81.33
ip route-static 10.109.220.0 24 10.109.220.1
暂无评论