eNsp——Vlan

Please configure these devices so that:

  • Ports 1-10 of the Layer 2 switch are allocated to VLAN 100; ports 11-20 belong to VLAN 200.
  • PC1 and PC2 belong to VLAN 100 respectively; PC3 and PC4 belong to VLAN 200.
  • The network address of VLAN 100 is 100.100. Student ID. 0/24;
    the network address of VLAN 200 is 200.200. Student ID. 0/24.
  • The IP address of PC1 is 100.100. Student ID. 1
  • The IP address of PC2 is 100.100. Student ID. 2
  • The IP address of PC3 is 200.200. Student ID. 1
  • The IP address of PC4 is 200.200. Student ID. 2
  • After configuration, PC1, PC2, PC3, and PC4 can communicate with each other.

Full video operation (click here to jump to Bilibili)
eNspVlan program download

S5700

sys
vlan batch 100 200
port-group 1
group-member GigabitEthernet 0/0/1 GigabitEthernet 0/0/2
port link-type access
port default vlan 100
q
port-group 2
group-member GigabitEthernet 0/0/11 GigabitEthernet 0/0/12
port link-type access
port default vlan 200
q
interface VLANif 100
ip address 100.100.学号.254 255.255.255.0
q
interface VLANif 200
ip address 200.200.学号.254 255.255.255.0
q
q
save
y

Guess you like

Origin blog.csdn.net/GodOuO/article/details/108272413