Adding members to a security zone
A security zone can include member types listed in Table 17.
Table 17: Security zone members and objects that the members identify
Security zone member | Objects that each member identifies |
---|---|
Layer 3 interface:
| All packets received or sent on the interface |
Layer 2 interface-VLAN combination | All packets received or sent on the interface that carry the specified VLAN tag |
If a security zone has multiple types of members, a packet is matched in the following order: service chain, subnet, interface, and VLAN. The match operation stops when the first matching member is found.
To add members to a security zone:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter security zone view. | security-zone name zone-name | N/A |
3. Add members to the security zone. |
| By default, a security zone does not have any members. You can perform this step multiple times to add multiple members. |