www.vlan9.com 原创
<Quidway>sys
Enter system view, return to user view with Ctrl+Z.
[Quidway]dis cu
#
sysname Quidway
#
radius scheme system
server-type huawei
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
domain system
radius-scheme system
Access-limit disable
state active
vlan-assignment-mode integer
idle-cut disable
self-service-url disable
messenger time disable
domain default enable system
#
local-server nas-ip 127.0.0.1 key huawei
#
#
temperature-limit 0 42 65
#
acl number 2001
rule 0 permit
#
vlan 1
#
vlan 2
#
vlan 3
#
vlan 11
#
vlan 25
#
vlan 28
#
vlan 100
#
interface Vlan-interface100
description Wanguang_Vlan
ip address 172.16.30.31 255.255.255.0
#
interface Aux0/0
#
interface Ethernet0/1
port access vlan 3
#
interface Ethernet0/2
port access vlan 3
#
interface Ethernet0/3
port access vlan 3
#
更多的请看:http://www.QQread.com/windows/2003/index.Html
interface Ethernet0/4
port access vlan 3
#
interface Ethernet0/5
port access vlan 3
#
interface Ethernet0/6
port access vlan 3
#
interface Ethernet0/7
description hj_vod
port access vlan 28
traffic-limit inbound ip-group 2001 rule 0 30 //对端口进行限制。
#
interface Ethernet0/8
port access vlan 28
#
interface Ethernet0/9
port access vlan 28
#
interface Ethernet0/10
port access vlan 28
#
interface Ethernet0/11
port access vlan 28
#
interface Ethernet0/12
port access vlan 28
traffic-limit inbound ip-group 2001 rule 0 30
line-rate 30
#
interface Ethernet0/13
port access vlan 25
#
interface Ethernet0/14
port access vlan 25
#
interface Ethernet0/15
port access vlan 25
#
interface Ethernet0/16
port access vlan 25
#
interface Ethernet0/17
port access vlan 25
#
interface Ethernet0/18
port access vlan 25
traffic-limit inbound ip-group 2001 rule 0 30
#
interface Ethernet0/19
port access vlan 25
#
interface Ethernet0/20
port access vlan 28
#
interface Ethernet0/21
port access vlan 2
#
interface Ethernet0/22
port access vlan 2
#
interface Ethernet0/23
port access vlan 2
#
interface Ethernet0/24
port access vlan 28
#
interface GigabitEthernet1/1 //通过 Gi 口上联到
description Link-huawei5516-3/1
speed 1000
port link-type trunk
port trunk permit vlan 1 to 3 25 28 100
#
interface GigabitEthernet2/1
duplex full
speed 100
port access vlan 100
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 172.16.30.1 preference 60 网管地址
#
snmp-agent
snmp-agent local-engineid 800007DB00E0FC2B65C16877
snmp-agent community read public
snmp-agent community write private
snmp-agent community read gxdata_((!)
snmp-agent sys-info location BeiJing China
snmp-agent sys-info version all
snmp-agent trap enable standard
snmp-agent trap enable configuration
#
header login xxxxxxxx
#
user-interface aux 0
user-interface vty 0 4
acl 2000 inbound
user privilege level 3
www.vlan9.com 原创
#
return