The display netstream command displays NetStream configurations. You can run this command in the interface view, the system view, or the aggregation view. You can also view all NetStream configurations saved in the system.
| Parameter | Description | Value |
|---|---|---|
| all | Displays all NetStream configurations saved in the system, including NetStream configurations in the system view, the aggregation view, and the interface view. | - |
| global | Displays NetStream configurations in the system view and the aggregation view. | - |
| interface-type | Specifies the interface type. | - |
| interface-number | Specifies the interface number. | - |
If the interface is not enabled with NetStream function, it will not be displayed in the output of display netstream command.
The displayed information contains the status of sampling for incoming and outgoing IPv4 streams, MPLS streams, IPv6 streams, the sampling mode, and sampling interval. If the interface is a Layer 2 interface, the ID of the VLAN that the Layer 2 interface belongs to is also displayed.
# Display NetStream configurations in all views.
<sysname> display netstream all system ip netstream export version 9 ip netstream export source 10.1.1.1 ip netstream export host 10.0.0.2 6000 ip netstream export host 10.5.5.5 6000 ipv6 netstream export version 9 ipv6 netstream export host 10.0.0.3 6000 ip netstream aggregation as enable export version 9 ip netstream aggregation protocol-port export version 9 slot 0 GigabitEthernet 0/0/1 ip netstream inbound ip netstream sampler fix-packets 1 inbound ipv6 netstream inbound ipv6 netstream sampler fix-packets 1 inbound