Skip to content

MapBmr

The following operations can be performed on "MapBmr":

rm| unbind| stat| add| bind| show|

rm MapBmr

Remove MAP Basic Mapping Rule.

Synopsis

rm MapBmr

Arguments

name Name for the Basic Mapping Rule. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the MAP Basic Mapping Rule is created. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "add network MapBmr bmr1 -natprefix 2005::/64 -EAbitLength 16 -psidoffset 6 -portsharingratio 8" ). The Basic Mapping Rule information allows a MAP BR to determine source IPv4 address from the IPv6 packet sent from MAP CE device. Also it allows to determine destination IPv6 address of MAP CE before sending packets to MAP CE

Example

rm network MapBmr bmr1

unbind MapBmr

unbind network from BMR rule.

Synopsis

unbind MapBmr (-network [-netmask ])

Arguments

name Name for the Basic Mapping Rule. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the MAP Basic Mapping Rule is created. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "add network MapBmr bmr1 -natprefix 2005::/64 -EAbitLength 16 -psidoffset 6 -portsharingratio 8" ). The Basic Mapping Rule information allows a MAP BR to determine source IPv4 address from the IPv6 packet sent from MAP CE device. Also it allows to determine destination IPv6 address of MAP CE before sending packets to MAP CE

network IPv4 NAT address range of Customer Edge (CE).

netmask Subnet mask for the IPv4 address specified in the Network parameter. Default value: 0xFFFFFFFF

Example

unbind network MapBmr bmr1 -network 192.168.0.0 -netmask 255.255.255.0

stat MapBmr

Display MAP Basic Mapping Rule statistics.

Synopsis

stat MapBmr [] [-detail] [-fullValues] [-ntimes ] [-logFile ] [-clearstats ( basic | full )]

Arguments

name Basic Mapping Rule name.

detail Specifies detailed output (including more statistics). The output can be quite voluminous. Without this argument, the output will show only a summary.

fullValues Specifies that numbers and strings should be displayed in their full form. Without this option, long strings are shortened and large numbers are abbreviated

ntimes The number of times, in intervals of seven seconds, the statistics should be displayed. Default value: 1 Minimum value: 0

logFile The name of the log file to be used as input.

clearstats Clear the statsistics / counters

Possible values: basic, full

Output

count devno stateflag

Counters

MAP-T BMR IPv6 Rx packets (v6rxPkts) Total number of MAP-T BMR V6 Recieved packets.

MAP-T BMR IPv6 Tx packets (v6txPkts) Total number of MAP-T BMR V6 Transmitted packets.

MAP-T BMR IPv4 Rx packets (v4rxPkts) Total number of MAP-T BMR V4 Recieved packets.

MAP-T BMR IPv4 Tx packets (v4txPkts) Total number of MAP-T BMR V4 Transmitted packets.

MAP-T BMR IPv6 TCP Rx packets (v6rxPktsTcp) Total number of MAP-T BMR V6 TCP Recieved packets.

MAP-T BMR IPv6 TCP Tx packets (v6txPktsTcp) Total number of MAP-T BMR V6 TCP Transmitted packets.

MAP-T BMR IPv4 TCP Rx packets (v4rxPktsTcp) Total number of MAP-T BMR V4 TCP Recieved packets.

MAP-T BMR IPv4 TCP Tx packets (v4txBytesTcp) Total number of MAP-T BMR V4 TCP Transmitted packets.

MAP-T BMR IPv6 UDP Rx packets (v6rxPktsUdp) Total number of MAP-T BMR V6 UDP Recieved packets.

MAP-T BMR IPv6 UDP Tx packets (v6txPktsUdp) Total number of MAP-T BMR V6 UDP Transmitted packets.

MAP-T BMR IPv4 UDP Rx packets (v4rxPktsUdp) Total number of MAP-T BMR V4 UDP Recieved packets.

MAP-T BMR IPv4 UDP Tx packets (v4txBytesUdp) Total number of MAP-T BMR V4 UDP Transmitted packets.

MAP-T BMR IPv6 ICMP Rx packets (v6rxPktsIcmp) Total number of MAP-T BMR V6 ICMP Recieved packets.

