AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010 CLI-based Configuration Guide - Security
Creating a Zone and Adding Interfaces to the Zone
Context
To configure firewall functions, create zones. Then you can deploy security services according to the priorities of the zones. The device considers that data transmission within a zone is reliable and does not enforce any security policy on intra-zone data transmission. The device verifies data and enforces security policies only when the data is transmitted from one zone to another.
You must configure a priority for a zone before making other configurations. The priority cannot be changed. Each zone must have a different priority. A larger priority value indicates a higher priority.
The firewall takes effect only after interfaces are added to zones.
The device automatically creates a zone named Local. The Local zone has the highest priority and cannot be deleted. In addition, the priority of this zone cannot be changed, and no interface can be added to this zone. To apply the firewall function to the control packets that need to be processed by the device, use the Local zone.
Procedure
- Run system-view
The system view is displayed.
- Run firewall zone zone-name
A zone is created.
By default, no zone is created on the Router.
- Run priority security-priority
A priority is set for the zone.
- Run quit
Return to the system view.
- Run interface interface-type interface-number
The interface view is displayed.
- Run zone zone-name
The interface is added to the zone.
Each zone has multiple interfaces, but an interface can be added to only one zone.