CLI Configuration(Trunk Mode):
This part is to demonstrate how to change Management VLAN 15 into VLAN 20 on specified ports
under Trunk mode. Supposed that we have the existing Management VLAN 15 on Port
45,46,47,48 and CPU, we can create new Management VLAN 20 as required.
1. Change the Management VLAN 15 into VLAN 20 that includes Port 45, 46, 47
under Trunk mode.
1. Enter Global Configuration
mode.
Switch> enable
Password:
Switch# configure
Switch(config)#
2. Assign VLAN 20 to
Management VLAN and Port
45-47 to Management port.
Switch(config)# vlan management-vlan 20
management-port 45-47 mode trunk
OK !
NOTE: Make sure you have correct
management VLAN and VLAN mode
configurations, otherwise, incorrect
configurations may disconnect your
management PC to the Managed Switch
immediately when you enter the command.
3. Show currently configured
dot1q settings and check
CPU has been a member
port in Management VLAN
20.
Switch(config)# show vlan dot1q-vlan tag-vlan
=============================================================
Configure Trunk VLAN :
=============================================================
CPU VLAN ID : 20
Management Priority : 0
VLAN Name VLAN 1 8 41 48 CPU
-------------- ---- -------- -------- ---
Default_VLAN 1 VVVVVVVV ….. VVVV---- -
13 -------- -------V -
14 -------- ----V--V -
15 -------- ----VVVV -
16 -------- ----VVVV -
17 -------- ----VVVV -
18 -------- ----VVVV -
19 -------- ----VVVV -
20 -------- ----VVV- V