MAP-T BMR IPv6 ICMP Tx packets (v6txPktsIcmp) Total number of MAP-T BMR V6 ICMP Transmitted packets.

MAP-T BMR IPv4 ICMP Rx packets (v4rxPktsIcmp) Total number of MAP-T BMR V4 ICMP Recieved packets.

MAP-T BMR IPv4 ICMP Tx packets (v4txBytesIcmp) Total number of MAP-T BMR V4 ICMP Transmitted packets.

Example

stat mapbmr

add MapBmr

Add MAP-T Basic Mapping rule.

Synopsis

add MapBmr -RuleIpv6Prefix [-psidoffset ] [-EAbitLength ] [-psidlength ]

Arguments

name Name for the Basic Mapping Rule. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the MAP Basic Mapping Rule is created. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "add network MapBmr bmr1 -natprefix 2005::/64 -EAbitLength 16 -psidoffset 6 -portsharingratio 8" ). The Basic Mapping Rule information allows a MAP BR to determine source IPv4 address from the IPv6 packet sent from MAP CE device. Also it allows to determine destination IPv6 address of MAP CE before sending packets to MAP CE

RuleIpv6Prefix IPv6 prefix of Customer Edge(CE) device.MAP-T CE will send ipv6 packets with this ipv6 prefix as source ipv6 address prefix

psidoffset Start bit position of Port Set Identifier(PSID) value in Embedded Address (EA) bits. Default value: 6 Minimum value: 1 Maximum value: 15

EAbitLength The Embedded Address (EA) bit field encodes the CE-specific IPv4 address and port information. The EA bit field, which is unique for a given Rule IPv6 prefix. Default value: 16 Minimum value: 2 Maximum value: 47

psidlength Length of Port Set IdentifierPort Set Identifier(PSID) in Embedded Address (EA) bits Default value: 8 Minimum value: 1 Maximum value: 16

Example

add network MapBmr bmr1 -natprefix 2005::/64 -EAbitLength 16 -psidoffset 6 -portsharingratio 8

bind MapBmr

Bind network to BMR rule.

Synopsis

bind MapBmr (-network [-netmask ])

Arguments

name Name for the Basic Mapping Rule. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the MAP Basic Mapping Rule is created. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "add network MapBmr bmr1 -natprefix 2005::/64 -EAbitLength 16 -psidoffset 6 -portsharingratio 8" ). The Basic Mapping Rule information allows a MAP BR to determine source IPv4 address from the IPv6 packet sent from MAP CE device. Also it allows to determine destination IPv6 address of MAP CE before sending packets to MAP CE

network IPv4 NAT address range of Customer Edge (CE).

netmask Subnet mask for the IPv4 address specified in the Network parameter. Default value: 0xFFFFFFFF

Example

bind network MapBmr bmr1 -network 192.168.0.0 -netmask 255.255.255.0

show MapBmr

Display Basic mapping rule.

Synopsis

show MapBmr []

Arguments

name Name for the Basic Mapping Rule. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the MAP Basic Mapping Rule is created. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "add network MapBmr bmr1 -natprefix 2005::/64 -EAbitLength 16 -psidoffset 6 -portsharingratio 8" ). The Basic Mapping Rule information allows a MAP BR to determine source IPv4 address from the IPv6 packet sent from MAP CE device. Also it allows to determine destination IPv6 address of MAP CE before sending packets to MAP CE

Output

RuleIpv6Prefix IPv6 prefix of Customer Edge(CE) device.MAP-T CE will send ipv6 packets with this ipv6 prefix as source ipv6 address prefix

network IPv4 NAT address range of Customer Edge (CE).

netmask Subnet mask for the IPv4 address specified in the Network parameter.

EAbitLength The Embedded Address (EA) bit field encodes the CE-specific IPv4 address and port information. The EA bit field, which is unique for a given Rule IPv6 prefix.

psidoffset Start bit position of Port Set Identifier(PSID) value in Embedded Address (EA) bits.

psidlength Length of Port Set IdentifierPort Set Identifier(PSID) in Embedded Address (EA) bits

devno count stateflag

Example

show network MapBmr bmr1

Was this article helpful?