h3c模擬器模擬交換機配置文件;找了很久;也模擬了很久;把最終的模擬配置文件和大家共享!
SetSelfSlot 0
SetMainSlot 0
SetConsoleCom 2000
SetMemorySize 128
SetWinSockOffset 0
AddEthernet -index 1
SetMac 00 00(設(shè)置MAC地址)
SetBrdType 0 24 -slot 4 (添加板卡)
BindPortWithAdaptor -port 1 -adptor 1(綁定網(wǎng)卡)
BindPortWithAdaptor -port 2 -adptor 2
AddLink -portnum 1 -localip 127.0.0.1 -localport 2000 -dstip 127.0.0.1 -dstport 2100(連接交換機或路由器)