华为交换机配置方法
近期项目上线,需要配置华为楼层交换机。
一下是配置方法:
连接线连接好,开启交换机,安装好驱动:
【华为交换机配置方法】公网配置:
system-view--进入配置模式
需要修改的地方:主机名,网关IP地址
首次进入需要设置交换机密码:连续输入两次
然后sys
进入可配置模式
#需要修改下行为具体楼层编号
sysname slky06
#
vlan batch 220
#
igmp-snooping enable
multicast drop-unknown
#
vlan 220
igmp-snooping enable
igmp-snooping version 3
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher ovicnet123
local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif220
#需要修改下行为具体楼层IP地址
ip address 172.25.6.254 255.255.192.0
#
interface Ethernet0/0/1
port link-type access
port default vlan 220
#
interface Ethernet0/0/2
port link-type access
port default vlan 220
#
interface Ethernet0/0/3
port link-type access
port default vlan 220
#
interface Ethernet0/0/4
port link-type access
port default vlan 220
#
interface Ethernet0/0/5
port link-type access
port default vlan 220
#
interface Ethernet0/0/6
port link-type access
port default vlan 220
#
interface Ethernet0/0/7
port link-type access
port default vlan 220
#
interface Ethernet0/0/8
port link-type access
port default vlan 220
#
interface Ethernet0/0/9
port link-type access
port default vlan 220
#
interface Ethernet0/0/10
port link-type access
port default vlan 220
#
interface Ethernet0/0/11
port link-type access
port default vlan 220
#
interface Ethernet0/0/12
port link-type access
port default vlan 220
#
interface Ethernet0/0/13
port link-type access
port default vlan 220
#
interface Ethernet0/0/14
port link-type access
port default vlan 220
#
interface Ethernet0/0/15
port link-type access
port default vlan 220
#
interface Ethernet0/0/16
port link-type access
port default vlan 220
#
interface Ethernet0/0/17
port link-type access
port default vlan 220
#
interface Ethernet0/0/18
port link-type access
port default vlan 220
#
interface Ethernet0/0/19
port link-type access
port default vlan 220
#
interface Ethernet0/0/20
port link-type access
port default vlan 220
#
interface Ethernet0/0/21
port link-type access
port default vlan 220
#
interface Ethernet0/0/22
port link-type access
port default vlan 220
#
interface Ethernet0/0/23
port link-type access
port default vlan 220
#
interface Ethernet0/0/24
port link-type access
port default vlan 220
#
interface GigabitEthernet0/0/1
port hybrid pvid vlan 220
port hybrid untagged vlan 220 248 601
undo negotiation auto
#
interface GigabitEthernet0/0/2
port hybrid pvid vlan 220
port hybrid tagged vlan 220 248 601
l2-multicast static-group group-address 239.2.2.1 to 239.2.2.40 vlan 220
l2-multicast static-group group-address 239.2.2.51 to 239.2.2.52 vlan 220
undo negotiation auto
#
interface NULL0
#
user-interface con 0
authentication-mode password
user privilege level 15
set authentication password cipher ovicnet123
user-interface vty 0 4
authentication-mode password
user privilege level 15
set authentication password cipher ovicnet123
#
port-group 1
group-member Ethernet0/0/1
group-member Ethernet0/0/2
group-member Ethernet0/0/3
group-member Ethernet0/0/4
group-member Ethernet0/0/5
group-member Ethernet0/0/6
group-member Ethernet0/0/7
group-member Ethernet0/0/8
group-member Ethernet0/0/9
group-member Ethernet0/0/10
group-member Ethernet0/0/11
group-member Ethernet0/0/12
group-member Ethernet0/0/13
group-member Ethernet0/0/14
group-member Ethernet0/0/15
group-member Ethernet0/0/16
group-member Ethernet0/0/17
group-member Ethernet0/0/18
group-member Ethernet0/0/19
group-member Ethernet0/0/20
group-member Ethernet0/0/21
group-member Ethernet0/0/22
group-member Ethernet0/0/23
group-member Ethernet0/0/24
#
return
save----保存
转载于:https://blog.51cto.com/fangwei009/1751168
推荐阅读
- vue-cli|vue-cli 3.x vue.config.js 配置
- 华为旁!大社区、地铁新盘,佳兆业城市广场五期!
- 从战略性的角度可以配置股票
- 缓存有关的配置和属性
- Spring|Spring Boot 自动配置的原理、核心注解以及利用自动配置实现了自定义 Starter 组件
- 当荣耀V9把华为mate9的脸打得啪啪作响
- Vagrant|Vagrant (三) - 网络配置
- java|java b2b2c shop 多用户商城系统源码- config 修改配置
- CentOS7 阿里云镜像配置方法
- Python|Win10下 Python开发环境搭建(PyCharm + Anaconda) && 环境变量配置 && 常用工具安装配置