NSXTO4 Lab Student Worksheet
NSXTO4 Lab Student Worksheet
NSXTO4 Lab Student Worksheet
Operations [V4.x]
Student Worksheet
www.vmware.com/education
<> Indicates placeholder variables:
• <ESXi_host_name>
www.vmware.com/education
www.vmware.com/education
Contents
v
Task 5: Verify Gateway Rules from the NSX Edge CLI ......................................................................................... 17
Lab 26 NSX Distributed IDS/IPS Validation .......................................................................... 19
Task 3: Enable IDS/IPS Distributed Rules ............................................................................................................ 19
Task 4: Verify the NSX Distributed IDS/IPS Configuration from ESXCLI .............................................................. 19
Task 6: Analyze IDS/IPS Events ........................................................................................................................... 20
Lab 28 NSX Advanced Load Balancer Validation ................................................................. 21
Task 3: Verify the NSX Advanced Load Balancer Configuration from the NSX Advanced Load Balancer UI ....... 21
Task 4: Verify the Advanced Load Balancer Configuration from the NSX Advanced Load Balancer CLI ............. 22
Lab 31 IPSec VPN Validation ................................................................................................ 25
Task 3: Verify the IPSec VPN from the NSX CLI ................................................................................................... 25
Lab 33 Layer 2 VPN Validation ............................................................................................. 27
Task 3: Verify the L2 VPN from the NSX CLI........................................................................................................ 27
Lab 36 Datapath Troubleshooting East-West Packet Walk Worksheet .............................. 29
Task 1: Use Traceflow ......................................................................................................................................... 29
Task 2: Perform Data Collection for Packet Capture .......................................................................................... 30
Task 3: Perform Packet Capture ......................................................................................................................... 33
Lab 37 Datapath Troubleshooting South-North Packet Walk Worksheet........................... 37
Task 1: Use Traceflow ......................................................................................................................................... 37
Task 2: Perform Data Collection for Packet Capture .......................................................................................... 38
Task 3: Perform Packet Capture ......................................................................................................................... 41
vi
Lab 3 NSX Management Cluster Validation
NOTE
Some of the values you are asked to record in your worksheet (for this and subsequent labs) are long
alphanumeric strings such as the Node UUID.
If you wish, you may record just enough characters to make the recorded value identifiable, if you need
to refer back to it in a later step.
For example, you can record just the first (or last) few characters of the UUID or all characters in the
fourth segment : c3ca80c6-23ca-e7ca-8202-14be316e17ca
Parameter Value
Cluster ID
Virtual IP
sa-nsxmgr-01 UUID
Task 2: Verify the NSX Management Cluster Status from the NSX CLI
You verify the NSX management cluster status from the nsxcli command line.
1
NSX Management Cluster Status Verification Using NSX CLI
Parameter Value
Cluster ID
Overall status
Parameter Value
Cluster ID
Overall status
2
Lab 5 Infrastructure Preparation Validaiton
Parameter Value
Type
Version
Registration status
Connection status
Parameter Value
Traffic type
Number of switches
Parameter Value
Traffic type
3
Number of Transport Nodes
Number of Switches
Parameter Value
Teaming policy
Active uplinks
MTU
Parameter Value
CIDR 172.20.__________
Gateway 172.20.__________
Parameter Value
Node Status
OS Type
TEP IP Address
Manager Connectivity
4
Controller Connectivity
Transport Zones
Task 3: Verify the Transport Node Preparation from the ESXi CLI
You use the native ESXi commands to query the list of NSX packages and modules installed on the ESXi host.
You also retrieve the configuration information of the IP addresses, TEP, and NSX modules.
Parameter Value
5
6
Lab 7 NSX Edge Deployment Validation
Parameter Value
Node Status
Configuration State
TEP IP Address
Deployment Type
Manager Connectivity
Transport Zones
Edge Cluster
7
Task 2: Verify the NSX Edge Configuration from the NSX CLI
You log in to the sa-nsxedge-01 NSX Edge node to query the information from the NSX CLI.
Parameter Value
Node UUID
8
Lab 9 Logical Switching Validation
Parameter Value
Name Prod-Web-Segment
VNI
UUID
Type
9
Task 2: Verify Segments from the ESXi CLI
You use the nsxcli command line on the sa-esxi-04 host to retrieve the configuration of the Prod-Web-
Segment segment.
Parameter Value
DVS name
Replication mode
Controller IP
Transport binding
10
Lab 13 Logical Routing Validation
Task 1: Verify the Gateways from the NSX CLI on the NSX Manager Instance
You query the gateways configuration from the NSX command line on NSX Manager.
Gateway UUIDs
Task 2: Verify the Gateways from the NSX CLI on the ESXi Host
You query logical router information from the NSX CLI on the ESXi host.
11
Prod-T1-GW-01 (Tier 1 DR) LIF Configuration Details
Task 3: Verify the Gateways Using BGP from the NSX CLI on the NSX Edge Nodes
You query the information about the gateways using BGP from the NSX CLI on the NSX Edge nodes.
DISTRIBUTED_ROUTER_TIER1 DR-Prod-T1-GW-01
DISTRIBUTED_ROUTER_TIER0 DR-Prod-T0-GW-01
SERVICE_ROUTER_TIER0 SR-Prod-T0-GW-01
BGP Neighbors
sa-nsxedge-01
sa-nsxedge-02
Gateway Interface
12
sa-nsxedge-01 Interface Details for Prod-App-Segment
Task 4: Verify the Gateways Using OSPF from the NSX CLI on the NSX Edge Nodes
You query the gateways information about the gateways using OSPF from the NSX CLI on the NSX Edge
nodes.
DISTRIBUTED_ROUTER_TIER1 DR-Prod-OSPF-T1-GW-
01
DISTRIBUTED_ROUTER_TIER0 DR-Prod-OSPF-T0-GW-
01
SERVICE_ROUTER_TIER0 SR-Prod-OSPF-T0-GW-
01
OSPF Neighbors
sa-nsxedge-ospf-01
sa-nsxedge-ospf-02
13
sa-nsxedge-ospf-01 OSPF details for Prod-OSPF-App-Segment (172.16.220.0/24)
Gateway Interface
sa-nsxedge-ospf-01
sa-nsxedge-ospf-02
14
Lab 19 Distributed Firewall Validation
Parameter Value
agentName
name
vNIC slot
15
Web-Servers to App-Servers traffic Firewall Rule Configuration Details
Parameter Value
Rule number
Direction (in/out/inout)
Protocol
Port
Action (accept/reject/drop)
Parameter Value
Source IPs
Destination IPs
16
Lab 23 Gateway Firewall Validation
Block-SSH-from-Outside Web-Servers
App-Servers
DB-Servers
Parameter Value
Type
Interface (UUID)
Context Name
17
Block-SSH-from-Outside Firewall Rule Configuration Details
Parameter Value
Rule ID
Direction (in/out/inout)
Protocol
From (source)
To (destination)
Port
Action (accept/reject/drop)
18
Lab 26 NSX Distributed IDS/IPS Validation
IDS/IPS-Rule
Parameter Value
Rule number
Direction (in/out/inout)
Mode (detect/protect)
19
Task 3: Analyze IDS/IPS Events
You review the ESXi log files and the NSX UI to identify events related to Distributed IDS/IPS.
Parameter Value
Severity
Details
Attack Type
CVE
Signature ID
20
Lab 28 NSX Advanced Load Balancer
Validation
Task 1: Verify the NSX Advanced Load Balancer Configuration from the NSX
Advanced Load Balancer UI
You use the NSX Advanced Load Balancer UI to check the health and logs of the virtual service, the web pool,
and the service engines.
Parameter Value
Virtual Service IP
VIP Name
VIP IP
Pool Name
21
vs-web Event
Parameter Value
Client IP
Operating System
Browser
Virtual Service IP
Request
Response
Server IP
Task 2: Verify the Advanced Load Balancer Configuration from the NSX Advanced
Load Balancer CLI
You log in to NSX Advanced Load Balancer and use the command line to query the load balancer
configuration information.
Parameter Value
Name
Port
Application Profile
VRF Context
Pool
Cloud
VS VIP
22
Pool Details
Parameter Value
Server 1 IP
Server 1 Hostname
Server 1 Port
Server 2 IP
Server 2 Hostname
Server 2 Port
23
24
Lab 31 IPSec VPN Validation
Parameter Value
UUID
Type
Session status
Local IP
Peer IP
Tunnel status
25
auto-edge-01: IPSec Session Details
Parameter Value
UUID
Session status
Local IP
Peer IP
26
Lab 35 Layer 2 VPN Validation
Parameter Value
DISPLAY_NAME
ID (session ID)
IPSEC_VPN_SESSION_ID
VNI Tunnel ID
27
auto-edge-01: L2 VPN Session Details
Parameter Value
DISPLAY_NAME
ID (session ID)
IPSEC_VPN_SESSION_ID
VLAN Tunnel ID
28
Lab 36 Datapath Troubleshooting East-West
Packet Walk Worksheet
Traceflow Observations
Parameter Value
29
Task 2: Perform Data Collection for Packet Capture
You use commands to query and record information about sa-web-01, sa-esxi-04, sa-app-01, and sa-esxi-05
through the CLI and GUI.
Parameter Value
IP address
MAC address
Host
sa-web-01
vdrport
vmk10
vmk50
Parameter Value
dvFilter name
Parameter Value
30
sa-esxi-04 host TEP IP
Parameter Value
Local TEP IP
vmk0 (Management)
Parameter Value
IP address
MAC address
Host
sa-app-01
vdrport
vmk10
vmk50
31
sa-app-01 dvFilter Name
Parameter Value
dvFilter name
Parameter Value
Parameter Value
Local TEP IP
vmk0 (Management)
32
Task 3: Perform Packet Capture
You use the nsxcli commands to capture and analyze the ICMP traffic between the sa-web-01 and sa-
app-01 VMs, and the sa-esxi-04 and sa-esxi-05 hosts.
Parameter Value
Source MAC
Destination MAC
Source IP
Destination IP
Packet Capture Before the dvFilter Is Applied to the vNIC of the sa-web-01 VM
Parameter Value
Source MAC
Destination MAC
Source IP
Destination IP
Parameter Value
Source MAC
Destination MAC
Source IP
Destination IP
33
Packet Capture leaving the vdrPort on the sa-esxi-04 Host
Parameter Value
Source MAC
Destination MAC
Source IP
Destination IP
Parameter Value
Destination Port
Inner Source IP
Inner Destination IP
34
Packet Capture at the Uplink on the sa-esxi-05 Host
Parameter Value
Destination Port
Inner Source IP
Inner Destination IP
Packet Capture Before the dvFilter Is Applied to the vNIC of the sa-app-01 VM
Parameter Value
Source MAC
Destination MAC
Source IP
Destination IP
Packet Capture After the dvFilter Is Applied to the vNIC of the sa-app-01 VM
Parameter Value
Source MAC
Destination MAC
Source IP
35
Destination IP
Parameter Value
Source MAC
Destination MAC
Source IP
Destination IP
36
Lab 37 Datapath Troubleshooting South-
North Packet Walk Worksheet
Traceflow Observations
Parameter Value
Transit logical switch VNI ID that connects the Tier-1 gateway with the Tier-0 gateway
Interface on the edge to which the gateway firewall rules are applied
37
Task 2: Perform Data Collection for Packet Capture
You record the sa-web-01, sa-esxi-04, sa-nsxedge-02, and sa-esxi-02 details and use them in the upcoming
tasks to perform the packet capture.
Parameter Value
IP address
MAC address
Host
sa-web-01
vdrport
vmk10
vmk50
Parameter Value
dvFilter name
Parameter Value
38
sa-esxi-04 host TEP IP
Parameter Value
Local TEP IP
vmk0 (Management)
sa-nsxedge-02 TEP IP
Parameter Value
Local VTEP IP
Parameter Value
Interface
Port-type
IP/Mask
MAC
MTU
39
Details for the NSX Edge Firewall Interface: Uplink-02-Intf
Parameter Value
Interface
Type
Name Uplink-02-Intf
VRF ID
Context name
Parameter Value
Name
IP/Mask
MAC Address
Parameter Value
IfUid
Port-type
IP/Mask
MAC
VNI
40
sa-nsxedge-02 Details from the vSphere Client
Parameter Value
IP address
Host
USED-BY TEAM-PNIC
sa-nsxedge-02.eth2
Parameter Value
Source MAC
Destination MAC
Source IP
Destination IP
41
Packet Capture Before the dvFilter Is Applied to the vNIC of the sa-web-01 VM
Parameter Value
Source MAC
Destination MAC
Source IP
Destination IP
Packet Capture After the dvFilter Is Applied to the vNIC of the sa-web-01 VM
Parameter Value
Source MAC
Destination MAC
Source IP
Destination IP
Parameter Value
Destination Port
Inner Source IP
42
Inner Destination IP
Parameter Value
Destination Port
Inner Source IP
Inner Destination IP
Parameter Value
Source MAC
Destination MAC
Source IP
Destination IP
Parameter Value
Source MAC
43
Destination MAC
Source IP
Destination IP
Outgoing Traffic at the ESXi Host Uplink Where NSX Edge Runs
Parameter Value
Source IP
Destination IP
Incoming Traffic at the ESXi Host Uplink Where NSX Edge Runs
Parameter Value
Source IP
Destination IP
44
45
46