Userlog Flow Export Source-Ip - H3C SR6600 Command Reference Manual

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

Advertisement

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 of 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 for a device. 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
server, the IPv4 flow logging server, and the IPv6 flow logging server. If you have already specified two
servers for an interface card, you must delete one to specify a new one. If you specify a new server that
has the same IP address as but has different other information from the current server, the new
configuration overwrites the previous one.
The following matrix shows the option and router compatibility:
Option
slot slot-number
Examples
On the SR6602 router:
# Export flow logs to port 2000 on the IPv6 log server 1::1.
<Sysname> system-view
[Sysname] userlog flow export host ipv6 1::1 2000
On the SR6602-X/SR6604/SR6608/SR6616/SR6604-X/SR6608-X/SR6616-X router:
# Export flow logs generated by the card in slot 2 to port 2000 on the IPv6 log server 1::1, and port 2001
on the IPv6 log server 1::2.
<Sysname> system-view
[Sysname] userlog flow export slot 2 host ipv6 1::1 2000
[Sysname] userlog flow export slot 2 host ipv6 1::2 2001
Related commands
userlog flow export host

userlog flow export source-ip

Use userlog flow export source-ip to configure the source IP address of flow logging packets.
SR6602
SR6602-X
No
Yes
SR6604/SR6608/SR6616
Yes
237
SR6604-X/SR6608-X
/SR6616-X
Yes

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents