Aruba Pensando Policy and Services Manager 1.62.1-T-26 User guide

Type
User guide
AMD Pensando
Policy and Services Manager
for Aruba CX 10000:
User Guide
May 2023
Disclaimer
The information presented in this document is for informational purposes only and may contain technical
inaccuracies, omissions, and typographical errors. The information contained herein is subject to change
and may be rendered inaccurate for many reasons, including but not limited to product and roadmap
changes, component and motherboard version changes, new model and/or product releases, product
differences between differing manufacturers, software changes, BIOS flashes, firmware upgrades, or the
like. Any computer system has risks of security vulnerabilities that cannot be completely prevented or
mitigated. AMD assumes no obligation to update or otherwise correct or revise this information. However,
AMD reserves the right to revise this information and to make changes from time to time to the content
hereof without obligation of AMD to notify any person of such revisions or changes.
THIS INFORMATION IS PROVIDED ‘AS IS.” AMD MAKES NO REPRESENTATIONS OR WARRANTIES
WITH RESPECT TO THE CONTENTS HEREOF AND ASSUMES NO RESPONSIBILITY FOR ANY
INACCURACIES, ERRORS, OR OMISSIONS THAT MAY APPEAR IN THIS INFORMATION. AMD
SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY, OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT WILL AMD BE
LIABLE TO ANY PERSON FOR ANY RELIANCE, DIRECT, INDIRECT, SPECIAL, OR OTHER
CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF ANY INFORMATION CONTAINED HEREIN,
EVEN IF AMD IS EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
AMD, the AMD Arrow logo, Pensando and combinations thereof are trademarks of Advanced Micro Devices,
Inc. VMware ESXi™, VMware vSphere®vMotion®and VMware vCenter®are trademarks of VMware. Other
product names used in this publication are for identification purposes only and may be trademarks of their
respective companies.
© 2022 – 2023 Advanced Micro Devices, Inc. All Rights Reserved.
amd.com/pensando
PPD22002
PSM for Aruba CX 10000 User Guide 2
Revision History
Version
Description
Date
1.0
First release
February 9, 2022
1.1
Miscellaneous updates
February 25, 2022
1.2
1.49.1-T beta: hierarchical
security policies, policy
scaling, ALG enhancements
May 13, 2022
1.3
1.49.1-T final
June 13, 2022
1.4
1.49.2-T beta
July 2022
1.5
1.49.2-T
August 11, 2022
1.6
1.49.3-T: minor corrections,
caveat on disabling vSphere
DRS
September 2022
1.7
1.54.1-T: new features (see
Release Notes)
December 2022
1.7.1
1.54.2-T: minor errata fixes to
guide; no new functionality
February 2023
1.8
1.62.0-T-Beta-2
April 2023
1.9
1.62.1-T: new features,
including policy distribution
targets, network address
translation (NAT), IP
collections.
May 2023
PSM for Aruba CX 10000 User Guide 3
Contents
Revision History 3
Introduction 9
Key Features 9
Related Documentation 10
Glossary 11
PSM Overview 13
Initial Deployment Workflow: High-Level Overview 16
PSM Object Model 16
Firewall Objects 16
Apps, Network Security Policy 17
Key PSM Objects 18
Labels 19
PSM Installation 20
Storage Considerations 20
Data Retention 21
PSM Installation on ESXi 22
PSM Installation on KVM 23
Bootstrap the PSM Cluster 26
The PSM Graphical User Interface 29
Online Help 29
Searching 30
Global Icons 32
Server Certificate 33
API Capture 33
Create PSM User Authentication Policy and Users 34
User Authentication Policy 34
Local User Lockout Policy 37
Role-Based Access Control (RBAC) 37
Roles 38
Role Binding 40
System Upgrade 40
AFC Upgrade 41
PSM Upgrade 41
Upload PSM Upgrade Bundle 41
PSM for Aruba CX 10000 User Guide 4
Create Rollout 43
AOS-CX Upgrade 44
Configuration Snapshots 45
Associating a DSS with the PSM 46
AOS-CX CLI 46
ZTP 47
AFC 48
Verification 48
Decommissioning a DSS 49
Associating the PSM to Aruba Fabric Composer 52
Firewall Policy Functionality and Configuration 53
Considerations 53
VSX and Firewall High Availability 55
Supported Topologies 56
Connection Tracking 57
Firewall Policy Configuration 57
Create a VRF 58
Create a Network Security Policy 59
The Network Graph UI feature helps discover the relationships between endpoints within a
VRF, within and between VLANs, and within or between endpoint groups. The relationships
help better understand common connection occurrences within the data center that should
be permitted. See Appendix E for a description of two methods for determining policies. 62
Rule Overlap Detection 62
Attach Policy to a Network 65
Create VRF on AOS-CX 66
Create VLAN on AOS-CX 66
Understanding Firewall Policy Scaling Profiles 67
Switch Policy Scaling Profile 67
Verifying the Number of Rules Consumed in the Data Plane 71
Understanding Hierarchical Security Policy 76
Policy Enforcement 77
Configuration and Verification 81
Enable/Disable Individual Firewall Rules 83
Configuring Firewall Log Export 85
Firewall Log Export Policy Configuration 85
Bind Export Policy to DSS 86
Firewall Log Record Format 89
PSM for Aruba CX 10000 User Guide 5
Firewall Syslog Message Examples 91
Deduplication for Firewall Logs 93
Flow Export (IPFIX) 96
Step 1a: Enable Flow Export feature globally on the switch: 96
Step 1b: Set the source IP address of the exported IPFIX packet: 96
Step 2a: Configure the Flow Export policies under the “Troubleshoot” -> “Flow Export” menu in
PSM. 97
Step 2b: Applying a flow-export policy at the DSS level 98
Step 2c: Apply the defined IPFIX flow-export-policy at the VRF level 99
Guidelines 100
Considerations 100
IP Flow Information Export (IE) Entities (1/2) 102
IP Flow Information Export (IE) Entities (2/2) 103
Configuring Apps 105
Protocol And Ports 106
ALG 107
DDoS Detection and Alerting: Maximum Sessions and CPS Limits 108
Maximum Session Limit 108
Maximum CPS 108
Min and Max Values 110
Configuring the Maximum Sessions / CPS on a VRF via the PSM UI 110
Configuring the Maximum Sessions/CPS on a Network via the PSM UI 111
API Examples 111
Behavior on Reaching the Maximum Session Limit 115
Behavior on Reaching the Maximum CPS Limit 115
Implication of Configuring session-limit on an Active System 116
VSX Implications 116
Multiple ALG Types/Apps/Protocols in Firewall Policy Rules 118
Steps To Configure Rules With Multiple Proto-Ports Via the PSM UI 118
Steps to configure rules with multiple ALG types via the PSM UI: 119
API Examples: 120
API Example: Policy with Rule Referencing Multiple ALG Types: 122
IP Protocols Support for Firewall Policy 122
UI Examples 123
API Examples 124
Policy Distribution Targets 126
Adding a Switch to a PDT 126
PSM for Aruba CX 10000 User Guide 6
IP Collections 128
Defining an IP Collection 128
Using an IP Collection 128
Caveats 130
Network Address Translation (NAT) 131
NAT in Data Center Design 131
NAT Policy Direction 131
Ingress NAT Policy 131
Egress NAT policy 132
Supported NAT Operations 132
Supported Static One-to-One NAT Types 132
Source NAT 133
Destination NAT 134
Twice NAT 136
Configure NAT Policy on the PSM 137
Switch-Side Configuration: 137
Step 1: Preparing the DSS to be in border leaf mode 137
Step 2: Configuring interface persona 138
Step 3: Advertise the post NATed addresses in IGP 138
PSM Side Configuration: 139
Step 1: Defining a policy distribution target (PDT) containing the border-leaf DSS devices
139
On the PSM UI: 139
Step 2: Define and apply source NAT policies 140
Step 2a: Define a required NAT policy 140
Step 2b: Apply the NAT policy on the VRF 141
Considerations 141
Example: SNAT flow on DSM 142
Example: NAT rule statistics 142
Step 3: Defining and applying destination NAT 143
Step 3a: Defining a destination NAT policy 143
Step 3b: Apply the NAT policy on the VRF 144
Step 3c: Defining a destination NAT policy with both DIP and DPORT translation 145
Step 3d: Apply the defined DNAT policy on the VRF for enforcement 145
Step 3e: Defining a twice NAT policy with SIP, DIP and DPORT translation 146
Caveats 147
Stateful Firewall Flow Migration with vMotion 148
PSM for Aruba CX 10000 User Guide 7
Considerations for Multi-Homed ESX Servers 149
Behavior with Flow Logs and Flow Statistics 149
Configuration 150
DSS Required AOS-CX CLI Configuration 151
Caveats 152
Monitoring the DSM via the PSM UI 153
Metrics Charts 156
PSM Automation 160
Python Language Bindings 160
Ansible Modules 160
REST API 162
Tech Support Collection 163
Appendix A: PSM Quorum High Availability 165
Appendix B: PSM Operational Network Ports 166
Appendix C: Configuring Microsegmentation in Non-AFC Environments 169
Topology 169
Configuration on the DSS 170
Global Config Mapping the Primary and Secondary VLAN 170
Host-Facing Interface Configured as Regular Trunk,
Allowing Both Primary and Secondary VLAN 170
SVI Config on Primary with Local Proxy ARP 171
Configuring VMware (ESXi) 171
Configuration on the PSM 171
Appendix D: Saving the PSM Recovery Key 172
Saving the Key 172
Recovering the Cluster 173
Appendix E: Using the PSM Network Graph
to Create Security Policies 174
First Method 174
Second Method 184
PSM for Aruba CX 10000 User Guide 8
Introduction
This guide describes how to install and operate the AMD Pensando Policy and Services
Manager (PSM) to manage the stateful services of the Aruba CX 10000 with AMD Pensando
distributed services switch (abbreviated as either CX 10000 or DSS).
The PSM can be accessed via the IP address or host name of any of the PSM cluster nodes
or, if a load balancer is being used, the IP address or host name presented by the load
balancer. In this document, the PSM address will be referenced as either $PSMaddr when
used in the context of shell commands or scripts, or as PSMaddr in other examples.
The PSM is managed through either its browser-based GUI or its secure RESTful API. Most
examples in this document show the GUI, which is accessible at the URI
https://PSMaddr .
Key Features
Core functionality supported includes:
Distributed stateful firewall
Microsegmentation (using PVLAN)
DDoS detection and alerting
Firewall logging and metrics
Network address translation (NAT)
● IPFIX
Full AOS-CX routing and switching feature set
(see AOS-CX documentation for further details)1
Fabric and services orchestration with AFC and PSM
1https://www.arubanetworks.com/techdocs/AOS-CX/help_portal/Content/ArubaTopics/Switches/10000.htm
PSM for Aruba CX 10000 User Guide 9
Related Documentation
Aruba CX 10000 Switch Series Installation and Getting Started Guide
PSM Release Notes
Release notes for AOS-CX and Aruba Fabric Composer (AFC)
Aruba Fabric Composer User Guide
AOS-CX Feature Guides
Aruba transceiver data sheet
Aruba documentation can be found at the Aruba 10000 Switch Series documentation portal.
See the Aruba Support Portal for details on feature support.
Review the PSM release notes for details and information about new features, known issues,
fixed bugs, and supported servers, cables, and switches.
PSM for Aruba CX 10000 User Guide 10
Glossary
Name
Description
AFC
Aruba Fabric Composer
AOS-CX
The Aruba switch operating system, providing
network services functions and management
CoPP
Control Plane Policing
Data traffic
(aka data plane traffic) the actual network data
being processed by the DSS environment
DSE
Distributed Services Entity: collectively describes
the services and monitorability provided by the two
DSMs in a DSS
DSM
AMD Pensando Distributed Services Module (two
per DSS): the stateful services execution engine of
the DSS
DSS
Aruba Distributed Services Switch with AMD
Pensando
Egress
Traffic leaving a host to fabric, in reference to
security policies
Ingress
Traffic entering a host from fabric, in reference to
security policies
ISL
Inter-Switch Link, a layer 2 interface between two
VSX peer switches
Management and control traffic
(processed by the management and control plane)
network communication related to the
interoperability, reporting, and policy management
of the DSS environment
Table 1: Glossary of terms (1/2)
PSM for Aruba CX 10000 User Guide 11
Name
Description
Persona
A configuration type that can be set for a port,
determining if it is connected to workloads or to the
network. Can be either access for host-facing
ports, or uplink for fabric-facing ports.
PVLAN
Private virtual LAN
PSM
AMD Pensando Policy and Services Manager
VRF
Virtual Routing and Forwarding instance
VSX
Aruba Virtual Switching Extension, providing high
availability and redundancy capabilities
ZTP
Zero-Touch Provisioning: automated network
configuration and deployment of managed devices
Table 1: Glossary of terms (2/2)
PSM for Aruba CX 10000 User Guide 12
PSM Overview
The AMD Pensando Policy and Services Manager is a programmable, secure, highly
available, centralized system for managing infrastructure policy, with capabilities for:
Deploying and controlling distributed firewall security
Telemetry and analytics
● Troubleshooting
Operations and maintenance: events, alerts, technical support
Authentication, authorization, and accounting (AAA)
The PSM is designed to establish and manage consistent policies for a number of Distributed
Services Switches. (Refer to the Aruba CX 10000 Release Notes for current support limits.)
The PSM operates as a 3-node quorum-based cluster running on virtual machines (VMs)
hosted on multiple servers for fault tolerance. A PSM cluster can tolerate the loss of one
controller node and continue to maintain full service. The PSM cluster is not involved in
datapath operations; if it becomes unreachable or multiple nodes fail, there will be no impact
on data traffic and stateful services on the DSSes it manages.
PSM for Aruba CX 10000 User Guide 13
Figure 1 is a diagram of the interconnection between the PSM and the switches it manages;
interactions take place through an IP network.
Figure 1. PSM/DSS management plane
Each DSS is configured with an IP address that is used for communication with its associated
PSM over any IP network. This is referred to as its management address.
Each DSS runs an agent which constantly watches for incoming configuration changes upon
which it must take action.
The PSM employs an intent-based configuration management structure, similar to Kubernetes.
Any configuration changes are continuously monitored within the PSM until it has been
confirmed that the changes have been propagated to all DSSes. The PSM resends
configuration requests until the desired state is reported back from each DSS, as shown in
Figure 2:
PSM for Aruba CX 10000 User Guide 14
Figure 2. Working principles of intent-based configuration
Intent is expressed in terms of policies established for firewall and flow telemetry.
PSM for Aruba CX 10000 User Guide 15
Initial Deployment Workflow: High-Level Overview
This is an outline of the steps necessary for initial deployment of a PSM cluster and its
associated DSSes. Detailed steps are provided further below in this document.
Install the PSM
Install the PSM software on either an ESX-based or KVM-based 3-node cluster.
Configure the PSM using the bootstrap_PSM.py utility.
Save a copy of the PSM recovery key on a different server from PSM, in case the
PSM needs to be rebuilt later as part of disaster recovery. (Refer to Appendix D
for more details)
Set the PSM user authentication policy, and create PSM users with appropriate
roles.
DSS Configuration
For each DSS:
Plan for one additional IP address allocated to each DSS as a management
interface, configured either from its host or via DHCP.
Associate each DSS to the PSM
Admit the DSS into its PSM cluster. The PSM can be configured to do this
automatically.
Installation of the PSM cluster is a one-time activity; other procedures may be performed
during initial installation, but will also be part of the standard operation of the PSM, performed
as more DSSes are added.
PSM Object Model
The PSM’s intent-based paradigm relies on the PSM object model described in this section.
Firewall Objects
The primary firewall objects are illustrated in Figure 3. The NSPRule (Network Security Policy
Rule) specifies the firewall behavior, but is not a managed object itself. Instead, the
NetworkSecurityPolicy is the managed object that contains an array of NSPRule
2
specifications.
2Refer to the Release Notes for the number of NetworkSecurityPolicy objects supported.
PSM for Aruba CX 10000 User Guide 16
Figure 3. PSM primary firewall objects: NetworkSecurityPolicy, NSPRule, and App
Apps, Network Security Policy
In PSM terminology, an App is a service defined either by a protocol/port pair, or by an
application level gateway (ALG) for any of several predefined apps. A Network Security Policy
is a collection of firewall rules governing App connectivity.
PSM for Aruba CX 10000 User Guide 17
Key PSM Objects
Table 3 contains sample key PSM objects. For a complete list please refer to the REST API
online help available through the PSM GUI.
Object
Description
Distributed
Services
Entity
Tenant
VRF
Network
Security
Policy
App
Table 3. PSM objects (part 1/2)
PSM for Aruba CX 10000 User Guide 18
Object
Description
Firewall
Export Policy
Syslog destination for firewall logs
Firewall
Profiles
Provides the ability to modify session idle timeout (stateless)
and TCP timeout (stateful)
Alert Policies
A collection of conditions that trigger operator alerts of a given
severity type. Triggered alerts are then sent to designated
syslog destinations
Event
Policies
The Event stream captures all configuration changes as well as
system state changes. All Events can be streamed to
designated syslog destinations.
Table 3. PSM objects (part 2/2)
Labels
Each object can be associated with one or more labels that can be used to refer to a group of
objects, which is a very effective way to enable “administration at scale”.
Note: Labels that begin with "io.pensando." are reserved for system use, and
cannot be created or modified by the user. if the user attempts to create or
modify an object's labels with a system label, the label will be silently removed
from the user configuration.
PSM for Aruba CX 10000 User Guide 19
PSM Installation
Note: Before installation, see the Release Notes for the minimum resource
requirements needed to operate the PSM, as well as the minimum supported
versions of virtualization platforms, AOS-CX and Aruba Fabric Composer in
conjunction with a given PSM release.
The AMD Pensando PSM software is installed on a virtualized compute infrastructure based
on VMware ESXi™ or KVM QEMU emulator. The PSM is delivered as an OVA package for
ESXi, or a QCOW2 image for KVM. The recommended configuration to ensure high availability
is to install three instances of the PSM software on three physical servers; a single-node PSM
cluster configuration is also supported for smaller deployments. See the Release Notes for the
maximum number of DSSes supported per PSM configuration.
Storage Considerations
The storage requirement when firewall logs are exported to the PSM shown in Tables 3 and 3a
is based on the assumption that the PSM is receiving 1k logs per second.
With increased firewall logs ingestion rates, it is recommended to take into consideration future
requirements when initially sizing necessary disk space. However, extra space can be added
to the PSM VMs by adding an additional disk. Follow the specific instructions for the hypervisor
the PSM is deployed on.
To estimate current and future storage requirements over time for maximum flow log ingestion
rates for either a 3-node or 1-node PSM cluster, use Table 4:
Cluster Size
Ingestion Rate
Total Storage
3 Days
7 Days
14 Days
30 Days
3 nodes
Sustained 10k LPS
1.04 TB
1.66 TB
2.76 TB
5.28 TB
1 node
Sustained 2k LPS
206.16 GB
320 GB
516.4 GB
967.6 GB
Table 4. Flow log storage estimator
PSM for Aruba CX 10000 User Guide 20
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195

Aruba Pensando Policy and Services Manager 1.62.1-T-26 User guide

Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI