ensp的一些基础知识

您所在的位置:网站首页 ensp中frsw是什么意思 ensp的一些基础知识

ensp的一些基础知识

2024-06-02 22:08| 来源: 网络整理| 查看: 265

                                用户模式 [ ]                                系统模式 system-view                            从用户模式进入系统模式 sysname                            修改名字 display version                        查看设备版本信息 display current-configuration                查看当前生效的配置 display this                            查看当前位置配置 display ip interface brief                    显示接口摘要信息 display ip routing-table                    查询路由器表信息 save                                保存命令(用户模式命令) display saved-configuration                查看当前保存 undo info-center enable                    关闭提示信息(系统模式) undo terminal monitor                     关闭提示信息(用户模式)

交换机和路由器命令 ctrl + c                停止当前命令的运行 ctrl + z                回到用户模式 quit                     退出,退回到上级 reboot                重启设备命令(用户模式命令) display clock            显示时间 language-mode Chinese        将提示信息变成中文(用户模式命令)

interface GigabitEthernet 0/0/0            进入接口模式 ip address 192.168.1.1 255.255.255.0        接口模式下配置IP undo ip address 192.168.1.2 24        删除命令方式

interface Vlanif 1                进入虚拟VLAN VLAN 10                    划分单个VLAN VLAN batch 20 to 30 (共 10 个)    批量划分VLAN VLAN batch 10 20 30 40 50        划分多个VLAN

将对应的接口加入到对应的 VLAN 中: 进入PC连接的相应端口:interface Eth 0/0/1 选择接口模式:port link-type access 分配到相应VLAN中:port default vlan 10

trunk 的配置

进入PC连接的相应端口:interface Eth 0/0/1 选择接口模式:port link-type trunk 分配到相应VLAN中:port trunk allow-pass vlan 10 20 30 (设置允许通过的VLAN)

设置密码登录(系统模式命令): user-interface consale 0                             先进入 ui authentication-mode password                     输入密码,使用密码登陆 set authentication password simple/cipher huawei         在当前配置文件中存储的明文/密文密码

 



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3