< Home

destination-address (flow probe policy rule view)

Function

The destination-address command specifies a destination IP address in a flow probe policy rule.

The undo destination-address command deletes a destination IP address specified in a flow probe policy rule.

Format

destination-address { address-set address-set-name &<1-6> | ipv4-address { ipv4-mask-length | mask mask-address | wildcard } [ description description ] | range ipv4-start-address ipv4-end-address [ description description ] | any }

undo destination-address { address-set address-set-name &<1-6> | ipv4-address { ipv4-mask-length | mask mask-address | wildcard } [ description ] | range ipv4-start-address ipv4-end-address [ description ] | all }

Parameters

Parameter Description Value
address-set address-set-name &<1-6> Specifies the name of an address or address group. The value must be an existing address or address group name, and the address or address group cannot contain an IPv6 address. You can add or delete a maximum of six addresses or address groups at a time.
ipv4-address Specifies an IPv4 address. The value is in dotted decimal notation.
ipv4-mask-length Specifies an IPv4 address mask. The value is an integer ranging from 1 to 32.
mask mask-address Specifies an IPv4 address mask. The value is in dotted decimal notation. The corresponding binary value supports discontinuous 1s, for example, 255.0.255.0 (11111111 00000000 11111111 00000000). Only digits 1 in the binary format are matched, but not digits 0. For example, IP address 192.168.1.1/255.0.255.0 matches the IP addresses in 192.*.1.* format.
wildcard Specifies the wildcard of an IPv4 address. The value is a wildcard character in dotted decimal notation. The corresponding binary form supports discontinuous 1s, for example, 0.255.0.255 (00000000 11111111 00000000 11111111). Only digits 0 in the binary format are matched, but not digits 1. For example, IP address 192.168.1.1/0.255.0.255 matches the IP addresses in 192.*.1.* format.
description description Specifies the description of a single IPv4 address or address segment. The value is a string of 1 to 128 characters.
range Indicates the address range. -
ipv4-start-address Specifies the start address of the IPv4 address range. The value is in dotted decimal notation.
ipv4-end-address Indicates the end address of the IPv4 address range. The value is in dotted decimal notation.
any Indicates any destination address. -
all Deletes all destination IP addresses specified in the flow probe policy rule. -

Views

Flow probe policy rule view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# In the flow probe policy rule view, set the destination address.

<sysname> system-view
[sysname] flow-probe-policy
[sysname-policy-probe] rule name policy_probe
[sysname-policy-probe-rule-policy_probe] destination-address 10.1.1.1 24
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >