专科华为ensp网络毕业设计(企业网万金油拓扑)

专科华为ensp网络毕业设计(企业网万金油拓扑)_第1张图片

没有废话,上玩意

接入层 (其他接入略)
#
sysname sw1
#
vlan batch 10 20 101
#
interface Ethernet0/0/1
 port link-type access
 port default vlan 10
#
interface Ethernet0/0/2
 port link-type access
 port default vlan 20
#
interface Ethernet0/0/3
 port link-type trunk
 port trunk pvid vlan 101
 port trunk allow-pass vlan 10 101
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 10 20 101
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 10 20 101
#

汇聚层(其他汇聚略)

#
sysname sw4
#
vlan batch 10 20 30 40 101
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 10 20 30 40 101
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 10 20 30 40 101
#
interface GigabitEthernet0/0/3
 port link-type trunk
 port trunk allow-pass vlan 10 20 101
#
interface GigabitEthernet0/0/4
 port link-type trunk
 port trunk allow-pass vlan 20 30 101
#
interface GigabitEthernet0/0/5
 port link-type trunk
 port trunk allow-pass vlan 30 40 101


核心1
#
sysname sw6
#
vlan batch 10 20 30 40 60 100 to 102
#
stp instance 0 root primary
#
dhcp enable
#
interface Vlanif10
 ip address 10.0.10.252 255.255.255.0 
 vrrp vrid 10 virtual-ip 10.0.10.254
 vrrp vrid 10 priority 120
 vrrp vrid 10 track interface GigabitEthernet0/0/1 reduced 30
 dhcp select interface
#
interface Vlanif20
 ip address 10.0.20.252 255.255.255.0 
 vrrp vrid 20 virtual-ip 10.0.20.254
 vrrp vrid 20 priority 120
 vrrp vrid 20 track interface GigabitEthernet0/0/1 reduced 30
 dhcp select interface
#
interface Vlanif30
 ip address 10.0.30.252 255.255.255.0 
 vrrp vrid 30 virtual-ip 10.0.30.254
 vrrp vrid 30 priority 120
 vrrp vrid 30 track interface GigabitEthernet0/0/1 reduced 30
 dhcp select interface
#
interface Vlanif40
 ip address 10.0.40.252 255.255.255.0 
 vrrp vrid 40 virtual-ip 10.0.40.254
 vrrp vrid 40 priority 120
 vrrp vrid 40 track interface GigabitEthernet0/0/1 reduced 30
 dhcp select interface
#
interface Vlanif60
 ip address 172.16.0.252 255.255.255.0 
 vrrp vrid 60 virtual-ip 172.16.0.254
 vrrp vrid 60 priority 120
 vrrp vrid 60 track interface GigabitEthernet0/0/1 reduced 30
#
interface Vlanif100
 ip address 10.0.0.1 255.255.255.252 
#
interface Vlanif102
 ip address 10.0.0.10 255.255.255.252 
#
interface Eth-Trunk1
 port link-type trunk
 port trunk allow-pass vlan 10 20 30 40 60 101
#
interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 100
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 10 20 30 40 101
#
interface GigabitEthernet0/0/3
 port link-type trunk
 port trunk allow-pass vlan 10 20 30 40 101
#
interface GigabitEthernet0/0/4
 port link-type trunk
 port trunk allow-pass vlan 10 20 30 40 101 to 102
#
interface GigabitEthernet0/0/10
 port link-type trunk
 port trunk allow-pass vlan 60
#
interface GigabitEthernet0/0/23
 eth-trunk 1
#
interface GigabitEthernet0/0/24
 eth-trunk 1
#
ospf 1 
 silent-interface Vlanif102
 area 0.0.0.0 
  network 172.16.0.0 0.0.0.255 
  network 10.0.0.0 0.0.0.3 
  network 10.0.0.4 0.0.0.3 
  network 10.0.0.8 0.0.0.3 
 area 0.0.0.1 
  network 10.0.10.0 0.0.0.255 
  network 10.0.20.0 0.0.0.255 
  network 10.0.30.0 0.0.0.255 
  network 10.0.40.0 0.0.0.255 
#

核心2
#
sysname sw7
#
vlan batch 10 20 30 40 60 100 to 101
#
stp instance 0 root secondary
#
dhcp enable
#
interface Vlanif10
 ip address 10.0.10.253 255.255.255.0 
 vrrp vrid 10 virtual-ip 10.0.10.254
 dhcp select interface
