322
Syntax
ip netstream
{
inbound
|
outbound
}
undo ip netstream
{
inbound
|
outbound
}
Default
NetStream is disabled on an interface.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
mdc-admin
Parameters
inbound
:
Enables NetStream for incoming traffic.
outbound
: Enables NetStream for outgoing traffic.
Examples
# Enable NetStream for incoming traffic on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] ip netstream inbound
ip netstream { inbound | outbound } filter
Use
ip netstream filter
to enable NetStream filtering on an interface.
Use
undo
ip netstream filter
to disable the function.
Syntax
ip netstream
{
inbound
|
outbound
}
filter acl
acl-number
undo ip netstream
{
inbound
|
outbound
}
filter
Default
NetStream filtering is disabled. NetStream collects statistics about all IPv4 packets passing through
an interface.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
mdc-admin
Parameters
inbound
: Filters incoming traffic.
outbound
: Filters outgoing traffic.
acl
acl-number
: Specifies an ACL by its number. For a basic ACL, the value range is 2000 to 2999.
For an advanced ACL, the value range is 3000 to 3999.
Usage guidelines
NetStream filtering uses an ACL to identify intended packets.