h3c模拟器模拟交换机配置文件;找了很久;也模拟了很久;把最终的模拟配置文件和大家共享!
SetSelfSlot 0
SetMainSlot 0
SetConsoleCom 2000
SetMemorySize 128
SetWinSockOffset 0
AddEthernet -index 1
SetMac 00 00(设置MAC地址)
SetBrdType 0 24 -slot 4 (添加板卡)
BindPortWithAdaptor -port 1 -adptor 1(绑定网卡)
BindPortWithAdaptor -port 2 -adptor 2
AddLink -portnum 1 -localip 127.0.0.1 -localport 2000 -dstip 127.0.0.1 -dstport 2100(连接交换机或路由器)