当前位置:文档之家› H3C-ARP绑定+QOS限速

H3C-ARP绑定+QOS限速

[H3C]dis cu
[H3C]dis current-configuration
#
version 5.20, Release 5116P17
#
sysname H3C
#
undo voice vlan mac-address 00e0-bb00-0000
#
domain default enable system
#
telnet server enable
#
qos carl 1 source-ip-address range 192.168.1.8 to 192.168.1.10 per-address
qos carl 2 destination-ip-address range 192.168.1.8 to 192.168.1.10 per-address
qos carl 3 source-ip-address range 192.168.1.11 to 192.168.1.31 per-address
qos carl 4 destination-ip-address range 192.168.1.11 to 192.168.1.31 per-address
qos carl 5 source-ip-address range 192.168.1.32 to 192.168.1.52 per-address
qos carl 6 destination-ip-address range 192.168.1.32 to 192.168.1.52 per-address
qos carl 7 source-ip-address range 192.168.1.53 to 192.168.1.254 per-address
qos carl 8 destination-ip-address range 192.168.1.53 to 192.168.1.254 per-address
#
acl number 2000
rule 0 permit
#
vlan 1
#
radius scheme system
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
pki domain default
crl check disable
#
user-group system
#
local-user admin
password simple 159357
authorization-attribute level 3
service-type telnet
#
interface NULL0
#
interface Vlan-interface1
#
interface GigabitEthernet0/0
port link-mode route
ip address 192.168.0.1 255.255.255.0
#
interface GigabitEthernet0/1
port link-mode route
nat outbound 2000
ip address dhcp-alloc
#
interface GigabitEthernet0/2
port link-mode route
ip address 192.168.1.1 255.255.255.0
qos car inbound carl 1 cir 512 cbs 32000 ebs 0 green pass red discard
qos car inbound carl 3 cir 256 cbs 16000 ebs 0 green pass red discard
qos car inbound carl 5 cir 128 cbs 8000 ebs 0 green pass red discard
qos car inbound carl 7 cir 64 cbs 4000 ebs 0 green pass red discard
qos car outbound carl 6 cir 256 cbs 16000 ebs 0 green pass red discard
qos car outbound carl 2 cir 1024 cbs 64000 ebs 0 green pass red discard
qos car outbound carl 4 cir 512 cbs 32000 ebs 0 green pass red discard
qos car outbound carl 8 cir 128 cbs 8000 ebs 0 green pass red discard
arp max-learning-num 0
arp send-gratuitous-arp interval 2000
#
interface GigabitEthernet0/3
port link-mode route
#
interface GigabitEthernet0/4
port link-mode route
#
ip route-static 0.0.0.0 0.0.0.0 GigabitEthernet0/1 121.229.89.1
#
arp static 192.168.1.64 001e-607e-585f
arp static 192.168.1.110 00e1-0c36-2832
arp static 192.168.1.130 5c63-bf88-ec60
arp static 192.168.1.76 0023-7dbc-20bf
arp static 192.168.1.92 00e0-4c3e-d0f3
arp static 192.168.1.22 001d-6062-dfdd
arp static 192.168.1.74 0026-2254-88b3
arp static 192.168.1.75 f0de-f1b2-a8ff
arp static 192.168.1.98 001d-6062-dfb1
arp static 192.168.1.87 001f-29a8-8b83
arp static 192.168.1.77 b870-f428-f575
arp static 192.168.1.59 eca8-6b6d-fe97
arp static 192.168.1.56 eca8-6b6d-ff69
arp static 192.168.1.62 001d-607e-2e32
arp static 192.168.1.2

