配置如下:
[H3C]dis cu
#
version 5.20, Release 2222P10
#
sysname H3C
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
#
domain default enable system
#
password-recovery enable
#
vlan 1
#
vlan 10
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
group-attribute allow-guest
#
local-user celanyhsj
password cipher $c$3$bNTkpTd77G2Z+tqnilZbSTdciv2KaVGeNxUV9Q==
authorization-attribute level 3
service-type web
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.1.199 255.255.255.0
#
interface GigabitEthernet1/0/1
port access vlan 10
dhcp-snooping trust
#
interface GigabitEthernet1/0/2
port access vlan 10
#
interface GigabitEthernet1/0/3
port access vlan 10
#
interface GigabitEthernet1/0/4
port access vlan 10
#
interface GigabitEthernet1/0/5
port access vlan 10
#
interface GigabitEthernet1/0/6
port access vlan 10
#
interface GigabitEthernet1/0/7
port access vlan 10
#
interface GigabitEthernet1/0/8
port access vlan 10
#
interface GigabitEthernet1/0/9
port access vlan 10
#
interface GigabitEthernet1/0/10
port access vlan 10
#
interface GigabitEthernet1/0/11
port access vlan 10
#
interface GigabitEthernet1/0/12
port access vlan 10
#
interface GigabitEthernet1/0/13
port access vlan 10
#
interface GigabitEthernet1/0/14
port access vlan 10
#
interface GigabitEthernet1/0/15
port access vlan 10
#
interface GigabitEthernet1/0/16
port access vlan 10
#
interface GigabitEthernet1/0/17
port access vlan 10
#
interface GigabitEthernet1/0/18
port access vlan 10
#
interface GigabitEthernet1/0/19
port access vlan 10
#
interface GigabitEthernet1/0/20
port access vlan 10
#
interface GigabitEthernet1/0/21
port access vlan 10
#
interface GigabitEthernet1/0/22
port access vlan 10
#
interface GigabitEthernet1/0/23
port access vlan 10
#
interface GigabitEthernet1/0/24
port access vlan 10
#
interface GigabitEthernet1/0/25
port access vlan 10
#
interface GigabitEthernet1/0/26
port access vlan 10
#
interface GigabitEthernet1/0/27
port access vlan 10
#
interface GigabitEthernet1/0/28
port access vlan 10
#
interface GigabitEthernet1/0/29
port access vlan 10
#
interface GigabitEthernet1/0/30
port access vlan 10
#
interface GigabitEthernet1/0/31
port access vlan 10
#
interface GigabitEthernet1/0/32
port access vlan 10
#
interface GigabitEthernet1/0/33
port access vlan 10
#
interface GigabitEthernet1/0/34
port access vlan 10
#
interface GigabitEthernet1/0/35
port access vlan 10
#
interface GigabitEthernet1/0/36
port access vlan 10
#
interface GigabitEthernet1/0/37
port access vlan 10
#
interface GigabitEthernet1/0/38
port access vlan 10
#
interface GigabitEthernet1/0/39
port access vlan 10
#
interface GigabitEthernet1/0/40
port access vlan 10
#
interface GigabitEthernet1/0/41
port access vlan 10
#
interface GigabitEthernet1/0/42
port access vlan 10
#
interface GigabitEthernet1/0/43
port access vlan 10
#
interface GigabitEthernet1/0/44
port access vlan 10
#
interface GigabitEthernet1/0/45
port access vlan 10
#
interface GigabitEthernet1/0/46
port access vlan 10
#
interface GigabitEthernet1/0/47
port access vlan 10
#
interface GigabitEthernet1/0/48
port access vlan 10
#
interface GigabitEthernet1/0/49
shutdown
#
interface GigabitEthernet1/0/50
shutdown
#
interface GigabitEthernet1/0/51
shutdown
#
interface GigabitEthernet1/0/52
shutdown
#
dhcp-snooping
#
load xml-configuration
#
user-interface aux 0
user-interface vty 0 15
#
return
PC接在交换机的1/0/2口,PC获取了IP为192.168.1.58
交换机配置了DHCP SNOOPING,1/0/1为信任端口
(1)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论