某企业网络拓补如图
交换机配置vlanif1的IP地址为192.168.133.100,掩码长度为24
日志服务器配置的IP地址为192.168.133.129,掩码长度为24
现在要求在交换机上配置syslog,主动上传日志到日志服务器。
<Huawei>system-view #进入系统视图
[Huawei]sysname Switch #配置系统名称位 Switch
[Switch]interface Vlanif 1 #进入三层VLANIF口1
[Switch-Vlanif1]ip add 192.168.133.100 24 #配置IP地址为192.168.133.100,掩码长度为24位
[Switch-Vlanif1]quit #退出三层VLANIF口1
[Switch]info-center enable #开启信息中心
[Switch]info-center loghost source Vlanif 1 #配置信息中心日志主机发送源为vlanif1
[Switch]info-center loghost 192.168.133.129 #配置信息中心日志主机的IP为192.168.133.129
版权说明:如非注明,本站文章均为 扬州驻场服务-网络设备调试-监控维修-南京泽同信息科技有限公司 原创,转载请注明出处和附带本文链接。
请在这里放置你的在线分享代码