#
interface Vlanif20
 ip address 10.0.20.253 255.255.255.0 
 vrrp vrid 20 virtual-ip 10.0.20.254
 dhcp select interface
#
interface Vlanif30
 ip address 10.0.30.253 255.255.255.0 
 vrrp vrid 30 virtual-ip 10.0.30.254
 dhcp select interface
#
interface Vlanif40
 ip address 10.0.40.253 255.255.255.0 
 vrrp vrid 40 virtual-ip 10.0.40.254
 dhcp select interface
#
interface Vlanif60
 ip address 172.16.0.253 255.255.255.0 
 vrrp vrid 60 virtual-ip 172.16.0.254
#
interface Vlanif100
 ip address 10.0.0.5 255.255.255.252 
#
interface Eth-Trunk1
 port link-type trunk
 port trunk allow-pass vlan 10 20 30 40 60 101
#
interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 100
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 10 20 30 40 101
#
interface GigabitEthernet0/0/3
 port link-type trunk
 port trunk allow-pass vlan 10 20 30 40 101
#
interface GigabitEthernet0/0/10
 port link-type trunk
 port trunk allow-pass vlan 60
#
interface GigabitEthernet0/0/23
 eth-trunk 1
#
interface GigabitEthernet0/0/24
 eth-trunk 1
#
ospf 1 
 area 0.0.0.0 
  network 10.0.0.0 0.0.0.3 
  network 10.0.0.4 0.0.0.3 
  network 172.16.0.0 0.0.0.255 
 area 0.0.0.1 
  network 10.0.10.0 0.0.0.255 
  network 10.0.20.0 0.0.0.255 
  network 10.0.30.0 0.0.0.255 
  network 10.0.40.0 0.0.0.255 

防火墙

#
sysname USG6000V1
#
interface GigabitEthernet1/0/0
 undo shutdown
 ip address 10.0.0.2 255.255.255.252
#
interface GigabitEthernet1/0/1
 undo shutdown
 ip address 10.0.0.6 255.255.255.252
#
interface GigabitEthernet1/0/2
 undo shutdown
 ip address 220.100.0.1 255.255.255.0
#
firewall zone trust
 set priority 85
 add interface GigabitEthernet0/0/0
 add interface GigabitEthernet1/0/0
 add interface GigabitEthernet1/0/1
#
firewall zone untrust
 set priority 5
 add interface GigabitEthernet1/0/2
#
ospf 1
 default-route-advertise
 area 0.0.0.0
  network 10.0.0.2 0.0.0.0
  network 10.0.0.6 0.0.0.0
#
ip route-static 0.0.0.0 0.0.0.0 220.100.0.2
#
security-policy
 rule name T-U
  source-zone trust
  destination-zone untrust
  source-address 10.0.10.0 mask 255.255.255.0
  source-address 10.0.20.0 mask 255.255.255.0
  source-address 10.0.30.0 mask 255.255.255.0
  source-address 10.0.40.0 mask 255.255.255.0
  action permit
#
nat-policy
 rule name T-U
  source-zone trust
  destination-zone untrust
  source-address 10.0.10.0 mask 255.255.255.0
  source-address 10.0.20.0 mask 255.255.255.0
  source-address 10.0.30.0 mask 255.255.255.0
  source-address 10.0.40.0 mask 255.255.255.0
  action source-nat easy-ip
#

AC
#
vlan batch 10 20 30 40 101 to 102
#
dhcp enable
#
ip pool ap
 gateway-list 10.0.1.254 
 network 10.0.1.0 mask 255.255.255.0 
 option 43 sub-option 3 ascii 10.0.0.9 
#
interface Vlanif101
 ip address 10.0.1.254 255.255.255.0
 dhcp select global
#
interface Vlanif102
 ip address 10.0.0.9 255.255.255.252
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 10 20 30 40 101 to 102
#
ip route-static 0.0.0.0 0.0.0.0 10.0.0.10
#
capwap source interface vlanif102
#
wlan

 security-profile name sec
  security wpa-wpa2 psk pass-phrase %^%#+!SyUB4ck%lV_X#id8"!]hYp<'Z>l

你可能感兴趣的:(企业网,华为,网络,网络技术,毕业设计,企业网设计)