Author: Ye Lan╭
The equipment used in this experiment is a Digital China CS6200 and a CRL1000
First make sure the device doesn't have any configuration
1. First create two VLANs I created here are 10 and 100
CS6200(config)#vlan 10;100 (Add this; punctuation to create multiple VLANs at once, or create them one by one)
2. After creation, add the management port and service port of the cloud platform to the VLAN respectively (the cloud platform generally manages the upper business and lower management CRL1000, which is left to manage the right business)
CS6200(config)#vlan 100
CS6200(config-vlan100)#switchport interface ethernet 1/0/1-2 (at least two ports are assigned to the management port, one for the cloud platform and one for the computer)
CS6200(config)#vlan 10
CS6200(config-vlan10)#switchport interface ethernet 1/0/10 (I choose port 10 for better business identification)
3. Configure the IP address of the VLAN
CS6200(config)#int vlan 100
CS6200(config-if-vlan100)#ip add 192.168.100.1 255.255.255.0
CS6200(config)#int vlan 10
CS6200(config-if-vlan100)#ip add 192.168.10.1 255.255.255.0
4. Configure the instance network segment required by the cloud platform
CS6200(config)#vlan 70 (This VLAN can be set up casually, I get 70 to mean it is a 70 network segment)
CS6200(config-vlan70)#int vlan 70
CS6200(config-if-vlan70)#ip add 10.10.70.254 255.255.255.0
5. It is not possible to communicate with the instance now, and the service port needs to allow all VLANs to pass through
CS6200(config)#interface ethernet 1/0/10
CS6200(config-if-ethernet1/0/10)#switchport mode trunk
CS6200(config-if-ethernet1/0/10)#switchport trunk allowed vlan all (Allow all VLANs to pass through)
6. Check the status to see if the interface communicates
CS6200(config)#show ip interface brief
Index Interface IP-Address Protocol
11010 Vlan10 192.168.10.1 up
11070 Vlan70 10.10.70.254 up
11100 Vlan100 192.168.100.1 up
17500 Loopback 127.0.0.1 up
(up stands for pass down n stands for no pass)