Estimated Reading Time: 1 minutes|Last Updated: 11/19/2021, 7:57:43 AM

# Create global-ip-list

This command can create a global-ip-list.

# usage

Usage: oredge global-ip-list create [OPTIONS]

OPTIONS:
    --name string                      name.
    --ip string                        ip, can add multiple times.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

--name "ip-list name"

the name of the global-ip-list, this args is required.

--ip "xx.xx.xx.xx"

add the ip in the ip list. you can add multiple times.

# example

  1. create global-ip-list.
# oredge global-ip-list create --ip 10.1.1.1 --ip 10.2.2.2 --name test
ID: 1