华为5700配置

恢复出厂设置,清空配置

1、更改名字

system-view

sysname tp-10-50-01-04

2、配置管理接口

int vlan 1

ip add 10.50.1.4 255.255.254.0

quit

2、链路汇聚

interface eth-trunk 1

mode lacp

quit

3、绑定端口

interface eth-trunk 1

trunkport gigabitethernet 0/0/45 to 0/0/48

quit

3、telnet

telnet server enable

4、http

http server enable

5、acl

acl 2000

rule permit source 10.50.1.253 0

rule permit source 10.50.1.252 0

quit

6、认证配置

user-interface vty 0 4

authentication-mode aaa

quit

aaa

local-user admin password irreversible-cipher *123

local-user admin service-type http telnet terminal web

local-user admin privilege level 15

quit

acl 2000

rule permit source 10.50.1.253 0

rule permit source 10.50.1.252 0

quit

user-interface vty 0 4

acl 2000 inbound

quit

user-interface vty 0 4

authentication-mode aaa

protocol inbound all

6、登录测试

查看配置

相关推荐
精神病不行计算机不上班4 分钟前
【计网】计算机网络的类别与性能
网络·计算机网络
我学上瘾了9 分钟前
链表反转_leedcodeP206
网络·redis·链表
识途老码1 小时前
什么是单臂路由
运维·服务器·网络·单臂路由
Linux运维老纪1 小时前
Ansible 铸就 Linux 安全之盾(Ansible Builds Linux Security Shield)
linux·服务器·网络·安全·云计算·ansible·运维开发
whoarethenext2 小时前
c网络库libevent的http常用函数的使用(附带源码)
网络·c++·http·libevent
尘世中迷途小码农2 小时前
使用O_DIRECT + 批量写数据到磁盘对丢包率的优化
网络
hellojackjiang20112 小时前
全平台开源即时通讯IM框架MobileIMSDK:7端+TCP/UDP/WebSocket协议,鸿蒙NEXT端已发布,5.7K Stars
网络·harmonyos·即时通讯·im开发
HeLLo_a1194 小时前
第11章 安全网络架构和组件(一)
linux·服务器·网络
薯条不要番茄酱4 小时前
【网络原理】从零开始深入理解HTTP的报文格式(一)
网络·网络协议·http
南川琼语4 小时前
TCP概念+模拟tcp服务器及客户端
linux·服务器·网络·tcp/ip