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

# Modify global-ip-list

This command can modify a global-ip-list.

# usage

sage: oredge global-ip-list modify [id] [OPTIONS]

OPTIONS:
    --id integer                       id.
    --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.

--id "id"

Specify to which global-ip-list you want to modify.

You can specify it in two method

    oredge global-ip-list modify 1

or

    oredge global-ip-list modify --id 1

--name "global-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. modify global ip list.
# oredge global-ip-list modify 1 --ip 10.3.3.3 --ip 10.4.4.4
OK