当前位置:网站首页>VLAN division based on interface: static VLAN [not perfect]

VLAN division based on interface: static VLAN [not perfect]

2022-06-21 21:26:00 lvhanghmm

Based on interface partition VLAN: static state VLAN:

image

...

The device is running!

<Huawei>
<Huawei>
<Huawei>
<Huawei>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]

Please ignore the following

4.1 First time landing system

Is it so difficult to log in to the system ? It's not hard ! Although I say so , However, many people log in for the first time Linux The feeling is “ What am I going to do next ?” If you log in with a graphical interface , There may be a lot of fun thing , But if you log in from the command line , Facing a dark screen , I really don't know what to do ! In order to let everyone know more about how to use Linux, The correct login and exit of the system still need to be explained !

4.1.1 First landing CentOS 7.x Graphic interface

Start the machine and start it ! How can there be so-called landing and leaving ? You can use the computer after you start it ? What a joke , stay Linux The system is a multi-user and multi task environment , So the system is different at any time The task assigned by the user of is in progress , So it is very important to switch the machine on and off correctly ! An abnormal shutdown may Cause file system disorder , Cause data damage ! That's why we usually Linux The host will be attached A power-off system !

If everything goes well in chapter three CentOS 7.x After the installation and reboot , There should be The following graphic screen waiting for login is correct . In the picture 1 The No. arrow shows the current date and time ,2 No. arrow rule It's an auxiliary function 、 Language family 、 Volume and shutdown button , 3 The No. arrow is the input box where we can log in with an account , as for 4 The No. arrow is a button only used when logging in with a special account .

原网站

版权声明
本文为[lvhanghmm]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206211942116350.html