Cloud computing 7.14

telent configuration

常用命令
interface Ethernet 0/0
ip address 1.1.1.4 255.0.0.0
User-interface vty 0 4
authentication-mode password
set authentication password simple xxx
user privilege level3

Exit system interface diagram

The user enters the system system-view
system enters the user quit
any interface enters the user interface return

vlan: virtual local area network

VLAN is to isolate the
an advantage of the broadcast domain from the logical level : Isolate the broadcast domain, safe and easy to manage.
Vlan division method: port-based division, MAC-based division.
Switch interface link types are: access, trunk, and hybird
access. Interface features: Yes It can only belong to one VLAN
trunk interface. Features: It can carry the traffic of multiple VLANs.
VLAN encapsulation protocol: 802.1q

VLAN Trunk

VLAN trunk: For multiple VLAN switches, the VLAN trunk is the connection between two switches. It transmits communication between two or more VLANs.
access: Any interface of a switch must belong to only one VLAN.

  1. Create VLAN format
    vlan batch 2 3
    Cisco trunk releases all traffic by default. Do not release needs to be set. Trunk does not belong.
    Huawei does not release all traffic by default. Release needs to be set. Huawei trunk belongs to vlan1. Trunk releases vlan1 by default, which can be closed manually.

Guess you like

Origin blog.csdn.net/qyf158236/article/details/107350757