Invoke ADCAddNsip - j81blog/J81.ADCToolkit GitHub Wiki
Add NS configuration Object.
Invoke-ADCAddNsip [-Ipaddress] <String> [-Netmask] <String> [[-Type] <String>] [[-Arp] <String>]
[[-Icmp] <String>] [[-Vserver] <String>] [[-Telnet] <String>] [[-Ftp] <String>] [[-Gui] <String>]
[[-Ssh] <String>] [[-Snmp] <String>] [[-Mgmtaccess] <String>] [[-Restrictaccess] <String>]
[[-Dynamicrouting] <String>] [[-Decrementttl] <String>] [[-Ospf] <String>] [[-Bgp] <String>] [[-Rip] <String>]
[[-Hostroute] <String>] [[-Advertiseondefaultpartition] <String>] [[-Networkroute] <String>] [[-Tag] <Double>]
[[-Hostrtgw] <String>] [[-Metric] <Int32>] [[-Vserverrhilevel] <String>] [[-Ospflsatype] <String>]
[[-Ospfarea] <Double>] [[-State] <String>] [[-Vrid] <Double>] [[-Icmpresponse] <String>]
[[-Ownernode] <Double>] [[-Arpresponse] <String>] [[-Ownerdownresponse] <String>] [[-Td] <Double>]
[[-Arpowner] <Double>] [[-Mptcpadvertise] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
Configuration for ip resource.
Invoke-ADCAddNsip -ipaddress <string> -netmask <string>
An example how to add nsip configuration Object(s).
IPv4 address to create on the Citrix ADC. Cannot be changed after the IP address is created.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSubnet mask associated with the IP address.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType of the IP address to create on the Citrix ADC. Cannot be changed after the IP address is created. The following are the different types of Citrix ADC owned IP addresses:
- A Subnet IP (SNIP) address is used by the Citrix ADC to communicate with the servers. The Citrix ADC also uses the subnet IP address when generating its own packets, such as packets related to dynamic routing protocols, or to send monitor probes to check the health of the servers.
- A Virtual IP (VIP) address is the IP address associated with a virtual server. It is the IP address to which clients connect. An appliance managing a wide range of traffic may have many VIPs configured. Some of the attributes of the VIP address are customized to meet the requirements of the virtual server.
- A GSLB site IP (GSLBIP) address is associated with a GSLB site. It is not mandatory to specify a GSLBIP address when you initially configure the Citrix ADC. A GSLBIP address is used only when you create a GSLB site.
- A Cluster IP (CLIP) address is the management address of the cluster. All cluster configurations must be performed by accessing the cluster through this IP address. Possible values = SNIP, VIP, NSIP, GSLBsiteIP, CLIP
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: SNIP
Accept pipeline input: False
Accept wildcard characters: FalseRespond to ARP requests for this IP address. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: FalseRespond to ICMP requests for this IP address. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: FalseUse this option to set (enable or disable) the virtual server attribute for this IP address. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: FalseAllow Telnet access to this IP address. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: FalseAllow File Transfer Protocol (FTP) access to this IP address. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 9
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: FalseAllow graphical user interface (GUI) access to this IP address. Possible values = ENABLED, SECUREONLY, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 10
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: FalseAllow secure shell (SSH) access to this IP address. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: FalseAllow Simple Network Management Protocol (SNMP) access to this IP address. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 12
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: FalseAllow access to management applications on this IP address. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 13
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: FalseBlock access to nonmanagement applications on this IP. This option is applicable for MIPs, SNIPs, and NSIP, and is disabled by default. Nonmanagement applications can run on the underlying Citrix ADC Free BSD operating system. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 14
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: FalseAllow dynamic routing on this IP address. Specific to Subnet IP (SNIP) address. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 15
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: FalseDecrement TTL by 1 when ENABLED.This setting is applicable only for UDP traffic. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 16
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: FalseUse this option to enable or disable OSPF on this IP address for the entity. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 17
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: FalseUse this option to enable or disable BGP on this IP address for the entity. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 18
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: FalseUse this option to enable or disable RIP on this IP address for the entity. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 19
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: FalseOption to push the VIP to ZebOS routing table for Kernel route redistribution through dynamic routing protocols. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 20
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseAdvertise VIPs from Shared VLAN on Default Partition. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 21
Default value: DISABLED
Accept pipeline input: False
Accept wildcard characters: FalseOption to push the SNIP subnet to ZebOS routing table for Kernel route redistribution through dynamic routing protocol. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 22
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseTag value for the network/host route associated with this IP.
Type: Double
Parameter Sets: (All)
Aliases:
Required: False
Position: 23
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseIP address of the gateway of the route for this VIP address.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 24
Default value: -1
Accept pipeline input: False
Accept wildcard characters: FalseInteger value to add to or subtract from the cost of the route advertised for the VIP address.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 25
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseAdvertise the route for the Virtual IP (VIP) address on the basis of the state of the virtual servers associated with that VIP.
- NONE - Advertise the route for the VIP address, regardless of the state of the virtual servers associated with the address.
- ONE VSERVER - Advertise the route for the VIP address if at least one of the associated virtual servers is in UP state.
- ALL VSERVER - Advertise the route for the VIP address if all of the associated virtual servers are in UP state.
- VSVR_CNTRLD - Advertise the route for the VIP address according to the RHIstate (RHI STATE) parameter setting on all the associated virtual servers of the VIP address along with their states. When Vserver RHI Level (RHI) parameter is set to VSVR_CNTRLD, the following are different RHI behaviors for the VIP address on the basis of RHIstate (RHI STATE) settings on the virtual servers associated with the VIP address:
- If you set RHI STATE to PASSIVE on all virtual servers, the Citrix ADC always advertises the route for the VIP address.
- If you set RHI STATE to ACTIVE on all virtual servers, the Citrix ADC advertises the route for the VIP address if at least one of the associated virtual servers is in UP state. *If you set RHI STATE to ACTIVE on some and PASSIVE on others, the Citrix ADC advertises the route for the VIP address if at least one of the associated virtual servers, whose RHI STATE set to ACTIVE, is in UP state. Possible values = ONE_VSERVER, ALL_VSERVERS, NONE, VSVR_CNTRLD
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 26
Default value: ONE_VSERVER
Accept pipeline input: False
Accept wildcard characters: FalseType of LSAs to be used by the OSPF protocol, running on the Citrix ADC, for advertising the route for this VIP address. Possible values = TYPE1, TYPE5
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 27
Default value: TYPE5
Accept pipeline input: False
Accept wildcard characters: FalseID of the area in which the type1 link-state advertisements (LSAs) are to be advertised for this virtual IP (VIP) address by the OSPF protocol running on the Citrix ADC. When this parameter is not set, the VIP is advertised on all areas.
Type: Double
Parameter Sets: (All)
Aliases:
Required: False
Position: 28
Default value: -1
Accept pipeline input: False
Accept wildcard characters: FalseEnable or disable the IP address. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 29
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: FalseA positive integer that uniquely identifies a VMAC address for binding to this VIP address. This binding is used to set up Citrix ADCs in an active-active configuration using VRRP.
Type: Double
Parameter Sets: (All)
Aliases:
Required: False
Position: 30
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseRespond to ICMP requests for a Virtual IP (VIP) address on the basis of the states of the virtual servers associated with that VIP. Available settings function as follows:
- NONE - The Citrix ADC responds to any ICMP request for the VIP address, irrespective of the states of the virtual servers associated with the address.
- ONE VSERVER - The Citrix ADC responds to any ICMP request for the VIP address if at least one of the associated virtual servers is in UP state.
- ALL VSERVER - The Citrix ADC responds to any ICMP request for the VIP address if all of the associated virtual servers are in UP state.
- VSVR_CNTRLD - The behavior depends on the ICMP VSERVER RESPONSE setting on all the associated virtual servers. The following settings can be made for the ICMP VSERVER RESPONSE parameter on a virtual server:
- If you set ICMP VSERVER RESPONSE to PASSIVE on all virtual servers, Citrix ADC always responds.
- If you set ICMP VSERVER RESPONSE to ACTIVE on all virtual servers, Citrix ADC responds if even one virtual server is UP.
- When you set ICMP VSERVER RESPONSE to ACTIVE on some and PASSIVE on others, Citrix ADC responds if even one virtual server set to ACTIVE is UP. Possible values = NONE, ONE_VSERVER, ALL_VSERVERS, VSVR_CNTRLD
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 31
Default value: 5
Accept pipeline input: False
Accept wildcard characters: FalseThe owner node in a Cluster for this IP address. Owner node can vary from 0 to 31. If ownernode is not specified then the IP is treated as Striped IP.
Type: Double
Parameter Sets: (All)
Aliases:
Required: False
Position: 32
Default value: 255
Accept pipeline input: False
Accept wildcard characters: FalseRespond to ARP requests for a Virtual IP (VIP) address on the basis of the states of the virtual servers associated with that VIP. Available settings function as follows:
- NONE - The Citrix ADC responds to any ARP request for the VIP address, irrespective of the states of the virtual servers associated with the address.
- ONE VSERVER - The Citrix ADC responds to any ARP request for the VIP address if at least one of the associated virtual servers is in UP state.
- ALL VSERVER - The Citrix ADC responds to any ARP request for the VIP address if all of the associated virtual servers are in UP state. Possible values = NONE, ONE_VSERVER, ALL_VSERVERS
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 33
Default value: 5
Accept pipeline input: False
Accept wildcard characters: Falsein cluster system, if the owner node is down, whether should it respond to icmp/arp. Possible values = YES, NO
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 34
Default value: YES
Accept pipeline input: False
Accept wildcard characters: FalseInteger value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0. TD id 4095 is used reserved for LSN use .
Type: Double
Parameter Sets: (All)
Aliases:
Required: False
Position: 35
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseThe arp owner in a Cluster for this IP address. It can vary from 0 to 31.
Type: Double
Parameter Sets: (All)
Aliases:
Required: False
Position: 36
Default value: 255
Accept pipeline input: False
Accept wildcard characters: FalseIf enabled, this IP will be advertised by Citrix ADC to MPTCP enabled clients as part of ADD_ADDR option. Possible values = YES, NO
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 37
Default value: NO
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
File Name : Invoke-ADCAddNsip Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/ns/nsip/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.