英语翻译# sysname I_Nan_2_3026 # super password level 1 simple huawei super password level 2 simple huawei super password level 3 simple huawei # radius scheme system server-type huawei primary authentication 127.0.0.1 1645 primary accounting 127
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 05:18:11
英语翻译# sysname I_Nan_2_3026 # super password level 1 simple huawei super password level 2 simple huawei super password level 3 simple huawei # radius scheme system server-type huawei primary authentication 127.0.0.1 1645 primary accounting 127
英语翻译
#
sysname I_Nan_2_3026
#
super password level 1 simple huawei
super password level 2 simple huawei
super password level 3 simple huawei
#
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
#
am enable
#
vlan 1
#
vlan 557
#
vlan 558
description xs-s5-l2-s(3026)
#
vlan 559
#
vlan 1100
#
interface Vlan-interface1
ip address 10.61.1.159 255.255.255.0
#
interface Aux0/0
#
interface Ethernet0/24
port link-type trunk
port trunk permit vlan 1 557 to 558 110
broadcast-suppression 20
#
interface GigabitEthernet2/1
duplex full
speed 1000
port link-type trunk
port trunk permit vlan 1 558 1100
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 10.61.1.151 preference 60
#
snmp-agent
snmp-agent local-engineid 800007DB00E0FC6608AA6877
snmp-agent sys-info location BeiJing China
#
user-interface aux 0
user-interface vty 0 4
set authentication password simple huawei
#
return
英语翻译# sysname I_Nan_2_3026 # super password level 1 simple huawei super password level 2 simple huawei super password level 3 simple huawei # radius scheme system server-type huawei primary authentication 127.0.0.1 1645 primary accounting 127
sysname I_Nan_2_3026
配置主机名称
#
super password level 1 simple huawei
super password level 2 simple huawei
super password level 3 simple huawei
设置超级密码,用户级别1~3
# ------------------一下是华为交换机固有的,用不到的话不用理会
radius scheme system
配置RADIUS方案
server-type huawei
RADIUS服务器类型
primary authentication 127.0.0.1 1645
配置HWTACACE认证服务器
primary accounting 127.0.0.1 1646
配置HWTACACS主计费服务器
user-name-format without-domain
给TACACS服务器用户名不带域名
domain system
radius-scheme system
access-limit disable
不限制数量
state active
域用户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
# 设置接入服务器nas-ip地址 密码huawei
#
temperature-limit 0 42 65
#
am enable
#
vlan 1
# ----------截止到此
vlan 557
#
vlan 558 ----配置vlan和描述信息
description xs-s5-l2-s(3026)
#
vlan 559
#
vlan 1100
#
interface Vlan-interface1 ---vlan1进行配置接口地址
ip address 10.61.1.159 255.255.255.0
#
interface Aux0/0
#
interface Ethernet0/24 配置接口类型,和允许的vlan号
port link-type trunk
port trunk permit vlan 1 557 to 558 110
------------valn1是默认的 实际允许通过的是557 558 1100
broadcast-suppression 20 ----广播抑制比为20
#
interface GigabitEthernet2/1
duplex full 全双工
speed 1000 速率1000
port link-type trunk
port trunk permit vlan 1 558 1100
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 10.61.1.151 preference 60 静态路由 优先级默默认就是60
#
snmp-agent
snmp-agent local-engineid 800007DB00E0FC6608AA6877
snmp-agent sys-info location BeiJing China 华为默认信息 用于监控的
#
user-interface aux 0
user-interface vty 0 4
set authentication password simple huawei 进入交换机的初级密码 没这个,你是telnet不了交换机 的
#
return