公司的华为3层交换机,由于不是熟悉,启用web来进行日常的管理。
sys Enter system view, return user view with Ctrl+Z. [Quidway]dir ^ Error: Unrecognized command found at '^' position. [Quidway]quit dir Directory of flash:/ Idx Attr Size(Byte) Date Time FileName 0 -rw- 971 Nov 06 2011 17:21:04 private-data.txt 1 -rw- 1,088,370 Oct 01 2008 00:09:44 S5700EI-V100R005.002.web.zip 2 -rw- 11,065,564 Oct 01 2008 00:01:29 S5700EI-V100R005C01.cc 3 -rw- 952 Jul 29 2011 17:02:50 vrpcfg.zip 30,008 KB total (18,112 KB free) dir Directory of flash:/ Idx Attr Size(Byte) Date Time FileName 0 -rw- 971 Nov 06 2011 17:21:04 private-data.txt 1 -rw- 1,088,370 Oct 01 2008 00:09:44 S5700EI-V100R005.002.web.zip 2 -rw- 11,065,564 Oct 01 2008 00:01:29 S5700EI-V100R005C01.cc 3 -rw- 952 Jul 29 2011 17:02:50 vrpcfg.zip 30,008 KB total (18,112 KB free) sys Enter system view, return user view with Ctrl+Z. [Quidway]dis cur # !Software Version V100R005C01 sysname Quidway # super password level 5 cipher N`C55QK<`=/Q=^Q`MAF4<1!! # vlan batch 1 to 3 100 # cluster enable ntdp enable ntdp hop 16 ndp enable # dhcp enable # undo http server enable # aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password simple admin local-user admin service-type http # interface Vlanif1 ip address 192.168.1.254 255.255.255.0 dhcp select interface dhcp server excluded-ip-address 192.168.1.1 192.168.1.25 dhcp server excluded-ip-address 192.168.1.240 192.168.1.253 dhcp server dns-list 202.99.160.68 202.99.166.4 # interface Vlanif2 ip address 192.168.2.254 255.255.255.0 dhcp select interface dhcp server dns-list 202.99.160.68 202.99.166.4 # interface Vlanif3 ip address 192.168.0.254 255.255.255.0 dhcp select interface dhcp server dns-list 202.99.160.68 202.99.166.4 # interface Vlanif100 ip address 192.168.100.1 255.255.255.0 # interface MEth0/0/1 # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 to 4094 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 2 to 4094 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/3 port link-type trunk port trunk allow-pass vlan 2 to 4094 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/4 port link-type trunk port trunk allow-pass vlan 2 to 4094 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/5 port link-type trunk port trunk allow-pass vlan 2 to 4094 ntdp enable ndp enable bpdu enable dot1x enable # interface GigabitEthernet0/0/6 port link-type trunk port trunk allow-pass vlan 2 to 4094 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/7 port link-type trunk port trunk allow-pass vlan 2 to 4094 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/8 port link-type trunk port trunk allow-pass vlan 2 to 4094 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/9 port link-type trunk port trunk allow-pass vlan 2 to 4094 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/10 port link-type trunk port trunk allow-pass vlan 2 to 4094 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/11 port link-type access ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/12 port link-type access ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/13 port link-type access ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/14 port link-type access ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/15 port link-type access ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/16 port link-type access ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/17 port link-type access ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/18 port link-type access ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/19 port link-type access ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/20 port link-type access ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/21 port link-type access port default vlan 2 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/22 port link-type access port default vlan 2 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/23 port link-type access port default vlan 2 ntdp enable ndp enable bpdu enable # interface GigabitEthernet0/0/24 port link-type access port default vlan 100 ntdp enable ndp enable bpdu enable trust 8021p # interface NULL0 # ip route-static 0.0.0.0 0.0.0.0 192.168.100.2 # snmp-agent snmp-agent local-engineid 000007DB7F00000100000CF2 snmp-agent community read liquid snmp-agent sys-info version all # user-interface maximum-vty 15 user-interface con 0 user-interface vty 0 14 set authentication password cipher N`C55QK<`=/Q=^Q`MAF4<1!! # return [Quidway]dis ver Huawei Versatile Routing Platform Software VRP (R) software, Version 5.70 (S5700 V100R005C01) Copyright (C) 2003-2010 HUAWEI TECH CO., LTD Quidway S5700-28C-EI Routing Switch uptime is 10 weeks, 0 day, 17 hours, 12 minu tes EFGE 0(Master) : uptime is 10 weeks, 0 day, 17 hours, 12 minutes 256M bytes DDR Memory 32M bytes FLASH Pcb Version : VER B Basic BOOTROM Version : 105 Compiled at Aug 24 2010, 21:49:54 CPLD Version : 74 Software Version : VRP (R) Software, Version 5.70 (S5700 V100R005C01) FANCARD information Pcb Version : FAN VER B PWRCARD I information Pcb Version : PWR VER A PWRCARD II information Pcb Version : PWR VER A [Quidway]http server load S5700EI-V100R005.002.web.zip Info: Load web file successfully. [Quidway] Jan 16 2012 10:34:43-05:13 Quidway DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011. 5.25.191.3.1 configurations have been changed. The current change number is 3, t he change loop count is 0, and the maximum number of records is 4095. [Quidway]http ser [Quidway]http server en [Quidway]http server enable Info: Starting the HTTP server successfully. [Quidway] Jan 16 2012 10:35:03-05:13 Quidway DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011. 5.25.191.3.1 configurations have been changed. The current change number is 4, t he change loop count is 0, and the maximum number of records is 4095. [Quidway]