9 0024-8195-024d
arp static 192.168.1.69 001d-6062-dfc6
arp static 192.168.1.31 001d-607e-2de2
arp static 192.168.1.10 c89c-dc6a-41a1
arp static 192.168.1.9 c89c-dc6a-53cd
arp static 192.168.1.79 001f-d0dd-0222
arp static 192.168.1.47 001d-6062-df89
arp static 192.168.1.37 0016-36fd-eb5c
arp static 192.168.1.89 001d-607e-2dd4
arp static 192.168.1.72 001d-6062-dfad
arp static 192.168.1.70 001d-6063-59cf
arp static 192.168.1.11 c89c-dc6c-b9f6
arp static 192.168.1.68 00e0-4c36-117b
arp static 192.168.1.51 eca8-6b6d-9f2f
arp static 192.168.1.36 0023-7dbc-20c3
arp static 192.168.1.19 c89c-dc6a-5460
arp static 192.168.1.48 eca8-6b6d-ff68
arp static 192.168.1.2 0023-7dbc-21cb
arp static 192.168.1.38 001d-6062-dfd9
arp static 192.168.1.23 001d-60c7-a2d3
arp static 192.168.1.113 001d-607e-2f3c
arp static 192.168.1.27 001d-6062-df35
arp static 192.168.1.26 eca8-6b6d-fe96
arp static 192.168.1.28 001d-6062-dfbd
arp static 192.168.1.119 001d-6061-eb49
arp static 192.168.1.24 0011-5b75-4812
arp static 192.168.1.86 001a-80ee-f9ac
arp static 192.168.1.52 eca8-6b6d-9cd4
arp static 192.168.1.61 001d-6062-dfc0
arp static 192.168.1.40 001d-6062-df7e
arp static 192.168.1.20 001d-6062-dfa8
arp static 192.168.1.57 001b-fcc0-3b88
arp static 192.168.1.30 001d-6062-df86
arp static 192.168.1.16 eca8-6b6d-9d27
arp static 192.168.1.116 eca8-6b6d-9eca
arp static 192.168.1.55 001b-fcc0-376f
arp static 192.168.1.5 001d-6062-dfb9
arp static 192.168.1.58 eca8-6b6d-9e88
arp static 192.168.1.34 eca8-6b6d-9c4d
arp static 192.168.1.82 001d-607e-59bc
arp static 192.168.1.3 00e0-8126-ea89
arp static 192.168.1.71 0016-d3b3-bbaf
arp static 192.168.1.39 0003-9d75-62da
arp static 192.168.1.12 001d-607e-5856
arp static 192.168.1.90 001b-fcc0-320f
arp static 192.168.1.6 a0b3-ccfc-de8e
arp static 192.168.1.60 0024-8195-1361
arp static 192.168.1.4 001d-7d3d-b0f0
arp static 192.168.1.50 0024-8195-0359
arp static 192.168.1.33 0014-2a2a-72d2
arp static 192.168.1.41 eca8-6b6d-9f2e
arp static 192.168.1.105 eca8-6b6d-9ccc
arp static 192.168.1.101 001d-6061-eb74
arp static 192.168.1.13 001e-8cd8-d3e4
arp static 192.168.1.44 001d-607e-585f
arp static 192.168.1.45 0023-7dbc-228b
arp static 192.168.1.106 eca8-6b6d-9f1d
arp static 192.168.1.84 eca8-6b6d-ff63
arp static 192.168.1.78 001d-607e-5bda
arp static 192.168.1.109 eca8-6b6d-9f23
arp static 192.168.1.49 0019-e007-a8b5
arp static 192.168.1.114 001d-6061-eb64
arp static 192.168.1.103 0023-7dbc-21b7
arp static 192.168.1.112 001d-6048-6829
arp static 192.168.1.73 001d-6062-dfba
arp static 192.168.1.108 001d-607e-2d29
arp static 192.168.1.14 001d-607e-2f46
arp static 192.168.1.21 001d-6062-dfc2
arp static 192.168.1.85 001d-6061-eb72
arp static 192.168.1.93 001b-fcc0-31ef
arp static 192.168.1.54 eca8-6b6d-ffa2
arp static 192.168.1.102 0011-5b71-9940
arp static 192.168.1.46 eca8-6b6d-9f1c
arp static 192.168.1.35

001d-6062-dfd8
arp static 192.168.1.91 0013-d42e-6ebd
arp static 192.168.1.117 00e1-0c36-2832
arp static 192.168.1.83 001f-e20c-058d
arp static 192.168.1.104 0024-5471-d8d4
arp static 192.168.1.81 001d-6048-687c
arp static 192.168.1.118 0024-8195-02b6
arp static 192.168.1.94 eca8-6b6d-9fa2
arp static 192.168.1.43 eca8-6b6d-9e77
arp static 192.168.1.17 001d-6062-dfd1
arp static 192.168.1.80 001d-6062-df21
arp static 192.168.1.32 0023-7dbc-221f
arp static 192.168.1.53 0026-6c59-2286
arp static 192.168.1.8 c89c-dc6a-553a
arp static 192.168.1.25 001d-ba78-0a09
arp static 192.168.1.95 001d-6062-df9d
arp static 192.168.1.15 001d-6048-6863
arp static 192.168.1.18 001d-607e-5bea
#
load xml-configuration
#
load tr069-configuration
#
user-interface con 0
user-interface vty 0 4
authentication-mode scheme
set authentication password simple 159357
#
return


arp绑定注意

int g 1/0/2

undo arp max-learning-num 开启

int g 1/0/2 arp max-learning-numb 0 关闭

arp static 192.168.1.23 1111-1111-1111

如果其他人使用,是无法上网的。



相关主题
文本预览
相关文档 最新文档