# sdm admin network

```shell
NAME:
   sdm admin network - manage network

USAGE:
   sdm admin network command [command options] [arguments...]

COMMANDS:
   enforce   get or set enforcement level for peering groups
   list      list all network peering groups
   create    create a new network peering group
   delete    delete a network peering group and all its dependencies
   show      show details of a network peering group
   link      creates a link between peering groups
   unlink    removes the link between two peering groups
   attach    attaches a resource or a node to a peering group
   detach    detaches a resource or a node from a peering group
   topology  draws the current network topology
   route     returns information about a route for a given resource
   vnm       manage Virtual Networking Mode (VNM)

OPTIONS:
   --help, -h  show help
```

#### attach

```shell
NAME:
   sdm admin network attach - attaches a resource or a node to a peering group

USAGE:
   sdm admin network attach [command options] <group id|group name> <resource ID | resource name | node ID | node name> [<resource ID | resource name | node ID | node name>...]

OPTIONS:
   --timeout value  set time limit for command
```

#### create

```shell
NAME:
   sdm admin network create - create a new network peering group

USAGE:
   sdm admin network create [command options] <name>

OPTIONS:
   --timeout value  set time limit for command
```

#### delete

```shell
NAME:
   sdm admin network delete - delete a network peering group and all its dependencies

USAGE:
   sdm admin network delete [command options] <id|name> [<id|name>...]

OPTIONS:
   --timeout value  set time limit for command
```

#### detach

```shell
NAME:
   sdm admin network detach - detaches a resource or a node from a peering group

USAGE:
   sdm admin network detach [command options] <group id|group name> <resource ID | resource name | node ID | node name> [<resource ID | resource name | node ID | node name>...]

OPTIONS:
   --timeout value  set time limit for command
```

#### enforce

```shell
NAME:
   sdm admin network enforce - get or set enforcement level for peering groups

USAGE:
   sdm admin network enforce [<off|permissive|exclusive|strict>]

   off         disables peering group mode.
   permissive  allows the setup of the environment progressively, where unattached resources may route through either attached or unattached nodes.
   exclusive   allows the setup of the environment progressively, where unattached resources may route through only unattached nodes.
   strict      enforces explicit peering groups, unattached resources or nodes will not be available for peering or routing.

OPTIONS:
   --timeout value  set time limit for command
```

#### link

```shell
NAME:
   sdm admin network link - creates a link between peering groups

USAGE:
   sdm admin network link [command options] <ingress-group-id|ingress-group-name> [<bridge-group-id|bridge-group-name...>] <egress-group-id|egress-group-name>

OPTIONS:
   --timeout value  set time limit for command
```

#### list

```shell
NAME:
   sdm admin network list - list all network peering groups

USAGE:
   sdm admin network list [command options] <id>

OPTIONS:
   --timeout value  set time limit for command
```

#### route

```shell
NAME:
   sdm admin network route - returns information about a route for a given resource

USAGE:
   sdm admin network route [command options] [rs-0000000000000000]

OPTIONS:
   --json, -j  output as json
```

#### show

```shell
NAME:
   sdm admin network show - show details of a network peering group

USAGE:
   sdm admin network show [command options] <id>

OPTIONS:
   --timeout value  set time limit for command
```

#### topology

```shell
NAME:
   sdm admin network topology - draws the current network topology

USAGE:
   sdm admin network topology [command options] [arguments...]

OPTIONS:
   --timeout value  set time limit for command
```

#### unlink

```shell
NAME:
   sdm admin network unlink - removes the link between two peering groups

USAGE:
   sdm admin network unlink [command options] <group id|group name> <group id|group name>

OPTIONS:
   --timeout value  set time limit for command
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.strongdm.com/references/cli/admin/network.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
