Viewing Network Security Groups

On Compute Cloud@Customer, NSGs are available for you to create and use.

    1. In the Compute Cloud@Customer Console navigation menu, select Networking, then select Virtual Cloud Networks.

    2. At the top of the page, select the compartment that contains the VCN in which you want to create a subnet.
    3. Select the name of the VCN for which you want to view Network Security Groups.

      The VCN details page is displayed.

    4. Under Resources, select Network Security Groups.

      The list of NSGs is displayed.

    5. Select 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 a vlanId or a compartmentId, but not both. If you specify a vlanId, 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.