Port List
Port List defines the group of Layer 4 Port attribute that can be used in Security Policies.
Diagram
Section titled “Diagram”Classes
Section titled “Classes”policy_objects (sdwan)
Section titled “policy_objects (sdwan)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
port_lists | List | [port_lists] | No |
port_lists (sdwan.policy_objects)
Section titled “port_lists (sdwan.policy_objects)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[A-Za-z0-9\-_]{1,32}$ | Yes | |
ports | List | Integer[min: 0 , max: 65535 ] | Yes |
Examples
Section titled “Examples”Example-1: This example shows how to configure Port list consisting ports 22 and 23.
sdwan: policy_objects: port_lists: - name: Test_Device_access_ports ports: - 22 - 23
Example-2: This example shows how to configure port range in the elements of the list. The Port list consists of range of ports 8080-8082 i.e. port numbers 8080,8081,8082. Similarly the range of ports in 65529-65534.
sdwan: policy_objects: port_lists: - name: Other_Range_Ports ports: - 8080-8082 - 65529-65534