今天看到有人在问cloud的使用,ping不通网关
找了些资料,
交换机配置
[Huawei]dis current-configuration # sysname Huawei # vlan batch 10 # cluster enable ntdp enable ndp enable # drop illegal-mac alarm # diffserv domain default # drop-profile default # aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password simple admin local-user admin service-type http # interface Vlanif1 # interface Vlanif10 ip address *****.61 255.255.252.0 # interface MEth0/0/1 # interface GigabitEthernet0/0/1 port link-type access port default vlan 10 # interface GigabitEthernet0/0/2 # interface GigabitEthernet0/0/3 port link-type access port default vlan 10 # interface GigabitEthernet0/0/4 #
在cloud配置--ip地址为本地 ,比如1.1.1.60, cloud 的ip为1.1.1.61
然后本地cmd命令 ping交换机ip,
最后截图
pc1 ping交换机的ip