A firewall accesses an enterprise network at Layer 2. You can configure virtual systems with separate administrators to isolate departments of the enterprise.
Medium-sized enterprise A deploys a firewall as the network gateway. The network of this enterprise is divided into three subnets respectively for the R&D, financial, and administrative department. The security policies for the three departments are different and must meet the following requirements:
Configure virtual systems to meet the preceding requirements. Figure 1 shows the networking diagram.
Item |
Data |
Description |
|---|---|---|
vsysa |
|
Both the outside interface GE0/0/1 and inside interface GE0/0/2 are trunk interfaces and can be assigned to multiple virtual systems based on VLAN assignment. |
vsysb |
|
- |
vsysc |
|
- |
Resource class |
|
The three departments have similar traffic volumes and therefore are assigned the same resource class. |

The configuration is similar to that of the R&D department except the following:
Configuration script of the public system
# sysname FW # vlan batch 10 20 30 # vsys enable # resource-class r1 resource-item-limit session reserved-number 10000 maximum 50000 resource-item-limit policy reserved-number 300 resource-item-limit user reserved-number 300 resource-item-limit user-group reserved-number 10 # vsys name vsysa 1 assign vlan 10 assign resource-class r1 # vsys name vsysb 2 assign vlan 20 assign resource-class r1 # vsys name vsysc 3 assign vlan 30 assign resource-class r1 # interface GigabitEthernet0/0/1 portswitch undo shutdown port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 10 20 30 # interface GigabitEthernet0/0/2 portswitch undo shutdown port link-type trunk undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 10 20 30 # return
Configuration script of vsysa
# firewall zone trust set priority 85 add interface GigabitEthernet0/0/2 # firewall zone untrust set priority 5 add interface GigabitEthernet0/0/1 # aaa manager-user admin@@vsysa password cipher %@%@@~QEN4"Db/xmvR'5@=5)^`WN]~h`Mwn-{BNPy#ZYE>`6`f]X%@%@ service-type web telnet ssh level 15 bind manager-user admin@@vsysa role system-admin # ip address-set ipaddress1 type object address 0 range 10.3.0.2 10.3.0.10 # security-policy rule name to_internet source-zone trust destination-zone untrust source-address address-set ipaddress1 action permit rule name to_internet2 source-zone trust destination-zone untrust action deny # return
Configuration script of vsysb
# firewall zone trust set priority 85 add interface GigabitEthernet0/0/2 # firewall zone untrust set priority 5 add interface GigabitEthernet0/0/1 # aaa manager-user admin@@vsysb password cipher %@%@zG{;O|!gEN4"Db/xmvR'5@=5)^`WN]~h`Mwn-{BNPy#ZYE>`6`f] service-type web telnet ssh level 15 bind manager-user admin@@vsysb role system-admin # ip address-set ipaddress1 type object address 0 range 10.3.1.2 10.3.1.254 # security-policy rule name to_internet source-zone trust destination-zone untrust source-address address-set ipaddress1 action deny # return
Configuration script of vsysc
# firewall zone trust set priority 85 add interface GigabitEthernet0/0/2 # firewall zone untrust set priority 5 add interface GigabitEthernet0/0/1 # aaa manager-user admin@@vsysc password cipher %@%@zG{;x|!gEN5"Db/6dvR'5@=5)^`WN]~h`Mwn-{BNPy#ZYE>`6`f] service-type web telnet ssh level 15 bind manager-user admin@@vsysc role system-admin # ip address-set ipaddress1 type object address 0 range 10.3.2.2 10.3.2.254 # security-policy rule name to_internet source-zone trust destination-zone untrust source-address address-set ipaddress1 action permit # return