1、sysname SW1vlan batch 2 to 3cluster enablentdp enablendp enabledrop illegal-mac alarmdiffserv domain defaultdrop-profile defaultaaaauthentication-scheme defaultauthorization-scheme defaultaccounting-scheme defaultdomain defaultdomain default_adminlocal-user admin password simple adminlocal-user admi
2、n service-type httpinterface Vlanif1interface MEth0/0/1interface Ethernet0/0/1port link-type accessport default vlan 2interface Ethernet0/0/2port default vlan 3interface Ethernet0/0/3interface Ethernet0/0/4interface Ethernet0/0/5interface Ethernet0/0/6interface Ethernet0/0/7interface Ethernet0/0/8in
3、terface Ethernet0/0/9interface Ethernet0/0/10interface Ethernet0/0/11interface Ethernet0/0/12interface Ethernet0/0/13interface Ethernet0/0/14interface Ethernet0/0/15interface Ethernet0/0/16interface Ethernet0/0/17interface Ethernet0/0/18interface Ethernet0/0/19interface Ethernet0/0/20interface Ether
4、net0/0/21interface Ethernet0/0/22port link-type trunkport trunk allow-pass vlan 3interface GigabitEthernet0/0/1interface GigabitEthernet0/0/2interface NULL0user-interface con 0user-interface vty 0 4ReturnSW2di cusysname SW2port-group link-typereturnVLAN间路由注:在pc1和pc2上面配置好ip地址和网关interface Vlanif2ip ad
5、dress 192.168.2.254 255.255.255.0interface Vlanif3ip address 192.168.3.254 255.255.255.0R1di cusysname R1local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw#firewall zone Localpriority 16interface Ethernet0/0/0interface Ethernet0/0/0.1vlan-type dot1q 2interface Ethernet0/0/0.3vlan-type dot1q 3ip ad
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1