Experimental relay link VLAN configuration

VLAN concepts and benefits

Split broadcast domains

(1) Physical segmentation: Router

(2) Logical Segmentation: dividing a plurality of VLAN on a switch, each VLAN is a broadcast domain.

VLAN technology

(1) Broadcast Control

(2) to enhance network security

(3) simplify network management

VLAN species

(2) static VLAN, Port-based static VLAN. VLAN may comprise a plurality of ports, one port can only belong to one VLAN

(2) a dynamic VLAN, MAC address-based VLAN dynamic

Static VLAN Configuration

The VLAN range of
Experimental relay link VLAN configuration
the step of configuring a static VLAN

(1) Create a VLAN

(2) is added to the ports of the switch corresponding to the VLAN

(3) Verify the VLAN configuration

(2) is added to the ports of the switch corresponding to the VLAN

(3) Verify VLAN configuration
to create a VLAN

Both methods create VLAN

(. 1) VLAN database configuration mode
Experimental relay link VLAN configuration
(2) Global Mode
Experimental relay link VLAN configuration
Experimental relay link VLAN configuration
simultaneously a plurality of ports to the VLAN Experimental relay link VLAN configuration
access link and relay link
access link: access terminal PC, data corresponding VLAN only run
relay link: access to other network devices (switches, routers, etc.), can run all the data VLAN

trunk command ...

Experimental relay link VLAN configuration
Experimental relay link VLAN configuration
Experimental relay link VLAN configuration
Experiments
in GNS3 simulator, according to the following topology, based on the switch sw1 and sw2 respectively VLAN10, VLAN20, the PC1, PC3 into VLAN10, the PC2, PC4 into VLAN20, interoperability and the PC1 and PC3, PC2, and PC34 exchange
Experimental relay link VLAN configuration
1 provided corresponding to the IP address of the PC
2, open sw1, sw2 and establish VLAN10, VLAN20, the corresponding computer port into sw1
Experimental relay link VLAN configuration
Experimental relay link VLAN configuration
. 3, connected sw1 and sw2 provided in the trunk link to create an interface
Experimental relay link VLAN configuration
Experimental relay link VLAN configuration
4, all the setting is completed, whether to use the ping command to test PC interoperability
Experimental relay link VLAN configurationPC1pingPC3 success
Experimental relay link VLAN configuration
PC2pingPC4 success

Guess you like

Origin blog.51cto.com/14557905/2444304