敲半天一个闪退全™给我干没了呜呜呜,eNSP,wcnm!wcnm!wcnm!
1.部门可以访问公司资源和互联网资源
2.部门之间不能互访
3.服务器要有单独的服务器区和交换机内部网络使用私有ip地址
配置vlan/各端口类型/链路聚合
SW1~8, SW10
#
vlan batch 10 20 30 40 50 60 100
#
SW1
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
stp edged-port enable
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 10
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 10
#
SW2
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 20
stp edged-port enable
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 20
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 20
#
SW3
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 30
stp edged-port enable
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 30
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 30
#
SW4
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 40
stp edged-port enable
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 40
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 40
#
SW5
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 50
stp edged-port enable
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 50
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 50
#
SW6
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 60
stp edged-port enable
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 60
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 60
#
SW7
[SW7]port-group trunk
[SW7-port-group-trunk]group-member g0/0/1 to g0/0/7
[SW7-port-group-trunk]p l t
[SW7-port-group-trunk]p t a v all
//链路聚合
[SW7]int Eth-Trunk 1
[SW7-Eth-Trunk1]trunkport g0/0/10
[SW7-Eth-Trunk1]trunkport g0/0/11
[SW7-Eth-Trunk1]p l t
[SW7-Eth-Trunk1]p t a v all
[S