R1路由器:#########################system-viewsysnameR1user-interfacevty04setauthenticationpasswordcipherhuaweiuserprivilegelevel3quitrouterid1.1.1.1interfaceLoopBack0ipaddress1.1.1.1255.255.255.255quitinterfaceGigabitEthernet0/0/0ipaddress12.0.0.1255.255.255.0quitinterfaceGigabitEthernet0/0/1ipaddress13.0.0.1255.255.255.0quitR2路由器:##################################system-viewsysnameR2user-interfacevty04setauthenticationpasswordcipherhuaweiuserprivilegelevel3quitrouterid2.2.2.2interfaceLoopBack0ipaddress2.2.2.2255.255.255.255quitinterfaceGigabitEthernet0/0/0ipaddress12.0.0.2255.255.255.0quitinterfaceGigabitEthernet0/0/1ipaddress23.0.0.1255.255.255.0quitR3路由器:##################################system-viewsysnameR3user-interfacevty04setauthenticationpasswordcipherhuaweiuserprivilegelevel3quitrouterid3.3.3.3interfaceLoopBack0ipaddress3.3.3.3255.255.255.255quitinterfaceGigabitEthernet0/0/0ipaddress13.0.0.2255.255.255.0quitinterfaceGigabitEthernet0/0/1ipaddress23.0.0.2255.255.255.0quitSW1交换机:#########################system-viewsysnameSW1user-interfacevty04setauthenticationpasswordcipherhuaweiuserprivilegelevel3quitvlanbatch102030port-grouphuaweigroup-memberGigabitEthernet0/0/1toGigabitEthernet0/0/5portlink-typeaccportdefaultvlan10quitinterfaceVlanif10ipaddress12.0.0.124quit