基于接口划分VLAN:静态VLAN【未完善】


基于接口划分VLAN:静态VLAN:

...

The device is running!




sys
Enter system view, return user view with Ctrl+Z.
[Huawei]
[Huawei]
[Huawei]sysname Switch1
[Switch1]
[Switch1]
[Switch1]
[Switch1]vla
Jun 21 2022 19:27:28-08:00 Switch1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.
5.25.191.3.1 configurations have been changed. The current change number is 4, t
he change loop count is 0, and the maximum number of records is 4095.n 
              ^
Error:Incomplete command found at '^' position.
[Switch1]
[Switch1]
[Switch1]
[Switch1]
[Switch1]
[Switch1]un in en
Info: Information center is disabled.
[Switch1]
[Switch1]
[Switch1]
[Switch1]
[Switch1]vlan ba	
[Switch1]vlan batch 2
Info: This operation may take a few seconds. Please wait for a moment...done.
[Switch1]
[Switch1]
[Switch1]
[Switch1]
[Switch1]int giga	
[Switch1]int GigabitEthernet 0/0/1
[Switch1-GigabitEthernet0/0/1]
[Switch1-GigabitEthernet0/0/1]
[Switch1-GigabitEthernet0/0/1]
[Switch1-GigabitEthernet0/0/1]port link-t	
[Switch1-GigabitEthernet0/0/1]port link-type acc	
[Switch1-GigabitEthernet0/0/1]port link-type access 
[Switch1-GigabitEthernet0/0/1]
[Switch1-GigabitEthernet0/0/1]
[Switch1-GigabitEthernet0/0/1]
[Switch1-GigabitEthernet0/0/1]port defa	
[Switch1-GigabitEthernet0/0/1]port default vla	
[Switch1-GigabitEthernet0/0/1]port default vlan 2
[Switch1-GigabitEthernet0/0/1]
[Switch1-GigabitEthernet0/0/1]
[Switch1-GigabitEthernet0/0/1]
[Switch1-GigabitEthernet0/0/1]quit
[Switch1]
[Switch1]
[Switch1]
[Switch1]int g0/0/2
[Switch1-GigabitEthernet0/0/2]
[Switch1-GigabitEthernet0/0/2]
[Switch1-GigabitEthernet0/0/2]
[Switch1-GigabitEthernet0/0/2]port link-ty	
[Switch1-GigabitEthernet0/0/2]port link-type trunk
[Switch1-GigabitEthernet0/0/2]
[Switch1-GigabitEthernet0/0/2]
[Switch1-GigabitEthernet0/0/2]
[Switch1-GigabitEthernet0/0/2]
[Switch1-GigabitEthernet0/0/2]port tr	
[Switch1-GigabitEthernet0/0/2]port trunk allow-pa	
[Switch1-GigabitEthernet0/0/2]port trunk allow-pass vl	
[Switch1-GigabitEthernet0/0/2]port trunk allow-pass vlan 2
[Switch1-GigabitEthernet0/0/2]
[Switch1-GigabitEthernet0/0/2]
[Switch1-GigabitEthernet0/0/2]
[Switch1-GigabitEthernet0/0/2]
[Switch1-GigabitEthernet0/0/2]quit
[Switch1]
[Switch1]
[Switch1]

请忽略以下的内容

4.1 首次登陆系统

登陆系统有这么难吗?并不难啊!虽然说是这样说,然而很多人第一次登陆 Linux的感觉都是“接下来我要干啥?”如果是以图形接口登陆的话,或许还有很多好玩的 事物, 但要是以命令行登陆的话,面对着一片黑压压的屏幕,还真不晓得要干嘛呢! 为了让大家更了解如何正确的使用Linux, 正确的登陆与离开系统还是需要说明的!

4.1.1 首次登陆CentOS 7.x图形接口

开机就开机呀!怎么还有所谓的登陆与离开呀?不是开机就能够用计算机了吗? 开什么玩笑,在Linux系统中由于是多用户多任务的环境,所以系统随时都有很多不同 的用户所下达的任务在进行, 因此正确的开关机可是很重要的!不正常的关机可能会 导致文件系统错乱,造成数据的毁损呢!这也是为什么通常我们的Linux主机都会加挂 一个不断电系统啰!

如果在第三章一切都顺利的将CentOS 7.x完成安装并且重新开机后, 应该就会出 现如下的等待登陆的图形画面才对。画面中1号箭头显示目前的日期与时间,2号箭头则 是辅助功能、语系、音量与关机钮, 3号箭头就是我们可以使用帐号登陆的输入框框, 至于4号箭头则是在使用特别的帐号登陆时才会用到的按钮。