自学huawei之路-华为交换机MGMT配置
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
ip address 192.168.50.21 255.255.255.0
negotiation auto
ip route vrf Mgmt-vrf 0.0.0.0 0.0.0.0 192.168.50.1 #加vrf路由
ip tftp source-interface g0/0 #TFTP服务器copy文件,添加源端口
logging source-interface GigabitEthernet0/0 vrf Mgmt-vrf
logging host x.x.x.x vrf Mgmt-vrf # mgmt接口发送日志至日志服务器x.x.x.x