admin管理员组

文章数量:1532712


2024年6月1日发(作者:)

华为s5720-48交换机配置

华为s5720-48交换机配置dis cu

!Software Version V200R010C00SPC600

#

sysname S572048

#

vlan batch 10 100

#

authentication-profile name default_authen_profile authentication-profile name dot1x_authen_profile authentication-profile

name mac_authen_profile authentication-profile name portal_authen_profile authentication-profile name

dot1xmac_authen_profile authentication-profile name multi_authen_profile

#

dhcp enable

#

radius-server template default

#

free-rule-template name default_free_rule

#

portal-access-profile name portal_access_profile

#

aaa

authentication-scheme default

authentication-scheme radius

authentication-mode radius

authorization-scheme default

accounting-scheme default

local-aaa-user password policy administrator

password expire 0

domain default

authentication-scheme radius

radius-server default

domain default_admin

authentication-scheme default

local-user admin password irreversible-cipher $1a$M%I/M!PQFR$]|[KXug2w.)5"e-~fH_,[$}|3`6,)tj`$$

local-user admin privilege level 15

local-user admin service-type terminal http

#

interface Vlanif1

#

interface Vlanif10

ip address 192.168.10.254 255.255.255.0 dhcp select relay

dhcp relay server-ip 192.168.0.1

#

interface Vlanif100

ip address 192.168.0.254 255.255.255.0 dhcp select interface

dhcp select relay

dhcp relay server-ip 192.168.0.1

#

interface GigabitEthernet0/0/1

port link-type trunk

port trunk allow-pass vlan 10 100

#

interface GigabitEthernet0/0/2

port link-type trunk

port trunk allow-pass vlan 10 100

#

interface GigabitEthernet0/0/3

port link-type access

port default vlan 10

#

interface GigabitEthernet0/0/4 port link-type access

port default vlan 10

#

interface GigabitEthernet0/0/5 port link-type access

port default vlan 10

#

interface GigabitEthernet0/0/6 port link-type access

port default vlan 10

#

interface GigabitEthernet0/0/7 port link-type access


本文标签: 配置交换机