原因,这个包在你的本机没有安装 如redis包的提示为 could not import github.com/gomodule/redigo/redis (no required module provides package "github.com/gomodule/redigo/redis")解决方法: go get github.com/gomodule/redigo/redis
实验拓扑图 代码:
SW1
<Huawei>sys
Enter system view, return user view with CtrlZ.
[Huawei]sysn sw1
[sw1]undo info-center enable
Info: Information center is disabled.
[sw1]vlan batch 10 20 30
Info: This operation may take a few seconds. …