beautypg.com

Exporting flow logs to an ipv6 log server, Exporting flow logs to information center, Displaying and maintaining flow logging – H3C Technologies H3C SR8800 User Manual

Page 206

background image

194

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the IPv4 address
and UDP port number of the

log server.

userlog flow export slot
slot-number [ vpn-instance

vpn-instance-name ] host
ipv4-address udp-port

Not configured by default.

Exporting flow logs to an IPv6 log server

To export flow logs to an IPv6 log server:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the IPv6 address
and UDP port number of the

log server.

userlog flow export slot
slot-number host ipv6 ipv6-address

udp-port

Not configured by default.

NOTE:

You must configure flow logging server for each card separately. You can select at most two log servers
from three types of log servers (which are flow logging server in a VPN, IPv4 flow logging server, and IPv6
flow logging server) to receive flow logs for each card. If you specify two log servers for a router, the

servers can be of the same type or of different types. If you have already specified two servers for a card,

you need to delete an existing one to specify a new one. If in a new configuration, the IP address is the
same with that of the currently effective configuration, but other information of the two configurations is

different, then the new configuration will overwrite the previous one.

Exporting flow logs to information center

To export flow logs to information center:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Export flow logs to
information center.

userlog flow syslog

Flow logs are exported to the log
server by default.

NOTE:

Exporting flow logs to the information center takes up storage space of the router, so adopt this export
approach when there are a small amount of logs.

When the flow logs are exported to the information center, the severity level of the logs is informational,
namely, general messages of the router.

Displaying and maintaining flow logging