154 Citrix NetScaler Policy Configuration and Reference Guide
Expressions for MAC Addresses
MAC addresses are colon-delimited hexadecimal codes in the format
##:##:##:##:##:##, where # represents the numbers 0-9 and the letters A-F.

Prefixes for MAC Addresses

The following table describes prefixes that return MAC addresses.

Operations for MAC Addresses

All MAC addresses are given as colon-delimited hexadecimal codes in the format
##:##:##:##:##:##. The following table describes operations on MAC addresses.
ipv6.SUBNET(n)Returns the IPv6 address after applying the subnet
mask specified as the argument. The subnet mask
can take values between 0 and 128.
For example:
CLIENT.IPV6.SRC.SUBNET(24)
Operations That Evaluate IPv6 Addresses
IPv6 Operation Description
Prefixes That Evaluate MAC Addresses
Prefix Description
client.ether.dstmac Returns the MAC address in the destination field
of the Ethernet header.
client.ether.srcmac Returns the MAC address in the source field of the
Ethernet header.
Operations on MAC Addresses
Prefix Description
mac address.EQ(address)Returns a Boolean TRUE if the MAC address
value is same as the address argument.
mac address.GET1. . .GET4 Returns a numeric value extracted from the
segment of the MAC address that is specified in
the GET operation.
For example, if the MAC address is
12:34:56:78:9a:bc, the following returns 34:
client.ether.dstmac.get2