取消
显示结果 
搜索替代 
您的意思是: 
cancel
1986
查看次数
0
有帮助
2
回复

N9K 开启log功能 并传送至指定服务器命令

nexusNXOS57758
Spotlight
Spotlight

旧3750 是logging on

N9K没这个命令

2 条回复2

ilay
VIP
VIP

NX-OS 不需要logging on命令来启用log功能,默认记录日志的功能就是开启的

可以直接通过 logging server 命令来指定log server的地址

nxos(config)# logging server 10.0.2.70 ?
<CR>
<0-7> 0-emerg;1-alert;2-crit;3-err;4-warn;5-notif;6-inform;7-debug
facility Facility to use when forwarding to server
port Destination Port when forwarding to remote server
secure Enable secure connection to remote server
use-vrf Display per-VRF information

 

附:logging 设置参考文档 NX-OS 7.x

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/system_management/configuration/guide/b_Cisco_Nexus_9000_Series_NX-OS_System_Management_Configuration_Guide_7x/b_Cisco_Nexus_9000_Series_NX-OS_System_Management_Configuration_...

 

hong-yh
Level 1
Level 1

logging server 1.1.1.1 6

logging server 1.1.1.1 6 use-vrf management

logging source-interface xxx/mgmt0

 

快捷链接