addressgroup

Usage

addressgroup <name>

localhost(config)#addressgroup testAdrGp
localhost(config-addressgroup)#

Settings

Context Description
AddressList (required) List of either ipv4Prefixes or ipv6Prefixes. All prefix strings must match this attribute's 'type'. Cannot mix different type of prefixes within one address group.
Type IPv4/IPv6/MAC Type of address group default: IPv4

Available Commands

Command Purpose
addressgroup <name>
addressgroup AddressList < []string List of either ipv4Prefixes or ipv6Prefixes.
addressgroup Type <string>

Example

Commands:

FlexSwitch(config-addressgroup)#AddressList "192.168.255.255, 10.10.11.1"
FlexSwitch(config-addressgroup)#Type IPv4

FlexSwitch(config-addressgroup)#apply

Response:

Applying Config:
id: 1   object: AddressGroup   status: APPLIED CONFIG  valid: True delete: False num user cmds: 3
 command                         attr            value                  model attr     iskey    required    userprov    time provisioned         
-------------------------------------------------------------------------------------------------------------------------------------------------
 addressgroup testAdrGp          addressgroup    testAdrGp              Name           True     X           X           Fri Sep  1 12:00:28 2017 
 AddressList 192.168.255.255,    AddressList     ['192.168.255.255',    AddressList    False    X           X           Fri Sep  1 12:01:10 2017 
 10.10.11.1                                      '10.10.11.1']                                                                                   
 Type IPv4                       Type            IPv4                   Type           False                X           Fri Sep  1 12:01:15 2017 

sdk:createAddressGroup(testAdrGp,['192.168.255.255', '10.10.11.1'],Type=IPv4) result: SUCCESS: http status code: 201