![HP FlexNetwork MSR Series Скачать руководство пользователя страница 699](http://html.mh-extra.com/html/hp/flexnetwork-msr-series/flexnetwork-msr-series_command-reference-manual_163078699.webp)
681
Syntax
destination
{
ip
ipv4-address
[
mask-length
] |
ipv6
ipv6-address
[
prefix-length
] }
undo destination
Default
A user-defined NBAR rule matches packets destined for all IP addresses.
Views
NBAR rule view
Predefined user roles
network-admin
Parameters
ip ipv4-address
: Specifies a destination IPv4 address or IPv4 subnet, in dotted decimal notation.
mask-length
:
Specifies the mask length for IPv4 addresses, in the range of 0 to 32.
ipv6 ipv6-address
: Specifies a destination IPv6 address or IPv6 subnet.
prefix-length
: Specifies the prefix length for IPv6 addresses, in the range of 0 to 128.
Usage guidelines
If you execute this command multiple times for the same NBAR rule, the most recent configuration
takes effect.
The
ipv6
ipv6-address
option is not supported in the current software version. If you specify this
option, the command does not take effect.
Examples
# Configure user-defined NBAR rule
abcd
to match packets destined for the IPv4 subnet
192.168.1.0/24.
<Sysname> system-view
[Sysname] nbar application abcd protocol http
[Sysname-nbar-application-abcd] destination ip 192.168.1.0 24
Related commands
nbar application
direction
Use
direction
to specify a direction as a match criterion in a user-defined NBAR rule.
Use
undo direction
to restore the default.
Syntax
direction
{
to-client
|
to-server
}
undo direction
Default
A user-defined NBAR rule matches packets in both directions.
Views
NBAR rule view
Predefined user roles
network-admin