1,dis cu 这是查看交换机所有配置的命令。你要看的IP应是VLAN的IP interface vlan 1 ip address 172.16.1.7 255.255.255.0 看到这就是交换机的IP。 像H3C Quaidway 6506这是个三层的交换机,可能会划很多VLAN,所以它会有很我IP。vlan1的IP可以做管理IP(就是做远程配置的IP如:telnet)。如果有多个VLAN IP那非VLAN1的IP就是你所有在那个VLAN里的主机的网关了。 像H3C S1024就是个二层的,一般就会给VLAN1配个IP为以后的方便管理用。 2,一般H3C的都是默认是空的密码。要是有密码那就一定是谁设了,你可以把它解了,方法是: 【第一步 重启交换机,按Ctrl+B进入BOOTROM菜单】 Starting at 0x1c00000... ******************************************** * * * Quidway Series Routers Boot ROM, V9.07 * * * ******************************************** Copyright(C) 1997-2004 by HUAWEI TECH CO., LTD. Compiled at 18:10:29 , Oct 14 2004. Testing memory...OK! 128M bytes SDRAM 32768k bytes flash memory Hardware Version is MTR 1.0 CPLD Version is CPLD 1.0 Press Ctrl-B to enter Boot Menu Please input Bootrom password: /默认密码为空/ Boot Menu: 1: Download application program with XMODEM 2: Download application program with NET 3: Set application file type 4: Display applications in Flash 5: Clear application password 6: Start up and ignore configuration 7: Enter debugging environment 8: Boot Rom Operation Menu 9: Do not check the version of the software a: Exit and reboot Enter your choice(1-a): 【第二步 选择第六项“6: Start up and ignore configuration”,并确认】 Boot Menu: 1: Download application program with XMODEM 2: Download application program with NET 3: Set application file type 4: Display applications in Flash 5: Clear application password 6: Start up and ignore configuration