Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure Operation Log Output to Log Host

Configuration Condition

You need to configure the log output to the host first.

Configure Operation Log Output to Log Server

After configuring the operation log output to the log server, you can query the operation log of the user on the log server.

Table 9–10 Configure the operation log output to the log host

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enable the log output function

logging enable

Optional

By default, the log output function is enabled.

Configure the log host

logging server server-name [ vrf vrf-name ] { ip ip-address | ipv6 ipv6-address | hostname host-name } [ port port-num ] [ facility facility-name ] [level  severity]

Mandatory

By default, the function of sending the log information to the log server is not enabled.

Configure the operation log sent to the log server

logging operation to-server

Mandatory

By default, the function of sending the operation log to the log server is not enabled.