配置实例:都是几十个点,划分为几个VLAN
!
module 1 fi-24-port-copper-module
module 2 fi-8-port-gig-module
module 4 fi-8-port-gig-management-module
!
global-protocol-vlan
!
trunk switch ethe 4/5 to 4/6
trunk switch ethe 4/7 to 4/8
!
vlan 1 name DEFAULT-VLAN by port
!
vlan 20 name dxz by port
untagged ethe 4/1
router-interface ve 20
!
vlan 30 name nj by port
untagged ethe 4/2
--More--, next page: Space, next line: Return key, quit: Control-c router-interface ve 30
!
vlan 40 name xxz by port
untagged ethe 4/3
router-interface ve 40
!
vlan 50 name bj by port
untagged ethe 4/4
router-interface ve 50
!
vlan 10 name jf by port
untagged ethe 1/1 to 1/23 ethe 2/1 to 2/8
router-interface ve 10
!
vlan 60 name jsyl by port
untagged ethe 4/5 to 4/6
router-interface ve 60
!
vlan 70 name xsyl by port
untagged ethe 4/7 to 4/8
router-interface ve 70
!
vlan 100 name firwall by port
--More--, next page: Space, next line: Return key, quit: Control-c untagged ethe 1/24
router-interface ve 100
!
!
system-max multicast-route 256
system-max ip-filter-port 64
system-max ip-filter-sys 256
system-max l3-vlan 128
system-max ip-static-route 256
system-max vlan 512
system-max virtual-interface 512
!
enable super-user-password .....
ip route 0.0.0.0 0.0.0.0 10.1.1.254
ip route 10.1.2.0 255.255.255.0 10.1.1.254
!
interface ve 10
ip address 192.168.1.1 255.255.255.0
!
interface ve 20
ip address 192.168.2.1 255.255.255.0
!
interface ve 30
--More--, next page: Space, next line: Return key, quit: Control-c ip address 192.168.3.1 255.255.255.0
!
interface ve 40
ip address 192.168.4.1 255.255.255.0
!
interface ve 50
ip address 192.168.5.1 255.255.255.0
!
interface ve 60
ip address 192.168.6.1 255.255.255.0
!
interface ve 70
ip address 192.168.8.1 255.255.255.0
!
interface ve 100
ip address 10.1.1.1 255.255.255.0 |