Viewing Network Security Groups
On Compute Cloud@Customer, NSGs are available for you to create and use.
-
In the Compute Cloud@Customer Console navigation menu, click Networking, then click Virtual Cloud Networks.
- At the top of the page, select the compartment that contains the VCN in which you want to create a subnet.
-
Click the name of the VCN for which you want to view Network Security Groups.
The VCN details page is displayed.
-
Under Resources, click Network Security Groups.
The list of NSGs is displayed.
-
Click the name of the NSG to view its details, including security rules and attached VNICs.
-
Use the oci network nsg list command and required parameters to list either the network security groups in the specified compartment, or those associated with the specified VLAN.
Note
You must specify either avlanId
or acompartmentId
, but not both. If you specify avlanId
, all other parameters are ignored.oci network nsg list --compartment-id <compartment_OCID> | --VLAN-id <vlan_OCID> [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the ListNetworkSecurityGroups operation to list either the network security groups in the specified compartment, or those associated with the specified VLAN.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.