<3FN2>displaycurrent-configur#!SoftwareVersionV100R005C01Ssysname3FN2#vlanbatch10100254#clusterenablentdpenablentdphop16ndpenable#dhcpenabledhcpsnoopingenable#undohttpser...
<3FN2>display current-configur
#
!Software Version V100R005C01S
sysname 3FN2
#
vlan batch 10 100 254
#
cluster enable
ntdp enable
ntdp hop 16
ndp enable
#
dhcp enable
dhcp snooping enable
#
undo http server enable
#
drop illegal-mac alarm
#
vlan 254
description M-vlan
#
aaa
authentication-scheme default
<3FN2>display current-configur
#
!Software Version V100R005C01S
sysname 3FN2
#
vlan batch 10 100 254
#
cluster enable
ntdp enable
ntdp hop 16
ndp enable
#
dhcp enable
dhcp snooping enable
#
undo http server enable
#
drop illegal-mac alarm
#
vlan 254
description M-vlan
#
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
local-user tadmin password simple huawei
local-user tadmin privilege level 15
local-user tadmin service-type telnet terminal
nterface Vlanif1
nterface Vlanif10
nterface Vlanif254
ip address 192.168.254.7 255.255.255.0
nterface MEth0/0/1
nterface GigabitEthernet0/0/1
port link-type access
port default vlan 10
ntdp enable
ntdp enable
ndp enable
bpdu enable
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 10
ntdp enable
ndp enable
bpdu enable
~~~~~~~~~~~~~~~~~ 以下47口同样配置
#
interface GigabitEthernet0/0/48
port link-type trunk
port trunk allow-pass vlan 2 to 4094
ntdp enable
ndp enable
bpdu enable
dhcp snooping enable
dhcp snooping trusted
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 192.168.254.254
#
snmp-agent
snmp-agent local-engineid 000007DB7F0000010000497
snmp-agent sys-info version v3
#
user-interface con 0
idle-timeout 0 0
ser-interface vty 0 4
authentication-mode aaa
port-group 0
group-member GigabitEthernet0/0/1
group-member GigabitEthernet0/0/2
直到48口
return
展开