R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

234
The specified VPN instance must have been created. Otherwise packets delivery fails.
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 other information different from the current server, the new
configuration overwrites the previous one.
Examples
# (In standalone mode.) Export flow logs generated by the card in slot 2 to port 2000 on the IPv4 log
server 1.2.3.6 and port 2001 on the IPv4 log server 1.2.3.7.
<Sysname> system-view
[Sysname] userlog flow export slot 2 host 1.2.3.6 2000
[Sysname] userlog flow export slot 2 host 1.2.3.7 2001
# (In IRF mode.) Export flow logs generated by the card in slot 2 on member device 1 to port 2000 on
the IPv4 log server 1.2.3.6.
<Sysname> system-view
[Sysname] userlog flow export chassis 1 slot 2 host 1.2.3.6 2000
Related commands
userlog flow export host ipv6
userlog flow export host ipv6
Use userlog flow export host to configure the IPv6 address and UDP port number of the log server.
Use the undo userlog flow export host command to remove the configuration.
Syntax
In standalone mode:
userlog flow export [ slot slot-number ] [ vpn-instance vpn-instance-name ] host ipv6 ipv6-address
udp-port
undo userlog flow export [ slot slot-number ] [ vpn-instance vpn-instance-name ] host ipv6 ipv6-address
In IRF mode:
userlog flow export chassis chassis-number slot slot-number [ vpn-instance vpn-instance-name ] host
ipv6 ipv6-address udp-port
undo userlog flow export chassis chassis-number slot slot-number [ vpn-instance vpn-instance-name ]
host ipv6 ipv6-address
Default
The IPv6 address and UDP port number of the log server are not configured.
Views
System view
Default command level
2: System level