NSX-T 2.5 Data Center Administration Guide
NSX-T 2.5 Data Center Administration Guide
Administration Guide
Modified on 28 FEB 2020
VMware NSX-T Data Center 2.5
NSX-T Data Center Administration Guide
You can find the most up-to-date technical documentation on the VMware website at:
https://docs.vmware.com/
docfeedback@vmware.com
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
©
Copyright 2020 VMware, Inc. All rights reserved. Copyright and trademark information.
VMware, Inc. 2
Contents
2 Tier-0 Gateways 16
Add a Tier-0 Gateway 16
Create an IP Prefix List 20
Create a Community List 21
Configure a Static Route 21
Create a Route Map 22
Using Regular Expressions to Match Community Lists When Adding Route Maps 24
Configure BGP 25
Configure BFD 28
Configure IPv6 Layer 3 Forwarding 28
Create SLAAC and DAD Profiles for IPv6 Address Assignment 29
3 Tier-1 Gateway 31
Add a Tier-1 Gateway 31
4 Segments 33
Segment Profiles 33
Understanding QoS Segment Profile 34
Understanding IP Discovery Segment Profile 36
Understanding SpoofGuard Segment Profile 38
Understanding Segment Security Segment Profile 39
Understanding MAC Discovery Segment Profile 41
Add a Segment 42
VMware, Inc. 3
NSX-T Data Center Administration Guide
7 Load Balancing 85
Key Load Balancer Concepts 85
Scaling Load Balancer Resources 86
Supported Load Balancer Features 87
Load Balancer Topologies 88
Setting Up Load Balancer Components 90
Add Load Balancers 90
Add an Active Monitor 92
Add a Passive Monitor 95
Add a Server Pool 96
Setting Up Virtual Server Components 100
Groups Created for Server Pools and Virtual Servers 122
VMware, Inc. 4
NSX-T Data Center Administration Guide
10 Security 132
Security Terminology 132
Identity Firewall 133
Identity Firewall Workflow 134
Layer 7 Context Profile 136
Layer 7 Firewall Rule Workflow 137
Attributes 138
Distributed Firewall 141
Firewall Drafts 142
Add a Distributed Firewall 144
Firewall Packet Logs 147
Select a Default Connectivity Strategy 147
Manage a Firewall Exclusion List 148
Filtering Specific Domains (FQDN/URLs) 149
Extending Security Policies to Physical Workloads 150
East-West Network Security - Chaining Third-party Services 157
Key Concepts of Network Protection East-West 157
High-Level Tasks for East-West Network Security 158
Deploy a Service for East-West Traffic Introspection 158
Add a Service Profile 160
Add a Service Chain 160
Add Redirection Rules for East-West Traffic 161
Configuring a Gateway Firewall 163
Add a Gateway Firewall Policy and Rule 164
North-South Network Security - Inserting Third-party Service 167
High-Level Tasks for North-South Network Security 167
Deploy a Service for North-South Traffic Introspection 167
Configure Traffic Redirection 169
Add Redirection Rules for North-South Traffic 170
Monitor Traffic Redirection 171
Endpoint Protection 171
Understand Endpoint Protection 172
Configure Endpoint Protection 176
Manage Endpoint Protection 191
Security Profiles 202
Create a Session Timer 202
Flood Protection 203
Configure DNS Security 205
Manage Group to Profile Precedence 206
VMware, Inc. 5
NSX-T Data Center Administration Guide
11 Inventory 208
Add a Service 208
Add a Group 209
Add a Context Profile 210
12 Monitoring 212
Add a Firewall IPFIX Profile 212
Add a Switch IPFIX Profile 213
Add an IPFIX Collector 214
Add a Port Mirroring Profile 214
Simple Network Management Protocol (SNMP) 215
Advanced Monitoring Tools 216
View Port Connection Information 216
Traceflow 216
Monitor Port Mirroring Sessions 219
Configure Filters for a Port Mirroring Session 222
Configure IPFIX 223
Monitor a Logical Switch Port Activity 393
Monitor Fabric Nodes 393
VMware, Inc. 6
NSX-T Data Center Administration Guide
VMware, Inc. 7
NSX-T Data Center Administration Guide
VMware, Inc. 8
NSX-T Data Center Administration Guide
VMware, Inc. 9
NSX-T Data Center Administration Guide
VMware, Inc. 10
NSX-T Data Center Administration Guide
VMware, Inc. 11
About Administering VMware NSX-T Data
Center
The NSX-T Data Center Administration Guide provides information about configuring and managing
networking for VMware NSX-T™ Data Center, including how to create logical switches and ports and how
to set up networking for tiered logical routers, configure NAT, firewalls, SpoofGuard, grouping and DHCP.
It also describes how to configure NSX Cloud.
Intended Audience
This information is intended for anyone who wants to configure NSX-T Data Center. The information is
written for experienced Windows or Linux system administrators who are familiar with virtual machine
technology, networking, and security operations.
VMware, Inc. 12
1
Overview of the NSX Manager
The NSX Manager provides a web-based user interface where you can manage the NSX-T environment.
It also hosts the API server that processes API calls.
The NSX Manager web interface provides two methods of configuring resources.
n The Policy interface: the Networking, Security, Inventory, and Plan & Troubleshoot tabs.
n If you are deploying a new environment with NSX-T Data Center 2.4 or later, using the new policy-
based user interface to create and manage your environment is the best choice in most situations.
n Some features are not available in the policy-based user interface. If you need these features,
use the Advanced user interface for all configurations.
n If you are upgrading to NSX-T Data Center 2.4 or later, continue to make configuration changes using
the Advanced Networking & Security user interface.
Most new deployments should use the policy-based interface. Deployments which were created using the advanced interface,
for example, upgrades from versions before the policy-based
interface was present.
NSX Cloud deployments Deployments which integrate with other plugins. For example,
NSX Container Plug-in, Openstack, and other cloud
management platforms.
VMware, Inc. 13
NSX-T Data Center Administration Guide
Networking features available in the Policy interface only: Networking features available in the Advanced interface only:
n DNS Services and DNS Zones n Forwarding up timer
n VPN n Static routes with BFD and interface as next-hop
n Forwarding policies for NSX Cloud n Metadata proxy
n DHCP server attached to an isolated segment and static
binding
Security features available in the Policy interface only: Security features available in the Advanced interface only:
n Endpoint Protection n CPU and memory thresholds
n Network Introspection (East-West Service Insertion) n Bridge Firewall
n Context Profiles n Distributed Firewall rules based on IPs in source and
n L7 applications destination
n FQDN
n New Distributed Firewall and Gateway Firewall Layout
n Categories
n Auto service rules
n Drafts
You can use the advanced interface to modify objects that have been created in the policy interface. The
settings for a policy-created object might include a link for Advanced Configuration. This link takes you
to the advanced interface where you can fine-tune the configuration. You can also view policy-created
objects in the advanced interface directly. Settings that are managed by policy but are visible in the
advanced interface have this icon next to them: . You cannot modify them from the advanced user
interface.
VMware, Inc. 14
NSX-T Data Center Administration Guide
API URIs that begin with /policy/api API URIs that begin with /api
Note The System tab is used for all environments. If you modify Edge nodes, Edge clusters, or
transport zones, it can take up to 5 minutes for those changes to be visible on the policy-based user
interface. You can synchronize immediately using POST /policy/api/v1/infra/sites/default/
enforcement-points/default?action=reload.
For more information about using the policy API, see the NSX-T Policy API Getting Started Guide.
VMware, Inc. 15
2
Tier-0 Gateways
A tier-0 gateway performs the functions of a tier-0 logical router. It processes traffic between the logical
and physical networks.
NSX Cloud Note If using NSX Cloud, see How to use NSX-T Data Center Features with the Public
Cloud for a list of auto-generated logical entities, supported features, and configurations required for NSX
Cloud.
An Edge node can support only one tier-0 gateway or logical router. When you create a tier-0 gateway or
logical router, make sure you do not create more tier-0 gateways or logical routers than the number of
Edge nodes in the NSX Edge cluster.
Note In the Advanced Networking & Security tab, the term tier-0 logical router is used to refer to a
tier-0 gateway.
n Using Regular Expressions to Match Community Lists When Adding Route Maps
n Configure BGP
n Configure BFD
VMware, Inc. 16
NSX-T Data Center Administration Guide
You can configure the HA (high availability) mode of a tier-0 gateway to be active-active or active-standby.
The following services are only supported in active-standby mode:
n NAT
n Load balancing
n Stateful firewall
n VPN
If you configure route redistribution for the tier-0 gateway, you can select from two groups of sources:
tier-0 subnets and advertised tier-1 subnets. The sources in the tier-0 subnets group are:
Connected Interfaces and These include external interface subnets, service interface subnets and segment subnets
Segments connected to the tier-0 gateway.
Static Routes Static routes that you have configured on the tier-0 gateway.
NAT IP NAT IP addresses owned by the tier-0 gateway and discovered from NAT rules that are
configured on the tier-0 gateway.
IPSec Local IP Local IPSEC endpoint IP address for establishing VPN sessions.
DNS Forwarder IP Listener IP for DNS queries from clients and also used as source IP used to forward DNS
queries to upstream DNS server.
Connected Interfaces and These include segment subnets connected to the tier-1 gateway and service interface subnets
Segments configured on the tier-1 gateway.
Static Routes Static routes that you have configured on the tier-1 gateway.
NAT IP NAT IP addresses owned by the tier-1 gateway and discovered from NAT rules that are
configured on the tier-1 gateway.
LB SNAT IP IP address or a range of IP addresses used for source NAT by the load balancer.
DNS Forwarder IP Listener IP for DNS queries from clients and also used as source IP used to forward DNS
queries to upstream DNS server.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
VMware, Inc. 17
NSX-T Data Center Administration Guide
The default mode is active-active. In the active-active mode, traffic is load balanced across all
members. In active-standby mode, all traffic is processed by an elected active member. If the active
member fails, a new member is elected to be active.
Important After you create the gateway, the HA mode cannot be changed.
Option Description
Preemptive If the preferred node fails and recovers, it will preempt its peer and become the active node. The
peer will change its state to standby.
Non-preemptive If the preferred node fails and recovers, it will check if its peer is the active node. If so, the preferred
node will not preempt its peer and will be the standby node.
This is the subnet used for communication between components within this gateway. The default
is 169.254.0.0/28.
These subnets are used for communication between this gateway and all tier-1 gateways that are
linked to it. After you create this gateway and link a tier-1 gateway to it, you will see the actual IP
address assigned to the link on the tier-0 gateway side and on the tier-1 gateway side. The
address is displayed in Additional Settings > Router Links on the tier-0 gateway page and the
tier-1 gateway page. The default is 100.64.0.0/16.
These profiles are used to configure Stateless Address Autoconfiguration (SLAAC) and Duplicate
Address Detection (DAD) for IPv6 addresses. The default profile is created.
10 Click Save.
n Tier-0 subnets: Static Routes, NAT IP, IPSec Local IP, DNS Forwarder IP, Connected
Interfaces & Segments.
Under Connected Interfaces & Segments, you can select one or more of the following: Service
Interface Subnet, External Interface Subnet, Loopback Interface Subnet, Connected
Segment.
VMware, Inc. 18
NSX-T Data Center Administration Guide
n Advertised tier-1 subnets: DNS Forwarder IP, Static Routes, LB VIP, NAT IP, LB SNAT IP,
IPSec Local Endpoint, Connected Interfaces & Segments.
Under Connected Interfaces & Segments, you can select Service Interface Subnet and/or
Connected Segment.
b Enter a name.
c Select a type.
If the HA mode is active-standby, the choices are External, Service, and Loopback. If the HA
mode is active-active, the choices are External and Loopback.
e Select a segment.
13 (Optional) If the HA mode is active-standby, click Set next to HA VIP Configuration to configure HA
VIP.
With HA VIP configured, the tier-0 gateway is operational even if one uplink is down. The physical
router interacts with the HA VIP only.
a Click Add HA VIP Configuration.
The HA VIP subnet must be the same as the subnet of the interface that it is bound to.
c Select 2 interfaces.
14 Click Routing to add IP prefix lists, community lists, static routes, and route maps.
16 Click Advanced Configuration to go to the Advanced Networking & Security > Routers page to
make additional configurations.
a To configure the layer 3 forwarding mode, click the Global Config tab.
b Click Edit.
The default is IPv4 only. IPv6 only is not supported. To enable IPv6, select IPv4 and IPv6.
d Click Save.
VMware, Inc. 19
NSX-T Data Center Administration Guide
For example, you can add the IP address 192.168.100.3/27 to the IP prefix list and deny the route from
being redistributed to the northbound router. You can also append an IP address with less-than-or-equal-
to (le) and greater-than-or-equal-to (ge) modifiers to grant or limit route redistribution. For example,
192.168.100.3/27 ge 24 le 30 modifiers match subnet masks greater than or equal to 24-bits and less
than or equal to 30-bits in length.
Note The default action for a route is Deny. When you create a prefix list to deny or permit specific
routes, be sure to create an IP prefix with no specific network address (select Any from the dropdown list)
and the Permit action if you want to permit all other routes.
Prerequisites
Verify that you have a tier-0 gateway configured. See Create a Tier-0 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 To edit a tier-0 gateway, click the menu icon (three dots) and select Edit.
4 Click Routing.
d Click Add.
11 Click Save.
VMware, Inc. 20
NSX-T Data Center Administration Guide
Community lists are user-defined lists of community attribute values. These lists can be used for matching
or manipulating the communities attribute in BGP update messages.
Both the BGP Communities attribute (RFC 1997) and the BGP Large Communities attribute (RFC 8092)
are supported. The BGP Communities attribute is a 32-bit value split into two 16-bit values. The BGP
Large Communities attribute has 3 components, each 4 octets in length.
In route maps we can match on or set the BGP Communities or Large Communities attribute. Using this
feature, network operators can implement network policy based on the BGP communities attribute.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 To edit a tier-0 gateway, click the menu icon (three dots) and select Edit.
4 Click Routing.
8 Specify a list of communities. For a regular community, use the aa:nn format, for example, 300:500.
For a large community, use the format aa:bb:cc, for example, 11:22:33. Note that the list cannot have
both regular communities and large communities. It must contain only regular communities, or only
large communities.
In addition, you can select one or more of the following regular communities. Note that they cannot be
added if the list contains large communinities.
9 Click Save.
VMware, Inc. 21
NSX-T Data Center Administration Guide
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 To edit a tier-0 gateway, click the menu icon (three dots) and select Edit.
4 Click Routing.
7 Enter a name and network address in CIDR format. Static routes based on IPv6 are supported. IPv6
prefixes can only have an IPv6 next hop.
10 Enter an IP address.
What to do next
Check that the static route is configured properly. See Verify the Static Route.
Route maps can be referenced at the BGP neighbor level and for route redistribution.
Prerequisites
n Verify that an IP prefix list or a community list is configured. See Create an IP Prefix List or Create a
Community List.
n For details about using regular expressions to define route-map match criteria for community lists,
see Using Regular Expressions to Match Community Lists When Adding Route Maps.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
VMware, Inc. 22
NSX-T Data Center Administration Guide
3 To edit a tier-0 gateway, click the menu icon (three dots) and select Edit.
4 Click Routing.
9 For each criterion, select IP Prefix or Community List and click Set to specify one or more match
expressions.
a If you selected Community List, specify match expressions that define how to match members
of community lists. For each community list, the following match options are available:
n MATCH ANY - perform the set action in the route map if any of the communities in the
community list is matched.
n MATCH ALL - perform the set action in the route map if all the communities in the community
list are matched regardless of the order.
n MATCH EXACT - perform the set action in the route map if all the communities in the
community list are matched in the exact same order.
n MATCH COMMUNITY REGEXP - perform the set action in the route map if all the regular
communities associated with the NRLI match the regular expression.
n MATCH LARGE COMMUNITY REGEXP - perform the set action in the route map if all the
large communities associated with the NRLI match the regular expression.
You should use the match criterion MATCH_COMMUNITY_REGEX to match routes against
standard communities, and use the match criterion MATCH_LARGE_COMMUNITY_REGEX to
match routes against large communities. If you want to permit routes containing either the
standard community or large community value, you must create two match criteria. If the match
expressions are given in the same match criterion, only the routes containing both the standard
and large communities will be permitted.
For any match criterion, the match expressions are applied in an AND operation, which means
that all match expressions must be satisfied for a match to occur. If there are multiple match
criteria, they are applied in an OR operation, which means that a match will occur if any one
match criterion is satisfied.
AS-path Prepend Prepend a path with one or more AS (autonomous system) numbers to make the path longer and
therefore less preferred.
VMware, Inc. 23
NSX-T Data Center Administration Guide
Community Specify a list of communities. For a regular community use the aa:nn format, for example, 300:500. For a
large community use the aa:bb:cc format, for example, 11:22:33. Or use the drop-down menu to select one
of the following:
n NO_EXPORT_SUBCONFED - Do not advertise to EBGP peers.
n NO_ADVERTISE - Do not advertise to any peer.
n NO_EXPORT - Do not advertise outside BGP confederation
Local Preference Use this value to choose the outbound external BGP path. The path with the highest value is preferred.
You can permit or deny IP addresses matched by the IP prefix lists or community lists from being
advertised.
12 Click Save.
Expression Description
_ This character has special meanings in BGP regular expressions. It matches to a space, comma, AS set
delimiters { and } and AS confederation delimiters ( and ). It also matches to the beginning of the line and
the end of the line. Therefore this character can be used for an AS value boundaries match. This character
technically evaluates to (^|[,{}()]|$).
Here are some examples for using regular expressions in route maps:
Expression Description
^101 Matches routes having community attribute that starts with 101.
^[0-9]+ Matches routes having community attribute that starts with a number between 0-9 and has one or more
instances of such a number.
VMware, Inc. 24
NSX-T Data Center Administration Guide
Expression Description
Configure BGP
To enable access between your VMs and the outside world, you can configure an external or internal
BGP (eBGP or iBGP) connection between a tier-0 gateway and a router in your physical infrastructure.
When configuring BGP, you must configure a local Autonomous System (AS) number for the tier-0
gateway. You must also configure the remote AS number. EBGP neighbors must be directly connected
and in the same subnet as the tier-0 uplink. If they are not in the same subnet, BGP multi-hop should be
used.
BGPv6 is supported for single hop and multihop. A BGPv6 neighbor only supports IPv6 addresses.
Redistribution, prefix list, and route maps are supported with IPv6 prefixes.
A tier-0 gateway in active-active mode supports inter-SR (service router) iBGP. If gateway #1 is unable to
communicate with a northbound physical router, traffic is re-routed to gateway #2 in the active-active
cluster. If gateway #2 is able to communicate with the physical router, traffic between gateway #1 and the
physical router will not be affected.
The implementation of ECMP on NSX Edge is based on the 5-tuple of the protocol number, source and
destination address, and source and destination port.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 To edit a tier-0 gateway, click the menu icon (three dots) and select Edit.
4 Click BGP.
In active-active mode, the default ASN value, 65000, is already filled in. In active-standby mode,
there is no default ASN value.
VMware, Inc. 25
NSX-T Data Center Administration Guide
c If this gateway is in active-active mode, click the Inter SR iBGP toggle to enable or disable inter-
SR iBGP. It is enabled by default.
e Click the Multipath Relax toggle button to enable or disable load-sharing across multiple paths
that differ only in AS-path attribute values but have the same AS-path length.
f In the Graceful Restart field, select Disable, Helper Only, or Graceful Restart and Helper.
You can optionally change the Graceful Restart Timer and Graceful Restart Stale Timer.
By default, the Graceful Restart mode is set to Helper Only. Helper mode is useful for eliminating
and/or reducing the disruption of traffic associated with routes learned from a neighbor capable of
Graceful Restart. The neighbor must be able to preserve its forwarding table while it undergoes a
restart.
The Graceful Restart capability is not recommended to be enabled on the tier-0 gateways
because BGP peerings from all the gateways are always active. On a failover, the Graceful
Restart capability will increase the time a remote neighbor takes to select an alternate tier-0
gateway. This will delay BFD-based convergence.
Note: Unless overridden by neighbor-specific configuration, the tier-0 configuration applies to all
BGP neighbors.
6 Click Save.
You must save the global BGP configuration before you can configure BGP neighbors.
For iBGP, enter the same AS number as the one in step 4a. For eBGP, enter the AS number of
the physical router.
e Configure In Filter.
VMware, Inc. 26
NSX-T Data Center Administration Guide
This is disabled by default. With this feature enabled, BGP neighbors can receive routes with the
same AS, for example, when you have two locations interconnected using the same service
provider. This feature applies to all the address families and cannot be applied to specific address
families.
g In the Source Addresses field, you can select a source address to establish a peering session
with a neighbor using this specific source address. If you do not select any, the gateway will
automatically choose one.
j In the Graceful Restart field, you can optionally select Disable, Helper Only, or Graceful
Restart and Helper.
Option Description
None selected The Graceful Restart for this neighbor will follow the Tier-0 gateway BGP configuration.
Disable n If the tier-0 gateway BGP is configured with Disable, Graceful Restart will be disabled for
this neighbor.
n If the tier-0 gateway BGP is configured with Helper Only, Graceful Restart will be disabled
for this neighbor.
n If the tier-0 gateway BGP is configured with Graceful Restart and Helper, Graceful Restart
will be disabled for this neighbor.
Helper Only n If the tier-0 gateway BGP is configured with Disable, Graceful Restart will be configured as
Helper Only for this neighbor.
n If the tier-0 gateway BGP is configured with Helper Only, Graceful Restart will be configured
as Helper Only for this neighbor.
n If the tier-0 gateway BGP is configured with Graceful Restart and Helper, Graceful Restart
will be configured as Helper Only for this neighbor.
Graceful Restart n If the tier-0 gateway BGP is configured with Disable, Graceful Restart will be configured as
and Helper Graceful Restart and Helper for this neighbor.
n If the tier-0 gateway BGP is configured with Helper Only, Graceful Restart will be configured
as Graceful Restart and Helper for this neighbor.
n If the tier-0 gateway BGP is configured with Graceful Restart and Helper, Graceful Restart
will be configured as Graceful Restart and Helper for this neighbor.
The unit is milliseconds. For an Edge node running in a VM, the minimum value is 1000. For a
bare-metal Edge node, the minimum value is 300.
VMware, Inc. 27
NSX-T Data Center Administration Guide
p Enter a password.
8 Click Save.
Configure BFD
BFD (Bidirectional Forwarding Detection) is a protocol that can detect forwarding path failures.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 To edit a tier-0 gateway, click the menu icon (three dots) and select Edit.
This takes you to the Advanced Networking & Security > Routers page. The gateway will appear
as one of the logical routers. Follow the instructions in Configure BFD on a Tier-0 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Edit a tier-0 gateway by clicking the menu icon (three dots) and select Edit.
This takes you to the Advanced Networking & Security > Routers page. The gateway will appear
as one of the logical routers.
8 Go to Additional Settings.
VMware, Inc. 28
NSX-T Data Center Administration Guide
Prerequisites
Navigate to Advanced Networking & Security > Routers > Global Config and select IPv4 and IPv6
as the L3 Forwarding Mode
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 To edit a tier-0 gateway, click the menu icon (three dots) and select Edit.
5 To create an ND Profile (SLAAC profile), click the menu icon (three dots) and select Create New.
b Select a mode:
n SLAAC with DNS Through RA - The address and DNS information is generated with the
router advertisement message.
n SLAAC with DNS Through DHCP - The address is generated with the router advertisement
message and the DNS information is generated by the DHCP server.
n DHCP with Address and DNS through DHCP - The address and DNS information is
generated by the DHCP server.
n SLAAC with Address and DNS through DHCP - The address and DNS information is
generated by the DHCP server. This option is only supported by NSX Edge and not by KVM
hosts or ESXi hosts.
c Enter the reachable time and the retransmission interval for the router advertisement message.
d Enter the domain name and specify a lifetime for the domain name. Enter these values only for
the SLAAC with DNS Through RA mode.
VMware, Inc. 29
NSX-T Data Center Administration Guide
e Enter a DNS server and specify a lifetime for the DNS server. Enter these values only for the
SLAAC with DNS Through RA mode.
6 To create a DAD Profile, click the menu icon (three dots) and select Create New.
b Select a mode:
n Loose - A duplicate address notification is received but no action is taken when a duplicate
address is detected.
n Strict - A duplicate address notification is received and the duplicate address is no longer
used.
c Enter the Wait Time (seconds) that specifies the interval of time between the NS packets.
d Enter the NS Retries Count that specifies the number of NS packets to detect duplicate
addresses at intervals defined in Wait Time (seconds)
VMware, Inc. 30
3
Tier-1 Gateway
A tier-1 gateway performs the functions of a tier-1 logical router. It has downlink connections to segments
and uplink connections to tier-0 gateways.
Note In the Advanced Networking & Security tab, the term tier-1 logical router is used to refer to a
tier-1 gateway.
You can configure route advertisements and static routes on a tier-1 gateway. Recursive static routes are
supported.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 (Optional) Select a tier-0 gateway to connect to this tier-1 gateway to create a multi-tier topology.
Option Description
Preemptive If the preferred NSX Edgenode fails and recovers, it will preempt its peer and become the active
node. The peer will change its state to standby. This is the default option.
Non-preemptive If the preferred NSX Edge node fails and recovers, it will check if its peer is the active node. If so,
the preferred node will not preempt its peer and will be the standby node.
VMware, Inc. 31
NSX-T Data Center Administration Guide
7 (Optional) Select an NSX Edge cluster if you want this tier-1 gateway to host stateful services (NAT,
load balancer, or firewall).
9 (Optional) Click the Enable StandBy Relocation toggle to enable or disable standby relocation.
Standby relocation means that if the Edge node where the active or standby logical router is running
fails, a new standby logical router is created on another Edge node to maintain high availability. If the
Edge node that fails is running the active logical router, the original standby logical router becomes
the active logical router and a new standby logical router is created. If the Edge node that fails is
running the standby logical router, the new standby logical router replaces it.
10 Click Save.
In the Set Route Advertisement Rules field, click Set to add route advertisement rules.
12 (Optional) Click Service Interfaces and Set to configure connections to segments. Required in some
topologies such as VLAN-backed segments or one-arm load balancing.
c Select a segment.
f Click Save.
b Enter a name and a network address in the CIDR or IPv6 CIDR format.
d Click Save.
VMware, Inc. 32
4
Segments
Note In the Advanced Networking & Security tab, the term logical switch is used to refer to a
segment.
n Segment Profiles
n Add a Segment
Segment Profiles
Segment profiles include Layer 2 networking configuration details for segments and segment ports. NSX
Manager supports several types of segment profiles.
n IP Discovery
n SpoofGuard
n Segment Security
n MAC Management
Note You cannot edit or delete the default segment profiles, but you can create custom segment
profiles.
Each default or custom segment profile has a unique identifier. You use this identifier to associate the
segment profile to a segment or a segment port.
A segment or segment port can be associated with only one segment profile of each type. You cannot
have, for example, two QoS segment profiles associated with a segment or segment port.
If you do not associate a segment profile when you create a segment, then the NSX Manager associates
a corresponding default system-defined segment profile. The children segment ports inherit the default
system-defined segment profile from the parent segment.
VMware, Inc. 33
NSX-T Data Center Administration Guide
When you create or update a segment or segment port you can choose to associate either a default or a
custom segment profile. When the segment profile is associated or disassociated from a segment the
segment profile for the children segment ports is applied based on the following criteria.
n If the parent segment has a profile associated with it, the child segment port inherits the segment
profile from the parent.
n If the parent segment does not have a segment profile associated with it, a default segment profile is
assigned to the segment and the segment port inherits that default segment profile.
n If you explicitly associate a custom profile with a segment port, then this custom profile overrides the
existing segment profile.
Note If you have associated a custom segment profile with a segment, but want to retain the default
segment profile for one of the child segment port, then you must make a copy of the default segment
profile and associate it with the specific segment port.
You cannot delete a custom segment profile if it is associated to a segment or a segment port. You can
find out whether any segments and segment ports are associated with the custom segment profile by
going to the Assigned To section of the Summary view and clicking on the listed segments and segment
ports.
For this release, shaping and traffic marking namely, CoS and DSCP is supported. The Layer 2 Class of
Service (CoS) allows you to specify priority for data packets when traffic is buffered in the segment due to
congestion. The Layer 3 Differentiated Services Code Point (DSCP) detects packets based on their
DSCP values. CoS is always applied to the data packet irrespective of the trusted mode.
NSX-T Data Center trusts the DSCP setting applied by a virtual machine or modifying and setting the
DSCP value at the segment level. In each case, the DSCP value is propagated to the outer IP header of
encapsulated frames. This enables the external physical network to prioritize the traffic based on the
DSCP setting on the external header. When DSCP is in the trusted mode, the DSCP value is copied from
the inner header. When in the untrusted mode, the DSCP value is not preserved for the inner header.
Note DSCP settings work only on tunneled traffic. These settings do not apply to traffic inside the same
hypervisor.
You can use the QoS switching profile to configure the average ingress and egress bandwidth values to
set the transmit limit rate. The peak bandwidth rate is used to support burst traffic a segment is allowed to
prevent congestion on the northbound network links. These settings do not guarantee the bandwidth but
help limit the use of network bandwidth. The actual bandwidth you will observe is determined by the link
speed of the port or the values in the switching profile, whichever is lower.
VMware, Inc. 34
NSX-T Data Center Administration Guide
The QoS switching profile settings are applied to the segment and inherited by the child segment port.
Prerequisites
n Familiarize yourself with the QoS switching profile concept. See Understanding QoS Switching
Profile.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Option Description
Mode Select either a Trusted or Untrusted option from the Mode drop-down menu.
When you select the Trusted mode the inner header DSCP value is applied to the
outer IP header for IP/IPv6 traffic. For non IP/IPv6 traffic, the outer IP header takes
the default value. Trusted mode is supported on an overlay-based logical port. The
default value is 0.
Untrusted mode is supported on overlay-based and VLAN-based logical port. For
the overlay-based logical port, the DSCP value of the outbound IP header is set to
the configured value irrespective to the inner packet type for the logical port. For
the VLAN-based logical port, the DSCP value of IP/IPv6 packet will be set to the
configured value. The DSCP values range for untrusted mode is between 0 to 63.
Note DSCP settings work only on tunneled traffic. These settings do not apply to
traffic inside the same hypervisor.
VMware, Inc. 35
NSX-T Data Center Administration Guide
Option Description
Ingress Set custom values for the outbound network traffic from the VM to the logical
network.
You can use the average bandwidth to reduce network congestion. The peak
bandwidth rate is used to support burst traffic and the burst duration is set in the
burst size setting. You cannot guarantee the bandwidth. However, you can use the
setting to limit network bandwidth. The default value 0, disables the ingress traffic.
For example, when you set the average bandwidth for the logical switch to 30
Mbps the policy limits the bandwidth. You can cap the burst traffic at 100 Mbps for
a duration 20 Bytes.
Ingress Broadcast Set custom values for the outbound network traffic from the VM to the logical
network based on broadcast.
The default value 0, disables the ingress broadcast traffic.
For example, when you set the average bandwidth for a logical switch to 50 Kbps
the policy limits the bandwidth. You can cap the burst traffic to 400 Kbps for a
duration of 60 Bytes.
Egress Set custom values for the inbound network traffic from the logical network to the
VM.
The default value 0, disables the egress traffic.
If the ingress, ingress broadcast, and egress options are not configured, the default values are used
as protocol buffers.
5 Click Save.
The discovered MAC and IP addresses are used to achieve ARP/ND suppression, which minimizes traffic
between VMs connected to the same segment. The addresses are also used by the SpoofGuard and
distributed firewall (DFW) components. DFW uses the address bindings to determine the IP address of
objects in firewall rules.
DHCP/DHCPv6 snooping inspects the DHCP/DHCPv6 packets exchanged between the DHCP/DHCPv6
client and server to learn the IP and MAC addresses.
ARP snooping inspects the outgoing ARP and GARP (gratuitous ARP) packets of a VM to learn the IP
and MAC addresses.
VM Tools is software that runs on an ESXi-hosted VM and can provide the VM's configuration information
including MAC and IP or IPv6 addresses. This IP discovery method is available for VMs running on ESXi
hosts only.
ND snooping is the IPv6 equivalent of ARP snooping. It inspects neighbor solicitation (NS) and neighbor
advertisement (NA) messages to learn the IP and MAC addresses.
VMware, Inc. 36
NSX-T Data Center Administration Guide
Duplicate address detection checks whether a newly discovered IP address is already present on the
realized binding list for a different port. This check is performed for ports on the same segment. If a
duplicate address is detected, the newly discovered address is added to the discovered list, but is not
added to the realized binding list. All duplicate IPs have an associated discovery timestamp. If the IP that
is on the realized binding list is removed, either by adding it to the ignore binding list or by disabling
snooping, the duplicate IP with the oldest timestamp is moved to the realized binding list. The duplicate
address information is available through an API call.
By default, the discovery methods ARP snooping and ND snooping operate in a mode called trust on first
use (TOFU). In TOFU mode, when an address is discovered and added to the realized bindings list, that
binding remains in the realized list forever. TOFU applies to the first 'n' unique <IP, MAC, VLAN> bindings
discovered using ARP/ND snooping, where 'n' is the binding limit that you can configure. You can disable
TOFU for ARP/ND snooping. The methods will then operate in trust on every use (TOEU) mode. In TOEU
mode, when an address is discovered, it is added to the realized bindings list and when it is deleted or
expired, it is removed from the realized bindings list. DHCP snooping and VM Tools always operate in
TOEU mode.
Note TOFU is not the same as SpoofGuard, and it does not block traffic in the same way as
SpoofGuard. For more information, see Understanding SpoofGuard Segment Profile.
For Linux VMs, the ARP flux problem might cause ARP snooping to obtain incorrect information. The
problem can be prevented with an ARP filter. For more information, see http://linux-ip.net/html/ether-
arp.html#ether-arp-flux.
For each port, NSX Manager maintains an ignore bindings list, which contains IP addresses that cannot
be bound to the port. By navigating to Advanced Networking and Security > Switching > Ports and
selecting a port, you can add discovered bindings to the ignore bindings list. You can also delete an
existing discovered or realized binding by copying it to Ignore Bindings.
Prerequisites
Familiarize yourself with the IP Discovery switching profile concepts. See Understanding IP Discovery
Switching Profile.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
VMware, Inc. 37
NSX-T Data Center Administration Guide
Option Description
ARP Snooping For an IPv4 environment. Applicable if VMs have static IP addresses.
ARP Binding Limit The maximum number of IPv4 IP addresses that can be bound to a port. The
minimum value allowed is 1 (the default) and the maximum is 256.
ARP ND Binding Limit Timeout The timeout value, in minutes, for IP addresses in the ARP/ND binding table if
TOFU is disabled. If an address times out, a newly discovered address replaces it.
DHCP Snooping For an IPv4 environment. Applicable if VMs have IPv4 addresses.
DHCP V6 Snooping For an IPv6 environment. Applicable if VMs have IPv6 addresses.
Neighbor Discovery Snooping For an IPv6 environment. Applicable if VMs have static IP addresses.
Neighbor Discovery Binding Limit The maximum number of IPv6 addresses that can be bound to a port.
Duplicate IP Detection For all snooping methods and both IPv4 and IPv6 environments.
5 Click Save.
SpoofGuard is a tool that is designed to prevent virtual machines in your environment from sending traffic
with an IP address it is not authorized to end traffic from. In the instance that a virtual machine’s IP
address does not match the IP address on the corresponding logical port and segment address binding in
SpoofGuard, the virtual machine’s vNIC is prevented from accessing the network entirely. SpoofGuard
can be configured at the port or segment level. There are several reasons SpoofGuard might be used in
your environment:
n Preventing a rogue virtual machine from assuming the IP address of an existing VM.
n Ensuring the IP addresses of virtual machines cannot be altered without intervention – in some
environments, it’s preferable that virtual machines cannot alter their IP addresses without proper
change control review. SpoofGuard facilitates this by ensuring that the virtual machine owner cannot
simply alter the IP address and continue working unimpeded.
n Guaranteeing that distributed firewall (DFW) rules will not be inadvertently (or deliberately) bypassed
– for DFW rules created utilizing IP sets as sources or destinations, the possibility always exists that a
virtual machine could have it’s IP address forged in the packet header, thereby bypassing the rules in
question.
VMware, Inc. 38
NSX-T Data Center Administration Guide
n Dynamic Address Resolution Protocol (ARP) inspection, that is, ARP and Gratuitous Address
Resolution Protocol (GARP) SpoofGuard and Neighbor Discovery (ND) SpoofGuard validation are all
against the MAC source, IP Source and IP-MAC source mapping in the ARP/GARP/ND payload.
At the port level, the allowed MAC/VLAN/IP whitelist is provided through the Address Bindings property of
the port. When the virtual machine sends traffic, it is dropped if its IP/MAC/VLAN does not match the
IP/MAC/VLAN properties of the port. The port level SpoofGuard deals with traffic authentication, i.e. is the
traffic consistent with VIF configuration.
At the segment level, the allowed MAC/VLAN/IP whitelist is provided through the Address Bindings
property of the segment. This is typically an allowed IP range/subnet for the segment and the segment
level SpoofGuard deals with traffic authorization.
Traffic must be permitted by port level AND segment level SpoofGuard before it will be allowed into
segment. Enabling or disabling port and segment level SpoofGuard, can be controlled using the
SpoofGuard segment profile.
Enable SpoofGuard for the port group(s) containing the guests. When enabled for each network adapter,
SpoofGuard inspects packets for the prescribed MAC and its corresponding IP address.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Enter a name.
6 Click Save.
VMware, Inc. 39
NSX-T Data Center Administration Guide
You can configure the Bridge Protocol Data Unit (BPDU) filter, DHCP Snooping, DHCP server block, and
rate limiting options to customize the segment security segment profile on a segment.
Prerequisites
Familiarize yourself with the segment security segment profile concept. See Understanding Switch
Security Switching Profile.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Option Description
BPDU Filter Toggle the BPDU Filter button to enable BPDU filtering. Disabled by default.
When the BPDU filter is enabled, all of the traffic to BPDU destination MAC
address is blocked. The BPDU filter when enabled also disables STP on the logical
switch ports because these ports are not expected to take part in STP.
BPDU Filter Allow List Click the destination MAC address from the BPDU destination MAC addresses list
to allow traffic to the permitted destination. You must enable BPDU Filter to be
able to select from this list.
DHCP Filter Toggle the Server Block button and Client Block button to enable DHCP filtering.
Both are disabled by default.
DHCP Server Block blocks traffic from a DHCP server to a DHCP client. Note that
it does not block traffic from a DHCP server to a DHCP relay agent.
DHCP Client Block prevents a VM from acquiring a DHCP IP address by blocking
DHCP requests.
DHCPv6 Filter Toggle the V6 Server Block button and V6 Client Block button to enable DHCP
filtering. Both are disabled by default.
DHCPv6 Server Block blocks traffic from a DHCPv6 server to a DHCPv6 client.
Note that it does not block traffic from a DHCP server to a DHCP relay agent.
Packets whose UDP source port number is 547 are filtered.
DHCPv6 Client Block prevents a VM from acquiring a DHCP IP address by
blocking DHCP requests. Packets whose UDP source port number is 546 are
filtered.
VMware, Inc. 40
NSX-T Data Center Administration Guide
Option Description
Block Non-IP Traffic Toggle the Block Non-IP Traffic button to allow only IPv4, IPv6, ARP, and BPDU
traffic.
The rest of the non-IP traffic is blocked. The permitted IPv4, IPv6, ARP, GARP and
BPDU traffic is based on other policies set in address binding and SpoofGuard
configuration.
By default, this option is disabled to allow non-IP traffic to be handled as regular
traffic.
RA Guard Toggle the RA Guard button to filter out ingress IPv6 router advertisements.
ICMPv6 type 134 packets are filtered out. This option is enabled by default.
Rate Limits Set a rate limit for broadcast and multicast traffic. This option is enabled by default.
Rate limits can be used to protect the logical switch or VMs from events such as
broadcast storms.
To avoid any connectivity problems, the minimum rate limit value must be >= 10
pps.
5 Click Save.
The MAC address change feature allows a VM to change its MAC address. A VM connected to a port can
run an administrative command to change the MAC address of its vNIC and still send and receive traffic
on that vNIC. This feature is supported on ESXi only and not on KVM. This property is disabled by
default.
MAC learning provides network connectivity to deployments where multiple MAC addresses are
configured behind one vNIC, for example, in a nested hypervisor deployment where an ESXi VM runs on
an ESXi host and multiple VMs run inside the ESXi VM. Without MAC learning, when the ESXi VM's vNIC
connects to a segment port, its MAC address is static. VMs running inside the ESXi VM do not have
network connectivity because their packets have different source MAC addresses. With MAC learning,
the vSwitch inspects the source MAC address of every packet coming from the vNIC, learns the MAC
address and allows the packet to go through. If a MAC address that is learned is not used for a certain
period of time, it is removed. This time period is not confurable. The field MAC Learning Aging Time
displays the pre-defined value, which is 600.
MAC learning also supports unknown unicast flooding. Normally, when a packet that is received by a port
has an unknown destination MAC address, the packet is dropped. With unknown unicast flooding
enabled, the port floods unknown unicast traffic to every port on the switch that has MAC learning and
unknown unicast flooding enabled. This property is enabled by default, but only if MAC learning is
enabled.
VMware, Inc. 41
NSX-T Data Center Administration Guide
The number of MAC addresses that can be learned is configurable. The maximum value is 4096, which is
the default. You can also set the policy for when the limit is reached. The options are:
n Drop - Packets from an unknown source MAC address are dropped. Packets inbound to this MAC
address will be treated as unknown unicast. The port will receive the packets only if it has unknown
unicast flooding enabled.
n Allow - Packets from an unknown source MAC address are forwarded although the address will not
be learned. Packets inbound to this MAC address will be treated as unknown unicast. The port will
receive the packets only if it has unknown unicast flooding enabled.
If you enable MAC learning or MAC address change, to improve security, configure SpoofGuard as well.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Option Description
MAC Change Enable or disable the MAC address change feature. The default is disabled.
MAC Learning Enable or disable the MAC learning feature. The default is disabled.
MAC Limit Policy Select Allow or Drop. The default is Allow. This option is available if you enable
MAC learning
Unknown Unicast Flooding Enable or disable the unknown unicast flooding feature. The default is enabled.
This option is available if you enable MAC learning
MAC Limit Set the maximum number of MAC addresses. The default is 4096. This option is
available if you enable MAC learning
MAC Learning Aging Time For information only. This option is not configurable. The pre-defined value is 600.
5 Click Save.
Add a Segment
A segment connects to gateways and VMs. A segment performs the functions of a logical switch.
VMware, Inc. 42
NSX-T Data Center Administration Guide
For information about find the VIF ID of a VM, see Connecting a VM to a Logical Switch.
Note An N-VDS switch configured in the Enhanced Datapath mode supports IP Discovery, SpoofGuard,
and IPFIX profiles.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
You can select an existing Tier-0 or Tier-1 gateway, or select None. The default value is None, which
means the segment is simply a logical switch. With a subnet configured, it can link to a Tier-0 or
Tier-1 gateway.
6 If the connected gateway is a Tier-1 gateway, select a type, either Flexible or Fixed.
A flexible segment can be unlinked from gateways. A fixed segment can be deleted but not unlinked
from a gateway.
10 If you want to use Layer 2 VPN to extend the segment, click the L2 VPN text box and select an L2
VPN server or client session.
11 In VPN Tunnel ID, enter a unique value that is used to identify the segment.
12 Click Save.
13 To add segment ports, click Yes when prompted if you want to continue configuring the segment.
d For ID, enter the VIF UUID of the VM or server that connects to this port.
Leave this text box blank except for use cases such as containers or VMware HCX. If this port is
for a container in a VM, select Child. If this port is for a container host VM, select Parent. If this
port is for a bare metal container or server, select Independent.
VMware, Inc. 43
NSX-T Data Center Administration Guide
Enter the parent VIF ID if Type is Child, or transport node ID if Type is Independent.
i Specify tags.
j Apply address binding by specifying the IP (IPv4 address, IPv6 address, or IPv6 subnet) and
MAC address of the logical port to which you want to apply address binding. For example, for
IPv6, 2001::/64 is an IPv6 subnet, 2001::1 is a host IP, whereas 2001::1/64 is an invalid input. You
can also specify a VLAN ID.
Manual address bindings, if specified, override the auto discovered address bindings.
15 Click Save.
VMware, Inc. 44
5
Virtual Private Network (VPN)
NSX-T Data Center supports IPSec Virtual Private Network (IPSec VPN) and Layer 2 VPN (L2 VPN) on
an NSX Edge node. IPSec VPN offers site-to-site connectivity between an NSX Edge node and remote
sites. With L2 VPN, you can extend your data center by allowing virtual machines to keep their network
connectivity across geographical boundaries while using the same IP address.
Note IPSec VPN and L2 VPN are not supported in the NSX-T Data Center limited export release.
You must have a working NSX Edge node, with at least one configured Tier-0 or Tier-1 gateway, before
you can configure a VPN service. For more information, see "NSX Edge Installation" in the NSX-T Data
Center Installation Guide.
Beginning with NSX-T Data Center 2.4, you can also configure new VPN services using the NSX
Manager user interface. In earlier releases of NSX-T Data Center, you can only configure VPN services
using REST API calls.
Important When using NSX-T Data Center 2.4 or later to configure VPN services, you must use new
objects, such as Tier-0 gateways, that were created using the NSX Manager UI or Policy APIs that are
included with NSX-T Data Center 2.4 or later release. To use existing Tier-0 or Tier-1 logical routers that
were configured before the NSX-T Data Center 2.4 release, you must continue to use API calls to
configure a VPN service.
System-default configuration profiles with predefined values and settings are made available for your use
during a VPN service configuration. You can also define new profiles with different settings and select
them during the VPN service configuration.
n Adding Profiles
VMware, Inc. 45
NSX-T Data Center Administration Guide
IPSec VPN uses the IKE protocol to negotiate security parameters. The default UDP port is set to 500. If
NAT is detected in the gateway, the port is set to UDP 4500.
IPSec VPN services are supported on Tier-0 gateways that must be in Active-Standby high-availability
mode. See Add a Tier-0 Gateway for information. Beginning with NSX-T Data Center 2.5, IPSec VPN is
also supported on Tier-1 gateways. You can use segments that are connected to either Tier-0 or Tier-1
gateways when configuring an IPSec VPN service.
IPsec VPN service in NSX-T Data Center uses the gateway-level failover functionality to support a high-
availability service. Tunnels are re-established on failover and VPN configuration data is synchronized.
The IPSec VPN state is not synchronized as tunnels are re-established.
Pre-shared key mode authentication and IP unicast traffic are supported between the NSX Edge node
and remote VPN sites. In addition, certificate authentication is supported beginning with NSX-T Data
Center 2.4. Only certificate types signed by one of the following signature hash algorithms are supported.
n SHA256withRSA
n SHA384withRSA
n SHA512withRSA
This type of VPN is considered static because when a local network topology and configuration change,
the VPN policy settings must also be updated to accommodate the changes.
When using a policy-based IPSec VPN with NSX-T Data Center, you use IPSec tunnels to connect one
or more local subnets behind the NSX Edge node with the peer subnets on the remote VPN site.
You can deploy an NSX Edge node behind a NAT device. In this deployment, the NAT device translates
the VPN address of an NSX Edge node to a publicly accessible address facing the Internet. Remote VPN
sites use this public address to access the NSX Edge node.
VMware, Inc. 46
NSX-T Data Center Administration Guide
You can place remote VPN sites behind a NAT device as well. You must provide the remote VPN site's
public IP address and its ID (either FQDN or IP address) to set up the IPSec tunnel. On both ends, static
one-to-one NAT is required for the VPN address.
The size of the NSX Edge node determines the maximum number of supported tunnels, as shown in the
following table.
Edge Node # of IPSec Tunnels Per # of IPSec Tunnels Per VPN Service
Size VPN Session (Policy-Based) # of Sessions Per VPN Service (16 tunnels per session)
Small N/A (POC/Lab Only) N/A (POC/Lab Only) N/A (POC/Lab Only)
Restriction The inherent architecture of policy-based IPSec VPN restricts you from setting up a VPN
tunnel redundancy.
For information about configuring a policy-based IPSec VPN, see Add an IPSec VPN Service.
Note
n OSPF dynamic routing is not supported for routing through IPSec VPN tunnels.
n Dynamic routing for VTI is not supported on VPN that is based on Tier-1 gateways.
Route-based IPSec VPN is similar to Generic Routing Encapsulation (GRE) over IPSec, with the
exception that no additional encapsulation is added to the packet before applying IPSec processing.
In this VPN tunneling approach, VTIs are created on the NSX Edge node. Each VTI is associated with an
IPSec tunnel. The encrypted traffic is routed from one site to another site through the VTI interfaces.
IPSec processing happens only at the VTI.
VMware, Inc. 47
NSX-T Data Center Administration Guide
Important
n In NSX-T Data Center, IPSec VPN tunnel redundancy is supported using BGP only.
n Do not use static routing for route-based IPSec VPN tunnels to achieve VPN tunnel redundancy.
The following figure shows a logical representation of IPSec VPN tunnel redundancy between two sites.
In this figure, Site A and Site B represent two data centers. For this example, assume that NSX-T Data
Center is not managing the Edge VPN Gateways in Site A, and that NSX-T Data Center is managing an
Edge Gateway virtual appliance in Site B.
BGP
VTI
VPN
BGP
Tunnel
VTI
Uplink
Router
Uplink
BGP
VPN VTI
BGP Tunnel
Subnets VTI Uplink Subnets
As shown in the figure, you can configure two independent IPSec VPN tunnels by using VTIs. Dynamic
routing is configured using BGP protocol to achieve tunnel redundancy. If both IPSec VPN tunnels are
available, they remain in service. All the traffic destined from Site A to Site B through the NSX Edge node
is routed through the VTI. The data traffic undergoes IPSec processing and goes out of its associated
NSX Edge node uplink interface. All the incoming IPSec traffic received from Site B VPN Gateway on the
NSX Edge node uplink interface is forwarded to the VTI after decryption, and then usual routing takes
place.
You must configure BGP HoldDown timer and KeepAlive timer values to detect loss of connectivity with
peer within the required failover time. See Configure BGP.
VMware, Inc. 48
NSX-T Data Center Administration Guide
Note This L2 VPN feature is available only for NSX-T Data Center and does not have any third-party
interoperability.
The extended network is a single subnet with a single broadcast domain, so VMs remain on the same
subnet when they are moved between sites and their IP addresses do not change. So, enterprises can
seamlessly migrate VMs between network sites. The VMs can run on either VNI-based networks or
VLAN-based networks. For cloud providers, L2 VPN provides a mechanism to onboard tenants without
modifying existing IP addresses used by their workloads and applications.
In addition to supporting data center migration, an on-premise network extended with an L2 VPN is useful
for a disaster recovery plan and dynamically engaging off-premise compute resources to meet the
increased demand.
Each L2 VPN session has one Generic Routing Encapsulation (GRE) tunnel. Tunnel redundancy is not
supported. An L2 VPN session can extend up to 4094 L2 segments.
In NSX-T Data Center, L2 VPN services are supported only on Tier-0 gateways. Segments can be
connected to either Tier-0 or Tier-1 gateways and use L2 VPN services.
Starting with NSX-T Data Center 2.5 release, VLAN-based segments can be extended using L2 VPN
service on an NSX Edge that is managed in an NSX-T Data Center environment. This support allows the
extension of L2 networks from VLAN to VNI and VLAN to VLAN.
Also supported is VLAN trunking using an ESX NSX-managed virtual distributed switch (N-VDS). If the
compute and I/O resources allow, VLAN trunking enables one NSX Edge cluster to extend multiple VLAN
networks over a single interface.
n Between an NSX-T Data Center L2 VPN server and an L2 VPN client hosted on an NSX Edge that is
managed in an NSX Data Center for vSphere environment. A managed L2 VPN client supports both
VLANs and VNIs.
n Between an NSX-T Data Center L2 VPN server and an L2 VPN client hosted on a standalone or
unmanaged NSX Edge. An unmanaged L2 VPN client supports VLANs only.
n Between an NSX-T Data Center L2 VPN server and an L2 VPN client hosted on an autonomous NSX
Edge. An autonomous L2 VPN client supports VLANs only.
n Beginning with NSX-T Data Center 2.4 release, L2 VPN service support is available between an
NSX-T Data Center L2 VPN server and NSX-T Data Center L2 VPN client. In this scenario, you can
extend the L2 network between two software-defined data centers (SDDCs) deployed on the cloud,
such as VMware Cloud™ on AWS.
VMware, Inc. 49
NSX-T Data Center Administration Guide
The following sections provide information about the workflows required to set up the VPN service that
you need. The topics that follow these sections provide details on how to add either an IPSec VPN or an
L2 VPN using the NSX Manager user interface.
1 Create and enable an IPSec VPN service using an existing Tier-0 or Tier-1 gateway. See Add an
IPSec VPN Service.
2 Create a DPD (dead peer detection) profile, if you prefer not to use the system default. See Add DPD
Profiles.
3 To use a non-system default IKE profile, define an IKE (Internet Key Exchange) profile . See Add IKE
Profiles.
5 Use Add Local Endpoints to create a VPN server hosted on the NSX Edge.
6 Configure a policy-based IPSec VPN session, apply the profiles, and attach the local endpoint to it.
See Add a Policy-Based IPSec Session. Specify the local and peer subnets to be used for the tunnel.
Traffic from a local subnet destined to the peer subnet is protected using the tunnel defined in the
session.
1 Configure and enable an IPSec VPN service using an existing Tier-0 or Tier-1 gateway. See Add an
IPSec VPN Service.
2 Define an IKE profile if you prefer not to use the default IKE profile. See Add IKE Profiles.
3 If you decide not to use the system default IPSec profile, create one using Add IPSec Profiles.
4 Create a DPD profile if you want to do not want to use the default DPD profile. See Add DPD Profiles.
6 Configure a route-based IPSec VPN session, apply the profiles, and attach the local endpoint to the
session. Provide a VTI IP in the configuration and use the same IP to configure routing. The routes
can be static or dynamic (using BGP). See Add a Route-Based IPSec Session.
VMware, Inc. 50
NSX-T Data Center Administration Guide
a Configure a route-based IPSec VPN tunnel with a Tier-0 gateway and an L2 VPN Server service
using that route-based IPSec tunnel. See Add an L2 VPN Server Service.
b Configure an L2 VPN server session, which binds the newly created route-based IPSec VPN
service and the L2 VPN server service, and automatically allocates the GRE IP addresses. See
Add an L2 VPN Server Session.
c Add segments to the L2 VPN Server sessions. This step is also described in Add an L2 VPN
Server Session.
d Use Download the Remote Side L2 VPN Configuration File to obtain the peer code for the L2
VPN Server service session, which must be applied on the remote site and used to configure the
L2 VPN Client session automatically.
a Configure another route-based IPSec VPN service using a different Tier-0 gateway and configure
an L2 VPN Client service using that Tier-0 gateway that you just configured. See Add an L2 VPN
Client Service for information.
b Define the L2 VPN Client sessions by importing the peer code generated by the L2 VPN Server
service. See Add an L2 VPN Client Session.
c Add segments to the L2 VPN Client sessions defined in the previous step. This step is described
in Add an L2 VPN Client Session.
Note IPSec VPN is not supported in the NSX-T Data Center limited export release.
IPSec VPN is not supported when the local endpoint IP address goes through NAT in the same logical
router that the IPSec VPN session is configured.
Prerequisites
n Familiarize yourself with the IPSec VPN. See Understanding IPSec VPN.
VMware, Inc. 51
NSX-T Data Center Administration Guide
n You must have at least one Tier-0 or Tier-1 gateway configured and available for use. See Add a
Tier-0 Gateway or Add a Tier-1 Gateway for more information.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 From the Gateway drop-down menu, select the Tier-0 or Tier-1 gateway to associate with this IPSec
VPN service.
By default, the value is set to Enabled, which means the IPSec VPN service is enabled on the Tier-0
or Tier-1 gateway after the new IPSec VPN service is configured.
8 Enter a value for Tags if you want to include this service in a tag group.
9 Click Global Bypass Rules if you want to allow data packets to be exchanged between the specified
local and remote IP addresses without any IPSec protection, even if the IP addresses are specified in
the IPSec session rules. In the Local Networks and Remote Networks text boxes, enter the list of
local and remote subnets between which the bypass rules are applied.
The default is to use the IPSec protection when data is exchanged between local and remote sites.
These rules apply for all IPSec VPN sessions created within this IPSec VPN service.
10 Click Save.
After the new IPSec VPN service is created successfully, you are asked whether you want to continue
with the rest of the IPSec VPN configuration. If you click Yes, you are taken back to the Add IPSec
VPN Service panel. The Sessions link is now enabled and you can click it to add an IPSec VPN
session.
What to do next
Use information in Adding IPSec VPN Sessions to guide you in adding an IPSec VPN session. You also
provide information for the profiles and local endpoint that are required to finish the IPSec VPN
configuration.
VMware, Inc. 52
NSX-T Data Center Administration Guide
To configure an L2 VPN service, use the information in the topics that follow in this section.
Prerequisites
n Familiarize yourself with IPsec VPN and L2 VPN. See Understanding IPSec VPN and Understanding
Layer 2 VPN.
n You must have at least one Tier-0 gateway configured and available for use. See Add a Tier-0
Gateway.
Procedure
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 (Optional) If an IPSec VPN service does not exist yet on the Tier-0 gateway that you want to
configure as the L2 VPN server, create the service using the following steps.
a Navigate to the Networking > VPN > VPN Services tab and select Add Service > IPSec.
c From the Tier-0 Gateway drop-down menu, select a Tier-0 gateway to use with the L2 VPN
server.
d If you want to use values different from the system defaults, set the rest of the properties on the
Add IPSec Service pane, as needed.
e Click Save and when prompted if you want to continue configuring the IPSec VPN service, select
No.
VMware, Inc. 53
NSX-T Data Center Administration Guide
3 Navigate to the Networking > VPN > VPN Services tab and select Add Service > L2 VPN Server to
create an L2 VPN server.
5 From the Tier-0 Gateway drop-down menu, select the same Tier-0 gateway that you used with the
IPSec service you created a moment ago.
7 Enter a value for Tags if you want to include this service in a tag group.
By default, the value is set to Disabled, which means the traffic received from the L2 VPN clients is
only replicated to the segments connected to the L2 VPN server. If this property is set to Enabled, the
traffic from any L2 VPN client is replicated to all other L2 VPN clients.
9 Click Save.
After the new L2 VPN server is created successfully, you are asked whether you want to continue
with the rest of the L2 VPN service configuration. If you click Yes, you are taken back to the Add L2
VPN Server pane and the Session link is enabled. You can use that link to create an L2 VPN server
session or use the Networking > VPN > L2 VPN Sessions tab.
What to do next
Configure an L2 VPN server session for the L2 VPN server that you configured using information in Add
an L2 VPN Server Session as a guide.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 (Optional) If one does not exist yet, create an IPSec VPN service for the L2 VPN client service using
the following steps.
a Navigate to the Networking > VPN > VPN Services tab and select Add Service > IPSec.
c From the Tier-0 Gateway drop-down menu, select a Tier-0 gateway to use with the L2 VPN
client.
d If you want to use values different from the system defaults, set the rest of the properties on the
Add IPSec Service pane, as needed.
e Click Save and when prompted if you want to continue configuring the IPSec VPN service, select
No.
VMware, Inc. 54
NSX-T Data Center Administration Guide
3 Navigate to the Networking > VPN > VPN Services tab and select Add Service > L2 VPN Client.
5 From the Tier-0 Gateway drop-down menu, select the same Tier-0 gateway that you used with the
route-based IPSec tunnel you created a moment ago.
7 Click Save.
After the new L2 VPN client service is created successfully, you are asked whether you want to
continue with the rest of the L2 VPN client configuration. If you click Yes, you are taken back to the
Add L2 VPN Client pane and the Session link is enabled. You can use that link to create an L2 VPN
client session or use the Networking > VPN > L2 VPN Sessions tab.
What to do next
Configure an L2 VPN client session for the L2 VPN Client service that you configured. Use the
information in Add an L2 VPN Client Session as a guide.
The following steps use the IPSec Sessions tab on the NSX Manager UI to create a policy-based IPSec
session. You also add information for the tunnel, IKE, and DPD profiles, and select an existing local
endpoint to use with the policy-based IPSec VPN.
Note You can also add the IPSec VPN sessions immediately after you have successfully configured the
IPSec VPN service. You click Yes when prompted to continue with the IPSec VPN service configuration
and select Sessions > Add Sessions on the Add IPsec Service panel. The first few steps in the following
procedure assume you selected No to the prompt to continue with the IPSec VPN service configuration. If
you selected Yes, proceed to step 3 in the following steps to guide you with the rest of the policy-based
IPSec VPN session configuration.
Prerequisites
n You must have configured an IPSec VPN service before proceeding. See Add an IPSec VPN Service.
VMware, Inc. 55
NSX-T Data Center Administration Guide
n Obtain the information for the local endpoint, IP address for the peer site, local network subnet, and
remote network subnet to use with the policy-based IPSec VPN session you are adding. To create a
local endpoint, see Add Local Endpoints.
n If you are using a Pre-Shared Key (PSK) for authentication, obtain the PSK value.
n If you are using a certificate for authentication, ensure that the necessary server certificates and
corresponding CA-signed certificates are already imported. See Setting Up Certificates.
n If you do not want to use the defaults for the IPSec tunnel, IKE, or dead peer detection (DPD) profiles
provided by NSX-T Data Center, configure the profiles you want to use instead. See Adding Profiles
for information.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 From the VPN Service drop-down menu, select the IPSec VPN service to which you want to add this
new IPSec session.
Note If you are adding this IPSec session from the Add IPSec Sessions dialog box, the VPN
Service name is already indicated above the Add IPSec Session button.
This local endpoint value is required and identifies the local NSX Edge node. If you want to create a
different local endpoint, click the three-dot menu ( ) and select Add Local Endpoint.
7 In the Remote IP text box, enter the required IP address of the remote site.
By default, the value is set to Enabled, which means the IPSec VPN session is to be configured down
to the NSX Edge node.
10 (Optional) From the Compliance suite drop-down menu, select a security compliance suite.
Note Compliance suite support is provided beginning with NSX-T Data Center 2.5. See About
Supported Compliance Suites for more information.
VMware, Inc. 56
NSX-T Data Center Administration Guide
The default value selected is None. If you select a compliance suite, the Authentication Mode is set
to Certificate and in the Advanced Properties section, the values for IKE profile and IPSec
profile are set to the system-defined profiles for the selected security compliance suite. You cannot
edit these system-defined profiles.
11 If the Compliance Suite is set to None, select a mode from the Authentication Mode drop-down
menu.
The default authentication mode used is PSK, which means a secret key shared between NSX Edge
and the remote site is used for the IPSec VPN session. If you select Certificate, the site certificate
that was used to configure the local endpoint is used for authentication.
12 In the Local Networks and Remote Networks text boxes, enter at least one IP subnet address to use
for this policy-based IPSec VPN session.
13 If Authentication Mode is set to PSK, enter the key value in the Pre-shared Key text box.
This secret key can be a string with a maximum length of 128 characters.
Caution Be careful when sharing and storing a PSK value because it contains some sensitive
information.
For peer sites using PSK authentication, this ID value must be the public IP address or the FQDN of
the peer site. For peer sites using certificate authentication, this ID value must be the common name
(CN) or distinguished name (DN) used in the peer site's certificate.
Note If the peer site's certificate contains an email address in the DN string, for example,
then enter the Remote ID value using the following format as an example.
If the local site's certificate contains an email address in the DN string and the peer site uses the
strongSwan IPsec implementation, enter the local site's ID value in that peer site. The following is an
example.
VMware, Inc. 57
NSX-T Data Center Administration Guide
15 To change the profiles, initiation mode, TCP MSS clamping mode, and tags used by the policy-based
IPSec VPN session, click Advanced Properties.
By default, the system generated profiles are used. Select another available profile if you do not want
to use the default. If you want to use a profile that is not configured yet, click the three-dot menu ( )
to create another profile. See Adding Profiles.
a If the IKE Profiles drop-down menu is enabled, select the IKE profile.
b Select the IPsec tunnel profile, if the IPSec Profiles drop-down menu is not disabled.
c Select the preferred DPD profile if the DPD Profiles drop-down menu is enabled.
d Select the preferred mode from the Connection Initiation Mode drop-down menu.
Connection initiation mode defines the policy used by the local endpoint in the process of tunnel
creation. The default value is Initiator. The following table describes the different connection
initiation modes available.
Initiator The default value. In this mode, the local endpoint initiates the
IPSec VPN tunnel creation and responds to incoming tunnel
setup requests from the peer gateway.
On Demand In this mode, the local endpoint initiates the IPSec VPN tunnel
creation after the first packet matching the policy rule is
received. It also responds to the incoming initiation request.
Respond Only The IPSec VPN never initiates a connection. The peer site
always initiates the connection request and the local endpoint
responds to that connection request.
e If you want to reduce the maximum segment size (MSS) payload of the TCP session during the
IPSec connection, enable TCP MSS Clamping, select the TCP MSS direction value, and
optionally set the TCP MSS Value.
f If you want to include this session as part of a specific group, enter the tag name in Tags.
16 Click Save.
Results
When the new policy-based IPSec VPN session is configured successfully, it is added to the list of
available IPsec VPN sessions. It is in read-only mode.
What to do next
n Verify that the IPSec VPN tunnel status is Up. See Monitor and Troubleshoot VPN Sessions for
information.
n If necessary, manage the IPSec VPN session information by clicking the three-dot menu ( ) on the
left-side of the session's row. Select one of the actions you are allowed to perform.
VMware, Inc. 58
NSX-T Data Center Administration Guide
The steps described in this topic use the IPSec Sessions tab to create a route-based IPSec session. You
also add information for the tunnel, IKE, and DPD profiles, and select an existing local endpoint to use
with the route-based IPSec VPN.
Note You can also add the IPSec VPN sessions immediately after you have successfully configured the
IPSec VPN service. You click Yes when prompted to continue with the IPSec VPN service configuration
and select Sessions > Add Sessions on the Add IPsec Service panel. The first few steps in the following
procedure assume you selected No to the prompt to continue with the IPSec VPN service configuration. If
you selected Yes, proceed to step 3 in the following steps to guide you with the rest of the route-based
IPSec VPN session configuration.
Prerequisites
n You must have configured an IPSec VPN service before proceeding. See Add an IPSec VPN Service.
n Obtain the information for the local endpoint, IP address for the peer site, and tunnel service IP
subnet address to use with the route-based IPSec session you are adding. To create a local endpoint,
see Add Local Endpoints.
n If you are using a Pre-Shared Key (PSK) for authentication, obtain the PSK value.
n If you are using a certificate for authentication, ensure that the necessary server certificates and
corresponding CA-signed certificates are already imported. See Setting Up Certificates.
n If you do not want to use the default values for the IPSec tunnel, IKE, or dead peer detection (DPD)
profiles provided by NSX-T Data Center, configure the profiles you want to use instead. See Adding
Profiles for information.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 From the VPN Service drop-down menu, select the IPSec VPN service to which you want to add this
new IPSec session.
Note If you are adding this IPSec session from the Add IPSec Sessions dialog box, the VPN
Service name is already indicated above the Add IPSec Session button.
VMware, Inc. 59
NSX-T Data Center Administration Guide
This local endpoint value is required and identifies the local NSX Edge node. If you want to create a
different local endpoint, click the three-dot menu ( ) and select Add Local Endpoint.
7 In the Remote IP text box, enter the IP address of the remote site.
By default, the value is set to Enabled, which means the IPSec session is to be configured down to
the NSX Edge node.
10 (Optional) From the Compliance suite drop-down menu, select a security compliance suite.
Note Compliance suite support is provided beginning with NSX-T Data Center 2.5. See About
Supported Compliance Suites for more information.
The default value is set to None. If you select a compliance suite, the Authentication Mode is set to
Certificate and in the Advanced Properties section, the values for IKE profile and IPSec profile
are set to the system-defined profiles for the selected compliance suite. You cannot edit these
system-defined profiles.
12 If the Compliance Suite is set to None, select a mode from the Authentication Mode drop-down
menu.
The default authentication mode used is PSK, which means a secret key shared between NSX Edge
and the remote site is used for the IPSec VPN session. If you select Certificate, the site certificate
that was used to configure the local endpoint is used for authentication.
13 If you selected PSK for the authentication mode, enter the key value in the Pre-shared Key text box.
This secret key can be a string with a maximum length of 128 characters.
Caution Be careful when sharing and storing a PSK value because it contains some sensitive
information.
VMware, Inc. 60
NSX-T Data Center Administration Guide
For peer sites using PSK authentication, this ID value must be the public IP address or the FQDN of
the peer site. For peer sites using certificate authentication, this ID value must be the common name
(CN) or distinguished name (DN) used in the peer site's certificate.
Note If the peer site's certificate contains an email address in the DN string, for example,
then enter the Remote ID value using the following format as an example.
If the local site's certificate contains an email address in the DN string and the peer site uses the
strongSwan IPsec implementation, enter the local site's ID value in that peer site. The following is an
example.
15 If you want to include this IPSec session as part of a specific group tag, enter the tag name in Tags.
16 To change the profiles, initiation mode, TCP MSS clamping mode, and tags used by the policy-based
IPSec VPN session, click Advanced Properties.
By default, the system generated profiles are used. Select another available profile if you do not want
to use the default. If you want to use a profile that is not configured yet, click the three-dot menu ( )
to create another profile. See Adding Profiles.
a If the IKE Profiles drop-down menu is enabled, select the IKE profile.
b Select the IPsec tunnel profile, if the IPSec Profiles drop-down menu is not disabled.
VMware, Inc. 61
NSX-T Data Center Administration Guide
c Select the preferred DPD profile if the DPD Profiles drop-down menu is enabled.
d Select the preferred mode from the Connection Initiation Mode drop-down menu.
Connection initiation mode defines the policy used by the local endpoint in the process of tunnel
creation. The default value is Initiator. The following table describes the different connection
initiation modes available.
Initiator The default value. In this mode, the local endpoint initiates the
IPSec VPN tunnel creation and responds to incoming tunnel
setup requests from the peer gateway.
On Demand In this mode, the local endpoint initiates the IPSec VPN tunnel
creation after the first packet matching the policy rule is
received. It also responds to the incoming initiation request.
Respond Only The IPSec VPN never initiates a connection. The peer site
always initiates the connection request and the local endpoint
responds to that connection request.
17 If you want to reduce the maximum segment size (MSS) payload of the TCP session during the
IPSec connection, enable TCP MSS Clamping, select the TCP MSS direction value, and optionally
set the TCP MSS Value. []
18 If you want to include this IPSec session as part of a specific group tag, enter the tag name in Tags.
19 Click Save.
Results
When the new route-based IPSec VPN session is configured successfully, it is added to the list of
available IPsec VPN sessions. It is in read-only mode.
What to do next
n Verify that the IPSec VPN tunnel status is Up. See Monitor and Troubleshoot VPN Sessions for
information.
n If necessary, manage the IPSec VPN session information by clicking the three-dot menu ( ) on the
left-side of the session's row. Select one of the actions you are allowed to perform.
A security compliance suite has predefined values that are used for different security parameters and that
cannot be modified. When you select a compliance suite, the predefined values are automatically used
for the security profile of the IPSec VPN session you are configuring.
VMware, Inc. 62
NSX-T Data Center Administration Guide
The following table lists the compliance suites that are supported for IKE profiles in NSX-T Data Center
and the values that are predefined for each.
Compliance Suite
Name IKE Version Encryption Algorithm Digest Algorithm Diffie Hellman Group
The following table lists the compliance suites that are supported for IPSec profiles in NSX-T Data Center
and the values that are predefined for each.
Compliance Suite
Name Encryption Algorithm Digest Algorithm PFS Group Diffie-Hellman Group
TCP MSS is the maximum amount of data in bytes that a host is willing to accept in a single TCP
segment. Each end of a TCP connection sends its desired MSS value to its peer-end during a three-way
handshake, where MSS is one of the TCP header options used in a TCP SYN packet. TCP MSS is
calculated based on the maximum transmission unit (MTU) of the egress interface of the sender host.
When a TCP traffic goes through an IPSec VPN or any kind of VPN tunnel, additional headers are added
to the original packet to keep it secure. For IPSec tunnel mode, additional headers used are IP, ESP, and
optionally UDP (if port translation is present in the network). Because of these additional headers, the
size of the encapsulated packet goes beyond the MTU of the VPN interface. The packet can get
fragmented or dropped based on the DF policy.
To avoid packet fragmentation or drop, you can adjust the MSS value for the IPSec session by enabling
the TCP MSS clamping feature. Navigate to Networking > VPN > IPSec Sessions. When you are
adding an IPSec session or editing an existing one, expand the Advance Properties section, and enable
TCP MSS Clamping.
VMware, Inc. 63
NSX-T Data Center Administration Guide
You can configure the pre-calculated MSS value suitable for the IPSec session by setting both TCP MSS
Direction and TCP MSS Value. The configured MSS value is used for MSS clamping. You can opt to use
the dynamic MSS calculation by setting the TCP MSS Direction and leaving TCP MSS Value blank. The
MSS value is auto-calculated based on the VPN interface MTU, VPN overhead, and the path MTU
(PMTU) when it is already determined. The effective MSS is recalculated during each TCP handshake to
handle the MTU or PMTU changes dynamically.
The following steps use the L2 VPN Sessions tab on the NSX Manager UI to create an L2 VPN Server
session. You also select an existing local endpoint and segment to attach to the L2 VPN Server session.
Note You can also add an L2 VPN Server session immediately after you have successfully configured
the L2 VPN Server service. You click Yes when prompted to continue with the L2 VPN Server
configuration and select Sessions > Add Sessions on the Add L2 VPN Server panel. The first few steps
in the following procedure assume you selected No to the prompt to continue with the L2 VPN Server
configuration. If you selected Yes, proceed to step 3 in the following steps to guide you with the rest of the
L2 VPN Server session configuration.
Prerequisites
n You must have configured an L2 VPN Server service before proceeding. See Add an L2 VPN Server
Service.
n Obtain the information for the local endpoint and remote IP to use with the L2 VPN Server session
you are adding. To create a local endpoint, see Add Local Endpoints.
n Obtain the values for the pre-shared key (PSK) and the tunnel interface subnet to use with the L2
VPN Server session.
n Obtain the name of the existing segment you want to attach to the L2 VPN Server session you are
creating. See Add a Segment for information.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
VMware, Inc. 64
NSX-T Data Center Administration Guide
5 From the L2 VPN Service drop-down menu, select the L2 VPN Server service for which the L2 VPN
session is being created.
Note If you are adding this L2 VPN Server session from the Set L2VPN Server Sessions dialog box,
the L2 VPN Server service is already indicated above the Add L2 Session button.
If you want to create a different local endpoint, click the three-dot menu ( ) and select Add Local
Endpoint.
By default, the value is set to Enabled, which means the L2 VPN Server session is to be configured
down to the NSX Edge node.
Caution Be careful when sharing and storing a PSK value because it is considered sensitive
information.
10 Enter an IP subnet address in the Tunnel Interface using the CIDR notation.
For peer sites using certificate authentication, this ID must be the common name in the peer site's
certificate. For PSK peers, this ID can be any string. Preferably, use the public IP address of the VPN
or an FQDN for the VPN services as the Remote ID.
12 If you want to include this session as part of a specific group, enter the tag name in Tags.
13 Click Save and click Yes when prompted if you want to continue with the VPN service configuration.
You are returned to the Add L2VPN Sessions panel and the Segments link is now enabled.
b In the Set Segments dialog box, click Set Segment to attach an existing segment to the L2 VPN
Server session.
c From the Segment drop-down menu, select the VNI-based or VLAN-based segment that you
want to attach to the session.
d Enter a unique value in the VPN Tunnel ID that is used to identify the segment that you selected.
In the Set L2VPN Sessions pane or dialog box, the system has incremented the Segments count for
the L2 VPN Server session.
VMware, Inc. 65
NSX-T Data Center Administration Guide
Results
In the VPN Services tab, the system incremented the Sessions count for the L2 VPN Server service that
you configured.
What to do next
To complete the L2 VPN service configuration, you must also create an L2 VPN service in Client mode
and an L2 VPN client session. See Add an L2 VPN Client Service and Add an L2 VPN Client Session.
The following steps use the L2 VPN Sessions tab on the NSX Manager UI to create an L2 VPN Client
session. You also select an existing local endpoint and segment to attach to the L2 VPN Client session.
Note You can also add an L2 VPN Client session immediately after you have successfully configured
the L2 VPN Client service. Click Yes when prompted to continue with the L2 VPN Client configuration and
select Sessions > Add Sessions on the Add L2 VPN Client panel. The first few steps in the following
procedure assume you selected No to the prompt to continue with the L2 VPN Client configuration. If you
selected Yes, proceed to step 3 in the following steps to guide you with the rest of the L2 VPN Client
session configuration.
Prerequisites
n You must have configured an L2 VPN Client service before proceeding. See Add an L2 VPN Client
Service.
n Obtain the IP addresses information for the local IP and remote IP to use with the L2 VPN Client
session you are adding.
n Obtain the peer code that was generated during the L2 VPN server configuration. See Download the
Remote Side L2 VPN Configuration File.
n Obtain the name of the existing segment you want to attach to the L2 VPN Client session you are
creating. See Add a Segment.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
VMware, Inc. 66
NSX-T Data Center Administration Guide
5 From the VPN Service drop-down menu, select the L2 VPN Client service with which the L2 VPN
session is to be associated.
Note If you are adding this L2 VPN Client session from the Set L2VPN Client Sessions dialog box,
the L2 VPN Client service is already indicated above the Add L2 Session button.
6 In the Local IP address text box, enter the IP address of the L2 VPN Client session.
7 Enter the remote IP address of the IPSec tunnel to be used for the L2 VPN Client session.
8 In the Peer Configuration text box, enter the peer code generated when you configured the L2 VPN
Server service.
By default, the value is set to Enabled, which means the L2 VPN Server session is to be configured
down to the NSX Edge node.
10 Click Save and click Yes when prompted if you want to continue with the VPN service configuration.
c From the Segment drop-down menu, select the VNI-based or VLAN-based segment you want to
attach to the L2 VPN Client session.
d Enter a unique value in the VPN Tunnel ID that is used to identify the segment that you selected.
e Click Close.
Results
In the VPN Services tab, the sessions count is updated for the L2 VPN Client service that you
configured.
Prerequisites
n You must have configured an L2 VPN server service and a session successfully before proceeding.
See Add an L2 VPN Server Service.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
VMware, Inc. 67
NSX-T Data Center Administration Guide
3 In the table of L2 VPN sessions, expand the row for the L2 VPN server session you plan to use for
the L2 VPN client session configuration.
4 Click Download Config and click Yes on the Warning dialog box.
Caution Be careful when storing and sharing the peer code because it contains a PSK value, which
is considered sensitive information.
[
{
"transport_tunnel_path": "/infra/tier-0s/ServerT0_AS/locale-services/1-policyconnectivity-693/
ipsec-vpn-services/IpsecService1/sessions/Routebase1",
"peer_code":
"MCw3ZjBjYzdjLHsic2l0ZU5hbWUiOiJSb3V0ZWJhc2UxIiwic3JjVGFwSXAiOiIxNjkuMjU0LjY0LjIiLCJkc3RUYXBJcCI6I
jE2OS4yNTQuNjQuMSIsImlrZU9wdGl
vbiI6ImlrZXYyIiwiZW5jYXBQcm90byI6ImdyZS9pcHNlYyIsImRoR3JvdXAiOiJkaDE0IiwiZW5jcnlwdEFuZERpZ2VzdCI6I
mFlcy1nY20vc2hhLTI1NiIsInBzayI
6IlZNd2FyZTEyMyIsInR1bm5lbHMiOlt7ImxvY2FsSWQiOiI2MC42MC42MC4xIiwicGVlcklkIjoiNTAuNTAuNTAuMSIsImxvY
2FsVnRpSXAiOiIxNjkuMi4yLjMvMzEifV19"
}
]
5 Copy the peer code, which you use to configure the L2 VPN client service and session.
Using the preceding configuration file example, the following peer code is what you copy to use with
the L2 VPN client configuration.
MCw3ZjBjYzdjLHsic2l0ZU5hbWUiOiJSb3V0ZWJhc2UxIiwic3JjVGFwSXAiOiIxNjkuMjU0LjY0LjIiLCJkc3RUYXBJcCI6Ij
E2OS4yNTQuNjQuMSIsImlrZU9wdGl
vbiI6ImlrZXYyIiwiZW5jYXBQcm90byI6ImdyZS9pcHNlYyIsImRoR3JvdXAiOiJkaDE0IiwiZW5jcnlwdEFuZERpZ2VzdCI6I
mFlcy1nY20vc2hhLTI1NiIsInBzayI
6IlZNd2FyZTEyMyIsInR1bm5lbHMiOlt7ImxvY2FsSWQiOiI2MC42MC42MC4xIiwicGVlcklkIjoiNTAuNTAuNTAuMSIsImxvY
2FsVnRpSXAiOiIxNjkuMi4yLjMvMzEifV19
What to do next
Configure the L2 VPN Client service and session. See Add an L2 VPN Client Service and Add an L2 VPN
Client Session.
The following steps use the Local Endpoints tab on the NSX Manager UI. You can also create a local
endpoint while in the process of adding an IPSec VPN session by clicking the three-dot menu ( ) and
selecting Add Local Endpoint. If you are in the middle of configuring an IPSec VPN session, proceed to
step 3 in the following steps to guide you with creating a new local endpoint.
VMware, Inc. 68
NSX-T Data Center Administration Guide
Prerequisites
If you are using a certificate-based authentication mode for the IPSec VPN session that is to use the local
endpoint you are configuring, obtain information about the certificate that the local endpoint must use.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Navigate to Networking > VPN > Local Endpoints and click Add Local Endpoint.
4 From the VPN Service drop-down menu, select the IPSec VPN service to which this local endpoint is
to be associated.
For an IPSec VPN service running on a Tier-0 gateway, the local endpoint IP address must be
different from the Tier-0 gateway's uplink interface IP address. The local endpoint IP address you
provide is associated with the loopback interface for the Tier-0 gateway and is also published as a
routable IP address over the uplink interface. For IPSec VPN service running on a Tier-1 gateway, in
order for the local endpoint IP address to be routable, the route advertisement for IPSec local
endpoints must be enabled in the Tier-1 gateway configuration. See Add a Tier-1 Gateway for more
information.
6 If you are using a certificate-based authentication mode for the IPSec VPN session, from the Site
Certificate drop-down menu, select the certificate that is to be used by the local endpoint.
8 Enter the Local ID value that is used for identifying the local NSX Edge instance.
This local ID is the peer ID on the remote site. The local ID must be either the public IP address or
FQDN of the remote site. For certificate-based VPN sessions defined using the local endpoint, the
local ID is derived from the certificate associated with the local endpoint and the ID specified in the
Local ID text box is ignored. The local ID derived from the certificate for a VPN session depends on
the extensions present in the certificate.
n If the X509v3 extension X509v3 Subject Alternative Name is not present in the certificate, then
the Distinguished Name (DN) is used as the local ID value.
n If the X509v3 extension X509v3 Subject Alternative Name is found in the certificate, then one of
the Subject Alternative Name is taken as the local ID value.
9 From the Trusted CA Certificates and Certificate Revocation List drop-down menus, select the
appropriate certificates that are required for the local endpoint.
11 Click Save.
VMware, Inc. 69
NSX-T Data Center Administration Guide
Adding Profiles
NSX-T Data Center provides the system-generated IPSec tunnel profile and an IKE profile that are
assigned by default when you configure either an IPSec VPN or L2 VPN service. A system-generated
DPD profile is created for an IPSec VPN configuration.
The IKE and IPSec profiles provide information about the algorithms that are used to authenticate,
encrypt, and establish a shared secret between network sites. The DPD profile provides information
about the number of seconds to wait in between probes.
If you decide not to use the default profiles provided by NSX-T Data Center, you can configure your own
using the information in the topics that follow in this section.
NSX-T Data Center provides system-generated IKE profiles that are assigned by default when you
configure an IPSec VPN or L2 VPN service. The following table lists the default profiles provided.
Table 5-4. Default IKE Profiles Used for IPSec VPN or L2 VPN Services
Default IKE Profile Name Description
Instead of the default IKE profiles used, you can also select one of the compliance suites supported
starting with NSX-T Data Center 2.5. See About Supported Compliance Suites for more information.
If you decide not to use the default IKE profiles or compliance suites provided, you can configure your
own IKE profile using the following steps.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Select the IKE Profiles profile type, and click Add IKE Profile.
VMware, Inc. 70
NSX-T Data Center Administration Guide
5 From the IKE Version drop-down menu, select the IKE version to use to set up a security association
(SA) in the IPSec protocol suite.
IKEv1 When selected, the IPSec VPN initiates and responds to an IKEv1 protocol only.
IKEv2 This version is the default. When selected, the IPSec VPN initiates and responds to
an IKEv2 protocol only.
IKE-Flex If this version is selected and if the tunnel establishment fails with the IKEv2 protocol,
the source site does not fall back and initiate a connection with the IKEv1 protocol.
Instead, if the remote site initiates a connection with the IKEv1 protocol, then the
connection is accepted.
VMware, Inc. 71
NSX-T Data Center Administration Guide
6 Select the encryption, digest, and Diffie-Hellman group algorithms from the drop-down menus. You
can select multiple algorithms to apply or deselect any selected algorithms you do not want to be
applied.
Encryption n AES 128 ( default) The encryption algorithm used during the Internet Key
n AES 256 Exchange (IKE) negotiation.
n AES GCM 128 The AES-GCM algorithms are supported when used with
IKEv2. They are not supported when used with IKEv1.
n AES GCM 192
n AES GCM 256
Digest n SHA2 256 (default) The secure hashing algorithm used during the IKE
n SHA1 negotiation.
Diffie-Hellman Group n Group 14 (default) The cryptography schemes that the peer site and the NSX
n Group 2 Edge use to establish a shared secret over an insecure
communications channel.
n Group 5
n Group 15
n Group 16
n Group 19
n Group 20
n Group 21
VMware, Inc. 72
NSX-T Data Center Administration Guide
Note When you attempt to establish an IPSec VPN tunnel with a GUARD VPN Client (previously
QuickSec VPN Client) using two encryption algorithms or two digest algorithms, the GUARD VPN
Client adds additional algorithms in the proposed negotiation list. For example, if you specified AES
128 and AES 256 as the encryption algorithms and SHA2 256 and SHA2 512 as the digest
algorithms to use in the IKE profile you are using to establish the IPSec VPN tunnel, the GUARD VPN
Client also proposes AES 192 and SHA2 384 in the negotiation list. In this case, NSX-T Data Center
uses the first encryption algorithm you selected when establishing the IPSec VPN tunnel.
7 Enter a security association (SA) lifetime value, in seconds, if you want it different from the default
value of 86400 seconds (24 hours).
9 Click Save.
Results
A new row is added to the table of available IKE profiles. To edit or delete a non-system created profile,
click the three-dot menu ( ) and select from the list of actions available.
NSX-T Data Center provides system-generated IPSec profiles that are assigned by default when you
configure an IPSec VPN or L2 VPN service. The following table lists the default IPSec profiles provided.
Table 5-7. Default IPSec Profiles Used for IPSec VPN or L2 VPN Services
Name of Default IPSec Profile Description
Instead of the default IPSec profile, you can also select one of the compliance suites supported starting
with NSX-T Data Center 2.5. See About Supported Compliance Suites for more information.
If you decide not to use the default IPSec profiles or compliance suites provided, you can configure your
own using the following steps.
VMware, Inc. 73
NSX-T Data Center Administration Guide
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Select the IPSec Profiles profile type, and click Add IPSec Profile.
5 From the drop-down menus, select the encryption, digest, and Diffie-Hellman algorithms. You can
select multiple algorithms to apply.
Encryption n AES GCM 128 (default) The encryption algorithm used during the
n AES 128 Internet Protocol Security (IPSec)
negotiation.
n AES 256
n AES GCM 192
n AES GCM 256
n No Encryption Auth AES GMAC 128'
n No Encryption Auth AES GMAC 192
n No Encryption Auth AES GMAC 256
n No Encryption
n SHA2 384
n SHA2 512
Diffie-Hellman Group n Group 14 (default) The cryptography schemes that the peer
n Group 2 site and NSX Edge use to establish a
shared secret over an insecure
n Group 5
communications channel.
n Group 15
n Group 16
n Group 19
n Group 20
n Group 21
6 Deselect PFS Group if you decide not to use the PFS Group protocol on your VPN service.
It is selected by default.
7 In the SA Lifetime text box, modify the default number of seconds before the IPSec tunnel must be
re-established.
VMware, Inc. 74
NSX-T Data Center Administration Guide
8 Select the value for DF Bit to use with the IPSec tunnel.
The value determines how to handle the "Don't Fragment" (DF) bit included in the data packet
received. The acceptable values are described in the following table.
COPY The default value. When this value is selected, NSX-T Data Center copies the value of
the DF bit from the received packet into the packet which is forwarded. This value implies
that if the data packet received has the DF bit set, after encryption, the packet also has
the DF bit set.
CLEAR When this value is selected, NSX-T Data Center ignores the value of the DF bit in the
data packet received, and the DF bit is always 0 in the encrypted packet.
10 Click Save.
Results
A new row is added to the table of available IPSec profiles. To edit or delete a non-system created profile,
click the three-dot menu ( ) and select from the list of actions available.
If you decide not to use the default DPD profile provided, you can configure your own using the following
steps.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Select the DPD Profiles profile type, and click Add DPD Profile.
5 In the DPD Probe Interval text box, enter the number of seconds you want NSX-T Data Center to
wait before sending the next DPD probe. The default is 60 seconds.
If the NSX Edge node receives a response from the remote peer site, the DPD probe interval timer is
restarted. If the NSX Edge node does not hear back from the peer site within 0.5 seconds after the
next DPD probe is sent, a retransmission timer is set to 0.5 seconds. The NSX Edge node
retransmits the next DPD probe after the retransmission timer is reached. If the remote peer site
VMware, Inc. 75
NSX-T Data Center Administration Guide
continues not to respond, the retransmission timer is exponentially increased to the maximum limit of
6 seconds. The NSX Edge node continues to retransmit the DPD probe every time the retransmission
timer expires. The NSX Edge node retransmits up to a maximum of 30 times before it declares the
peer site to be dead and it tears down the security association (SA) on the dead peer's link. The total
time it takes to retransmit the DPD probe 30 times is about 2 minutes and 45 seconds.
7 Click Save.
Results
A new row is added to the table of available DPD profiles. To edit or delete a non-system created profile,
click the three-dot menu ( ) and select from the list of actions available.
Prerequisites
n Obtain the IP addresses for the local IP and remote IP to use with the L2 VPN Client session you are
adding.
n Obtain the peer code that was generated during the L2 VPN server configuration.
Procedure
1 Using vSphere Web Client, log in to the vCenter Server that manages the non-NSX environment.
2 Select Hosts and Clusters and expand clusters to show the available hosts.
3 Right-click the host where you want to install the autonomous NSX Edge and select Deploy OVF
Template.
4 Enter the URL to download and install the OVF file from the Internet or click Browse to locate the
folder on your computer that contains the autonomous NSX Edge OVF file and click Next.
5 On the Select name and folder page, enter a name for the autonomous NSX Edge and select the
folder or data center where you want to deploy. Then click Next.
6 On the Select a compute resource page, select the destination of the compute resource.
7 On the OVF Template Details page, review the template details and click Next.
VMware, Inc. 76
NSX-T Data Center Administration Guide
9 On the Select storage page, select the location to store the files for the configuration and disk files.
10 On the Select networks page, configure the networks that the deployed template must use. Select
the port group you created for the uplink interface, the port group that you created for the L2
extension port, and enter an HA interface. Click Next.
11 On the Customize Template page, enter the following values and click Next.
e Enter the External Port details for VLAN ID, exit interface, IP address, and IP prefix length such
that the exit interface maps to the Network with the port group of your uplink interface.
If the exit interface is connected to a trunk port group, specify a VLAN ID. For example,
20,eth2,192.168.5.1,24. You can also configure your port group with a VLAN ID and use
VLAN 0 for the External Port.
f (Optional) To configure High Availability, enter the HA Port details where the exit interface maps
to the appropriate HA Network.
g (Optional) When deploying an autonomous NSX Edge as a secondary node for HA, select
Deploy this autonomous-edge as a secondary node.
Use the same OVF file as the primary node and enter the primary node's IP address, user name,
password, and thumbprint.
To retrieve the thumbprint of the primary node, log in to the primary node and run the following
command:
Ensure that the VTEP IP addresses of the primary and secondary nodes are in the same subnet
and that they connect to the same port group. When you complete the deployment and start the
secondary-edge, it connects to the primary node to form an edge-cluster .
VMware, Inc. 77
NSX-T Data Center Administration Guide
12 On the Ready to complete page, review the autonomous Edge settings and click Finish.
Note If there are errors during the deployment, a message of the day is displayed on the CLI. You
can also use an API call to check for errors:
GET https://<nsx-mgr>/api/v1/node/status
The errors are categorized as soft errors and hard errors. Use API calls to resolve the soft errors as
required. You can clear the message of day using an API call:
POST /api/v1/node/status?action=clear_bootup_error
15 Select L2VPN > Add Session and enter the following values:
c Enter the peer code from the L2VPN server. See Download the Remote Side L2 VPN
Configuration File for details on obtaining the peer code.
16 Click Save.
19 Click Save.
20 Select L2VPN > Attach Port and enter the following values:
21 Click Attach.
You can create additional L2 extension ports and attach them to the session if you need to extend
multiple L2 networks.
22 Use the browser to log in to the autonomous NSX Edge or use API calls to view the status of the
L2VPN session.
Note If the L2VPN server configuration changes, ensure that you download the peer code again and
update the session with the new peer code.
VMware, Inc. 78
NSX-T Data Center Administration Guide
When you create an IPSec VPN session, multiple entities are created: IKE profile, DPD profile, tunnel
profile, local endpoint, IPSec VPN service, and IPSec VPN session. These entities all share the same
IPSecVPNSession span, so you can obtain the realization state of all the entities of the IPSec VPN session
by using the same GET API call. You can check the realization state using only the API.
Prerequisites
n Verify the IPSec VPN is configured successfully. See Add an IPSec VPN Service.
Procedure
For example:
PUT https://<nsx-mgr>/api/v1/vpn/ipsec/sessions/8dd1c386-9b2c-4448-85b8-51ff649fae4f
{
"resource_type": "PolicyBasedIPSecVPNSession",
"id": "8dd1c386-9b2c-4448-85b8-51ff649fae4f",
"display_name": "Test RZ_UPDATED",
"ipsec_vpn_service_id": "7adfa455-a6fc-4934-a919-f5728957364c",
"peer_endpoint_id": "17263ca6-dce4-4c29-bd8a-e7d12bd1a82d",
"local_endpoint_id": "91ebfa0a-820f-41ab-bd87-f0fb1f24e7c8",
"enabled": true,
"policy_rules": [
{
"id": "1026",
"sources": [
{
"subnet": "1.1.1.0/24"
}
],
"logged": true,
"destinations": [
{
"subnet": "2.1.4..0/24"
}
],
"action": "PROTECT",
"enabled": true,
VMware, Inc. 79
NSX-T Data Center Administration Guide
"_revision": 1
}
]
}
2 Locate and copy the value of x-nsx-requestid from the response header returned.
For example:
x-nsx-requestid e550100d-f722-40cc-9de6-cf84d3da3ccb
3 Request the realization state of the IPSec VPN session using the following GET call.
GET https://<nsx-mgr>/api/v1/vpn/ipsec/sessions/<ipsec-vpn-session-id>/state?request_id=<request-id>
The following API call uses the id and x-nsx-requestid values in the examples used in the previous
steps.
GET https://<nsx-mgr>/api/v1/vpn/ipsec/sessions/8dd1c386-9b2c-4448-85b8-51ff649fae4f/state?
request_id=e550100d-f722-40cc-9de6-cf84d3da3ccb
Following is an example of a response you receive when the realization state is in_progress.
{
"details": [
{
"sub_system_type": "TransportNode",
"sub_system_id": "fe651e63-04bd-43a4-a8ec-45381a3b71b9",
"state": "in_progress",
"failure_message": "CCP Id:ab5958df-d98a-468e-a72b-d89dcdae5346, Message:State realization
is in progress at the node."
},
{
"sub_system_type": "TransportNode",
"sub_system_id": "ebe174ac-e4f1-4135-ba72-3dd2eb7099e3",
"state": "in_sync"
}
],
"state": "in_progress",
"failure_message": "The state realization is in progress at transport nodes."
}
Following is an example of a response you receive when the realization state is in_sync.
{
"details": [
{
"sub_system_type": "TransportNode",
"sub_system_id": "7046e8f4-a680-11e8-9bc3-020020593f59",
"state": "in_sync"
VMware, Inc. 80
NSX-T Data Center Administration Guide
}
],
"state": "in_sync"
}
The following are examples of possible responses you receive when the realization state is unknown.
{
"state": "unknown",
"failure_message": "Unable to get response from any CCP node. Please retry operation after
some time."
}
{
"details": [
{
"sub_system_type": "TransportNode",
"sub_system_id": "3e643776-5def-11e8-94ae-020022e7749b",
"state": "unknown",
"failure_message": "CCP Id:ab5958df-d98a-468e-a72b-d89dcdae5346, Message: Unable to get
response from the node. Please retry operation after some time."
},
{
"sub_system_type": "TransportNode",
"sub_system_id": "4784ca0a-5def-11e8-93be-020022f94b73",
"state": "in_sync"
}
],
"state": "unknown",
"failure_message": "The state realization is unknown at transport nodes"
}
After you perform an entity DELETE operation, you might receive the status of NOT_FOUND, as shown in
the following example.
{
"http_status": "NOT_FOUND",
"error_code": 600,
"module_name": "common-services",
"error_message": "The operation failed because object identifier LogicalRouter/
61746f54-7ab8-4702-93fe-6ddeb804 is missing: Object identifiers are case sensitive.."
}
If the IPSec VPN service associated with the session is disabled, you receive the BAD_REQUEST
response, as shown in the following example.
{
"httpStatus": "BAD_REQUEST",
"error_code": 110199,
"module_name": "VPN",
"error_message": "VPN service f9cfe508-05e3-4e1d-b253-fed096bb2b63 associated with the
session 8dd1c386-9b2c-4448-85b8-51ff649fae4f is disabled. Can not get the realization status."
}
VMware, Inc. 81
NSX-T Data Center Administration Guide
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Navigate to the Networking > VPN > IPSec Sessions or Networking > VPN > L2 VPN Sessions
tab.
3 Expand the row for the VPN session that you want to monitor or troubleshoot.
4 To view the status of the VPN tunnel status, click the info icon.
The Status dialog box appears and displays the available statuses.
5 To view the VPN tunnel traffic statistics, click View Statistics in the Status column.
The Statistics dialog box displays the traffic statistics for the VPN tunnel.
6 To view the error statistics, click the View More link in the Statistics dialog box.
VMware, Inc. 82
6
Network Address Translation
Network address translation (NAT) maps one IP address space to another. You can configure NAT on
tier-0 and tier-1 gateways.
If a tier-0 gateway is running in active-active mode, you cannot configure SNAT or DNAT because
asymmetrical paths might cause issues. You can only configure reflexive NAT (sometimes called stateless
NAT). If a tier-0 gateway is running in active-standby mode, you can configure SNAT, DNAT, or reflexive
NAT.
You can also disable SNAT or DNAT for an IP address or a range of addresses. If an address has multiple
NAT rules, the rule with the highest priority is applied.
SNAT configured on a tier-0 gateway's external interface will process traffic from a tier-1 gateway as well
as from another external interface on the tier-0 gateway.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Select a gateway.
5 Select an action.
For a tier-1 gateway, the available actions are SNAT, DNAT, Reflexive, NO SNAT, and NO DNAT.
For a tier-0 gateway in active-standby mode, the available actions are SNAT, DNAT, NO SNAT, and
NO DNAT.
VMware, Inc. 83
NSX-T Data Center Administration Guide
7 (Required) For Source IP, specify an IP address or an IP address range in CIDR format.
If you leave this field blank, this NAT rule applies to all sources outside of the local subnet.
The available settings are Match External Address, Match Internal Address, and Bypass.
13 (Required) For Applied To, select objects that this rule applies to.
The available objects are Tier-0 Gateways, Interfaces, Labels, Service Instance Endpoints, and
Virtual Endpoints.
15 Click Save.
VMware, Inc. 84
7
Load Balancing
The NSX-T Data Center logical load balancer offers high-availability service for applications and
distributes the network traffic load among multiple servers.
Tier 1
The load balancer distributes incoming service requests evenly among multiple servers in such a way that
the load distribution is transparent to users. Load balancing helps in achieving optimal resource
utilization, maximizing throughput, minimizing response time, and avoiding overload.
You can map a virtual IP address to a set of pool servers for load balancing. The load balancer accepts
TCP, UDP, HTTP, or HTTPS requests on the virtual IP address and decides which pool server to use.
Depending on your environment needs, you can scale the load balancer performance by increasing the
existing virtual servers and pool members to handle heavy network traffic load.
Note Logical load balancer is supported only on the tier-1 gateway. One load balancer can be attached
only to a tier-1 gateway.
VMware, Inc. 85
NSX-T Data Center Administration Guide
A load balancer is connected to a Tier-1 logical router. The load balancer hosts single or multiple virtual
servers. A virtual server is an abstract of an application service, represented by a unique combination of
IP, port, and protocol. The virtual server is associated to single to multiple server pools. A server pool
consists of a group of servers. The server pools include individual server pool members.
To test whether each server is correctly running the application, you can add health check monitors that
check the health status of a server.
Tier - 1 A Tier - 1 B
LB 1 LB 2
HC 1 HC 2
A load balancer runs on a tier-1 gateway, which must be in active-standby mode. The gateway runs on
NSX Edge nodes. The form factor of the NSX Edge node (bare metal, small, medium, or large)
determines the number of load balancers that the NSX Edge node can support. Note that in the
Advanced Networking & Security tab, the term logical router is used to refer to a gateway.
For more information about what the different load balance sizes and NSX Edge form factors can support,
see https://configmax.vmware.com.
Note that using a small NSX Edge node to run a small load balancer is not recommended in a production
environment.
You can call an API to get the load balancer usage information of an NSX Edge node. If you use the
Networking tab to configure load balancing, run the following command:
GET /policy/api/v1/infra/lb-node-usage?node_path=<node-path>
VMware, Inc. 86
NSX-T Data Center Administration Guide
If you use the Advanced Networking & Security tab to configure load balancing, run the following
command:
GET /api/v1/loadbalancer/usage-per-node/<node-id>
The usage information includes the number of load balancer objects (such as load balancer services,
virtual servers, server pools, and pool members) that are configured on the node. For more information,
see the NSX-T Data Center API Guide.
n Health check monitors - Active monitor which includes HTTP, HTPPS, TCP, UDP, and ICMP, and
passive monitor
n HTTP upgrade - For applications using HTTP upgrade such as WebSocket, the client or server
requests for HTTP Upgrade, which is supported. By default, NSX-T Data Center supports and
accepts HTTPS upgrade client request using the HTTP application profile.
To detect an inactive client or server communication, the load balancer uses the HTTP application
profile response timeout feature set to 60 seconds. If the server does not send traffic during the 60
seconds interval, NSX-T Data Center ends the connection on the client and server side.
Note: SSL -Terminate-mode and proxy-mode is not supported in NSX-T Data Center limited export
release.
VMware, Inc. 87
NSX-T Data Center Administration Guide
Fast TCP
HTTP
Virtual Server Server-SSL Profile
Source-IP
Cookie
SNAT
Pool
Pool Members
Inline Topology
In the inline mode, the load balancer is in the traffic path between the client and the server. Clients and
servers must not be connected to the same tier-1 logical router. This topology does not require virtual
server SNAT.
VMware, Inc. 88
NSX-T Data Center Administration Guide
C S
External Router
Tier-0 LR
Virtual
LB 1 C S
Server 1
Tier-1 A Tier-1 B
C S S S C S C
One-Arm Topology
In one-arm mode, the load balancer is not in the traffic path between the client and the server. In this
mode, the client and the server can be anywhere. The load balancer performs Source NAT (SNAT) to
force return traffic from the server destined to the client to go through the load balancer. This topology
requires virtual server SNAT to be enabled.
When the load balancer receives the client traffic to the virtual IP address, the load balancer selects a
server pool member and forwards the client traffic to it. In the one-arm mode, the load balancer replaces
the client IP address with the load balancer IP address so that the server response is always sent to the
load balancer and the load balancer forwards the response to the client.
Virtual
LB 3
Server 3
C S Tier1 One-Arm C
C S
Virtual Tier-1 A
LB 1
Server 1
Tier1 One-Arm A C S S C S
VMware, Inc. 89
NSX-T Data Center Administration Guide
n Ingress
Note: If DNAT is configured with Firewall Bypass, Firewall is skipped but not Load Balancer.
n Egress
Note In the Advanced & Security tab, the term tier-1 logical router is used to refer to a tier-1 gateway.
Next, you set up health check monitoring for your servers. You must then configure server pools for your
load balancer. Finally, you must create a layer 4 or layer 7 virtual server for your load balancer and attach
the newly created virtual server to the load balancer.
Tier-1
1
Note In the Advanced & Security tab, the term tier-1 logical router is used to refer to a tier-1 gateway.
You can configure the level of error messages you want the load balancer to add to the error log.
Note Avoid setting the log level to DEBUG on load balancers with a significant traffic due to the number
of messages printed to the log that affect performance.
VMware, Inc. 90
NSX-T Data Center Administration Guide
Tier-1
1
Prerequisites
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Select the load balancer virtual server size and number of pool members based on your available
resources.
5 Select the already configured tier-1 gateway to attach to this load balancer from the drop-down menu.
6 Define the severity level of the error log from the drop-down menu.
Load balancer collects information about encountered issues of different severity levels to the error
log.
8 Click Save.
The load balancer creation and attaching the load balancer to the tier-1 gateway takes about three
minutes and the configuration status to appear green and Up.
If the status is Down, click the information icon and resolve the error before you proceed.
a Detach the load balancer from the virtual server and tier-1 gateway.
VMware, Inc. 91
NSX-T Data Center Administration Guide
d Select Delete.
Note In the Advanced & Security tab, the term tier-1 logical router is used to refer to a tier-1 gateway.
Servers that fail to respond within a certain time period or respond with errors are excluded from future
connection handling until a subsequent periodic health check finds these servers to be healthy.
Active health checks are performed on server pool members after the pool member is attached to a
virtual server and that virtual server is attached to a tier-1 gateway. The tier-1 uplink IP address is used
for the health check.
Note One active health monitor can be configured per server pool.
Tier-1
1
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Networking > Load Balancing > Monitors > Active > Add Active Monitor.
You can also use predefined protocols; HTTP, HTTPS, ICMP, TCP, and UDP for NSX Manager.
VMware, Inc. 92
NSX-T Data Center Administration Guide
You can also accept the default active health monitor values.
Option Description
Name and Description Enter a name and description for the active health monitor.
Monitoring Interval Set the time in seconds that the monitor sends another connection request to the
server.
Timeout Period Set the number of times the server is tested before it is considered as DOWN.
Fall Count Set a value when the consecutive failures reach this value, the server is considered
temporarily unavailable.
Rise Count Set a number after this timeout period, the server is tried again for a new
connection to see if it is available.
For example, if the monitoring interval is set as 5 seconds and the timeout as 15 seconds, the load
balancer send requests to the server every 5 seconds. In each probe, if the expected response is
received from the server within 15 seconds, then the health check result is OK. If not, then the result
is CRITICAL. If the recent three health check results are all UP, the server is considered as UP.
6 Click Configure.
Option Description
HTTP Method Select the method to detect the server status from the drop-down menu, GET,
OPTIONS, POST, HEAD, and PUT.
HTTP Request URL Enter the request URI for the method.
HTTP Request Version Select the supported request version from the drop-down menu.
You can also accept the default version, HTTP_VERSION_1.
HTTP Response Header Click Add and enter the HTTP response header name and corresponding value.
The default header value is 4000. The maximum header value is 64,000.
HTTP Response Code Enter the string that the monitor expects to match in the status line of HTTP
response body.
The response code is a comma-separated list.
For example, 200,301,302,401.
HTTP Response Body If the HTTP response body string and the HTTP health check response body
match, then the server is considered as healthy.
9 Complete step 5.
VMware, Inc. 93
NSX-T Data Center Administration Guide
10 Click Configure.
11 Enter the HTTP request and response and SSL configuration details.
Option Description
Name and Description Enter a name and description for the active health monitor.
HTTP Method Select the method to detect the server status from the drop-down menu, GET,
OPTIONS, POST, HEAD, and PUT.
HTTP Request URL Enter the request URI for the method.
HTTP Request Version Select the supported request version from the drop-down menu.
You can also accept the default version, HTTP_VERSION_1.
HTTP Response Header Click Add and enter the HTTP response header name and corresponding value.
The default header value is 4000. The maximum header value is 64,000.
HTTP Response Code Enter the string that the monitor expects to match in the status line of HTTP
response body.
The response code is a comma-separated list.
For example, 200,301,302,401.
HTTP Response Body If the HTTP response body string and the HTTP health check response body
match, then the server is considered as healthy.
Client Certificate (Optional) Select a certificate from the drop-down menu to be used if the server
does not host multiple host names on the same IP address or if the client does not
support an SNI extension.
Server SSL Profile (Optional) Assign a default SSL profile from the drop-down menu that defines
reusable and application-independent client-side SSL properties.
Click the vertical ellipses and create a custom SSL profile.
Trusted CA Certificates (Optional) You can require the client to have a CA certificate for authentication.
Mandatory Server Authentication (Optional) Toggle the button to enable server authentication.
Certificate Chain Depth (Optional) Set the authentication depth for the client certificate chain.
Certificate Revocation List (Optional) Set a Certificate Revocation List (CRL) in the client-side SSL profile to
reject compromised client certificates.
13 Complete step 5 and assign the data size in byte of the ICMP health check packet.
15 Complete step 5 and you can leave the TCP data parameters empty.
If both the data sent and expected are not listed, then a three-way handshake TCP connection is
established to validate the server health. No data is sent.
Expected data if listed has to be a string. Regular expressions are not supported.
VMware, Inc. 94
NSX-T Data Center Administration Guide
UDP Data Sent Enter the string to be sent to a server after a connection is established.
UDP Data Expected Enter the string expected to receive from the server.
Only when the received string matches this definition, is the server is considered as
UP.
What to do next
Associate the active health monitor with a server pool. See Add a Server Pool.
Passive health check monitors client traffic going through the load balancer for failures. For example, if a
pool member sends a TCP Reset (RST) in response to a client connection, the load balancer detects that
failure. If there are multiple consecutive failures, then the load balancer considers that server pool
member to be temporarily unavailable and stops sending connection requests to that pool member for
some time. After some time, the load balancer sends a connection request to verify that the pool member
has recovered. If that connection is successful, then the pool member is considered healthy. Otherwise,
the load balancer waits for some time and tries again.
Passive health check considers the following scenarios to be failures in the client traffic.
n For server pools associated with Layer 7 virtual servers, if the connection to the pool member fails.
For example, if the pool member sends a TCP RST when the load balancer tries to connect or
perform an SSL handshake between the load balancer and the pool member fails.
n For server pools associated with Layer 4 TCP virtual servers, if the pool member sends a TCP RST in
response to client TCP SYN or does not respond at all.
n For server pools associated with Layer 4 UDP virtual servers, if a port is unreachable or a destination
unreachable ICMP error message is received in response to a client UDP packet.
Server pools associated to Layer 7 virtual servers, the failed connection count is incremented when any
TCP connection errors, for example, TCP RST failure to send data or SSL handshake failures occur.
Server pools associated to Layer 4 virtual servers, if no response is received to a TCP SYN sent to the
server pool member or if a TCP RST is received in response to a TCP SYN, then the server pool member
is considered as DOWN. The failed count is incremented.
For Layer 4 UDP virtual servers, if an ICMP error such as, port or destination unreachable message is
received in response to the client traffic, then it is considered as DOWN.
Note One passive health monitor can be configured per server pool.
VMware, Inc. 95
NSX-T Data Center Administration Guide
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Networking > Load Balancing > Monitors > Passive > Add Passive Monitor.
You can also accept the default active health monitor values.
Option Description
Fall Count Set a value when the consecutive failures reach this value, the server is considered
temporarily unavailable.
Timeout Period Set the number of times the server is tested before it is considered as DOWN.
For example, when the consecutive failures reach the configured value 5, that member is considered
temporarily unavailable for 5 seconds. After this period, that member is tried again for a new
connection to see if it is available. If that connection is successful, then the member is considered
available and the failed count is set to zero. However, if that connection fails, then it is not used for
another timeout interval of 5 seconds.
What to do next
Associate the passive health monitor with a server pool. See Add a Server Pool.
Tier-1
1
VMware, Inc. 96
NSX-T Data Center Administration Guide
Pool
Pool Members
Prerequisites
n If you use dynamic pool members, a NSGroup must be configured. See Create an NSGroup.
n Verify that a passive health monitors is configured. See Add a Passive Monitor.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Networking > Load Balancing > Server Pools > Add Server Pool.
3 Enter a name and description for the load balancer server pool.
You can optionally describe the connections managed by the server pool.
Load balancing algorithm controls how the incoming connections are distributed among the members.
The algorithm can be used on a server pool or a server directly.
All load balancing algorithms skip servers that meet any of the following conditions:
VMware, Inc. 97
NSX-T Data Center Administration Guide
n Connection limit for the maximum server pool concurrent connections is reached.
Option Description
ROUND_ROBIN Incoming client requests are cycled through a list of available servers capable of
handling the request.
Ignores the server pool member weights even if they are configured.
WEIGHTED_ROUND_ROBIN Each server is assigned a weight value that signifies how that server performs
relative to other servers in the pool. The value determines how many client
requests are sent to a server compared to other servers in the pool.
This load balancing algorithm focuses on fairly distributing the load among the
available server resources.
LEAST_CONNECTION Distributes client requests to multiple servers based on the number of connections
already on the server.
New connections are sent to the server with the fewest connections. Ignores the
server pool member weights even if they are configured.
WEIGHTED_LEAST_CONNECTION Each server is assigned a weight value that signifies how that server performs
relative to other servers in the pool. The value determines how many client
requests are sent to a server compared to other servers in the pool.
This load balancing algorithm focuses on using the weight value to distribute the
load among the available server resources.
By default, the weight value is 1 if the value is not configured and slow start is
enabled.
IP-HASH Selects a server based on a hash of the source IP address and the total weight of
all the running servers.
VMware, Inc. 98
NSX-T Data Center Administration Guide
Option Description
Enter individual members Enter a pool member name, IP address, and a port.
Each server pool member can be configured with a weight for use in the load
balancing algorithm. The weight indicates how much more or less load a given pool
member can handle relative to other members in the same pool.
You can set the server pool admin state. By default, the option is enable when a
server pool member is added.
If the option is disabled, active connections are processed and the server pool
member is not selected for new connections. New connections are assigned to
other members of the pool.
If gracefully disabled, it allows you to remove servers for maintenance. The existing
connections to a member in the server pool in this state continue to be processed.
Toggle the button to designate a pool member as a backup member to work with
the health monitor to provide an Active-Standby state. Traffic failover occurs for
backup members if active members fail a health check. Backup members are
skipped during the server selection. When the server pool is inactive, the incoming
connections are sent to only the backup members that are configured with a sorry
page indicating an application is unavailable.
Max Concurrent Connection value assigns a connection maximum so that the
server pool members are not overloaded and skipped during server selection. If a
value is not specified, then the connection is unlimited.
6 Select the active health check monitor for the server pool from the drop-down menu.
The load balancer periodically sends an ICMP ping to the servers to verify health independent of data
traffic. You can configure only one active health check monitor per server pool.
VMware, Inc. 99
NSX-T Data Center Administration Guide
Depending on the topology, SNAT might be required so that the load balancer receives the traffic from
the server destined to the client. SNAT can be enabled per server pool.
Mode Description
Auto Map Mode Load Balancer uses the interface IP address and ephemeral port to continue the
communication with a client initially connected to one of the server's established
listening ports.
SNAT is required.
Enable port overloading to allow the same SNAT IP and port to be used for multiple
connections if the tuple (source IP, source port, destination IP, destination port, and
IP protocol) is unique after the SNAT process is performed.
You can also set the port overload factor to allow the maximum number of times a
port can be used simultaneously for multiple connections.
IP Pool Specify a single IP address range, for example, 1.1.1.1-1.1.1.10 to be used for
SNAT while connecting to any of the servers in the pool.
By default, from 4000 through 64000-port range is used for all configured SNAT IP
addresses. Port ranges from 1000 through 4000 are reserved for purposes such
as, health checks and connections initiated from Linux applications. If multiple IP
addresses are present, then they are selected in a Round Robin manner.
Enable port overloading to allow the same SNAT IP and port to be used for multiple
connections if the tuple (source IP, source port, destination IP, destination port, and
IP protocol) is unique after the SNAT process is performed.
You can also set the port overload factor to allow the maximum number of times a
port can be used simultaneously for multiple connections.
With TCP multiplexing, you can use the same TCP connection between a load balancer and the
server for sending multiple client requests from different client TCP connections.
9 Set the maximum number of TCP multiplexing connections per pool that are kept alive to send future
client requests.
10 Enter the minimum number of active members the server pool must always maintain.
11 Select a passive health monitor for the server pool from the drop-down menu.
Tier-1
1
Fast TCP
HTTP
Virtual Server Server-SSL Profile
Source-IP
Cookie
Pool
Application profiles define the behavior of a particular type of network traffic. The associated virtual server
processes network traffic according to the values specified in the application profile. Fast TCP, Fast UDP,
and HTTP application profiles are the supported types of profiles.
TCP application profile is used by default when no application profile is associated to a virtual server. TCP
and UDP application profiles are used when an application is running on a TCP or UDP protocol and
does not require any application level load balancing such as, HTTP URL load balancing. These profiles
are also used when you only want Layer 4 load balancing, which has a faster performance and supports
connection mirroring.
HTTP application profile is used for both HTTP and HTTPS applications when the load balancer must
take actions based on Layer 7 such as, load balancing all images requests to a specific server pool
member or stopping HTTPS to offload SSL from pool members. Unlike the TCP application profile, the
HTTP application profile stops the client TCP connection before selecting the server pool member.
Tier-1
Tier-1
Layer 7 VIP
(HTTP/HTTPS)
Load Balancer Server 1
Clients
Server 2
Virtual
Server 1
Server 3
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Networking > Load Balancing > Profiles > Application > Add Application Profiles.
3 Select a Fast TCP application profile and enter the profile details.
You can also accept the default FAST TCP profile settings.
Option Description
Name and Description Enter a name and a description for the Fast TCP application profile.
Idle Timeout Enter the time in seconds on how long the server can remain idle after a TCP
connection is established.
Set the idle time to the actual application idle time and add a few more seconds so
that the load balancer does not close its connections before the application does.
HA Flow Mirroring Toggle the button to make all the flows to the associated virtual server mirrored to
the HA standby node.
Connection Close Timeout Enter the time in seconds that the TCP connection both FINs or RST must be kept
for an application before closing the connection.
A short closing timeout might be required to support fast connection rates.
4 Select a Fast UDP application profile and enter the profile details.
Option Description
Name and Description Enter a name and a description for the Fast UDP application profile.
Idle Timeout Enter the time in seconds on how long the server can remain idle after a UDP
connection is established.
UDP is a connectionless protocol. For load balancing purposes, all the UDP
packets with the same flow signature such as, source and destination IP address
or ports and IP protocol received within the idle timeout period are considered to
belong to the same connection and sent to the same server.
If no packets are received during the idle timeout period, the connection which is
an association between the flow signature and the selected server is closed.
HA Flow Mirroring Toggle the button to make all the flows to the associated virtual server mirrored to
the HA standby node.
HTTP application profile is used for both HTTP and HTTPS applications.
Option Description
Name and Description Enter a name and a description for the HTTP application profile.
Idle Timeout Enter the time in seconds on how long an HTTP application can remain idle,
instead of the TCP socket setting which must be configured in the TCP application
profile.
Request Header Size Specify the maximum buffer size in bytes used to store HTTP request headers.
X-Forwarded-For (XFF) n Insert - If the XFF HTTP header is not present in the incoming request, the
load balancer inserts a new XFF header with the client IP address. If the XFF
HTTP header is present in the incoming request, the load balancer appends
the XFF header with the client IP address.
n Replace - If the XFF HTTP header is present in the incoming request, the load
balancer replaces the header.
Web servers log each request they handle with the requesting client IP address.
These logs are used for debugging and analytics purposes. If the deployment
topology requires SNAT on the load balancer, then server uses the client SNAT IP
address which defeats the purpose of logging.
As a workaround, the load balancer can be configured to insert XFF HTTP header
with the original client IP address. Servers can be configured to log the IP address
in the XFF header instead of the source IP address of the connection.
Request Body Size Enter value for the maximum size of the buffer used to store the HTTP request
body.
If the size is not specified, then the request body size is unlimited.
Redirection n None - If a website is temporarily down, user receives a page not found error
message.
n HTTP Redirect - If a website is temporarily down or has moved, incoming
requests for that virtual server can be temporarily redirected to a URL specified
here. Only a static redirection is supported.
For HTTP to HTTPS redirect, the HTTPS virtual server must have port 443 and
the same virtual server IP address must be configured on the same load
balancer.
Option Description
NTLM Authentication Toggle the button for the load balancer to turn off TCP multiplexing and enable
HTTP keep-alive.
NTLM is an authentication protocol that can be used over HTTP. For load
balancing with NTLM authentication, TCP multiplexing must be disabled for the
server pools hosting NTLM-based applications. Otherwise, a server-side
connection established with one client's credentials can potentially be used for
serving another client's requests.
If NTLM is enabled in the profile and associated to a virtual server, and TCP
multiplexing is enabled at the server pool, then NTLM takes precedence. TCP
multiplexing is not performed for that virtual server. However, if the same pool is
associated to another non-NTLM virtual server, then TCP multiplexing is available
for connections to that virtual server.
If the client uses HTTP/1.0, the load balancer upgrades to HTTP/1.1 protocol and
the HTTP keep-alive is set. All HTTP requests received on the same client-side
TCP connection are sent to the same server over a single TCP connection to
ensure that reauthorization is not required.
Some applications maintain the server state such as, shopping carts. Such state might be per client and
identified by the client IP address or per HTTP session. Applications might access or modify this state
while processing subsequent related connections from the same client or HTTP session.
The source IP persistence profile tracks sessions based on the source IP address. When a client
requests a connection to a virtual server that enables the source address persistence, the load balancer
checks if that client was previously connected, if so, returns the client to the same server. If not, you can
select a server pool member based on the pool load balancing algorithm. Source IP persistence profile is
used by Layer 4 and Layer 7 virtual servers.
The cookie persistence profile inserts a unique cookie to identify the session the first time a client
accesses the site. The client forwards the HTTP cookie in subsequent requests and the load balancer
uses that information to provide the cookie persistence. Layer 7 virtual servers can only use the cookie
persistence profile.
The generic persistence profile supports persistence based on the HTTP header, cookie, or URL in the
HTTP request. Therefore, it supports app session persistence when the session ID is part of the URL.
This profile is not associated with a virtual server directly. You can specify this profile when you configure
a load balancer rule for request forwarding and response rewrite.
Tier-1
Server 2
Virtual
Client 2 Server 1
Server 3
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Networking > Load Balancing > Profiles > Persistence > Add Persistence Profiles.
3 Select Source IP to add a source IP persistence profile and enter the profile details.
Option Description
Name and Description Enter a name and a description for the Source IP persistence profile.
Share Persistence Toggle the button to share the persistence so that all virtual servers this profile is
associated with can share the persistence table.
If the persistence sharing is not enabled in the Source IP persistence profile
associated to a virtual server, each virtual server that the profile is associated to
maintains a private persistence table.
Purge Entries When Full A large timeout value might lead to the persistence table quickly filling up when the
traffic is heavy. When this option is enabled, the oldest entry is deleted to accept
the newest entry.
When this option is disabled, if the source IP persistance table is full, new client
connections are rejected.
Option Description
HA Persistence Mirroring Toggle the button to synchronize persistence entries to the HA peer. When HA
persistance mirroring is enabled, the client IP persistance remains in the case of
load balancer failover.
Option Description
Name and Description Enter a name and a description for the Cookie persistence profile.
Share Persistence Toggle the button to share persistence across multiple virtual servers that are
associated to the same pool members.
The Cookie persistence profile inserts a cookie with the format, <name>.<profile-
id>.<pool-id>.
If the persistence shared is not enabled in the Cookie persistence profile
associated with a virtual server, the private Cookie persistence for each virtual
server is used and is qualified by the pool member. The load balancer inserts a
cookie with the format, <name>.<virtual_server_id>.<pool_id>.
Cookie Fallback Toggle the button so that the client request is rejected if cookie points to a server
that is in a DISABLED or is in a DOWN state.
Selects a new server to handle a client request if the cookie points to a server that
is in a DISABLED or is in a DOWN state.
Max Idle Time Enter the time in seconds that the cookie type can be idle before a cookie expires.
Max Cookie Age For the session cookie type, enter the time in seconds a cookie is available.
5 Select Generic to add a generic persistence profile and enter the profile details.
Option Description
Name and Description Enter a name and a description for the Source IP persistence profile.
Share Persistence Toggle the button to share the profile among virtual servers.
HA Persistence Mirroring Toggle the button to synchronize persistence entries to the HA peer.
Note SSL profile is not supported in the NSX-T Data Center limited export release.
Client-side SSL profile refers to the load balancer acting as an SSL server and stopping the client SSL
connection. Server-side SSL profile refers to the load balancer acting as a client and establishing a
connection to the server.
You can specify a cipher list on both the client-side and server-side SSL profiles.
SSL session caching allows the SSL client and server to reuse previously negotiated security parameters
avoiding the expensive public key operation during the SSL handshake. SSL session caching is disabled
by default on both the client-side and server-side.
SSL session tickets are an alternate mechanism that allows the SSL client and server to reuse previously
negotiated session parameters. In SSL session tickets, the client and server negotiate whether they
support SSL session tickets during the handshake exchange. If supported by both, server can send an
SSL ticket, which includes encrypted SSL session parameters to the client. The client can use that ticket
in subsequent connections to reuse the session. SSL session tickets are enabled on the client-side and
disabled on the server-side.
Tier-1
1
Layer 7 VIP
Load Balancer Server 1
Clients
Server 2
Virtual
Server 1
Server 3
Tier-1
1
Layer 7 VIP
HTTPS HTTPS
(Client SSL (Server SSL
Profile) Profile)
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Networking > Load Balancing > Profiles > SSL Profile.
Option Description
Name and Description Enter a name and a description for the Client SSL profile.
SSL Suite Select the SSL Cipher group from the drop-down menu and available SSL Ciphers
and SSL protocols to be included in the Client SSL profile are populated.
Balanced SSL Cipher group is the default.
Session Caching Toggle the button to allow the SSL client and server to reuse previously negotiated
security parameters avoiding the expensive public key operation during an SSL
handshake.
Option Description
Supported SSL Ciphers Depending on the SSL suite, you assigned the supported SSL Ciphers are
populated here. Click View More to view the entire list.
If you selected Custom, you must select the SSL Ciphers from the drop-down
menu.
Supported SSL Protocols Depending on the SSL suite, you assigned the supported SSL protocols are
populated here. Click View More to view the entire list.
If you selected Custom, you must select the SSL Ciphers from the drop-down
menu.
Session Cache Entry Timeout Enter the cache timeout in seconds to specify how long the SSL session
parameters must be kept and can be reused.
Prefer Server Cipher Toggle the button so that the server can select the first supported cipher from the
list it can support.
During an SSL handshake, the client sends an ordered list of supported ciphers to
the server.
Option Description
Name and Description Enter a name and a description for the Server SSL profile.
SSL Suite Select the SSL Cipher group from the drop-down menu and available SSL Ciphers
and SSL protocols to be included in the Server SSL profile are populated.
Balanced SSL Cipher group is the default.
Session Caching Toggle the button to allow the SSL client and server to reuse previously negotiated
security parameters avoiding the expensive public key operation during an SSL
handshake.
Supported SSL Ciphers Depending on the SSL suite, you assigned the supported SSL Ciphers are
populated here. Click View More to view the entire list.
If you selected Custom, you must select the SSL Ciphers from the drop-down
menu.
Supported SSL Protocols Depending on the SSL suite, you assigned the supported SSL protocols are
populated here. Click View More to view the entire list.
If you selected Custom, you must select the SSL Ciphers from the drop-down
menu.
Session Cache Entry Timeout Enter the cache timeout in seconds to specify how long the SSL session
parameters must be kept and can be reused.
Prefer Server Cipher Toggle the button so that the server can select the first supported cipher from the
list it can support.
During an SSL handshake, the client sends an ordered list of supported ciphers to
the server.
A Layer 4 virtual server must be associated to a primary server pool, also called a default pool.
If a virtual server status is disabled, any new connection attempts to the virtual server are rejected by
sending either a TCP RST for the TCP connection or ICMP error message for UDP. New connections are
rejected even if there are matching persistence entries for them. Active connections continue to be
processed. If a virtual server is deleted or disassociated from a load balancer, then active connections to
that virtual server fail.
Prerequisites
n Verify that application profiles are available. See Add an Application Profile.
n Verify that persistent profiles are available. See Add a Persistence Profile.
n Verify that SSL profiles for the client and server are available. See Add an SSL Profile.
n Verify that server pools are available. See Add a Server Pool.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Networking > Load Balancing > Virtual Servers > Add Virtual Server.
Layer 4 virtual servers support either the Fast TCP or Fast UDP protocol, but not both.
For Fast TCP or Fast UDP protocol support on the same IP address and port, for example DNS, a
virtual server must be created for each protocol.
Option Description
Name and Description Enter a name and a description for the Layer 4 virtual server.
Load Balancer Select an existing load balancer to attach to this Layer 4 virtual server from the
drop down menu.
Server Pool Select an existing server pool from the drop-down menu.
The server pool consists of one or more servers, also called pool members that are
similarly configured and running the same application.
You can click the vertical ellipses to create a server pool.
Option Description
Application Profile Based on the protocol type, the existing application profile is automatically
populated.
You can click the vertical ellipses to create an application profile.
Max Concurrent Connection Set the maximum concurrent connection allowed to a virtual server so that the
virtual server does not deplete resources of other applications hosted on the same
load balancer.
Max New Connection Rate Set the maximum new connection to a server pool member so that a virtual server
does not deplete resources.
Sorry Server Pool Select an existing sorry server pool from the drop-down menu.
The sorry server pool serves the request when a load balancer cannot select a
backend server to the serve the request from the default pool.
You can click the vertical ellipses to create a server pool.
Default Pool Member Port Enter a default pool member port if the pool member port for a virtual server is not
defined.
For example, if a virtual server is defined with port range 2000-2999 and the default
pool member port range is set as 8000-8999, then an incoming client connection to
the virtual server port 2500 is sent to a pool member with a destination port set to
8500.
Admin State Toggle the button to disable the admin state of the Layer 4 virtual server.
Access Log Toggle the button to enable logging for the Layer 4 virtual server.
Option Description
Name and Description Enter a name and a description for the Layer 4 virtual server.
Load Balancer Select an existing load balancer to attach to this Layer 4 virtual server from the
drop down menu.
Server Pool Select an existing server pool from the drop-down menu.
The server pool consists of one or more servers, also called pool members that are
similarly configured and running the same application.
You can click the vertical ellipses to create a server pool.
Application Profile Based on the protocol type, the existing application profile is automatically
populated.
You can click the vertical ellipses to create an application profile.
Option Description
Max Concurrent Connection Set the maximum concurrent connection allowed to a virtual server so that the
virtual server does not deplete resources of other applications hosted on the same
load balancer.
Max New Connection Rate Set the maximum new connection to a server pool member so that a virtual server
does not deplete resources.
Sorry Server Pool Select an existing sorry server pool from the drop-down menu.
The sorry server pool serves the request when a load balancer cannot select a
backend server to the serve the request from the default pool.
You can click the vertical ellipses to create a server pool.
Default Pool Member Port Enter a default pool member port if the pool member port for a virtual server is not
defined.
For example, if a virtual server is defined with port range 2000-2999 and the default
pool member port range is set as 8000-8999, then an incoming client connection to
the virtual server port 2500 is sent to a pool member with a destination port set to
8500.
Admin State Toggle the button to disable the admin state of the Layer 4 virtual server.
Access Log Toggle the button to enable logging for the Layer 4 virtual server.
Load balancer rules are supported for only Layer 7 virtual servers with an HTTP application profile.
Different load balancer services can use load balancer rules.
Each load balancer rule consists of single or multiple match conditions and single or multiple actions. If
the match conditions are not specified, then the load balancer rule always matches and is used to define
default rules. If more than one match condition is specified, then the matching strategy determines if all
conditions must match or any one condition must match for the load balancer rule to be considered a
match.
Each load balancer rule is implemented at a specific phase of the load balancing processing; HTTP
Request Rewrite, HTTP Request Forwarding, and HTTP Response Rewrite. Not all the match conditions
and actions are applicable to each phase.
If a virtual server status is disabled, any new connection attempts to the virtual server are rejected by
sending either a TCP RST for the TCP connection or ICMP error message for UDP. New connections are
rejected even if there are matching persistence entries for them. Active connections continue to be
processed. If a virtual server is deleted or disassociated from a load balancer, then active connections to
that virtual server fail.
Note SSL profile is not supported in the NSX-T Data Center limited export release.
If a client-side SSL profile binding is configured on a virtual server but not a server-side SSL profile
binding, then the virtual server operates in an SSL-terminate mode, which has an encrypted connection to
the client and plain text connection to the server. If both the client-side and server-side SSL profile
bindings are configured, then the virtual server operates in SSL-proxy mode, which has an encrypted
connection both to the client and the server.
Associating server-side SSL profile binding without associating a client-side SSL profile binding is
currently not supported. If a client-side and a server-side SSL profile binding is not associated with a
virtual server and the application is SSL-based, then the virtual server operates in an SSL-unaware
mode. In this case, the virtual server must be configured for Layer 4. For example, the virtual server can
be associated to a fast TCP profile.
Prerequisites
n Verify that application profiles are available. See Add an Application Profile.
n Verify that persistent profiles are available. See Add a Persistence Profile.
n Verify that SSL profiles for the client and server are available. See Add an SSL Profile.
n Verify that server pools are available. See Add a Server Pool.
n Verify that CA and client certificate are available. See Create a Certificate Signing Request File.
n Verify that a certification revocation list (CRL) is available. See Import a Certificate Revocation List.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Networking > Load Balancing > Virtual Servers > Add Virtual Server.
Option Description
Name and Description Enter a name and a description for the Layer virtual server.
Option Description
Load Balancer Select an existing load balancer to attach to this Layer 4 virtual server from the
drop down menu.
Server Pool Select an existing server pool from the drop-down menu.
The server pool consists of one or more servers, also called pool members that are
similarly configured and running the same application.
You can click the vertical ellipses to create a server pool.
Application Profile Based on the protocol type, the existing application profile is automatically
populated.
You can click the vertical ellipses to create an application profile.
Option Description
Client SSL Profile Select the Client-side SSL Profile from the drop-down menu.
SNI Certificates Select the available SNI certificate from the drop-down menu.
Mandatory Client Authentication Toggle the button to enable this menu item.
Certificate Chain Depth Set the certificate chain depth to verify the depth in the server certificates chain.
Certificate Revocation List Select the available CRL to disallow compromised server certificates.
Option Description
Server SSL Profile Select the Server-side SSL Profile from the drop-down menu.
Option Description
Mandatory Server Authentication Toggle the button to enable this menu item.
Server-side SSL profile binding specifies whether the server certificate presented
to the load balancer during the SSL handshake must be validated or not. When
validation is enabled, the server certificate must be signed by one of the trusted
CAs whose self-signed certificates are specified in the same server-side SSL
profile binding.
Certificate Chain Depth Set the certificate chain depth to verify the depth in the server certificates chain.
Certificate Revocation List Select the available CRL to disallow compromised server certificates.
OCSP and OCSP stapling are not supported on the server-side.
Option Description
Max Concurrent Connection Set the maximum concurrent connection allowed to a virtual server so that the
virtual server does not deplete resources of other applications hosted on the same
load balancer.
Max New Connection Rate Set the maximum new connection to a server pool member so that a virtual server
does not deplete resources.
Sorry Server Pool Select an existing sorry server pool from the drop-down menu.
The sorry server pool serves the request when a load balancer cannot select a
backend server to the serve the request from the default pool.
You can click the vertical ellipses to create a server pool.
Default Pool Member Port Enter a default pool member port if the pool member port for a virtual server is not
defined.
For example, if a virtual server is defined with port range 2000-2999 and the default
pool member port range is set as 8000-8999, then an incoming client connection to
the virtual server port 2500 is sent to a pool member with a destination port set to
8500.
Admin State Toggle the button to disable the admin state of the Layer 7 virtual server.
Access Log Toggle the button to enable logging for the Layer 7 virtual server.
8 Click Save.
Load Balancer rules support REGEX for match types. PCRE style REGEX patters is supported with a few
limitations on advanced use cases. When REGEX is used in match conditions, named capturing groups
are supported.
n Character unions and intersections are not supported. For example, do not use [a-z[0-9]] and [a-
z&&[aeiou]] instead use [a-z0-9] and [aeiou] respectively.
n Only 9 back references are supported and \1 through \9 can be used to refer to them.
n Use \0dd format to match octal characters, not the \ddd format.
n Embedded flags are not supported at the top level, they are only supported within groups. For
example, do not use "Case (?i:s)ensitive" instead use "Case ((?i:s)ensitive)".
n Preprocessing operations \l, \u, \L, \U are not supported. Where \l - lowercase next char \u -
uppercase next char \L - lower case until \E \U - upper case to \E.
n Using named character construct for Unicode characters is not supported. For example, do not use
\N{name} instead use \u2018.
When REGEX is used in match conditions, named capturing groups are supported. For example, REGEX
match pattern /news/(?<year>\d+)-(?<month>\d+)-(?<day>\d+)/(?<article>.*) can be used to match a URI
like /news/2018-06-15/news1234.html.
Then variables are set as follows, $year = "2018" $month = "06" $day = "15" $article = "news1234.html".
After the variables are set, these variables can be used in load balancer rule actions. For example, URI
can be rewritten using the matched variables like, /news.py?year=$year&month=$month&day=
$day&article=$article. Then the URI gets rewritten as /news.py?
year=2018&month=06&day=15&article=news1234.html.
Rewrite actions can use a combination of named capturing groups and built-in variables. For example,
URI can be written as /news.py?year=$year&month=$month&day=$day&article=$article&user_ip=
$_remote_addr. Then the example URI gets rewritten as /news.py?
year=2018&month=06&day=15&article=news1234.html&user_ip=1.1.1.1.
Note For named capturing groups, the name cannot start with an _ character.
In addition to named capturing groups, the following built-in variables can be used in rewrite actions. All
the built-in variable names start with _.
n $_upstream_cookie_<name> - cookie with the specified name sent by the upstream server in the
"Set-Cookie" response header field
n $_upstream_http_<name> - arbitrary response header field and <name> is the field name converted
to lower case with dashes replaced by underscores
n $_host - in the order of precedence - host name from the request line, or host name from the "Host"
request header field, or the server name matching a request
n $_http_<name> - arbitrary request header field and <name> is the field name converted to lower case
with dashes replaced by underscores
n $_ssl_client_cert - returns the client certificate in the PEM format for an established SSL connection,
with each line except the first prepended with the tab character. Note that this variable will be
deprecated in the next release and replaced by another variable.
n $_ssl_client_i_dn: returns the "issuer DN" string of the client certificate for an established SSL
connection according to RFC 2253
n $_ssl_client_s_dn: returns the "subject DN" string of the client certificate for an established SSL
connection according to RFC 2253
Prerequisites
Verify a Layer 7 HTTP virtual server is available. See Add Layer 7 HTTP Virtual Servers.
Procedure
2 In the Load Balancer Rules section, click Set > Add Rule to configure the load balancer rules for the
HTTP Request Rewrite phase.
Supported match types are, REGEX, STARTS_WITH, ENDS_WITH, etc and inverse option.
HTTP Request URI Match an HTTP request URI without query arguments.
http_request.uri - value to match
HTTP Request URI Arguments Match an HTTP request URI query argument.
http_request.uri_arguments - value to match
Case Sensitive Set a case-sensitive flag for HTTP header value comparison.
Actions Description
3 Click Request Forwarding > Add Rule to configure the load balancer rules for the HTTP Request
Forwarding.
Case Sensitive Set a case-sensitive flag for HTTP header value comparison.
Action Description
Select Pool Force the request to a specific server pool. Specified pool member's configured
algorithm (predictor) is used to select a server within the server pool.
http_forward.select_pool - server pool UUID
Action Description
Variable Persistence On Select a generic persistence profile and enter a variable name.
You can also enable Hash Variable. If the variable value is very long, hashing the
variable will ensure that it will be correctly stored in the persistence table. If Hash
Variable is not enabled, only the fixed prefix part of the variable value is stored in
the persistence table if the variable value is very long. As a result, two different
requests with long variable values might be dispatched to the same backend server
(because their variable values have the same prefix part) when they should be
dispatched to different backend servers.
Reply Message Server responds with a reply message that contains confirmed addresses and
configuration.
4 Click Response Rewrite > Add Rule to configure the load balancer rules for the HTTP Response
Rewrite.
Case Sensitive Set a case-sensitive flag for HTTP header value comparison.
Action Description
HTTP Response Header Rewrite Modify the value of an HTTP response header.
http_response.header_name - header name
http_response.header_value - value to write
Variable Persistence Learn Select a generic persistence profile and enter a variable name.
You can also enable Hash Variable. If the variable value is very long, hashing the
variable will ensure that it will be correctly stored in the persistence table. If Hash
Variable is not enabled, only the fixed prefix part of the variable value is stored in
the persistence table if the variable value is very long. As a result, two different
requests with long variable values might be dispatched to the same backend server
(because their variable values have the same prefix part) when they should be
dispatched to different backend servers.
Load Balancer created groups are visible under Inventory > Groups.
Server pool groups are created with the name NLB.PoolLB.Pool_Name LB_Name with group member IP
addresses assigned:
VIP Groups are created with the name NLB.VIP.virtual server name and the VIP group member IP
addresses are VIP IP@.
For server pool groups, you can create an allow traffic distributed firewall rule from the load balancer
( NLB.PoolLB. Pool_Name LB_Name). For Tier-1 gateway firewall, you can create an allow traffic from
clients to LB VIP NLB.VIP.virtual server name.
Forwarding Policies or Policy-Based Routing (PBR) rules define how NSX-T handles traffic from an NSX-
managed VM. This traffic can be steered to NSX-T overlay or it can be routed through the cloud
provider's (underlay) network.
Note See Chapter 22 Using NSX Cloud for details on how to manage your public cloud workload VMs
with NSX-T Data Center.
Three default forwarding policies are set up automatically after you either deploy a PCG on a Transit
VPC/VNet or link a Compute VPC/VNet to the Transit.
1 One Route to Underlay for all traffic that is addressed within the Transit/Compute VPC/VNet
2 Another Route to Underlay for all traffic destined to the metadata services of the public cloud.
3 One Route to Overlay for all other traffic, for example, traffic that is headed outside the Transit/
Compute VPC/VNet. Such traffic is routed over the NSX-T overlay tunnel to the PCG and further to its
destination.
Note For traffic destined to another VPC/VNET managed by the same PCG: Traffic is routed
from the source NSX-managed VPC/VNet via the NSX-T overlay tunnel to the PCG and then routed
to the destination VPC/VNet.
For traffic destined to another VPC/VNet managed by a different PCG: Traffic is routed from one
NSX-managed VPC/VNet over the NSX overlay tunnel to the PCG of the source VPC/VNet and
forwarded to the PCG of the destination NSX-managed VPC/VNet.
If traffic is headed to the internet, the PCG routes it to the destination in the internet.
If you have direct connectivity from an NSX-managed workload VM to a destination outside the managed
VPC/VNet and want to bypass the PCG, set up a forwarding policy to route traffic from this VM via
underlay.
When traffic is routed through the underlay network, the PCG is bypassed and therefore the north-south
firewall is not encountered by traffic. However, you still have to manage rules for east-west or distributed
firewall (DFW) because those rules are applied at the VM-level before reaching the PCG.
n Route to Underlay
n Route to Overlay
These are the common scenarios where forwarding policies are useful:
n Route to Underlay: Access a service on underlay from an NSX-managed VM. For example, access
to the AWS S3 service on the AWS underlay network.
n Route from Underlay: Access a service hosted on an NSX-managed VM from the underlay network.
For example, access from AWS ELB to the NSX-managed VM.
For example, to use services provided by the public cloud, such as S3 by AWS, you can manually create
a policy to allow a set of IP addresses to access this service by being routed through underlay.
Prerequisites
Procedure
1 Click Add Section. Name the section appropriately, for example, AWS Services.
2 Select the check box next to the section and click Add Rule. Name the rule, for example, S3 Rules.
3 In the Sources tab, select the VPC or VNet where you have the workload VMs to which you want to
provide the service access, for example, the AWS VPC. You can also create a Group here to include
multiple VMs matching one or more criteria.
4 In the Destinations tab, select the VPC or VNet where the service is hosted, for example, a Group
that contains the IP address of the S3 service in AWS.
5 In the Services tab, select the service from the drop-down menu. If the service does not exist, you
can add it. You can also leave the selection to Any because you can provide the routing details under
Destinations.
6 In the Action tab, select how you want the routing to work, for example, select Route to Underlay if
setting up this policy for the AWS S3 service.
To manage IP addresses, you can configure DNS (Domain Name System), DHCP (Dynamic Host
Configuration Protocol), IP address pools, and IP address blocks.
Note IP blocks are used by NSX Container Plug-in (NCP). For more info about NCP, see the NSX
Container Plug-in for Kubernetes and Cloud Foundry - Installation and Administration Guide.
When you configure a DNS zone, you can specify a source IP for a DNS forwarder to use when
forwarding DNS queries to an upstream DNS server. If you do not specify a source IP, the DNS query
packet's source IP will be the DNS forwarder's listener IP. Specifying a source IP is needed if the listener
IP is an internal address that is not reachable from the external upstream DNS server. To ensure that the
DNS response packets are routed back to the forwarder, a dedicated source IP is needed. Alternatively,
you can configure SNAT on the logical router to translate the listener IP to a public IP. In this case, you do
not need to specify a source IP.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 To add a default zone, select Add DNS Zone > Add Default Zone
5 To add an FQDN zone, select Add DNS Zone > Add FQDN Zone
6 Click Save.
Before you configure a DNS forwarder, you must configure a default DNS zone. Optionally, you can
configure one or more FQDN DNS zones. Each DNS zone is associated with up to 3 DNS servers. When
you configure a FQDN DNS zone, you specify one or more domain names. A DNS forwarder is
associated with a default DNS zone and up to 5 FQDN DNS zones. When a DNS query is received, the
DNS forwarder compares the domain name in the query with the domain names in the FQDN DNS zones.
If a match is found, the query is forwarded to the DNS servers specified in the FQDN DNS zone. If a
match is not found, the query is forwarded to the DNS servers specified in the default DNS zone.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Clients send DNS queries to this IP address, which is also known as the DNS forwarder's listener IP.
10 Click the Admin Status toggle to enable or disable the DNS service.
11 Click Save.
Note The DHCP server that is created using this procedure is not supported on a VLAN-backed
segment. You must use the DHCP feature under Advanced Networking & Security to create a DHCP
server that is supported on a VLAN-backed logical switch.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
This step will create a two logical ports (one for a logical interface and one for the DHCP server itself)
and connect the DHCP server to a specific DHCP logical switch. This interface will appear on the
tier-0 or tier-1 gateway as a connected interface, so make sure you choose a non-overlapping subnet
for the tier-1 or tier-0 gateway that you want to assign the DHCP server to. You can specify <IP
address>/30 for this purpose. The subnet range used here does not get advertised to the connected
tier-0 gateway, but does appear in the tier-1 gateway's forwarding table.
9 Click Save.
f Click Save.
g Click Save.
c Click Set Subnets if you are adding a new segment, or click the number under Subnets to add
or modify a subnet.
e Click Apply.
f Click Save.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
7 Click Save.
8 Go to Networking > Tier-0 Gateways or Networking > Tier-1 Gateways to configure a DHCP relay
server for a gateway.
10 In the IP Address Management field, click No IP Allocation for a tier-0 gateway or No IP Allocation
Set for a tier-1 gateway.
12 In the DHCP Relay field, select the DHCP relay server you created earlier.
13 Click Save.
14 For each segment connected to the gateway that will use this DHCP relay service, you must specify
DHCP ranges for the relay to function.
c Click Set Subnets if you are adding a new segment, or click the number under Subnets to
modify a subnet.
e Click Apply.
f Click Save.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
a Select an IP block.
b Specify a size.
c Click the Auto Assign Gateway toggle to enable or disable automatic gateway IP assignment.
d Click Add.
d Click Add.
8 Click Save.
Note You can also add an IP address block by navigating to Advanced Networking & Security >
Networking > IPAM.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
7 Click Save.
The topics in this section cover north-south and east-west security for distributed firewall rules, identity
firewall, network introspection, gateway firewall, and endpoint protection policies.
n Security Terminology
n Identity Firewall
n Distributed Firewall
n Endpoint Protection
n Security Profiles
Security Terminology
The following terms are used throughout distributed firewall.
Policy A security policy includes various security elements including firewall rules and service configurations.
Policy was previously called a firewall section.
Rule A set of parameters with which flows are evaluated against, and define which actions will be taken upon
a match. Rules include parameters such as source and destination, service, context profile , logging,
and tags.
Group Groups include different objects that are added both statically and dynamically, and can be used as the
source and destination field of a firewall rule. Groups can be configured to contain a combination of
virtual machines, IP sets, MAC sets, logical ports, logical switches, AD user groups, and other nested
groups. Dynamic inclusion of groups can be based on tag, machine name, OS name, or computer
name.
When you create a group, you must include a domain that it belongs to, and by default this is the default
domain.
Groups were previously called NSGroup or security group.
Service Defines a combination or port and protocol. Used to classify traffic based on port and protocol. Pre-
defined services and user-defined services can be used in firewall rules.
Context Profile Defines context aware attributes including APP-ID and domain name. Also includes sub attributes such
as application version, or cipher set. Firewall rules can include a context profile to enable Layer-7 firewall
rules.
Identity Firewall
With Identity Firewall (IDFW) features an NSX administrator can create Active Directory user-based
Distributed Firewall (DFW) rules.
IDFW can be used for Virtual Desktops (VDI) or Remote desktop sessions (RDSH support), enabling
simultaneous log ins by multiple users, user application access based on requirements, and the ability to
maintain independent user environments. VDI management systems control what users are granted
access to the VDI virtual machines. NSX-T controls access to the destination servers from the source
virtual machine (VM), which has IDFW enabled. With RDSH, administrators create security groups with
different users in Active Directory (AD), and allow or deny those users access to an application server
based on their role. For example, Human Resources and Engineering can connect to the same RDSH
server, and have access to different applications from that server.
IDFW can also be used on VMs that have supported operating systems. See Identity Firewall Supported
Configurations.
A high level overview of the IDFW configuration workflow begins with preparing the infrastructure.
Preparation includes the administrator installing the host preparation components on each protected
cluster, and setting up Active Directory synchronization so that NSX can consume AD users and groups.
Next, IDFW must know which desktop an Active Directory user logs on to in to apply IDFW rules. When
network events are generated by a user, the thin agent installed with VMware Tools on the VM gathers
the information and forwards the information and sends it to the context engine. This information is used
to provide enforcement for the Distributed Firewall.
Note IDFW relies on the security and integrity of the guest operating system. There are multiple
methods for a malicious local administrator to spoof their identity to bypass firewall rules. User identity
information is provided by the NSX Guest Introspection Thin Agent inside guest VMs. Security
administrators must ensure that thin agent is installed and running in each guest VM. Logged-in users
should not have the privilege to remove or stop the agent.
IDFW workflow:
2 A user login event is detected by the Thin Agent, which gathers connection information and identity
information and sends it to the context engine.
3 The context engine forwards the connection and the identity information to Distributed Firewall Wall
for any applicable rule enforcement.
Identity based firewall rules are determined by membership in an Active Directory (AD) group
membership. See Identity Firewall Supported Configurations
Note For Identity Firewall rule enforcement, Windows Time service should be on for all VMs using
Active Directory. This ensures that the date and time is synchronized between Active Directory and VMs.
Additionally, AD group membership changes, including enabling and deleting users, do not immediately
take effect for logged in users. For changes to take effect, users must log out and then log back in. AD
administrator's should force a logout when group membership is modified. This behavior is a limitation of
Active Directory.
Prerequisites
If Windows auto-logon is enabled on VMs, go to Local Computer Policy > Computer configuration >
Administrative Templates > System > Logon and enable Always wait for the network at computer
startup and logon.
Procedure
1 Enable NSX File Introspection driver and NSX Network Introspection driver. VMware Tools full
installation adds these by default.
5 Create security groups (SG) with Active Directory group members: Add a Group.
6 Assign SG with AD group members to a distributed firewall rule: Add a Distributed Firewall .
Procedure
4 To enable IDFW on standalone hosts or clusters, select the Identity Firewall Settings tab.
5 Toggle the Enable bar, and select the standalone hosts, or select the cluster where the IDFW host
must be enabled.
6 Click Save.
n A single ID-based group can be used within a firewall rule. If IP and ID based groups are needed at
the source, create two separate firewall rules.
n Any change on a domain, including a domain name change, will trigger a full sync with Active
Directory. Because a full sync can take a long time, we recommend syncing during off-peak or non-
business hours.
n For local domain controllers, the default LDAP port 389 and LDAPS port 636 are used for the Active
Directory sync, and should not be edited from the default values.
n VMCI Driver
A context profile can specify one or more Attributes, and can also include sub-attributes, for use in
distributed firewall (DFW) rules and gateway firewall rules. When a sub-attribute, such as TLS version 1.2
is defined, multiple application identity attributes are not supported. In addition to attributes, DFW also
supports a Fully Qualified Domain Name (FQDN) or URL that can be specified in a context profile for
FQDN whitelisting or blacklisting. Currently a predefined list of domains is supported. FQDN can be
configured with an attribute in a context profile, or each can be set in different context profiles. After a
context profile has been defined, it can be applied to one or more distributed firewall rules.
Currently, a predefined list of domains is supported. You can see the list of FQDNs when you add a new
context profile of attribute type Domain (FQDN) Name. You can also see a list of FQDNs by running the
API call /policy/api/v1/infra/context-profiles/attributes?attribute_key=DOMAIN_NAME.
Gateway firewall rules do not support the use of FQDN attributes or other sub attributes.
When a context-profile has been used in a rule, any traffic coming in from a virtual machine is matched
against the rule-table based on 5-tuple. If the rule matches the flow also includes a Layer 7 context
profile, that packet is redirected to a user-space component called the vDPI engine. A few subsequent
packets are punted to that vDPI engine for each flow, and after it has determined the App Id, this
information is stored in the in-kernel context-table. When the next packet for the flow comes in, the
information in the context table is compared with the rule table again and is matched on 5-tuple, and on
the layer 7 App Id. The appropriate action as defined in the fully matched rule is taken, and if there is an
ALLOW-rule, all subsequent packets for the flow are process in the kernel, and matched against the
connection table. For fully matched DROP rule a reject packet is generated. Logs generated by the
firewall will include the Layer 7 App Id and applicable URL, if that flow was punted to DPI.
1 Upon entering a DFW or Gateway filter, packets are looked up in the flow table based on 5-tuple.
2 If no flow/state is found, the flow is matched against the rule-table based on 5-tuple and an entry is
created in the flow table.
3 If the flow matches a rule with a Layer 7 service object, the flow table state is marked as “DPI In
Progress.”
4 The traffic is then punted to the DPI engine. The DPI Engine determines the App Id.
5 After the App Id has been determined, the DPI Engine sends down the attribute which is inserted into
the context table for this flow. The "DPI In Progress" flag is removed, and traffic is no longer punted to
the DPI engine.
6 The flow (now with App Id) is reevaluated against all rules that match the App Id, starting with the
original rule that was matched based on 5-tuple, and the first fully matched L4/L7 rule is picked up.
The appropriate action is taken (allow/deny/reject) and the flow table entry is updated accordingly.
NSX-T provides built in Attributes for common infrastructure and enterprise applications. App Ids include
versions (SSL/TLS and CIFS/SMB) and Cipher Suite (SSL/TLS). For distributed firewall, App Ids are used
in rules through context profiles, and can be combined with FQDN whitelisting and blacklisting. App Ids
are supported on ESXi and KVM hosts.
Gateway firewall rules do not support the use of FQDN attributes or other sub attributes.
n For FQDN, users need to configure a high priority rule with a DNS App Id for the specified DNS
servers on port 53.
n ALG App Ids (FTP, ORACLE, DCERPC, TFTP), require the corresponding ALG service for the
firewall rule.
Note that if you are using a combination of Layer 7 and ICMP, or any other protocols you need to put the
Layer 7 firewall rules last. Any rules above a Layer 7 any/any rule will not be executed.
Procedure
2 Use the context profile in a distributed firewall rule, or a gateway firewall rule: Add a Distributed
Firewall or Add a Gateway Firewall Policy and Rule.
Multiple App Id context profiles can be used in a firewall rule with services set to Any. For ALG
profiles (FTP, ORACLE, DCERPC, TFTP), one context profile is supported per rule.
Attributes
Layer 7 attributes (App Ids) identify which application a particular packet or flow is generated by,
independent of the port that is being used.
Enforcement based on App Ids enable users to allow or deny applications to run on any port, or to force
applications to run on their standard port. vDPI enables matching packet payload against defined
patterns, commonly referred to as signatures. Signature-based identification and enforcement, enables
customers not just to match the particular application/protocol a flow belongs to, but also the version of
that protocol, for example TLS version 1.0 version TLS version 1.2 or different versions of CIFS traffic.
This allows customers to get visibility into or restrict the use of protocols that have known vulnerabilities
for all deployed applications and their E-W flows within the datacenter.
Layer 7 App Ids are used in context profiles in distributed firewall and gateway firewall rules, and are
supported on ESXi and KVM hosts.
Gateway firewall rules do not support the use of FQDN attributes or other sub attributes.
n For FQDN, users need to configure a high priority rule with a DNS App Id for the specified DNS
servers on port 53.
n ALG App Ids (FTP, ORACLE, DCERPC, TFTP), require the corresponding ALG service for the
firewall rule.
360ANTIV 360 Safeguard is a program developed by Qihoo 360, an IT company Web Services
based in China
AVAST Traffic generated by browsing Avast.com official website of Avast! Web Services
Antivirus downloads
BLAST A remote access protocol that compresses, encrypts, and encodes a Remote Access
computing experiences at a data center and transmits it across any
standard IP network for VMware Horizon desktops.
CA_CERT Certification authority (CA) issues digital certificates which certifies the Networking
ownership of a public key for message encryption
CIFS CIFS (Common Internet File System) is used to provide shared File Transfer
access to directories, files, printers, serial ports, and miscellaneous
communications between nodes on a network
CTRXICA ICA (Independent Computing Architecture) is a proprietary protocol for Remote Access
an application server system, designed by Citrix Systems
EPIC Epic EMR is an electronic medical records application that provides Client Server
patient care and healthcare information.
FTP FTP (File Transfer Protocol) is used to transfer files from a file server File Transfer
to a local machine
GITHUB Web-based Git or version control repository and Internet hosting Collaboration
service
HTTP (HyperText Transfer Protocol) the principal transport protocol for the Web Services
World Wide Web
HTTP2 Traffic generated by browsing websites that support the HTTP 2.0 Web Services
protocol
LDAP LDAP (Lightweight Directory Access Protocol) is a protocol for reading Database
and editing directories over an IP network
MAXDB SQL connections and queries made to a MaxDB SQL server Database
NFS Allows a user on a client computer to access files over a network in a File Transfer
manner similar to how local storage is accessed
NNTP An Internet application protocol used for transporting Usenet news File Transfer
articles (netnews) between news servers, and for reading and posting
articles by end user client applications.
NTP NTP (Network Time Protocol) is used for synchronizing the clocks of Networking
computer systems over the network
OCSP An OCSP Responder verifying that a user's private key has not been Networking
compromised or revoked
PANDA Panda Security Antivirus/Security software download and updates. File Transfer
PCOIP A remote access protocol that compresses, encrypts, and encodes a Remote Access
computing experiences at a data center and transmits it across any
standard IP network.
POP2 POP (Post Office Protocol) is a protocol used by local e-mail clients to Mail
retrieve e-mail from a remote server.
RDP RDP (Remote Desktop Protocol) provides users with a graphical Remote Access
interface to another computer
RTCP RTCP (Real-Time Transport Control Protocol) is a sister protocol of Streaming Media
the Real-time Transport Protocol (RTP). RTCP provides out-of-band
control information for an RTP flow.
RTP RTP (Real-Time Transport Protocol) is primarily used to deliver real- Streaming Media
time audio and video
RTSP RTSP (Real Time Streaming Protocol) is used for establishing and Streaming Media
controlling media sessions between end points
SIP SIP (Session Initiation Protocol) is a common control protocol for Streaming Media
setting up and controlling voice and video calls
SMTP SMTP (Simple Mail Transfer Protocol) An Internet standard for Mail
electronic mail (e-mail) transmission across Internet Protocol (IP)
networks.
SSH SSH (Secure Shell) is a network protocol that allows data to be Remote Access
exchanged using a secure channel between two networked devices.
SSL SSL (Secure Sockets Layer) is a cryptographic protocol that provides Web Services
security over the Internet.
SYMUPDAT Symantec LiveUpdate traffic, this includes spyware definitions, firewall File Transfer
rules, antivirus signature files, and software updates.
SYSLOG Symantec LiveUpdate traffic, this includes spyware definitions, firewall Network Monitoring
rules, antivirus signature files, and software updates.
TELNET A network protocol used on the Internet or local area networks to Remote Access
provide a bidirectional interactive text-oriented communications facility
using a virtual terminal connection.
TFTP TFTP (Trivial File Transfer Protocol) being used to list, download, and File Transfer
upload files to a TFTP server like SolarWinds TFTP Server, using a
client like WinAgents TFTP client.
Distributed Firewall
Distributed firewall comes with predefined categories for firewall rules. Rules are evaluated top down, and
left to right. The category names can be changed using the API.
Infrastructure Define access to shared services. Global rules - AD, DNS, NTP,
DHCP, Backup, Managment Servers
Firewall Drafts
A draft is a complete distributed firewall configuration with policy sections and rules. Drafts can be auto
saved or manually saved, and immediately published or saved for publishing at a later.
To save a manual draft firewall configuration, go to the upper right of the distributed firewall screen and
click Actions > Save. After saving, the configuration can be viewed by selecting Actions > View. Auto
drafts are enabled by default. Auto drafts can be disabled by going to Actions > General Settings. When
auto drafts are enabled , any changes to a firewall configuration results in a system generated autodraft.
A maximum of 100 auto drafts and 10 manual drafts can be saved. Auto drafts can be edited and saved
as a manual draft, for publishing now or later. To prevent multiple users from opening and editing the
draft, manual drafts can be locked. When a draft is published, the current configuration is replaced by the
configuration in the draft.
Manual drafts can be edited and saved. Auto drafts can be cloned, and saved as manual drafts, and then
edited. The maximum number of drafts that can be saved is 100 autodrafts and 10 manual drafts.
Procedure
A manual draft can be saved, or edited and then saved. After saving, you can revert to the original
configuration.
4 To prevent multiple users from opening and editing a manual draft, Lock the configuration, and add a
comment.
5 Click Save.
A timeline opens up showing all saved configurations. To see details such as draft name, date, time
and who saved it, point to the dot or star icon of any draft. Saved configurations can be filtered by
time, showing all drafts in the last one day, one week, 30 days, or the last three months. They can be
filtered by aurodraft and saved by me. They can also be filtered by name, by using the search tool on
the top right.
7 Hover over a draft to view name, date and time details of the saved configuration. Click the name to
view draft details.
The detailed draft view shows the required changes to be made to the current firewall configuration,
in order to be in sync with this draft. If this draft is published, all of the changes visible in this view will
be applied to the current configuration.
Clicking the downward arrow expands each section, and displays the added, modified, and deleted
changes in each section. The comparison shows added rules with a green bar on the left side of the
box, modified elements (such as a name change) have a yellow bar, and deleted elements have a red
bar.
8 To edit the name or description of a selected draft, click the menu icon (three dots) from the View
Draft Details window, and select Edit.
Manual drafts can be locked. If locked, a comment for the draft must be provided.
Some roles, such as enterprise administrator have full access credentials, and cannot be locked out.
See Role-Based Access Control.
9 Auto drafts and manual drafts can also be cloned and saved by clicking Clone.
In the Saved Configurations window, you can accept the default name, or edit it. You can also lock the
configuration. If locked, a comment for the draft must be provided.
10 To save the cloned version of the draft configuration, click Save. The draft is now present in the
Saved Configurations section.
What to do next
After viewing a draft, you can load and publish it. It is then the active firewall configuration.
During publishing, a new auto draft is created. This auto draft can be published to revert to the previous
configuration.
Procedure
A timeline opens up showing all saved configurations. To see details such as draft name, date, time
and who saved it, point to the dot icon of any draft. Saved configurations are filtered by time, showing
all drafts created in 1 day, 1 week, 30 days, or the last 3 months.
2 Click a draft name and the View Draft Details window appears.
3 Click Load. The new firewall configuration appears on the main window.
Note A draft cannot be loaded if firewall filters are being used, or if there are unsaved changes in
the current configuration.
4 To commit the draft configuration and make it active, click Publish. To return to the previous
published configuration, click Revert.
After publishing, the changes in the draft will be present in the active configuration.
5 To edit the contents of the selected draft before publishing, after clicking Load, edit the configuration.
6 To save the edited version of the draft configuration, click Actions > Save.
Manual drafts can be saved as a new configuration, or an update to the existing configuration. Auto
drafts can only be saved as a new configuration.
7 Enter a Name , and optional Description. You can also Lock the draft. If locked, a comment for the
draft must be provided.
8 Click Save.
9 To commit the draft configuration and make it active, click Publish, or to return to the previous
published configuration, click Revert.
Prerequisites
Guest VMs to be DFW-protected must have their vNIC connected to an N-VDS logical switch associated
with a transport zone.
If you are creating rules for Identity Firewall, first create a group with Active Directory members. Note
IDFW only supports TCP-based firewall rules.
Note For Identity Firewall rule enforcement, Windows Time service should be on for all VMs using
Active Directory. This ensures that the date and time is synchronized between Active Directory and VMs.
Additionally, AD group membership changes, including enabling and deleting users, do not immediately
take effect for logged in users. For changes to take effect, users must log out and then log back in. AD
administrator's should force a logout when group membership is modified. This behavior is a limitation of
Active Directory.
Note that if you are using a combination of Layer 7 and ICMP, or any other protocols you need to put the
Layer 7 firewall rules last. Any rules above a Layer 7 any/any rule will not be executed.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Enable Distributed Firewall by selecting Actions > General Settings, and toggling the Distributed
Firewall Status. Click Save.
4 Ensure that you are in the correct pre-defined category, and click Add Policy. For more about
categories, see Distributed Firewall .
Option Description
Locked The policy can be locked to prevent multiple users from editing
the same sections. When locking a section, you must include a
comment.
Some roles such as enterprise administrator have full access
credentials, and cannot be locked out. See Role-Based Access
Control.
7 Click Publish. Multiple Policies can be added and then published together at one time.
10 In the Sources column, click the edit icon and select the source of the rule. Groups with Active
Directory members can be used for the source field of an IDFW rule. See Add a Group for more
information.
11 In the Destinations column, click the edit icon and select the destination of the rule. If not defined,
the destination matches any. See Add a Group for more information.
12 In the Services column, click the edit icon and select services. The service matches any if not
defined.
13 The Profiles column is not available when adding a rule to the Ethernet category. For all other rule
categories, in the Profiles column, click the edit icon and select a context profile, or click Add New
Context Profile. See Add a Context Profile.
Context profiles use layer 7 APP ID attributes for use in distributed firewall rules and gateway firewall
rules. Multiple App ID context profiles can be used in a firewall rule with services set to Any. For ALG
profiles (FTP, ORACLE, DCERPC, TFTP), one context profile is supported per rule.
15 By default, the Applied to column is set to DFW, and the rule is applied to all workloads. You can
also apply the rule to selected groups. Applied to defines the scope of enforcement per rule, and is
used mainly for optimization or resources on ESXi and KVM hosts. It helps in defining a targeted
policy for specific zones and tenants, without interfering with other policy defined for other tenants
and zones.
Option Description
Allow Allows all L3 or L2 traffic with the specified source, destination, and protocol to
pass through the current firewall context. Packets that match the rule, and are
accepted, traverse the system as if the firewall is not present.
Drop Drops packets with the specified source, destination, and protocol. Dropping a
packet is a silent action with no notification to the source or destination systems.
Dropping the packet causes the connection to be retried until the retry threshold is
reached.
Reject Rejects packets with the specified source, destination, and protocol. Rejecting a
packet is a more graceful way to deny a packet, as it sends a destination
unreachable message to the sender. If the protocol is TCP, a TCP RST message is
sent. ICMP messages with administratively prohibited code are sent for UDP,
ICMP, and other IP connections. One benefit of using Reject is that the sending
application is notified after only one attempt that the connection cannot be
established.
Option Description
Logging Logging is turned off by default. Logs are stored at /var/log/dfwpktlogs.log file on
ESXi and KVM hosts.
Direction Refers to the direction of traffic from the point of view of the destination object. IN
means that only traffic to the object is checked, OUT means that only traffic from
the object is checked, and In/Out, means that traffic in both directions is checked.
Log Label
19 Click Publish. Multiple rules can be added and then published together at one time.
20 On each rule, click the Info icon to view the rule ID number, and where it is enforced.
This icon is grayed out until you publish the rule. You can also specify a rule ID when you click the
filter icon to display only policies and rules that satisfy the filter criteria.
21 The realization status API has been enhanced at a security policy level to provide additional
realization status information. This can be achieved by specifying the query parameter
include_enforced_status=true along with the intent_path. Make the following API call.
GET https//<nsx>/policy/api/v1/infra/realized-state/status?intent_path=/infra/
domains/default/security-policies/<security-policy-
id>&include_enforced_status=true
The log file is /var/log/dfwpktlogs.log for both ESXi and KVM hosts.
# tail -f /var/log/dfwpktlogs.log
2018-03-27T10:23:35.196Z INET TERM 3072 IN TCP FIN 100.64.80.1/60688->172.16.10.11/80 8/7 373/5451
2018-03-27T10:23:35.196Z INET TERM 3074 OUT TCP FIN 172.16.10.11/46108->172.16.20.11/8443 8/9
1178/7366
2018-03-27T10:23:35.196Z INET TERM 3072 IN TCP RST 100.64.80.1/60692->172.16.10.11/80 9/6 413/5411
2018-03-27T10:23:35.196Z INET TERM 3074 OUT TCP RST 172.16.10.11/46109->172.16.20.11/8443 9/7
1218/7262
2018-03-27T10:23:37.442Z 71d32787 INET match PASS 3074 IN 60 TCP 172.16.10.12/35770-
>172.16.20.11/8443 S
2018-03-27T10:23:38.492Z INET match PASS 2 OUT 1500 TCP 172.16.10.11/80->100.64.80.1/60660 A
2018-03-27T10:23:39.934Z INET match PASS 3072 IN 52 TCP 100.64.80.1/60720->172.16.10.11/80 S
2018-03-27T10:23:39.944Z INET match PASS 3074 OUT 60 TCP 172.16.10.11/46114->172.16.20.11/8443 S
2018-03-27T10:23:39.944Z 71d32787 INET match PASS 3074 IN 60 TCP 172.16.10.11/46114-
>172.16.20.11/8443 S
2018-03-27T10:23:42.449Z 71d32787 INET match PASS 3074 IN 60 TCP 172.16.10.12/35771-
>172.16.20.11/8443 S
2018-03-27T10:23:44.712Z INET TERM 3074 IN TCP RST 172.16.10.11/46109->172.16.20.11/8443 9/7 1218/7262
2018-03-27T10:23:44.712Z INET TERM 3074 IN TCP FIN 172.16.10.12/35766->172.16.20.11/8443 9/10
1233/7418
2018-03-27T10:23:44.712Z INET TERM 3074 IN TCP FIN 172.16.10.11/46110->172.16.20.11/8443 9/9 1230/7366
2018-03-27T10:23:44.712Z INET TERM 3074 IN TCP FIN 172.16.10.12/35767->172.16.20.11/8443 9/10
1233/7418
2018-03-27T10:23:44.939Z INET match PASS 3072 IN 52 TCP 100.64.80.1/60726->172.16.10.11/80 S
2018-03-27T10:23:44.957Z INET match PASS 3074 OUT 60 TCP 172.16.10.11/46115->172.16.20.11/8443 S
2018-03-27T10:23:44.957Z 71d32787 INET match PASS 3074 IN 60 TCP 172.16.10.11/46115-
>172.16.20.11/8443 S
2018-03-27T10:23:45.480Z INET TERM 2 OUT TCP TIMEOUT 172.16.10.11/80->100.64.80.1/60528 1/1 1500/56
The default connectivity strategy creates either an allow-all (blacklist) or deny-all (whitelist) firewall policy
on top of the other firewall rules you create, instead of having to modifying individual rules. To set a
default connectivity strategy, go to Distributed Firewall. At the top of the page, click the connectivity
status to select another option.
Firewall policy and rules must have already been created to change the default selected connectivity
strategy, and have it to go into effect immediately. If no policy or rules are created, the default connectivity
strategy remains until a ploicy and rules are created.
n Blacklist (with or without logging): This is the default option and creates an allow-all rule on the
DFW.
n Whitelist (with or without logging): Creates a deny-all traffic firewall rule. Only communication from
sites or applications that have been defined in firewall rules is allowed, and all other communication is
denied access, including DHCP traffic.
n None: Select this option to disable both blacklisting or whitelisting of firewall rules. This is useful if you
have a set of rules already configured using previous versions of NSX-T Data Center.
Groups can be excluded from firewall rules, and there are a maximum of 100 groups that can be on the
list. IP sets, MAC sets, and AD groups cannot be included as members in a group that is used in a
firewall exclusion list.
Note NSX-T Data Center automatically adds NSX Manager and NSX Edge node virtual machines to the
firewall exclusion list.
Procedure
1 Navigate to Security > Distributed Firewall > Actions > Exclusion List.
2 To add a group to the exclusion list, click the check box next to any group. Then click Apply.
4 To edit a group, click the three dot menu next to a group and select Edit.
5 To delete a group, click the three dot menu and select Delete.
Distributed Firewall (east-west) and Gateway Firewall (north-south) offer multiple sets of configurable
rules divided by categories. You can configure an exclusion list that contains logical switches, logical
ports, or groups, to be excluded from firewall enforcement.
n Each packet is checked against the top rule in the rule table before moving down the subsequent
rules in the table.
n The first rule in the table that matches the traffic parameters is enforced.
No subsequent rules can be enforced as the search is then terminated for that packet. Because of this
behavior, it is always recommended to put the most granular policies at the top of the rule table. This
ensures they will be enforced before more specific rules.
Currently, a predefined list of domains is supported. You can see the list of FQDNs when you add a new
context profile of attribute type Domain (FQDN) Name. You can also see a list of FQDNs by running the
API call /policy/api/v1/infra/context-profiles/attributes?attribute_key=DOMAIN_NAME.
You must set up a DNS rule first, and then the FQDN whitelist or blacklist rule below it. This is because
NSX-T Data Center uses DNS Snooping to obtain a mapping between the IP address and the FQDN.
SpoofGuard should be enabled across the switch on all logical ports to protect against the risk of DNS
spoofing attacks. A DNS spoofing attack is when a malicious VM can inject spoofed DNS responses to
redirect traffic to malicious endpoints or bypass the firewall. For more information about SpoofGuard, see
Understanding SpoofGuard Segment Profile.
Note In the current release, ESXi and KVM are supported. ESXi supports drop/reject action for URL
rules. KVM supports the whitelisting feature.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Add a firewall policy section by following the steps in Add a Distributed Firewall . An existing firewall
policy section can also be used.
4 Select the new or existing firewall policy section and click Add Rule to create the DNS firewall rule
first.
5 Provide a name for the firewall rule, such as DNS rule, and provide the following details:
Option Description
Services Click the edit icon and select the DNS or DNS-UDP service as applicable to your
environment.
Profile Click the edit icon and select the DNS context profile. This is precreated and is
available in your deployment by default.
6 Click Add Rule again to set up the FQDN whitelisting or blacklisting rule.
7 Name the rule appropriately, such as, FQDN/URL Whitelist. Drag the rule under the DNS rule under
this policy section.
Option Description
Services Click the edit icon and select the service you want to associate with this rule, for
example, HTTP.
Profile Click the edit icon and click Add New Context Profile. Click in the column titled
Attribute, and select Domain (FQDN) Name. Select the list of Attribute Name/
Values from the predefined list. Click Add. See Add a Context Profile for details.
9 Click Publish.
NSX-T Data Center 2.5.1 integrates with Arista CloudVision eXchange (CVX) to facilitate consistent
networking and security services, across virtual and physical workloads, independent of your application
frameworks or physical network infrastructure. NSX-T Data Center does not directly program the physical
network switch or router but integrates at the physical SDN controller level, therefore preserving the
autonomy of security administrators and physical network administrators.
NSX-T Data Center 2.5.1 supports integration with Arista EOS 4.22.1FX-PCS and later.
Limitations
n Arista switches require ARP traffic to exist before firewall rules are applied to an end host that is
connected to an Arista switch. Packets can therefore pass through the switch before firewall rules are
configured to block traffic.
n Allowed traffic does not resume when a switch crashes or is reloaded. The ARP tables need to be
populated again, after the switch comes up, for the firewall rules to be enforced on the switch.
n Firewall rules cannot be applied on the Arista Physical Switch, for FTP passive clients that connect to
FTP Server connected to the Arista Physical Switch.
n In CVX HA setup that uses Virtual IP for the CVX cluster, the CVX VM’s dvpg’s Promiscuous mode,
and Forged transmits must be set to Accept. In case they are set to default (Reject), the CVX HA
Virtual IP will not be reachable from NSX Manager.
Prerequisites
Procedure
1 Log in to NSX Manager as a root user and run the following command to create a thumbprint for CVX
to communicate with NSX Manager:
openssl s_client -connect <IP address of nsx-manager>:443 | openssl x509 -pubkey -noout | openssl
rsa -pubin -outform der | openssl dgst -sha256 -binary | openssl base64
Sample output:
cvx
no shutdown
service pcs
no shutdown
controller <IP address of nsx-manager>
username <NSX administrator user name>
password <NSX administrator password>
enforcement-point cvx-default-ep
pinned-public-key <thumbprint for CVX to communicate with NSX
Manager>
notification-id <notification ID created while registering CVX with NSX>
end
3 Run the following command from the CVX CLI to check the configuration:
show running-config
Sample ouput:
cvx
no shutdown
source-interface Management1
!
service hsc
no shutdown
!
service pcs
no shutdown
controller 192.168.2.80
username admin
password 7 046D26110E33491F482F2800131909556B
enforcement-point cvx-default-ep
pinned-public-key sha256//S+zwADluzeNf+dnffDpYvgs4YrS6QBgyeDry40bPgms=
notification-id a0286cb6-de4d-41de-99a0-294465345b80
4 Configure tag on the ethernet interface of the physical switch that connects to the physical server.
Run the following commands on the physical switch managed by CVX.
configure terminal
interface ethernet 4
tag phy_app_server
end
copy running-config startup-config
Copy completed successfully.
5 Run the following command to verify tag configuration for the switch:
Sample output:
interface Ethernet4
description connected-to-7150s-3
switchport trunk allowed vlan 1-4093
switchport mode trunk
tag sx4_app_server
IP addresses that are learnt on the tagged interfaces, using ARP, are shared with NSX-T Data
Center.
6 Log in to NSX Manager to create and publish firewall rules for the physical workloads managed by
CVX. See Chapter 10 Security for more information on creating rules. For example:
NSX-T Data Center policies and rules published in NSX-T Data Center appear as dynamic ACLs on
the physical switch managed by CVX.
For more information, see CVX HA set up, CVX HA Virtual IP setup, and Physical Switch Mlag Setup
Prerequisites
Procedure
1 Log in to NSX Manager as a root user and run the following command to retrieve the thumbprint for
CVX:
openssl s_client -connect <virtual IP address of CVX cluster> | openssl x509 -noout -fingerprint -
sha256
Sample output:
depth=0 CN = self.signed
verify error:num=18:self signed certificate
verify return:1
depth=0 CN = self.signed
verify return:1
SHA256
Fingerprint=35:C1:42:BC:7A:2A:57:46:E8:72:F4:C8:B8:31:E3:13:5F:41:95:EF:D8:1E:E9:3D:F0:CC:3B:09:A2
:FE:22:DE
2 Edit the retrieved thumbprint to use only lower case characters and exclude any colons in the
thumbprint.
35c142bc7a2a5746e872f4c8b831e3135f4195efd81ee93df0cc3b09a2fe22de
PATCH https://<nsx-manager>/policy/api/v1/infra/sites/default/enforcement-points/cvx-default-ep
{
"auto_enforce": "false",
"connection_info": {
"enforcement_point_address": "<IP address of CVX>",
"resource_type": "CvxConnectionInfo",
"username": "cvpadmin",
"password": "1q2w3e4rT",
"thumbprint": "65a9785e88b784f54269e908175ada662be55f156a2dc5f3a1b0c339cea5e343"
}
}
https://<nsx-manager>/policy/api/v1/infra/sites/default/enforcement-points/cvx-default-ep
{
"auto_enforce": "false",
"connection_info": {
"enforcement_point_address": "<IP address of CVX>",
"resource_type": "CvxConnectionInfo",
"username": "admin",
"password": "1q2w3e4rT",
"thumbprint": "35c142bc7a2a5746e872f4c8b831e3135f4195efd81ee93df0cc3b09a2fe22de"
}
}
Sample output:
{
"connection_info": {
"thumbprint": "35c142bc7a2a5746e872f4c8b831e3135f4195efd81ee93df0cc3b09a2fe22de",
"enforcement_point_address": "192.168.2.198",
"resource_type": "CvxConnectionInfo"
},
"auto_enforce": false,
"resource_type": "EnforcementPoint",
"id": "cvx-default-ep",
"display_name": "cvx-default-ep",
"path": "/infra/sites/default/enforcement-points/cvx-default-ep",
"relative_path": "cvx-default-ep",
"parent_path": "/infra/sites/default",
"marked_for_delete": false,
"_system_owned": false,
"_create_user": "admin",
"_create_time": 1564036461953,
"_last_modified_user": "admin",
"_last_modified_time": 1564036461953,
"_protection": "NOT_PROTECTED",
"_revision": 0
}
5 Call the POST /api/v1/notification-watchers/ API and use the CVX thumbprint to create a
notification ID. For example:
POST https://<nsx-manager>/api/v1/notification-watchers/
{
"server": "<virtual IP address of CVX cluster>",
"method": "POST",
"uri": "/pcs/v1/nsgroup/notification",
"use_https": true,
"certificate_sha256_thumbprint":
"35c142bc7a2a5746e872f4c8b831e3135f4195efd81ee93df0cc3b09a2fe22de",
"authentication_scheme": {
"scheme_name":"BASIC_AUTH",
"username":"cvpadmin",
"password":"1q2w3e4rT"
}
}
Sample output:
{
"id": "a0286cb6-de4d-41de-99a0-294465345b80",
"server": "192.168.2.198",
"port": 443,
"use_https": true,
"certificate_sha256_thumbprint":
"35c142bc7a2a5746e872f4c8b831e3135f4195efd81ee93df0cc3b09a2fe22de",
"method": "POST",
"uri": "/pcs/v1/nsgroup/notification",
"authentication_scheme": {
"scheme_name": "BASIC_AUTH",
"username": "cvpadmin"
},
"send_timeout": 30,
"max_send_uri_count": 5000,
"resource_type": "NotificationWatcher",
"display_name": "a0286cb6-de4d-41de-99a0-294465345b80",
"_create_user": "admin",
"_create_time": 1564038044780,
"_last_modified_user": "admin",
"_last_modified_time": 1564038044780,
"_system_owned": false,
"_protection": "NOT_PROTECTED",
"_revision": 0
}
PATCH https://<nsx-manager>/policy/api/v1/infra/domains/default/domain-deployment-maps/cvx-
default-dmap
{
"display_name": "cvx-deployment-map",
"id": "cvx-default-dmap",
"enforcement_point_path": "/infra/sites/default/enforcement-points/cvx-default-ep"
Prerequisites
n ESXi hosts must be prepared as NSX-T Data Center transport nodes using transport node profiles.
n Service: Partners register services with NSX-T Data Center . A service represents the security
functionality offered by the partner, service deployment details such as OVF URL of service VMs,
point to attach the service, state of the service.
n Vendor Template: It consists of functionality that a service can perform on a network traffic. Partners
define vendor templates. For example, a vendor template can provide a network operation service
such as tunneling with IPSec service.
n Service Profile: Is an instance of a vendor template. An NSX-T Data Center administrator can create
a service profile to be consumed by service VMs.
n Guest VM: a source or destination of traffic in the network. The incoming or outgoing traffic is
introspected by a service chain defined for a rule running east-west network services.
n Service VM: A VM that runs the OVA or OVF appliance specified by a service. It is connected over
the service plane to receive redirected traffic.
n Service Instance: Is created when a service is deployed on a host. Each service instance has a
corresponding service VM.
n Service Segment: A segment of a service plane that is associated to a transport zone. Each service
attachment is segregated from other service attachments and from the regular L2 or L3 network
segments provided by NSX-T. The service plane manages service attachments.
n Service Manager: Is the partner service manager that points to a set of services.
n Service Chain: Is a logical sequence of service profiles defined by an administrator. Service profiles
introspect network traffic in the order defined in the service chain. For example, the first service profile
is firewall, second service profile is monitor, and so on. Service chains can specify different sequence
of service profiles for different directions of traffic (egress/ingress).
n Redirection Policy: Ensures that traffic classified for a specific service chain is redirected to that
service chain. It is based on traffic patterns that match NSX-T Data Center security group and a
service chain. All traffic matching the pattern is redirected along the service chain.
n Service Path: Is a sequence of service VMs that implement the service profiles of a service chain. An
administrator defines the service chain, which consists of a pre-defined order of service profiles. NSX-
T Data Center generates multiple service paths from a service chain based on the number, and
locations of guest VMs and service VMs. It selects the optimum service path for the traffic flow to be
introspected. Each service path is identified by a Service Path Index (SPI) and each hop along a path
has a unique Service Index (SI).
Deploy a Service for East-West Traffic Administrator API and NSX Manager UI
Introspection
Add Redirection Rules for East-West Administrator API and NSX Manager UI
Traffic
Deploy partner service VMs that run the partner security engine on all the NSX-T Data Center hosts in a
cluster. After you deploy the SVMs, you can create policy rules used by SVM to protect guest VMs.
Prerequisites
n Partner services must be registered with NSX-T Data Center and are ready for deployment.
n NSX-T Data Center administrators can access partner services and vendor templates.
n Both the service VM and the partner service manager (console) must be able to communicate with
each other at the management network level.
n Host-based service deployment: Before you deploy service VMs on each host, configure each host of
the cluster with NSX-T Data Center by applying a transport node profile.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select System > Service Deployments > Deployment > Deploy Service.
5 In the Compute Manager field, select the vCenter Server to deploy the service.
6 In the Cluster field, select the cluster where the services need to be deployed.
7 In the Data Store drop-down menu, select a data store as the repository for the service virtual
machine.
8 In the Network column, click Set and enter the Management Network interface by choosing DHCP or
static IP address type, and data network.
9 In the Service Segments field, select a service segment from the list or click the Action icon to add or
edit a service segment. Guest VMs connected to a service segment are provided east-west network
traffic protection.
10 In the Deployment Type field, select from one of the following deployment options. Depending upon
the services registered by the partner, multiple services can be deployed as part of a single service
VM.
n Clustered: Deploys the service on a host or hosts belonging to a cluster that is dedicated to host
service VMs.
n Host Based: Deploys the service on all the hosts within a cluster.
11 In the Deployment Template field, select the template that provides attributes to protect the workload
you want to run on guest VMs groups.
12 (Cluster-based deployment only) In the Clustered Deployment Count, enter the number of service
VMs to deploy on the cluster. The vCenter Server decides on which host to deploy the service VMs.
13 Click Save.
Results
After service deployment, the partner Service Manager is notified about the update.
What to do next
Know deployment details and heath status about service instances deployed on hosts. See Add a Service
Profile.
Note You can create multiple service profile for a single vendor. For example, the service profile set for
the forward path provides IDS protection, whereas the service profile set for the reverse path supports
IPS protection. However, a single service profile can be set for both forward and reverse path.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Navigate to Security > East West Security > Network Introspection > Service Profiles.
3 From the Partner Service drop-down field, select a service. You can create a service profile for the
selected service.
4 Enter the service profile name and select the vendor template.
5 The Redirection Action field inherits functionality from the vendor template. For example, if COPY is
the functionality provided by the vendor template, then by default the redirection action when you
create a service profile is COPY.
6 (Optional) Define any tags to filter out and manage service profiles.
7 Click Save.
Results
What to do next
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Security > East West Security > Network Introspection > Service Chain > Add Chain.
4 In the Service Segments field, select the service segment to which you want to apply the service
chain. A service segment is a segment of service plane that connects multiple service VMs of an
overlay transport zone. Each service VM in the service chain is separate from another service VM
and L2 and L3 network segments run by NSX-T Data Center. The service plane controls access to
service VMs.
5 To set the forward path, click the Set Forward Path field and click Add Profile in Sequence.
6 Add the first profile in the service chain and click Add.
7 To specify the next service profile, click Add Profile in Sequence and enter details. You can also
rearrange the profile order by using the Up and Down arrow icons.
8 Click Save to finish adding a forward path for the service chain.
9 In the Reverse Path column, select Inverse Forward Path for the service plane to use the service
profile you set for the forward path.
10 To set a new service profile for the reverse path, click Set Reverse Path and add a service profile.
11 Click Save to finish adding a reverse path for the service chain.
n Select Allow to send traffic to the destination VM when the service VM fails. Service VM failure is
detected by the liveness detection mechanism which can be enabled only by partners.
n Select Block to not send traffic to the destination VM when the service VM fails.
13 Click Save.
Results
After adding a service chain, the partner Service Manager is notified about the update.
What to do next
Create a redirection rule to introspect east-west network traffic. See Add Redirection Rules for East-West
Traffic.
Rules are defined in a policy. Policy as a concept is similar to the concept of sections in firewalls. When
you add a policy, select the service chain to redirect the traffic for introspection by service profiles of the
service chain.
A rule definition consists of source and destination of the traffic, introspection service, the NSX-T Data
Center object to apply the rule to, and traffic redirection policy. After you publish the rule, NSX Manager
triggers the rule when a matching traffic pattern is found. The rule begins to introspect the traffic. For
example, when NSX Manager classifies a traffic flow that must be introspected, it does not forward it to
the regular distributed firewall, rather it redirects that traffic along the specified service chain in the policy.
The service profiles defined in the service chain introspect the traffic for network services the partner
offers. If a service profile finishes introspection without detecting any security issues in the traffic, the
traffic is forwarded to the next service profile in the service chain. At the end of the service chain, the
traffic is forwarded to the destination target.
All notifications are sent to the partner Service Manager and NSX-T Data Center.
Prerequisites
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Security > East West Security > Network Introspection > Rules > Add Policy.
A policy section is similar to a firewall section where you define rules that determine how traffics
flows.
6 Edit the Source field to add a group by defining membership criteria, static members, IP/MAC
addresses, or active directory groups.
n Virtual Machine
n Logical Switch
n Logical Port
n IP Set
n Group
n Segment
n Segment Port
n Virtual Machine
7 Click Save.
n Select DFW to apply the rule to all virtual NICs attached to the logical switch.
n Select VM groups to apply the rule on virtual NICs of member VMs of the group. Members can
be selected from a static list or based on dynamic criteria. The supported NSX-T Data Center
objects are: Virtual Machine, Logical Switch, Logical Port, IP Set and so on.
10 In the Action field, select Redirect to redirect traffic along the service chain or Do Not Redirect not to
apply network introspection on the traffic.
11 Click Publish.
14 To clone a policy or a rule, select the policy or rule and click Clone.
15 To enable a rule, enable the Enable/Disable icon or select the rule and from the menu click Enable >
Enable Rule.
Results
Traffic going to the source is redirected to the service chain for network introspection. After service
profiles in the chain introspect the traffic, it is delivered to the destination.
During deployment, it is possible that the VM group membership for a particular policy changes. NSX-T
Data Center notifies the partner Service Manager about these updates.
There are predefined categories under the All Shared Rules view, where rules across all gateways are
visible. Rules are evaluated top down, and left to right. The category names can be changed using the
API.
Emergency Used for Quarantine. Can also be used for Allow rules.
Shared Pre Rules These rules are globally applied across gateways.
Auto Service Rules These are auto-plumbed rules applied to the data plane. You
can edit these rules as required.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 To enable Gateway Firewall select Actions > General Settings, and toggle the status button. Click
Save.
4 Click Add Policy, for more about categories see Configuring a Gateway Firewall.
Settings Description
Locked The policy can be locked to prevent multiple users from making
changes to the same sections. When locking a section, you
must include a comment.
8 Click Publish. Multiple Policies can be added, and then published together at one time.
11 In the Sources column, click the edit icon and select the source of the rule. See Add a Group for
more information.
12 In the Destinations column, click the edit icon and select the destination of the rule. If not defined,
the destination matches any. See Add a Group for more information.
13 In the Services column, click the pencil icon and select services. The service matches any if not
defined.
14 In the Profiles column, click the edit icon and select a context profile, or click Add New Context
Profile. See Add a Context Profile.
Gateway firewall rules do not support context profiles with FQDN attributes. Context profiles use layer
7 APP ID attributes for use in distributed firewall rules and gateway firewall rules. Multiple App Id
context profiles can be used in a firewall rule with services set to Any. For ALG profiles (FTP,
ORACLE, DCERPC, TFTP), one context profile is supported per rule.
15 Click Apply.
16 The Applied to column defines the scope of enforcement per rule and is used mainly for optimization
of resources on ESXi and KVM hosts. You can define a targeted policy for specific zones and tenants
without interfering with policy defined for other tenants and zones. You can select a logical router
(Tier-0 or Tier-1) or interfaces on logical routers or route-based VPN sessions in this column.
Option Description
Allow Allows all traffic with the specified source, destination, and protocol to pass through
the current firewall context. Packets that match the rule, and are accepted, traverse
the system as if the firewall is not present.
Drop Drops packets with the specified source, destination, and protocol. Dropping a
packet is a silent action with no notification to the source or destination systems.
Dropping the packet causes the connection to be retried until the retry threshold is
reached.
Reject Rejects packets with the specified source, destination, and protocol. Rejecting a
packet sends a destination unreachable message to the sender. If the protocol is
TCP, a TCP RST message is sent. ICMP messages with administratively prohibited
code are sent for UDP, ICMP, and other IP connections. The sending application is
notified after one attempt that the connection cannot be established.
19 Click the gear icon to set logging, direction, IP protocol, tag, and notes.
Option Description
Logging Logging can be turned off or on. Logs are stored at /var/log/syslog on the Edge.
Direction The options are In, Out, and In/Out. The default is In/Out. This field refers to the
direction of traffic from the point of view of the destination object. In means that
only traffic to the object is checked, Out means that only traffic from the object is
checked, and In/Out means that traffic in both directions is checked.
IP Protocol The options are IPv4, IPv6, and IPv4_IPv6. The default is IPv4_IPv6.
Note Click the graph icon to view the flow statistics of the firewall rule. You can see information such
as the byte, packet count, and sessions.
20 Click Publish. Multiple rules can be added and then published together at one time.
21 On each policy section, click the Info icon to view the current status of edge firewall rules that are
pushed to edge nodes. Any alarms generated when rules were pushed to edge nodes are also
displayed.
22 To view consolidated status of policy rules that are applied to edge nodes, make the API call.
GET https://<policy-mgr>/policy/api/v1/infra/realized-state/status?intent_path=/
infra/domains/default/gateway-policies/
<GatewayPolicy_ID>&include_enforced_status=true
Deploy a Service for North-South Traffic Administrator API and NSX Manager UI
Introspection
Deploy partner service VM at tier-0 or tier-1 logical router that acts as a gateway between the physical
world and the logical network on vCenter Server. After you deploy the SVM as a standalone service
instance or an active-standby service instance, you can create redirection rules to redirect traffic to the
SVM for network introspection.
Prerequisites
n Partner services are registered with NSX-T Data Center and are ready for deployment.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Partner Services > Service Instances > Catalog.
4 Select the service displayed in OVF form factor and click Deploy to begin deployment of the service
instance.
Partner Service Select the partner service registered with NSX-T Data Center.
Logical Router Select the tier-0 logical router where the service instance must
be deployed.
7 Click Next.
Service Instance IP Address Enter the IP address to be used by the service instance.
Network ID Enter the network ID of the logical switch where you want to
connect the management network.
Resource Pool Select the resource pool that provides resources to deploy the
service instance.
9 Click Next.
Table 10-8.
Field Description
Deployment Template Select the template to be used during deployment of the service
instance.
11 Click Finish.
Results
The Service Instances tab displays the deployment progress. It might take a few minutes for deployment
to finish. Verify the deployment state to ensure that the service instance is successfully deployed at the
tier-0 logical router.
What to do next
Configure rules to redirect traffic to the service instance deployed at the tier-0 router. See Configure
Traffic Redirection
For information about configuring a firewall, see Firewall Sections and Firewall Rules.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Partner Services > Service Instances .
u From the menu, select Add Section Above or Add Section Below.
A new section is created. The traffic type to be redirected is set to L3 Redirect, service is of the type
Stateless, the Applied To field is associated to a Tier-0 logical router that is configured on the host.
After you define rules, the Rules field is auto-populated.
7 To add a rule within that section, select the section and click Add Rule.
b Enter the source and destination of L3 traffic. The partner service VM introspects traffic flowing in
from the source before redirecting it to the destination VM.
d In the Action field, select Redirect if traffic needs to be introspected by the service VMs or select
Don't Redirect if traffic does not need to be introspected for north-south introspection.
9 Each rule can be enabled individually. After you enable a rule, it is applied to the traffic that matches
the rule.
10 Click Advanced Settings to configure the traffic direction and to enable logging.
11 At the end of a section containing rules, click Publish to persist the rules in the section or click
Revert to cancel the operation.
Results
The traffic is sent to network introspection rules where policy rules are applied to the traffic.
What to do next
Prerequisites
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Security > North South Firewall > Network Introspection (N-S) > Add Policy.
A policy section is similar to a firewall section where you define rules that determine how traffics
flows.
3 Set Redirection To to the service instance that is registered with NSX-T to perform network
introspection of traffic flowing between source and destination entities.
6 Edit the Source field to add a group by defining membership criteria, static members, IP/MAC
addresses, or active directory groups. Membership criteria can be defined from one of these types:
Virtual Machine, Logical Switch, Logical Port, IP Set. You can select static members from one of
these categories: Group, Segment, Segment Port, Virtual Network Interface, or Virtual Machine.
7 Click Save.
n Select DFW to apply the rule to all virtual NICs attached to the logical switch.
n Select VM groups to apply the rule on virtual NICs of member VMs of the group. Members can
be selected from a static list or based on dynamic criteria. The supported NSX-T Data Center
objects are: Virtual Machine, Logical Switch, Logical Port, IP Set and so on.
10 In the Action field, select Redirect to redirect traffic along the service instance or Do Not Redirect
not to apply network introspection on the traffic.
11 Click Publish.
14 To clone a policy or a rule, select the policy or rule and click Clone.
15 To enable a rule, enable the Enable/Disable icon or select the rule and from the menu click Enable >
Enable Rule.
Results
Based on the actions set, north-south traffic is redirected to the service instance for network introspection.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Partner Services > Service Instances.
The Overview tab shows the configuration and status of the service instance.
Information about the number of packets and the amount of data that go into and out of the service
instance is displayed.
Endpoint Protection
NSX-T Data Center allows you to insert third-party partner services as a separate service VM that
provides Endpoint Protection services . A partner Service VM processes file, process, and registry events
from the guest VM based on the endpoint protection policy rules applied by the NSX-T Data Center
administrator.
As an NSX administrator, you implement an antivirus and antimalware solution that is deployed as a
Service Virtual Machine (Service VM, or SVM) to monitor a file, network, or process activity on a guest
VM. Whenever a file is accessed, such as a file open attempt, the antimalware Service VM is notified of
the event. The Service VM then determines how to respond to the event. For example, to inspect the file
for virus signatures.
n If the Service VM determines that the file contains no viruses, then it allows the file open operation to
succeed.
n If the Service VM detects a virus in the file, it requests the Thin Agent on the guest VM to act in one of
the following ways:
n Infected VMs can be assigned a tag by NSX. Moreover, you can define a rule that automatically
moves such tagged guest VMs to a security group that quarantines the infected VM for additional
scan and isolation from the network until the infection is completely removed.
The benefits of using the guest introspection platform to protect guest VM endpoints:
n Reduced consumption of compute resources: Guest introspection offloads virus signatures and
security scanning logic from each endpoint on a host to a third-party partner Service VM on the host.
As virus scanning happens only on the Service VM, there is no need to spend compute resources on
guest VMs to run virus scans.
n Better management: As virus scans are offloaded to a Service VM, virus signatures need to be
updated to only one object per host. Such a mechanism works better than agent-based solution
where same virus signatures need updates on all guest VMs.
n Continuous antivirus and antimalware protection: As the Service VM runs continuously, a guest VM is
not mandated to run the latest virus signatures. For example, a snapshot VM might run some older
version of the virus signature making it vulnerable in the traditional way of protecting endpoints. With
the guest introspection platform, the Service VM is continuously running the latest virus and malware
signatures thereby ensuring that any newly added VM is also protected with the latest virus
signatures.
n Offloaded virus signatures to a Service VM: Virus database lifecycle is outside of guest VM lifecycle
and so the Service VM is not affected by guest VM outages.
Key Concepts:
n Partner console: It is the web application provided by the security vendor to work with the guest
introspection platform.
n NSX Manager: It is the management plane appliance for NSX that provides API and graphical user
interface to customers and partners for configuration of Network and Security policies. For guest
introspection, the NSX Manager also provides API and GUI to deploy and manage partner
appliances.
n Guest Introspection SDK: VMware provided library consumed by the security vendor.
n Service VM: Is the security vendor provided VM that consumes the guest introspection SDK provided
by VMware. It contains the logic to scan file or process events to detect virus or malware on the
guest. After scanning a request, it sends back a verdict or notification about the action taken by the
guest VM on the request.
n Guest Introspection host agent (Context Multiplexer): It processes configuration of endpoint protection
policies. It also multiplexes and forwards messages from protected VMs to the Service VM. It reports
the health status of the guest introspection platform and maintains records of the Service VM
configuration in the muxconfig.xml file.
n Ops agent (Context engine and Guest Introspection client): It forwards the guest introspection
configuration to the guest introspection host agent (Context Multiplexer). It also relays the health
status of the solution to NSX Manager.
n EAM: NSX Manager uses the ESXi agent manager to deploy a partner Service VM on every host on
the cluster configured for protection.
n Thin agent: It is the file or network introspection agent running inside the guest VMs. It also intercepts
file and network activities that are forwarded to the Service VM through the host agent. This agent is
part of VMware Tools. It replaces the traditional agent provided by antivirus or antimalware security
vendors. It is a generic and lightweight agent that facilitates offloading files and processes for
scanning to the Service VM provided by the vendor.
n Service Definition: Partners define services with these attributes: name, description, supported form
factors, deployment attributes that include network interfaces, and appliance OVF package location to
be used by the SVM.
n Service Insertion: NSX provides the service insertion framework that allows partners to integrate
networking and security solutions with the NSX platform. Guest introspection solution is one such
form of service insertion.
n Service Profiles and Vendor Templates: Partners register vendor templates which expose protection
levels for policies. For example, protection levels can be Gold, Silver, or Platinum. Service Profiles
can be created from Vendor Templates, which allow the NSX administrators to name the Vendor
Templates according to their preference. For services other than those of Guest Introspection, the
Service Profiles allow further customization using attributes. The Service Profiles can then be used in
the Endpoint Protection policy rules to configure protection for virtual machine groups defined in NSX.
As an administrator, you can create groups based on VM name, tags, or identifiers. Multiple Service
Profiles can optionally be created from a single Vendor Template.
n Endpoint Protection Policy: A policy is a collection of rules. When you have multiple policies, arrange
them in the order to run them. The same applies for rules defined within a policy. For example, policy
A has three rules, and policy B has four rules, and they are arranged in a sequence such that policy A
precedes policy B. When guest introspection begins running policies, rules from policy A are run first
before rules from policy B.
n Endpoint Protection Rule: As a NSX administrator, you can create rules that specify the virtual
machine groups that are to be protected, and choose the protection level for those groups by
specifying the Service Profile for each rule.
n Service Instance: It refers to the service VM on a host. The service VMs are treated as special VMs
by vCenter and they are started before any of the guest VMs are powered on and stopped after all
the guest VMs are powered off. There is one service instance per service per host.
Important Number of service instances is equal to the number of hosts on which the service is
running host. For example, if you have eight hosts in a cluster, and the partner service was deployed
on two clusters, the total number of service instances running are 16 SVMs.
n Service Deployment: As an admin you deploy partner Service VMs through NSX-T on a per cluster
basis. Deployments are managed at a cluster level, so that when any host is added to the cluster,
EAM automatically deploys the service VM on them.
Automatically deploying the SVM is important because if distributed resource scheduler (DRS)
service is configured on a vCenter Cluster, then vCenter can rebalance or distribute existing VMs to
any new host that got added to the cluster after the SVM is deployed and started on the new host.
Since partner Service VMs need NSX-T platform to provide security to guest VMs, the host must be
prepared as a transport node.
Important One service deployment refers to one cluster on the vCenter Server that is managed for
deploying and configuring one partner service.
n File Introspection driver: Is installed on the guest VM, intercepts the file activity on the guest VM.
n Network Introspection driver: Is installed on the guest VM, intercepts the network traffic, process, and
user activity on the guest VM.
The guest introspection workflow for the endpoint protection use case is as follows:
View Service Instance Details NSX Admin API and NSX Manager UI
Consume Guest Introspection Policy NSX Admin API and NSX Manager UI
Add and Publish Endpoint Protection NSX Admin API and NSX Manager UI
Rules
Monitor Endpoint Protection Status NSX Admin API and NSX Manager UI
1 Ensure Prerequisites to Configure Endpoint Protection are met before you configure endpoint
protection on guest VMs.
3 Install File Introspection Driver for Linux VMs. See Install the Guest Introspection Thin Agent on Linux
Virtual Machines.
4 Install File Introspection Driver for Windows VMs. See Install the Guest Introspection Thin Agent on
Linux Virtual Machines.
5 Install Network Introspection Driver for Linux VMs. See Install the Linux Thin Agent for Network
Introspection.
6 Create a User with Guest Introspection Partner Admin Role. See Create a User with Guest
Introspection Partner Admin Role.
7 Register partner service with NSX-T Data Center. Refer to Partner documentation.
10 Add and Publish Endpoint Protection Rules. See Add and Publish Endpoint Protection Rules.
Prerequisites
n Prepare and configure NSX-T Data Center cluster as transport nodes by applying transport node
profiles. After the host is configured as the transport node, guest introspection components are
installed. See NSX-T Data Center Installation Guide.
n Partner console is installed and configured to register services with NSX-T Data Center.
n Ensure that the guest VMs run VM Hardware Configuration file version 9 or higher.
n See Install the Guest Introspection Thin Agent on Linux Virtual Machines.
n See Install the Guest Introspection Thin Agent on Windows Virtual Machines.
The Linux thin agent is available as part of the operating system specific packages (OSPs). The
packages are hosted on VMware packages portal. Enterprise or Security Administrator (non-NSX
Administrator) can install the agent on guest VMs outside of NSX.
Based on your Linux operating system, perform the following steps with root privilege:
Prerequisites
n Ensure that the guest virtual machine has a supported version of Linux installed:
n CentOS 7.4 GA
Procedure
a Obtain and import the VMware packaging public keys using the following commands.
curl -O https://packages.vmware.com/packages/nsx-gi/keys/VMWARE-PACKAGING-NSX-GI-GPG-RSA-
KEY.pub
apt-key add VMWARE-PACKAGING-NSX-GI-GPG-RSA-KEY.pub
apt-get update
apt-get install vmware-nsx-gi-file
a Obtain and import the VMware packaging public keys using the following commands.
curl -O https://packages.vmware.com/packages/nsx-gi/keys/VMWARE-PACKAGING-NSX-GI-GPG-RSA-
KEY.pub
rpm --import VMWARE-PACKAGING-NSX-GI-GPG-RSA-KEY.pub
[vmware]
name = VMware
baseurl = https://packages.vmware.com/packages/nsx-gi/latest/rhel7/x86_64
enabled = 1
gpgcheck = 1
metadata_expire = 86400
ui_repoid_vars = basearch
a Obtain and import the VMware packaging public keys using the following commands.
curl -O https://packages.vmware.com/packages/nsx-gi/keys/VMWARE-PACKAGING-NSX-GI-GPG-RSA-
KEY.pub
rpm --import VMWARE-PACKAGING-NSX-GI-GPG-RSA-KEY.pub
a Obtain and import the VMware packaging public keys using the following commands.
curl -O https://packages.vmware.com/packages/nsx-gi/keys/VMWARE-PACKAGING-NSX-GI-GPG-RSA-
KEY.pub
rpm --import VMWARE-PACKAGING-NSX-GI-GPG-RSA-KEY.pub
[vmware]
name = VMware
baseurl = https://packages.vmware.com/packages/nsx-gi/latest/centos7/x86_64
enabled = 1
gpgcheck = 1
metadata_expire = 86400
ui_repoid_vars = basearch
What to do next
Verify whether the thin agent is running using the service vsepd status command with the
administrative privileges. The status must be running.
Important To protect guest VMs against antivirus, you do not need to install the Linux thin agent for
network introspection.
The Linux thin agent driver that is used to introspect network traffic depends on an open-source driver.
Prerequisites
n glib2
n libnetfilter-conntrack3/ libnetfilter-conntrack
n libnetfilter-queue1/ libnetfilter-queue
n iptables
Procedure
a Add following URL as the base URL for your operating system.
https://packages.vmware.com/packages/nsx-gi/keys/VMWARE-PACKAGING-NSX-GI-GPG-RSA-KEY.pub
2 To install the Linux thin agent that is used to introspect file and or network traffic.
n To install file and network introspection packages, select vmware-nsx-gi package in step c.
https://packages.vmware.com/packages/nsx-gi/keys/VMWARE-PACKAGING-NSX-GI-GPG-RSA-KEY.pub
vmware-nsx-gi
vmware-nsx-gi-net
Windows virtual machines with the Guest Introspection drivers installed are automatically protected
whenever they are started up on an ESXi host that has the security solution installed. Protected virtual
machines retain the security protection through shut downs and restarts, and even after a vMotion move
to another ESXi host with the security solution installed.
n If you are using vSphere 6.0, see these instructions for installing VMware Tools, see Manually Install
or Upgrade VMware Tools in a Windows Virtual Machine.
n If you are using vSphere 6.5, see these instructions for installing VMware Tools: https://
www.vmware.com/support/pubs/vmware-tools-pubs.html.
Prerequisites
Ensure that the guest virtual machine has a supported version of Windows installed. The following
Windows operating systems are supported for NSX Guest Introspection:
n Windows 10
n Win2012 (64)
Procedure
1 Start the VMware Tools installation, following the instructions for your version of vSphere. Select
Custom install.
Driver Description
vShield Endpoint Drivers Installs File Introspection (vsepflt) and Network Introspection (vnetflt) drivers.
Guest Introspection Drivers Installs File Introspection (vsepflt) and Network Introspection (vnetflt) drivers.
NSX File Introspection Driver and Select NSX File Introspection Driver to install vsepflt.
NSX Network Introspection Driver Optionally select NSX Network Introspection Driver to install vnetflt (vnetWFP on
Windows 10 or later).
Note Select NSX Network Introspection Driver only if you are using the Identity Firewall
or Endpoint Monitoring features.
4 In the drop-down menu next to the drivers you want to add, select This feature is installed on the local
hard drive.
What to do next
Verify whether the thin agent is running using the fltmc command with the administrative privileges. The
Filter Name column in the output lists the thin agent with an entry vsepflt.
Supported Software
Guest Introspection is interoperable with specific versions of software.
VMware Tools
VMware Tool 10.3.10 version is supported.
Check out interoperability between VMware Tools and NSX-T. See VMware Product Interoperability
Matrices.
Supported OS
n Windows 7
n Windows 8/8.1
n Windows 10
n CentOS 7.4 GA
n RHEL 7.4 GA
n SLES 12 GA
Supported Hosts
For supported ESXi hosts, see the VMware Product Interoperability Matrices.
Note: It is recommended to register partner services by a user that is associated with the Guest
Introspection Partner Admin role to avoid any security issues.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Click Add.
4 Select the user and assign that user the GI Partner Admin role.
What to do next
Register services with NSX-T Data Center. See Register a Service with NSX-T Data Center.
Prerequisites
n Ensure that prerequisites are met. See Prerequisites to Configure Endpoint Protection.
n Ensure that a vIDM user is assigned the GI Partner Admin role. This role is used to register services
with NSX-T Data Center.
Procedure
2 Register a service, vendor template, and configure the partner solution with NSX-T Data Center. See
partner documentation.
What to do next
Prerequisites
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Click View on a service. The Deployment page displays the details about the service, such as status
of deployment, network details, cluster details, and so on.
What to do next
Deploy a Service
After you register a service, you must deploy an instance of the service for the service to start processing
network traffic.
Deploy partner service VMs that run the partner security engine on all the NSX-T Data Center hosts in a
cluster. The vSphere ESX Agency Manager (EAM) service is used to deploy the partner service VMs on
each host. After you deploy the SVMs, you can create policy rules used by SVM to protect guest VMs.
Prerequisites
n Partner services are registered with NSX-T Data Center and are ready for deployment.
n NSX-T Data Center administrators can access partner services and vendor templates.
n Both the service VM and the partner Service Manager (console) must be able to communicate with
each other at the management network level.
n Add a transport node profile to prepare a cluster for auto deployment of NSX-T Data Center
transport nodes.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
6 In the Compute Manager field, select the compute resource on the vCenter Server to deploy the
service.
7 In the Cluster field, select the cluster where the services need to be deployed.
b Select Specified on Host. This setting means that you do not need to select a datastore and port
group on this wizard. You can directly configure agent settings on EAM in vCenter Server to point
to a specific datastore and port group to be used for service deployment.
11 Set the network type to DHCP or Static IP pool. If you set the network type to Static IP pool, select
from the list of available IP pools.
12 In the Deployment Specification field, select host-based deployment to deploy service on all hosts.
Depending upon the services registered by the partner, multiple services can be deployed as part of a
single service VM.
14 Click Save.
Results
When a new host is added to the cluster, EAM automatically deploys the service VM on the new host.
The deployment process might take some time, depending on the vendor's implementation. You can view
the status in the NSX Manager user interface. The service is successfully deployed on the host when the
status turns Deployment Successful.
To remove host from a cluster, first move it into maintenance mode. Then, select the option to migrate the
guest VMs to another host to complete migration.
What to do next
Know deployment details and heath status about service instances deployed on hosts. See View Service
Instance Details.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 From the Partner Service drop-down menu, select the partner service to view details related to
service instances.
Table 10-9.
Field Description
Service Instance Name A unique ID identifying the service instance on a particular host.
Service Deployment Name The name you entered when deploying the service.
Health Status When the service instance is deployed, the heath status is
Ready. To bring the health status from Ready to Up, make the
required configuration changes. See Bring up Service Instance.
After the following parameters are successfully realized by NSX-
T Data Center, the health status changes from Ready to Up.
n Solution status: Up
n Connectivity between NSX-T Data Center Guest
Introspection agent and NSX-T Data Center Ops Agent: Up
n Health Status received at: <Day, Date, Time>
What to do next
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 From the Partner Service drop-down menu, select the partner service to view details related to
service instances.
4 The Health Status column displays state of the service instance as Ready. It indicates that the service
instance is ready to be configured with endpoint protection policy rules to protect VMs.
5 The following parameters must be realized in NSX-T Data Center for the health status to change to
Up.
n Guest virtual machines must be configured with the supported version of VMtools and file
introspection drivers.
What to do next
For example, a vendor can provide Gold, Platinum, and Silver policy levels. Each profile created might
serve a different type of workload. A Gold service profile provides complete antimalware to a PCI-type
workload, while a silver service profile only provides basic antimalware protection to a regular workload.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Security > Endpoint Protection > Endpoint Protection Rules > Service Profiles .
3 From the Partner Service field, select the service for which you want to create a service profile.
5 Enter the service profile name and select the vendor template. Optionally, add description and tags.
6 Click Save.
The vendor template ID used to create the service profile is passed on to the partner console.
Partners store the vendor template ID to track usage of which guest VMs are protected by these
vendor template.
Results
After creating service profile, an NSX admin creates rules to associate a service profile to a group of VMs
before publishing the policy rule.
What to do next
Apply endpoint protection policy on guest VM groups that need to be protected from malware. See
Consume Guest Introspection Policy.
The endpoint protection policy is a protection service offered by partners to protect guest VMs from
malware by implementing service profiles on guest VMs. With a rule applied to a VM group, all guest VMs
within that group are protected by that service profile. When a file access event on a guest VM occurs,
the GI thin agent (running on each guest VM) collects context of the file (file attributes, file handle, and
other context details) and notifies the event to SVM. If the SVM wants to scan the file content, it request
for details using the EPSec API library. Upon a clean verdict from SVM, the GI thin agent allows the user
to access the file. In case SVM reports the file as infected, the GI thin agent denies user access to the
file.
Procedure
Procedure
5 In the Set Groups window, select from the existing list of groups or add a new group.
a To add a new group, click Add Group, enter details and click Save.
7 In the Service Profiles column, select the service profile that provides the desired protection level to
the guest VMs in the group.
a To add a new service profile, click Add Service Profile, enter details and click Save.
8 Click Publish.
Results
What to do next
You might want to change the sequence of rules depending on the type of protection required for different
VM groups. See How Guest Introspection Runs Endpoint Protection Policy
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 To view the deployment status across clusters in the system, navigate to the Endpoint Protection
widget, click the doughnut chart to view successful or unsuccessful deployments.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
1 Number of VMs protected by top profile. Top profile represents a profile that protects the
maximum number of VMs on a cluster.
The Endpoint Protection Rules page displays VMs protected by Endpoint Protection policies.
2 SVM: Issues related to service VMs. For example, the SVM state is down, SVM connection
with guest VM is down.
ESXi Agency Manager (EAM) attempts to resolve a few issues related to hosts, SVMs, and
configuration errors. See Resolve Partner Services Issues.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 In the Security Overview page, click Capacity and view capacity status of these parameters.
a System Wide Endpoint Protection Enabled Hosts: If the number of host numbers protected
reaches the threshold limit, NSX Manager notifies a warning alert or critical alert when
corresponding threshold limits are reached.
b System Wide Endpoint Protection Enabled Virtual Machines: If the number of virtual machine
numbers protected reaches the threshold limit, NSX Manager notifies a warning alert or critical
alert when corresponding threshold limits are reached.
Note You can set threshold limits for these parameters, view status and receive alerts when
these parameters reach the set threshold limit.
On each host, verify that the following services or process are up and running:
n ESXi Agency Manager (EAM) service must be up and running. The following URL must be
accessible.
https://<vCenter_Server_IP_Address>/eam/mob
n Port groups of SVMs must not be deleted because these port groups are required to ensure that SVM
continues to protect guest VMs.
https://<vCenter_Server_IP_Address>/ui
n In vCenter Server, go to the virtual machine, click the Networks tab, and check whether vmservice-
vshield-pg is listed.
n Context Multiplexer (MUX) service is up and running. Check nsx-context-mux VIB is UP and
running on the host.
n The management interface on which NSX-T Data Center communicates with the partner service
console must be up.
n The control interface enabling communication between MUX and SVM must be up. Port group
connecting MUX with SVM must be created. Both interface and port group are required for the
partner service to be functional.
Cannot Access Agent OVF VM Not Deployed An agent virtual machine is ESXi Agency Manager (EAM)
expected to be deployed on a service retries the OVF
host, but the agent virtual download operation. Check the
machine cannot be deployed partner management console
because the ESXi Agent status. Click Resolve.
Manager is unable to access
the OVF package for the
agent. It might happen
because the web server
providing the OVF package is
down. The web server is often
internal to the solution that
created the Agency.
Incompatible Host Version VM Not Deployed An agent virtual machine is Upgrade either the host or the
expected to be deployed on a solution to make the agent
host. However, because of compatible with the host.
compatibility issues the agent Check the compatibility of the
was not deployed on the host. SVM. Click Resolve.
Insufficient Resources VM Not Deployed An agent virtual machine is ESXi Agency Manager (EAM)
expected to be deployed on a service attempts to redeploy
host. However, ESXi Agency the virtual machine. Ensure
Manager (EAM) service did that CPU and memory
not deploy the agent virtual resources are available. Check
machine because the host the host and free up some
has less CPU or memory resources. Click Resolve.
resources.
Insufficient Space VM Not Deployed An agent virtual machine is ESXi Agency Manager (EAM)
expected to be deployed on a service attempts to redeploy
host. However, the agent the virtual machine. Free up
virtual machine was not some space on the datastore.
deployed because the agent Click Resolve.
datastore on the host did not
have enough free space.
No Agent VM Network VM Not Deployed An agent virtual machine is Add one of the networks listed
expected to be deployed on a in customAgentVmNetwork to
host, but the agent cannot be the host. The issue resolves
deployed because the agent automatically after the
network has not been datastore is available.
configured on the host.
Ovf Invalid Format VM Not Deployed An Agent virtual machine is ESXi Agency Manager (EAM)
expected to be provisioned on service attempts to redeploy
a host, but it failed to do so the SVM. Check the partner
because the provisioning of solution documentation or
the OVF package failed. The upgrade the partner solution to
provisioning is unlikely to get the valid OVF package.
succeed until the solution that Click Resolve.
provides the OVF package
has been upgraded or
patched to provide a valid
OVF package for the agent
virtual machine.
Missing Agent IP Pool VM Powered Off An agent virtual machine is Define the IP address on the
expected to be powered on, virtual machine network. Click
but the agent virtual machine Resolve.
is powered off because there
are no IP addresses defined
on the agent's virtual machine
network.
No Agent VM Datastore VM Powered Off An agent virtual machine is Add one of the datastores
expected to be deployed on a listed in
host, but the agent cannot be customAgentVmDatastore to
deployed because the agent the host. The issue resolves
datastore has not been automatically after the
configured on the host. datastore is available.
No Custom Agent VM Network No Agent VM Network An agent virtual machine is Add the host to one of the
expected to be deployed on a networks listed in a custom
host, but the agent cannot be agent VM network. The issue
deployed because the agent resolves automatically after a
network has not been custom VM network is
configured on the host. available.
No Custom Agent VM No Agent VM Datastore An agent virtual machine is Add the host to one of the
Datastore expected to be deployed on a datastores listed in a custom
host, but the agent cannot be agent VM datastore. The issue
deployed because the agent resolves automatically.
datastore has not been
configured on the host.
Orphaned Agency Agency Issue The solution that created the Register the solution with the
agency is no longer vCenter Server.
registered with the vCenter
Server.
Orphaned DvFilter Switch Host Issue A dvFilter switch exists on a Click Resolve. ESXi Agency
host but no agents on the Manager (EAM) service
host depend on dvFilter. It attempts to connect the host
happens if a host is before the agency
disconnected when an configuration is updated.
agency configuration
changed.
Unknown Agent VM Host Issue An agent virtual machine has Click Resolve. ESXi Agency
been found in thevCenter Manager (EAM) service
Server inventory that does not attempts to place the virtual
belong to any agency in this machine to the inventory it
vSphere ESX Agent Manager belongs to.
server instance.
Ovf Invalid Property VM Issue An agent virtual machine Click Resolve. ESXi Agency
must be powered on, but an Manager (EAM) service
OVF property is either attempts to reconfigure the
missing or has an invalid correct OVF property.
value.
VM Powered Off VM Issue An agent virtual machine is Click Resolve. ESXi Agency
expected to be powered on, Manager (EAM) service
but the agent virtual machine attempts to power on the virtual
is powered off. machine.
VM Wrong Folder VM Issue An agent virtual machine is Click Resolve. ESXi Agency
expected to be located in a Manager (EAM) service
designated agent virtual attempts to place the agent
machine folder, but is found in virtual machine to the
a different folder. designated folder.
VM Wrong Resource Pool VM Issue An agent virtual machine is Click Resolve. ESXi Agency
expected to be located in a Manager (EAM) service
designated agent virtual attempts to place the agent
machine resource pool, but is virtual machine to a designated
found in a different resource resource pool.
pool.
VM Not Deployed Agent Issue An agent virtual machine is Click Resolve to deploy the
expected to be deployed on a agent virtual machine.
host, but the agent virtual
machine has not been
deployed. Specific reasons
why ESXi Agent Manager
was unable to deploy the
agent, such as being unable
to access the OVF package
for the agent or a missing
host configuration. This issue
can also happen if the agent
virtual machine is explicitly
deleted from the host.
Next, configure the Endpoint Protection for VM groups. See Endpoint Protection.
Scenario: Out of the many workloads that run in your organization, for the purposes of illustration we
consider two kinds of workloads - VMs running Virtual Desktop Infrastructure (VDI), and VMs running
Payments Cards Industry Data Security Standards (PCI-DSS) workloads. A section of employees in the
organization requires remote desktop access, which makes up the virtual desktop infrastructure (VDI)
workload. These VDI workloads might require a Gold protection policy level based on the compliance
rules set up by the organization. Whereas a PCI-DSS workload needs the highest level of protection,
Platinum level protection.
Policy Domain -
VDI workloads
(sequence 1)
Rule 1
(sequence 1)
VM Group 1 Gold Service Profile
Rule 2
(sequence 2)
VM Group 2 Platinum Service Profile
Rule 3
(sequence 3)
VM Group 3 Silver Service Profile
Rule n
(sequence n)
VM Group n Service Profile
Policy Domain -
PCI workloads
(sequence 2)
Rule 1
(sequence 1)
VM Group 1 Gold Service Profile 1
Rule 2
(sequence 2)
VM Group 2 Platinum Service Profile 1
Rule 3
(sequence 3)
VM Group 3 Silver Service Profile 1
Rule n
(sequence n)
VM Group n Service Profile
As there are two workload types, create two policies one each for VDI workloads and server workloads.
Within each policy or section, define a domain to reflect the workload type and within that section define
rules for that workload. Publish the rules to start GI services on guest VMs. GI internally uses the two
sequence numbers: Policy sequence number and rule sequence number to determine the complete
sequence of rules to run. Each rule serves two purposes: determines which VMs to protect and the
protection policy that must be applied to protect the VMs.
To change the sequence order, drag a rule in the NSX-T Policy Manager UI to change its sequence order.
Alternatively, you can explicitly assign sequence number for rules using API.
Alternatively make an NSX-T Data Center API call to manually define a rule by associating a service
profile with a VM group and declare the sequence number of the rules. The API and parameter details are
detailed in the NSX-T Data Center API guide. Make Service configuration APIs calls to apply profiles to
entities such as VM groups and so on.
Table 10-11. NSX-T Data Center APIs used to define rule that apply service profile to VM
groups
API Details
n Set a higher sequence number for a policy for which rules must be ran first. From the UI, you can
drag policies to change their priority.
n Similarly, set a higher sequence number for rules within each policy.
n Depending on how many rules you need, you can position rules apart in multiples of 2, 3, 4, or even
10. So, two consecutive rules that are 10 positions apart give you more flexibility to resequence rules
without having to change the sequence order of all the rules. For example, if you do not plan to define
many rules, you can select to position rules 10 positions apart. So, rule 1 gets a sequence number of
1, rule 2 gets a sequence number of 10, rule 3 gets a sequence number of 20, and so on. This
recommendation provides flexibility to efficiently manage rules so that you do not need to resequence
all the rules.
Internally, guest introspection sequences these policy rules in the following way.
Based on the above sequence numbers, GI runs rules of Policy 1 before it runs rules of Policy 2.
But there are situations when the intended rules are not applied to a VM group or a VM. These conflicts
need to be resolved to apply the desired policy protection levels.
n An unexpected rule ran on a guest VM, or when a rule does not run on a VM group.
When a VM gets membership to A VM group created with a membership criteria Change the Sequence Number of Rule 2
multiple groups. And each group is means that VMs are added to the group such that it runs before Rule 1.
protected by a different type of dynamically. In such a case, the same VM can n On the NSX-T Policy Manager UI,
service profile. be part of multiple groups. There is no way to drag the Rule 2 before Rule 1 on the
Expected protection was not applied pre-determine which group that VM is going to rule list.
to the VM. be part of because the membership criteria n Using NSX-T Policy Manager API,
dynamically populates VM into the group. manually add a higher sequence
Consider VM 1 is part of Group 1 and Group 2. number for Rule 2.
n Rule 1: Group 1 (by OS name) is applied
Gold (Service Profile) with Sequence
Number 1
n Rule 2: Group 2 (by tag) is applied
Platinum with Sequence Number 10
Endpoint protection policy runs the Gold
service profile on VM 1 but does not run
Platinum service profile on VM1.
When a rule associates the same Endpoint protection only runs the first service n Add Group 2 to Rule 1. (Rule 1: Group
service profile to protect two VM profile on the VM because the same service 1, Group 2 is applied Profile 1)
groups. profile cannot be applied again to any other
Endpoint protection does not run rule across policies or domain.
the rule on the second VM group. Consider VM 1 is part of Group 1 and Group 2.
Rule 1: Group 1 (by OS name) is applied Gold
(service profile)
Rule 2: Group 2 (by tag) is applied Gold
(service profile)
Quarantine VMs
After rules are applied to VM groups, based on the protection level and tag set by partners, there might
be VMs that are identified as infected that need to be quarantined.
Partners use the API with tag virus_found=true to tag VMs that are infected. Affected VMs are
attached with the virus_found=true tag.
As an administrator, you can create a pre-defined quarantine group based on tag with
virus_found=true value, such that the group gets populated with infected VMs as and when they are
tagged. As an admin, you might choose to set specific firewall rules for the quarantine group. You can set
firewall rules for the quarantine group. For example, you might choose to block all traffic incoming and
outgoing from the quarantine group.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 In the Health Status column, click to know the health of the service instance.
Health Status received at The latest timestamp when NSX Manager received the health status details of the service
instance.
Solution Status Status of partner solution running on an SVM. Status UP indicates that the partner solution is
correctly running.
Connectivity between NSX-T Data Status is UP when NSX-T Data Center Guest Introspection agent (context multiplexer) is
Center Guest Introspection Agent connected with the Ops agent (includes the context engine). The context multiplexer
and NSX-T Data Center Ops Agent forwards health information of SVMs to the context engine. They also share SVM-VM
configuration between each other to know which guest VMs are protected by the SVM.
Service VM Protocol Version Transport protocol version used internally for troubleshooting issues.
NSX-T Data Center Guest Represents protocol version compatibility between NSX-T Data Center Guest Introspection
Introspection Agent Information agent and SVM.
4 If the Health Status is Up (status displayed in green) and the partner console displays all guest VMs
as protected, the health status of the service instance is Up.
5 If the Health Status is Up (status displayed in green) but the partner console displays guest VMs in
unprotected state, perform the following step:
a Contact VMware support to resolve the issue. The health status of the service instance might be
down not correctly reflected by the NSX Manager user interface.
6 If the Health Status is Down (status displayed in red), then one or more factors that determine the
service instance health are down.
Solution Status is Down or Not available. 1 Verify that service deployment status is Up (green). If you
encounter errors, see Resolve Partner Services Issues.
2 Ensure that at least one guest VM in the affected host is
protected with an endpoint protection policy.
3 From the partner console, verify whether the solution service
is running on the SVM on the host. See the Partner
documentation for more details.
4 If none of the above steps resolve the issue, contact VMware
support.
Connectivity between NSX-T Data Center Guest Introspection 1 Verify that service deployment status is Up (green). If you
Agent and NSX-T Data Center Ops Agent is Down. encounter errors, see Resolve Partner Services Issues.
2 Ensure that at least one guest VM in the affected host is
protected with an endpoint protection policy.
3 From the partner console, verify whether the solution service
is running on the SVM on the host. See the Partner
documentation for more details.
4 If none of the above steps resolve the issue, contact VMware
support.
Service VM Protocol Version is Unavailable. 1 Verify that service deployment status is Up (green). If you
encounter errors, see Resolve Partner Services Issues.
2 Ensure that at least one guest VM in the affected host is
protected with an endpoint protection policy.
3 From the partner console, verify whether the solution service
is running on the SVM on the host. See the Partner
documentation for more details.
4 If none of the above steps resolve the issue, contact VMware
support.
NSX-T Data Center Guest Introspection Agent Information is Contact VMware support.
Unavailable.
Procedure
3 To remove solution binding SVMs with partner service manager, make the following API call.
/DEL https://<NSX_Manager_IPaddress>/api/v1/serviceinsertion/services/{{service_id}}/solution-
configs/<solution-config-id>
/DEL https://<NSX_Manager_IPaddress>/api/v1/serviceinsertion/services/<service-id>/service-
deployments/<service-deployment-id>
Refer to the NSX-T Data Center API guide for more information on API parameters.
Security Profiles
This section contains profiles that fine tune Firewall Operations: Session Timers, Flood Protection, and
DNS Security
When the session timeout for the protocol expires, the session closes. On the firewall, a number of
timeouts for TCP, UDP, and ICMP sessions can be specified to apply to a user-defined group or a Tier-0
or Tier1 gateway. Default session values can be modified depending on your network needs. Note that
setting a value too low could cause frequent timeouts, and setting a value too high could delay failure
detection.
Procedure
1 Navigate to Security > Settings > Security Profiles > Session Timer .
4 Click Set to select the Tier-1 or Tier-2 gateway or group to apply the timer profile.
5 Select the protocol. Accept the default values or enter your own values.
First Packet The timeout value for the connection after the first packet has been sent. The default is 120 seconds.
Opening The timeout value for the connection after a second packet has been transferred. The default is 30 seconds.
Established The timeout value for the connection once the connection has become fully established.
Closing The timeout value for the connection after the first FIN has been sent. The default is 120 seconds.
Fin Wait The timeout value for the connection after both FINs have been exchanged and the connection is closed.
The default is 45 seconds.
Closed The timeout value for the connection after one endpoint sends an RST. The default is 20 seconds.
First Packet The timeout value for the connection after the first packet is sent. This will be the initial timeout for the new
UDP flow. The default is 60 seconds.
Single The timeout value for the connection if the source host sends more than one packet and the destination host
has not sent one back. The default is 30 seconds.
Multiple The timeout value for the connection if both hosts have sent packets. The default is 60 seconds.
First Packet The timeout value for the connection after the first packet is sent. This is the initial timeout for the new ICMP
flow. The default is 20 seconds.
Error reply The timeout value for the connection after an ICMP error is returned in response to an ICMP packet. The
default is 10 seconds.
6 Click Save.
What to do next
After saving, click Manage Group to Profile Precedence to manage group to profile binding precedence.
Flood Protection
Flood protection helps to protect against Denial of Service (DDoS) attacks.
DDoS attacks aim to make a server unavailable to legitimate traffic by consuming all the available server
resources - the server is flooded with requests. Creating a flood protection profile imposes active session
limits for ICMP, UDP, and half-open TCP flows. Distributed firewall can cache flow entries which are in
SYN_SENT and SYN_RECEIVED states, and promote each entry to a TCP state after an ACK is
received from the initiator, completing the three-way handshake.
Procedure
2 Click Add Profile, and select Add Edge Gateway Profile or Add Firewall Profile.
TCP Half Open Connection 1-1,000,000 Firewall - None Set this text box to limit the
Limit - TCP SYN flood attacks Edge Gateway - 1,000,000 number of active TCP half
are prevented by limiting the open connections. If this text
number of active, not-fully- box is empty, this limit is
established TCP flows which disabled on ESX nodes and set
are allowed by the firewall. to the default on value of Edge
Gateways.
UDP Active Flow Limit -UDP 1-1,000,000 Firewall - None Set this text box to limit the
flood attacks are prevented by Edge Gateway - 1,000,000 number of active UDP
limiting the number of active connections. If this text box is
UDP flows which are allowed empty, this limit is disabled on
by the firewall. Once the set ESX nodes and set to the
UDP flow limit is reached, default on value of Edge
subsequent UDP packets Gateways.
which can establish a new flow
are dropped.
ICMP Active Flow Limit - ICMP 1-1,000,000 Firewall - None Set this text box to limit the
flood attacks are prevented by Edge Gateway - 10,000 number of active ICMP open
limiting the number of active connections. If this text box is
ICMP flows which are allowed empty, this limit is disabled on
by the firewall. After the set ESX nodes and set to the
flow limit is reached, default on value of Edge
subsequent ICMP packets Gateways.
which can establish a new flow
are dropped.
Other Active Connection Limit 1-1,000,000 Firewall - None Set this text box to limit the
Edge Gateway - 10,000 number of active connections
other than ICMP, TCP, and
UDP half open connections. If
this text box is empty, this limit
is disabled on ESX nodes, and
set to the default on value of
Edge Gateways.
Table 10-15. Parameters for Firewall and Edge Gateway Profiles (continued)
Minimum and maximum
Parameter values Default
SYN Cache - Syn Cache is Only available for firewall Toggle on and off. Enabling
used when a TCP half open profiles. SYN cache is effective only
connection limit has also been when a TCP half open
configured. The number of connection limit is configured.
active half-open connections
are enforced by maintaining a
syncache of the not-fully-
established TCP sessions. This
cache maintains the flow
entries which are in
SYN_SENT and
SYN_RECEIVED states. Each
syncache entry will be
promoted to a full TCP state
entry after an ACK is received
from the initiator, completing
the three-way handshake.
RST Spoofing Only available for firewall Toggle on and off. SYN Cache
profiles. must be selected for this option
to be available
4 To apply the profile to edge gateways and firewall groups, click Set.
5 Click Save.
What to do next
After saving, click Manage Group to Profile Precedence to manage group to profile binding precedence.
You can do the following after you set up the DNS Security Profile:
n Snoop on DNS responses for a VM, or a group of VMs on the transport node to associate FQDN with
IP addresses.
n Add global and default DNS server information and apply it to all VMs that are using DFW rules.
Procedure
1 Navigate to Security > Settings > Security Profiles > DNS Security .
Option Description
TTL This field captures the Time to live for the DNS cache entry in seconds. You have
the following options:
TTL 0 - cached entry never expires.
TTL 1 to 3599 - invalid
TTL 3600 to 864000 – valid
TTL left empty – automatic TTL, set from the DNS response packet.
Note DNS Security Profile has a default DNS cache timeout of 24 hours.
Applied To You can select a group based on any criteria to apply the DNS security profile to.
Tags Optional. Assign a tag and scope to the DNS profile to make it easy to search. See
Add Tags to an Object for more information.
4 Click Save.
What to do next
After saving, click Manage Group to Profile Precedence to manage group to profile binding precedence.
If you bind a security profile to multiple groups, NSX-T Data Center assigns highest precedence to the
newest group from that list. However, you can change the precedence level for groups.
Prerequisites
n Session timer groups must only contain segments, segment ports and VMs as members. Other
category types are not supported.
n DNS security groups must contain only VMs as members. Other category types are not supported.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 To assign a group highest level of precedence, move it to the top of the list.
5 Click Close.
Results
The security profile is applied to the group with highest precedence level.
You can configure services, groups, context profiles, and virtual machines for the NSX-T Data Center
inventory.
When you click the Inventory tab, an overview of the inventory objects is displayed, showing the number
of groups, services, virtual machines, and context profiles that are in the inventory. In addition, the
following information about groups is shown:
n Add a Service
n Add a Group
Add a Service
You can configure a service, and specify parameters for matching network traffic such as a port and
protocol pairing.
You can also use a service to allow or block certain types of traffic in firewall rules. You cannot change the
type after you create a service. Some services are predefined and cannot be modified or deleted.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Enter a name.
6 For a new service, select a type of service, and specify additional properties.
The available types are IP, IGMP, ICMPv4, ICMPv6,ALG, TCP, UDP and Ether.
7 Click Save.
10 Click Save.
Add a Group
Groups include different objects that are added both statically and dynamically and can be used as the
source and destination of a firewall rule.
Groups can be configured to contain a combination of virtual machines, IP sets, MAC sets, segment
ports, segments, AD user groups, and other groups. Dynamic inclusion of groups can be based on tag,
machine name, OS name, or computer name.
Tags in NSX are case-sensitive, but a group that is based on tags is "case- insensitive". For example, if
the dynamic grouping membership criterion is VM Tag Equals 'quarantine', the group includes all VMs
that contain either the tags 'quarantine' or 'QUARANTINE'.
Groups can also be excluded from firewall rules, and there are a maximum of 100 groups that can be on
the list. IP sets, MAC sets, and AD groups cannot be included as members in a group that is used in a
firewall exclusion list. See Manage a Firewall Exclusion List for more information.
NSX Cloud Note If using NSX Cloud see Group VMs using NSX-T Data Center and Public Cloud Tags
for information on the how to use public cloud tags to group your workload VMs in NSX Manager.
A single ID-based group can be used within a firewall rule. If IP and ID based groups are needed at the
source, create two separate firewall rules.
Note When a host is added to or removed from a vCenter Server, the external ID of the VMs on the host
changes. If a VM is a static member of a group and the VM's external ID changes, the NSX Manager UI
will no longer show the VM as a member of the group. However, the API that lists the groups will still
show that the group contains the VM with its original external ID. If you add a VM as a static member of a
group and the VM's external ID changes, you must add the VM again using its new external ID. You can
also use dynamic membership criteria to avoid this issue.
Procedure
For each membership criterion, you can specify up to five rules, which are combined with the logical
AND operator. The available member criterion can apply to the following:
n Virtual Machine - can specify a name, tag, computer OS name, or computer name that equals,
contains, starts with, ends with, or does not equal a particular string.
n Group
n Segment
n Segment Port
n Virtual Machine
6 (Optional) Click IP/MAC Addresses to add IP and MAC addresses as group members.
7 (Optional) Click AD Groups to add Active Directory Groups. Groups with Active Directory members
can be used in the source field of a distributed firewall rule for Identity Firewall. Groups can contain
both AD and compute members.
9 Click Apply
Groups are listed, with an option to view members and where the group is used.
There are two attributes for use in context profiles: App Id and Domain (FQDN) Name. Select App Ids can
have one or more sub attributes, such the TLS_Version and CIPHER_SUITE. Both App Id and domain
name can be used in a single context profile. Multiple App Ids can be used in the same profile. One App
Id with sub attributes can be used - sub attributes are cleared when multiple App Id attributes are used in
a single profile.
Currently, a predefined list of domains is supported. You can see the list of FQDNs when you add a new
context profile of attribute type Domain (FQDN) Name. You can also see a list of FQDNs by running the
API call /policy/api/v1/infra/context-profiles/attributes?attribute_key=DOMAIN_NAME.
Gateway firewall rules do not support the use of FQDN attributes or other sub attributes.
Procedure
5 Select an attribute, or click Add Attribute, and select App Id or Domain (FQDN) Name.
7 (Optional) If you have selected an attribute with sub attributes such as SSL or CIFS, click Set in the
Sub Attributes/Values column.
a Click Add Sub Attribute and select a sub attribute category from the drop-down menu.
c Click Add. Another sub attribute can be added by clicking Add Sub Attribute.
d Click Apply.
8 Click Add.
10 Click Apply.
13 Click Save.
What to do next
Apply this context profile to a layer 7 distributed firewall rule (for layer 7 or Domain name) or gateway
firewall rule (for layer 7).
The topics in this section show you how to configure monitoring using Internet Protocol Flow Information
Export (IPFIX) profiles for the firewall and switches, as well as how to configure an IPFIX collector.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Setting Description
Note If you want to create a global profile, name the profile Global. A global profile cannot be
edited or deleted from the UI, but you can do so using NSX-T Data Center APIs.
Active Flow Export Timeout The length of time after which a flow will time out, even if more packets associated with the flow
(Minutes) are received. Default is 1.
Setting Description
Observation Domain ID This parameter identifies which observation domain the network flows originate from. The
default is 0 and indicates no specific observation domain.
Applied To Click Set and select a group to apply the filter to, or create a new group.
Priority This parameter resolves conflicts when multiple profiles apply. The IPFIX exporter will use the
profile with the highest priority only. A lower value means a higher priority.
7 Click Save.
Flow-based network monitoring enable network administrators to gain insight into traffic traversing a
network.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Setting Description
Note If you want to create a global profile, name the profile Global. A global profile cannot be
edited or deleted from the UI, but you can do so using NSX-T Data Center APIs.
Active Timeout (seconds) The length of time after which a flow times out, even if more packets associated with the flow
are received. Default is 300.
Idle Timeout (seconds) The length of time after which a flow times out, if no more packets associated with the flow are
received (ESXi only, KVM times out all flows based on the active timeout). Default is 300.
Packet Sampling Probability (%) The percentage of packets that will be sampled (approximately). Increasing this setting can
have a performance impact on the hypervisors and collectors. If all hypervisors are sending
more IPFIX packets to the collector, the collector might not be able to collect all packets. Setting
the probability at the default value of 0.1% keeps the performance impact low.
Applied To Select a category: Segment, Segment Port, or Groups. The IPFIX profile is applied to the
selected object.
Setting Description
Priority This parameter resolves conflicts when multiple profiles apply. The IPFIX exporter uses the
profile with the highest priority only. A lower value means a higher priority.
Max Flows The maximum flows cached on a bridge (KVM only, not configurable on ESXi). Default is
16384.
Observation Domain ID The observation domain ID identifies which observation domain the network flows originate
from. Enter 0 to indicate no specific observation domain.
Export Overlay Flow This parameter defines whether to sample and export the overlay flows on uplink and tunnel
ports. Both the vNIC flow and overlay flow are included in the sample. The default is enabled.
When disabled, only vNIC flows are sampled and exported.
8 Click Save.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Select Add New Collector > IPFIX Switch or Add New Collector > IPFIX Firewall.
5 Enter a name.
6 Enter the IP address and port of up to four collectors. Both IPv4 and IPv6 addresses are supported.
7 Click Save.
Note that logical SPAN is supported for overlay segments only and not VLAN segments.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Select Add Profile > Remote L3 Span or Add Profile > Logical Span.
For Logical SPAN, the available sources are Segment Port, Group of Virtual Machines, and Group
of Virtual Network Interfaces.
For Remote L3 SPAN, the available sources are Segment, Segment Port, Group of Virtual
Machines, and Group of Virtual Network Interfaces.
8 Click Save.
Procedure
n For SNMPv1/SNMPv2:
n For SNMPv3
The maximum character limit for user_name is 32. Ensure that your passwords meet PAM
constraints. If you want to change the default engine id, use the following command:
NSX-T Data Center supports SHA1 and AES128 as the authentication and privacy protocols. You
can also use API calls to set up SNMPv3. For more information, see the NSX-T Data Center API
Guide.
Example:
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Tools > Port Connection from the navigation panel.
5 Click Go.
A visual map of the port connection topology is displayed. You can click on any of the components in
the visual output to reveal more information about that component.
Traceflow
Traceflow allows you to inject a packet into the network and monitor its flow across the network. This flow
allows you to monitor your network and identify issues such as bottlenecks or disruptions.
Traceflow allows you to identify the path (or paths) a packet takes to reach its destination or, conversely,
where a packet is dropped along the way. Each entity reports the packet handling on input and output, so
you can determine whether issues occur when receiving a packet or when forwarding the packet.
Traceflow is not the same as a ping request/response that goes from guest-VM stack to guest-VM stack.
Traceflow observes a marked packet as it traverses the overlay network, and each packet is monitored as
it crosses the overlay network until it reaches a destination guest VM or an Edge uplink. Note that the
injected marked packet is never actually delivered to the destination guest VM.
Trace flow can be used on transport nodes and supports both IPV4 and IPv6 protocols including: ICMP,
TCP, UDP, DHCP, DNS and ARP/NDP.
You can construct packets with custom header fields and packet sizes. The source or destination for the
trace flow can be a logical switch port, logical router uplink port, CSP or DHCP port. The destination
endpoint can be any device in the NSX overlay or in the underlay. However, you cannot select a
destination that is north of an NSX Edge node. The destination must be on the same subnet, or must be
reachable through NSX distributed logical routers.
If NSX bridging is configured, packets with unknown destination MAC addresses are always sent to the
bridge. Typically, the bridge forwards these packets to a VLAN and reports the traceflow packet as
delivered. A packet reported as delivered does not necessarily mean that the trace packet was delivered
to the specified destination.
Traceflow observations may include observations of broadcasted traceflow packets. The ESXi host
broadcasts a traceflow packet if it does not know the destination host's MAC address. For broadcast
traffic, the source is a VM vNIC. The Layer 2 destination MAC address for broadcast traffic is
FF:FF:FF:FF:FF:FF. To create a valid packet for firewall inspection, the broadcast traceflow operation
requires a subnet prefix length. The subnet mask enables NSX to calculate an IP network address for the
packet.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
For IPv4 addresses the traffic type choices are Unicast, Multicast, and Broadcast. For IPv6 address
the traffic type choices are Unicast or Multicast.
Note: Multicast and broadcast are not supported in a VMware Cloud (VMC) environment.
5 Specify the source and destination information according to the traffic type.
Unicast Select a VM or a logical port. For a VM: Select a VM, a logical port, or IP-MAC. For a VM:
n Select a VM from the drop-down list. n Select a VM from the drop-down list.
n Select a virtual interface. n Select a virtual interface.
n The IP address and MAC address are displayed if n The IP address and MAC address are displayed if
VMtools is installed in the VM, or if the VM is VMtools is installed in the VM or if the VM is
deployed using OpenStack plug-in (address bindings deployed using OpenStack plug-in (address
will be used in this case). If the VM has more than bindings will be used in this case). If the VM has
one IP address, select one from the drop-down list. more than one IP address, select one from the
n If the IP address and MAC address are not drop-down list.
displayed, enter the IP address and MAC address in n If the IP address and MAC address are not
the text boxes. displayed, enter the IP address and MAC address
For a logical port: in the text boxes.
7 (Optional) In the left column, enter the desired values or input for the following fields:
Option Description
Protocol Parameters
Protocol Parameters
9 Click Trace.
Information about the connections, components, and layers is displayed. The output includes a table
listing Observation Type (Delivered, Dropped, Received, Forwarded), Transport Node, and
Component, and a graphical map of the topology if unicast and logical switch as a destination are
selected. You can apply a filter (All, Delivered, Dropped) on the observations that are displayed. If
there are dropped observations, the Dropped filter is applied by default. Otherwise, the All filter is
applied. The graphical map shows the backplane and router links. Note that bridging information is
not displayed.
Note that logical SPAN is supported for overlay logical switches only and not VLAN logical switches.
NSX Cloud Note If using NSX Cloud, see How to use NSX-T Data Center Features with the Public
Cloud for a list of auto-generated logical entities, supported features, and configurations required for NSX
Cloud.
n With KVM, multiple NICs can be attached to the same OVS port. The mirroring happens at the OVS
uplink port, meaning that traffic on all the pNICs attached to the OVS port is mirrored.
n For a local SPAN session, the mirror session source and destination ports must be on the same host
vSwitch. Therefore, if you vMotion the VM that has the source or destination port to another host,
traffic on that port can no longer be mirrored.
n On ESXi, when mirroring is enabled on the uplink, raw production TCP packets are encapsulated
using the Geneve protocol by VDL2 into UDP packets. A physical NIC that supports TSO (TCP
segmentation offload) can change the packets and mark the packets with the MUST_TSO flag. On a
monitor VM with VMXNET3 or E1000 vNICs, the driver treats the packets as regular UDP packets
and cannot handle the MUST_TSO flag, and will drop the packets.
If a lot of traffic is mirrored to a monitor VM, there is a potential for the driver's buffer ring to become full
and packets to be dropped. To alleviate the problem, you can take one or more of the following actions:
n Use the Data Plane Development Kit (DPDK) to improve packet processing performance.
Note Make sure that the monitor VM's MTU setting (in the case of KVM, the hypervisor's virtual NIC
device's MTU setting also) is large enough to handle the packets. This is especially important for
encapsulated packets because encapsulation increases the size of packets. Otherwise, packets might be
dropped. This is not an issue with ESXi VMs with VMXNET3 NICs, but is a potential issue with other
types of NICs on both ESXi and KVM VMs.
Note In an L3 port mirroring session involving VMs on KVM hosts, you must set the MTU size to be
large enough to handle the extra bytes required by encapsulation. The mirror traffic goes through an OVS
interface and OVS uplink. You must set the OVS interface's MTU to be at least 100 bytes larger than the
size of the original packet (before encapsulation and mirroring). If you see dropped packets, increase the
MTU setting for the host's virtual NIC and the OVS interface. Use the following command to set the MTU
for an OVS interface:
Note When you monitor the logical port of a VM and the uplink port of a host where the VM resides, you
will see different behaviors depending on whether the host is ESXi or KVM. For ESXi, the logical-port
mirror packets and the uplink mirror packets are tagged with the same VLAN ID and appear the same to
the monitor VM. For KVM, the logical-port mirror packets are not tagged with a VLAN ID but the uplink
mirror packets are tagged, and they appear different to the monitor VM.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Select Advanced Networking & Security > Tools > Port Mirroring Session.
The available types are Local SPAN, Remote SPAN, Remote L3 SPAN, and Logical SPAN.
Remote SPAN n Session Type - Select RSPAN Source session or RSPAN Destination session.
n Transport Node - Select a transport node.
n Direction - Select Bidirectional, Ingress, or Egress.
n Packet Truncation - Select a packet truncation value.
n Encap. VLAN ID - Specify an encapsulation VLAN ID.
n Preserve Orig. VLAN - Select whether to preserve the original VLAN ID.
7 Click Next.
9 Click Next.
11 Click Save.
You cannot change the source or destination after saving the port mirroring session.
n IP address, IP prefix, and IP ranges are supported for source and destination.
You must configure filters using the API. Using the NSX Manager UI is not supported. For more
information about the port mirroring API and the PortMirroringFilter schema, see the NSX-T Data
Center API Reference.
Procedure
2 Call the GET /api/v1/mirror-sessions API to get information about the port mirroring session.
PUT https://<nsx-mgr>/api/v1/mirror-sessions/e57e8b2d-3047-4550-b230-dd1ee0e10b49
{
"resource_type": "PortMirroringSession",
"id": "e57e8b2d-3047-4550-b230-dd1ee0e10b49",
"display_name": "port-mirror-session-1",
"description": "Pnic port mirror session 1",
"mirror_sources": [
{
"resource_type": "LogicalPortMirrorSource",
"port_ids": [
"6a361832-43e4-430d-a48a-b84a6cba73c3"
]
}
],
"mirror_destination": {
"resource_type": "LogicalPortMirrorDestination",
"port_ids": [
"3e42e8b2d-3047-4550-b230-dd1ee0e10b34"
]
},
"port_mirrorring_filters": [
{
"filter_action": "MIRROR",
"src_ips": {
"ip-addresses": [
"192.168.175.250",
"2001:bd6::c:2957:160:126"
]
}
"dst_ips": {
"ip-addresses": [
"192.168.160.126",
"2001:bd6::c:2957:175:250"
]
}
}
}
"session_type": "LogicalPortMirrorSession",
"preserve_original_vlan": false,
"direction": "BIDIRECTIONAL",
"_revision": 0
}
4 (Optional) You can call the get mirroring-session <session-number> CLI command to show the
properties of the port mirroring session, including the filters.
Configure IPFIX
IPFIX (Internet Protocol Flow Information Export) is a standard for the format and export of network flow
information. You can configure IPFIX for switches and firewalls. For switches, network flow at VIFs (virtual
interfaces) and pNICs (physical NICs) is exported. For firewalls, network flow that is managed by the
distributed firewall component is exported.
NSX Cloud Note If using NSX Cloud, see How to use NSX-T Data Center Features with the Public
Cloud for a list of auto-generated logical entities, supported features, and configurations required for NSX
Cloud.
This feature is compliant with the standards specified in RFC 7011 and RFC 7012.
When you enable IPFIX, all configured host transport nodes will send IPFIX messages to the IPFIX
collectors using port 4739. In the case of ESXi, NSX-T Data Center automatically opens port 4739. In the
case of KVM, if firewall is not enabled, port 4739 is open, but if firewall is enabled, you must ensure that
the port is open because NSX-T Data Center does not automatically open the port.
IPFIX on ESXi and KVM sample tunnel packets in different ways. On ESXi the tunnel packet is sampled
as two records:
n SrcAddr, DstAddr, SrcPort, DstPort, and Protocol refer to the outer packet.
n SrcAddr, DstAddr, SrcPort, DstPort, and Protocol refer to the inner packet.
n SrcAddr, DstAddr, SrcPort, DstPort, and Protocol refer to the inner packet.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
7 Click Add.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Setting Description
Note If you want to create a global profile, name the profile Global. A global profile cannot be
edited or deleted from the UI, but you can do so using NSX-T Data Center APIs.
Active Timeout (seconds) The length of time after which a flow will time out, even if more packets associated with the flow
are received. Default is 300.
Idle Timeout (seconds) The length of time after which a flow will time out, if no more packets associated with the flow
are received (ESXi only, KVM times out all flows based on active timeout). Default is 300.
Max Flows The maximum flows cached on a bridge (KVM only, not configurable on ESXi). Default is
16384.
Export Overlay Flow Setting that controls whether the sample result includes overlay flow information.
Sampling Probability (%) The percentage of packets that will be sampled (approximately). Increasing this setting may
have a performance impact on the hypervisors and collectors. If all hypervisors are sending
more IPFIX packets to the collector, the collector may not be able to collect all packets. Setting
the probability at the default value of 0.1% will keep the performance impact low.
Observation Domain ID The observation domain ID identifies which observation domain the network flows originate
from. Enter 0 to indicate no specific observation domain.
Collector Profile Select a switch IPFIX collector that you configure in the previous step.
Priority This parameter resolves conflicts when multiple profiles apply. The IPFIX exporter will use the
profile with the highest priority only. A lower value means a higher priority.
5 Click Add.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
7 Click Add.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Setting Description
Note If you want to create a global profile, name the profile Global. A global profile cannot be
edited or deleted from the UI, but you can do so using NSX-T Data Center APIs.
Active Flow Export Timeout The length of time after which a flow will time out, even if more packets associated with the flow
(Minutes) are received. Default is 1.
Priority This parameter resolves conflicts when multiple profiles apply. The IPFIX exporter will use the
profile with the highest priority only. A lower value means a higher priority.
Observation Domain ID This parameter identifies which observation domain the network flows originate from. The
default is 0 and indicates no specific observation domain.
5 Click Add.
The following table lists VMware-specific elements in logical switch IPFIX packets.
The following table lists VMware-specific elements in distributed firewall IPFIX packets.
The following diagram shows the flow of traffic between VMs attached to ESXi hosts monitored by the
IPFIX feature:
Host 1 Host 2
IP1 IP2
VDS VDS
1 2
10 11 12 13
vSphere vSphere
VTEP 1 VTEP 2
Physical Switch
n standard elements
n SrcAddr: VTEP1
n DstAddr: VTEP2
n tenantSourceIPv4: IP1
n tenantDestIPv4: IP2
n tenantSourcePort: 10000
n tenantDestPort: 80
n tenantProtocol: TCP
n egressInterfaceAttr: 0x01
n encapExportRole: 01
IPFIX_TEMPLATE_START(IPFIX_FLOW_TYPE_IPv4)
IPFIX_TEMPLATE_FIELD(sourceIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(destinationIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(octetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(packetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(flowStartSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(flowEndSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(sourceTransportPort, 2)
IPFIX_TEMPLATE_FIELD(destinationTransportPort, 2)
IPFIX_TEMPLATE_FIELD(ingressInterface, 4)
IPFIX_TEMPLATE_FIELD(egressInterface, 4)
IPFIX_TEMPLATE_FIELD(encapId, 8)
IPFIX_TEMPLATE_FIELD(protocolIdentifier, 1)
IPFIX_TEMPLATE_FIELD(flowEndReason, 1)
IPFIX_TEMPLATE_FIELD(tcpFlags, 1)
IPFIX_TEMPLATE_FIELD(IPv4TOS, 1)
IPFIX_TEMPLATE_FIELD(maxTTL, 1)
IPFIX_TEMPLATE_FIELD(flowDir, 1)
// Specify the Interface port- Uplink Port, Access port,N.A
IPFIX_VMW_TEMPLATE_FIELD(ingressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(egressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(encapExportRole, 1)
IPFIX_VMW_TEMPLATE_VAR_LEN_FIELD(virtualObsID, virtualObsDataLen)
IPFIX_TEMPLATE_PADDING(paddingOctets, 1)
IPFIX_TEMPLATE_END()
IPFIX_TEMPLATE_START(IPFIX_FLOW_TYPE_IPv4_ENCAP)
IPFIX_TEMPLATE_FIELD(sourceIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(destinationIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(octetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(packetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(flowStartSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(flowEndSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(sourceTransportPort, 2)
IPFIX_TEMPLATE_FIELD(destinationTransportPort, 2)
IPFIX_TEMPLATE_FIELD(ingressInterface, 4)
IPFIX_TEMPLATE_FIELD(egressInterface, 4)
IPFIX_TEMPLATE_FIELD(protocolIdentifier, 1)
IPFIX_TEMPLATE_FIELD(flowEndReason, 1)
IPFIX_TEMPLATE_FIELD(tcpFlags, 1)
IPFIX_TEMPLATE_FIELD(IPv4TOS, 1)
IPFIX_TEMPLATE_FIELD(maxTTL, 1)
IPFIX_TEMPLATE_FIELD(flowDir, 1)
IPFIX_TEMPLATE_FIELD(encapId, 8)
IPFIX_VMW_TEMPLATE_FIELD(tenantSourceIPv4, 4)
IPFIX_VMW_TEMPLATE_FIELD(tenantDestIPv4, 4)
IPFIX_VMW_TEMPLATE_FIELD(tenantSourcePort, 2)
IPFIX_VMW_TEMPLATE_FIELD(tenantDestPort, 2)
IPFIX_VMW_TEMPLATE_FIELD(tenantProtocol, 1)
// Specify the Interface port - Uplink Port, Access port, N.A
IPFIX_VMW_TEMPLATE_FIELD(ingressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(egressInterfaceAttr, 2)
// TUNNEL-GW or no.
IPFIX_VMW_TEMPLATE_FIELD(encapExportRole, 1)
IPFIX_VMW_TEMPLATE_VAR_LEN_FIELD(virtualObsID, virtualObsDataLen)
IPFIX_TEMPLATE_END()
IPFIX_TEMPLATE_START(IPFIX_FLOW_TYPE_IPv4_ICMP)
IPFIX_TEMPLATE_FIELD(sourceIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(destinationIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(octetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(packetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(flowStartSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(flowEndSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(ingressInterface, 4)
IPFIX_TEMPLATE_FIELD(egressInterface, 4)
IPFIX_TEMPLATE_FIELD(protocolIdentifier, 1)
IPFIX_TEMPLATE_FIELD(flowEndReason, 1)
IPFIX_TEMPLATE_FIELD(IPv4TOS, 1)
IPFIX_TEMPLATE_FIELD(maxTTL, 1)
IPFIX_TEMPLATE_FIELD(flowDir, 1)
IPFIX_TEMPLATE_FIELD(encapId, 8)
// Specify the Interface port - Uplink Port, Access Port, or NA.
IPFIX_VMW_TEMPLATE_FIELD(ingressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(egressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(encapExportRole, 1)
IPFIX_VMW_TEMPLATE_VAR_LEN_FIELD(virtualObsID, virtualObsDataLen)
IPFIX_TEMPLATE_PADDING(paddingOctets, 2)
IPFIX_TEMPLATE_END()
IPFIX_TEMPLATE_START(IPFIX_FLOW_TYPE_IPv4_ICMP_ENCAP)
IPFIX_TEMPLATE_FIELD(sourceIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(destinationIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(octetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(packetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(flowStartSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(flowEndSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(sourceTransportPort, 2)
IPFIX_TEMPLATE_FIELD(destinationTransportPort, 2)
IPFIX_TEMPLATE_FIELD(ingressInterface, 4)
IPFIX_TEMPLATE_FIELD(egressInterface, 4)
IPFIX_TEMPLATE_FIELD(protocolIdentifier, 1)
IPFIX_TEMPLATE_FIELD(flowEndReason, 1)
IPFIX_TEMPLATE_FIELD(IPv4TOS, 1)
IPFIX_TEMPLATE_FIELD(maxTTL, 1)
IPFIX_TEMPLATE_FIELD(flowDir, 1)
IPFIX_TEMPLATE_FIELD(encapId, 8)
IPFIX_VMW_TEMPLATE_FIELD(tenantSourceIPv4, 4)
IPFIX_VMW_TEMPLATE_FIELD(tenantDestIPv4, 4)
IPFIX_VMW_TEMPLATE_FIELD(tenantProtocol, 1)
// Specify the Interface port- Uplink Port, Access port,N.A
IPFIX_VMW_TEMPLATE_FIELD(ingressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(egressInterfaceAttr, 2)
// TUNNEL-GW or no.
IPFIX_VMW_TEMPLATE_FIELD(encapExportRole, 1)
IPFIX_VMW_TEMPLATE_VAR_LEN_FIELD(virtualObsID, virtualObsDataLen)
IPFIX_TEMPLATE_PADDING(paddingOctets, 1)
IPFIX_TEMPLATE_END()
IPv6 Template
Template ID: 260
IPFIX_TEMPLATE_START(IPFIX_FLOW_TYPE_IPv6)
IPFIX_TEMPLATE_FIELD(sourceIPv6Address, 16)
IPFIX_TEMPLATE_FIELD(destinationIPv6Address, 16)
IPFIX_TEMPLATE_FIELD(octetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(packetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(flowStartSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(flowEndSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(sourceTransportPort, 2)
IPFIX_TEMPLATE_FIELD(destinationTransportPort, 2)
IPFIX_TEMPLATE_FIELD(ingressInterface, 4)
IPFIX_TEMPLATE_FIELD(egressInterface, 4)
IPFIX_TEMPLATE_FIELD(encapId, 8)
IPFIX_TEMPLATE_FIELD(protocolIdentifier, 1)
IPFIX_TEMPLATE_FIELD(flowEndReason, 1)
IPFIX_TEMPLATE_FIELD(tcpFlags, 1)
IPFIX_TEMPLATE_FIELD(IPv6TOS,1)
IPFIX_TEMPLATE_FIELD(maxTTL, 1)
IPFIX_TEMPLATE_FIELD(flowDir, 1)
// Specify the Interface port - Uplink Port, Access Port, or NA.
IPFIX_VMW_TEMPLATE_FIELD(ingressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(egressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(encapExportRole, 1)
IPFIX_VMW_TEMPLATE_VAR_LEN_FIELD(virtualObsID, virtualObsDataLen)
IPFIX_TEMPLATE_PADDING(paddingOctets, 1)
IPFIX_TEMPLATE_END()
IPFIX_TEMPLATE_START(IPFIX_FLOW_TYPE_IPv6_ENCAP)
IPFIX_TEMPLATE_FIELD(sourceIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(destinationIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(octetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(packetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(flowStartSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(flowEndSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(sourceTransportPort, 2)
IPFIX_TEMPLATE_FIELD(destinationTransportPort, 2)
IPFIX_TEMPLATE_FIELD(ingressInterface, 4)
IPFIX_TEMPLATE_FIELD(egressInterface, 4)
IPFIX_TEMPLATE_FIELD(protocolIdentifier, 1)
IPFIX_TEMPLATE_FIELD(flowEndReason, 1)
IPFIX_TEMPLATE_FIELD(tcpFlags, 1)
IPFIX_TEMPLATE_FIELD(IPv6TOS, 1)
IPFIX_TEMPLATE_FIELD(maxTTL, 1)
IPFIX_TEMPLATE_FIELD(flowDir, 1)
//ENCAP specific
IPFIX_TEMPLATE_FIELD(encapId, 8)
IPFIX_VMW_TEMPLATE_FIELD(tenantSourceIPv6, 16)
IPFIX_VMW_TEMPLATE_FIELD(tenantDestIPv6, 16)
IPFIX_VMW_TEMPLATE_FIELD(tenantSourcePort, 2)
IPFIX_VMW_TEMPLATE_FIELD(tenantDestPort, 2)
IPFIX_VMW_TEMPLATE_FIELD(tenantProtocol, 1)
// Specify the Interface port - Uplink Port, Access Port, or NA
IPFIX_VMW_TEMPLATE_FIELD(ingressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(egressInterfaceAttr, 2)
// TUNNEL-GW or no.
IPFIX_VMW_TEMPLATE_FIELD(encapExportRole, 1)
IPFIX_VMW_TEMPLATE_VAR_LEN_FIELD(virtualObsID, virtualObsDataLen)
IPFIX_TEMPLATE_END()
IPFIX_TEMPLATE_START(IPFIX_FLOW_TYPE_IPv6_ICMP)
IPFIX_TEMPLATE_FIELD(sourceIPv6Address, 16)
IPFIX_TEMPLATE_FIELD(destinationIPv6Address, 16)
IPFIX_TEMPLATE_FIELD(octetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(packetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(flowStartSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(flowEndSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(ingressInterface, 4)
IPFIX_TEMPLATE_FIELD(egressInterface, 4)
IPFIX_TEMPLATE_FIELD(protocolIdentifier, 1)
IPFIX_TEMPLATE_FIELD(flowEndReason, 1)
IPFIX_TEMPLATE_FIELD(IPv6TOS, 1)
IPFIX_TEMPLATE_FIELD(maxTTL, 1)
IPFIX_TEMPLATE_FIELD(flowDir, 1)
IPFIX_TEMPLATE_FIELD(encapId, 8)
// Specify the Interface port - Uplink Port, Access Port, or NA.
IPFIX_VMW_TEMPLATE_FIELD(ingressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(egressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(encapExportRole, 1)
IPFIX_VMW_TEMPLATE_VAR_LEN_FIELD(virtualObsID, virtualObsDataLen)
IPFIX_TEMPLATE_PADDING(paddingOctets, 2)
IPFIX_TEMPLATE_END()
IPFIX_TEMPLATE_START(IPFIX_FLOW_TYPE_IPv6_ICMP_ENCAP)
IPFIX_TEMPLATE_FIELD(sourceIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(destinationIPv4Address, 4)
IPFIX_TEMPLATE_FIELD(octetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(packetDeltaCount, 8)
IPFIX_TEMPLATE_FIELD(flowStartSysUpTime, 8)
IPFIX_TEMPLATE_FIELD(flowEndSysUpTime, 8)
IPFIX_VMW_TEMPLATE_FIELD(sourceTransportPort, 2)
IPFIX_VMW_TEMPLATE_FIELD(destinationTransportPort, 2)
IPFIX_TEMPLATE_FIELD(ingressInterface, 4)
IPFIX_TEMPLATE_FIELD(egressInterface, 4)
IPFIX_TEMPLATE_FIELD(protocolIdentifier, 1)
IPFIX_TEMPLATE_FIELD(IPv6TOS, 1)
IPFIX_TEMPLATE_FIELD(maxTTL, 1)
IPFIX_TEMPLATE_FIELD(flowDir, 1)
IPFIX_TEMPLATE_FIELD(flowEndReason, 1)
//ENCAP Specific
IPFIX_TEMPLATE_FIELD(encapId, 8)
IPFIX_VMW_TEMPLATE_FIELD(tenantSourceIPv6, 16)
IPFIX_VMW_TEMPLATE_FIELD(tenantDestIPv6, 16)
IPFIX_VMW_TEMPLATE_FIELD(tenantProtocol, 1)
// Specify the Interface port - Uplink Port, Access Port, or NA
IPFIX_VMW_TEMPLATE_FIELD(ingressInterfaceAttr, 2)
IPFIX_VMW_TEMPLATE_FIELD(egressInterfaceAttr, 2)
// TUNNEL-GW or no.
IPFIX_VMW_TEMPLATE_FIELD(encapExportRole, 1)
IPFIX_VMW_TEMPLATE_VAR_LEN_FIELD(virtualObsID, virtualObsDataLen)
IPFIX_TEMPLATE_PADDING(paddingOctets, 1)
IPFIX_TEMPLATE_END()
IPFIX_TEMPLATE_FIELD(sourceIPv4Address,4)
IPFIX_TEMPLATE_FIELD(destinationIPv4Address,4)
IPFIX_TEMPLATE_FIELD(sourceTransportPort,2)
IPFIX_TEMPLATE_FIELD(destinationTransportPort,2)
IPFIX_TEMPLATE_FIELD(protocolIdentifier,1)
IPFIX_TEMPLATE_FIELD(icmpTypeIPv4,1)
IPFIX_TEMPLATE_FIELD(icmpCodeIPv4,1)
IPFIX_TEMPLATE_FIELD(flowStartSeconds,4)
IPFIX_TEMPLATE_FIELD(flowEndSeconds,4)
IPFIX_TEMPLATE_FIELD(octetDeltaCount,8)
IPFIX_TEMPLATE_FIELD(packetDeltaCount,8)
IPFIX_TEMPLATE_FIELD(firewallEvent,1)
IPFIX_TEMPLATE_FIELD(direction,1)
IPFIX_TEMPLATE_FIELD(ruleId,4)
IPFIX_TEMPLATE_FIELD(vifUuid,16)
IPFIX_TEMPLATE_FIELD(sessionFlags,1)
IPFIX_TEMPLATE_FIELD(flowDirection,1)
IPFIX_TEMPLATE_FIELD(flowId,8)
IPFIX_TEMPLATE_FIELD(algControlFlowId,8)
IPFIX_TEMPLATE_FIELD(algType,1)
IPFIX_TEMPLATE_FIELD(algFlowType,1)
IPFIX_TEMPLATE_FIELD(averageLatency,4)
IPFIX_TEMPLATE_FIELD(retransmissionCount,4)
IPv6 Template
Template ID: 289
IPFIX_TEMPLATE_FIELD(sourceIPv6Address,16)
IPFIX_TEMPLATE_FIELD(destinationIPv6Address,16)
IPFIX_TEMPLATE_FIELD(sourceTransportPort,2)
IPFIX_TEMPLATE_FIELD(destinationTransportPort,2)
IPFIX_TEMPLATE_FIELD(protocolIdentifier,1)
IPFIX_TEMPLATE_FIELD(icmpTypeIPv6,1)
IPFIX_TEMPLATE_FIELD(icmpCodeIPv6,1)
IPFIX_TEMPLATE_FIELD(flowStartSeconds,4)
IPFIX_TEMPLATE_FIELD(flowEndSeconds,4)
IPFIX_TEMPLATE_FIELD(octetDeltaCount,8)
IPFIX_TEMPLATE_FIELD(packetDeltaCount,8)
IPFIX_TEMPLATE_FIELD(firewallEvent,1)
IPFIX_TEMPLATE_FIELD(direction,1)
IPFIX_TEMPLATE_FIELD(ruleId,4)
IPFIX_TEMPLATE_FIELD(vifUuid,16)
IPFIX_TEMPLATE_FIELD(sessionFlags,1)
IPFIX_TEMPLATE_FIELD(flowDirection,1)
IPFIX_TEMPLATE_FIELD(flowId,8)
IPFIX_TEMPLATE_FIELD(algControlFlowId,8)
IPFIX_TEMPLATE_FIELD(algType,1)
IPFIX_TEMPLATE_FIELD(algFlowType,1)
IPFIX_TEMPLATE_FIELD(averageLatency,4)
IPFIX_TEMPLATE_FIELD(retransmissionCount,4)
The following table lists VMware-specific elements in the KVM IPFIX packets.
The following diagram shows the flow of traffic between VMs attached to KVM hosts monitored by the
IPFIX feature:
VM VM
VM1 VM2
1 4
vm_port0 vm_port1
2 3
Interface Interface
The KVM IPv4 IPFIX ingress template will have the following elements:
n standard elements
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
Ethernet Egress
Template ID: 257. Field count: 31.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (length: 4)
n Unknown(369) (length: 8)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
Ethernet Ingress with Tunnel
Template ID: 258. Field count: 34.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
Ethernet Egress with Tunnel
Template ID: 259. Field count: 38.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (length: 4)
n Unknown(369) (length: 8)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
IPv4 Egress
Template ID: 277. Field count: 49.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
IPv4 Ingress with Tunnel
Template ID: 278. Field count: 52.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
IPv4 Egress with Tunnel
Template ID: 279. Field count: 56.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
TCP over IPv4 Egress
Template ID: 281. Field count: 57.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
TCP over IPv4 Ingress with Tunnel
Template ID: 282. Field count: 60.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
TCP over IPv4 Egress with Tunnel
Template ID: 283. Field count: 64.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
UDP over IPv4 Egress
Template ID: 285. Field count: 51.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
UDP over IPv4 Ingress with Tunnel
Template ID: 286. Field count: 54.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
UDP over IPv4 Egress with Tunnel
Template ID: 287. Field count: 58.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
SCTP over IPv4 Egress
Template ID: 289. Field count: 51.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
SCTP over IPv4 Ingress with Tunnel
Template ID: 290. Field count: 54.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
SCTP over IPv4 Egress with Tunnel
Template ID: 291. Field count: 58.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n ICMP_IPv4_TYPE (Length: 1)
n ICMP_IPv4_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
ICMPv4 Egress
Template ID: 293. Field count: 51.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n ICMP_IPv4_TYPE (Length: 1)
n ICMP_IPv4_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
ICMPv4 Ingress with Tunnel
Template ID: 294. Field count: 54.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n ICMP_IPv4_TYPE (Length: 1)
n ICMP_IPv4_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
ICMPv4 Egress with Tunnel
Template ID: 295. Field count: 58.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n ICMP_IPv4_TYPE (Length: 1)
n ICMP_IPv4_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
IPv6 Egress
Template ID: 297. Field count: 50.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
IPv6 Ingress with Tunnel
Template ID: 298. Field count: 53.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
IPv6 Egress with Tunnel
Template ID: 299. Field count: 57.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
TCP over IPv6 Egress
Template ID: 301. Field count: 58.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
TCP over IPv6 Ingress with Tunnel
Template ID: 302. Field count: 61.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
TCP over IPv6 Egress with Tunnel
Template ID: 303. Field count: 65.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
UDP over IPv6 Egress
Template ID: 305. Field count: 52.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
UDP over IPv6 Egress with Tunnel
Template ID: 307. Field count: 59.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
SCTP over IPv6 Egress
Template ID: 309. Field count: 52.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
SCTP over IPv6 Ingress with Tunnel
Template ID: 310. Field count: 55.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n ICMP_IPv6_TYPE (Length: 1)
n ICMP_IPv6_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
ICMPv6 Egress
Template ID: 313. Field count: 52.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n ICMP_IPv6_TYPE (Length: 1)
n ICMP_IPv6_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
ICMPv6 Ingress with Tunnel
Template ID: 314. Field count: 55.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n ICMP_IPv6_TYPE (Length: 1)
n ICMP_IPv6_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
ICMPv6 Egress with Tunnel
Template ID: 315. Field count: 59.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n ICMP_IPv6_TYPE (Length: 1)
n ICMP_IPv6_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
Ethernet VLAN Egress
Template ID: 317. Field count: 34.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (length: 4)
n Unknown(369) (length: 8)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
Ethernet VLAN Ingress with Tunnel
Template ID: 318. Field count: 37.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
Ethernet VLAN Egress with Tunnel
Template ID: 319. Field count: 41.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (length: 4)
n Unknown(369) (length: 8)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
IPv4 VLAN Egress
Template ID: 337. Field count: 52.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
IPv4 VLAN Ingress with Tunnel
Template ID: 338. Field count: 55.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
IPv4 VLAN Egress with Tunnel
Template ID: 339. Field count: 59.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
TCP over IPv4 VLAN Egress
Template ID: 341. Field count: 60.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
TCP over IPv4 VLAN Ingress with Tunnel
Template ID: 342. Field count: 63.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
TCP over IPv4 VLAN Egress with Tunnel
Template ID: 343. Field count: 67.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
UDP over IPv4 VLAN Egress
Template ID: 345. Field count: 54.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
UDP over IPv4 VLAN Ingress with Tunnel
Template ID: 346. Field count: 57.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
UDP over IPv4 VLAN Egress with Tunnel
Template ID: 347. Field count: 61.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
SCTP over IPv4 VLAN Egress
Template ID: 349. Field count: 54.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
SCTP over IPv4 VLAN Ingress with Tunnel
Template ID: 350. Field count: 57.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
SCTP over IPv4 VLAN Egress with Tunnel
Template ID: 351. Field count: 61.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n ICMP_IPv4_TYPE (Length: 1)
n ICMP_IPv4_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n ICMP_IPv4_TYPE (Length: 1)
n ICMP_IPv4_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
ICMPv4 VLAN Ingress with Tunnel
Template ID: 354. Field count: 57.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n ICMP_IPv4_TYPE (Length: 1)
n ICMP_IPv4_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
ICMPv4 VLAN Egress with Tunnel
Template ID: 355. Field count: 61.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IP_SRC_ADDR (Length: 4)
n IP_DST_ADDR (Length: 4)
n ICMP_IPv4_TYPE (Length: 1)
n ICMP_IPv4_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
IPv6 VLAN Egress
Template ID: 357. Field count: 53.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
IPv6 VLAN Ingress with Tunnel
Template ID: 358. Field count: 56.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
TCP over IPv6 VLAN Egress with Tunnel
Template ID: 363. Field count: 68.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n tcpAckTotalCount (Length: 8)
n tcpFinTotalCount (Length: 8)
n tcpPshTotalCount (Length: 8)
n tcpRstTotalCount (Length: 8)
n tcpSynTotalCount (Length: 8)
n tcpUrgTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
UDP over IPv6 VLAN Egress
Template ID: 365. Field count: 55.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
UDP over IPv6 VLAN Ingress with Tunnel
Template ID: 366. Field count: 58.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
UDP over IPv6 VLAN Egress with Tunnel
Template ID: 367. Field count: 62.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
SCTP over IPv6 VLAN Egress
Template ID: 369. Field count: 55.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
SCTP over IPv6 VLAN Ingress with Tunnel
Template ID: 370. Field count: 58.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
SCTP over IPv6 VLAN Egress with Tunnel
Template ID: 371. Field count: 62.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n L4_SRC_PORT (Length: 2)
n L4_DST_PORT (Length: 2)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n ICMP_IPv6_TYPE (Length: 1)
n ICMP_IPv6_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
ICMPv6 Egress
Template ID: 373. Field count: 55.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n ICMP_IPv6_TYPE (Length: 1)
n ICMP_IPv6_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
ICMPv6 Ingress with Tunnel
Template ID: 374. Field count: 58.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n ICMP_IPv6_TYPE (Length: 1)
n ICMP_IPv6_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
ICMPv6 Egress with Tunnel
Template ID: 375. Field count: 62.
n observationPointId (length: 4)
n DIRECTION (length: 1)
n SRC_MAC (length: 6)
n DESTINATION_MAC (length: 6)
n ethernetType (length: 2)
n ethernetHeaderLength (length: 1)
n INPUT_SNMP (length: 4)
n Unknown(368) (length: 4)
n OUTPUT_SNMP (Length: 4)
n Unknown(369) (Length: 4)
n SRC_VLAN (Length: 2)
n dot1qVlanId (Length: 2)
n dot1qPriority (Length: 1)
n IP_PROTOCOL_VERSION (Length: 1)
n IP_TTL (Length: 1)
n PROTOCOL (Length: 1)
n IP_DSCP (Length: 1)
n IP_PRECEDENCE (Length: 1)
n IP_TOS (Length: 1)
n IPV6_SRC_ADDR (Length: 4)
n IPV6_DST_ADDR (Length: 4)
n FLOW_LABEL (Length: 4)
n ICMP_IPv6_TYPE (Length: 1)
n ICMP_IPv6_CODE (Length: 1)
n flowStartDeltaMicroseconds (length: 4)
n flowEndDeltaMicroseconds (length: 4)
n DROPPED_PACKETS (length: 8)
n DROPPED_PACKETS_TOTAL (length: 8)
n PKTS (length: 8)
n PACKETS_TOTAL (length: 8)
n Unknown(354) (length: 8)
n Unknown(355) (length: 8)
n Unknown(356) (length: 8)
n Unknown(357) (length: 8)
n Unknown(358) (length: 8)
n MUL_DPKTS (length: 8)
n postMCastPacketTotalCount (length: 8)
n Unknown(352) (length: 8)
n Unknown(353) (length: 8)
n flowEndReason (length: 1)
n DROPPED_BYTES (Length: 8)
n DROPPED_BYTES_TOTAL (Length: 8)
n BYTES (Length: 8)
n BYTES_TOTAL (Length: 8)
n BYTES_SQUARED (Length: 8)
n BYTES_SQUARED_PERMANENT (Length: 8)
n MUL_DOCTETS (Length: 8)
n postMCastOctetTotalCount (Length: 8)
Prerequisites
Verify that a logical switch port is configured. See Connecting a VM to a Logical Switch.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Switching > Ports
5 To download a CSV file of the MAC addresses that has been learned by the host, click Download
MAC Table.
A port tracking page opens. You can view the bidirectional port traffic and identify dropped packets.
The port tracker page also lists the switching profiles attached to the logical switch port.
Results
If you notice dropped packets because of network congestion, you can configure a QoS switching profile
for the logical switch port to prevent data loss on preferred packets. See Understanding QoS Switching
Profile.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
n Hosts
n Edges
n Edge Clusters
n Bridges
n Transport Nodes
Results
Note On the Hosts screen, if the MPA Connectivity status is Down or Unknown for a host, ignore the
LCP Connectivity status because it might be inaccurate.
You can configure logical switches and related objects from the Advanced Networking & Security tab. A
logical switch reproduces switching functionality, broadcast, unknown unicast, multicast (BUM) traffic, in a
virtual environment decoupled from the underlying hardware.
Note If you use the Advanced Networking & Security user interface to modify objects created in the
policy interface, some settings might not be configurable. These read-only settings have this icon next to
them: . See Chapter 1 Overview of the NSX Manager for more information.
Logical switches are similar to VLANs, in that they provide network connections to which you can attach
virtual machines. The VMs can then communicate with each other over tunnels between hypervisors if
the VMs are connected to the same logical switch. Each logical switch has a virtual network identifier
(VNI), like a VLAN ID. Unlike VLAN, VNIs scale well beyond the limits of VLAN IDs.
To see and edit the VNI pool of values, log in to NSX Manager, navigate to Fabric > Profiles, and click
the Configuration tab. Note that if you make the pool too small, creating a logical switch will fail if all the
VNI values are in use. If you delete a logical switch, the VNI value will be re-used, but only after 6 hours.
When you add logical switches, it is important that you map out the topology that you are building.
172.16.20.10 172.16.20.11
VM VM
App1 App2
VM VM
For example, the topology above shows a single logical switch connected to two VMs. The two VMs can
be on different hosts or the same host, in different host clusters or in the same host cluster. Because the
VMs in the example are on the same virtual network, the underlying IP addresses configured on the VMs
must be in the same subnet.
NSX Cloud Note If using NSX Cloud, see How to use NSX-T Data Center Features with the Public
Cloud for a list of auto-generated logical entities, supported features, and configurations required for NSX
Cloud.
n Layer 2 Bridging
When two VMs on different hosts communicate directly, unicast-encapsulated traffic is exchanged
between the two tunnel endpoint IP addresses associated with the two hypervisors without any need for
flooding.
However, as with any Layer 2 network, sometimes traffic that is originated by a VM needs to be flooded,
meaning that it needs to be sent to all of the other VMs belonging to the same logical switch. This is the
case with Layer 2 broadcast, unknown unicast, and multicast traffic (BUM traffic). Recall that a single
NSX-T Data Center logical switch can span multiple hypervisors. BUM traffic originated by a VM on a
given hypervisor needs to be replicated to remote hypervisors that host other VMs that are connected to
the same logical switch. To enable this flooding, NSX-T Data Center supports two different replication
modes:
Hierarchical two-tier replication mode is illustrated by the following example. Say you have Host A, which
has VMs connected to virtual network identifiers (VNIs) 5000, 5001, and 5002. Think of VNIs as being
similar to VLANs, but each logical switch has a single VNI associated with it. For this reason, sometimes
the terms VNI and logical switch are used interchangeably. When we say a host is on a VNI, we mean
that it has VMs that are connected to a logical switch with that VNI.
A tunnel endpoint table shows the host-VNI connections. Host A examines the tunnel endpoint table for
VNI 5000 and determines the tunnel endpoint IP addresses for other hosts on VNI 5000.
Some of these VNI connections will be on the same IP subnet, also called an IP segment, as the tunnel
endpoint on Host A. For each of these, Host A creates a separate copy of every BUM frame and sends
the copy directly to each host.
Other hosts’ tunnel endpoints are on different subnets or IP segments. For each segment where there is
more than one tunnel endpoint, Host A nominates one of these endpoints to be the replicator.
The replicator receives from Host A one copy of each BUM frame for VNI 5000. This copy is flagged as
Replicate locally in the encapsulation header. Host A does not send copies to the other hosts in the same
IP segment as the replicator. It becomes the responsibility of the replicator to create a copy of the BUM
frame for each host it knows about that is on VNI 5000 and in the same IP segment as that replicator
host.
The process is replicated for VNI 5001 and 5002. The list of tunnel endpoints and the resulting replicators
might be different for different VNIs.
With head replication also known as headend replication, there are no replicators. Host A simply creates
a copy of each BUM frame for each tunnel endpoint it knows about on VNI 5000 and sends it.
If all the host tunnel endpoints are on the same subnet, the choice of replication mode does not make any
difference because the behaviour will not differ. If the host tunnel endpoints are on different subnets,
hierarchical two-tier replication helps distribute the load among multiple hosts. Hierarchical two-tier is the
default mode.
Prerequisites
n Verify that a transport zone is configured. See the NSX-T Data Center Installation Guide.
n Verify that fabric nodes are successfully connected to NSX-T Data Center management plane agent
(MPA) and NSX-T Data Center local control plane (LCP).
n Verify that transport nodes are added to the transport zone. See the NSX-T Data Center Installation
Guide.
n Verify that the hypervisors are added to the NSX-T Data Center fabric and VMs are hosted on these
hypervisors.
n Familiarize yourself with the logical switch topology and BUM frame replication concepts. See
Chapter 13 Logical Switches and Understanding BUM Frame Replication Modes.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Switching > Switches > Add.
VMs that are attached to logical switches that are in the same transport zone can communicate with
each other.
The replication mode (hierarchical two-tier or head) is required for overlay logical switches, but not for
VLAN-based logical switches.
Hierarchical two-tier The replicator is a host that performs replication of BUM traffic to other hosts within
the same VNI.
Each host nominates one host tunnel endpoint in every VNI to be the replicator.
This is done for each VNI.
Head Hosts create a copy of each BUM frame and send the copy to each tunnel endpoint
it knows about for each VNI.
To support guest VLAN tagging for VMs connected to this switch, you must specify VLAN ID ranges,
also called trunk VLAN ID ranges. The logical port will filter packets based on the trunk VLAN ID
ranges, and a guest VM can tag its packets with its own VLAN ID based on the trunk VLAN ID
ranges.
9 (Optional) Click the Switching Profiles tab and select switching profiles.
10 Click Save.
In the NSX Manager UI, the new logical switch is a clickable link.
What to do next
The supported hosts that can connect to a logical switch are; an ESXi host that is managed in vCenter
Server, a standalone ESXi host, and a KVM host.
The example shown in this procedure shows how to attach a VM called app-vm to a logical switch called
app-switch.
172.16.20.10 172.16.20.11
VM VM
App1 App2
VM VM
The installation-based vSphere Client application does not support attaching a VM to an NSX-T Data
Center logical switch. If you do not have the (Web-based) vSphere Web Client, see Attach a VM Hosted
on Standalone ESXi to an NSX-T Data Center Logical Switch.
Prerequisites
n The VMs must be hosted on hypervisors that have been added to the NSX-T Data Center fabric.
n The fabric nodes must have NSX-T Data Center management plane (MPA) and NSX-T Data Center
control plane (LCP) connectivity.
Procedure
1 In the vSphere Web Client, edit the VM settings, and attach the VM to the NSX-T Data Center logical
switch.
For example:
2 Click OK.
Results
After attaching a VM to a logical switch, logical switch ports are added to the logical switch. You can view
logical switch ports and the VIF attachment ID on the NSX Manager in Advanced Networking &
Security > Networking > Switching > Ports.
Use the GET https://<mgr-ip>/api/v1/logical-ports/ API call to view port details and Admin status for
the corresponding VIF attachment ID. To view the Operational status, use the https://<mgr-ip>/api/v1/
logical-ports/<logical-port-id>/status API call with the appropriate logical port ID.
If two VMs are attached to the same logical switch and have IP addresses configured in the same subnet,
they should be able to ping each other.
What to do next
You can monitor the activity on the logical switch port to troubleshoot problems. See "Monitor a Logical
Switch Port Activity" in the NSX-T Data Center Administration Guide.
The example shown in this procedure shows how to attach a VM called app-vm to a logical switch called
app-switch.
app
switch
app
VM VM
Prerequisites
n The VM must be hosted on hypervisors that have been added to the NSX-T Data Center fabric.
n The fabric nodes must have NSX-T Data Center management plane (MPA) and NSX-T Data Center
control plane (LCP) connectivity.
Procedure
1 Using the (install-based) vSphere Client application or some other VM management tool, edit the VM
and add a VMXNET 3 Ethernet adapter.
Select any named network. You will change the network connection in a later step.
2 Use the NSX-T Data Center API to issue the GET https://<nsx-mgr>/api/v1/fabric/virtual-
machines/<VM-ID> API call.
For example:
GET https://<nsx-mgr>/api/v1/fabric/virtual-machines/60a5a5d5-ea2b-407e-a806-4fdc8468f735
{
"resource_type": "VirtualMachine",
"id": "60a5a5d5-ea2b-407e-a806-4fdc8468f735",
"display_name": "app-vm",
"compute_ids": [
"instanceUuid:50066bae-0f8a-386b-e62e-b0b9c6013a51",
"moIdOnHost:5",
"externalId:50066bae-0f8a-386b-e62e-b0b9c6013a51",
"hostLocalId:5",
"locationId:564dc020-1565-e3f4-f591-ee3953eef3ff",
"biosUuid:4206f47d-fef7-08c5-5bf7-ea26a4c6b18d"
],
"external_id": "50066bae-0f8a-386b-e62e-b0b9c6013a51",
"type": "REGULAR",
"host_id": "cb82b0fa-a8f1-11e5-92a9-6b7d1f8661fa",
"local_id_on_host": "5"
}
You can use your VM management tool or the ESXi CLI, as shown here.
4 From the NSX Manager UI, get the logical switch ID.
For example:
Delete the ethernet1.networkName = "<name>" field and add the following fields:
n ethernet1.opaqueNetwork.type = "nsx.LogicalSwitch"
n ethernet1.connected = "TRUE"
n ethernet1.startConnected = "TRUE"
For example:
OLD
ethernet1.pciSlotNumber = "224"
ethernet1.virtualDev = "vmxnet3"
ethernet1.networkName = "VM Network"
ethernet1.addressType = "vpx"
ethernet1.generatedAddress = "00:50:56:86:7b:d7"
ethernet1.uptCompatibility = "true"
ethernet1.present = "TRUE"
NEW
ethernet1.pciSlotNumber = "224"
ethernet1.virtualDev = "vmxnet3"
ethernet1.addressType = "vpx"
ethernet1.generatedAddress = "00:50:56:86:7b:d7"
ethernet1.uptCompatibility = "true"
ethernet1.present = "TRUE"
ethernet1.opaqueNetwork.id = "22b22448-38bc-419b-bea8-b51126bec7ad"
ethernet1.opaqueNetwork.type = "nsx.LogicalSwitch"
ethernet1.externalId = "50066bae-0f8a-386b-e62e-b0b9c6013a51"
ethernet1.connected = "TRUE"
ethernet1.startConnected = "TRUE"
6 In the NSX Manager UI, add a logical switch port, and use the VM's externalId for the VIF attachment.
You can use your VM management tool or the ESXi CLI, as shown here.
For example:
[user@host:~] vim-cmd solo/registervm /vmfs/volumes/355f2049-6c704347/app-vm/app-vm.vmx
9
Results
In the NSX Manager UI under Advanced Networking & Security > Networking > Switching > Ports,
find the VIF attachment ID matching the VM's externalId and make sure that the Admin and Operational
status are Up/Up.
If two VMs are attached to the same logical switch and have IP addresses configured in the same subnet,
they should be able to ping each other.
What to do next
You can monitor the activity on the logical switch port to troubleshoot problems. See "Monitor a Logical
Switch Port Activity" in the NSX-T Data Center Administration Guide.
The example shown in this procedure shows how to attach a VM called app-vm to a logical switch called
app-switch.
172.16.20.10 172.16.20.11
VM VM
App1 App2
VM VM
Prerequisites
n The VM must be hosted on hypervisors that have been added to the NSX-T Data Center fabric.
n The fabric nodes must have NSX-T Data Center management plane (MPA) and NSX-T Data Center
control plane (LCP) connectivity.
Procedure
1 From the KVM CLI, run the virsh dumpxml <your vm> | grep interfaceid command.
2 In the NSX Manager UI, add a logical switch port, and use the VM's interface ID for the VIF
attachment.
Results
In the NSX Manager UI under Advanced Networking & Security > Networking > Switching > Ports,
find the VIF attachment ID and make sure that the Admin and Operational status are Up/Up.
If two VMs are attached to the same logical switch and have IP addresses configured in the same subnet,
they should be able to ping each other.
What to do next
You can monitor the activity on the logical switch port to troubleshoot problems. See "Monitor a Logical
Switch Port Activity" in the NSX-T Data Center Administration Guide.
If you connect a VM to a logical switch on an ESXi host that is managed by vCenter Server, a logical
switch port is created automatically. For more information about connecting a VM to a logical switch, see
Connecting a VM to a Logical Switch.
For more information about connecting a container to a logical switch, see the NSX-T Container Plug-in
for Kubernetes - Installation and Administration Guide.
Note The IP address and MAC address bound to a logical switch port for a container are allocated by
NSX Manager. Do not change the address binding manually.
To monitor activity on a logical switch port, see Monitor a Logical Switch Port Activity.
Prerequisites
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Switching > Ports > Add.
Option Description
Using the API, you can set the attachment type to additional values (LOGICALROUTER,
BRIDGEENDPOINT, DHCP_SERVICE, METADATA_PROXY, L2VPN_SESSION). If the attachment type is
DHCP service, metadata proxy, or L2 VPN session, the switching profiles for the port must be the
default ones. You cannot use any user-defined profile.
5 Click Save.
If your network environment is configured properly, based on the topology the App2 VM can ping the
App1 VM.
172.16.20.10 172.16.20.11
VM VM
App1 App2
VM VM
Procedure
1 Log in to one of the VMs attached to the logical switch using SSH or the VM console.
$ ping -c 2 172.16.20.10
PING 172.16.20.10 (172.16.20.10) 56(84) bytes of data.
64 bytes from 172.16.20.10: icmp_seq=1 ttl=63 time=0.982 ms
64 bytes from 172.16.20.10: icmp_seq=2 ttl=63 time=0.654 ms
64 bytes from 172.16.20.10: icmp_seq=3 ttl=63 time=0.791 ms
b Verify that the VM network adapter is connected to the correct logical switch.
d From the NSX Manager, select Advanced Networking & Security > Networking > Switching >
Switches.
e Click the logical switch and note the UUID and VNI information.
Command Description
get logical-switch <vni-or- Displays the ARP table for the specified logical switch.
uuid> arp-table Sample output.
get logical-switch <vni-or- Displays the connections for the specified logical switch.
uuid> connection-table Sample output.
get logical-switch <vni-or- Displays the MAC table for the specified logical switch.
uuid> mac-table Sample output.
get logical-switch <vni-or- Displays statistics information about the specified logical switch.
uuid> stats Sample output.
get logical-switch <vni-or- Displays a summary of all logical switch statistics over time.
uuid> stats-sample Sample output.
Command Description
query.mac 0 0 0 0 0
query.mac.miss 0 0 0 0 0
query.arp 0 0 0 0 0
query.arp.miss 0 0 0 0 0
get logical-switch <vni-or- Displays all virtual tunnel end points related to the specified logical switch.
uuid> vtep Sample output.
Results
The first VM attached to the logical switch is able to send packets to the second VM.
When you are creating a VLAN logical switch, it is important to have in mind a particular topology that you
are building. For example, the following simple topology shows a single VLAN logical switch inside of a
VLAN transport zone. The VLAN logical switch has VLAN ID 100. This matches the VLAN ID on the TOR
port connected to the hypervisor host port used for the Edge's VLAN uplink.
ToR switch
VLAN 100
VLAN 100
logical switch
VLAN vmnic1
transport zone (Edge VLAN uplink)
Tier0
NSX Edge
transport
node
Prerequisites
n To create a VLAN logical switch, you must first create a VLAN transport zone.
n An NSX-T Data Center vSwitch must be added to the NSX Edge. To confirm on an Edge, run the get
host-switches command. For example:
n Verify that fabric nodes are successfully connected to the NSX-T Data Center management plane
agent (MPA) and the NSX-T Data Center local control plane (LCP).
Procedure
2 Select Advanced Networking & Security > Networking > Switching > Switches > Add.
Enter 0 in the VLAN field if there is no VLAN ID for the uplink to the physical TOR.
8 (Optional) Click the Switching Profiles tab and select switching profiles.
Results
Note If you have two VLAN logical switches that have the same VLAN ID, they cannot be connected to
the same Edge N-VDS (previously known as hostswitch). If you have a VLAN logical switch and an
overlay logical switch, and the VLAN ID of the VLAN logical switch is the same as the transport VLAN ID
of the overlay logical switch, they also cannot be connected to the same Edge N-VDS.
What to do next
n Port Mirroring
n IP Discovery
n SpoofGuard
n Switch Security
n MAC Management
Note You cannot edit or delete the default switching profiles in the NSX Manager. You can create
custom switching profiles instead.
Each default or custom switching profile has a unique reserved identifier. You use this identifier to
associate the switching profile to a logical switch or a logical port. For example, the default QoS switching
profile ID is f313290b-eba8-4262-bd93-fab5026e9495.
A logical switch or logical port can be associated with one switching profile of each type. You cannot have
for example, two QoS different switching profiles associated to a logical switch or logical port.
If you do not associate a switching profile type while creating or updating a logical switch, then the NSX
Manager associates a corresponding default system-defined switching profile. The children logical ports
inherit the default system-defined switching profile from the parent logical switch.
When you create or update a logical switch or logical port you can choose to associate either a default or
a custom switching profile. When the switching profile is associated or disassociated from a logical switch
the switching profile for the children logical ports is applied based on the following criteria.
n If the parent logical switch has a profile associated with it, the child logical port inherits the switching
profile from the parent.
n If the parent logical switch does not have a switching profile associated with it, a default switching
profile is assigned to the logical switch and the logical port inherits that default switching profile.
n If you explicitly associate a custom profile with a logical port, then this custom profile overrides the
existing switching profile.
Note If you have associated a custom switching profile with a logical switch, but want to retain the
default switching profile for one of the child logical port, then you must make a copy of the default
switching profile and associate it with the specific logical port.
You cannot delete a custom switching profile if it is associated to a logical switch or a logical port. You can
find out whether any logical switches and logical ports are associated with the custom switching profile by
going to the Assigned To section of the Summary view and clicking on the listed logical switches and
logical ports.
For this release, shaping and traffic marking namely, CoS and DSCP is supported. The Layer 2 Class of
Service (CoS) allows you to specify priority for data packets when traffic is buffered in the logical switch
due to congestion. The Layer 3 Differentiated Services Code Point (DSCP) detects packets based on
their DSCP values. CoS is always applied to the data packet irrespective of the trusted mode.
NSX-T Data Center trusts the DSCP setting applied by a virtual machine or modifying and setting the
DSCP value at the logical switch level. In each case, the DSCP value is propagated to the outer IP
header of encapsulated frames. This enables the external physical network to prioritize the traffic based
on the DSCP setting on the external header. When DSCP is in the trusted mode, the DSCP value is
copied from the inner header. When in the untrusted mode, the DSCP value is not preserved for the inner
header.
Note DSCP settings work only on tunneled traffic. These settings do not apply to traffic inside the same
hypervisor.
You can use the QoS switching profile to configure the average ingress and egress bandwidth values to
set the transmit limit rate. The peak bandwidth rate is used to support burst traffic a logical switch is
allowed to prevent congestion on the northbound network links. These settings do not guarantee the
bandwidth but help limit the use of network bandwidth. The actual bandwidth you will observe is
determined by the link speed of the port or the values in the switching profile, whichever is lower.
The QoS switching profile settings are applied to the logical switch and inherited by the child logical
switch port.
Prerequisites
n Familiarize yourself with the QoS switching profile concept. See Understanding QoS Switching
Profile.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Switching > Switching Profiles > Add
Option Description
Name and Description Assign a name to the custom QoS switching profile.
You can optionally describe the setting that you modified in the profile.
Mode Select either a Trusted or Untrusted option from the Mode drop-down menu.
When you select the Trusted mode the inner header DSCP value is applied to the
outer IP header for IP/IPv6 traffic. For non IP/IPv6 traffic, the outer IP header takes
the default value. Trusted mode is supported on an overlay-based logical port. The
default value is 0.
Untrusted mode is supported on overlay-based and VLAN-based logical port. For
the overlay-based logical port, the DSCP value of the outbound IP header is set to
the configured value irrespective to the inner packet type for the logical port. For
the VLAN-based logical port, the DSCP value of IP/IPv6 packet will be set to the
configured value. The DSCP values range for untrusted mode is between 0 to 63.
Note DSCP settings work only on tunneled traffic. These settings do not apply to
traffic inside the same hypervisor.
Option Description
Ingress Set custom values for the outbound network traffic from the VM to the logical
network.
You can use the average bandwidth to reduce network congestion. The peak
bandwidth rate is used to support burst traffic and the burst duration is set in the
burst size setting. You cannot guarantee the bandwidth. However, you can use the
setting to limit network bandwidth. The default value 0, disables the ingress traffic.
For example, when you set the average bandwidth for the logical switch to 30
Mbps the policy limits the bandwidth. You can cap the burst traffic at 100 Mbps for
a duration 20 Bytes.
Ingress Broadcast Set custom values for the outbound network traffic from the VM to the logical
network based on broadcast.
The default value 0, disables the ingress broadcast traffic.
For example, when you set the average bandwidth for a logical switch to 50 Kbps
the policy limits the bandwidth. You can cap the burst traffic to 400 Kbps for a
duration of 60 Bytes.
Egress Set custom values for the inbound network traffic from the logical network to the
VM.
The default value 0, disables the egress traffic.
If the ingress, ingress broadcast, and egress options are not configured, the default values are used
as protocol buffers.
4 Click Save.
Results
What to do next
Attach this QoS customized switching profile to a logical switch or logical port so that the modified
parameters in the switching profile are applied to the network traffic. See Associate a Custom Profile with
a Logical Switch or Associate a Custom Profile with a Logical Port.
n Troubleshooting - Analyze the traffic to detect intrusion and debug and diagnose errors on a network.
n Compliance and monitoring - Forward all of the monitored traffic to a network appliance for analysis
and remediation.
Compared to the physical port mirroring, logical port mirroring ensures that all of the VM network traffic is
captured. If you implement port mirroring only in the physical network, some of the VM network traffic fails
to be mirrored. This happens because communication between VMs residing on the same host never
enters the physical network and therefore does not get mirrored. With logical port mirroring you can
continue to mirror VM traffic even when that VM is migrated to another host.
The port mirroring process is similar for both VM ports in the NSX-T Data Center domain and ports of
physical applications. You can forward the traffic captured by a workload connected to a logical network
and mirror that traffic to a collector. The IP address should be reachable from the guest IP address on
which the VM is hosted. This process is also true for physical applications connected to Gateway nodes.
Prerequisites
n Familiarize yourself with the port mirroring switching profile concept. See Understanding Port
Mirroring Switching Profile.
n Identify the IP address of the destination logical port ID you want to redirect network traffic to.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Switching > Switching Profiles > Add
3 Select Port Mirroring and complete the port mirroring switching profile details.
Option Description
Name and Description Assign a name to the custom port mirroring switching profile.
You can optionally describe the setting you modified to customize this profile.
Direction Select an option from the drop-down menu to use this source for Ingress, Egress,
or Bidirectional traffic.
Ingress is the outbound network traffic from the VM to the logical network.
Egress is the inbound network traffic from the logical network to the VM.
Bidirectional is the two-way of traffic from the VM to the logical network and from
the logical network to the VM. This is the default option.
Option Description
Key Enter a random 32-bit value to identify mirrored packets from the logical port.
This Key value is copied to the Key field in the GRE header of each mirror packet.
If the Key value is set to 0, the default definition is copied to the Key field in the
GRE header.
The default 32-bit value is made of the following values.
n The first 24-bit is a VNI value. VNI is part of the IP header of encapsulated
frames.
n The 25th bit indicates if the first 24-bit is a valid VNI value. One represents a
valid value and zero represents an invalid value.
n The 26th bit indicates the direction of the mirrored traffic. One represents an
ingress direction and zero represents an egress direction.
n The remaining six bits are not used.
Destinations Enter the destination ID of the collector for the mirroring session.
The destination IP address ID can only be an IPv4 address within the network or a
remote IPv4 address not managed by NSX-T Data Center. You can add up to three
destination IP addresses separated by a comma.
4 Click Save.
Results
What to do next
Attach the switching profile to a logical switch or logical port. See Associate a Custom Profile with a
Logical Switch or Associate a Custom Profile with a Logical Port.
Verify that the customized port mirroring switching profile works. See Verify Custom Port Mirroring
Switching Profile.
Prerequisites
n Verify that the custom port mirroring switching profile is configured. See Configure a Custom Port
Mirroring Switching Profile.
n Verify that the customized port mirroring switching profile is attached to a logical switch. See
Associate a Custom Profile with a Logical Switch.
Procedure
1 Locate two VMs with VIF attachments to the logical port configured for port mirroring.
For example, VM1 10.70.1.1 and VM2 10.70.1.2 have VIF attachments and they are located in the
same logical network.
3 Log in to the first VM and ping the second VM to verify that the corresponding ECHO requests and
replies are received at the destination address.
What to do next
Attach this port mirroring customized switching profile to a logical switch so that the modified parameters
in the switching profile are applied to the network traffic. See Associate a Custom Profile with a Logical
Switch.
The discovered MAC and IP addresses are used to achieve ARP/ND suppression, which minimizes traffic
between VMs connected to the same logical switch. The addresses are also used by the SpoofGuard and
distributed firewall (DFW) components. DFW uses the address bindings to determine the IP address of
objects in firewall rules.
DHCP/DHCPv6 snooping inspects the DHCP/DHCPv6 packets exchanged between the DHCP/DHCPv6
client and server to learn the IP and MAC addresses.
ARP snooping inspects the outgoing ARP and GARP (gratuitous ARP) packets of a VM to learn the IP
and MAC addresses.
VM Tools is software that runs on an ESXi-hosted VM and can provide the VM's configuration information
including MAC and IP or IPv6 addresses. This IP discovery method is available for VMs running on ESXi
hosts only.
ND snooping is the IPv6 equivalent of ARP snooping. It inspects neighbor solicitation (NS) and neighbor
advertisement (NA) messages to learn the IP and MAC addresses.
Duplicate address detection checks whether a newly discovered IP address is already present on the
realized binding list for a different port. This check is performed for ports on the same segment. If a
duplicate address is detected, the newly discovered address is added to the discovered list, but is not
added to the realized binding list. All duplicate IPs have an associated discovery timestamp. If the IP that
is on the realized binding list is removed, either by adding it to the ignore binding list or by disabling
snooping, the duplicate IP with the oldest timestamp is moved to the realized binding list. The duplicate
address information is available through an API call.
By default, the discovery methods ARP snooping and ND snooping operate in a mode called trust on first
use (TOFU). In TOFU mode, when an address is discovered and added to the realized bindings list, that
binding remains in the realized list forever. TOFU applies to the first 'n' unique <IP, MAC, VLAN> bindings
discovered using ARP/ND snooping, where 'n' is the binding limit that you can configure. You can disable
TOFU for ARP/ND snooping. The methods will then operate in trust on every use (TOEU) mode. In TOEU
mode, when an address is discovered, it is added to the realized bindings list and when it is deleted or
expired, it is removed from the realized bindings list. DHCP snooping and VM Tools always operate in
TOEU mode
For each port, NSX Manager maintains an ignore bindings list, which contains IP addresses that cannot
be bound to the port. By navigating to Advanced Networking and Security > Switching > Ports and
selecting a port, you can add discovered bindings to the ignore bindings list. You can also delete an
existing discovered or realized binding by copying it to Ignore Bindings.
Note TOFU is not the same as SpoofGuard, and it does not block traffic in the same way as
SpoofGuard. For more information, see Understanding SpoofGuard Segment Profile.
For Linux VMs, the ARP flux problem might cause ARP snooping to obtain incorrect information. The
problem can be prevented with an ARP filter. For more information, see http://linux-ip.net/html/ether-
arp.html#ether-arp-flux.
Prerequisites
Familiarize yourself with the IP Discovery switching profile concepts. See Understanding IP Discovery
Switching Profile.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Switching > Switching Profiles > Add.
Option Description
ARP Snooping For an IPv4 environment. Applicable if VMs have static IP addresses.
ARP Binding Limit The maximum number of IPv4 IP addresses that can be bound to a port. The
minimum value allowed is 1 (the default) and the maximum is 256.
ARP ND Binding Limit Timeout The timeout value, in minutes, for IP addresses in the ARP/ND binding table if
TOFU is disabled. If an address times out, a newly discovered address replaces it.
DHCP Snooping For an IPv4 environment. Applicable if VMs have IPv4 addresses.
DHCP V6 Snooping For an IPv6 environment. Applicable if VMs have IPv6 addresses.
Neighbor Discovery Snooping For an IPv6 environment. Applicable if VMs have static IP addresses.
Option Description
Neighbor Discovery Binding Limit The maximum number of IPv6 addresses that can be bound to a port.
Duplicate IP Detection For all snooping methods and both IPv4 and IPv6 environments.
4 Click Add.
What to do next
Attach this IP Discovery customized switching profile to a logical switch or logical port so that the modified
parameters in the switching profile are applied to the network traffic. See Associate a Custom Profile with
a Logical Switch or Associate a Custom Profile with a Logical Port.
Understanding SpoofGuard
SpoofGuard helps prevent a form of malicious attack called "web spoofing" or "phishing." A SpoofGuard
policy blocks traffic determined to be spoofed.
SpoofGuard is a tool that is designed to prevent virtual machines in your environment from sending traffic
with an IP address it is not authorized to end traffic from. In the instance that a virtual machine’s IP
address does not match the IP address on the corresponding logical port and switch address binding in
SpoofGuard, the virtual machine’s vNIC is prevented from accessing the network entirely. SpoofGuard
can be configured at the port or switch level. There are several reasons SpoofGuard might be used in
your environment:
n Preventing a rogue virtual machine from assuming the IP address of an existing VM.
n Ensuring the IP addresses of virtual machines cannot be altered without intervention – in some
environments, it’s preferable that virtual machines cannot alter their IP addresses without proper
change control review. SpoofGuard facilitates this by ensuring that the virtual machine owner cannot
simply alter the IP address and continue working unimpeded.
n Guaranteeing that distributed firewall (DFW) rules will not be inadvertently (or deliberately) bypassed
– for DFW rules created utilizing IP sets as sources or destinations, the possibility always exists that a
virtual machine could have it’s IP address forged in the packet header, thereby bypassing the rules in
question.
n Dynamic Address Resolution Protocol (ARP) inspection, that is, ARP and Gratuitous Address
Resolution Protocol (GARP) SpoofGuard and Neighbor Discovery (ND) SpoofGuard validation are all
against the MAC source, IP Source and IP-MAC source mapping in the ARP/GARP/ND payload.
At the port level, the allowed MAC/VLAN/IP whitelist is provided through the Address Bindings property of
the port. When the virtual machine sends traffic, it is dropped if its IP/MAC/VLAN does not match the
IP/MAC/VLAN properties of the port. The port level SpoofGuard deals with traffic authentication, i.e. is the
traffic consistent with VIF configuration.
At the switch level, the allowed MAC/VLAN/IP whitelist is provided through the Address Bindings property
of the switch. This is typically an allowed IP range/subnet for the switch and the switch level SpoofGuard
deals with traffic authorization.
Traffic must be permitted by port level AND switch level SpoofGuard before it will be allowed into switch.
Enabling or disabling port and switch level SpoofGuard, can be controlled using the SpoofGuard switch
profile.
With port address bindings you'll specify the IP and MAC address, and VLAN if applicable, of the logical
port. When SpoofGuard is enabled, it ensures that the specified address bindings are enforced in the
data path. In addition to SpoofGuard, port address bindings are used for DFW rule translations.
Procedure
1 In NSX Manager, select to Advanced Networking & Security > Networking > Switching > Ports.
2 Click the logical port to which you want apply address binding.
4 Click Add.
5 Specify the IP (IPv4 address, IPv6 address, or IPv6 subnet) and MAC address of the logical port to
which you want to apply address binding. For example, for IPv6, 2001::/64 is an IPv6 subnet, 2001::1
is a host IP, whereas 2001::1/64 is an invalid input. You can also specify a VLAN ID.
6 Click Add.
What to do next
Use the port address bindings when you Configure a SpoofGuard Switching Profile.
Enable SpoofGuard for the port group(s) containing the guests. When enabled for each network adapter,
SpoofGuard inspects packets for the prescribed MAC and its corresponding IP address.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Switching > Switching Profiles > Add.
6 Click Add.
Results
What to do next
Associate the SpoofGuard profile with a logical switch or logical port. See Associate a Custom Profile with
a Logical Switch or Associate a Custom Profile with a Logical Port.
You can configure the Bridge Protocol Data Unit (BPDU) filter, DHCP Snooping, DHCP server block, and
rate limiting options to customize the switch security switching profile on a logical switch.
Prerequisites
Familiarize yourself with the switch security switching profile concept. See Understanding Switch Security
Switching Profile.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Option Description
Name and Description Assign a name to the custom switch security profile.
You can optionally describe the setting that you modified in the profile.
BPDU Filter Toggle the BPDU Filter button to enable BPDU filtering. Disabled by default.
When the BPDU filter is enabled, all of the traffic to BPDU destination MAC
address is blocked. The BPDU filter when enabled also disables STP on the logical
switch ports because these ports are not expected to take part in STP.
BPDU Filter Allow List Click the destination MAC address from the BPDU destination MAC addresses list
to allow traffic to the permitted destination. You must enable BPDU Filter to be
able to select from this list.
DHCP Filter Toggle the Server Block button and Client Block button to enable DHCP filtering.
Both are disabled by default.
DHCP Server Block blocks traffic from a DHCP server to a DHCP client. Note that
it does not block traffic from a DHCP server to a DHCP relay agent.
DHCP Client Block prevents a VM from acquiring a DHCP IP address by blocking
DHCP requests.
DHCPv6 Filter Toggle the V6 Server Block button and V6 Client Block button to enable DHCP
filtering. Both are disabled by default.
DHCPv6 Server Block blocks traffic from a DHCPv6 server to a DHCPv6 client.
Note that it does not block traffic from a DHCP server to a DHCP relay agent.
Packets whose UDP source port number is 547 are filtered.
DHCPv6 Client Block prevents a VM from acquiring a DHCP IP address by
blocking DHCP requests. Packets whose UDP source port number is 546 are
filtered.
Block Non-IP Traffic Toggle the Block Non-IP Traffic button to allow only IPv4, IPv6, ARP, and BPDU
traffic.
The rest of the non-IP traffic is blocked. The permitted IPv4, IPv6, ARP, GARP and
BPDU traffic is based on other policies set in address binding and SpoofGuard
configuration.
By default, this option is disabled to allow non-IP traffic to be handled as regular
traffic.
RA Guard Toggle the RA Guard button to filter out ingress IPv6 router advertisements.
ICMPv6 type 134 packets are filtered out. This option is enabled by default.
Rate Limits Set a rate limit for broadcast and multicast traffic. This option is enabled by default.
Rate limits can be used to protect the logical switch or VMs from events such as
broadcast storms.
To avoid any connectivity problems, the minimum rate limit value must be >= 10
pps.
6 Click Add.
Results
What to do next
Attach this switch security customized switching profile to a logical switch or logical port so that the
modified parameters in the switching profile are applied to the network traffic. See Associate a Custom
Profile with a Logical Switch or Associate a Custom Profile with a Logical Port.
The MAC address change feature allows a VM to change its MAC address. A VM connected to a port can
run an administrative command to change the MAC address of its vNIC and still send and receive traffic
on that vNIC. This feature is supported on ESXi only and not on KVM. This property is disabled by
default, except when the guest VM is deployed using VMware Integrated OpenStack, in which case the
property is enabled by default.
MAC learning provides network connectivity to deployments where multiple MAC addresses are
configured behind one vNIC, for example, in a nested hypervisor deployment where an ESXi VM runs on
an ESXi host and multiple VMs run inside the ESXi VM. Without MAC learning, when the ESXi VM's vNIC
connects to a switch port, its MAC address is static. VMs running inside the ESXi VM do not have network
connectivity because their packets have different source MAC addresses. With MAC learning, the vSwitch
inspects the source MAC address of every packet coming from the vNIC, learns the MAC address and
allows the packet to go through. If a MAC address that is learned is not used for a certain period of time, it
is removed. This aging property is not configurable.
MAC learning also supports unknown unicast flooding. Normally, when a packet that is received by a port
has an unknown destination MAC address, the packet is dropped. With unknown unicast flooding
enabled, the port floods unknown unicast traffic to every port on the switch that has MAC learning and
unknown unicast flooding enabled. This property is enabled by default, but only if MAC learning is
enabled.
The number of MAC addresses that can be learned is configurable. The maximum value is 4096, which is
the default. You can also set the policy for when the limit is reached. The options are:
n Drop - Packets from an unknown source MAC address are dropped. Packets inbound to this MAC
address will be treated as unknown unicast. The port will receive the packets only if it has unknown
unicast flooding enabled.
n Allow - Packets from an unknown source MAC address are forwarded although the address will not
be learned. Packets inbound to this MAC address will be treated as unknown unicast. The port will
receive the packets only if it has unknown unicast flooding enabled.
If you enable MAC learning or MAC address change, to improve security, configure SpoofGuard as well.
Prerequisites
Familiarize yourself with the MAC management switching profile concept. See Understanding MAC
Management Switching Profile.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Switching > Switching Profiles > Add.
3 Select MAC Management and complete the MAC management profile details.
Option Description
MAC Change Enable or disable the MAC address change feature. The default is disabled.
Status Enable or disable the MAC learning feature. The default is disabled.
Unknown Unicast Flooding Enable or disable the unknown unicast flooding feature. The default is enabled.
This option is available if you enable MAC learning
MAC Limit Set the maximum number of MAC addresses. The default is 4096. This option is
available if you enable MAC learning
MAC Limit Policy Select Allow or Drop. The default is Allow. This option is available if you enable
MAC learning
4 Click Add.
What to do next
Attach the switching profile to a logical switch or logical port. See Associate a Custom Profile with a
Logical Switch or Associate a Custom Profile with a Logical Port.
When custom switching profiles are attached to a logical switch they override existing default switching
profiles. The custom switching profile is inherited by children logical switch ports.
Note If you have associated a custom switching profile with a logical switch, but want to retain the
default switching profile for one of the child logical switch port, then you must make a copy of the default
switching profile and associate it with the specific logical switch port.
Prerequisites
n Verify that a custom switching profile is configured. See Switching Profiles for Logical Switches and
Logical Ports.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Switching > Switches.
5 Select the custom switching profile type from the drop-down menu.
n QoS
n Port Mirroring
n IP Discovering
n SpoofGuard
n Switch Security
n MAC Management
6 Click Change.
7 Select the previously created custom switching profile from the drop-down menu.
8 Click Save.
The logical switch is now associated with the custom switching profile.
9 Verify that the new custom switching profile with the modified configuration appears under the
Manage tab.
10 (Optional) Click the Related tab and select Ports from the drop-down menu to verify that the custom
switching profile is applied to child logical ports.
What to do next
If you do not want to use the inherited switching profile from a logical switch, you can apply a custom
switching profile to the child logical switch port. See Associate a Custom Profile with a Logical Port.
You can change the inherited switching profile from the logical switch to a different custom switching
profile for the child logical port.
Prerequisites
n Verify that a custom switching profile is configured. See Switching Profiles for Logical Switches and
Logical Ports.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Switching > Ports.
5 Select the custom switching profile type from the drop-down menu.
n QoS
n Port Mirroring
n IP Discovering
n SpoofGuard
n Switch Security
n MAC Management
6 Click Change.
7 Select the previously created custom switching profile from the drop-down menu.
8 Click Save.
The logical port is now associated with the custom switching profile.
9 Verify that the new custom switching profile with the modified configuration appears under the
Manage tab.
What to do next
You can monitor the activity on the logical switch port to troubleshoot problems. See "Monitor a Logical
Switch Port Activity" in the NSX-T Data Center Administration Guide.
The N-VDS switch can be configured in the enhanced data path mode only on an ESXi host. ENS also
supports traffic flowing through Edge VMs. In the enhanced data path mode, you can configure overlay
traffic and VLAN traffic.
With the N-VDS switch configured in the enhanced datapath mode, if a single logical core is associated to
a vNIC, then that logical core processes bidirectional traffic coming into or going out of a vNIC. When
multiple logical cores are configured, the host automatically determines which logical core must process a
vNIC's traffic.
n vNIC-count: Host assumes transmission of incoming or outgoing traffic for a vNIC direction requires
same amount of the CPU resource. Each logical core is assigned the same number of vNICs based
on the available pool of logical cores. It is the default mode. The vNIC-count mode is reliable, but is
not optimal for an asymmetric traffic.
n CPU-usage: Host predicts the CPU usage to transmit incoming or outgoing traffic at each vNIC
direction by using internal statistics. Based on the usage of CPU to transmit traffic, host changes the
logical core assignments to balance load among logical cores. The CPU usage mode is more optimal
than vNIC-count, but unreliable when traffic is not steady.
In CPU usage mode, if the traffic transmitted changes frequently, then the predicted CPU resources
required and vNIC assignment might also change frequently. Too frequent assignment changes might
cause packet drops.
If the traffic patterns are symmetric among vNICs, the vNIC-count option provides reliable behavior, which
is less vulnerable to frequent changes. However, if the traffic patterns are asymmetric, vNIC-count might
result in packet drops since it does not distinguish the traffic difference among vNICs.
In vNIC-count mode, it is recommended to configure an appropriate number of logical cores so that each
logical core is assigned to the same number of vNICs. If the number vNIC associated to each logical core
is different, CPU assignment is unfair and performance is not deterministic.
When a vNIC is connected or disconnected or when a logical core is added or removed, hosts
automatically detect the changes and rebalance.
Procedure
u To switch from one mode to another mode, run the following command.
Inter-VLAN routing overcomes the limitation of 10 vNICs that can be used per VM. NSX-T supporting
inter-VLAN routing ensures that many VLAN subinterfaces can be created on the vNIC and consumed for
different networking services. For example, one vNIC of a VM can be divided into several subinterfaces.
Each subinterface belongs to a subnet, which can host a networking service such as SNMP or DHCP.
With Inter-VLAN routing, for example, a subinterface on VLAN-10 can reach a subinterface on VLAN-10
or any other VLAN.
Each vNIC on a VM is connected to the N-VDS through the parent logical port, which manages untagged
packets.
To create a subinterface, on the Enhanced N-VDS switch, create a child port using the API with an
associated VIF using the API call described in the procedure. The subinterface tagged with a VLAN ID is
associated to a new logical switch, for example, VLAN10 is attached to logical switch LS-VLAN-10. All
subinterfaces of VLAN10 have to be attached to LS-VLAN-10. This 1–1 mapping between the VLAN ID of
the subinterface and its associated logical switch is an important prerequisite. For example, adding a child
port with VLAN20 to logical switch LS-VLAN-10 mapped to VLAN-10 makes routing of packets between
VLANs non-functional. Such configuration errors make the inter-VLAN routing non-functional.
Prerequisites
n Before you associate a VLAN subinterface to a logical switch, ensure that the logical switch does not
have any other associations with another VLAN subinterface. If there is a mismatch, inter-VLAN
routing on overlay networks might not work.
Procedure
1 To create subinterfaces for a vNIC, ensure that the vNIC is updated to a parent port. Make the
following REST API call.
"admin_state" : "UP",
"logical_switch_id" : "UUID of Logical Switch to which the vNIC is connected",
"_revision" : 0
}
2 To create child ports for a parent vNIC port on the N-VDS that is associated to the subinterfaces on a
VM, make the API call. Before making the API call, verify that a logical switch exists to connect child
ports with the subinterfaces on the VM.
POST https://<nsx-mgr-ip>/api/v1/logical-ports/
{
"resource_type" : "LogicalPort",
"display_name" : "<Name of the Child PORT>",
"attachment" : {
"attachment_type" : "VIF",
"context" : {
"resource_type" : "VifAttachmentContext",
"parent_vif_id" : "<UUID of the PARENT port from Step 1>",
"traffic_tag" : <VLAN ID>,
"app_id" : "<ID of the attachment>", ==> display id(can give any string). Must be unique.
"vif_type" : "CHILD"
},
"id" : "<ID of the CHILD port>"
},
"logical_switch_id" : "<UUID of the Logical switch(not the PARENT PORT's logical switch) to
which Child port would be connected to>",
"address_bindings" : [ { "mac_address" : "<vNIC MAC address>", "ip_address" : "<IP address to
the corresponding VLAN>", "vlan" : <VLAN ID> } ],
"admin_state" : "UP"
}
Results
Layer 2 Bridging
When an NSX-T Data Center logical switch requires a Layer 2 connection to a VLAN-backed port group
or needs to reach another device, such as a gateway, that resides outside of an NSX-T Data Center
deployment, you can use an NSX-T Data Center Layer 2 bridge. This Layer 2 bridge is especially useful
in a migration scenario, in which you need to split a subnet across physical and virtual workloads.
The NSX-T Data Center concepts involved in Layer 2 bridging are Edge Clusters and Edge Bridge
profiles. You can configure layer 2 bridging using NSX Edge transport nodes. To use NSX Edge transport
nodes for bridging, you create an Edge bridge profile. An Edge Bridge profile specifies which Edge
Cluster to use for bridging and which Edge Transport node acts as the primary and backup bridge.
The Edge Bridge Profile is attached to a logical switch and the mapping specifies the physical uplink on
the Edge used for bridging and the VLAN ID to be associated with the logical switch. A logical switch can
be attached to several bridge profiles.
When you create an edge bridge profile, if you set the failover mode to be preemptive and a failover
occurs, the standby node becomes the active node. After the failed node recovers, it becomes the active
node again. If you set the failover mode to be non-preemptive and a failover occurs, the standby node
becomes the active node. After the failed node recovers, it becomes the standby node. You can manually
set the standby edge node to be the active node by running the CLI command set l2bridge-port
<uuid> state active on the standby edge node. The command can only be applied in non-preemptive
mode. Otherwise, there will be an error. In non-preemptive mode, the command will trigger an HA failover
when applied on a standby node, and it will be ignored when applied on an active node. For more
information, see the NSX-T Data Center Command-Line Interface Reference.
Prerequisites
n Verify that you have an NSX Edge cluster with two NSX Edge transport nodes.
Procedure
1 Select System > Fabric > Profiles > Edge Bridge Profiles > Add.
2 Enter a name for the Edge bridge profile and optionally a description.
What to do next
You can now associate a logical switch with the bridge profile.
n Run the following command to enable reverse filter on the ESXi host where the Edge VM is running:
Then disable and enable promiscuous mode on the portgroup with the following steps:
n Do not have other port groups in promiscuous mode on the same host sharing the same set of
VLANs.
n The active and standby Edge VMs should be on different hosts. If they are on the same host the
throughput might be reduced because VLAN traffic needs to be forwarded to both VMs in
promiscuous mode.
a Log in to the vSphere Web Client, and navigate to Home > Networking.
b Click the distributed port group to which the NSX Edge trunk interface is connected, and click
Ports to view the ports and connected VMs. Note the port number associated with the trunk
interface. Use this port number when fetching and updating opaque data.
b Click content.
c Click the link associated with the rootFolder (for example: group-d1 (Datacenters)).
d Click the link associated with the childEntity (for example: datacenter-1).
e Click the link associated with the networkFolder (for example: group-n6).
f Click the DVS name link for the vSphere distributed switch associated with the NSX Edges (for
example: dvs-1 (Mgmt_VDS)).
g Copy the value of the uuid string. Use this value for dvsUuid when fetching and updating opaque
data.
a Go to https://<vc-ip>/mob/?moid=DVSManager&vmodl=1.
b Click fetchOpaqueDataEx.
<selectionSet xsi:type="DVPortSelection">
<dvsUuid>c2 1d 11 50 6a 7c 77 68-e6 ba ce 6a 1d 96 2a 15</dvsUuid> <!-- example dvsUuid --
>
<portKey>393</portKey> <!-- example port number -->
</selectionSet>
Use the port number and dvsUuid value that you retrieved for the NSX Edge trunk interface.
e Click Invoke Method. If the result shows values for vim.dvs.OpaqueData.ConfigInfo, then there
is already opaque data set, use the edit operation when you set the sink port. If the value for
vim.dvs.OpaqueData.ConfigInfo is empty, use the add operation when you set the sink port.
4 Configure the sink port in the vCenter managed object browser (MOB).
a Go to https://<vc-ip>/mob/?moid=DVSManager&vmodl=1.
b Click updateOpaqueDataEx.
c In the selectionSet value box paste the following XML input. For example,
<selectionSet xsi:type="DVPortSelection">
<dvsUuid>c2 1d 11 50 6a 7c 77 68-e6 ba ce 6a 1d 96 2a 15</dvsUuid> <!-- example dvsUuid --
>
<portKey>393</portKey> <!-- example port number -->
</selectionSet>
Use the dvsUuid value that you retrieved from the vCenter MOB.
d On the opaqueDataSpec value box paste one of the following XML inputs.
Use this input to enable a SINK port if opaque data is not set (operation is set to add):
<opaqueDataSpec>
<operation>add</operation>
<opaqueData>
<key>com.vmware.etherswitch.port.extraEthFRP</key>
<opaqueData
xsi:type="vmodl.Binary">AAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAA=</opaqueData>
</opaqueData>
</opaqueDataSpec>
Use this input to enable a SINK port if opaque data is already set (operation is set to edit):
<opaqueDataSpec>
<operation>edit</operation>
<opaqueData>
<key>com.vmware.etherswitch.port.extraEthFRP</key>
<opaqueData
xsi:type="vmodl.Binary">AAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAA=</opaqueData>
</opaqueData>
</opaqueDataSpec>
<opaqueDataSpec>
<operation>edit</operation>
<opaqueData>
<key>com.vmware.etherswitch.port.extraEthFRP</key>
<opaqueData
xsi:type="vmodl.Binary">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAA=</opaqueData>
</opaqueData>
</opaqueDataSpec>
Prerequisites
n At least one ESXi or KVM host to serve as a regular transport node. This node has hosted VMs that
require connectivity with devices outside of a NSX-T Data Center deployment.
n A VM or another end device outside of the NSX-T Data Center deployment. This end device must be
attached to a VLAN port matching the VLAN ID of the bridge-backed logical switch.
n One logical switch in an overlay transport zone to serve as the bridge-backed logical switch.
Procedure
Note If you are implementing a bump-in-the-wire firewall, click the name of a VLAN switch instead.
See Implement a Bump-in-the-Wire Firewall.
5 Click Attach.
d Click Save.
7 Connect VMs to the logical switch if they are not already connected.
The VMs must be on transport nodes in the same transport zone as the Edge bridge profile.
Results
You can test the functionality of the bridge by sending a ping from the NSX-T Data Center-internal VM to
a node that is external to NSX-T Data Center.
You can monitor traffic on the bridge switch by clicking the Monitor tab.
You can also view the bridge traffic with the GET https://192.168.110.31/api/v1/bridge-endpoints/
<endpoint-id>/statistics API call:
{
"tx_packets": {
"total": 134416,
"dropped": 0,
"multicast_broadcast": 0
},
"rx_bytes": {
"total": 22164,
"multicast_broadcast": 0
},
"tx_bytes": {
"total": 8610134,
"multicast_broadcast": 0
},
"rx_packets": {
"total": 230,
"dropped": 0,
"multicast_broadcast": 0
},
"last_update_timestamp": 1454979822860,
"endpoint_id": "ba5ba59d-22f1-4a02-b6a0-18ef0e37ef31"
}
In the top tier is the tier-0 logical router. Northbound, the tier-0 logical router connects to one or more
physical routers or layer 3 switches and serves as a gateway to the physical infrastructure. Southbound,
the tier-0 logical router connects to one or more tier-1 logical routers or directly to one or more logical
switches.
In the bottom tier is the tier-1 logical router. Northbound, the tier-1 logical router connects to a tier-0
logical router. Southbound, it connects to one or more logical switches.
Note If you use the Advanced Networking & Security user interface to modify objects created in the
policy interface, some settings might not be configurable. These read-only settings have this icon next to
them: . See Chapter 1 Overview of the NSX Manager for more information.
When you add a logical router, it is important that you plan the networking topology you are building.
tier-1
App Web
logical logical
switch switch
172.16.20.10 172.16.10.10
Host
VM VM
app web
VM VM
For example, this simple topology shows two logical switches connected to a tier-1 logical router. Each
logical switch has a single VM connected. The two VMs can be on different hosts or the same host, in
different host clusters or in the same host cluster. If a logical router does not separate the VMs, the
underlying IP addresses configured on the VMs must be in the same subnet. If a logical router does
separate them, the IP addresses on the VMs must be in different subnets.
In some scenarios, external clients send ARP queries for MAC addresses bound to LB VIP ports.
However, LB VIP ports do not have MAC addresses and cannot handle such queries. Proxy ARP is
implemented on the centralized service ports of a tier-1 logical router to handle ARP queries on behalf of
the LB VIP ports.
When a tier-1 logical router is configured with DNAT, Edge firewall, and load balancer, traffic to and from
another tier-1 logical router is processed in this order: DNAT first, then Edge firewall, and then load
balancer. Traffic within the tier-1 logical router is processed through DNAT first and then load balancer.
Edge firewall processing is skipped.
On a tier-0 or tier-1 logical router, you can configure different types of ports. One type is called centralized
service port (CSP). You must configure a CSP on a tier-0 logical router in active-standby mode or a tier-1
logical router to connect to a VLAN-backed logical switch, or to create a standalone tier-1 logical router. A
CSP supports the following services on a tier-0 logical router in active-standby mode or a tier-1 logical
router:
n NAT
n Load balancing
n Stateful firewall
Prerequisites
n Verify that the logical switches are configured. See Create a Logical Switch.
n Verify that an NSX Edge cluster is deployed to perform network address translation (NAT)
configuration. See the NSX-T Data Center Installation Guide.
n Familiarize yourself with the tier-1 logical router topology. See Tier-1 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Routers > Routers > Add.
3 Select Tier-1 Router and enter a name for the logical router and optionally a description.
4 (Optional) Select a tier-0 logical router to connect to this tier-1 logical router.
If you do not yet have any tier-0 logical routers configured, you can leave this field blank for now and
edit the router configuration later.
To deselect a cluster that you selected, click the x icon. If the tier-1 logical router is going to be used
for NAT configuration, it must be connected to an NSX Edge cluster. If you do not yet have any NSX
Edge clusters configured, you can leave this field blank for now and edit the router configuration later.
6 (Optional) Click the StandBy Relocation toggle to enable or disable standby relocation.
Standby relocation means that if the Edge node where the active or standby logical router is running
fails, a new standby logical router is created on another Edge node to maintain high availability. If the
Edge node that fails is running the active logical router, the original standby logical router becomes
the active logical router and a new standby logical router is created. If the Edge node that fails is
running the standby logical router, the new standby logical router replaces it.
Option Description
Preemptive If the preferred node fails and recovers, it will preempt its peer and become the active node. The
peer will change its state to standby. This is the default option.
Non-preemptive If the preferred node fails and recovers, it will check if its peer is the active node. If so, the preferred
node will not preempt its peer and will be the standby node.
8 (Optional) Click the Advanced tab and enter a value for Intra Tier-1 Transit Subnet.
9 Click Add.
Results
After the logical router is created, if you want to remove the Edge cluster from the router's configuration,
perform the following steps:
n Click Save.
If this logical router supports more than 5000 VMs, you must run the following commands on each node
of the NSX Edge cluster to increase the size of the ARP table.
set debug-mode
set dataplane neighbor max-arp-logical-router 10000
You must re-run the commands after a dataplane restart or a node reboot because the change is not
persistent.
What to do next
Create downlink ports for your tier-1 logical router. See Add a Downlink Port on a Tier-1 Logical Router.
Prerequisites
Verify that a tier-1 logical router is configured. See Create a Tier-1 Logical Router .
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 Click Add.
10 Select whether this attachment creates a switch port or updates an existing switch port.
If the attachment is for an existing switch port, select the port from the drop-down menu.
13 Click Add.
What to do next
Enable route advertisement to provide North-South connectivity between VMs and external physical
networks or between different tier-1 logical routers that are connected to the same tier-0 logical router.
See Configure Route Advertisement on a Tier-1 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 Click Add.
10 Select whether this attachment creates a switch port or updates an existing switch port.
If the attachment is for an existing switch port, select the port from the drop-down menu.
12 Click Add.
For example, to provide connectivity to and from the VMs through other peer routers, the tier-1 logical
router must have route advertisement configured for connected routes. If you don't want to advertise all
connected routes, you can specify which routes to advertise.
172.16.20.1 172.16.10.1
Connected routes:
172.16.10.0/24
172.16.20.0/24
172.16.20.10 172.16.10.10
Host
VM VM
app web
VM VM
Prerequisites
n Verify that VMs are attached to logical switches. See Chapter 13 Logical Switches.
n Verify that downlink ports for the tier-1 logical router are configured. See Add a Downlink Port on a
Tier-1 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
n Status
d Click Add.
What to do next
Familiarize yourself with the tier-0 logical router topology and create the tier-0 logical router. See Tier-0
Logical Router.
If you already have a tier-0 logical router connected to the tier-1 logical router, you can verify that the
tier-0 router is learning the tier-1 router connected routes. See Verify that a Tier-0 Router Has Learned
Routes from a Tier-1 Router.
For example, in the following diagram, the tier-1 A logical router has a downlink port to an NSX-T Data
Center logical switch. This downlink port (172.16.40.1) serves the default gateway for the virtual router
VM. The virtual router VM and tier-1 A are connected through the same NSX-T Data Center logical
switch. The tier-1 logical router has a static route 10.10.0.0/16 that summarizes the networks available
through the virtual router. Tier-1 A then has route advertisement configured to advertise the static route to
tier-1 B.
tier-1 tier-1
A B
172.16.40.1 172.16.10.1
logical logical
switch 1 switch 2
Static route to
10.10.0.0/16
172.16.40.10
Virtual
router
VM
VM VM VM
Prerequisites
Verify that a downlink port is configured. See Add a Downlink Port on a Tier-1 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Click the Routing tab and select Static Routes from the drop-down menu.
5 Click Add.
Static route based on IPv6 is supported. IPv6 prefixes can only have an IPv6 next hop.
For example, 10.10.10.0/16 or an IPv6 address.
For example, 172.16.40.10. You can also specify a null route by clicking the pencil icon and selecting
NULL from the drop-down. To add another next hop addresses, click Add again.
The newly created static route network address appears in the row.
9 From the tier-1 logical router, select Routing > Route Advertisement.
11 Click Save.
The static route is propagated across the NSX-T Data Center overlay.
n Can have only one centralized service port (CSP) if it is used to attach a load balancer (LB) service.
n Supports any combination of the services IPSec, DNAT, firewall, load balancer, and service insertion.
For ingress, the order of processing is: IPSec – DNAT – firewall – load balancer - service insertion.
For egress, the order of processing is: service insertion - load balancer - firewall - DNAT - IPSec.
Typically, a standalone tier-1 logical router is connected to a logical switch that a regular tier-1 logical
router is also connected to. The standalone tier-1 logical router can communicate with other devices
through the regular tier-1 logical router after static routes and route advertisements are configured.
Before using the standalone tier-1 logical router, note the following:
n To specify the default gateway for the standalone tier-1 logical router, you must add a static route.
The subnet should be 0.0.0.0/0 and the next hop is the IP address of a regular tier-1 router connected
to the same switch.
n ARP proxy on the standalone router is supported. You can configure an LB virtual server IP or LB
SNAT IP in the CSP's subnet. For example, if the CSP IP is 1.1.1.1/24, the virtual IP can be 1.1.1.2. It
can also be an IP in another subnet such as 2.2.2.2 if routing is properly configured so that traffic for
2.2.2.2 can reach the standalone router.
n For an NSX Edge VM, you cannot have more than one CSPs which are connected to the same
VLAN-backed logical switch or different VLAN-backed logical switches that have the same VLAN ID.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Routers > Routers > Add.
3 Select Tier-1 Router and enter a name for the logical router, and optionally a description.
4 (Required) Select an NSX Edge cluster to connect to this tier-1 logical router.
Option Description
Preemptive If the preferred node fails and recovers, it will preempt its peer and become the active node. The
peer will change its state to standby. This is the default option.
Non-preemptive If the preferred node fails and recovers, it will check if its peer is the active node. If so, the preferred
node will not preempt its peer and will be the standby node.
6 Click Add.
9 Click Add.
14 Select whether this attachment creates a switch port or updates an existing switch port.
16 Click Add.
NSX Cloud Note If using NSX Cloud, see How to use NSX-T Data Center Features with the Public
Cloud for a list of auto-generated logical entities, supported features, and configurations required for NSX
Cloud.
An Edge node can support only one tier-0 gateway or logical router. When you create a tier-0 gateway or
logical router, make sure you do not create more tier-0 gateways or logical routers than the number of
Edge nodes in the NSX Edge cluster.
When you add a tier-0 logical router, it is important that you map out the networking topology you are
building.
NSX Edge
VLAN-based
logical switch
192.168.100.3
tier-0
192.168.100.1
default subnet
100.64.1.0/31
tier-1
172.16.20.1 172.16.10.1
app web
logical logical
switch switch
172.16.20.10 172.16.10.10
Host
VM VM
app web
VM VM
For simplicity, the sample topology shows a single tier-1 logical router connected to a single tier-0 logical
router hosted on a single NSX Edge node. Keep in mind that this is not a recommended topology. Ideally,
you should have a minimum of two NSX Edge nodes to take full advantage of the logical router design.
The tier-1 logical router has a web logical switch and an app logical switch with respective VMs attached.
The router-link switch between the tier-1 router and the tier-0 router is created automatically when you
attach the tier-1 router to the tier-0 router. Thus, this switch is labeled as system generated.
In some scenarios, external clients send ARP queries for MAC addresses bound to loopback or IKE IP
ports. However, loopback and IKE IP ports do not have MAC addresses and cannot handle such queries.
Proxy ARP is implemented on the uplink and centralized service ports of a tier-0 logical router to handle
ARP queries on behalf of the loopback and IKE IP ports.
When a tier-0 logical router is configured with DNAT, IPsec, and Edge firewall, traffic is processed in this
order: IPsec first, then DNAT, and then Edge firewall.
On a tier-0 or tier-1 logical router, you can configure different types of ports. One type is called centralized
service port (CSP). You must configure a CSP on a tier-0 logical router in active-standby mode or a tier-1
logical router to connect to a VLAN-backed logical switch, or to create a standalone tier-1 logical router. A
CSP supports the following services on a tier-0 logical router in active-standby mode or a tier-1 logical
router:
n NAT
n Load balancing
n Stateful firewall
Prerequisites
n Verify that at least one NSX Edge is installed. See the NSX-T Data Center Installation Guide
n Verify that an NSX Edge cluster is configured. See the NSX-T Data Center Installation Guide.
n Familiarize yourself with the networking topology of the tier-0 logical router. See Tier-0 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Routers > Routers > Add.
5 Select an existing NSX Edge cluster from the drop-down menu to back this tier-0 logical router.
By default, the active-active mode is used. In the active-active mode, traffic is load balanced across
all members. In active-standby mode, all traffic is processed by an elected active member. If the
active member fails, a new member is elected to be active.
7 (Optional) Click the Advanced tab to enter a subnet for the intra-tier 0 transit subnet.
This is the subnet that connects to the tier-0 services router to its distributed router. If you leave this
blank, the default 169.0.0.0/28 subnet is used.
8 (Optional) Click the Advanced tab to enter a subnet for the tier-0-tier-1 transit subnet.
This is the subnet that connects the tier-0 router to any tier-1 routers that connect to this tier-0 router.
If you leave this blank, the default address space assigned for these tier-0-to-tier-1 connections is
100.64.0.0/16. Each tier-0-to-tier-1 peer connection is provided a /31 subnet within the 100.64.0.0/16
address space.
9 Click Save.
10 (Optional) Click the tier-0 logical router link to review the summary.
What to do next
Configure the tier-0 logical router to connect it to a VLAN logical switch to create an uplink to an external
network. See Connect a Tier-0 Logical Router to a VLAN Logical Switch for the NSX Edge Uplink.
When you attach a tier-1 logical router to a tier-0 logical router, a router-link switch between the two
routers is created. This switch is labeled as system-generated in the topology. The default address space
assigned for these tier-0-to-tier-1 connections is 100.64.0.0/16. Each tier-0-to-tier-1 peer connection is
provided a /31 subnet within the 100.64.0.0/16 address space. Optionally, you can configure the address
space in the tier-0 Summary > Advanced configuration.
NSX Edge
tier-0
default subnet
100.64.1.0/31
system-generated
switch
tier-1
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
The tier-1 router needs to be backed by an edge device if the router is going to be used for services,
such as NAT. If you do not select an NSX Edge cluster, the tier-1 router cannot perform NAT.
If you select an NSX Edge cluster and leave the members and preferred member fields blank, NSX-T
Data Center sets the backing edge device from the specified cluster for you.
8 Click Save.
9 Click the Configuration tab of the tier-1 router to verify that a new point-to-point linked port IP
address is created.
11 Click the Configuration tab of the tier-0 router to verify that a new point-to-point linked port IP
address is created.
What to do next
Verify that the tier-0 router is learning routes that are advertised by the tier-1 routers.
Verify that a Tier-0 Router Has Learned Routes from a Tier-1 Router
When a tier-1 logical router advertises routes to a tier-0 logical router, the routes are listed in the tier-0
router's routing table as NSX-T Data Center static routes.
Procedure
1 On the NSX Edge, run the get logical-routers command to find the VRF number of the tier-0
service router.
Logical Router
UUID : 421a2d0d-f423-46f1-93a1-2f9e366176c8
vrf : 5
type : SERVICE_ROUTER_TIER0
Logical Router
UUID : f3ce9d7d-7123-47d6-aba6-45cf1388ca7b
vrf : 6
type : DISTRIBUTED_ROUTER
Logical Router
UUID : c8e64eff-02b2-4462-94ff-89f3788f1a61
vrf : 7
type : SERVICE_ROUTER_TIER1
Logical Router
UUID : fb6c3f1f-599f-4421-af8a-99692dff3dd4
vrf : 8
type : DISTRIBUTED_ROUTER
2 Run the vrf <number> command to enter the tier-0 service router context.
nsx-edge-1> vrf 5
nsx-edge1(tier0_sr)>
3 On the tier-0 service router, run the get route command and make sure the expected routes appear
in the routing table.
Notice that the NSX-T Data Center static routes (ns) are learned by the tier-0 router because the
tier-1 router is advertising routes.
The following simple topology shows a VLAN logical switch inside of a VLAN transport zone. The VLAN
logical switch has a VLAN ID that matches the VLAN ID on the TOR port for the Edge's VLAN uplink.
ToR switch
VLAN 100
VLAN 100
logical switch
VLAN vmnic1
transport zone (Edge VLAN uplink)
Tier0
NSX Edge
transport
node
Prerequisites
Create a VLAN logical switch. See Create a VLAN Logical Switch for the NSX Edge Uplink.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
9 Type an IP address in CIDR format in the same subnet as the connected port on the TOR switch.
Results
What to do next
Prerequisites
n Verify that the tier-0 logical router is connected to a VLAN logical switch. See Connect a Tier-0
Logical Router to a VLAN Logical Switch for the NSX Edge Uplink.
Procedure
2 On the NSX Edge, run the get logical-routers command to find the VRF number of the tier-0
service router.
Logical Router
UUID : 421a2d0d-f423-46f1-93a1-2f9e366176c8
vrf : 5
type : SERVICE_ROUTER_TIER0
Logical Router
UUID : f3ce9d7d-7123-47d6-aba6-45cf1388ca7b
vrf : 6
type : DISTRIBUTED_ROUTER
Logical Router
UUID : c8e64eff-02b2-4462-94ff-89f3788f1a61
vrf : 7
type : SERVICE_ROUTER_TIER1
Logical Router
UUID : fb6c3f1f-599f-4421-af8a-99692dff3dd4
vrf : 8
type : DISTRIBUTED_ROUTER
3 Run the vrf <number> command to enter the tier-0 service router context.
nsx-edge-1> vrf 5
nsx-edge1(tier0_sr)>
4 On the tier-0 service router, run the get route command and make sure the expected route appears
in the routing table.
Results
Packets are sent between the tier-0 logical router and physical router to verify a connection.
What to do next
Depending on your networking requirements, you can configure a static route or BGP. See Configure a
Static Route or Configure BGP on a Tier-0 Logical Router.
n NAT
n BFD
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 Click Add.
Results
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 Click Add.
10 Select whether this attachment creates a switch port or updates an existing switch port.
If the attachment is for an existing switch port, select the port from the drop-down menu.
12 Click Add.
The static route topology shows a tier-0 logical router with a static route to the 10.10.10.0/24 prefix in the
physical architecture. For test purposes, the 10.10.10.10/32 address is configured on the external router
loopback interface. The external router has a static route to the 172.16.0.0/16 prefix to reach the app and
web VMs.
static route
static route 10.10.10.0/24 172.16.0.0/16
192.168.100.3 192.168.100.254
lo0:
tier-0 Physical 10.10.10.10
Architecture
100.64.10.0
100.64.10.1
tier-1
172.16.20.10 172.16.10.10
Host
VM VM
app web
VM VM
Prerequisites
n Verify that the physical router and tier-0 logical router are connected. See Verify the Tier-0 Logical
Router and TOR Connection.
n Verify that the tier-1 router is configured to advertise connected routes. See Create a Tier-1 Logical
Router .
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Click the Routing tab and select Static Route from the drop-down menu.
5 Select Add.
For example, 192.168.100.254. You can also specify a null route by clicking the pencil icon and
selecting NULL from the drop-down.
What to do next
Check that the static route is configured properly. See Verify the Static Route.
Prerequisites
Procedure
get logical-routers
Logical Router
UUID : d40bbfa4-3e3d-4178-8615-6f42ea335037
vrf : 4
type : SERVICE_ROUTER_TIER0
Logical Router
UUID : d0289ba4-250e-41b4-8ffc-7cab4a46c3e4
vrf : 5
type : DISTRIBUTED_ROUTER
Logical Router
UUID : a6ee6316-2212-4171-99cc-930c98bcad7f
vrf : 6
type : DISTRIBUTED_ROUTER
Logical Router
UUID : d40bbfa4-3e3d-4178-8615-6f42ea335037
vrf : 4
type : SERVICE_ROUTER_TIER0
3 From the external router, ping the internal VMs to confirm that they are reachable through the NSX-T
Data Center overlay.
ping 172.16.10.10
traceroute 172.16.10.10
ping 10.10.10.10
There are two modes of configuration: active-active and active-standby. The following diagram shows two
options for symmetric configuration. There are two NSX Edge nodes shown in each topology. In the case
of an active-active configuration, when you create tier-0 uplink ports, you can associate each uplink port
with up to eight NSX Edge transport nodes. Each NSX Edge node can have two uplinks.
Option 1 Option 2
For option 1, when the physical leaf-node routers are configured, they should have BGP neighborships
with the NSX Edges. Route redistribution should include the same network prefixes with equal BGP
metrics to all of the BGP neighbors. In the tier-0 logical router configuration, all leaf-node routers should
be configured as BGP neighbors.
When you are configuring the tier-0 router's BGP neighbors, if you do not specify a local address (the
source IP address), the BGP neighbor configuration is sent to all NSX Edge nodes associated with the
tier-0 logical router uplinks. If you do configure a local address, the configuration goes to the NSX Edge
node with the uplink owning that IP address.
In the case of option1, if the uplinks are on the same subnet on the NSX Edge nodes, it makes sense to
omit the local address. If the uplinks on the NSX Edge nodes are in different subnets, the local address
should be specified in the tier-0 router's BGP neighbor configuration to prevent the configuration from
going to all associated NSX Edge nodes.
For option 2, ensure that the tier-0 logical router configuration includes the tier-0 services router's local IP
address. The leaf-node routers are configured with only the NSX Edges that they are directly connected
to as the BGP neighbor.
When configuring BGP, you must configure a local Autonomous System (AS) number for the tier-0 logical
router. For example, the following topology shows the local AS number is 64510. You must also configure
the remote AS number. EBGP neighbors must be directly connected and in the same subnet as the tier-0
uplink. If they are not in the same subnet, BGP multi-hop should be used.
A tier-0 logical router in active-active mode supports inter-SR (service router) routing. If router #1 is
unable to communicate with a northbound physical router, traffic is re-routed to router #2 in the active-
active cluster. If router #2 is able to communicate with the physical router, traffic between router #1 and
the physical router will not be affected.
In a topology with a tier-0 logical router in active-active mode attached to a tier-1 logical router in active-
standby mode, you must enable inter-SR routing to handle asymmetric routing. You have asymmetric
routing if you configure a static route on one of the SRs, or if one SR needs to reach another SR's uplink.
In addition, note the following:
n In the case of a static route configured on one SR (for example, SR #1 on Edge node #1), another SR
(for example, SR #2 on Edge node #2) might learn the same route from an eBGP peer and prefer the
learned route to the static route on SR #1, which might be more efficient. To ensure that SR #2 uses
the static route configured on SR #1, configure the tier-1 logical router in pre-emptive mode and
configure Edge node #1 as the preferred node.
n If the tier-0 logical router has an uplink port on Edge node #1 and another uplink port on Edge node
#2, ping traffic from tenant VMs to the uplinks works if the two uplinks are in different subnets. Ping
traffic will fail if the two uplinks are in the same subnet.
Note Router ID used for forming BGP sessions on an edge node is automatically selected from the IP
addresses configured on the uplinks of a tier-0 logical router. BGP sessions on an edge node can flap
when router ID changes. This can happen when the IP address auto-selected for router ID is deleted or
the logical router port on which this IP is assigned is deleted.
AS 64510
AS 64511
192.168.100.3 192.168.100.254
lo0:
Physical 10.10.10.10
Architecture
tier-0
100.64.10.0
100.64.10.1
tier-1
172.16.20.10 172.16.10.10
Host
VM VM
app web
VM VM
Note the following scenarios when there are connection failures involving BGP or BFD:
n With only BGP configured, if all BGP neighbors go down, the service router's state will be down.
n With only BFD configured, if all BFD neighbors go down, the service router's state will be down.
n With BGP and BFD configured, if all BGP and BFD neighbors go down, the service router's state will
be down.
n With BGP and static routes configured, if all BGP neighbors go down, the service router's state will be
down.
n With only static routes configured, the service router's state will always be up unless the node is
experiencing a failure or in a maintenance mode.
Prerequisites
n Verify that the tier-1 router is configured to advertise connected routes. See Configure Route
Advertisement on a Tier-1 Logical Router. This is not strictly a prerequisite for BGP configuration, but
if you have a two-tier topology and you plan to redistribute your tier-1 networks into BGP, this step is
required.
n Verify that a tier-0 router is configured. See Create a Tier-0 Logical Router.
n Make sure the tier-0 logical router has learned routes from the tier-1 logical router. See Verify that a
Tier-0 Router Has Learned Routes from a Tier-1 Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Click the Routing tab and select BGP from the drop-down menu.
5 Click Edit.
Graceful restart is only supported if the NSX Edge cluster associated with the tier-0 router has
only one edge node.
e If this logical router is in active-active mode, click the Inter SR Routing toggle to enable or
disable inter-SR routing.
g Click Save.
The default is 1.
10 Configure the timers (keep alive time and hold down time) and a password.
a (Optional) Uncheck All Uplinks to see loopback ports as well as uplink ports.
14 Click Save.
What to do next
Test whether BGP is working properly. See Verify BGP Connections from a Tier-0 Service Router .
Prerequisites
Verify that BGP is configured. See Configure BGP on a Tier-0 Logical Router.
Procedure
2 On the NSX Edge, run the get logical-routers command to find the VRF number of the tier-0
service router.
Logical Router
UUID : 421a2d0d-f423-46f1-93a1-2f9e366176c8
vrf : 5
type : SERVICE_ROUTER_TIER0
Logical Router
UUID : f3ce9d7d-7123-47d6-aba6-45cf1388ca7b
vrf : 6
type : DISTRIBUTED_ROUTER
Logical Router
UUID : c8e64eff-02b2-4462-94ff-89f3788f1a61
vrf : 7
type : SERVICE_ROUTER_TIER1
Logical Router
UUID : fb6c3f1f-599f-4421-af8a-99692dff3dd4
vrf : 8
type : DISTRIBUTED_ROUTER
3 Run the vrf <number> command to enter the tier-0 service router context.
nsx-edge-1> vrf 5
nsx-edge1(tier0_sr)>
What to do next
Check the BGP connection from the external router. See Verify North-South Connectivity and Route
Redistribution.
Note In this release, BFD over Virtual Tunnel Interface (VTI) ports is not supported.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Click the Routing tab and select BFD from the drop-down menu.
You can optionally change the global BFD properties Receive interval, Transmit interval, and
Declare dead interval.
7 (Optional) Click Add under BFD Peers for Static Route Next Hops to add a BFD peer.
Specify the peer IP address and set the admin status to Enabled. Optionally, you can override the
global BFD properties Receive interval, Transmit interval, and Declare dead interval.
Prerequisites
n Verify that the tier-0 and tier-1 logical routers are connected so that you can advertise the tier-1
logical router networks to redistribute them on the tier-0 logical router. See Attach Tier-0 and Tier-1.
n If you want to filter specific IP addresses from route redistribution, verify that route maps are
configured. See Create a Route Map.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Click the Routing tab and select Route Redistribution from the drop-down menu.
Option Description
Name and Description Assign a name to the route redistribution. You can optionally provide a description.
An example name, advertise-to-bgp-neighbor.
Route Map (Optional) Assign a route map to filter a sequence of IP addresses from route
redistribution.
Prerequisites
n Verify that BGP is configured. See Configure BGP on a Tier-0 Logical Router.
n Verify that NSX-T Data Center static routes are set to be redistributed. See Enable Route
Redistribution on the Tier-0 Logical Router.
Procedure
3 From the external router, check that BGP routes are learned and that the VMs are reachable through
the NSX-T Data Center overlay.
b From the external router, ping the NSX-T Data Center-connected VMs.
ping 172.16.10.10
traceroute 172.16.10.10
ping 10.10.10.10
What to do next
The tier-0 logical router must be in active-active mode for ECMP to be available. A maximum of eight
ECMP paths are supported. The implementation of ECMP on NSX Edge is based on the 5-tuple of the
protocol number, source address, destination address, source port, and destination port. The algorithm
used to distribute the data among the ECMP paths is not round robin. Therefore, some paths might carry
more traffic than others. Note that if the protocol is IPv6 and the IPv6 header has more than one
extension header, ECMP will be based only on the source and destination addresses.
Physical Physical
Router 1 Router 2
eBGP/Static
Tier-0
Logical Router
For example, the topology above shows a single tier-0 logical router in active-active mode running on a 2-
node NSX Edge cluster. Two uplink ports are configured, one on each Edge node.
Prerequisites
n Verify that a transport zone and two transport nodes are configured. See the NSX-T Data Center
Installation Guide.
n Verify that two Edge nodes and an Edge cluster are configured. See the NSX-T Data Center
Installation Guide.
n Verify that a VLAN logical switch for uplink is available. See Create a VLAN Logical Switch for the
NSX Edge Uplink.
n Verify that a tier-0 logical router is configured. See Create a Tier-0 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 Click Add.
Option Description
Description Provide additional description that shows that the port is for ECMP configuration.
Transport Node Assign the Edge transport node from the drop-down menu.
URPF Mode Unicast Reverse Path Forwarding is a security feature. Setting it to None is
recommended if you have multiple active-active Edge nodes in ECMP mode. The
default is Strict.
Logical Switch Assign the VLAN logical switch from the drop-down menu.
IP Address/Mask Enter an IP address that is in the same subnet as the connected port on the ToR
switch.
7 Click Save.
Results
A new uplink port is added to the tier-0 router and the VLAN logical switch. The tier-0 logical router is
configured on both of the edge nodes.
What to do next
Create a BGP connection for the second neighbor and enable the ECMP routing. See Add a Second
BGP Neighbor and Enable ECMP Routing.
Prerequisites
Verify that the second edge node has an uplink port configured. See Add an Uplink Port for the Second
Edge Node .
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Click the Routing tab and select BGP from the drop-down menu.
The default is 1.
a (Optional) Uncheck All Uplinks to see loopback ports as well as uplink ports.
12 Click Save.
15 Click Save.
Results
Multiple ECMP routing paths connect the VMs attached to logical switches and the two Edge nodes in the
Edge cluster.
What to do next
Test whether the ECMP routing connections are working properly. See Verify ECMP Routing Connectivity.
Prerequisites
Verify that ECMP routing is configured. See Add an Uplink Port for the Second Edge Node and Add a
Second BGP Neighbor and Enable ECMP Routing.
Procedure
get logical-routers
Logical Router
UUID : 736a80e3-23f6-5a2d-81d6-bbefb2786666
vrf : 2
type : TUNNEL
Logical Router
UUID : d40bbfa4-3e3d-4178-8615-6f42ea335037
vrf : 4
type : SERVICE_ROUTER_TIER0
Logical Router
UUID : d0289ba4-250e-41b4-8ffc-7cab4a46c3e4
vrf : 5
type : DISTRIBUTED_ROUTER
Logical Router
UUID : a6ee6316-2212-4171-99cc-930c98bcad7f
vrf : 6
type : DISTRIBUTED_ROUTER
Logical Router
UUID : d0289ba4-250e-41b4-8ffc-7cab4a46c3e4
vrf : 5
type : DISTRIBUTED_ROUTER
vrf 5
5 Verify that the tier-0 distributed router is connected to the Edge nodes.
get forwarding
For example, edge-node-1 and edge-node-2.
10 Use any tool that can generate traffic from a source VM connected to the tier-0 router to a destination
VM.
For example, you can add the IP address 192.168.100.3/27 to the IP prefix list and deny the route from
being redistributed to the northbound router. You can also append an IP address with less-than-or-equal-
to (le) and greater-than-or-equal-to (ge) modifiers to grant or limit route redistribution. For example,
192.168.100.3/27 ge 24 le 30 modifiers match subnet masks greater than or equal to 24-bits and less
than or equal to 30-bits in length.
Note The default action for a route is Deny. When you create a prefix list to deny or permit specific
routes, be sure to create an IP prefix with no specific network address (select Any from the dropdown list)
and the Permit action if you want to permit all other routes.
Prerequisites
Verify that you have a tier-0 logical router configured. See Create a Tier-0 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Click the Routing tab and select IP Prefix Lists from the drop-down menu.
5 Click Add.
Prerequisites
Verify that you have a tier-0 logical router configured. See Create a Tier-0 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Click the Routing tab and select Community Lists from the drop-down menu.
5 Click Add.
7 Specify a community using the aa:nn format, for example, 300:500, and press Enter. Repeat to add
additional communities.
In addition, you can click the dropdown arrow and select one or more of the following:
8 Click Add.
Route maps can be referenced at the BGP neighbor level and route redistribution. When IP prefix lists are
referenced in route maps and the route map action of permitting or denying is applied, the action
specified in the route map sequence overrides the specification within the IP prefix list.
Prerequisites
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 Click Add.
8 Edit the column Match IP Prefix List/Community List to select either IP prefix lists, or community
lists, but not both.
AS-path Prepend Prepend a path with one or more AS (autonomous system) numbers to make the path longer and
therefore less preferred.
Community Specify a community using the aa:nn format, for example, 300:500. Or use the drop-down menu to select
one of the following:
n NO_EXPORT_SUBCONFED - Do not advertise to EBGP peers.
n NO_ADVERTISE - Do not advertise to any peer.
n NO_EXPORT - Do not advertise outside BGP confederation
You can permit or deny IP addresses in the IP prefix lists from advertising their addresses.
11 Click Save.
Forwarding up timer defines the time in seconds that the router must wait before sending the up
notification after the first BGP session is established. This timer (previously known as forwarding delay)
minimizes downtime in case of fail-overs for active-active or active-standby configurations of logical
routers on NSX Edge that use dynamic routing (BGP). It should be set to the number of seconds an
external router (TOR) takes to advertise all the routes to this router after the first BGP/BFD session. The
timer value should be directly proportional to the number of northbound dynamic routes that the router
must learn. This timer should be set to 0 on single edge node setups.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 Click Edit.
7 Click Save.
You can configure NAT from the Advanced Networking & Security tab.
Note If you use the Advanced Networking & Security user interface to modify objects created in the
policy interface, some settings might not be configurable. These read-only settings have this icon next to
them: . See Chapter 1 Overview of the NSX Manager for more information.
For example, the following diagram shows two tier-1 logical routers with NAT configured on Tenant2NAT.
The web VM is simply configured to use 172.16.10.10 as its IP address and 172.16.10.1 as its default
gateway.
NAT is enforced at the uplink of the Tenant2NAT logical router on its connection to the tier-0 logical router.
To enable NAT configuration, Tenant2NAT must have a service component on an NSX Edge cluster.
Thus, Tenant2NAT is shown inside the NSX Edge. For comparison, Tenant1 can be outside of the NSX
Edge because it is not using any Edge services.
NSX Edge
VLAN-based
tier-0 logical switch
192.168.100.3
192.168.100.1
Physical
Architecture
172.16.20.1 172.16.10.1
app
web
logical switch
logical switch
Tenant1 Tenant2NAT
tier-1 tier-1
Inside: 172.16.10.10
172.16.20.10 Outside: 80.80.80.1
Host
VM VM
app web
VM VM
Note: In the following scenario, NAT hairpinning is not supported. The tier-0 logical router has DNAT and
SNAT configured. Tier-1 Logical Router 2 has NO_SNAT and SNAT configured. VM2 will not be able to
access VM1 using VM1's external address 80.80.80.10.
VM VM
VM1 VM2
172.16.20.10/24 172.16.10.10/24
The following sections describe how to create NAT rules using the manager UI. You can alco make an
API call (POST /api/v1/logical-routers/<logical-router-id>/nat/rules?action=create_multiple) to
create multiple NAT rules at the same time. For more information, see the NSX-T Data Center API Guide.
Tier-1 NAT
A tier-1 logical router supports source NAT (SNAT), destination NAT (DNAT) and reflexive NAT.
In this example, as packets are received from the web VM, the Tenant2NAT tier-1 router changes the
source IP address of the packets from 172.16.10.10 to 80.80.80.1. Having a public source IP address
enables destinations outside of the private network to route back to the original source.
Prerequisites
n The tier-0 router must have an uplink connected to a VLAN-based logical switch. See Connect a
Tier-0 Logical Router to a VLAN Logical Switch for the NSX Edge Uplink.
n The tier-0 router must have routing (static or BGP) and route redistribution configured on its uplink to
the physical architecture. See Configure a Static Route, Configure BGP on a Tier-0 Logical Router,
and Enable Route Redistribution on the Tier-0 Logical Router.
n The tier-1 routers must each have an uplink to a tier-0 router configured. Tenant2NAT must be
backed by an NSX Edge cluster. See Attach Tier-0 and Tier-1.
n The tier-1 routers must have downlink ports and route advertisement configured. See Add a Downlink
Port on a Tier-1 Logical Router and Configure Route Advertisement on a Tier-1 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 Click ADD.
7 For Action, select SNAT to enable source NAT, or NO_SNAT to disable source NAT.
9 (Optional) For Source IP, specify an IP address or an IP address range in CIDR format.
If you leave this field blank, all sources on router's downlink ports are translated. In this example, the
source IP address is 172.16.10.10.
10 (Optional) For Destination IP, specify an IP address or an IP address range in CIDR format.
If you leave this field blank, the NAT applies to all destinations outside of the local subnet.
11 If Action is SNAT, for Translated IP, specify an IP address or an IP address range in CIDR format.
Results
What to do next
To advertise the NAT routes upstream from the tier-0 router to the physical architecture, configure the
tier-0 router to advertise tier-1 NAT routes.
In this example, as packets are received from the app VM, the Tenant2NAT tier-1 router changes the
destination IP address of the packets from 172.16.10.10 to 80.80.80.1. Having a public destination IP
address enables a destination inside a private network to be contacted from outside of the private
network.
Prerequisites
n The tier-0 router must have an uplink connected to a VLAN-based logical switch. See Connect a
Tier-0 Logical Router to a VLAN Logical Switch for the NSX Edge Uplink.
n The tier-0 router must have routing (static or BGP) and route redistribution configured on its uplink to
the physical architecture. See Configure a Static Route, Configure BGP on a Tier-0 Logical Router,
and Enable Route Redistribution on the Tier-0 Logical Router.
n The tier-1 routers must each have an uplink to a tier-0 router configured. Tenant2NAT must be
backed by an NSX Edge cluster. See Attach Tier-0 and Tier-1.
n The tier-1 routers must have downlink ports and route advertisement configured. See Add a Downlink
Port on a Tier-1 Logical Router and Configure Route Advertisement on a Tier-1 Logical Router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
5 Click ADD.
7 For Action, select DNAT to enable destination NAT, or NO_DNAT to disable destination NAT.
9 (Optional) For Source IP, specify an IP address or an IP address range in CIDR format.
If you leave Source IP blank, the NAT applies to all sources outside of the local subnet.
11 If Action is DNAT, for Translated IP, specify an IP address or an IP address range in CIDR format.
12 (Optional) If Action is DNAT, for Translated Ports, specify the translated ports.
Results
What to do next
To advertise the NAT routes upstream from the tier-0 router to the physical architecture, configure the
tier-0 router to advertise tier-1 NAT routes.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
n Status
6 Click Save.
What to do next
Advertise tier-1 NAT routes from the tier-0 router to the upstream physical architecture.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Routing.
3 Click a tier-0 logical router that is connected to a tier-1 router on which you have configured NAT.
Option Description
Name and Description Assign a name to the route redistribution. You can optionally provide a description.
An example name, advertise-to-bgp-neighbor.
Route Map (Optional) Assign a route map to filter a sequence of IP addresses from route
redistribution.
Procedure
2 Run get logical-routers to determine the VRF number for the tier-0 services router.
3 Enter the tier-0 services router context by running the vrf <number> command.
4 Run the get route command and make sure that the tier-1 NAT address appears.
5 If your Web VM is set up to serve Web pages, make sure you can open a Web page at http://
80.80.80.1.
6 Make sure that the tier-0 router's upstream neighbor in the physical architecture can ping 80.80.80.1.
7 While the ping is still running, check the stats column for the DNAT rule.
Tier-0 NAT
A tier-0 logical router in active-standby mode supports source NAT (SNAT), destination NAT (DNAT) and
reflexive NAT. A tier-0 logical router in active-active mode supports reflexive NAT only.
You can also disable SNAT or DNAT for an IP address or a range of addresses. If multiple NAT rules
apply to an address, the rule with the highest priority is applied.
SNAT configured on a tier-0 logical router's uplink will process traffic from a tier-1 logical router as well as
from another uplink on the tier-0 logical router.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
9 (Required) For Source IP, specify an IP address or an IP address range in CIDR format.
If you leave this field blank, this NAT rule applies to all sources outside of the local subnet.
12 (Optional) If Action is DNAT, for Translated Ports, specify the translated ports.
Reflexive NAT
When a tier-0 logical router is running in active-active mode, you cannot configure stateful NAT where
asymmetrical paths might cause issues. For active-active routers, you can configure reflexive NAT
(sometimes called stateless NAT).
In this example, as packets are received from the web VM, the Tenant2NAT tier-1 router changes the
source IP address of the packets from 172.16.10.10 to 80.80.80.1. Having a public source IP address
enables destinations outside of the private network to route back to the original source.
NSX Edge
VLAN-based
tier-0 logical switch
192.168.100.3
192.168.100.1
Physical
Architecture
172.16.20.1 172.16.10.1
app
web
logical switch
logical switch
Tenant1 Tenant2NAT
tier-1 tier-1
Inside: 172.16.10.10
172.16.20.10 Outside: 80.80.80.1
Host
VM VM
app web
VM VM
When there are two active-active tier-0 routers involved, as shown below, reflexive NAT must be
configured.
Physical Physical
Router 1 Router 2
eBGP/Static
Tier-0
Logical Router
For reflexive NAT, you can configure a single source address to be translated, or a range of addresses. If
you configure a range of source addresses, you must also configure a range of translated addresses. The
size of the two ranges must be the same. The address translation will be deterministic, meaning that the
first address in the source address range will be translated to the first address in the translated address
range, the second address in the source range will be translated to the second address in the translated
range, and so on.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Click a tier-0 or tier-1 logical router on which you want to configure reflexive NAT.
5 Click ADD.
Results
You can create IP sets, IP pools, MAC sets, NSGroups, and NSServices. You can also manage tags for
VMs.
Note If you use the Advanced Networking & Security user interface to modify objects created in the
policy interface, some settings might not be configurable. These read-only settings have this icon next to
them: . See Chapter 1 Overview of the NSX Manager for more information.
n Create an IP Set
n Create an IP Pool
n Create an NSGroup
Create an IP Set
An IP set is a group of IP addresses that can be used as sources and destinations in firewall rules.
An IP set can contain a combination of individual IP addresses, IP ranges, and subnets. You can specify
IPv4 or IPv6 addresses, or both. An IP set can be a member of NSGroups.
Note IPv4 addresses and IPv6 addresses are supported for source or destination ranges for firewall
rules.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Inventory > Groups > IP Sets > Add.
3 Enter a name.
5 In Members, enter individual IP addresses, IP ranges, and subnets in a comma separated list.
6 Click Save.
Create an IP Pool
You can use an IP Pool to allocate IP addresses or subnets when you create L3 subnets.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Inventory > Groups > IP Pools > Add.
5 Click Add.
Mouse over the upper right corner of any cell and click the pencil icon to edit it.
11 Click Save.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Inventory > Groups > MAC Sets > Add.
3 Enter a name.
6 Click ADD.
Create an NSGroup
NSGroups can be configured to contain a combination of IP sets, MAC sets, logical ports, logical
switches, and other NSGroups. You can specify NSGroups with Logical Switches, Logical ports and VMs
as sources and destinations, and in the Applied To field of a firewall rule. NSGroups with IPset and
MACSet will be ignored in a distributed firewall Applied To field.
NSX Cloud Note If using NSX Cloud, see How to use NSX-T Data Center Features with the Public
Cloud for a list of auto-generated logical entities, supported features, and configurations required for NSX
Cloud.
n An NSGroup has direct members and effective members. Effective members include members that
you specify using membership criteria, as well as all the direct and effective members that belong to
this NSGroup's members. For example, assuming NSGroup-1 has direct member LogicalSwitch-1.
You add NSGroup-2 and specify NSGroup-1 and LogicalSwitch-2 as members. Now NSGroup-2 has
direct members NSGroup-1 and LogicalSwitch-2, and an effective member, LogicalSwitch-1. Next,
you add NSGroup-3 and specify NSGroup-2 as a member. NSGroup-3 now has direct member
NSGroup-2 and effective members LogicalSwitch-1 and LogicalSwitch-2. From the main groups
table, clicking on a group and selecting Related > NSGroups would show NSGroup-1, NSGroup-2,
and NSGroup-3 because all three have LogicalSwitch-1 as a member, either directly or indirectly.
n The recommended limit for the number of effective members in an NSGroup is 5000. The NSX
Manager check the NSGroups regarding the limit twice a day, at 7 AM and 7 PM. Exceeding this limit
does not affect any functionality but might have a negative impact on performance.
n When the number of effective members for an NSGroup exceeds 80% of 5000, the warning
message NSGroup xyz is about to exceed the maximum member limit. Total number
in NSGroup is ... appears in the log file. When the number exceeds 5000, the warning
message NSGroup xyz has reached the maximum numbers limit. Total number in
NSGroup = ... appears.
n When the number of translated VIFs/IPs/MACs in an NSGroup exceeds 5000, the warning
message Container xyz has reached the maximum IP/MAC/VIF translations limit.
Current translations count in Container - IPs:..., MACs:..., VIFs:... appears
in the log file.
For all the objects that you can add to an NSGroup as members, you can navigate to the screen for any
of the objects and select Related > NSGroups.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Inventory > Groups > Add.
For each criterion, you can specify up to five rules, which are combined with the logical AND operator.
The available member criterion can apply to the following:
n Virtual Machine - can specify a name, tag, computer OS name, or computer name that equals,
contains, starts with, ends with, or doesn't equal a particular string.
n Transport Node - can specify a node type that equals an edge node or a host node.
n AD Group - NSGroups with ADGroups can only be used in the extended_source field of a
distributed firewall rule, and must be the only members in the group. For example, there cannot
be an NSGroup with both ADGroup and IPSet together as members.
n MAC Set
n NSGroup
n Transport Node
n VIF
n Virtual Machine
7 Click ADD.
The group is added to the table of groups. Click a group name to display an overview and edit group
information including membership criteria, members, applications, and related groups. Scroll to the
bottom of the Overview tab to add and delete tags. See Add Tags to an Object for more information.
Selecting Related> NSGroups displays all the NSGroups that have the selected NSGroup as a
member.
n Ether
n IP
n IGMP
n ICMP
n ALG
n L4 Port Set
An L4 Port Set supports the identification of source ports and destination ports. You can specify individual
ports or a range of ports, up to a maximum of 15 ports.
An NSService can also be a group of other NSServices. An NSService that is a group can be of the
following types:
n Layer 2
You cannot change the type after you create an NSService. Some NSServices are predefined. You
cannot modify or delete them.
Create an NSService
You can create an NSService to specify the characteristics that network matching uses, or to define the
type of traffic to block or allow in firewall rules.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Inventory > Services > Add.
3 Enter a name.
5 Select Specify a protocol to configure an individual service, or select Group existing services to
configure a group of NSServices.
The available types are Ether, IP, IGMP, ICMP, ALG, and L4 Port Set
7 For a service group, select a type and members for the group.
8 Click ADD.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Inventory > Virtual Machines from the navigation
panel.
The list of VMs is displayed with 4 columns: Virtual Machine, External ID, Source, and Tag. Click the
filter icon in the first three columns' heading to filter the list. Enter a string of characters to do a partial
match. If the string in the column contains the string that you entered, the entry is displayed. Enter a
string of characters enclosed in double quotes to do an exact match. If the string in the column
exactly matches the string that you entered, the entry is displayed.
4 Select a VM.
Option Action
The maximum number of tags that can be assigned from the NSX Manager to a virtual machine is 25.
The maximum number of tags for all other managed objects such as logical switches or ports, is 30 .
7 Click Save.
You can configure DHCP from the Advanced Networking & Security tab.
Note If you use the Advanced Networking & Security user interface to modify objects created in the
policy interface, some settings might not be configurable. These read-only settings have this icon next to
them: . See Chapter 1 Overview of the NSX Manager for more information.
n DHCP
n Metadata Proxies
DHCP
DHCP (Dynamic Host Configuration Protocol) allows clients to automatically obtain network configuration,
such as IP address, subnet mask, default gateway, and DNS configuration, from a DHCP server.
You can create DHCP servers to handle DHCP requests and create DHCP relay services to relay DHCP
traffic to external DHCP servers. However, you should not configure a DHCP server on a logical switch
and also configure a DHCP relay service on a router port that the same logical switch is connected to. In
such a scenario, DHCP requests will only go to the DHCP relay service.
If you configure DHCP servers, to improve security, configure a DFW rule to allow traffic on UDP ports 67
and 68 only for valid DHCP server IP addresses.
Note A DFW rule that has Logical Switch/Logical Port/NSGroup as the source, Any as the destination,
and is configured to drop DHCP packets for ports 67 and 68, will fail to block DHCP traffic. To block
DHCP traffic, configure Any as the source as well as the destination.
In this release, the DHCP server does not support guest VLAN tagging.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > DHCP > Server Pofiles > Add.
What to do next
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > DHCP > Servers > Add.
4 Enter the IP address of the DHCP server and its subnet mask in CIDR format.
6 (Optional) Enter common options such as domain name, default gateway, DNS servers, and subnet
mask.
9 Click Save.
12 Click Add to add IP ranges, default gateway, lease duration, warning threshold, error threshold,
classless static route option, and other options.
14 Click Add to add static bindings between MAC addresses and IP addresses, default gateway,
hostname, lease duration, classless static route option, and other options.
What to do next
Attach a DHCP server to a logical switch. See Attach a DHCP Server to a Logical Switch.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Click the logical switch that you intend to detach a DHCP server from.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > DHCP > Relay Profiles > Add.
What to do next
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > DHCP > Relay Services > Add.
What to do next
Add a DHCP service to a logical router port. See Add a DHCP Relay Service to a Logical Router Port.
Prerequisites
n Verify you have a configured DHCP relay service. See Create a DHCP Relay Service.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Select the appropriate router to display more information and configuration options.
5 Select the router port that connects to the desired logical switch and click Edit.
6 Select a DHCP relay service from the Relay Service drop-down list and click Save.
You can also select a DHCP relay service when you add a new logical router port.
DELETE /api/v1/dhcp/servers/<server-id>/leases?ip=<ip>&mac=<mac>
To ensure that the correct lease is deleted, call the following API before and after the DELETE API:
GET /api/v1/dhcp/servers/<server-id>/leases
After calling the DELETE API, make sure that the output of the GET API does not show the lease that was
deleted.
For more information, see the NSX-T Data Center API Reference.
Metadata Proxies
With a metadata proxy server, VM instances can retrieve instance-specific metadata from an OpenStack
Nova API server.
2 The metadata proxy server that is connected to the same logical switch as the VM reads the request,
makes appropriate changes to the headers, and forwards the request to the Nova API server.
3 The Nova API server requests and receives information about the VM from the Neutron server.
4 The Nova API server finds the metadata and sends it to the metadata proxy server.
A metadata proxy server runs on an NSX Edge node. For high availability, you can configure metadata
proxy to run on two or more NSX Edge nodes in an NSX Edge cluster.
Prerequisites
Verify that you have created an NSX Edge cluster. For more information, see NSX-T Data Center
Installation Guide.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > DHCP > Metadata Proxies > Add .
What to do next
Prerequisites
Verify that you have created a logical switch. For more information, see Create a Logical Switch.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > DHCP > Metadata Proxies.
Results
You can also attach a metadata proxy server to a logical switch by navigating to Switching > Switches,
selecting a switch, and selecting the menu option Actions > Attach Metadata Proxy.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > DHCP > Metadata Proxies.
4 Select the menu option Actions > Detach from Logical Switch
Results
You can also detach a metadata proxy server from a logical switch by navigating to Switching >
Switches, selecting a switch, and selecting the menu option Actions > Detach Metadata Proxy.
With IP address management (IPAM), you can create IP blocks to support NSX Container Plug-in (NCP).
For more info about NCP, see the NSX-T Container Plug-in for Kubernetes - Installation and
Administration Guide.
Note If you use the Advanced Networking & Security user interface to modify objects created in the
policy interface, some settings might not be configurable. These read-only settings have this icon next to
them: . See Chapter 1 Overview of the NSX Manager for more information.
n Manage IP Blocks
Manage IP Blocks
Setting up NSX Container Plug-in requires that you create IP blocks for the containers.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
a Click Delete.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
a Click Delete.
This information covers the NSX-T Data Center load balancing configuration found under the Advanced
Networking & Security tab.
For information about NSX Advanced Load Balancer (Avi Networks) see https://www.vmware.com/
products/nsx-advanced-load-balancer.html.
Note If you use the Advanced Networking & Security user interface to modify objects created in the
policy interface, some settings might not be configurable. These read-only settings have this icon next to
them: . See Chapter 1 Overview of the NSX Manager for more information.
The NSX-T Data Center logical load balancer offers high-availability service for applications and
distributes the network traffic load among multiple servers.
Tier 1
The load balancer distributes incoming service requests evenly among multiple servers in such a way that
the load distribution is transparent to users. Load balancing helps in achieving optimal resource
utilization, maximizing throughput, minimizing response time, and avoiding overload.
You can map a virtual IP address to a set of pool servers for load balancing. The load balancer accepts
TCP, UDP, HTTP, or HTTPS requests on the virtual IP address and decides which pool server to use.
Depending on your environment needs, you can scale the load balancer performance by increasing the
existing virtual servers and pool members to handle heavy network traffic load.
Note Logical load balancer is supported only on the Tier-1 logical router. One load balancer can be
attached only to a Tier-1 logical router.
A load balancer is connected to a Tier-1 logical router. The load balancer hosts single or multiple virtual
servers. A virtual server is an abstract of an application service, represented by a unique combination of
IP, port, and protocol. The virtual server is associated to single to multiple server pools. A server pool
consists of a group of servers. The server pools include individual server pool members.
To test whether each server is correctly running the application, you can add health check monitors that
check the health status of a server.
Tier - 1 A Tier - 1 B
LB 1 LB 2
HC 1 HC 2
Next, you can set up health check monitoring for your servers. You must then configure server pools for
your load balancer. Finally, you must create a layer 4 or layer 7 virtual server for your load balancer.
Tier-1
1
You can configure the level of error messages you want the load balancer to add to the error log.
Note Avoid setting the log level to DEBUG on load balancers with significant traffic due to the number of
messages printed to the log that affect performance.
Tier-1
1
Prerequisites
Verify that a Tier-1 logical router is configured. See Create a Tier-1 Logical Router .
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Load Balancer > Add.
4 Select the load balancer virtual server size and number of pool members based on your available
resources.
5 Define the severity level of the error log from the drop-down menu.
Load balancer collects information about encountered issues of different severity levels to the error
log.
6 Click OK.
a Select the load balancer and click Actions > Attach to a Virtual Server.
c Click OK.
a Select the load balancer and click Actions > Attach to a Logical Router.
c Click OK.
If you no longer want to use this load balancer, you must first detach the load balancer from the virtual
server and Tier-1 logical router.
Servers that fail to respond within a certain time period or respond with errors are excluded from future
connection handling until a subsequent periodic health check finds these servers to be healthy.
Active health checks are performed on server pool members after the pool member is attached to a
virtual server and that virtual server is attached to a Tier-1 gateway (previously called a Tier-1 logical
router).
If the Tier-1 gateway is connected to a Tier-0 gateway, a router link port is created and its IP address
(typically in the 100.64.x.x format) is used to perform the health check for the load balancer service. If
the Tier-1 gateway is standalone (has only one centralized service port and is not connected to a Tier-0
gateway), the centralized service port IP address is used to perform the health check for the load
balancer service. See Create a Standalone Tier-1 Logical Router for information about standalone Tier-1
gateways.
Note One active health monitor can be configured per server pool.
Tier-1
1
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Load Balancer > Monitors > Active
Health Monitors > Add.
4 Select a health check protocol for the server from the drop-down menu.
You can also use predefined protocols in NSX Manager; http-monitor, https-monitor, Icmp-monitor,
Tcp-monitor, and Udp-monitor.
You can also accept the default active health monitor values.
Option Description
Monitoring Interval Set the time in seconds that the monitor sends another connection request to the
server.
Fall Count Set a value when the consecutive failures reach this value, the server is considered
temporarily unavailable.
Rise Count Set a number after this timeout period, the server is tried again for a new
connection to see if it is available.
Timeout Period Set the number of times the server is tested before it is considered as DOWN.
For example, if the monitoring interval is set as 5 seconds and the timeout as 15 seconds, the load
balancer send requests to the server every 5 seconds. In each probe, if the expected response is
received from the server within 15 seconds, then the health check result is OK. If not, then the result
is CRITICAL. If the recent three health check results are all UP, the server is considered as UP.
7 If you select HTTP as the health check protocol, complete the following details.
Option Description
HTTP Method Select the method for detecting the server status from the drop-down menu, GET,
OPTIONS, POST, HEAD, and PUT.
HTTP Request URL Enter the request URI for the method.
HTTP Request Version Select the supported request version from the drop-down menu.
You can also accept the default version, HTTP_VERSION_1_1.
HTTP Response Code Enter the string that the monitor expects to match in the status line of HTTP
response body.
The response code is a comma-separated list.
For example, 200,301,302,401.
HTTP Response Body If the HTTP response body string and the HTTP health check response body
match, then the server is considered as healthy.
8 If you select HTTPs as the health check protocol, complete the following details.
TLS versions TLS1.1 and TLS1.2 versions are supported and enabled by default. TLS1.0 is
supported, but disabled by default.
b Click the arrow and move the protocols into the selected section.
d Complete the following details for HTTP as the health check protocol.
Option Description
HTTP Method Select the method for detecting the server status from the drop-down menu:
GET, OPTIONS, POST, HEAD, and PUT.
HTTP Request URL Enter the request URI for the method.
HTTP Request Version Select the supported request version from the drop-down menu.
You can also accept the default version, HTTP_VERSION_1_1.
HTTP Response Code Enter the string that the monitor expects to match in the status line of HTTP
response body.
The response code is a comma-separated list.
For example, 200,301,302,401.
HTTP Response Body If the HTTP response body string and the HTTP health check response body
match, then the server is considered as healthy.
9 If you select ICMP as the health check protocol, assign the data size in byte of the ICMP health check
packet.
10 If you select TCP as the health check protocol, you can leave the parameters empty.
If both the sent and expected are not listed, then a three-way handshake TCP connection is
established to validate the server health. No data is sent. Expected data if listed has to be a string
and can be anywhere in the response. Regular expressions are not supported.
11 If you select UDP as the health check protocol, complete the following required details.
UDP Data Sent Enter the string to be sent to a server after a connection is established.
UDP Data Expected Enter the string expected to receive from the server.
Only when the received string matches this definition, is the server is considered as
UP.
12 Click Finish.
What to do next
Associate the active health monitor with a server pool. See Add a Server Pool for Load Balancing.
Passive health check monitors client traffic going through the load balancer for failures. For example, if a
pool member sends a TCP Reset (RST) in response to a client connection, the load balancer detects that
failure. If there are multiple consecutive failures, then the load balancer considers that server pool
member to be temporarily unavailable and stops sending connection requests to that pool member for
some time. After some time, the load balancer sends a connection request to check if the pool member
has recovered. If that connection is successful, then the pool member is considered healthy. Otherwise,
the load balancer waits for some time and tries again.
Passive health check considers the following scenarios to be failures in client traffic.
n For server pools associated with Layer 7 virtual servers, if the connection to the pool member fails.
For example, if the pool member sends a TCP RST when the load balancer tries to connect or
perform a SSL handshake between load balancer and the pool member fails.
n For server pools associated with Layer 4 TCP virtual servers, if the pool member sends a TCP RST in
response to client TCP SYN or does not respond at all.
n For server pools associated with Layer 4 UDP virtual servers, if a port is unreachable or a destination
unreachable ICMP error message is received in response to a client UDP packet.
Server pools associated to Layer 7 virtual servers, the failed connection count is incremented when any
TCP connection errors, for example, TCP RST failure to send data or SSL handshake failures occur.
Server pools associated to Layer 4 virtual servers, if no response is received to a TCP SYN sent to the
server pool member or if a TCP RST is received in response to a TCP SYN, then the server pool member
is considered as DOWN. The failed count is incremented.
For Layer 4 UDP virtual servers, if an ICMP error such as, port or destination unreachable message is
received in response to client traffic, then it is considered as DOWN.
Note One passive health monitor can be configured per server pool.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Load Balancer > Monitors > Passive
Health Monitors > Add.
You can also accept the default active health monitor values.
Option Description
Fall Count Set a value when the consecutive failures reach this value, the server is considered
temporarily unavailable.
Timeout Period Set the number of times the server is tested before it is considered as DOWN.
For example, when the consecutive failures reach the configured value 5, that member is considered
temporarily unavailable for 5 seconds. After this period, that member is tried again for a new
connection to see if it is available. If that connection is successful, then the member is considered
available and the failed count is set to zero. However, if that connection fails, then it is not used for
another timeout interval of 5 seconds.
5 Click OK.
What to do next
Associate the passive health monitor with a server pool. See Add a Server Pool for Load Balancing.
Tier-1
1
Pool
Pool Members
Prerequisites
n If you use dynamic pool members, a NSGroup must be configured. See Create an NSGroup.
n Depending on the monitoring you use, verify that active or passive health monitors are configured.
See Configure an Active Health Monitor or Configure Passive Health Monitors.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Load Balancer > Server Pools > Add.
You can optionally describe the connections managed by the server pool.
Load balancing algorithm controls how the incoming connections are distributed among the members.
The algorithm can be used on a server pool or a server directly.
All load balancing algorithms skip servers that meet any of the following conditions:
n Connection limit for the maximum server pool concurrent connections is reached.
Option Description
ROUND_ROBIN Incoming client requests are cycled through a list of available servers capable of
handling the request.
Ignores the server pool member weights even if they are configured.
WEIGHTED_ROUND_ROBIN Each server is assigned a weight value that signifies how that server performs
relative to other servers in the pool. The value determines how many client
requests are sent to a server compared to other servers in the pool.
This load balancing algorithm focuses on fairly distributing the load among the
available server resources.
LEAST_CONNECTION Distributes client requests to multiple servers based on the number of connections
already on the server.
New connections are sent to the server with the fewest connections. Ignores the
server pool member weights even if they are configured.
WEIGHTED_LEAST_CONNECTION Each server is assigned a weight value that signifies how that server performs
relative to other servers in the pool. The value determines how many client
requests are sent to a server compared to other servers in the pool.
This load balancing algorithm focuses on using the weight value to distribute the
load among the available server resources fairly.
By default, the weight value is 1 if the value is not configured and slow start is
enabled.
IP-HASH Selects a server based on a hash of the source IP address and the total weight of
all the running servers.
With TCP multiplexing, you can use the same TCP connection between a load balancer and the
server for sending multiple client requests from different client TCP connections.
6 Set the maximum number of TCP multiplexing connections per pool that are kept alive to send future
client requests.
Depending on the topology, SNAT might be required so that the load balancer receives the traffic from
the server destined to the client. SNAT can be enabled per server pool.
Mode Description
Transparent Mode Load balancer uses the client IP address and port spoofing while establishing
connections to the servers.
SNAT is not required.
Auto Map Mode Load Balancer uses the interface IP address and ephemeral port to continue the
communication with a client initially connected to one of the server's established
listening ports.
SNAT is required.
Enable port overloading to allow the same SNAT IP and port to be used for multiple
connections if the tuple (source IP, source port, destination IP, destination port, and
IP protocol) is unique after the SNAT process is performed.
You can also set the port overload factor to allow the maximum number of times a
port can be used simultaneously for multiple connections.
IP List Mode Specify a single IP address range, for example, 1.1.1.1-1.1.1.10 to be used for
SNAT while connecting to any of the servers in the pool.
By default, from 4000 through 64000 port range is used for all configured SNAT IP
addresses. Port ranges from 1000 through 4000 are reserved for purposes such
as, health checks and connections initiated from Linux applications. If multiple IP
addresses are present, then they are selected in a Round Robin manner.
Enable port overloading to allow the same SNAT IP and port to be used for multiple
connections if the tuple (source IP, source port, destination IP, destination port, and
IP protocol) is unique after the SNAT process is performed.
You can also set the port overload factor to allow the maximum number of times a
port can be used simultaneously for multiple connections.
Server pool consists of single or multiple pool members. Each pool member has an IP address and a
port.
Each server pool member can be configured with a weight for use in the load balancing algorithm.
The weight indicates how much more or less load a given pool member can handle relative to other
members in the same pool.
Designating a pool member as a backup member works with the health monitor to provide an active/
standby state. If active members fail a health check, traffic failover occurs for backup members.
Option Description
9 Enter the minimum number of active members the server pool must always maintain.
10 Select an active and passive health monitor for the server pool from the drop-down menu.
Setting an active and passive health monitor for the server pool is optional. When you select an active
health monitor and if the Tier-1 gateway is connected to a Tier-0 gateway, a router link port is created.
The router link port's IP address (typically in the 100.64.x.x format) is used to perform the health
check for the load balancer service. If the Tier-1 gateway is standalone (has only one centralized
service port and is not connected to a Tier-0 gateway), the centralized service port IP address is used
to perform the health check for the load balancer service. See Create a Standalone Tier-1 Logical
Router for information about standalone Tier-1 gateways.
Add a firewall rule to allow the IP address to perform the health check for the load balancer service.
11 Click Finish.
Tier-1
1
Fast TCP
HTTP
Virtual Server Server-SSL Profile
Source-IP
Cookie
Pool
Application profiles define the behavior of a particular type of network traffic. The associated virtual server
processes network traffic according to the values specified in the application profile. Fast TCP, Fast UDP,
and HTTP application profiles are the supported types of profiles.
TCP application profile is used by default when no application profile is associated to a virtual server. TCP
and UDP application profiles are used when an application is running on a TCP or UDP protocol and
does not require any application level load balancing such as, HTTP URL load balancing. These profiles
are also used when you only want Layer 4 load balancing, which has faster performance and supports
connection mirroring.
HTTP application profile is used for both HTTP and HTTPS applications when the load balancer needs to
take actions based on Layer 7 such as, load balancing all images requests to a specific server pool
member or terminating HTTPS to offload SSL from pool members. Unlike the TCP application profile, the
HTTP application profile terminates the client TCP connection before selecting the server pool member.
Tier-1
Tier-1
Layer 7 VIP
(HTTP/HTTPS)
Load Balancer Server 1
Clients
Server 2
Virtual
Server 1
Server 3
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Load Balancer > Profiles > Application
Profiles.
a Select Add > Fast TCP Profile from the drop-down menu.
b Enter a name and a description for the Fast TCP application profile.
You can also accept the default FAST TCP profile settings.
Option Description
Connection Idle Timeout Enter the time in seconds on how long the server can remain idle after a TCP
connection is established.
Set the idle time to the actual application idle time and add a few more seconds
so that the load balancer does not close its connections before the application
does.
Connection Close Timeout Enter the time in seconds that the TCP connection both FINs or RST must be
kept for an application before closing the connection.
A short closing timeout might be required to support fast connection rates.
HA Flow Mirroring Toggle the button to make all the flows to the associated virtual server mirrored
to the HA standby node.
d Click OK.
b Enter a name and a description for the Fast UDP application profile.
Option Description
Idle Timeout Enter the time in seconds on how long the server can remain idle after a UDP
connection is established.
UDP is a connectionless protocol. For load balancing purposes, all the UDP
packets with the same flow signature such as, source and destination IP
address or ports and IP protocol received within the idle timeout period are
considered to belong to the same connection and sent to the same server.
If no packets are received during the idle timeout period, the connection which
is an association between the flow signature and the selected server is closed.
HA Flow Mirroring Toggle the button to make all the flows to the associated virtual server mirrored
to the HA standby node.
d Click OK.
HTTP application profile is used for both HTTP and HTTPS applications.
a Select Add > Fast HTTP Profile from the drop-down menu.
Option Description
Redirection n None - If a website is temporarily down, user receives a page not found
error message.
n HTTP Redirect - If a website is temporarily down or has moved, incoming
requests for that virtual server can be temporarily redirected to a URL
specified here. Only a static redirection is supported.
For HTTP to HTTPS redirect, the HTTPS virtual server must have port 443
and the same virtual server IP address must be configured on the same
load balancer.
X-Forwarded-For (XFF) n Insert - If the XFF HTTP header is not present in the incoming request, the
load balancer inserts a new XFF header with the client IP address. If the
XFF HTTP header is present in the incoming request, the load balancer
appends the XFF header with the client IP address.
n Replace - If the XFF HTTP header is present in the incoming request, the
load balancer replaces the header.
Web servers log each request they handle with the requesting client IP address.
These logs are used for debugging and analytics purposes. If the deployment
topology requires SNAT on the load balancer, then server uses the client SNAT
IP address which defeats the purpose of logging.
As a workaround, the load balancer can be configured to insert XFF HTTP
header with the original client IP address. Servers can be configured to log the
IP address in the XFF header instead of the source IP address of the
connection.
Connection Idle Timeout Enter the time in seconds on how long an HTTP application can remain idle,
instead of the TCP socket setting which must be configured in the TCP
application profile.
Request Header Size Specify the maximum buffer size in bytes used to store HTTP request headers.
NTLM Authentication Toggle the button for the load balancer to turn off TCP multiplexing and enable
HTTP keep-alive.
Option Description
NTLM is an authentication protocol that can be used over HTTP. For load
balancing with NTLM authentication, TCP multiplexing must be disabled for the
server pools hosting NTLM-based applications. Otherwise, a server-side
connection established with one client's credentials can potentially be used for
serving another client's requests.
If NTLM is enabled in the profile and associated to a virtual server, and TCP
multiplexing is enabled at the server pool, then NTLM takes precedence. TCP
multiplexing is not performed for that virtual server. However, if the same pool is
associated to another non-NTLM virtual server, then TCP multiplexing is
available for connections to that virtual server.
If the client uses HTTP/1.0, the load balancer upgrades to HTTP/1.1 protocol
and the HTTP keep-alive is set. All HTTP requests received on the same client-
side TCP connection are sent to the same server over a single TCP connection
to ensure that reauthorization is not required.
d Click OK.
Some applications maintain the server state such as, shopping carts. Such state might be per client and
identified by the client IP address or per HTTP session. Applications might access or modify this state
while processing subsequent related connections from the same client or HTTP session.
Source IP persistence profile tracks sessions based on the source IP address. When a client requests a
connection to a virtual server that enables the source address persistence, the load balancer checks if
that client was previously connected, if so, returns the client to the same server. If not, you can select a
server pool member based on the pool load balancing algorithm. Source IP persistence profile is used by
Layer 4 and Layer 7 virtual servers.
Cookie persistence profile inserts a unique cookie to identify the session the first time a client accesses
the site. The HTTP cookie is forwarded by the client in subsequent requests and the load balancer uses
that information to provide the cookie persistence. Cookie persistence profile can only be used by Layer 7
virtual servers.
Tier-1
Server 2
Virtual
Client 2 Server 1
Server 3
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Load Balancer > Profiles > Persistence
Profiles.
Option Description
Share Persistence Toggle the button to share the persistence so that all virtual servers this profile
is associated with can share the persistence table.
If persistence sharing is not enabled in the Source IP persistence profile
associated to a virtual server, each virtual server that the profile is associated to
maintain a private persistence table.
HA Persistence Mirroring Toggle the button to synchronize persistence entries to the HA peer.
Purge Entries When Full Purge entries when the persistence table is full.
A large timeout value might lead to the persistence table quickly filling up when
the traffic is heavy. When the persistence table fills up, the oldest entry is
deleted to accept the newest entry.
d Click OK.
c Toggle the Share Persistence button to share persistence across multiple virtual servers that are
associated to the same pool members.
The Cookie persistence profile inserts a cookie with the format, <name>.<profile-id>.<pool-id>.
If the persistence shared is not enabled in the Cookie persistence profile associated with a virtual
server, the private Cookie persistence for each virtual server is used and is qualified by the pool
member. The load balancer inserts a cookie with the format,
<name>.<virtual_server_id>.<pool_id>.
d Click Next.
Option Description
Cookie Garbling Encrypt the cookie server IP address and port information.
Toggle the button to disable encryption. When garbling is disabled, the cookie
server IP address and port information is in a plain text.
Cookie Fallback Select a new server to handle a client request if the cookie points to a server
that is in a DISABLED or is in a DOWN state.
Toggle the button so that the client request is rejected if cookie points to a
server that is in a DISABLED or is in a DOWN state.
Option Description
Cookie Time Type Select a cookie time type from the drop-down menu.
Session Cookie is not stored and will be lost when the browser is closed.
Persistence Cookie is stored by the browser and is not lost when the browser
is closed.
Maximum Idle Time Enter the time in seconds that a cookie can be idle before it expires.
Maximum Cookie Age For Session Cookie only. Enter the maximum age in seconds that a cookie can
be active.
g Click Finish.
Note SSL profile is not supported in the NSX-T Data Center limited export release.
Client-side SSL profile refers to the load balancer acting as an SSL server and terminating the client SSL
connection. Server-side SSL profile refers to the load balancer acting as a client and establishing a
connection to the server.
You can specify a cipher list on both the client-side and server-side SSL profiles.
SSL session caching allows the SSL client and server to reuse previously negotiated security parameters
avoiding the expensive public key operation during the SSL handshake. SSL session caching is disabled
by default on both the client-side and server-side.
SSL session tickets are an alternate mechanism that allow the SSL client and server to reuse previously
negotiated session parameters. In SSL session tickets, the client and server negotiate whether they
support SSL session tickets during the handshake exchange. If supported by both, server can send an
SSL ticket, which includes encrypted SSL session parameters to the client. The client can use that ticket
in subsequent connections to reuse the session. SSL session tickets are enabled on the client-side and
disabled on the server-side.
Tier-1
1
Layer 7 VIP
Load Balancer Server 1
Clients
Server 2
Virtual
Server 1
Server 3
Tier-1
1
Layer 7 VIP
HTTPS HTTPS
(Client SSL (Server SSL
Profile) Profile)
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Load Balancer > Profiles > SSL
Profiles.
a Select Add > Client Side SSL from the drop-down menu.
SSL protocol versions TLS1.1 and TLS1.2 are enabled by default. TLS1.0 is also supported, but
disabled by default.
Option Description
Session Caching SSL session caching allows the SSL client and server to reuse previously
negotiated security parameters avoiding the expensive public key operation
during an SSL handshake.
Session Cache Entry Timeout Enter the cache timeout in seconds to specify how long the SSL session
parameters must be kept and can be reused.
Prefer Server Cipher Toggle the button so that the server can select the first supported cipher from
the list it can support.
During an SSL handshake, the client sends an ordered list of supported ciphers
to the server.
i Click OK.
a Select Add > Server Side SSL from the drop-down menu.
SSL protocol versions TLS1.1 and TLS1.2 are enabled by default. TLS1.0 is also supported, but
disabled by default.
SSL session caching allows the SSL client and server to reuse previously negotiated security
parameters avoiding the expensive public key operation during an SSL handshake.
i Click OK.
A Layer 4 virtual server must be associated to a primary server pool, also called a default pool.
If a virtual server status is disabled, any new connection attempts to the virtual server are rejected by
sending either a TCP RST for the TCP connection or ICMP error message for UDP. New connections are
rejected even if there are matching persistence entries for them. Active connections continue to be
processed. If a virtual server is deleted or disassociated from a load balancer, then active connections to
that virtual server fail.
Prerequisites
n Verify that application profiles are available. See Configure Application Profiles.
n Verify that persistent profiles are available. See Configure Persistent Profiles.
n Verify that SSL profiles for the client and server are available. See Configure SSL Profile.
n Verify that server pools are available. See Add a Server Pool for Load Balancing.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Load Balancer > Virtual Servers > Add.
Layer 4 virtual servers support either the Fast TCP or Fast UDP protocol, but not both. For Fast TCP
or Fast UDP protocol support on the same IP address and port, for example DNS, a virtual server
must be created for each protocol.
Based on the protocol type, the existing application profile is automatically populated.
5 Toggle the Access Log button to enable logging for the Layer 4 virtual server.
6 Click Next.
You can enter the virtual server port number or port range.
Option Description
Maximum Concurrent Connection Set the maximum concurrent connection allowed to a virtual server so that the
virtual server does not deplete resources of other applications hosted on the same
load balancer.
Maximum New Connection Rate Set the maximum new connection to a server pool member so that a virtual server
does not deplete resources.
Default Pool Member Port Enter a default pool member port if the pool member port for a virtual server is not
defined.
For example, if a virtual server is defined with port range 2000-2999 and the default
pool member port range is set as 8000-8999, then an incoming client connection to
the virtual server port 2500 is sent to a pool member with a destination port set to
8500.
The server pool consists of one or more servers, also called pool members that are similarly
configured and running the same application.
The sorry server pool serves the request when a load balancer cannot select a backend server to the
serve the request from the default pool.
11 Click Next.
Persistence profile can be enabled on a virtual server to allow related client connections to be sent to
the same server.
13 Click Finish.
Load balancer rules are supported for only Layer 7 virtual servers with an HTTP application profile.
Different load balancer services can use load balancer rules.
Each load balancer rule consists of single or multiple match conditions and single or multiple actions. If
the match conditions are not specified, then the load balancer rule always matches and is used to define
default rules. If more than one match condition is specified, then the matching strategy determines if all
conditions must match or any one condition must match for the load balancer rule to be considered a
match.
Each load balancer rule is implemented at a specific phase of the load balancing processing; HTTP
Request Rewrite, HTTP Request Forwarding, and HTTP Response Rewrite. Not all the match conditions
and actions are applicable to each phase.
If a virtual server status is disabled, any new connection attempts to the virtual server are rejected by
sending either a TCP RST for the TCP connection or ICMP error message for UDP. New connections are
rejected even if there are matching persistence entries for them. Active connections continue to be
processed. If a virtual server is deleted or disassociated from a load balancer, then active connections to
that virtual server fail.
Prerequisites
n Verify that application profiles are available. See Configure Application Profiles.
n Verify that persistent profiles are available. See Configure Persistent Profiles.
n Verify that SSL profiles for the client and server are available. See Configure SSL Profile.
n Verify that server pools are available. See Add a Server Pool for Load Balancing.
n Verify that CA and client certificate are available. See Create a Certificate Signing Request File.
n Verify that a certification revocation list (CRL) is available. See Import a Certificate Revocation List.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Networking > Load Balancer > Virtual Servers > Add.
5 (Optional) Click Next to configure server pool and load balancing profiles.
6 Click Finish.
Load Balancer rules support REGEX for match types. PCRE style REGEX patters is supported with a few
limitations on advanced use cases. When REGEX is used in match conditions, named capturing groups
are supported.
n Character unions and intersections are not supported. For example, do not use [a-z[0-9]] and [a-
z&&[aeiou]] instead use [a-z0-9] and [aeiou] respectively.
n Only 9 back references are supported and \1 through \9 can be used to refer to them.
n Use \0dd format to match octal characters, not the \ddd format.
n Embedded flags are not supported at the top level, they are only supported within groups. For
example, do not use "Case (?i:s)ensitive" instead use "Case ((?i:s)ensitive)".
n Preprocessing operations \l, \u, \L, \U are not supported. Where \l - lowercase next char \u -
uppercase next char \L - lower case until \E \U - upper case to \E.
n Using named character construct for Unicode characters is not supported. For example, do not use
\N{name} instead use \u2018.
When REGEX is used in match conditions, named capturing groups are supported. For example, REGEX
match pattern /news/(?<year>\d+)-(?<month>\d+)-(?<day>\d+)/(?<article>.*) can be used to match a URI
like /news/2018-06-15/news1234.html.
Then variables are set as follows, $year = "2018" $month = "06" $day = "15" $article = "news1234.html".
After the variables are set, these variables can be used in load balancer rule actions. For example, URI
can be rewritten using the matched variables like, /news.py?year=$year&month=$month&day=
$day&article=$article. Then the URI gets rewritten as /news.py?
year=2018&month=06&day=15&article=news1234.html.
Rewrite actions can use a combination of named capturing groups and built-in variables. For example,
URI can be written as /news.py?year=$year&month=$month&day=$day&article=$article&user_ip=
$_remote_addr. Then the example URI gets rewritten as /news.py?
year=2018&month=06&day=15&article=news1234.html&user_ip=1.1.1.1.
Note For named capturing groups, the name cannot start with an _ character.
In addition to named capturing groups, the following built-in variables can be used in rewrite actions. All
the built-in variable names start with _.
n $_upstream_cookie_<name> - cookie with the specified name sent by the upstream server in the
"Set-Cookie" response header field
n $_upstream_http_<name> - arbitrary response header field and <name> is the field name converted
to lower case with dashes replaced by underscores
n $_host - in the order of precedence - host name from the request line, or host name from the "Host"
request header field, or the server name matching a request
n $_http_<name> - arbitrary request header field and <name> is the field name converted to lower case
with dashes replaced by underscores
n $_ssl_client_cert - returns the client certificate in the PEM format for an established SSL connection,
with each line except the first prepended with the tab character
n $_ssl_client_i_dn: returns the "issuer DN" string of the client certificate for an established SSL
connection according to RFC 2253
n $_ssl_client_s_dn: returns the "subject DN" string of the client certificate for an established SSL
connection according to RFC 2253
Prerequisites
Verify a Layer 7 virtual server is available. See Configure Layer 7 Virtual Servers.
Procedure
You can enter the virtual server port number or port range.
Option Description
Maximum Concurrent Connection Set the maximum concurrent connection allowed to a virtual server so that the
virtual server does not deplete resources of other applications hosted on the same
load balancer.
Maximum New Connection Rate Set the maximum new connection to a server pool member so that a virtual server
does not deplete resources.
Default Pool Member Port Enter a default pool member port if the pool member port for a virtual server is not
defined.
For example, if a virtual server is defined with port range 2000–2999 and the
default pool member port range is set as 8000-8999, then an incoming client
connection to the virtual server port 2500 is sent to a pool member with a
destination port set to 8500.
5 (Optional) Select an existing default server pool from the drop-down menu.
The server pool consists of one or more servers, called pool members that are similarly configured
and running the same application.
6 Click Add to configure the load balancer rules for the HTTP Request Rewrite phase.
Supported match types are, REGEX, STARTS_WITH, ENDS_WITH, etc and inverse option.
HTTP Request URI Match an HTTP request URI without query arguments.
http_request.uri - value to match
HTTP Request URI arguments Match an HTTP request URI query argument.
http_request.uri_arguments - value to match
Action Description
7 Click Add to configure the load balancer rules for the HTTP Request Forwarding.
HTTP Request URI args Match an HTTP request URI query argument.
http_request.uri_args - value to match
Action Description
Select Pool Force the request to a specific server pool. Specified pool member's configured
algorithm (predictor) is used to select a server within the server pool.
http_forward.select_pool - server pool UUID
8 Click Add to configure the load balancer rules for the HTTP Response Rewrite.
Action Description
HTTP Response Header Rewrite Modify the value of an HTTP response header.
http_response.header_name - header name
http_response.header_value - value to write
10 Click Finish.
Note SSL profile is not supported in the NSX-T Data Center limited export release.
If a client-side SSL profile binding is configured on a virtual server but not a server-side SSL profile
binding, then the virtual server operates in an SSL-terminate mode, which has an encrypted connection to
the client and plain text connection to the server. If both the client-side and server-side SSL profile
bindings are configured, then the virtual server operates in SSL-proxy mode, which has an encrypted
connection both to the client and the server.
Associating server-side SSL profile binding without associating a client-side SSL profile binding is
currently not supported. If a client-side and a server-side SSL profile binding is not associated with a
virtual server and the application is SSL-based, then the virtual server operates in an SSL-unaware
mode. In this case, the virtual server must be configured for Layer 4. For example, the virtual server can
be associated to a fast TCP profile.
Prerequisites
Verify a Layer 7 virtual server is available. See Configure Layer 7 Virtual Servers.
Procedure
Persistence profile allows related client connections to be sent to the same server.
6 Click Next.
Client-side SSL profile binding allows multiple certificates, for different host names to be associated to
the same virtual server.
This certificate is used if the server does not host multiple host names on the same IP address or if
the client does not support Server Name Indication (SNI) extension.
9 Select the available SNI certificate and click the arrow to move the certificate to the Selected section.
10 (Optional) Toggle the Mandatory Client Authentication to enable this menu item.
11 Select the available CA certificate and click the arrow to move the certificate to the Selected section.
12 Set the certificate chain depth to verify the depth in the server certificates chain.
13 Select the available CRL and click the arrow to move the certificate to the Selected section.
14 Click Next.
The client certificate is used if the server does not host multiple host names on the same IP address
or if the client does not support Server Name Indication (SNI) extension.
17 Select the available SNI certificate and click the arrow to move the certificate to the Selected section.
Server-side SSL profile binding specifies whether the server certificate presented to the load balancer
during the SSL handshake must be validated or not. When validation is enabled, the server certificate
must be signed by one of the trusted CAs whose self-signed certificates are specified in the same
server-side SSL profile binding.
19 Select the available CA certificate and click the arrow to move the certificate to the Selected section.
20 Set the certificate chain depth to verify the depth in the server certificates chain.
21 Select the available CRL and click the arrow to move the certificate to the Selected section.
A CRL can be configured to disallow compromised server certificates. OCSP and OCSP stapling are
not supported on the server-side.
22 Click Finish.
Note If you use the Advanced Networking & Security user interface to modify objects created in the
policy interface, some settings might not be configurable. These read-only settings have this icon next to
them: . See Chapter 1 Overview of the NSX Manager for more information.
Edge fire-walling is implemented on uplink router ports, meaning that firewall rules will be applicable only
if traffic hits uplink router ports on edge. To apply firewall rules to particular IP destination, you must
configure groups with /32 network. If you provide a subnet other than /32, firewall rules will be applied to
the complete subnet.
Prerequisites
Familiarize yourself with the parameters of a firewall rule. See Add a Firewall Rule.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
7 To add a rule, click Add Rule on the menu bar and select Add Rule Above or Add Rule Below, or
click the menu icon in the first column of a rule and select Add Rule Above or Add Rule Below, and
specify the rule parameters.
The Applied To field is not shown because this rule applies only to the logical router.
8 To delete a rule, select the rule, click Delete on the menu bar or click the menu icon in the first
column and select Delete.
Results
Note If you add a firewall rule to a tier-0 logical router and the NSX Edge cluster backing the router is
running in active-active mode, the firewall can only run in stateless mode. If you configure the firewall rule
with stateful services such as HTTP, SSL, TCP, and so on, the firewall rule will not work as expected. To
avoid this issue, configure the NSX Edge cluster to run in active-standby mode.
Prerequisites
Verify that the switch is attached to a bridge profile. See Create a Layer 2 Bridge-Backed Logical Switch.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Select Advanced Networking & Security > Security > Bridge Firewall.
4 Follow the same steps in previous sections for configuring layer 2 or layer 3 firewall.
A firewall section is made up from one or more individual firewall rules. Each individual firewall rule
contains instructions that determine whether a packet should be allowed or blocked; which protocols it is
allowed to use; which ports it is allowed to use and so forth. Sections are used for multi-tenancy , such as
specific rules for sales and engineering departments in separate sections.
A section can be defined as enforcing stateful or stateless rules. Stateless rules are treated as traditional
stateless ACLs. Reflexive ACLs are not supported for stateless sections. A mix of stateless and stateful
rules on a single logical switch port is not recommended and may cause undefined behavior.
Rules can be moved up and down within a section. For any traffic attempting to pass through the firewall,
the packet information is subjected to the rules in the order shown in the section, beginning at the top and
proceeding to the default rule at the bottom. The first rule that matches the packet has its configured
action applied, and any processing specified in the rule's configured options is performed and all
subsequent rules are ignored (even if a later rule is a better match). Thus, you should place specific rules
above more general rules to ensure those rules are not ignored. The default rule, located at the bottom of
the rule table, is a "catchall" rule; packets not matching any other rules will be enforced by the default
rule.
Note A logical switch has a property called N-VDS mode. This property comes from the transport zone
that the switch belongs to. If the N-VDS mode is ENS (also known as Enhanced Datapath), then you
cannot create a firewall rule or section with the switch or its ports in the Source, Destination, or
Applied To fields.
If it is disabled, no firewall rules are enforced at the dataplane level. Upon re-enablement rules are re-
enforced.
Procedure
1 Navigate to Advanced Networking & Security > Security > Distributed Firewall.
4 In the dialog box, toggle the firewall status to green (enabled) or gray (disabled).
5 Click Save.
Procedure
1 Select Advanced Networking & Security > Security > Distributed Firewall.
2 Click the General tab for layer 3 (L3) rules or the Ethernet tab for layer 2 (L2) rules.
4 Click the section icon on the menu bar and select Add Section Above or Add Section Below.
Note For any traffic attempting to pass through the firewall, the packet information is subjected to
the rules in the order shown in the Rules table, beginning at the top and proceeding to the default
rules at the bottom. In some cases, the order of precedence of two or more rules might be important
in determining the disposition of a packet.
6 To make the firewall stateless, select the Enable Stateless Firewall. This option is applicable for L3
only.
Stateless firewalls watch network traffic, and restrict or block packets based on source and
destination addresses or other static values. Stateful firewalls can watch traffic streams from end to
end. Stateless firewalls are typically faster and perform better under heavier traffic loads. Stateful
firewalls are better at identifying unauthorized and forged communications. There is no toggling
between stateful and stateless once it is defined.
The types of object are logical ports, logical switches, and NSGroups. If you select an NSGroup, it
must contain one or more logical switches or logical ports. If the NSGroup contains only IP sets or
MAC sets, it will be ignored.
Note The Applied To in a section it will override any Applied To settings in the rules in that section.
8 Click OK.
What to do next
When you delete a firewall rule section, all rules in that section are deleted. You cannot delete a section
and add it again at a different place in the firewall table. To do so, you must delete the section and publish
the configuration. Then add the deleted section to the firewall table and re-publish the configuration.
Procedure
1 Select Advanced Networking & Security > Security > Distributed Firewall.
2 Click the General tab for L3 rules or the Ethernet tab for L2 rules.
3 Click the menu icon in the first column of the section and select Delete Section.
You can also select the section and click the delete icon on the menu bar.
Procedure
1 Select Advanced Networking & Security > Security > Distributed Firewall.
2 Click the General tab for L3 rules or the Ethernet tab for L2 rules.
3 Click the menu icon in the first column of the section and select Enable All Rules or Disable All
Rules.
4 Click Publish.
Logs are stored in the /var/log/dfwpktlogs.log file on ESXi and KVM hosts.
Procedure
1 Select Advanced Networking & Security > Security > Distributed Firewall.
2 Click the General tab for L3 rules or the Ethernet tab for L2 rules.
3 Click the menu icon in the first column of the section and select Enable Logs or Disable Logs.
4 Click Publish.
After you've created a section with firewall rules you may want to exclude an NSX-T Data Center
appliance port from the firewall rules.
Note NSX-T Data Center automatically adds NSX Manager and NSX Edge node virtual machines to the
firewall exclusion list.
Procedure
1 Select Advanced Networking & Security > Security > Distributed Firewall > Exclusion List >
Add.
The available types are Logical Port, Logical Switch, and NSGroup.
3 Click OK.
4 To remove an object from the exclusion list, select the object and click Delete on the menu bar.
GET https://<nsx-mgr>/api/v1/service-configs
POST https://<nsx-mgr>/api/v1/service-config
{
"display_name":"testServiceConfig",
"profiles":[{"profile_type":"FirewallSessionTimerProfile",
"target_id":"183e372b-854c-4fcc-a24e-05721ce89a60"
}
],
“precedence”: 10,
“applied_to”: [{
"target_id":"333e372b-854c-4fcc-a24e-05721ce89b71",
"target_type" : "NSGroup"
}]
}
Example Response:
{
"id": "183e372b-854c-4fcc-a24e-05721ce89a60",
"display_name":"testServiceConfig",
"profiles":[{"profile_type":"FirewallSessionTimerProfile",
"target_id":"183e372b-854c-4fcc-a24e-05721ce89a60"
}
],
“precedence”: 10,
“applied_to”: [{
"target_id":"333e372b-854c-4fcc-a24e-05721ce89b71",
"target_type" : "NSGroup"
}]
"_create_user": "system",
"_last_modified_user": "system",
"_last_modified_time": 1414057732203,
"_create_time": 1414057732203
}
DELETE https://<nsx-mgr>/api/v1/service-configs/<183e372b-854c-4fcc-a24e-05721ce89a60>
GET https://<nsx-mgr>/api/v1/service-configs/<183e372b-854c-4fcc-a24e-05721ce89a60>
Example Response:
{
"_revision": 1,
"id": "183e372b-854c-4fcc-a24e-05721ce89a60",
"display_name":"testServiceConfig1",
"resource_type": "ServiceConfig",
"profiles":[{"profile_type":"FirewallSessionTimerProfile",
"target_id":"183e372b-854c-4fcc-a24e-05721ce89a45",
"is_valid":true
}],
“precedence”: 10,
“applied_to”: [{"target_id":"333e372b-854c-4fcc-a24e-05721ce89b71",
"target_type": "LogicalSwitch",
"is_valid":true
}
]
"_create_user": "system",
"_last_modified_user": "system",
"_last_modified_time": 1414057732203,
"_create_time": 1414057732203
}
PUT https://<nsx-mgr>/api/v1/service-configs/183e372b-854c-4fcc-a24e-05721ce89a60
{
"id": "183e372b-854c-4fcc-a24e-05721ce89a60",
"display_name":"testServiceConfig1",
"resource_type": "ServiceConfig",
"profiles":[{"profile_type":"FirewallSessionTimerProfile",
"target_id":"183e372b-854c-4fcc-a24e-05721ce89a45"
}],
“precedence”: 10,
“applied_to”: [{"target_id":"333e372b-854c-4fcc-a24e-05721ce89b71",
"target_type" : "NSGroup"
}]
"_create_user": "system",
"_last_modified_user": "system",
"_last_modified_time": 1414057732203,
"_create_time": 1414057732203,
"_create_user": "admin",
"_revision": 0
}
GET https://<nsx-mgr>/api/v1/service-configs/effective-profiles?
resource_id=<144e372b-854c-4fcc-a24e-05721ce89a60>&resource_type=NSGroup
Example Response:
{
"cursor": "00012",
"sort_ascending": true,
"result_count": 2,
"results": [
{ "profile_type":"FirewallSessionTimerProfile",
"target_id":"183e372b-854c-4fcc-a24e-05721ce89a45",
"target_name":"Firewall Session Timer Profile
"is_valid":true
},
{ "profile_type":"FirewallCpuMemThresholdsProfile",
"target_id":"5678372b-854c-4fcc-a24e-05721ce89a45",
"target_name":"Firewall CPU Profile
"is_valid":true
},
]
}
Firewall offers multiple sets of configurable rules: Layer 3 rules (General tab) and Layer 2 rules (Ethernet
tab). Layer 2 firewall rules are processed before Layer 3 rules. You can configure an exclusion list that
contains logical switches, logical ports, or groups that are to be excluded from firewall enforcement.
n Each packet is checked against the top rule in the rule table before moving down the subsequent
rules in the table.
n The first rule in the table that matches the traffic parameters is enforced.
No subsequent rules can be enforced as the search is then terminated for that packet. Because of this
behavior, it is always recommended to put the most granular policies at the top of the rule table. This will
ensure they will be enforced before more specific rules.
The default rule, located at the bottom of the rule table, is a catchall rule; packets not matching any other
rules will be enforced by the default rule. After the host preparation operation, the default rule is set to
allow action. This ensures that VM-to-VM communication is not broken during staging or migration
phases. It is a best practice to then change this default rule to block action and enforce access control
through a positive control model (i.e., only traffic defined in the firewall rule is allowed onto the network).
Note TCP strict can be enabled on a per section basis to turn off mid-session pick-up and enforce the
requirement for a three-way handshake. When enabling TCP strict mode for a particular Distributed
Firewall Section, and using a default ANY-ANY Block rule, packets that do not complete the three-way
handshake connection requirements, and that match a TCP-based rule in this section are dropped. Strict
is only applied to stateful TCP rules and is enabled at the distributed firewall section level. TCP strict is
not enforced for packets that match a default ANY-ANY Allow which as no TCP service specified.
Source The source of the rule can be either an IP or MAC address or an object other than an IP address. The
source will match any if not defined. Both IPv4 and IPv6 are supported for source or destination range.
Destination The destination IP or MAC address/netmask of the connection that is affected by the rule. The destination
will match any if not defined. Both IPv4 and IPv6 are supported for source or destination range.
Service The service can be a predefined port protocol combination for L3. For L2 it can be ether-type. For both L2
and L3 you can manually define a new service or service group. The service will match any, if it is not
specified.
Applied To Defines the scope at which this rule is applicable. If not defined the scope will be all logical ports. If you
have added "applied to" in a section it will overwrite the rule.
Log Logging can be turned off or on. Logs are stored at /var/log/dfwpktlogs.log file on ESX and KVM hosts.
Action The action applied by the rule can be Allow, Drop, or Reject. The default is Allow.
IP Protocol The options are IPv4, IPv6, and IPv4_IPv6. The default is IPv4_IPv6. To access this property, click the
Advanced Settings icon.
Direction The options are In, Out, and In/Out. The default is In/Out. This field refers to the direction of traffic from
the point of view of the destination object. In means that only traffic to the object is checked, Out means
that only traffic from the object is checked, and In/Out means traffic in both directions is checked. To
access this property, click the Advanced Settings icon.
Rule Tags Tags that have been added to the rule. To access this property, click the Advanced Settings icon.
Flow Statistics Read-only field that displays the byte, packet count, and sessions. To access this property, click the graph
icon.
Note If SpoofGuard is not enabled, automatically discovered address bindings cannot be guaranteed to
be trustworthy because a malicious virtual machine can claim the address of another virtual machine.
SpoofGuard, if enabled, verifies each discovered binding so that only approved bindings are presented.
Firewall rules are added at the NSX Manager scope. Using the Applied To field, you can then narrow
down the scope at which you want to apply the rule. You can add multiple objects at the source and
destination levels for each rule, which helps reduce the total number of firewall rules to be added.
Note By default, a rule matches on the default of any source, destination, and service rule elements,
matching all interfaces and traffic directions. If you want to restrict the effect of the rule to particular
interfaces or traffic directions, you must specify the restriction in the rule.
Prerequisites
To use a group of addresses, first manually associate the IP and MAC address of each VM with their
logical switch.
Procedure
1 Select Advanced Networking & Security > Security > Distributed Firewall.
2 Click the General tab for L3 rules or the Ethernet tab for L2 rules.
4 Click the menu icon in the first column of a rule and select Add Rule Above or Add Rule Below.
Note For any traffic attempting to pass through the firewall, the packet information is subjected to
the rules in the order shown in the Rules table, beginning at the top and proceeding to the default
rules at the bottom. In some cases, the order of precedence of two or more rules might be important
in determining the disposition of a packet.
6 In the Source column, click the edit icon and select the source of the rule. The source will match any
if not defined.
Option Description
IP Enter multiple IP or MAC addresses in a comma-separated list. The list can contain up to 255 characters. Both IPv4
Addresses and IPv6 formats are supported.
Container The available objects are IP Set, Logical Port, Logical Switch, and NS Group. Select the objects and click OK.
Objects
7 In the Destination column, click the edit icon and select the destination. The destination will match
any if not defined.
Option Description
IP You can enter multiple IP or MAC addresses in a comma-separated list. The list can contain up to 255 characters.
Addresses Both IPv4 and IPv6 formats are supported.
Container The available objects are IP Set, Logical Port, Logical Switch, and NS Group. Select the objects and click OK.
Objects
8 In the Service column, click the edit icon and select services. The service will match any if not
defined.
10 To define a new service, click the Raw Port-Protocol tab and click Add..
Option Description
11 In the Applied To column, click the edit icon and select objects.
Logs are in the /var/log/dfwpktlogs.log file on ESXi and KVM hosts. Enabling logging can affect
performance.
Option Description
Allow Allows all L3 or L2 traffic with the specified source, destination, and protocol to
pass through the current firewall context. Packets that match the rule, and are
accepted, traverse the system as if the firewall is not present
Drop Drops packets with the specified source, destination, and protocol. Dropping a
packet is a silent action with no notification to the source or destination systems.
Dropping the packet causes the connection to be retried until the retry threshold is
reached.
Reject Rejects packets with the specified source, destination, and protocol. Rejecting a
packet is a more graceful way to deny a packet, as it sends a destination
unreachable message to the sender. If the protocol is TCP, a TCP RST message is
sent. ICMP messages with administratively prohibited code are sent for UDP,
ICMP, and other IP connections. One benefit of using Reject is that the sending
application is notified after only one attempt that the connection cannot be
established.
14 Click the Advanced Settings icon to specify IP protocol, direction, rule tags, and comments.
15 Click Publish.
Procedure
1 Select Advanced Networking & Security > Security > Distributed Firewall.
2 Click the General tab for L3 rules or the Ethernet tab for L2 rules.
3 Click the menu icon in the first column of the rule and select Delete Rule.
4 Click Publish.
The default firewall rules apply to traffic that does not match any of the user-defined firewall rules. The
default Layer 3 rule is under the General tab and the default Layer 2 rule is under the Ethernet tab.
The default firewall rules allow all L3 and L2 traffic to pass through all prepared clusters in your
infrastructure. The default rule is always at the bottom of the rules table and cannot be deleted. However,
you can change the Action element of the rule from Allow to Drop or Reject (not recommended), and
indicate whether traffic for that rule should be logged.
The default Layer 3 firewall rule applies to all traffic, including DHCP. If you change the Action to Drop or
Reject, DHCP traffic will be blocked. You will need to create a rule to allow DHCP traffic.
Procedure
1 Select Advanced Networking & Security > Security > Distributed Firewall.
2 Click the General tab for L3 rules or the Ethernet tab for L2 rules.
n Allow - Allows all L3 or L2 traffic with the specified source, destination, and protocol to pass
through the current firewall context. Packets that match the rule, and are accepted, traverse the
system as if the firewall is not present.
n Drop - Drops packets with the specified source, destination, and protocol. Dropping a packet is a
silent action with no notification to the source or destination systems. Dropping the packet causes
the connection to be retried until the retry threshold is reached.
n Reject - Rejects packets with the specified source, destination, and protocol. Rejecting a packet
is a more graceful way to deny a packet, as it sends a destination unreachable message to the
sender. If the protocol is TCP, a TCP RST message is sent. ICMP messages with administratively
prohibited code are sent for UDP, ICMP, and other IP connections. One benefit of using Reject is
that the sending application is notified after only one attempt that the connection cannot be
established.
Note Selecting Reject as the action for the default rule is not recommended.
6 Click Publish.
For any traffic attempting to pass through the firewall, the packet information is subjected to the rules in
the order shown in the rules table, beginning at the top and proceeding to the default rules at the bottom.
In some cases, the order of precedence of two or more rules might be important in determining the traffic
flow.
You can move a custom rule up or down in the table. The default rule is always at the bottom of the table
and cannot be moved.
Procedure
1 Select Advanced Networking & Security > Security > Distributed Firewall.
2 Click the General tab for L3 rules or the Ethernet tab for L2 rules.
3 Select the rule and click the Move Up or Move Down icon on the menu bar.
4 Click Publish.
Procedure
1 Select Advanced Networking & Security > Security > Distributed Firewall.
2 Click the General tab for L3 rules or the Ethernet tab for L2 rules.
3 In the search text field on the right side of the menu bar, select an object or enter the beginning
characters of an object's name to narrow down the list of objects to select.
After you select an object, the filter is applied and the list of rules is updated, showing only rules that
contain the object in any of the following columns:
n Sources
n Destinations
n Applied To
n Services
4 To remove the filter, delete the object name from the text field.
Prerequisites
It is recommended you review the documentation on Layer 2 Bridging and Firewall Sections and Firewall
Rules.
Procedure
2 Configure a bridge profile on the new NSX Edge (or NSX Edges if you created an HA cluster).
4 Create a VLAN port group with the same VLAN identifier on a distributed virtual switch.
a In the NSX Manager, select the Advanced Networking & Security tab.
b In the navigation panel, select Security > Bridge Firewall to display the Bridge Firewall controls.
c For Logical Switch, select the logical switch you attached to the bridge profile.
You may need to change the configuration of the appliances you've installed, for example, adding
licenses, certificates, and changing passwords. There are also routine maintenance tasks that you should
perform, including running backups. Additionally, there are tools to help you find information about the
appliances that are part of the NSX-T Data Center infrastructure and the logical networks created by
NSX-T Data Center, including remote system logging, traceflow, and port connections.
n Configuring Appliances
n Setting Up Certificates
n Compliance-Based Configuration
n Log Messages
You can access the monitoring dashboards from the Home page of the NSX Manager interface. From the
dashboards, you can click through and access the source pages from which the dashboard data is drawn.
Procedure
3 Click Monitoring Dashboards and select the desired category of dashboards from the drop-down
menu.
The page displays the dashboards in the selected categories. The dashboard graphics are color-
coded, with color code key displayed directly above the dashboards.
4 To access a deeper level of detail, click the title of the dashboard, or one of the elements of the
dashboard, if activated.
The following tables describe the default dashboards and their sources.
System System > Appliances > Shows the status of the NSX Manager cluster and resource (CPU,
Overview memory, disk) consumption.
Fabric System > Fabric > Nodes Shows the status of the NSX-T fabric, including host and edge
System > Fabric > Transport transport nodes, transport zones, and compute managers.
Zones
System > Fabric > Compute
Managers
Backups System > Backup & Restore Shows the status of NSX-T backups, if configured. It is strongly
recommended that you configure scheduled backups that are stored
remotely to an SFTP site.
Endpoint Protection System > Service Deployments Shows the status of endpoint protection deployment.
Security Inventory > Groups Shows the status of groups and security policies. A group is a
Security > Distributed Firewall collection of workloads, segments, segment ports, and IP addresses,
where security policies, including East-West firewall rules, may be
applied.
Gateways Networking > Tier-0 Gateways Shows the status of Tier-0 and Tier-1 gateways.
Networking > Tier-1 Gateways
Load Balancers Networking > Load Balancing Shows the status of the load balancer VMs.
VPNs Networking > VPN Shows the status of virtual private networks.
Load Balancers Advanced Networking & Shows the status of the load balancer services, load balancer virtual
Security > Load Balancers servers, and load balancer server pools. A load balancer can host one
or more virtual servers. A virtual server is bound to a server pool that
includes members hosting applications.
Firewall Advanced Networking & Indicates if the firewall is enabled, and shows the number of policies,
Security > Security > rules, and exclusions list members.
Distributed Firewall
Note Each detailed item displayed in this dashboard is sourced from
Advanced Networking &
a specific sub-tab in the source page cited.
Security > Security > Bridge
Firewall
Advanced Networking &
Security > Networking >
Routers
VPN Not applicable. Shows the status of virtual private networks and the number of IPSec
and L2 VPN sessions open.
Switching Advanced Networking & Shows the status of logical switches and logical ports, including both
Security > Switching VM and container ports.
Resource Name The NSX-T resource (node, switch, and profile) in non-compliance.
Affected Resources Number of resources affected. Click the number value to view a list.
See the Compliance Status Report Codes for more information about each compliance report code.
To see the usage and capacity of different categories of objects, click one of the following tabs:
You can also navigate to Plan & Troubleshoot > Consolidated Capacity to see all the object categories
on one page.
On each capacity page, for each category of objects, the following information is displayed:
n Current inventory (realized) - The number of objects that have been successfully created or
configured. This number reflects the NSX Manager objects that are shown in the Advanced
Networking & Security tab. These objects can include some that you create in the Networking,
Security, Inventory, or System tabs. A color-coded bar is displayed to indicate the usage
percentage. If usage is below the warning alert level, the color is green. If usage is at or above the
warning alert level but below the critical alert level, the color is orange. If usage is at or above the
critical alert level, the color is red.
n Warning alert - This is the usage level at which the usage bar mentioned above will show an orange
color. You can change this value.
n Critical alert - This is the usage level at which the usage bar mentioned above will show a red color.
You can change this value.
When you change the warning alert or critical alert value, you can click Revert to go back to the last
saved value. You can click Reset Values to restore the default values for all the object categories.
n Prefix lists
n Logical switches
n IP sets
n vCenter clusters
n Hypervisor hosts
n Edge clusters
The configuration change that you initiate is called the desired state. The result of implementing the
change is called the realized state. If NSX Manager implements the change successfully, the realized
state will be the same as the desired state. If there is an error, the realized state will not be the same as
the desired state.
For some layer 3 entities, when you call an API to make a configuration change, the response will include
the parameter request_id. You can use the parameters request_id and the entity_id to make an
API call to find out the status of the request.
EdgeCluster
POST /edge-clusters
PUT /edge-clusters/<edge-cluster-id>
DELETE /edge-clusters/<edge-cluster-id>
POST /edge-clusters/<edge-cluster-id>?action=replace_transport_node
LogicalRouter
POST /logical-routers
PUT /logical-routers/<logical-router-id>
DELETE /logical-routers/<logical-router-id>
POST /logical-routers/<logical-router-id>?action=reprocess
POST /logical-routers/<logical-router-id>?action=reallocate
LogicalRouterPort
POST /logical-router-ports
PUT /logical-router-ports/<logical-router-port-id>
DELETE /logical-router-ports/<logical-router-port-id>
StaticRoute
POST /logical-routers/<logical-router-id>/routing/static-routes
PUT /logical-routers/<logical-router-id>/routing/static-routes/<static-route-id>
DELETE /logical-routers/<logical-router-id>/routing/static-routes/<static-route-id>
BGPConfig
PUT /logical-routers/<logical-router-id>/routing/bgp
BgpNeighbor
POST /logical-routers/<logical-router-id>/routing/bgp/neighbors
PUT /logical-routers/<logical-router-id>/routing/bgp/neighbors/<bgp-neighbor-id>
DELETE /logical-routers/<logical-router-id>/routing/bgp/neighbors/<bgp-neighbor-id>
POST /logical-routers/<logical-router-id>/routing/bgp/neighbors/<bgp-neighbor-id>
BGPCommunityList
POST /logical-routers/<logical-router-id>/routing/bgp/community-lists
PUT /logical-routers/<logical-router-id>/routing/bgp/community-lists/<community-list-id>
DELETE /logical-routers/<logical-router-id>/routing/bgp/community-lists/<community-list-id>
AdvertisementConfig
PUT /logical-routers/<logical-router-id>/routing/advertisement
AdvertiseRouteList
PUT /logical-routers/<logical-router-id>/routing/advertisement/rules
NatRule
POST /logical-routers/<logical-router-id>/nat/rules
PUT /logical-routers/<logical-router-id>/nat/rules/<rule-id>
DELETE /logical-routers/<logical-router-id>/nat/rules/<rule-id>
DhcpRelayService
POST /dhcp/relays
PUT /dhcp/relays/<relay-id>
DELETE /dhcp/relays/<relay-id>
DhcpRelayProfile
POST /dhcp/relay-profiles
PUT /dhcp/relay-profiles/<relay-profile-id>
DELETE /dhcp/relay-profiles/<relay-profile-id>
StaticHopBfdPeer
POST /logical-routers/<logical-router-id>/routing/static-routes/bfd-peers
PUT /logical-routers/<logical-router-id>/routing/static-routes/bfd-peers/<bfd-peers-id>
DELETE /logical-routers/<logical-router-id>/routing/static-routes/bfd-peers/<bfd-peers-id>
IPPrefixList
POST /logical-routers/<logical-router-id>/routing/ip-prefix-lists
PUT /logical-routers/<logical-router-id>/routing/ip-prefix-lists/<ip-prefix-list-id>
DELETE /logical-routers/<logical-router-id>/routing/ip-prefix-lists/<ip-prefix-list-id>
RouteMap
POST /logical-routers/<logical-router-id>/routing/route-maps
PUT /logical-routers/<logical-router-id>/routing/route-maps/<route-map-id>
DELETE /logical-routers/<logical-router-id>/routing/route-maps/<route-map-id>
RedistributionConfig
PUT /logical-routers/<logical-router-id>/routing/redistribution
RedistributionRuleList
PUT /logical-routers/<logical-router-id>/routing/redistribution/rules
BfdConfig
PUT /logical-routers/<logical-router-id>/routing/bfd-config
MplsConfig
PUT /logical-routers/<logical-router-id>/routing/mpls
RoutingGlobalConfig
PUT /logical-routers/<logical-router-id>/routing
IPSecVPNIKEProfile
POST /vpn/ipsec/ike-profiles
PUT /vpn/ipsec/ike-profiles/<ike-profile-id>
DELETE /vpn/ipsec/ike-profiles/<ike-profile-id>
IPSecVPNDPDProfile
POST /vpn/ipsec/dpd-profiles
PUT /vpn/ipsec/dpd-profiles/<dpd-profile-id>
DELETE /vpn/ipsec/dpd-profiles/<dpd-profile-id>
IPSecVPNTunnelProfile
POST /vpn/ipsec/tunnel-profiles
PUT /vpn/ipsec/tunnel-profiles/<tunnel-profile-id>
DELETE /vpn/ipsec/tunnel-profiles/<tunnel-profile-id>
IPSecVPNLocalEndpoint
POST /vpn/ipsec/local-endpoints
PUT /vpn/ipsec/local-endpoints/<local-endpoint-id>
DELETE /vpn/ipsec/local-endpoints/<local-endpoint-id>
IPSecVPNPeerEndpoint
POST /vpn/ipsec/peer-endpoints
PUT /vpn/ipsec/peer-endpoints/<peer-endpoint-id>
DELETE /vpn/ipsec/peer-endpoints/<peer-endpoint-id>
IPSecVPNService
POST /vpn/ipsec/services
PUT /vpn/ipsec/services/<service-id>
DELETE /vpn/ipsec/services/<service-id>
IPSecVPNSession
POST /vpn/ipsec/sessions
PUT /vpn/ipsec/sessions/<session-id>
DELETE /vpn/ipsec/sessions/<session-id>
DhcpServer
POST /dhcp/servers
PUT /dhcp/servers/<server-id>
DELETE /dhcp/servers/<server-id>
DhcpStaticBinding
POST /dhcp/servers/static-bindings
PUT /dhcp/servers/<server-id>/static-bindings/<binding-id>
DELETE /dhcp/servers/<server-id>/static-bindings/<binding-id>
DhcpIpPool
POST /dhcp/servers/ip-pools
PUT /dhcp/servers/<server-id>/ip-pools/<pool-id>
DELETE /dhcp/servers/<server-id>/ip-pools/<pool-id>
DnsForwarder
POST /dns/forwarders
PUT /dns/forwarders/<forwarder-id>
DELETE /dns/forwarders/<forwarder-id>
You can call the following APIs to get the realized states:
EdgeCluster
Request - GET /edge-clusters/<edge-cluster-id>/state?request_id=<request-id>
Response - An instance of EdgeClusterStateDto which will inherit ConfigurationState. If the edge
cluster is deleted then the state will be unknown and it will return the common entity not found
error.
LogicalRouter / All L3 Entites - All L3 entities can use this API to get realization state
Request - GET /logical-routers/<logical-router-id>/state?request_id=<request-id>
Response - An instance of LogicalRouterStateDto which will inherit ConfigurationState. Delete
operation of any entity other than logical router can be covered by getting the state of logical
router but if the logical router itself is deleted then the state will be unknown and it will return
the common entity not found error.
LogicalServiceRouterCluster - All L3 entities which are the part of services can use this API to get
the realization state
Request - GET /logical-routers/<logical-router-id>/service-cluster/state?request_id=<request-id>
Response - An instance of LogicalServiceRouterClusterState which will inherit ConfigurationState.
DhcpServer
Request - GET /dhcp/servers/<server-id>/state?request_id=<request-id>
Response - An instance of ConfigurationState.
DhcpStaticBinding
Request - GET /dhcp/servers/<server-id>/static-bindings/<binding-id>/state?request_id=<request-id>
Response - An instance of ConfigurationState.
DhcpIpPool
Request - GET /dhcp/servers/<server-id>/ip-pools/<pool-id>/state?request_id=<request-id>
Response - An instance of ConfigurationState.
DnsForwarder
Request - GET /dns/forwarders/<forwarder-id>/state?request_id=<request-id>
Response - An instance of ConfigurationState.
For more information about the APIs, see the NSX-T Data Center API Reference.
The search results are sorted by relevance and you can filter these results based on your search query.
Note If you have special characters in your search query that also function as operators, then you must
add a leading backslash. The characters that function as operators are: +, -, =, &&, ||, <, >, !, (, ), {, }, [, ],
^, '', ~, ?, :, /, \.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
As you enter your search pattern, the search feature provides assistance by showing the applicable
keywords.
All the related search results are listed and grouped by resource type in different tabs.
You can click the tabs for specific search results for a resource type.
3 (Optional) In the search bar, click the save icon to save your refined search criteria.
4 In the search bar, click the icon to open the advanced search column where you can refine your
search.
n Name
n Resource Type
n Description
n ID
n Created by
n Modified by
n Tags
n Creation Date
n Modified Date
You can also view your recent search results and saved search criteria.
n Predefined filters – A list of commonly used filters that you can apply to your objects.
n Text-based filter – A filter based on the attribute value that you enter. This filter is applicable only to
the Name, Tag, Path, and Description attributes of the objects.
n Attribute-value pairs – An attribute drop-down menu that you can use to specify attribute-value pairs
for filtering.
You can either use multiple attributes of an object or multiple values of a single attribute to filter objects.
The AND operator is applied when you select multiple attributes whereas the OR operator is used when
you specify multiple values of a single attribute.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Navigate to the tab that displays the objects you want to view.
3 Specify the attributes that you want to use to filter the objects.
n Select an attribute from the drop-down menu and specify its value. For example, Status: Down
NSX-T Data Center polls compute managers to collect cluster information from vCenter Server.
When you add a vCenter Server compute manager, you must provide a vCenter Server user's
credentials. You can provide the vCenter Server administrator's credentials, or create a role and a user
specifically for NSX-T Data Center and provide this user's credentials. This role must have the following
vCenter Server privileges:
Extension.Register extension
Extension.Unregister extension
Extension.Update extension
Sessions.Message
Sessions.Validate session
Host.Configuration.Maintenance
Tasks
Scheduled task
Global.Cancel task
Virtual Machine.Configuration
Virtual Machine.Provisioning
Virtual Machine.Inventory
Network.Assign network
vApp
For more information about vCenter Server roles and privileges, see the vSphere Security document.
Prerequisites
n Verify that you use the supported vSphere version. See Supported vSphere version.
n Verify that you use the recommended number of compute managers. See https://
configmax.vmware.com/home.
Note NSX-T Data Center does not support the same vCenter Server to be registered with more than
one NSX Manager.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Option Description
Name and Description Type the name to identify the vCenter Server.
You can optionally describe any special details such as, the number of clusters in
the vCenter Server.
Option Description
If you left the thumbprint value blank, you are prompted to accept the server provided thumbprint.
After you accept the thumbprint, it takes a few seconds for NSX-T Data Center to discover and
register the vCenter Server resources.
4 If the progress icon changes from In progress to Not registered, perform the following steps to
resolve the error.
a Select the error message and click Resolve. One possible error message is the following:
Results
It takes some time to register the compute manager with vCenter Server and for the connection status to
appear as UP.
You can click the compute manager's name to view the details, edit the compute manager, or to manage
tags that apply to the compute manager.
After the vCenter Server is successfully registered, do not power off and delete the NSX Manager VM
without deleting the compute manager first. Otherwise, when you deploy a new NSX Manager, you will
not be able to register the same vCenter Server again. You will get the error that the vCenter Server is
alredy registered with another NSX Manager.
Windows 2008 is not supported as an Active Directory server or RDSH Server OS.
You can register one or more Windows domains with an NSX Manager. NSX Manager gets group and
user information, and the relationship between them from each domain that it is registered. NSX Manager
also retrieves Active Directory (AD) credentials.
Once the Active Directory is synced to the NSX Manager, you can create security groups based on user
identity, and create identity-based firewall rules.
Note For Identity Firewall rule enforcement, Windows Time service should be on for all VMs using
Active Directory. This ensures that the date and time is synchronized between Active Directory and VMs.
Additionally, AD group membership changes, including enabling and deleting users, do not immediately
take effect for logged in users. For changes to take effect, users must log out and then log back in. AD
administrator's should force a logout when group membership is modified. This behavior is a limitation of
Active Directory.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
To retrieve the netBIOS name for your domain, enter nbtstat -n in a command window on a Windows
Workstation that is part of a domain, or on a domain controller. In the NetBIOS Local Name Table, the
entry with a <00> prefix and type Group is the NetBIOS name.
6 Set the Delta Synchronization Interval if necessary. A delta synchronization updates local AD
objects that have changed since the last synchronization event.
Any changes made in Active Directory are NOT seen on NSX Manager until a delta or full
synchronization has been performed.
7 Click Save.
Prerequisites
The domain account must have AD read permission for all objects in the domain tree. The event log
reader account must have read permissions for security event logs.
When there is a cluster of NSX Managers, all nodes need to be able to reach the LDAP server.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
6 Select the active directory the LDAP server is connected to from the Connected to (Directory) drop-
down menu.
8 If LDAPS was selected, select the SHA-256 Thumbprint suggested by NSX Manager or enter a
SHA-256 Thumbprint.
For local domain controllers, the default LDAP port 389 and LDAPS port 636 are used for the Active
Directory sync, and should not be edited from the default values.
11 Click Save.
12 To verify that you can connect to the LDAP server, click Test Connection.
If you use the API to manually end a full sync after it is has begun, the sync stats will not be updated
correctly.
Note IDFW relies on the security and integrity of the guest operating system. There are multiple
methods for a malicious local administrator to spoof their identity to bypass firewall rules. User identity
information is provided by the Guest Introspection Agent inside guest VMs. Security administrators need
to ensure that NSX Guest Introspection Agent is installed and running in each guest VM. Logged-in users
should not have the privilege to remove or stop the agent.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Click the three button menu icon next to the Active Directory that you want to synchronize, and select
one of the following:
Sync All Perform a full synchronization, where the local state of all AD
objects is updated.
4 Click View Sync Status to see the current state of the Active Directory, the previous synchronization
state, the synchronization status, and the last synchronization time.
For users managed by vIDM, the authentication policy that applies is the one configured by the vIDM
administrator, and not NSX-T Data Center's authentication policy, which applies to users admin and audit
only.
The audit user is not active by default. To activate it, log in as admin and run the set user audit
command and provide a new password. When prompted for the current password, press the Enter key.
By default, user passwords expire after 90 days. You can change or disable the password expiration for
each user.
When the password of a local user on the NSX Manager will expire within 30 days, the NSX Manager
web interface displays a password expiration notification. If you set a local user's password expiration to
30 days or fewer the notification is always present.
Starting in NSX-T Data Center 2.5.1, the notification includes a "Change Password" link. Click the link to
change the local user's password from the web interface.
Prerequisites
Familiarize yourself with the password complexity requirements for NSX Manager and NSX Edge. See
"NSX Manager Installation" and "NSX Edge Installation" in the NSX-T Data Center Installation Guide.
Procedure
2 To change the password, run the set user command. For example:
3 To get the password expiration information, run the get user <username> password-expiration
command. For example:
4 To set the password expiration time in days, run the set user <username> password-expiration
<number of days> command. For example:
Note If you have an NSX Manager cluster, resetting the password for the root, admin, or audit user on
one NSX Manager will automatically reset the password for the other NSX Managers in the cluster.
When you reboot an appliance, the GRUB boot menu does not appear by default. The following
procedure requires that you have configured GRUB to display the GRUB boot menu. For more
information about configuring GRUB and changing the GRUB root password, see "Configure NSX-T Data
Center to Display the GRUB Menu at Boot Time" in the NSX-T Data Center Installation Guide.
Procedure
3 When the GRUB boot menu appears, press the left SHIFT or ESC key quickly. If you wait too long and
the boot sequence does not pause, you must reboot the system again.
Enter the user name (root) and the GRUB password for root (not the same as the appliance's user
root).
8 Remove all options after root=UUID=<ID number> and add the following option to the same line after
the UUID.
rw single init=/bin/bash
11 If you are resetting the password for root, run the command passwd.
If you are resetting the password for admin or audit, run the command passwd <admin or audit
user ID>.
14 If you are resetting the password on an NSX Manager, run the command touch /var/vmware/nsx/
reset_cluster_credentials.
You can view or set the minimum password length with the following commands:
The following commands apply to logging in to the NSX Manager UI, or making an API call:
The following commands apply to logging in to the CLI on an NSX Manager or an NSX Edge node:
For more information about the CLI commands, see the NSX-T Command-Line Interface Reference.
By default, after five consecutive failed attempts to log in to the NSX Manager UI, the administrator
account is locked for 15 minutes. You can disable account lockout with the following command:
Similarly, you can disable account lockout for the CLI with the following command:
You must use OpenSSL version 1.x or higher for the thumbprint. In the vIDM host, the command openssl
runs an older OpenSSL version and therefore you must use the command openssl1 in the vIDM host.
This command is only available from the vIDM host.
In a server that is not the vIDM host, you can use the openssl command that is running OpenSSL
version 1.x or higher.
Procedure
1 Log in to the vIDM host's console or by using SSH or log in to any server that can ping the vIDM host.
2 Use OpenSSL version 1.x or higher to get the thumbprint of the vIDM host.
n openssl1: If you are logged in to the vIDM host in a console or using SSH, run the following
command to get the thumbprint:
openssl1 s_client -connect <FQDN of vIDM host>:443 < /dev/null 2> /dev/null | openssl x509 -
sha256 -fingerprint -noout -in /dev/stdin
n openssl: If you are logged in to a server that can ping the vIDM host but is not the vIDM host, run
the following command to get the thumbprint:
openssl s_client -connect <FQDN of vIDM host>:443 < /dev/null 2> /dev/null | openssl x509 -
sha256 -fingerprint -noout -in /dev/stdin
The vIDM host or all the vIDM cluster components should have a certificate signed by a certificate
authority (CA). Otherwise, logging in to vIDM from NSX Manager might not work with certain browsers,
such as Microsoft Edge or Internet Explorer 11. For information about installing a CA-signed certificate on
vIDM, see the VMware Identity Manager documentation at https://docs.vmware.com/en/VMware-Identity-
Manager/index.html.
When you register NSX Manager with vIDM, you specify a redirect URI that points to NSX Manager. You
can provide either the fully qualified domain name (FQDN) or the IP address. It is important to remember
whether you use the FQDN or the IP address. When you try to log in to NSX Manager through vIDM, you
must specify the host name in the URL the same way, that is, if you use the FQDN when registering the
manager with vIDM, you must use the FQDN in the URL, and if you use the IP address when registering
the manager with vIDM, you must use the IP address in the URL. Otherwise, login will fail.
If NSX-T API access is needed, one of the following configurations must be true:
n vIDM has the connector CA certificate trusted on the vIDM service side.
Note NSX Managers and vIDM must be in the same time zone. The recommended way is to use UTC.
If the vIDM deployment is a vIDM cluster, the vIDM load balancer must be configured for SSL termination
and re-encryption.
With vIDM enabled, you can still log in to NSX Manager with a local user account if you use the URL
https://<nsx-manager-ip-address>/login.jsp?local=true.
If you use the UserPrincipalName (UPN) to log in to vIDM, authentication to NSX-T might fail. To avoid
this issue, use a different type of credentials, for example, SAMAccountName.
If using NSX Cloud, you can log in to CSM separately using the URL https://<csm-ip-address>/
login.jsp?local=true
Prerequisites
n Verify that you have the certificate thumbprint from the vIDM host or the vIDM load balancer,
depending on the type of vIDM deployment (a standalone vIDM host or a vIDM cluster). The
command to obtain the thumbprint is the same in both cases. See Obtain the Certificate Thumbprint
from a vIDM Host.
n Verify that NSX Manager is registered as an OAuth client to vIDM. During the registration process,
note the client ID and the client secret. For more information, see the VMware Identity Manager
documentation at https://docs.vmware.com/en/VMware-Workspace-ONE-Access/3.3/idm-
administrator/GUID-AD4B6F91-2D68-48F2-9212-5B69D40A1FAE.html. When you create the client,
you only need to do the following:
n Click Add.
NSX Cloud Note If using NSX Cloud, also verify that CSM is registered as an OAuth client to vIDM.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Click Edit.
5 To enable external load balancer integration, click the External Load Balancer Integration toggle.
Note If you have Virtual IP (VIP) set up (check System > Appliances > Virtual IP), you cannot use
the External Load Balancer Integration even if you enable it. This is because you can either have
VIP or the External Load Balancer while configuring vIDM but not both. Disable VIP if you want to use
the External Load Balancer. See Configure a Virtual IP (VIP) Address for a Cluster in the NSX-T Data
Center Installation Guide for details.
6 To enable VMware Identity Manager integration, click the VMware Identity Manager Integration
toggle.
Parameter Description
VMware Identity Manager Appliance The fully qualified domain name (FQDN) of the vIDM host or the vIDM load
balancer, depending on the type of vIDM deployment (a standalone vIDM host or a
vIDM cluster).
OAuth Client ID The ID that is created when registering NSX Manager to vIDM.
OAuth Client Secret The secret that is created when registering NSX Manager to vIDM.
Parameter Description
NSX Appliance The IP address or fully qualified domain name (FQDN) of NSX Manager. If you are
using an NSX Manager cluster, use the load balancer FQDN or cluster VIP FQDN
or IP address. If you specify a FQDN, you must access NSX Manager from a
browser using the manager's FQDN in the URL, and if you specify an IP address,
you must use the IP address in the URL. Alternatively, the vIDM administrator can
configure the NSX Manager client so that you can connect using either the FQDN
or the IP address.
8 Click Save.
9 If using NSX Cloud, repeat steps 1 through 8 from the CSM appliance by logging in to CSM instead of
NSX Manager.
Unless VMware Identity Manager is properly configured and validated, some users may receive Not
Authorized (Error Code 98) messages when trying to log in.
Procedure
Use the echo 'username@fqdn:password' | base64 command to return the encoding. For example:
2 Remove the last "=" (equal sign) character from the returned base64 encoding string and save the
string for a subsequent step.
3 Verify that each user can make API call to each node.
Use a Remote Authorization curl command: curl -k -H 'Authorization: Remote <base64 encoding
string>' https://<node FQDN>/api/v1/node/aaa/auth-policy. For example:
{
"_schema": "AuthenticationPolicyProperties",
"_self": {
"href": "/node/aaa/auth-policy",
"rel": "self"
},
"api_failed_auth_lockout_period": 900,
"api_failed_auth_reset_period": 900,
"api_max_auth_failures": 5,
"cli_failed_auth_lockout_period": 900,
"cli_max_auth_failures": 5,
"minimum_password_length": 12
}
If the command does not return an error, the VMware Identity Manager iss is working correctly. No
further steps are required. If the curl command returns an error, the user may be locked out.
Note Account lockout policies are set set and enforced on a per node basis. If one node in the
cluster has locked out a user, other nodes may have not.
a Retrieve the authorization policy using the local NSX Manager admin user:
For example, many of the default settings apply lockout and reset periods of 900 seconds.
Change these values to enable immediate reset, such as:
{
"_schema": "AuthenticationPolicyProperties",
"_self": {
"href": "/node/aaa/auth-policy",
"rel": "self"
},
"api_failed_auth_lockout_period": 1,
"api_failed_auth_reset_period": 1,
"api_max_auth_failures": 5,
"cli_failed_auth_lockout_period": 1,
"cli_max_auth_failures": 5,
"minimum_password_length": 12
}
e (Optional) Return the authorization policy settings files to its previous settings.
This should resolve the lockout issue. If you can still make remote auth API calls, but are still unable
to log in through the browser, the browser may have an invalid cache or cookie stored. Clear your
cache and cookies, and try again.
VMware Infrastructure
Follow the instructions in the following KB articles to synchronize ESXi hosts.
n https://kb.vmware.com/kb/1003736
n https://kb.vmware.com/kb/2012069
Third-Party Infrastructure
Follow the vendor's documentation on how synchronize VMs and hosts.
n Check the clock on the vIDM server and make sure it is correct.
# hwclock
Tue May 9 12:08:43 2017 -0.739213 seconds
n Edit /etc/ntp.conf and add the following entries if they don't exist.
# iptables -L –n
/etc/init.d/ntp start
# ntpq -p
The reach column should not show 0. The st column should show some number other than 16..
n Full access
n Execute
n Read
n None
Full access gives the user all permissions. The execute permission includes the read permission.
NSX-T Data Center has the following built-in roles. You cannot add any new roles.
n Enterprise Administrator
n Auditor
n Network Engineer
n Network Operations
n Security Engineer
n Security Operations
n VPN Administrator
After an Active Directory (AD) user is assigned a role, if the username is changed on the AD server, you
need to assign the role again using the new username.
n EA - Enterprise Administrator
n A - Auditor
n NE - Network Engineer
n NO - Network Operations
n SE - Security Engineer
n SO - Security Operations
n FA - Full access
n E - Execute
n R - Read
Networkin FA R FA FA R R FA R R R R R R
g > Tier-0
Gateways
Networkin FA R FA FA R R FA R R R R R R
g>
Network
Interface
Networkin FA R FA FA R R FA R R R R R R
g>
Network
Static
Routes
Networkin FA R FA FA R R FA R R R R R R
g > Locale
Services
Networkin FA R FA FA R R FA R R R R R R
g > Static
ARP
Configurat
ion
Networkin FA R FA FA R R FA R R R R R R
g>
Segments
Networkin FA R FA FA R R FA R R R R R R
g>
Segments
>
Segment
Profiles
Networkin
g > IPv6
Profiles
Security > FA R R R FA R FA R R R R R R
Distribute
d Firewall
Inventory FA R FA R FA R FA R R R R R R
> Context
Profiles
Inventory R R R R R R R R R R R R R
> Virtual
Machines
Plan & FA R FA FA R R FA R R R R R R
Troublesh
oot > Port
Mirroring
Binding
Plan & FA R FA FA R R FA R R R R R R
Troublesh
oot >
Monitoring
Profile
Binding
Plan & FA R FA R FA R FA R R R R R R
Troublesh
oot >
Firewall
IPFIX
Profiles
Plan & FA R FA R R R FA R R R R R R
Troublesh
oot >
Switch
IPFIX
Profiles
System > FA R None None None None R R Non Non None None None
Fabric > e e
Profiles >
Configurat
ion
System > FA R None None None None None None Non Non None None None
Utilities > e e
Support
Bundle
System > FA R None None None None None None Non Non None None None
Utilities > e e
Backup
System > FA R None None None None None None Non Non None None None
Utilities > e e
Restore
System > FA R None None None None None None Non Non None None None
Users > e e
Role
Assignme
nts
System > FA R FA R FA FA R R R R R R R
Active
Directory
System > FA R None None None None None None Non Non None None None
Users > e e
Configurat
ion
Custom FA R R R R R FA R R R R R R
Dashboar
d
Configurat
ion
System > FA Non None None None None None None Non Non None None None
Lifecycle e e e
Managem
ent >
Migrate
Table 21-6. Roles and Permissions for Advanced Networking and Security
Operatio CS CS LB LB VPN
n EA A NE NO SE SO Adm Aud Adm Aud Adm GI Adm NI Adm
Tools > FA R FA R FA R FA R R R R R R
IPFIX
Table 21-6. Roles and Permissions for Advanced Networking and Security (continued)
Operatio CS CS LB LB VPN
n EA A NE NO SE SO Adm Aud Adm Aud Adm GI Adm NI Adm
DHCP > FA R FA R None None None None Non Non None None None
Metadata e e
Proxies
Switching FA R FA FA R R FA R R R R None R
>
Switches
Switching FA R FA FA R R FA R R R R None R
> Ports
Inventory FA R FA R FA R FA R R R R R R
> Groups
Inventory FA R FA R FA R FA R R R R R R
> IP Sets
Inventory FA R FA R FA R FA R R R R R R
> MAC
Sets
Table 21-6. Roles and Permissions for Advanced Networking and Security (continued)
Operatio CS CS LB LB VPN
n EA A NE NO SE SO Adm Aud Adm Aud Adm GI Adm NI Adm
Inventory FA R FA R FA R FA R R R R R R
>
Services
Inventory R R R R R R R R R R R R R
> Virtual
Machines
Inventory FA Non None None None None None None Non Non None None None
> Virtual e e e
Machines
>
Configure
Tags
n Name
n Node ID
n Certificate
Users (local, remote, or principal identity) with the Enterprise Administrator role can modify or delete
objects owned by principal identities. Users (local, remote, or principal identity) without the Enterprise
Administrator role cannot modify or delete protected objects owned by principal identities, but can modify
or delete unprotected objects.
If a principal identity user's certificate expires, you must import a new certificate and make an API call to
update the principal identity user's certificate (see the procedure below). For more information about the
NSX-T Data Center API, a link to the API resource is available at https://docs.vmware.com/en/VMware-
NSX-T-Data-Center.
n SHA256 based.
Prerequisites
n If you want to assign roles to users, verify that a vIDM host is associated with NSX-T. For more
information, see Configure VMware Identity Manager Integration.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
b Select a role.
c Click Save.
4 To add a principal identity, select Add > Principal Identity with Role.
b Select a role.
e Click Save.
5 (Optional) If using NSX Cloud, log in to the CSM appliance instead of NSX Manager and repeat steps
1 through 4.
6 If the certificate for the principal identity expires, perform the following steps:
a Import a new certificate and note the certificate's ID. See Import a Certificate.
GET https://<nsx-mgr>/api/v1/trust-management/principal-identities
c Call the following API to update the principal identity's certificate. You must provide the imported
certificate's ID and the principal identity user's ID.
For example,
POST https://<nsx-mgr>/api/v1/trust-management/principal-identities?action=update_certificate
{
"principal_identity_id": "ebd3032d-728e-44d4-9914-d4f81c9972cb",
"certificate_id" : "abd3032d-728e-44d4-9914-d4f81c9972cc"
}
Cluster backup This backup includes the desired state of the virtual network.
Automated Automated backups run based on a schedule that you set. Automated
backups are highly recommended to ensure that you have up-to-date
backups.
You can restore an NSX-T Data Center configuration back to the state that is captured in any of the
backups. When restoring a backup, you must restore to new NSX Manager appliances running the same
version of NSX Manager as the appliances that were backed up.
Configure Backups
Before backups can occur, you must configure a backup file server. After a backup file server is
configured, you can start a backup at any time, or configure a schedule for automatic backups.
Prerequisites
Verify that you have the SSH fingerprint of the backup file server. Only an SHA256 hashed ECDSA key is
accepted as a fingerprint. See Find the SSH Fingerprint of a Remote Server.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
6 The protocol field is already filled in. Do not change the value.
7 Enter the user name and password required to log in to the backup file server.
The first time you configure a file server, you must provide a password. Subsequently, if you
reconfigure the file server, and the server IP (or hostname), port, and user name are the same, you
do not need to enter the password again.
8 In the Destination Directory field, enter the absolute directory path where the backups will be stored.
The directory must already exist and cannot be /. If you have multiple NSX-T Data Center
deployments, you must use a different directory for each deployment. If the backup file server is a
Windows machine, you still use the forward slash when you specify the destination directory. For
example, if the backup directory on the Windows machine is c:\SFTP_Root\backup, specify /
SFTP_Root/backup as the destination directory.
Note The backup process will generate a name for the backup file that can be quite long. On a
Windows server, the length of the full path name of the backup file can exceed the limit set by
Windows and cause backups to fail. To avoid this issue, see the KB article https://kb.vmware.com/s/
article/76528.
9 To encrypt the backups, click the Change Encryption Passphrase toggle and enter the encryption
passphrase.
You will need this passphrase to restore a backup. If you forget the passphrase, you cannot restore
any backups.
10 Enter the SSH fingerprint of the server that stores the backups.
You can leave this blank and accept or reject the fingerprint provided by the server.
13 Click Weekly and set the days and time of the backup, or click Interval and set the interval between
backups.
14 To trigger a backup when the configuration of the network changes, set the Detect NSX
configuration change toggle to Enabled.
You can set the interval between the backups triggered by configuration changes. The default is 5
minutes.
15 Click Save.
Results
After you configure a backup file server, you can click Backup Now to start a backup at any time.
You can find the Python script nsx_backup_cleaner.py in the directory /var/vmware/nsx/file-store
on NSX Manager. You must log in as root to access this file. Typically, you schedule a job on the backup
file server to run this script periodically to clean up old backups. The following usage information
describes how to run the script:
Required parameters:
-d/--dir: Backup root directory
-k/--retention-period: Number of days need to retain a backup file
Optional parameters:
-l/--min-count: Minimum number of backup files to be kept, default value is 100
-h/--help: Display help message
The age of a backup is calculated as the difference between the backup's timestamp and the time the
script is run. If this value is larger than the retention period, the backup is deleted if there are more
backups on the disk than the minimum number of backups.
For more information about setting up the script to run periodically on a Linux or Windows server, see the
comments at the beginning of the script.
The script is located on an NSX Manager. The full path name is /var/vmware/nsx/file-store/
get_backup_timestamps.sh. You can run this script on any Linux machine or NSX-T Data Center
appliance. As a best practice, you should copy this script after installing NSX-T Data Center to a machine
that is not an NSX Manager so that you can run this script even if all the NSX Managers become
inaccessible. If you need to restore a backup but have no access to this script, you can install a new NSX
Manager and run the script there.
You can copy the script to another machine or to the backup file server by logging in to the NSX Manager
as admin and running a CLI command. For example:
The script is interactive and will prompt you for the information that you specified when you configured the
backup file server. You can specify the number of backups to display. Each backup is listed with a
timestamp, the NSX Manager node's IP address or FQDN if the NSX Manager node is set up to publish
its FQDN, and the node ID. For example,
admin@host1:/home/admin# ./get_backup_timestamps.sh
Enter file server ip:
10.108.115.108
Enter port:
22
Enter directory path:
/home/nsx/backups
Enter number of latest backup or press Enter to list all backups:
root@10.108.115.108's password:
Latest backups:
[Backup timestamp; IP address/FQDN; Node id]
2019-01-22;09:00:33 10.196.196.77 35163642-6623-8f6d-7af0-52e03f16faed
2019-01-22;09:01:52 10.196.196.77 35163642-6623-8f6d-7af0-52e03f16faed
2019-01-22;09:13:30 wdc75.platformqe.com 41893642-597b-915f-5117-7da576df4ff2
2019-01-22;09:14:42 wdc75.platformqe.com 41893642-597b-915f-5117-7da576df4ff2
2019-01-22;09:16:43 wdc75.platformqe.com 41893642-597b-915f-5117-7da576df4ff2
Restore a Backup
Restoring a backup results in restoring the state of the network at the time of the backup. In addition, the
configurations maintained by the NSX Manager are also restored and any changes, such as adding or
deleting nodes, that were made to the fabric since the backup was taken are reconciled.
You must restore a backup on a new installation of NSX Manager. If the original NSX Manager was
configured with the default setting of not publishing its FQDN, that is "publish_fqdns": false, then the
new installation of NSX Manager must be installed with the same IP address that was used by the original
NSX Manager. If the original NSX Manager was set up to publish its FQDN, that is "publish_fqdns":
true, the new NSX Manager can be installed with a different IP address. However, the new NSX Manager
must also be configured to publish its FQDN. If you had an NSX Manager cluster when the backup was
taken, you must also restore to an NSX Manager cluster. The restore process restores one NSX Manager
node first and then prompts you to add the other NSX Manager nodes.
Before you start a restore, determine the backup to be restored by following the procedure in Listing
Available Backups. Note the IP address or the FQDN of the NSX Manager where this backup was taken.
Prerequisites
n Verify that you have the login credential for the backup file server.
n Verify that you have the SSH fingerprint of the backup file server. Only an SHA256 hashed ECDSA
key is accepted as a fingerprint. See Find the SSH Fingerprint of a Remote Server.
Procedure
1 From your browser, log in with admin privileges to a new NSX Manager.
The IP address or FQDN of this NSX Manager must be the same as the IP address or FQDN of the
NSX Manager where the backup was taken.
8 In the Destination Directory text box, enter the absolute directory path where the backups are
stored.
9 Enter the passphrase that was used to encrypt the backup data.
10 Enter the SSH fingerprint of the server that stores the backups.
11 Click Save.
12 Select a backup.
13 Click Restore.
The status of the restore operation is displayed. If you have deleted or added fabric nodes or
transport nodes since the backup, you are prompted to take certain actions, for example, log in to a
node and run a script.
If the backup has information about an NSX Manager cluster, you are prompted to add NSX Manager
nodes. If you decide not to add NSX Manager nodes, you can still proceed with the restore.
After the restore operation is completed, the Restore Complete screen is displayed, showing the
result of the restore, the timestamp of the backup file, and the start and end time of the restore
operation. If the restore failed, the screen displays the step where the failure occurred, for example,
Current Step: Restoring Cluster (DB) or Current Step: Restoring Node. If either cluster restore
or node restore failed, the error might be transient. In that case, there is no need to click Retry. You
can restart or reboot the manager and the restore continues.
You can also determine that there was a cluster restore or node restore failure by running the
following CLI command to view the system log file and searching for the strings Cluster restore
failed and Node restore failed.
reboot
Results
Note If you added a compute manager after the backup, after the restore, if you try to add the compute
manager again, you will get an error message indicating that registration failed. You can click the Resolve
button to resolve the error and successfully add the compute manager. For more information, see Add a
Compute Manager, step 4. If you want to remove the information about NSX-T Data Center that is stored
in a vCenter Server, follow the steps in Remove NSX-T Data Center Extension from vCenter Server.
Problem
The Upgrade Coordinator has been upgraded and the Management Plane stops responding. You have a
backup that was created while the upgrade was in progress.
Solution
1 Deploy your Management Plane node with the same IP address that the backup was created from.
2 Upload the upgrade bundle that you used at the beginning of the upgrade process.
Prerequisites
Enable access to the vCenter Server Managed Object Browser (MOB) by following the procedure in
https://kb.vmware.com/s/article/2042554.
Procedure
2 Click the content link, which is the value for the content property in the Properties table.
3 Click the ExtensionManager link, which is the value for extensionManager property in the
Properties table.
6 Click the Invoke Method link on the right hand side of the page below the Parameters table.
The method result says void but the extension will be removed.
7 To make sure the extension is removed, click the FindExtension method on the previous page and
invoke it by entering the same value for the extension.
In a production environment, it is highly recommended that the NSX Manager cluster has three members
to provide high availability. If you delete an NSX Manager and deploy a new one, the new NSX Manager
can have the same or a different IP address.
Note The primary NSX Manager node is the node that you create first, before you create a manager
cluster. This node cannot be deleted. After you deploy two more manager nodes from the primary
manager node's UI to form a cluster, only the second and the third manager nodes have the option (from
the gear icon) to be deleted. For information about removing and adding a manager node, see Change
the IP Address of an NSX Manager.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://nsx-manager-ip-
address.
3 To see additional information about the configuration, run the following CLI command:
DATASTORE fb4aec3c-cae3-4386-b5b9-c0b99b7d9048
10.160.76.33 9000 ychin-nsxmanager-ob-12065118-3-F5
MANAGER 82b07440-3ff6-4f67-a1c9-e9327d1686ad
10.160.76.33 - ychin-nsxmanager-ob-12065118-3-F5
POLICY 61f21a78-a56c-4af1-867b-3f24132d53c7
10.160.76.33 - ychin-nsxmanager-ob-12065118-3-F5
4 To see additional information about the status, run the following CLI command:
Members:
UUID FQDN
IP STATUS
43cd0642-275c-af1d-fe46-1f5200f9e5f9 ychin-nsxmanager-ob-12065118-1-F5
10.160.71.225 UP
8ebb0642-201e-6a5f-dd47-a1e38542e672 ychin-nsxmanager-ob-12065118-2-F5
10.160.93.240 UP
2e7e0642-df4a-b2ec-b9e8-633d1469f1ea ychin-nsxmanager-ob-12065118-3-F5
10.160.76.33 UP
Members:
UUID FQDN
IP STATUS
43cd0642-275c-af1d-fe46-1f5200f9e5f9 ychin-nsxmanager-ob-12065118-1-F5
10.160.71.225 UP
8ebb0642-201e-6a5f-dd47-a1e38542e672 ychin-nsxmanager-ob-12065118-2-F5
10.160.93.240 UP
2e7e0642-df4a-b2ec-b9e8-633d1469f1ea ychin-nsxmanager-ob-12065118-3-F5
10.160.76.33 UP
Members:
UUID FQDN
IP STATUS
7b1c9952-8738-4900-b68b-ca862aa4f6a9 ychin-nsxmanager-ob-12065118-2-F5
10.160.93.240 UP
ced46f5c-9e52-4b31-a1cb-b3dead991c71 ychin-nsxmanager-ob-12065118-3-F5
10.160.76.33 UP
06fd0574-69c0-432e-a8af-53d140dbef8f ychin-nsxmanager-ob-12065118-1-F5
10.160.71.225 UP
Members:
UUID FQDN
IP STATUS
43cd0642-275c-af1d-fe46-1f5200f9e5f9 ychin-nsxmanager-ob-12065118-1-F5
10.160.71.225 UP
8ebb0642-201e-6a5f-dd47-a1e38542e672 ychin-nsxmanager-ob-12065118-2-F5
10.160.93.240 UP
2e7e0642-df4a-b2ec-b9e8-633d1469f1ea ychin-nsxmanager-ob-12065118-3-F5
10.160.76.33 UP
Members:
UUID FQDN
IP STATUS
43cd0642-275c-af1d-fe46-1f5200f9e5f9 ychin-nsxmanager-ob-12065118-1-F5
10.160.71.225 UP
8ebb0642-201e-6a5f-dd47-a1e38542e672 ychin-nsxmanager-ob-12065118-2-F5
10.160.93.240 UP
2e7e0642-df4a-b2ec-b9e8-633d1469f1ea ychin-nsxmanager-ob-12065118-3-F5
10.160.76.33 UP
Members:
UUID FQDN
IP STATUS
43cd0642-275c-af1d-fe46-1f5200f9e5f9 ychin-nsxmanager-ob-12065118-1-F5
10.160.71.225 UP
8ebb0642-201e-6a5f-dd47-a1e38542e672 ychin-nsxmanager-ob-12065118-2-F5
10.160.93.240 UP
2e7e0642-df4a-b2ec-b9e8-633d1469f1ea ychin-nsxmanager-ob-12065118-3-F5
10.160.76.33 UP
If you need to reboot multiple NSX Managers, you must reboot them one at a time. Wait for the rebooted
NSX Manager to be online before rebooting another.
Procedure
nsx-manager> reboot
Are you sure you want to reboot (yes/no): y
For example, if you have a cluster consisting of Manager A, Manager B, and Manager C, you can change
the IP address of one or more of the managers in the following ways:
n Scenario A:
n Remove Manager A.
n Remove Manager B.
n Remove Manager C.
n Scenario B:
n Scenario C:
n Remove Manager A.
n Remove Manager B.
n Remove Manager C.
The first two scenarios require additional virtual RAM, CPU and disk for the additional NSX Managers
during this IP address change.
Scenario C is not recommended because it temporarily reduces the number of NSX Managers and a loss
of one of the two active managers during the IP address change will have an impact on the operations of
NSX-T. This scenario is for a situation where additional virtual RAM, CPU and disk are not available and
an IP address change is required.
Note If you are using the cluster VIP feature, you must either use the same subnet for the new IP
addresses or disable the cluster VIP during the IP address changes because the cluster VIP requires all
NSX Managers to be in the same subnet.
Prerequisites
Familiarize yourself with how to deploy an NSX Manager into a cluster. For more information, see the
NSX-T Data Center Installation Guide.
Procedure
1 If the NSX Manager you want to remove was deployed manually, perform the following steps.
a Run the following CLI command to detach the NSX Manager from the cluster.
2 If the NSX Manager you want to delete was deployed automatically through the NSX Manager UI,
perform the following steps.
a From your browser, log in with administrator privileges to an NSX Manager at https://nsx-
manager-ip-address.
This NSX Manager must not be the one that you want to delete.
c For the NSX Manager that you want to delete, click the gear icon and select Delete.
Note that in normal operating conditions all three manager nodes must have the same number of CPU
cores and memory. A mismatch of CPU or memory between NSX Managers in an NSX management
cluster should only be done when transitioning from one size of NSX Manager to another size of NSX
Manager.
If you have configured resource allocation reservation for the NSX Manager VMs in vCenter Server, you
might need to adjust the reservation. For more information, see the vSphere documentation.
Prerequisites
n Verify that the new size satisfies the system requirements for a manager node. For more information,
see "NSX Manager VM System Requirements" in the NSX-T Data Center Installation Guide.
n Familiarize yourself with how to deploy an NSX Manager into a cluster. For more information, see the
NSX-T Data Center Installation Guide.
n For information about how to remove a manager node from a cluster, see Change the IP Address of
an NSX Manager.
Procedure
n Disaster recovery
n Active-active
Dataplane
traffic
Primary T0 Secondary T0
Gateway Gateway
T1 Gateways
In an active-active deployment, all the sites are active and layer 2 traffic crosses the site boundaries. In a
disaster recovery deployment, NSX-T Data Center at the primary site handles networking for the
enterprise. The secondary site is standing by to take over if a catastrophic failure occurs at the primary
site.
Dataplane Dataplane
traffic for traffic for
“Blue” “Green”
Primary T0 Secondary T0
Gateway Gateway
T1 Gateway T1 Gateway
Stretch L2 across sites
You can deploy two sites for automatic or manual/scripted recovery of the management plane and the
data plane.
The NSX Manager cluster is deployed on the management VLAN and is physically in the primary site. If
there is a primary site failure, vSphere HA will restart the NSX Managers in the secondary site. All the
transport nodes will reconnect to the restarted NSX Managers automatically. This process takes about 10
minutes. During this time, the management plane is not available but the data plane is not impacted.
Management Cluster
192.168.1.6/.7/.8
NSX
VLAN Stretched
Management
vSphere-HA
P P P P
V V V V
vCenter vCenter
ESXi ESXi ESXi ESXi
Compute Compute
Stretch vCenter Cluster Management
NSX NSX
vSphere-HA
for NSX-T
Managers
Primary Site Secondary Site
n The HA mode for the tier-0 gateway must be active-standby, and the failover mode must be
preemptive.
Note: The failover mode of the tier-1 gateway can be preemptive or non-preemptive.
Configuration steps:
n Using the API, create failure domains for the two sites, for example, FD1A-Preferred_Site1 and
FD2A-Preferred_Site1. Set the parameter preferred_active_edge_services to true for the
primary site and set it to false for the secondary site.
POST /api/v1/failure-domains
{
"display_name": "FD1A-Preferred_Site1",
"preferred_active_edge_services": "true"
}
POST /api/v1/failure-domains
{
"display_name": "FD2A-Preferred_Site1",
"preferred_active_edge_services": "false"
}
n Using the API, configure an Edge cluster that is stretched across the two sites. For example, the
cluster has Edge nodes EdgeNode1A and EdgeNode1B in the primary site, and Edge nodes
EdgeNode2A and EdgeNode2B in the secondary site. The active tier-0 and tier-1 gateways will run on
EdgeNode1A and EdgeNode1B. The standby tier-0 and tier-1 gateways will run on EdgeNode2A and
EdgeNode2B.
n Using the API, associate each Edge node with the failure domain for the site. First call the
GET /api/v1/transport-nodes/<transport-node-id> API to get the data about the Edge node. Use
the result of the GET API as the input for the PUT /api/v1/transport-nodes/<transport-node-id>
API, with the additional property, failure_domain_id, set appropriately. For example,
GET /api/v1/transport-nodes/<transport-node-id>
Response:
{
"resource_type": "TransportNode",
"description": "Updated NSX configured Test Transport Node",
"id": "77816de2-39c3-436c-b891-54d31f580961",
...
}
PUT /api/v1/transport-nodes/<transport-node-id>
{
"resource_type": "TransportNode",
"description": "Updated NSX configured Test Transport Node",
"id": "77816de2-39c3-436c-b891-54d31f580961",
...
"failure_domain_id": "<UUID>",
}
n Using the API, configure the Edge cluster to allocate nodes based on failure domain. First call the
GET /api/v1/edge-clusters/<edge-cluster-id> API to get the data about the Edge cluster. Use the
result of the GET API as the input for the PUT /api/v1/edge-clusters/<edge-cluster-id> API, with
the additional property, allocation_rules, set appropriately. For example,
GET /api/v1/edge-clusters/<edge-cluster-id>
Response:
{
"_revision": 0,
"id": "bf8d4daf-93f6-4c23-af38-63f6d372e14e",
"resource_type": "EdgeCluster",
...
}
PUT /api/v1/edge-clusters/<edge-cluster-id>
{
"_revision": 0,
"id": "bf8d4daf-93f6-4c23-af38-63f6d372e14e",
"resource_type": "EdgeCluster",
...
"allocation_rules": [
{
"action": {
"enabled": true,
"action_type": "AllocationBasedOnFailureDomain"
}
}
],
}
n Create tier-0 and tier-1 gateways using the API or NSX Manager UI.
When an Edge node in the primary site fails, the tier-0 and tier-1 gateways hosted on that node will be
migrated to an Edge node in the secondary site.
Stretch
Edge Edge Edge Edge Edge
Cluster Node 1A Node 1B Node 2A Node 2B
Active
Primary Failure P P Failure P P
Domain V V Domain V V
“FD1A- “FD2A-
Preferred- Preferred-
T0 T1 T0 T1
Site 1” Site 1”
(Active) (Active) (Standby) (Standby)
Stretch
Edge Edge Edge Edge Edge
Cluster Node 1C Node 1D Node 2C Node 2D
Active
Seconday Failure P P Failure P P
Domain V V Domain V V
“FD1B- “FD2B-
Preferred- Preferred-
T0 T1 T0 T1
Site 2” Site 2”
(Standby) (Standby) (Active) (Active)
<10 ms
n DNS for NSX Managers with a short TTL (for example, 5 minutes).
n Continuous backup.
Neither vSphere HA, nor a stretched management VLAN, is required. NSX-T Managers must be
associated with a DNS name with a short TTL. All transport nodes (Edge nodes and hypervisors) must
connect to the NSX Manager using their DNS name. To save time, you can optionally pre-install an NSX
Manager cluster in the secondary site.
1 Change the DNS record so that the NSX Manager cluster has different IP addresses.
mgr1/2/3.corp.com Continuous
1 Change DNS DNS 192.168.1.6/.7/.8 Backup
192.168.2.6/.7/.8
Recover
Management 2
Primary Management Cluster with
NSX
Cluster new IP
192.168.1.6/.7/.8
(Optional) Pre-Deploy
Management Cluster DR Site
Registration
With DNS Name DR Management NSX
Cluster
Registration 192.168.2.6/.7/.8
With DNS
Name
Edge Edge Edge Edge
Transport
Node 1 Node 2 Node 3 Node 4
Nodes
Connect to new 3
P P P P Management
V V V V Cluster
The Edge nodes can be VMs or bare metal. The tier-0 gateway can be active-standby or active-active.
Edge node VMs can be installed in different vCenter Servers. No vSphere HA is required.
1 Create a standby tier-0 gateway on an existing Edge cluster in the disaster recovery (DR) site.
2 Using the API, move the tier-1 gateways that are connected to a tier-0 gateway to the tier-0 gateway
in the DR site.
3 Using the API, move the standalone tier-1 gateways to the DR site.
T0 T0 T0 T0
(Active) (Standby) (Active) (Standby)
T1 T1 T1 T1 T1 T1
(Active) (Standby) (Active) (Standby) (Active) (Standby)
<150 ms
Script or Manual action for all T1(Blue) from Edge Cluster Primary:
• Transfer to Edge Cluster Secondary
• Connect to T0 - Secondary (Green)
n The bandwidth must be at least 1 Gbps and the latency (RTT) must be less than 150 ms.
n Automatic backup when NSX-T Data Center configuration changes must be enabled.
n The same internet provider must be used if public IP addresses are exposed through services such
as NAT or load balancer.
n The HA mode for the tier-0 gateway must be active-standby, and the failover mode must be
preemptive.
n The cloud management system (CMS) must support an NSX-T Data Center plug-in. In this release,
VMware Integrated OpenStack (VIO) and vRealize Automation (vRA) satisfy this requirement.
Limitations
n No local-egress capabilities. All north-south traffic must occur within one site.
n The compute disaster recovery software must support NSX-T Data Center, for example, VMware
SRM 8.1.2 or later.
Configuring Appliances
Some system configuration tasks must be done using the command line or API.
For complete command line interface information, see the NSX-T Data Center Command-Line Interface
Reference. For complete API information, see the NSX-T Data Center API Guide.
The following non-evaluation NSX-T Data Center license types are available:
When you install NSX Manager, a pre-installed evaluation license becomes active and is valid for 60
days. The evaluation license provides all the features of an enterprise license. You cannot install or
unassign an evaluation license. You can assign a new evaluation license when the default evaluation
license is present. The new evaluation license will override the default evaluation license. You can also
unassaign the non-default evaluation license. In that case, the default evaluation license will be restored.
You can install one or more of the non-evaluation licenses, but for each type, you can only install one key.
When you install a standard, advanced, or enterprise license, the evaluation license is no longer
available. You can also unassign non-evaluation licenses. If you unassign all non-evaluation licenses, the
evaluation license is restored.
If you have multiple keys of the same license type and want to combine the keys, you must go to https://
my.vmware.com and use the Combine Keys functionality. The NSX Manager UI does not provide this
functionality.
If your license will expire within 60 days or if it has expired, after you log in to NSX Manager, a notification
window will appear to inform you of the situation. You can also click the notification icon in the upper right
corner of the window to see the notification.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 To generate a license usage report, select Export > License Usage Report.
The CSV report lists the VM, CPU, unique concurrent user, vCPU and core usage numbers of the
following features:
n VPN
n DFW
n Context Aware Micro-Segmentation - Identity firewall for remote desktop session host
n Service Insertion
n Identity Firewall
Note The following features are disabled for the Limited Export Release version:
n IPSec VPN
Setting Up Certificates
You can import certificates, create a certificate signing request (CSR), generate self-signed certificates,
and import a certificate revocation list (CRL).
After you install NSX-T Data Center, the manager nodes and cluster have self-signed certificates. To
improve security, it is highly recommended that you replace the self-signed certificates with CA-signed
certificates.
Import a Certificate
You can import a certificate with a private key to replace the default self-signed certificate, after activation.
Prerequisites
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Select Import > Import Certificate and enter the certificate details.
Option Description
Certificate Contents Browse to the certificate file on your computer and add the file. The certificate must
not be encrypted. If it is a CA-signed certificate, be sure to include the whole chain
in this order: certificate - intermediate - root.
Private Key Browse to the private key file on your computer and add the file.
Passphrase Add a passphrase for this certificate if it is encrypted. In this release, this field is not
used because encrypted certificate is not supported.
Service Certificate Set to Yes to use this certificate for services such as a load balancer and VPN. Set
to No if this certificate is for the NSX Manager nodes.
4 Click Import.
Prerequisites
n Gather the information that you need to fill out the CSR file. You must know the FQDN of the server
and the organizational unit, organization, city, state, and country.
n Verify that the public and private key pairs are available.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Option Description
Common Name Enter the fully qualified domain name (FQDN) of your server.
For example, test.vmware.com.
Organization Unit Enter the department in your organization that is handling this certificate
For example, IT department.
Option Description
Key Size Set the key bits size of the encryption algorithm.
The default value, 2048, is adequate unless you specifically need a different Key
size. Many CAs require a minimum value of 2048. Larger key sizes are more
secure but have a greater impact on performance.
Description Enter specific details to help you identify this certificate at a later date.
6 Click Generate.
You can save the CSR PEM file for your records and CA submission.
9 Use the contents of the CSR file to submit a certificate request to the CA in accordance with the CA
enrollment process.
Results
The CA creates a server certificate based on the information in the CSR file, signs it with its private key,
and sends you the certificate. The CA also sends you a root CA certificate.
Import a CA Certificate
You can import a signed CA certificate. After the import and activation, other certificates signed by that
CA will be trusted by NSX-T Data Center.
Prerequisites
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 Select Import > Import CA Certificate and enter the certificate details.
Option Description
Certificate Contents Browse to the CA certificate file on your computer and add the file.
Service Certificate Set to Yes to use this certificate for services such as a load balancer and VPN. Set
to No if this certificate is for the NSX Manager nodes.
4 Click Import.
When you use a self-signed certificate the client user receives a warning message such as, Invalid
Security Certificate. The client user must then accept the self-signed certificate when first
connecting to the server in order to proceed. Allowing client users to select this option provides reduced
security than other authorization methods.
Prerequisites
Verify that a CSR is available. See Create a Certificate Signing Request File.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Select a CSR.
7 Click Add.
Results
After you install NSX-T Data Center, the manager nodes and cluster have self-signed certificates. To
improve security, it is highly recommended that you replace the self-signed certificates with CA-signed
certificates and that you use a different certificate for each node.
Prerequisites
Verify that a certificate is available in the NSX Manager. See Import a Certificate.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
3 In the ID column, click the ID of the certificate you want to use and copy the certificate ID from the
pop-up window.
Make sure that when this certificate was imported, the option Service Certificate was set to No.
POST https://<nsx-mgr>/api/v1/node/services/http?
action=apply_certificate&certificate_id=e61c7537-3090-4149-b2b6-19915c20504f
Note: The certificate chain must be in the industry standard order of 'certificate - intermediate - root.'
For more information about the API, see the NSX-T Data Center API Reference.
5 To replace the certificate of the manager cluster VIP, use the POST /api/v1/cluster/api-
certificate?action=set_cluster_certificate API call. For example,
POST https://<nsx-mgr>/api/v1/cluster/api-certificate?
action=set_cluster_certificate&certificate_id=d60c6a07-6e59-4873-8edb-339bf75711ac
Note: The certificate chain must be in the industry standard order of 'certificate - intermediate - root.'
For more information about the API, see the NSX-T Data Center API Reference. This step is not
necessary if you did not configure VIP.
Prerequisites
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
Option Description
Certificate Contents Copy all of the items in the CRL and paste them in this section.
A sample CRL.
5 Click Import.
Results
n It is more efficient to have the CRL cached on the server, that is, NSX Manager.
n The client does not need to create any outbound connection to the certificate authority.
GET /api/v1/trust-management
GET /api/v1/trust-management/crl-distribution-points
POST /api/v1/trust-management/crl-distribution-points
DELETE /api/v1/trust-management/crl-distribution-points/<crl-distribution-point-id>
GET /api/v1/trust-management/crl-distribution-points/<crl-distribution-point-id>
PUT /api/v1/trust-management/crl-distribution-points/<crl-distribution-point-id>
GET /api/v1/trust-management/crl-distribution-points/<crl-distribution-point-id>/status
POST /api/v1/trust-management/crl-distribution-points/pem-file
You can manage CRL distribution points and retrieve the CRLs stored in NSX Manager. For more
information, see the NSX-T Data Center API Reference.
When you use a self-signed certificate the client user receives a warning message such as, Invalid
Security Certificate. The client user must then accept the self-signed certificate when first
connecting to the server in order to proceed. Allowing client users to select this option provides reduced
security than other authorization methods.
Prerequisites
Verify that a CSR is available. See Create a Certificate Signing Request File.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 Select a CSR.
6 Browse to the signed certificate file on your computer and add the file.
7 Click Add.
Results
Compliance-Based Configuration
NSX-T Data Center can be configured to use FIPS 140-2 validated cryptographic modules to run in FIPS-
compliant mode. The modules are validated to FIPS 140-2 standards by the NIST Cryptographic Module
Validation Program (CMVP).
All exceptions to FIPS compliance can be retrieved using the compliance report. See View Compliance
Status Report for more information.
The following validated modules are used in NSX-T Data Center 2.5:
n BC-FJA (Bouncy Castle FIPS Java API) version 1.0.1: Certificate #3152
You can find more information about the cryptographic modules that VMware has validated against the
FIPS 140-2 standard here: https://www.vmware.com/security/certifications/fips.html.
By default, load balancer uses modules that have FIPS mode turned off. You can turn on FIPS mode for
the modules used by load balancer. See Configure Global FIPS Compliance Mode for Load Balancer for
more information.
You can also retrieve the report using the API: GET /policy/api/v1/compliance/status.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 From the Home page, click Monitoring Dashboards > Compliance Report.
72001 Encryption is disabled. This status is reported if a To remediate this status, add a
VPN IPSec Profile VPN IPSec Profile that uses
configuration contains compliant encryption
NO_ENCRYPTION, algorithms and use the profile
NO_ENCRYPTION_AUTH_AES_GMA in all VPN configurations. See
C_128, Add IPSec Profiles.
NO_ENCRYPTION_AUTH_AES_GMA
C_192, or
NO_ENCRYPTION_AUTH_AES_GMA
C_256 encryption_algorithms.
This status affects IPSec VPN
session configurations which
use the reported non-
compliant configurations.
72011 BGP messages with neighbor This status is reported if no To remediate this status,
bypass integrity check. No password is configured for configure a password on the
message authentication BGP neighbors. BGP neighbor and update the
defined. This status affects the BGP tier-0 gateway configuration to
neighbor configuration. use the password. See
Configure BGP.
72012 Communication with BGP This status is reported if MD5 No remediation available as
neighbor uses weak integrity authentication is used for the NSX-T Data Center supports
check. MD5 is used for BGP neighbor password. only MD5 authentication for
message authentication. This status affects the BGP BGP.
neighbor configuration.
72021 SSL version 3 used for This status is reported if SSL To remediate this status,
establishing secure socket version 3 is configured in the configure an SSL profile to use
connection. It is load balancer client SSL TLS 1.1 or later and use this
recommended to run TLSv profile, load balancer server profile in all load balancer
1.1 or higher and fully disable SSL profile, or load balancer configurations. See Add an
SSLv3 that have protocol HTTPS monitor. SSL Profile.
weaknesses. This status affects the
following configurations:
n Load balancer pools that
are associated with
HTTPS monitors.
n Load balancer virtual
servers that are
associated with load
balancer client SSL
profiles or server SSL
profiles.
72022 TLS version 1.0 used for This status is reported if To remediate this status,
establishing secure socket TLSv1.0 is configured in load configure an SSL profile to use
connection. It is balancer client SSL profile, TLS 1.1 or later and use this
recommended to run TLSv load balancer server SSL profile in all load balancer
1.1 or higher and fully disable profile, or load balancer configurations. See Add an
TLSv1.0 that have protocol HTTPS monitor. SSL Profile.
weaknesses. This status affects the
following configurations:
n Load balancer pools that
are associated with
HTTPS monitors.
n Load balancer virtual
servers that are
associated with load
balancer client SSL
profiles or server SSL
profiles.
72023 Weak Diffie-Hellman group is This error is reported if a VPN To remediate this status,
used. IPSec Profile or VPN IKE configure the VPN Profiles to
Profile configuration includes use Diffie-Hellman group 19,
the following Diffie-Hellman 20, or 21. See Adding Profiles.
groups: 2, 5, 14, 15 or 16.
Groups 2 and 5 are weak
Diffie-Hellman groups.
Groups 14, 15, and 16 are not
weak groups, but are not
FIPS-compliant.
This status affects IPSec VPN
session configurations which
use the reported non-
compliant configurations.
72024 Load balancer FIPS global This error is reported if the To remediate this status,
setting is disabled. load balancer FIPS global enable FIPS for load balancer.
setting is disabled. See Configure Global FIPS
This status affects all load Compliance Mode for Load
balancer services. Balancer.
72200 Insufficient true entropy This status is reported when a To remediate this status, you
available. pseudo random number might need to use newer
generator is used to generate hardware to run the NSX
entropy rather than relying on Manager node. Most recent
hardware-generated entropy. hardware supports this feature.
Hardware-generated entropy
Note If the underlying
is not used because the NSX
infrastructure is virtual, you will
Manager node does not have
not get true entropy.
the required hardware
acceleration support to create
sufficient true entropy.
72201 Entropy source unknown. This status is reported when To remediate this status, verify
no entropy status is available that the indicated node is
for the indicated node. functioning properly.
72301 Certificate is not CA signed. This status is reported when To remediate this status, install
one of the NSX Manager CA-signed certificates. See
certificates is not CA signed. Setting Up Certificates.
NSX Manager uses the
following certificates:
n Syslog certificate.
n API certificates for the
individual NSX Manager
nodes.
n Cluster certificate used
for the NSX ManagerVIP.
Changing the global configuration for FIPS compliance for load balancers affects new load balancer
instances, but does not affect any existing load balancer instances.
If the global setting for FIPS for load balancer (lb_fips_enabled) is set to true, new load balancer
instances use modules that comply with FIPS 140-2. Existing load balancer instances might be using
non-compliant modules.
To make the change take effect on existing load balancers, you must detach and reattach the load
balancer from the tier-1 gateway.
You can check the global FIPS compliance status for load balancer using GET /policy/api/v1/
compliance/status.
...
{
"non_compliance_code": 72024,
"description": "Load balancer FIPS global setting is disabled.",
"reported_by": {
"target_id": "971ca477-df1a-4108-8187-7918c2f8c3ba",
"target_display_name": "971ca477-df1a-4108-8187-7918c2f8c3ba",
"target_type": "FipsGlobalConfig",
"is_valid": true
},
"affected_resources": [
{
"path": "/infra/lb-services/LB_Service",
"target_id": "/infra/lb-services/LB_Service",
"target_display_name": "LB_1",
"target_type": "LBService",
"is_valid": true
}
]
},
...
Note The compliance report displays the global setting for FIPS compliance for load balancer. Any given
load balancer instance can have a FIPS compliance status that is different from the global setting.
Procedure
GET https://nsx-mgr1/policy/api/v1/infra/global-config
{
"fips": {
"lb_fips_enabled": false
},
"resource_type": "GlobalConfig",
"id": "global-config",
"display_name": "global-config",
"path": "/infra/global-config",
"relative_path": "global-config",
"marked_for_delete": false,
"_create_user": "system",
"_create_time": 1561225479619,
"_last_modified_user": "admin",
"_last_modified_time": 1561937915337,
"_system_owned": true,
"_protection": "NOT_PROTECTED",
"_revision": 2
}
The global setting is used when you create new load balancer instances. Changing the setting does
not affect existing load balancer instances.
PUT https://nsx-mgr1/policy/api/v1/infra/global-config
{
"fips": {
"lb_fips_enabled": true
},
"resource_type": "GlobalConfig",
"_revision": 2
}
{
"fips": {
"lb_fips_enabled": true
},
"resource_type": "GlobalConfig",
"id": "global-config",
"display_name": "global-config",
"path": "/infra/global-config",
"relative_path": "global-config",
"marked_for_delete": false,
"_create_user": "system",
"_create_time": 1561225479619,
"_last_modified_user": "admin",
"_last_modified_time": 1561937960950,
"_system_owned": true,
"_protection": "NOT_PROTECTED",
"_revision": 3
}
3 If you want any existing load balancer instances to use this global setting, you must detach and
reattach the load balancer from the tier-1 gateway.
Caution Detaching a load balancer from the tier-1 gateway results in a traffic interruption for the
load balancer instance.
b On the load balancer you want to detach, click the three dots menu ( ), then click Edit.
c Click , then click Save to detach the load balancer from the tier-1 gateway.
e Select the correct gateway from the Tier-1 Gateway drop-down menu, then click Save to
reattach the load balancer to the tier-1 gateway.
If you choose to download the bundles to your machine, you get a single archive file consisting of a
manifest file and support bundles for each node. If you choose to upload the bundles to a file server, the
manifest file and the individual bundles are uploaded to the file server separately.
NSX Cloud Note If you want to collect the support bundle for CSM, log in to CSM, go to System >
Utilities > Support Bundle and click on Download. The support bundle for PCG is available from NSX
Manager using the following instructions. The support bundle for PCG also contains logs for all the
workload VMs.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
The available types of nodes are Management Nodes, Edges, Hosts, and Public Cloud Gateways.
4 (Optional) Specify log age in days to exclude logs that are older than the specified number of days.
5 (Optional) Toggle the switch that indicates whether to include or exclude core files and audit logs.
Note Core files and audit logs might contain sensitive information such as passwords or encryption
keys.
6 (Optional) Select the check box to upload the bundles to a remote file server.
Depending on how many log files exist, each node might take several minutes.
9 Click Download to download the bundle if the option to send the bundle to a file remote server was
not set.
Log Messages
Log messages from all NSX-T Data Center components, including those running on ESXi hosts, conform
to the syslog format as specified in RFC 5424. Log messages from KVM hosts are in the RFC 3164
format. The log files are in the directory /var/log.
On NSX-T Data Center appliances, you can run the following NSX-T Data Center CLI command to view
the logs:
Name Description
On hypervisors, you can use Linux commands such as tac, tail, grep, and more to view the logs. You
can also use these commands on NSX-T Data Center appliances.
For more information about RFC 5424, see https://tools.ietf.org/html/rfc5424. For more information about
RFC 3164, see https://tools.ietf.org/html/rfc3164.
<facility * 8 + severity> version UTC-TZ hostname APP-NAME procid MSGID [structured-data] msg
Every message has the component (comp) and sub-component (subcomp) information to help identify the
source of the message.
NSX-T Data Center produces logs with facility local6, which has a numerical value of 22. Each API call
produces one audit log, which contains audit="true" in the structured data field.
An audit log that is associated with an API call has the following information:
n An external request ID parameter ereqId if the API call contains the header X-NSX-
EREQID:<string>.
n An external user parameter euser if the API call contains the header X-NSX-EUSER:<string>.
All logs with a severity of emergency, alert, critical, or error contain a unique error code in the structured
data portion of the log message. The error code consists of a string and a decimal number. The string
represents a specific module.
The MSGID field identifies the type of message. For a list of the message IDs, see Log Message IDs.
Remote logging is supported on NSX Manager, NSX Edge, and hypervisors. You must configure remote
logging on each node individually.
On an KVM host, the NSX-T Data Center installation package automatically configures the rsyslog
daemon by putting configuration files in the /etc/rsyslog.d directory.
Prerequisites
Procedure
a Run the following command to configure a log server and the types of messages to send to the
log server. Multiple facilities or message IDs can be specified as a comma delimited list, without
spaces.
For more information about this command, see the NSX-T CLI Reference. You can run the
command multiple times to add multiple logging server configurations. For example:
nsx> set logging-server 192.168.110.60 proto udp level info facility syslog messageid
SYSTEM,FABRIC
nsx> set logging-server 192.168.110.60 proto udp level info facility auth,user
b you can view the logging configuration with the get logging-server command. For example,
a Run the following commands to configure syslog and send a test message:
*.* @<ip>:514;RFC5424fmt
GROUPING IP sets
Mac sets
NSGroups
NSServices
NSService groups
VNI Pool
IP Pool
MONITORING SNMP
Port connection
Traceflow
n If the protocol is TLS, set the protocol to UDP to see if there is a certificate mismatch.
n If the protocol is TLS, verify that port 6514 is open on both ends.
n Remove the message ID filter and see if logs are received by the server.
n Restart the rsyslog service with the command restart service rsyslogd.
Details regarding the data collected through CEIP and the purposes for which it is used by VMware are
set forth at the Trust & Assurance Center at https://www.vmware.com/solutions/trustvmware/ceip.html.
To join or leave the CEIP for NSX-T Data Center, or edit program settings, see Edit the Customer
Experience Improvement Program Configuration.
You can also edit the existing CEIP configuration to join or leave the CEIP program, define the frequency
and the days the information is collected, and proxy server configuration.
Prerequisites
n Verify that the NSX Manager is connected and can synchronize with your hypervisor.
n Verify that NSX-T Data Center is connected to a public network for uploading data.
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
4 In the Edit Customer Experience Program dialog box, select the Join the VMware Customer
Experience Improvement Program check box.
7 Click Save.
NSX Cloud Note If using NSX Cloud, see How to use NSX-T Data Center Features with the Public
Cloud for a list of auto-generated logical entities, supported features, and configurations required for NSX
Cloud.
Most objects can have a maximum of 30 tags. For the following objects, the maximum is lower because of
tags that are created and used internally.
Table 21-11. Maximum number of tags for objects created using the Advanced Networking &
Security tab
Object Maximum Number of Tags
virtual machine 25
Logical Port 29
Table 21-12. Maximum number of tags for objects created using the Networking, Security, or
Inventory tabs
Object Maximum Number of Tags
Group 29
Segment 27
Segment Port 29
NAT Rule 27
Table 21-13. Maximum number of tags for Cloud Service Manager objects
Object Maximum Number of Tags
Table 21-14. Maximum number of tags for Public Cloud Manager objects
Object Maximum Number of Tags
NAT Rule 20
IP Set, NSGroup 22
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
2 Edit an object.
Each tag has a tag value, which is required, and a scope value, which is optional. The maximum
length of a tag is 256 characters. The maximum length of a scope is 128 characters.
4 Click Save.
To connect via SSH, the NSX Manager and the remote server must have a host key type in common. If
there are multiple host keys types in common, whichever one is preferred according to the
HostKeyAlgorithm configuration on the NSX Manager is used.
Having the fingerprint for a remote server helps you confirm you are connecting to the correct server,
protecting you from man-in-the-middle attacks. You can ask the administrator of the remote server if they
can provide the SSH fingerprint of the server. Or you can connect to the remote server to find the
fingerprint. Connecting to the server over console is more secure than over the network.
The following table lists what NSX Manager supports in order from more preferred to less preferred.
ED25519 /etc/ssh/ssh_host_ed25519_key.pub
Procedure
$ ls -al /etc/ssh/*pub
-rw-r--r-- 1 root root 601 Apr 8 18:10 ssh_host_dsa_key.pub
-rw-r--r-- 1 root root 93 Apr 8 18:10 ssh_host_ed25519_key.pub
-rw-r--r-- 1 root root 393 Apr 8 18:10 ssh_host_rsa_key.pub
Procedure
1 From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-
address>.
This process can take a few minutes. When the process is completed, the following information is
displayed:
n Circles representing various tiers, for example, web tier, database tier, and application tier. Also
displayed is the number of processes in each tier.
6 Click a circle to see more information about the processes in that tier.
NSX Cloud enables you to manage and secure your public cloud inventory using NSX-T Data Center.
See Installing NSX Cloud Components in the NSX-T Data Center Installation Guide for the NSX Cloud
deployment workflow.
n FAQ
n Search: You can use the search text box to find public cloud accounts or related constructs.
n Clouds: Your public cloud inventory is managed through the sections under this category.
n System: You can access Settings, Utilities, and Users for Cloud Service Manager from this
category.
You can perform all public cloud operations by going to the Clouds subsection of CSM.
To perform system-based operations, such as, backup, restore, upgrade, and user management, go to
the System subsection.
Clouds
These are the sections under Clouds:
Overview: Each tile on this screen represents your public cloud account with the number of accounts,
regions, VPCs or VNets, and instances (workload VMs) it contains.
Add a public cloud account You can add one or more public cloud accounts or subscriptions. This enables you to view your
or subscription public cloud inventory in CSM and indicates the number of VMs that are managed by NSX-T Data
Center and their state.
See Add your Public Cloud Account in the NSX-T Data Center Installation Guide for detailed
instructions.
Deploy/Undeploy NSX You can deploy or undeploy one or two (for High Availability) PCG(s). You can also undeploy PCG
Public Cloud Gateway from CSM.
See Deploy PCG or Undeploy PCG in the NSX-T Data Center Installation Guide for detailed
instructions.
Enable or Disable You can enable or disable Quarantine Policy. See Threat Detection using the NSX Cloud Quarantine
Quarantine Policy Policy for details.
Switch between Grid and The cards display an overview of your inventory. The grid displays more details. Click the icons to
Card view switch between the view types.
CSM provides a holistic view of all your public cloud accounts that you have connected with NSX Cloud
by presenting your public cloud inventory in different ways:
n You can view the number of regions you are operating in.
Each card represents a public cloud account of the cloud provider you selected from Clouds.
n Add Account
n Edit Account
n Delete Account
n Resync Account
You can filter the Regions by your public cloud account. Each region has VPCs/VNets and instances. If
you have deployed any PCGs, you can see them here as Gateways with an indicator for the PCG's
health.
n You can have one or two (for HA) PCGs deployed on Transit VPCs/VNets.
n You can view more details for each VPC or VNet by switching to the grid view.
Note In the grid view you can see three tabs: Overview, Instances, and Segments.
n Overview lists the options under Actions as described in the next step.
n Segments displays overlay segments in NSX-T. This feature is not supported in the current
release for NSX Cloud. Do not tag your workload VMs in AWS or Microsoft Azure with tags
shown on this screen.
• Provide a Fallback Security Group that is required when the VPC/VNet is off-boarded from
NSX Cloud when using the NSX Enforced Mode. See Quarantine Policy Impact when
Disabled.
n Link to Transit VPC/VNet: This option is only available to VPCs/VNets that do not have any
PCG deployed on them. Click to select a Transit VPC/VNet to link to.
n Deploy NSX Cloud Gateway: This option is only available to VPCs/VNets that do not have a
PCG deployed on them. Click this option to get started with deploying PCG on this VPC/VNet and
make it a Transit or self-managed VPC/VNet. See Deploy or Link NSX Public Cloud Gateways
in the NSX-T Data Center Installation Guide for detailed instructions.
You can filter the instance inventory by Account, Region, and VPC or VNet.
For details on the instance, click on the card or switch to the grid view.
You can add instances to or remove instances from the CSM whitelist. See Whitelisting VMs for details.
CSM Icons
CSM displays the state and health of your public cloud constructs using descriptive icons.
Note In the Native Cloud Enforced Mode: Quarantine Policy is always enabled and all VMs are always
NSX-managed. Only the states where Quarantine Policy is enabled for NSX-managed VMs apply in this
mode.
In the NSX Enforced Mode: Quarantine Policy can be disabled and it is possible to have unmanaged VMs
in the VPC/VNet. All relevant states apply to this mode.
VPCs/VNets
Transit VPC/VNet
Compute VPC/VNet
Self-Managed VPC/VNet
Instances
System
These are the sections under System:
Prerequisites
n NSX Manager must be installed and you must have the username and password for the admin
account to log in to NSX Manager
n CSM must be installed and you must have the Enterprise Administrator role assigned in CSM.
Procedure
Option Description
NSX Manager Host Name Enter the fully qualified domain name (FQDN) of the NSX Manager, if available.
You may also enter the IP address of NSX Manager.
Admin Credentials Enter an Enterprise Administrator username and password for NSX Manager.
Manager Thumbprint Optionally, enter the NSX Manager's thumbrpint value. If you leave this field blank,
the system identifies the thumbprint and displays it in the next screen.
4 (Optional) If you did not provide a thumbprint value for NSX Manager, or if the value was incorrect,
the Verify Thumbprint screen appears. Select the checkbox to accept the thumbprint discovered by
the system.
5 Click Connect.
Note If you missed this setting in the setup wizard or if you want to change the associated NSX
Manager, log in to CSM, click System > Settings, and click Configure on the panel titled
Associated NSX Node.
6 (Optional) Set up the Proxy server. See instructions in (Optional) Configure Proxy Servers.
All public cloud communication from PCG and CSM is routed through the selected proxy server.
Proxy settings for PCG are independent of proxy settings for CSM. You can choose to have none or a
different proxy server for PCG.
n Credentials-based authentication.
n No authentication.
Procedure
1 Click System > Settings. Then click Configure on the panel titled Proxy Servers.
Note You can also provide these details when using the CSM Setup Wizard that is available when
you first install CSM.
Option Description
Default Use this radio button to indicate the default proxy server.
Authentication Optional. If you want to set up additional authentication, select this check box and
provide valid username and password.
No Proxy Select this option if you do not want to use any of the proxy servers configured.
Support Bundle
Click Download to retrieve the support bundle for CSM. This is used for r troubleshooting. See the NSX-T
Data Center Troubleshooting Guide for more information.
See Managing User Accounts and Role-Based Access Control for details.
Table 22-1. Quarantine Policy Implementation in the NSX Enforced Mode and the Native
Cloud Enforced Mode
Configurations related to Quarantine
Policy In the NSX Enforced Mode In the Native Cloud Enforced Mode
Default state Disabled when deploying PCG using Always enabled. Cannot be disabled.
NSX Tools. You can enable it from the
PCG-deployment screen or later. See
How to Enable or Disable Quarantine
Policy.
Auto-created security groups unique to All healthy NSX-managed VMs are nsx-<NSX GUID> security groups are
each mode assigned the vm-underlay-sg security created for and applied to NSX-managed
group. workload VMs that are matched with a
Distributed Firewall Policy in NSX
Manager
Auto-created Public Cloud Security The gw security groups are applied to the respective PCG interfaces in AWS and
Groups common to both modes: Microsoft Azure.
n gw-mgmt-sg
n gw-uplink-sg
n gw-vtep-sg
The vm security groups are applied to NSX-managed VMs depending on their
current state and whether Quarantine Policy is enabled or disabled:
n vm-quarantine-sg in Microsoft Azure and default in AWS.
Note In AWS, the default security group already exists. It is not created by
NSX Cloud.
Start with enabled for Greenfield deployments: For greenfield deployments, it is recommended that you
enable Quarantine Policy to allow threat detection for your VMs to be managed by NSX Cloud.
The first possibility to enable Quarantine Policy is when you deploy PCG on a Transit VPC/VNet or link a
Compute VPC/VNet to a Transit. Move the slider for Quarantine Policy on the Associated VPC/VNet to
Enabled from the default Disabled state. See Deploy PCG in the NSX-T Data Center Installation Guide.
You can also enable Quarantine Policy later following the steps here.
Prerequisites
If enabling Quarantine Policy after deploying or linking to a PCG, you must have one or more Transit or
Compute VPCs/VNets onboarded in the NSX Enforced Mode, that is you elected to use NSX Tools for
managing your workload VMs.
Procedure
a If using AWS, go to Clouds > AWS > VPCs. Click on the Transit or Compute VPC.
b If using Microsoft Azure, go to Clouds > Azure > VNets. Click on the Transit or Compute VNet.
n If you are in the grid view, select the checkbox next to the VPC or VNet and click ACTIONS >
Edit Configuration.
u If you are in the VPC or VNet's page, click the ACTIONS icon to go to Edit Configurations.
4 If you are disabling Quarantine Policy, you must provide a fallback security group.
Note The fallback security group must be an existing user-defined security group in your public
cloud. You cannot use any of the NSX Cloud security groups as a fallback security group.
n All unmanaged VMs in this VPC or VNet will get the fallback security group assigned to them
upon disabling Quarantine Policy.
n All managed VMs retain the security group assigned by NSX Cloud. The first time such VMs are
untagged and become unmanaged after disabling Quarantine Policy, they also get the fallback
security group assigned to them.
5 Click SAVE.
However, for VMs tagged with nsx.network=default in the public cloud, NSX Cloud assigns
appropriate security groups depending on the VM's state. This behavior is similar to when the Quarantine
Policy is enabled, but the rules in the quarantine security groups: vm-quarantine-sg in Microsoft Azure
and default in AWS are less restrictive. Any manual changes to the security groups of tagged VMs are
reverted to the NSX Cloud-assigned security group within two minutes.
Note If you do not want NSX Cloud to assign security groups to your NSX-managed (tagged) VMs,
whitelist them in CSM. See Whitelisting VMs.
The following table shows how NSX Cloud manages the public cloud security groups of workload VMs
when Quarantine Policy is disabled.
Table 22-2. NSX Cloud assignment of public cloud security groups when Quarantine Policy is
disabled
VM's Public cloud security group when
Is VM tagged with nsx.network=default Quarantine Policy is disabled and
in the public cloud? Is VM whitelisted? explanation
The following table shows how NSX Cloud manages the public cloud security groups of VMs if
Quarantine policy was enabled before and is now disabled with a Fallback Security Group configured for
handling security group assignments for this VPC/VNet.
Table 22-3. NSX Cloud assignment of public cloud security groups when Quarantine Policy is
disabled from being enabled at first
VM's existing public
Is VM tagged with cloud security group VM's public cloud security group after
nsx.network=default in the Is VM when Quarantine Policy Quarantine Policy is disabled and a
public cloud? whitelisted? is enabled fallback security group provided
Not Tagged Not Whitelisted vm-quarantine-sg This VM is assigned the fallback security
(Microsoft Azure) Or group you provided when disabling the
default(AWS) Quarantine Policy because it is untagged and
not considered NSX-managed, therefore NSX
Cloud reverts the security group it assigned
this VM when you disable Quarantine Policy.
Tagged Not Whitelisted vm-underlay-sg Or vm- Retains the NSX Cloud-assigned security
quarantine-sg (Microsoft group because that is consistent for tagged
Azure) Or default(AWS) VMs in the Quarantine enabled or disabled
modes.
Table 22-3. NSX Cloud assignment of public cloud security groups when Quarantine Policy is
disabled from being enabled at first (continued)
VM's existing public
Is VM tagged with cloud security group VM's public cloud security group after
nsx.network=default in the Is VM when Quarantine Policy Quarantine Policy is disabled and a
public cloud? whitelisted? is enabled fallback security group provided
Tagged Whitelisted Any existing public cloud Retains existing public cloud security group
security group because NSX Cloud doesn't take any action
Not Tagged
on whitelisted VMs.
Any manual changes to the security groups are reverted to the NSX Cloud-assigned security group within
two minutes. If you do not want NSX Cloud to assign security groups to your VMs, whitelist them in CSM.
See Whitelisting VMs.
Note Removing the VM from the whitelist causes the VM to revert to the NSX Cloud-assigned security
group.
Table 22-4. NSX Cloud assignment of public cloud security groups when Quarantine Policy is
enabled
VM's public cloud security group when
Is VM tagged with nsx.network=default Quarntine Policy is enabled and
in the public cloud)? Is VM whitelisted? explanation
The following table captures the impact on security group assignments if the Quarantine Policy was
disabled at first and then you enable it:
Table 22-5. NSX Cloud assignment of public cloud security groups when Quarantine Policy is
enabled from being disabled at first
Is VM tagged with VM's existing public cloud
nsx.network=default in the security group when VM's public cloud security group
public cloud? Is VM whitelisted? Quarantine Policy is disabled after Quarantine Policy is enabled
Not Tagged Not Whitelisted Any existing public cloud vm-quarantine-sg (Microsoft Azure)
security group Or default(AWS)
Tagged Whitelisted Any existing public cloud Retains existing public cloud security
security group. group because NSX Cloud doesn't take
Not Tagged
any action on whitelisted VMs.
Table 22-6. Assignment of Public Cloud Security Groups in the Native Cloud Enforced Mode
Is VM part of a valid NSX-T
Security policy? Is VM whitelisted? VM's public cloud security group and explanation
Yes, VM is matched with a valid Not whitelisted NSX Cloud-created public cloud security group named like nsx-{NSX-
NSX-T Security Policy GUID} which is the corresponding public cloud security group for the
NSX-T Security Policy.
No, VM does not have a valid Not whitelisted vm-quarantine-sg in Microsoft Azure or default in AWS because
NSX-T firewall policy this is the threat detection behavior of NSX Cloud. In the Native Cloud
Enforced Mode, the NSX Cloud-created security groups vm-
quarantine-sg in Microsoft Azure or default in AWS mimic the
default public cloud security policy.
Yes, VM has valid NSX-T Security Whitelisted Retains existing public cloud security group because NSX Cloud
policy doesn't take any action on whitelisted VMs.
Whitelisting VMs
Whitelisting is an option available from CSM for all workload VMs in your public cloud inventory.
Whitelisting works in both the VM-management modes: NSX Enforced Mode and the Native Cloud
Enforced Mode.
n In either the NSX Enforced Mode or the Native Cloud Enforced Mode:
n If you have VMs with errors and want to access them to resolve the errors, whitelist such VMs so
you can move them out of the quarantine state and use debugging tools as required.
n Whitelist VMs in your public cloud inventory that you don’t want NSX-T to manage, e.g. DNS
Forwarder, Proxy server etc.
Prerequisites
You must have one or more public cloud accounts added to CSM.
Procedure
1 Log in to CSM using an Enterprise Admin account and go to your public cloud account.
b If using Microsoft Azure, go to Clouds > Azure > VNets > Instances.
2 If in Tiles mode, switch to Grid mode by clicking the mode selector in the right corner of the instances
view.
3 Select the VMs (instances) that you want to whitelist or remove from whitelist.
4 Click Actions and select either Add to Whitelist or Remove from Whitelist.
5 Go back to the Accounts tab, select the account tile and click Actions > Resync Account.
Results
Each VM added to the whitelist remains in the security group it was assigned before whitelisting. You can
now apply any other security group to the VM as required. NSX Cloud ignores whitelisted VMs regardless
of the status of Quarantine Policy.
If you remove a VM from whitelist in the Native Cloud Enforced Mode or remove an NSX-managed VM
from whitelist in the NSX Enforced Mode, NSX Cloud starts assigning security groups to that VM
depending on its state.
Note See the NSX Cloud Known Issues section in the NSX-T Data Center Release Notes for
exceptions. For supported operating systems it is assumed that you are using the standard Linux kernel
versions. Public cloud marketplace images with custom kernels, for example, upstream Linux kernel with
modified sources, are not supported.
n Red Hat Enterprise Linux (RHEL) 7.2, 7.3, 7.4, 7.5, 7.6
Note RHEL Extended Update Support (EUS) kernel in RHEL and CentOS are not supported.
Note Only the CentOS marketplace images whose distribution versions match their expected minor
kernel versions are supported for NSX Cloud. For example, the distribution versions and their
corresponding kernel versions are expected to be as follows:
n Microsoft Windows Server 2016 - Service based release, Desktop experience(1709, 1803, 1809)
n Microsoft Windows 10 versions 1809, 1803, 1709 (only supported in Microsoft Azure in the current
NSX Cloud release)
Table 22-7. Day-N Workflow for onboarding your workload VMs into NSX Cloud
Task Instructions
Procedure
1 Log in to your public cloud account and go to your VPC or VNet where you want your workload VMs
to be managed by NSX-T Data Center.
2 Select the VMs that you want to manage using NSX-T Data Center.
3 Add the following tag details for the VMs and save your changes.
Key: nsx.network
Value: default
Results
You may have already onboarded the VPCs/VNets where you applied the nsx.network=default tags to
workload VMs. You can also onboard these VPCs/VNets after applying the tag. Successful onboarding of
the VPC/VNet results in the workload VMs to be considered NSX-managed.
What to do next
If using Microsoft Azure, you have the option to auto-install NSX Tools on tagged VMs. See Install NSX
Tools Automatically for details.
n Download and install NSX Tools in individual workload VMs. Linux and Windows VMs have some
variations.
n Use replicable images with NSX Tools installed on them using your public cloud's supported method,
for example, create an AMI in AWS or a Managed Image in Microsoft Azure.
n AWS-only: When launching VMs, provide the NSX Tools download location and installation command
in User Data.
n Microsoft Azure-only: Enable auto-installation of NSX Tools when deploying PCG in a Microsoft Azure
VNet or while linking to a Transit VNet, or by editing a Transit/Compute VNet's Configuration.
Note If you have whitelisted workload VMs on which you want to install NSX Tools, ensure the following
ports are open in the security groups you have assigned to such VMs:
n Inbound UDP 6081 : For overlay data packets. This should be allowed for (Active/Standby) PCG's
VTEP IP address (eth1 interface).
n Outbound TCP 5555 : For control packets. This should be allowed for (Active/Standby) PCG's
management IP address (eth0 interface).
n TCP 80: For downloading any third party dependencies while installing NSX Tools.
See Currently Supported Operating Systems for Workload VMs for a list of Linux distributions currently
supported.
Note To verify the checksum of this script, go to VMware Downloads > Drivers & Tools > NSX Cloud
Scripts.
Prerequisites
You need the following commands to run the NSX Tools installation script:
n wget
n nslookup
n dmidecode
Procedure
a If using AWS, go to Clouds > AWS > VPCs. Click on a Transit or Compute VPC.
b If using Microsoft Azure, go to Clouds > Azure > VNets. Click on the VNet on which one or a pair
of PCGs is deployed and running.
Note: Transit VPC/VNet is where one or a pair of PCGs is deployed and running. Compute VPC/VNet
is the one linked to a Transit and can use the PCGs deployed there.
2 From the NSX Tools Download & Installation section of the screen, make a note of the Download
Location and the Installation Command under Linux.
Note For VNets, the DNS Suffix in the Installation Command is dynamically generated to match the
DNS settings you choose when deploying PCG. For Transit VNets, the -dnsServer <dns-server-
ip> parameter is optional. For Compute VNets, you must provide the DNS Forwarder IP address to
complete this command.
4 Use wget or equivalent to download the installation script on your Linux VM from the Download
Location you noted from CSM. The installation script is downloaded in the directory where you run
the wget command.
Note To verify the checksum of this script, go to VMware Downloads > Drivers & Tools > NSX
Cloud Scripts.
5 Change permissions on the installation script to make it executable if required, and run it:
Note: On Red Hat Enterprise Linux and its derivatives, SELinux is not supported. Disable SELinux to
install NSX Tools.
6 You lose connection to your Linux VM after NSX Tools installation begins. Messages such as the
following appear on your screen: Installation completed!!! Starting NSX Agent service.
SSH connection will now be lost.. Reconnect to your VM to complete the onboarding process.
Results
Note
n After NSX Tools are successfully installed, port 8888 shows as open on the VM but it is blocked for
VMs in the underlay mode and should be used only when required for advanced troubleshooting.
What to do next
See Currently Supported Operating Systems for Workload VMs for a list of Microsoft Windows versions
currently supported.
Note To verify the checksum of this script, go to VMware Downloads > Drivers & Tools > NSX Cloud
Scripts.
Procedure
a If using AWS, go to Clouds > AWS > VPCs. Click on a Transit or Compute VPC.
b If using Microsoft Azure, go to Clouds > Azure > VNets. Click on the VNet on which one or a pair
of PCGs is deployed and running.
Note: Transit VPC/VNet is where one or a pair of PCGs is deployed and running. Compute VPC/VNet
is the one linked to a Transit and can use the PCGs deployed there.
2 From the NSX Tools Download & Installation section of the screen, make a note of the Download
Location and the Installation Command under Windows.
Note For VNets, the DNS Suffix in the Installation Command is dynamically generated to match the
DNS settings you choose when deploying PCG. For Transit VNets, the -dnsServer <dns-server-
ip> parameter is optional. For Compute VNets, you must provide the DNS Forwarder IP address to
complete this command.
4 Download the installation script on your Windows VM from the Download Location you noted from
CSM. You can use any browser, for example, Internet Explorer, to download the script. It is
downloaded in your browser's default downloads directory, for example, C:\ Downloads.
Note To verify the checksum of this script, go to VMware Downloads > Drivers & Tools > NSX
Cloud Scripts
Note:
5 Open a PowerShell prompt and go to the directory containing the downloaded script.
6 Use the Installation command you noted from CSM to run the downloaded script.
For example:
Note The file argument needs the full path unless you are in the same directory or if the PowerShell
script is already in the path. For example, if you download the script to C:\Downloads, and you are
currently not in that directory, then the script must contain the location: powershell -file 'C:\Downloads
\nsx_install.ps1' ...
7 The script runs and when completed, displays a message indicating whether NSX Tools was installed
successfully.
Note The script considers the primary network interface as the default.
What to do next
With this feature, you can launch multiple VMs with with the agent configured and running.
There are two ways in which you can generate an AMI/Managed Image (image in the rest of this topic) of
a VM with the NSX agent installed on it:
n Generate image with an unconfigured NSX agent: You can generate an image from a VM that has
the NSX agent installed on it but not configured by using the -noStart option. This option allows the
NSX agent package to be fetched and installed but the NSX services are not started. Also, no NSX
configurations such as certificate generation, are made.
n Generate image after removing existing NSX agent configurations: You can remove
configurations from an existing NSX-managed VM and use it for generating an image.
Generating AMI with an unconfigured NSX agent
You can generate an AMI of a VM with the NSX agent installed on it and not configured.
To generate an image from a VM that has the NSX agent installed on it using the -noStart option, do the
following:
Procedure
1 Copy paste the NSX agent Installation Command from CSM. See instructions at Install NSX Tools
c:\> powershell -file ‘nsx_install.ps1” -operation install -dnsSuffix <> –noStart true
To remove configurations from an existing NSX-managed VM and use it for generating images, do the
following:
Procedure
sudo nsxcli
In Microsoft Azure, if the following criteria are met, NSX Tools are installed automatically:
n Azure VM Extensions are installed on the VMs in the VNet added into NSX Cloud. See Microsoft
Azure documentation on VM Extensions for more details.
n The security group applied to VMs in Microsoft Azure must allow access to install NSX Tools. If
Quarantine Policy is enabled, You can whitelist the VMs in CSM before installation and remove them
from whitelist after installation.
n If you are in the grid view, select the checkbox next to the VNet and click ACTIONS > Edit
Configuration.
n If you are in the VNet tab, click the ACTIONS icon to go to Edit Configurations.
1 Log in to the Microsoft Azure portal and navigate to the VM where NSX Tools installation failed.
Within about three minutes, NSX Tools are installed on this VM.
Copy the download and installation instructions for NSX Tools from CSM and paste into User Data when
launching a new workload VM.
Procedure
1 Log in to AWS console and start the process of launching a new workload VM.
Note Transit VPC/VNet is where one or a pair of PCGs is deployed and running. Compute VPC/
VNet is the one linked to a Transit and can use the PCGs deployed there.
c From the NSX Tools Download & Installation section of the screen, copy the Download
Location and the Installation Command under Linux or Windows depending on what OS you
are using for your workload VM.
3 In AWS, in the steps for launching a new workload VM instance, paste the download location and the
installation command as Text in User Data in the Advanced Details section.
Results
Note To see other options available for the installation script, use -help.
Note To see other options available for the installation script, use --help.
n Healthy NSX-managed VMs are moved to the vm-underlay-sg in the public cloud.
n Unmanaged VMs or NSX-managed VMs with errors are moved to the default Security Group in
AWS and vm-quarantine-sg Network Security Group in Microsoft Azure.
n Healthy NSX-managed VMs are moved to the vm-underlay-sg in the public cloud.
n NSX-managed VMs with errors are moved to the default Security Group in AWS and vm-
quarantine-sg Network Security Group in Microsoft Azure.
Table 22-8. Micro-segmentation workflow for your NSX-managed workload VMs in the NSX
Enforced Mode
Task Instructions
The two stateless rules are for DHCP access and they do not affect access to your workload VMs.
cloud-<VPC/VNet ID>-managed Allows access to the VMs within the same VPC/VNet.
cloud-<VPC/VNet ID>-inbound Blocks access to NSX-managed VMs from anywhere outside the
VPC/VNet.
You can create a copy of the existing inbound rule, adjust the sources and destinations, and set to Allow.
Place the Allow rule above the default Reject rule. You can also add new policies and rules. See Add a
Distributed Firewall for instructions.
1 Create groups using VM names or tags or other membership criteria, for example, for web, app, DB
tiers. For instructions, see Add a Group.
Note You can use any of the following tags for membership criteria. See Group VMs using NSX-T
Data Center and Public Cloud Tags for details.
n system-defined tags
n tags from your VPC or VNet that are discovered by NSX Cloud
Note DFW rules depend on the tags assigned to VMs. Since these tags can be modified by anyone
with the appropriate public cloud permissions, NSX-T Data Center assumes that such users are
trustworthy and the responsibility of ensuring and auditing that VMs are correctly tagged at all times
lies with the public cloud network administrator.
2 Create an East-West distributed firewall policy and rule and apply to the group you created. See Add
a Distributed Firewall .
This micro-segmentation takes effect when the inventory is either manually re-synchronized from CSM, or
within about three minutes when the changes are pulled into CSM from your public cloud.
Note All operating systems are supported for your workload VMs in the Native Cloud Enforced Mode.
All workload VMs in your VPCs/VNets onboarded in the Native Cloud Enforced Mode are NSX-managed.
Table 22-9. Micro-segmentation workflow for your workload VMs in the Native Cloud
Enforced Mode
Task Instructions
Create one or more Security Policies in NSX Manager See also: Group VMs using NSX-T Data Center and Public Cloud
that apply to the Group(s) you created for your public cloud Tags
workload VMs.
Prerequisites
You must have a Transit or Compute VPC/VNet in the Native Cloud Enforced Mode.
Procedure
1 In NSX Manager, edit or create Groups for workload VMs, for example, VM names starting with web,
app, db, could be three separate Groups. See Add a Group for instructions. Also see Group VMs
using NSX-T Data Center and Public Cloud Tags for information on using public cloud tags to create
Groups for your workload VMs.
Workload VMs that match the criteria are be added to the Group. VMs that do not match any
grouping criteria are placed in the default Security Group in AWS and the vm-quarantine-sg
Network Security Group in Microsoft Azure.
Note DFW rules depend on the tags assigned to VMs. Since these tags can be modified by anyone
with the appropriate public cloud permissions, NSX-T Data Center assumes that such users are
trustworthy and the responsibility of ensuring and auditing that VMs are correctly tagged at all times
lies with the public cloud network administrator.
2 In NSX Manager create Distributed Firewall (DFW) rules with the Groups in the Source, Destination
or Applied To fields. See Add a Distributed Firewall for instructions.
Note Only Stateful policies are supported for public cloud workload VMs. Stateless policies can be
created in NSX Manager but they will not be matched with any Groups that contain your public cloud
workload VMs.
3 In CSM, remove those VMs from whitelist that you want to bring under NSX management. See How
to Whitelist VMs or Remove from Whitelist for instructions.
Note Whitelisting is a manual step that is strongly recommended in the day-0 workflow as soon as
you add your public cloud inventory in CSM. If you have not whitelisted any VMs, you do not need to
remove them from the whitelist.
4 For Groups and DFW rules that find a match in the public cloud, the following takes place
automatically:
a In AWS, NSX Cloud creates a new Security Group named like nsx-<NSX GUID>.
b In Microsoft Azure, NSX Cloud creates an Application Security Group (ASG) corresponding with
the Group created in NSX Manager and a Network Security Group (NSG) corresponding to the
DFW rules that are matched with grouped workload VMs.
Note NSX Cloud synchronizes NSX Manager and public cloud groups and DFW rules every 30
seconds.
b From the public cloud account, click Actions > Resync Account. Wait for the resync to
complete.
c Go to the VPC/VNet and click on the red-colored Errors indicator. This takes you to the instances
view.
d Switch the view to Details if viewing in Grid and click on Failed in the Rules Realization column to
view errors, if any.
What to do next
n The scope of the security group assignment, for example, the scope of the Network Security Group
(NSG) in Microsoft Azure is limited to that region, whereas the scope of the Security Group (SG) in
AWS is limited to that VPC.
Refer to the public cloud documentation for more information on these limits.
Current Limitations
The current release has the following limitations for DFW rules for workload VMs:
n Groups without VM and/or IP address as member are not supported, for example, Segment or
Logical Port based criteria are not supported.
n Both Source and Destination as IP address or CIDR based Group is not supported.
n Applied_To Group can be only Source or Destination or Source + Destination Groups. Other options
are not supported.
n Only local VPC/VNet rule enforcement is supported. You can create Groups in NSX Manager that
span across VPC/VNets. However, the realization of such rules only works within the VPC/VNet.
Cross-VPC/VNet DFW rules are not realized.
Deny rules created for workload VMs in your AWS VPCs are not realized on AWS because in AWS,
everything is blacklisted by default. This leads to the following results in NSX-T Data Center:
n If there is a Deny rule between VM1 and VM2 then traffic is not allowed between VM1 and VM2
because of the default AWS behavior, not because of the Deny rule. The Deny rule is not realized in
AWS.
n Assuming the following two rules are created in NSX Manager for the same VMs with rule 1 having a
higher priority than rule 2:
the Deny rule is ignored because it is not realized in AWS and therefore the Allow SSH rule is
realized. This is contrary to expectation but a limitation because of the default AWS behavior.
If you see this error, none of the DFW rules were applied to the particular VM. Edit the rule or the Group
in NSX Manager to include this VM.
If you see this error, it means that you have added DFW rules for public cloud workload VMs in a
Stateless Security Policy. This is not supported. Create a new or use an existing Security Policy in the
Stateful mode.
Group VMs using NSX-T Data Center and Public Cloud Tags
NSX Cloud allows you to use the public cloud tags assigned to your workload VMs.
NSX Manager uses tags to group VMs, as do public clouds. Therefore, to facilitate grouping VMs, NSX
Cloud pulls in the public cloud tags applied to your workload VMs provided they meet predefined size and
reserved-words criteria, into NSX Manager.
Note DFW rules depend on the tags assigned to VMs. Since these tags can be modified by anyone with
the appropriate public cloud permissions, NSX-T Data Center assumes that such users are trustworthy
and the responsibility of ensuring and auditing that VMs are correctly tagged at all times lies with the
public cloud network administrator.
Tags terminology
A tag in NSX Manager refers to what is known as value in a public cloud context. The key of a public
cloud tag, is referred to as scope in NSX Manager.
Components of tags
in NSX Manager Equivalent components of tags in the public cloud
Scope Key
Tag Value
NSX Cloud allows three types of tags for NSX-managed public cloud VMs.
n System Tags: These tags are system-defined and you cannot add, edit, or delete them. NSX Cloud
uses the following system tags:
n azure:subscription_id
n azure:region
n azure:vm_rg
n azure:vnet_name
n azure:vnet_rg
n azure:transit_vnet_name
n azure:transit_vnet_rg
n aws:account
n aws:availabilityzone
n aws:region
n aws:vpc
n aws:subnet
n aws:transit_vpc
n Discovered Tags: Tags that you have added to your VMs in the public cloud are automatically
discovered by NSX Cloud and displayed for your workload VMs in NSX Manager inventory. These
tags are not editable from within NSX Manager. There is no limit to the number of discovered tags.
These tags are prefixed with dis:azure: to denote they are discovered from Microsoft Azure and
dis:aws from AWS.
When you make any changes to the tags in the public cloud, the changes are reflected in NSX
Manager within three minutes.
By default this feature is enabled. You can enable or disable the discovery of Microsoft Azure or AWS
tags at the time of adding the Microsoft Azure subscription or AWS account.
n User Tags: You can create up to 25 user tags. You have add, edit, delete privileges for user tags. For
information on managing user tags, see Manage Tags for a VM.
n azure:vnet_nam
e
n azure:vnet_rg
n aws:vpc
n aws:availabilityz
one
Discovered Prefix for Microsoft Scope (key): 20 Read only Read only
Azure tags that are characters
imported from your Tag (value): 65
VNet: characters
dis:azure: Maximum allowed:
Prefix for AWS tags unlimited
that are imported
Note The limits on
from your VPC:
characters excludes
dis:aws:
the prefix
dis:<public cloud
name>. Tags that
exceed these limits
are not reflected in
NSX Manager.
User User tags can have Scope (key): 30 Add/Edit/Delete Read only
any scope (key) and characters
value within the Tag (value): 65
allowed number of characters
characters, except: Maximum allowed:
n the scope (key) 25
prefix
dis:azure: or
dis:aws:
n the same scope
(key) as system
tags
Note Tags are in the format key=value for the public cloud and scope=tag in NSX Manager.
Table 22-11.
Equivalent NSX Manager tag for the
Public Cloud tag for the workload VM Discovered by NSX Cloud? workload VM
n See Set up Micro-segmentation for Workload VMs in the NSX Enforced Mode.
When you deploy PCG, a Group is created in NSX Manager for each supported native-cloud service.
The following Groups are created for the currently supported public cloud services:
n aws-dynamo-db-service-endpoint
n aws-elb-service-endpoint
n aws-rds-service-endpoint
n aws-s3-service-endpoint
n azure-cosmos-db-service-endpoint
n azure-load-balancer-service-endpoint
n azure-sql-service-endpoint
n azure-storage-service-endpoint
To use these native-cloud services, create DFW policies that contain the native-cloud service Group in
the Source or Destination fields of the rule as required.
Note In the NSX Enforced Mode, that is, managing your workloads with NSX Tools, currently there is no
support for Microsoft Azure's native-cloud services.
Current Limitations
DFW Rule with service as DFW Rule with service as
ENDPOINT DESTINATION SOURCE
Cosmos DB
SQL
Load Balancer
Dynamo DB
RDS
ELB
To utilize service insertion for your public cloud workload VMs, you must host the service appliance in the
public cloud, not in NSX-T Data Center. It is recommended to host the service appliance in a Transit VPC/
VNet.
Before you can enable service insertion, you must have the PCG deployed in a Transit VPC or VNet.
Here is an overview of the one-time configurations to allow service insertion for your NSX-managed
workload VMs.
Table 22-12. Overview of configurations required for service insertion for NSX-managed
workload VMs in the public cloud
How often? Task Instructions
Once for the Set up the service appliance in your public cloud preferably in a Transit VPC or See instructions specific to the
initial setup VNet (where you have deployed the PCG. third-party service appliance
and the public cloud.
Register the third-party service in NSX-T Data Center. See Create the Service
Definition and a Corresponding
Virtual Endpoint
Table 22-12. Overview of configurations required for service insertion for NSX-managed
workload VMs in the public cloud (continued)
How often? Task Instructions
Create a virtual instance endpoint of the service using a /32 Virtual Service IP See Create the Service
address (VSIP) to be used only for service insertion by the service appliance. Definition and a Corresponding
The VSIP should not conflict with the CIDR range of VPCs or VNets. This VSIP Virtual Endpoint
is advertised over BGP to the PCG.
Create an IPSec VPN tunnel between the service appliance and the PCG. See Set up an IPSec VPN
Session
Configure BGP between the PCG and the service appliance. See Configure BGP and Route
Redistribution
Note Configure the service appliance to advertise the VSIP and the PCG to
advertise the default route (0.0.0.0/0).
As and when After the one-time configurations are complete, set up redirection rules to See Set up Redirection Rules.
required reroute selective traffic from NSX-managed workload VMs to the VSIP. These
rules are applied to the uplink port of the PCG.
Procedure
Prerequisites
Pick out a /32 reserved IP address to serve as the Virtual Endpoint for the service appliance in your public
cloud, for example, 100.100.100.100/32. This is referred to as the Virtual Service IP (VSIP).
Note If you deployed your service appliance in a High Availability pair, do not create another service
definition but use the same VSIP when advertising it to the PCG during BGP configuration.
Procedure
1 To create a Service Definition for the service appliance, run the following API call using NSX Manager
credentials for authorization:
Example request:
{
"resource_type":"ServiceDefinition",
"description":"NS-Service",
"display_name":"Service_Appliance1",
"attachment_point":[
"TIER0_LR"
],
"transports":[
"L3_ROUTED"
],
"functionalities":[
"NG_FW", "BYOD"
],
"on_failure_policy":"ALLOW",
"implementations":[
"NORTH_SOUTH"
],
"vendor_id" : "Vendor1"
}
Example response:
{
"resource_type": "ServiceDefinition",
"description": "NS-Service",
"id": "33890153-6eea-4c9d-8e34-7b6532b9d65c",
"display_name": "Service_Appliance1",
"attachment_point": [
"TIER0_LR"
],
"transports": [
"L3_ROUTED"
],
"functionalities": [
"NG_FW", "BYOD"
],
"vendor_id": "Vendor1",
"on_failure_policy": "ALLOW",
"implementations": [
"NORTH_SOUTH"
],
"_create_time": 1540424262137,
"_last_modified_user": "nsx_policy",
"_system_owned": false,
"_protection": "REQUIRE_OVERRIDE",
"_last_modified_time": 1540424262137,
"_create_user": "nsx_policy",
"_revision": 0
}
2 To create a Virtual Endpoint for the service appliance, run the following API call using NSX Manager
credentials for authorization:
Example request:
{
"resource_type": "VirtualEndpoint",
"display_name": "Service_Appliance1_Endpoint",
"target_ips": [
{
"ip_addresses": [
"100.100.100.100"
],
"prefix_length": 32
}
],
"service_names": [
"Service_Appliance1"
]
}
Example response:
200 OK
What to do next
Prerequisites
n The service appliance must be set up in your public cloud, preferably in the Transit VPC/VNet.
Procedure
2 Add a VPN service of type IPSec and note the following configuration options specific to NSX Cloud.
See Add an IPSec VPN Service for other details.
Option Description
Name The name of this VPN service is used to set up the local endpoint and the IPSec
VPN sessions. Make a note of it.
Tier-0 Gateway Select the tier-0 gateway auto-created for your Transit VPC/VNet. Its name
contains your VPC/VNet ID, for example, cloud-t0-vpc-6bcd2c13.
3 Add a Local Endpoint for your PCG. The IP address of the local endpoint is the value of the tag
nsx:local_endpoint_ip for the PCG deployed in your Transit VPC/VNet. Log in to your Transit
VPC/VNet for this value. Note the following configurations specific to NSX Cloud and see Add Local
Endpoints for other details.
Option Description
Name The local endpoint name is used to set up the IPSec VPN sessions. Make a note of
it.
IP Address Find this value by logging in to the AWS console or the Microsoft Azure portal. It is
the value of the tag nsx:local_endpoint_ip applied to the uplink interface of the
PCG.
4 Create a Route-Based IPSec session between the PCG and the service appliance in your public
cloud (preferably hosted in the Transit VPC/VNet).
Option Description
Tunnel Interface This subnet must match with the service appliance subnet for the VPN tunnel.
Enter the subnet value you set up in the service appliance for the VPN tunnel or
note the value you enter here and make sure the same subnet is used when
setting up the VPN tunnel in the service appliance.
Note You configure BGP on this tunnel interface. See Configure BGP and Route
Redistribution .
Remote ID Enter the private IP address of your service appliance in the public cloud.
IKE Profile The IPSec VPN session must be associated with an IKE profile. If you created a
profile, select it from the drop-down menu. You can also use the default profile.
What to do next
You set up BGP neighbors on the IPSec VPN tunnel interface that you established between PCG and the
service appliance. See Configure BGP for more details.
You need to configure BGP similarly on your service appliance. See documentation for your specific
service in the public cloud for details.
n The PCG advertises its default route (0.0.0.0/0) to the service appliance.
n The service appliance advertises the VSIP to the PCG. This is the same IP address which is used
when registering the service. See Create the Service Definition and a Corresponding Virtual
Endpoint.
Note If your service appliance is deployed in a High Availability pair, advertise the same VSIP from
both service appliances.
Prerequisites
Procedure
2 Select the auto-created tier-0 gateway for your Transit VPC/VNet named like cloud-t0-
vpc-6bcd2c13 and click Edit.
3 Click the number or icon next to BGP Neighbors under the BGP section.
Option Description
IP Address Use the IP address configured on the service appliance tunnel interface for the
VPN between the PCG and the service appliance.
Remote AS Number This number must match the AS number of the service appliance in your public
cloud.
5 (Required) From the Static Route section, set up a static route to the PCG's default route (0.0.0.0/0).
6 From the Route Redistribution section, select the static route associated with the default route.
What to do next
After the initial setup is completed, you can create and edit redirection rules as required for rerouting
different types of traffic for your NSX-managed workload VMs through the service appliance.
Prerequisites
You must have all the Service Insertion setup completed before you can create redirection rules.
Procedure
1 Navigate to Security > North South Firewall > Network Introspection (N-S)
Option Description
Domain NSX-T Data Center2.4: Select the domain auto-created for the tier-0 gateway for
this Transit VPC/VNet, for example, cloud-vpc-6bcd2c13.
NSX-T Data Center 2.4.1: The Domain object is not visible in the user interface. No
action required.
Redirect To: Select the name of the Virtual Endpoint you created for this service appliance when
registering the service. See Create the Service Definition and a Corresponding
Virtual Endpoint.
3 Select the new policy and click Add Rule. Note the following values specific to service insertion:
Option Description
Sources Select a group of subnets whose traffic must be redirected, for example, a group of
your NSX-managed workload VMs.
Destinations Select a list of destination IP addresses or services. such as Google, that you want
to route through the service appliance.
Applied To Select the uplink port of the active and standby PCG.
You can enable North-South traffic on VMs in NSX-managed VMs using public cloud tags.
On the NSX-managed VM for which you want to enable NAT, apply the following tag:
Table 22-13.
Key Value
nsx.publicip public IP address from your public cloud, for example, 50.1.2.3
Note The public IP address you provide here must be free to use and must not be assigned to any VM,
even the workload VM you want to enable NAT for. If you assign a public IP address that was previously
associated with any other instance or private IP address, NAT does not work. In that case, unassign the
public IP address.
After this tag is applied, the workload VM can access internet traffic.
You can enable syslog forwarding for Distributed Firewall (DFW) packets on managed VMs. See
Configure Remote Logging in the NSX-T Data Center Troubleshooting Guide for further details.
Do the following:
Procedure
After this is set, NSX agent DFW packet logs are available under /var/log/syslog on PCG.
How to use NSX-T Data Center Features with the Public Cloud
NSX Cloud creates a network topology for your public cloud and you must not edit or delete the auto-
generated NSX-T Data Center logical entities.
Use this list as a quick reference for what is auto-generated and how you should use NSX-T Data Center
features as they apply to the public cloud.
Note If you are not able to access some features on Windows workload VMs ensure that the Windows
firewall settings are correctly configured.
Where can I find detailed information on logical switches? See Chapter 13 Logical Switches.
Does NSX Cloud auto-create a logical router when a PCG is Yes. When PCG is deployed on a Transit VPC or VNet, a tier-0
deployed? logical router is auto-created by NSX Cloud. A tier-1 router is
created for each Compute VPC/VNet when it's linked to a
Transit VPC/VNet.
Where can I find more information on logical routers? See Chapter 2 Tier-0 Gateways and Chapter 3 Tier-1 Gateway.
IPFIX FAQs
Table 22-16.
Question Answer
Are any specific configurations required for IPFIX to work in the Yes:
public cloud? n IPFIX is supported in NSX Cloud only on UDP port 4739.
n Switch and DFW IPFIX: If the collector is in the same
subnet as the Windows VM on which IPFIX profile has been
applied, a static ARP entry for the collector on the Windows
VM is needed because Windows silently discards UDP
packets when no ARP entry is found.
Are any specific configurations required for Port Mirroring in the Port Mirroring is supported only in AWS in the current release.
public cloud? n For NSX Cloud, configure Port Mirroring from Tools > Port
Mirroring Session.
n Only L3SPAN Port Mirroring is supported.
n The collector must be in the same VPC as the source
workload VM.
Where can I find more information on Port Mirroring? See Monitor Port Mirroring Sessions .
Other FAQs
Table 22-18.
Question Answer
Are the tags that I apply to my workload VMs in the public cloud Yes. See Group VMs using NSX-T Data Center and Public
available in NSX-T Data Center? Cloud Tags for details.
How do I set up micro-segmentation for my workload VMs that See Set up Micro-segmentation for Workload VMs in the NSX
are managed by NSX-T Data Center? Enforced Mode.
FAQ
This lists some frequently asked questions.
2 Type the following command to get the gateway connection status, for example:
n Check whether the NSX Cloud tag: nsx.network and its value: default are correctly typed in. This
is case-sensitive.
n Log in to CSM.
n Click on Actions from the public cloud account tile and click Resync Account.
For example, to allow ping to a VM, the following needs to be properly configured:
n Security Group on AWS or Microsoft Azure. See Threat Detection using the NSX Cloud
Quarantine Policy for more information.
n NSX-T Data Center DFW rules. See Default Connectivity Strategy for NSX-Managed Workload
VMs in the NSX Enforced Mode for details.
n Attempt resolving the issue by logging in to the VM using SSH or other methods, for example, the
Serial Console in Microsoft Azure.
n If you still cannot access the VM, then attach a secondary NIC to the workload VM from which to
access that workload VM.
Yes.
Can I use the NSX-T Data Center on-prem licenses for NSX Cloud?
With the Quarantine Policy enabled, when launching VMs using cloud-init scripts with the following
specifications, your VMs are quarantined upon launching and you are not able to install custom
applications or tools on them:
Solution:
Update the default (AWS) or vm-quarantine-sg (Microsoft Azure) security group to add inbound/
outbound ports as required for the installation of custom or third-party applications.
VMware NSX® Intelligence™ provides a visualization of the security posture of your on-premises NSX-T
Data Center environment. The visualization is based on the network traffic flows aggregated within a
specific time period. NSX Intelligence also assists you with micro-segmentation planning by making
recommendations that are based on analytics with enforcement on security policies.
Important You must have an Enterprise Administrator role to have permission to install, configure, and
use NSX Intelligence.
Before you can begin using the NSX Intelligence features, you must first install and configure the NSX
Intelligence appliance. See "Installing and Configuring the NSX Intelligence Appliance" in the NSX-T Data
Center Installation Guide.
After the NSX Intelligence appliance is installed and configured, the NSX Intelligence features are
enabled in the Plan & Troubleshoot tab of the NSX Manager UI. In the Discover & Plan section, you
use Discover & Take Action to visualize your NSX-T data center entities and Recommendations to
obtain recommendations for micro-segmentation planning.
After you install and configure NSX Intelligence for the first time, when you click Discover & Take Action
you might see the message, No data found. You might need to modify your filters above.
The message appears because NSX Intelligence has yet to receive network traffic data to create a
visualization. After some network traffic data has been received from NSX Manager, NSX Intelligence can
begin to render some visualization.
By default, when you click Discover & Take Action you see the visualization of the security status of all
the groups in your on-premises NSX-T Data Center that had unprotected traffic flows between their VM
members in the last 24 hours. Unprotected network traffic flows are flows between VMs that do not have
any micro-segmentation implemented. If there are no groups defined yet, there are no groups displayed.
If there are VMs, but they do not belong to any group, you see the following icon for the Uncategorized
VMs group.
If you already have defined groups and captured traffic data, you might see a visualization similar to the
following screenshot. The table that follows describe the numbered sections in the screenshot.
Note NSX Intelligence categorizes an IP address belonging to one of the following CIDR notations as a
private IP address: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8. Any IP address that does not belong to
any of these CIDR notations is classified as a public IP address. If your VM's IP address does not fall into
one of these CIDR notations, consider adding your CIDR notation using the PATCH /api/v1/
intelligence/host-config API in the NSX-T Data Center API Guide.
Section Description
1 The Security view selection area is where you select the type of security visualization to display. There are two
types of Security views available: Groups and VMs. When you click Discover & Take Action, the default
Security view displayed is the Groups view of the group objects in your NSX-T Data Center that had unprotected
flow traffic within the last 24 hours.
n To select the VMs view, click the down arrow next to Groups and select VMs.
n To select the specific groups or VMs to include in the view, click the down arrow next to ALL, and select from
the list.
n To clear your selection filters, click CLEAR FILTERS on the top right-side of the screen. When you click
CLEAR FILTERS while in the VMs view, the selection filters are cleared and you are placed in the Groups
view.
See Working with the Groups View and Working with the VMs View for more information on how to work with the
two view types.
2 With the Apply Filter, you can refine the criteria used for the visualization. From the drop list, you can select the
criteria to use for the visualization. You can select VM members, tags, flow types, source IP, destination IP, rule
ID, or name. You can define multiple filters to apply by clicking Apply Filter again.
3 With this Flows section, you can select which traffic flow type to include in the visualization during the selected
time period. The colors used in the visualization for the flow types are also shown in this section.
n Red-hued dashed line for Unprotected flows
n Blue-hued solid line for Blocked flows
n Green-hued solid line for the Allowed flows
By default, the Unprotected traffic flow type is selected for the current NSX Intelligence visualization. See
Working with Traffic Flows for more information.
Section Description
4 The display mode section defines what theme to use for the visualization. Light theme is the default mode used.
n To use the dark theme mode, click the DARK icon. You can use the Dark theme only when you are viewing
the visualization in full screen mode.
5 In this section, you select the time period to use to determine which network flow data is used to generate the
desired visualization and recommendation. Your selection determines the historical data that is used in the
Groups or VMs view. The time period is relative to the current time and some time period in the past.
The last 24 hours is the default time range used. To change the selected time period, click the currently selected
time period and select Last 1 hr, Last 12 hrs, Last 24 hrs, Last 1 week, or Last 1 month.
6
When you click this Recommendation wand icon, the Recommendations dialog box displays the inventory
summary for the current view. If you are in the VMs view, you can generate an NSX Intelligence recommendation
by clicking Start New Recommendation. See Working with NSX Intelligence Recommendations.
7 This section is the visualization of the security status of the Groups or VMs in your on-premises NSX-T Data
Center. It also includes the visualization of the network traffic flows that occurred during the selected time period.
In this section, you can point to a specific node or flow arrow to obtain details about that specific entity.
See Getting Familiar with NSX Intelligence Graphic Elements and Understanding NSX Intelligence Views and
Flows for more information.
8 This section includes the viewing controls to zoom in, zoom out, apply 1:1 aspect ratio, resize-to-fit the view, and
go into or out of full-screen viewing mode. You can also use keyboard hotkeys to manage your viewing controls.
To display the Keyboard Shortcuts Help window, press Shift+/.
To navigate to a previously viewed visualization, use your Web browser's back button. When you are in full-
screen mode, click Back (at the top left of the screen) to perform the same back button navigation.
The following table lists a glossary of NSX-T Data Center graphic elements that you might see in a NSX
Intelligence visualization.
This icon represents a group, which is a collection of VMs where security policies, including East-
West firewall rules, can be applied. See Working with the Groups View.
This icon represents a virtual machine (VM) that is part of your NSX-T Data Center. A VM can
belong to more than one group. See Working with the VMs View.
This icon represents the public IPs in the Internet. If at least one VM in your NSX-T Data Center
environment communicated with a public IP during the selected time period, that traffic flow is
included in the current visualization.
An IP address, such as a unicast, broadcast, or multicast IP, that participated in the network traffic
activities during the selected time period.
This icon is used for the group of VMs that do not belong to a group.
An arrow represents a network traffic flow that occurred between two VMs during a selected time
period. There are three different types of arrows: a dashed red-hued arrow for an Unprotected flow,
a solid blue-hued arrow for a Blocked flow, and solid green-hued arrow for an Allowed flow. See
Working with Traffic Flows.
A node that has been selected as the current node in focus is surrounded with a dashed circle. It is
the pinned node during the selection mode and the current view being displayed.
This icon appears on a group node's border if the group was added in the NSX-T Data Center
inventory during the selected time period. If NSX-T Data Center discovered a VM during the
selected time period, the icon appears on that VM node's border.
This icon appears on the group node's border if the group was deleted during the selected time
period and the VM members were not deleted. On a VM node's border, this icon indicates that the
VM was deleted during the selected time period. Although, a VM or group has been deleted, it still
appears in the current visualization to give a historical view that the VM or group was removed
during the selected time period.
This icon appears whenever we see group and VMs together. For example, in a deep dive groups
view or related VMs of a group.
The icon appears on a VM node's border in the following cases.
n if the VM was moved out of the currently viewed group during the selected time period
n if, at some point during the selected time period, the VM was part of the group you are currently
viewing, but it is no longer a member of that same group
Important The visualization shown for a specific time period represents all the network flows and
activities, such as addition, deletion, or movement of VMs and Groups, that occurred in your NSX-T data
center during that time period. It is possible that a VM appears more than once in the visualization. For
example, if a VM was attached to an ESXi host that was originally unmanaged and the host becomes
managed by a VMware vCenter Server™ during the selected time period, the VM appears twice in the
VMs view. Similarly, if an ESXi host is disconnected from vCenter Server and added back during the
same selected time period, the VMs attached to the host appear as both deleted and new during the
selected time period. In Groups view, if a VM was in the Uncategorized group and added in a Group
during the same selected time period, the VM appears in both the Uncategorized group and in its new
Group.
NSX Intelligence supports Groups with VM member types only. If you have Groups with any other types
of members, the Groups view might show correlated flows between the Groups with VM members types
instead of actual Groups in the security rule.
Use the information in this section to learn more about working with the Groups view, VMs view, and the
different traffic flows.
The following table lists the types of Group nodes you might see in the Groups view.
Public IPs Group A Public IPs Group node represents a collection of public IP
addresses (IPv4 or IPv6) that are communicating to NSX objects
in your NSX-T Data Center.
The size of a node in the Groups view is based on the number of NSX objects, such as VMs, that belong
to that group. The bigger the group's node, the more VMs belong to that group, for example. The name of
the group and the total number of member VMs it has are displayed above the node.
The arrows between the group nodes represent the traffic flows that have occurred between the VMs in
those connected group nodes, during the selected time period. A self-referencing arrow on a group node
indicates that at least one VM was communicating with another VM within that same group. See Working
with Traffic Flows for more information.
A node with a red-hued border indicates that at least one unprotected flow occurred with a VM in the
group, regardless of how many blocked or allowed flows were detected during the selected time period. A
blue-hued border on a node means that no unprotected traffic flows were detected, but at least one
blocked flow was detected, regardless of how many allowed flows were detected during the selected time
period. A node with a green-hued border indicates that there were no unprotected or blocked flows
detected during the selected time period, and at least one allowed flow was detected. A node with a gray-
hued border means that there were no traffic flows detected for the VMs belonging to that group during
the selected time period.
If you are not seeing the Groups view, click the down arrow next to VMs in the Security view selection
area and select Groups. In the selection drop list displayed, you can select All Groups or specific groups
from the list, and then click Apply. Use the Search text box to filter the selection list. If you click away
from the selection drop list without making any selection or if you select All Groups in the drop list, the
All Groups option is applied to the Groups view.
When you click a group's node, a dashed circle marks the selection as a pinned group node. The other
groups that are connected to the selected group node are also made more prominent in the view. All
other nodes become dimmed. For example, in the following screenshot, the node UBUNTUVM5_Group is
selected and other groups that shared a traffic flow with UBUNTUVM5_Group during the selected time
period are also highlighted. All the other groups that did not communicate with UBUNTUVM5_Group are
faded out in the view.
To clear the pinned selection, click in any empty area of the Groups view.
If you zoom out of the Groups view and the details on the nodes are no longer visible, point to any visible
part of a node and its details are displayed.
n Selecting Deep Dive:Group_Name surrounds the selected group's node with a dashed circle to mark
it as the pinned group node or the current group in focus. The VMs that belong to the group are
shown inside the group's node. All the groups that had traffic flows with the VMs in the pinned group
during the selected time period are also placed in the Groups view. In the following example, group
G2 is the pinned group and the other groups are in the view because their VM members had traffic
flows with rhelvm2 in group G2 during the selected time period.
n When you select Filter By, the current group is added to the visualization filter that is used for the
current Groups view.
n Selecting VMs displays a table of all the VMs that belonged to the current group during the selected
time period. From that View VMs table, you can see the details about the VMs that belong to the
selected group and the other groups to which each VM also belongs. To add the VM to the current
visualization filter, click the filter icon.
n When you select Flow Details, the Flow Details table for the currently selected group is displayed, as
shown in the following screenshot. It shows the details about the flows that have occurred and are
currently active with the VMs that belong to the current group during the selected time period. The
details include the flow type, the flow's source and destination groups, start and end time of the flow,
and the services that were used. You can click some of the details to obtain more information. See
Working with Traffic Flows for more information.
The following table lists the types of VM nodes you might see in the Views view.
Regular VM A Regular VM node represents a virtual machine (VM) that is part of your NSX-T
Data Center environment. A VM can belong to more than one group.
Public IP A Public IP node represents a public IP address, either an IPv4 or IPv6 , that is
communicating to or from your NSX-T Data Center environment.
If you are not seeing the VMs view, click the down arrow next to Groups in the Security view selection
area and select VMs. In the selection drop list displayed, you can select All VMs or specific VMs from the
list, and then click Apply. Use the Search text box to filter the selection list. If you click away from the
drop list without making any selection or if you select All VMs in the drop list, the All VMs option is
applied to the VMs view.
The arrows between the VM nodes represent the traffic flows that have occurred between the VMs during
the selected time period. See Working with Traffic Flows for more information.
When you click a VM's node, a dashed circle marks the selection as a pinned VM node. Other VM nodes
that had traffic flows with that pinned VM node are also made more prominent in the VMs view. All other
nodes become dimmed to make them less visible. To clear the pinned selection, click in any empty area
of the VMs view.
When you zoom out of the VMs view and the details in the VM nodes are no longer visible, point to any
visible part of the VM node and its details are displayed.
Selection Description
Filter By The VM is added to the visualization filter that is used for the current VMs view.
VM Information The details of the VM during the selected time period are displayed.
Related Groups The Groups table with information about groups to which the VM belonged during the selected time
period.
Flow Details Shows the details about the flows that have occurred and are currently active with the VM during
the selected time period. The details include the following.
n flow type
n flow's source and destination groups
n start and end time of the flow
n services that were used
You can click some of the details to obtain more information. See Working with Traffic Flows for
more information.
Start Recommendation Displays the Start New Recommendations wizard. See Working with NSX Intelligence
Recommendations for more details.
Network traffic flows are based on the L3 distributed firewall (DFW) rules in place and the traffic flows that
occurred during the selected time period. All network traffic flows that matched a stateful L3 DFW rule
using IPv4 or IPv6 with TCP, UDP, GRE, ESP, and SCTP protocols are included in the visualization and
flow details. TCP and UDP flows have IP and port level details and others have IP level details only.
Unprotected A dashed red-hued arrow indicates that the system detected that the traffic flow
encountered a rule (Source: Any | Destination: Any | Action: Allow or Reject or Drop) and
that more granular security policies are needed. This rule can be your default rule, or it
can reside anywhere in the East-West distributed firewall.
Blocked A solid blue-hued arrow indicates that the system detected that the traffic flow
encountered a 'Reject' or 'Drop' rule that is more granular than the one mentioned in the
'Unprotected' flow definition.
Allowed A solid green-hued arrow indicates that the system detected that the traffic flow
encountered an 'Allow' rule that is more granular than the one mentioned in the
'Unprotected' flow definition.
To focus only on objects with certain types of traffic flows, use the Security view selection area to select
which view type, and use the 'Flow Type' filter attribute to narrow down the selection.
If you deselect a flow type, the flow lines for that flow type are hidden from the displayed graph. Unless
filters are in effect that exclude certain objects, all group or VM objects remain displayed regardless of the
traffic flow types that have occurred with those objects during the selected time period. For example, if
you deselect the ‘Allowed’ flow type, all the "Allowed" flow lines are hidden in the graph. However, all
objects are still displayed, even those objects that only had ‘Allowed’ traffic flows during the selected time
period.
A flow arrow's direction indicates the source and destination of the detected traffic flow. When in Groups
view, a self-referencing arrow on a group node indicates that at least one VM was communicating with
another VM within that same group. In a VMs view, a self-referencing arrow indicates that an NSX object
in the VM communicated with another NSX object in the same VM.
When you point to a flow arrow, information about the flows involving the group or VM is displayed, as
shown in the following example for Group G2.
When you click a flow arrow, the Flow Details dialog box is displayed. It shows the details about the
completed and active flows that occurred during the selected time period. To get more detailed
information about the flow's source, destination, type of service, and the type of flow, click the links in the
table to see more details.
The recommendations are based on the network traffic flow patterns between VM workloads on ESXi
hosts managed by a vCenter Server. They can assist you with enforcing a more dynamic security policy
by correlating traffic patterns of communication that have occurred within your NSX-T Data Center
environment.
The security policy recommendations are of the East-West Distributed Firewall Security Policies of
Application category. The security group recommendations consist of a list of VMs that are seen in the
network traffic flows that were analyzed for the time period and the VM boundary you had specified. The
service recommendations are service objects that were used in certain ports by applications in the VMs
you had specified, but the services are not yet defined in the NSX-T Data Center inventory.
There are multiple ways to request the recommendation, but the most straightforward one is by using
Plan & Troubleshoot > Recommendations tab and clicking Start New Recommendation. You provide
the virtual machines (VMs) that comprise the application boundaries and the time range in which the
network traffic flows are to be analyzed for those specific VMs. Once the recommendation analysis is
complete, you can view the details of the recommendation and, if necessary, modify the recommendation
before publishing it. See Generate a New NSX Intelligence Recommendation for more information.
Prerequisites
Install NSX Intelligence. See "Installing and Configuring NSX Intelligence" in the NSX-T Data Center
Installation Guide.
Procedure
1 From your browser, log in with enterprise administrator privileges to an NSX Manager at https://<nsx-
manager-ip-address>.
Use the following table to decide which of the three available methods to use.
Method Steps
Select Plan & Troubleshoot > Recommendations. Click Start New Recommendation.
In the VMs view, select a VM and right-click. From the contextual menu, select Start New
Recommendations.
Select Plan & Troubleshoot > Discover & Take Action. 1 In the Security Posture filter, click the down arrow and select
VMs.
2 Select the VMs that comprise the application boundary and
click Apply.
3 In the Start New Recommendations wizard, optionally change the default value for the
Recommendation Name.
4 Define or modify the VMs that are to be used as the boundary for the security policy recommendation.
b In the Select VMs dialog box, select the VMs that you want to use as the boundary for the
analysis and deselect the ones you do not want included.
You can select up to 100 VMs to use for the recommendation boundary. You can also begin
entering the name in the selection bar to filter the VMs to select.
c Click Save.
The number of VMs selected is indicated on the Discover New Recommendation dialog box.
5 Expand More Options to change the default values for Description and Time Range that are used
for the recommendation analysis. The default Time Range value is Last 1 Month, which means the
network traffic flows that occurred in the last one month between the selected VMs are used during
the recommendation analysis.
Recommendations are processed serially. On average, it can take anywhere from 3 to 4 minutes to
finish each recommendation, depending on whether there are other recommendations that are
pending to be processed. If there are many traffic flows between VMs that must be analyzed, the
generation of a recommendation can take anywhere between 10–15 minutes. The status can be
tracked from the Recommendations tab. The status progresses from Waiting, to Analyzing, and
finally to Ready to Publish. The following screenshot shows the three different statuses of the
generated recommendations.
What to do next
Review the generated recommendation and decide whether to publish it. See Review and Publish a
Generated Recommendation.
Prerequisites
Procedure
1 From your browser, log in with enterprise administrator privileges to an NSX Manager at https://<nsx-
manager-ip-address>.
3 To help narrow down the list of recommendations being displayed, click Filter by Name, Path or
more on the top right of the screen, and specify the filter criteria to be used.
4 If you decide not to use the recommendation, click the three-dot menu icon and select Delete.
5 To view the summary for a recommendation, click the arrowhead next to the recommendation's name
to expand the row.
You see the number of rules generated and the number of groups affected.
b In the Recommended FW Rules tab, review the firewall rule details. To modify any of the details,
click the value in the appropriate column and select the edit (pencil) icon.
c To define how the packets are to be handled, select Allow, Drop, or Reject in the Action
column.
d Toggle the button on the right-side to enable or disable the rule. By default the rule that was
generated is set to be enabled when published, as shown in the image in the previous step.
f Click the link in the Members column to review the details about the VMs and IPs that were set
for the group recommendation.
g Click the menu icon (three-dots) next to the group's name and select Edit to modify the group
recommendation.
i Click the menu icon (three-dots) next to the service's name and select Edit to modify the name or
description. Before you delete a service, make sure that there are no rules using the service.
j Click Next.
7 In the Place rules in FW context pane, you can change the order in which the rule recommendation
is to be applied with the existing firewall rules. Drag the highlighted section, or click the three-dot
menu icon and select Move Above selected section or Move Below selected section.
8 Click Publish.
10 In the Enforcement Summary page, verify that the security policies have been published successfully
and click Close.
The Status column for the recommendation is changed to Published in the table of
Recommendations.
Results
Once the security policy recommendations have been published successfully, they are in read-only mode
in the Plan & Troubleshoot > Recommendations tab. To view and manage the published rule
recommendations, go to Security > Distributed Firewall.
Important After you have published the rule recommendations, the visualization continues to display the
affected flows between the VMs as orange-hued arrows (Unprotected Flows) until new flows are
generated between the affected VMs. The visualization only reports traffic flows based on the time when
they occurred on the host and does not reflect the rule set published after those traffic flows occurred.
After the rule set is published and new traffic flows are generated, the new flows are displayed as green-
hued arrows (Allowed Flows).
When you take a backup, NSX Intelligence only backs up the configuration files used by all the services
that comprise the NSX Intelligence appliance. There is no visualization data included in the backup.
If data loss or corruption occurs in NSX Intelligence, all the existing data for the correlated flows and
recommendations are also lost. Reinstalling NSX Intelligence restarts the collection of network traffic data
and the visualization of those collected data is available from that point onwards.
After you finish the backup configuration, you can manually run the backup command on the NSX
Intelligence appliance at any time. The backup is encrypted, compressed, and stored at the remote server
defined during the backup configuration. When you create a backup, the date and time the backup is
taken are appended to the backup filename so that each backup file is unique. For example, config-
backup-2019-06-21T21_06_07UTC.tar.gz.
When you restore an NSX Intelligence backup, the configuration state when the backup was captured is
restored. You must restore the backup to an NSX Intelligence appliance that is running the same version
of the NSX Intelligence appliance from which the backup file was created. You can restore to an existing
NSX Intelligence appliance or restore to a freshly installed NSX Intelligence appliance, but they must be
the same version as the NSX Intelligence appliance you backed up.
Prerequisites
n Verify that you have the CLI admin credentials to the NSX Intelligence CLI.
n Ensure that you have the user name and password for the remote server.
n Obtain the file path to where the backup files are to be stored in the remote server.
Procedure
1 From a command-line prompt, log in with admin privileges to the NSX Intelligence CLI host.
$ ssh admin@cli-ip-address
admin@cli-ip-address's password:
where the remote_host_address is the remote host IP or FQDN address of the backup file server
and remote_host_username account must have the necessary privileges to create the backup files
in the remote_folder_path. You must provide a strong value for the passphrase parameter. It must
be at least eight characters long and has at least one uppercase, one lowercase, and one special
character. For example,
get configuration
From the output, verify that the line with set backup looks correct. Using the example in the previous
step, the output must include the following line.
Prerequisites
n Ensure that you have an admin access to the NSX Intelligence CLI.
Procedure
3 You can view the progress of the backup using another CLI session.
You must restore a backup on an installation of the NSX Intelligence appliance that is the same version
as the backup you are restoring. By default, the backup file restored is the most recently generated
backup. If you are restoring a backup to a newly installed NSX Intelligence appliance, set the archive
name before restoring the backup.
Prerequisites
n Verify that you have the admin login credentials and host info for the backup file server.
n Ensure that you have an admin access to the NSX Intelligence CLI.
Procedure
1 Log in with admin privileges to the new NSX Intelligence CLI server.
where the backup_server_IP_address is the remote host IP or FQDN address of the backup file
server, remote_host_username account must have the necessary privileges to access the backup
files in the remote_folder_path. For example,
get configuration
From the output, verify that the line with set restore looks correct. Using the example in the
previous step, the output must include the following line.
5 You can view the progress of the backup restore using another CLI session.
You can also collect support bundles to assist you and VMware support personnel in debugging issues
you might have encountered.
Problem
The NSX Intelligence appliance has become unresponsive or you received an error message that
indicates the appliance is not functioning as expected.
Cause
It is possible that one or more of the underlying NSX Intelligence services has stopped or is not in a
healthy state.
Solution
1 Log in to the NSX Intelligence appliance CLI host using an account with an Enterprise Administrator
role.
2 Check the status of the NSX Intelligence services using the get services command.
If all the NSX Intelligence services are functioning properly, you see an output similar to the following
example.
my_nsx-intel>
A service state can either be running or stopped. A service health can be good or degraded.
3 You can also view the syslog file and search for the output of the pace-monitor.sh health-check
script that logs the health of the NSX Intelligence services to the syslog file.
If all the services are functioning as expected, you see an output similar to the following sample
output after running the get log-file syslog | find pace-monitor command.
If there is a problem with one of the services, you might see the following line when you run get
log-file syslog | grep pace-monitor.
4 If you encounter one of the following outputs, restart the service using the restart service service-
name command.
n After running the get services command, one of the services shows Service state:
stopped or Service health: degraded.
n After running the get log-file syslog | grep pace-monitor command, the output shows
something similar to the PACE health DEGRADED. Return code not HTTP OK. message.
For example, if the postgres service's state shows it is stopped, or if its state is running, but it has
a degraded service health, run the following command.
Important You must use the restart service service-name command to restart NSX
Intelligenceservices. If you decide to use the stop service service-name and start service
service-name commands instead, you have to also manually restart each of the services that depend
on service-name. The following list shows the dependency order in which the NSX Intelligence
services have to be restarted.
zookeeper > druid > kafka > spark > spark-job-scheduler > nsx-config > processing > pace-server
For example, if the nsx-config service is stopped and then started using the stop|start service
service-name command, you must also use the restart service service-name command to restart
the processing and pace-server services.
In addition, if you use the restart service service-name command to restart any services shown in
the dependency order list before the spark-job-scheduler service, you must also manually restart
the spark-job-scheduler service using the restart service spark-job-scheduler command.
Failure to do so results in the spark-job-scheduler service getting into a bad state.
The support bundle file contents do not include data. It includes files in the following directories.
n /opt/vmware/*
n /var/log/*
n /etc/*
Prerequisites
Ensure that you have an Enterprise Administrator access to the NSX Intelligence CLI.
Procedure
1 Log in to the NSX Intelligence CLI using an account with Enterprise Administrator role privileges.
The command syntax is as follows, where you provide the value for support_filename.tgz.
For example,
When the bundle file is created successfully, you receive the messages similar to the following
example.
3 Verify that the support bundle exists using the following command.
get files
Directory of filestore:/
-rw- 21377586 June 29 05:29:12 UTC support_bundle123.tgz