R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide
111
[RouterA-GigabitEthernet2/0/1] quit
# Configure the address and port number of NSC as the destination host for the NetStream data export,
leaving the default for the source interface.
[RouterA] ip netstream export host 12.110.2.2 5000
Verifying the configuration
# Execute the display sampler command on Router A to view the configuration and running information
about sampler 256. The output shows that Router A received and processed 256 packets, which reached
the number of packets for one sampling, and Router A selected the first packet from among the 256
packets received on GigabitEthernet 2/0/0.
<RouterA> display sampler 256
Sampler name: 256
Index: 1, Mode: Fixed, Packet-interval: 8
Packet counter: 0, Random number: 1
Total packet number (processed/selected): 256/1
# Execute the display sampler command on Router A to view the configuration and running information
about sampler 1024. The output shows that Router A processed and sent out 1024 packets, which
reached the number of packets for one sampling, and Router A selected a packet randomly from among
the 1024 packets sent from among GigabitEthernet 2/0/1.
<RouterA> display sampler 1024
Sampler name: 1024
Index: 2, Mode: Random, Packet-interval: 10
Packet counter: 0, Random number: 370
Total packet number (processed/selected): 1024/1