VLAN related experiment PT

1.MTU Vlan

  Divide the port occupied by each user and the uplink port into a separate VLAN

2.VLAN (port)

  1.>enable

  2.#vlan database

  3.(vlan)#vlan 10

  4.(config)#interface fastEthenet 0/1

  5.(config-if)#switchport mode access 

  6.(config-if)#switchport access vlan 10

3.VLAN(ip)

  1.>enable

  2.#vlan database

  3.(vlan)#vlan 10

  4.(config)#interface vlan 10

  5.(config-if)#ip add 10.0.0.255 255.255.255.0

4.VLAN (MAC)

  VMPS Management Policy Server (VLAN Management Policy Server, VMPS)

  When a frame arrives at the dynamic port, the switch queries the VMPS according to the source address of the frame to obtain the corresponding VLAN assignment.
  Cisco Packet Tracer cannot emulate
5. Multi-switch configuration VLAN
  1. Set the connection ports of the two switches to trunk mode
    1.>enable
    2.#conf t
    3.(config)#interface G 0/1 
    4.(config-if)#switchport mode trunk
    //View show interface G0/1 switchport
  2. Configure vlan on the two switches respectively
6.VTP
  VTP (VLAN Trunking Protocol): is a VLAN trunking protocol, also known as a virtual local area network trunk protocol. It is a Cisco proprietary protocol. The function is that more than a dozen switches are in the enterprise network, and the workload of configuring VLAN is heavy. You can use the VTP protocol to configure one switch as a VTP server, and the other switches are configured as VTP clients, so that they can automatically learn the VLAN information on the server.
7. ISL and 802.1Q
  trunk encapsulation protocol
  Modify the packaging protocol 
    encapsulation [isl/dot1q] vlan #
  Check
    show interface trunk
    show interface G 0/1 switchpoint
8. Turn on the Layer 3 switch routing function
  1. Configure vlan
  2.(config-if)#ip routing
   (config-if) #ip add gatewaymask
  3. The host is correctly set gateway , IP, mask

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325474241&siteId=291194637