Home > Configuration > NS > addnspbr6

addnspbr6

Use this method to adds an IPv6 policy based route (PBR6) to the Citrix ADC. To commit this operation, you must apply the PBR6s.
A PBR6 specifies criteria for selecting outgoing IPv6 packets and, typically, a next hop to which to send the selected packets. For example, you can configure the Citrix ADC to route outgoing packets from a specific IP address or range to a particular next hop router.

Note: The Citrix ADC process PBR6s before processing the RNAT rules.

Syntax



Parameters

name

Name for the PBR6. Must begin with an ASCII alphabetic or underscore \(_\) character, and must contain only ASCII alphanumeric, underscore, hash \(\#\), period \(.\), space, colon \(:\), at \(@\), equals \(=\), and hyphen \(-\) characters. Cannot be changed after the PBR6 is created.
This is mandatory parameter.

actioN

Action to perform on the outgoing IPv6 packets that match the PBR6. Available settings function as follows: * ALLOW - The Citrix ADC sends the packet to the designated next-hop router. * DENY - The Citrix ADC applies the routing table for normal destination-based routing.
This is mandatory parameter.

srcipv6

IP address or range of IP addresses to match against the source IP address of an outgoing IPv6 packet. In the method line interface, separate the range with a hyphen.

operatoR

Either the equals (=) or does not equal (!=) logical operator.

srcipv6val

IP address or range of IP addresses to match against the source IP address of an outgoing IPv6 packet. In the method line interface, separate the range with a hyphen.

srcport

Port number or range of port numbers to match against the source port number of an outgoing IPv6 packet. In the method line interface, separate the range with a hyphen. For example: 40-90.

operatoR2

Either the equals (=) or does not equal (!=) logical operator.

srcportval

Source port (range).

destipv6

IP address or range of IP addresses to match against the destination IP address of an outgoing IPv6 packet. In the method line interface, separate the range with a hyphen.

operatoR3

Either the equals (=) or does not equal (!=) logical operator.

destipv6val

IP address or range of IP addresses to match against the destination IP address of an outgoing IPv6 packet. In the method line interface, separate the range with a hyphen.

destport

Port number or range of port numbers to match against the destination port number of an outgoing IPv6 packet. In the method line interface, separate the range with a hyphen. For example: 40-90. Note: The destination port can be specified only for TCP and UDP protocols.

operatoR4

Either the equals (=) or does not equal (!=) logical operator.

destportval

Destination port (range).

srcmac

MAC address to match against the source MAC address of an outgoing IPv6 packet.

srcmacmask

Used to define range of Source MAC address. It takes string of 0 and 1, 0s are for exact match and 1s for wildcard. For matching first 3 bytes of MAC address, srcMacMask value "000000111111".
Default value = "000000000000".

protocol

Protocol, identified by protocol name, to match against the protocol of an outgoing IPv6 packet.

protocolnumber

Protocol, identified by protocol number, to match against the protocol of an outgoing IPv6 packet.
Minimum value = 1.
Maximum value = NSACL_MAXPROTO.

vlan

ID of the VLAN. The Citrix ADC compares the PBR6 only to the outgoing packets on the specified VLAN. If you do not specify an interface ID, the appliance compares the PBR6 to the outgoing packets on all VLANs.
Minimum value = 1.
Maximum value = 4094.

interfacE

ID of an interface. The Citrix ADC compares the PBR6 only to the outgoing packets on the specified interface. If you do not specify a value, the appliance compares the PBR6 to the outgoing packets on all interfaces.

priority

Priority of the PBR6, which determines the order in which it is evaluated relative to the other PBR6s. If you do not specify priorities while creating PBR6s, the PBR6s are evaluated in the order in which they are created.
Minimum value = 1.
Maximum value = 81920.

state

Enable or disable the PBR6. After you apply the PBR6s, the Citrix ADC compares outgoing packets to the enabled PBR6s.
Default value = XACLENABLED.

msr

Monitor the route specified by the Next Hop parameter.
Default value = DISABLED.

monitor

The name of the monitor.(Can be only of type ping or ARP )

nexthop

IP address of the next hop router to which to send matching packets if action is set to ALLOW. This next hop should be directly reachable from the appliance.

nexthopval

The Next Hop IPv6 address.

iptunnel

The iptunnel name where packets need to be forwarded upon.

vxlanvlanmap

The vlan to vxlan mapping to be applied for incoming packets over this pbr tunnel.

nexthopvlan

VLAN number to be used for link local nexthop .
Minimum value = 1.
Maximum value = 4094.

ownergroup

The owner node group in a Cluster for this pbr rule. If owner node group is not specified then the pbr rule is treated as Striped pbr rule.
Default value = DEFAULT_NG.

Return Value

Returns simpleResult

See Also