enable 华为交换机ntdp_以下是公司的华为交换机配置,请详细解释啊:

这篇博客展示了华为交换机的配置,包括启用NTDP,设定NDP和集群功能,配置VLAN,DHCP snooping,接口设置及静态路由等,确保网络连接和管理的安全与高效。
摘要由CSDN通过智能技术生成

<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

展开

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值