Userlog Flow Export Host - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

On the SR6602-X/SR6604/SR6608/SR6616/SR6604-X/SR6608-X/SR6616-X router:
# Clear flow logs in cache of the card in slot 2.
<Sysname> reset userlog flow logbuffer slot 2
# Clear flow logs in the cache of all cards.
<Sysname> reset userlog flow logbuffer

userlog flow export host

Use the userlog flow export host command to configure the IPv4 address and UDP port number of the
log server.
Use undo userlog flow export host to remove the configuration.
Syntax
userlog flow export [ slot slot-number ] [ vpn-instance vpn-instance-name ] host ipv4-address udp-port
undo userlog flow export [ slot slot-number ] [ vpn-instance vpn-instance-name ] host ipv4-address
Default
The IPv4 address and UDP port number of the log server are not configured.
Views
System view
Default command level
2: System level
Parameters
vpn-instance vpn-instance-name: Specifies a MPLS L3VPN by its name, a case-sensitive string of 1 to 31
characters. If the flow logging server is on the public network, do not specify this option.
ipv4-address: Specifies the IPv4 address of a flow logging server.
udp-port: Specifies the UDP port number of the flow logging server, in the range of 0 to 65535.
slot slot-number: Specifies a card by its slot number.
Usage guidelines
To output flow logs in UDP packets, you must specify a flow logging server. Otherwise the flow logs
cannot be exported.
To avoid collision with general UDP port numbers, use UDP port numbers in the range 1025 to 65535.
The specified VPN instance must have been created. Otherwise packets delivery fails.
On the SR6602 router:
You can specify at most two log servers of the same type or different types. There are three types of log
servers, the VPN flow logging server, the IPv4 flow logging server, and the IPv6 flow logging server. If
you have already specified two servers, you need to delete one to specify a new one. If you specify a
new server that has the same IP address as but has other information different from the current server, the
new configuration overwrites the previous one.
On the SR6602-X/SR6604/SR6608/SR6616/SR6604-X/SR6608-X/SR6616-X router:
You must specify flow logging servers for interface cards separately. You can specify at most two log
servers of the same type or different types. There are three types of log servers, the VPN flow logging
235

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents