EasyManua.ls Logo

Quanta Cloud Technology QuantaMesh QNOS5

Quanta Cloud Technology QuantaMesh QNOS5
256 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
62
3.1.4.1. Configuring the VLANs and Ports on Switch 1
Use the following steps to configure the VLANs and ports on Switch 1. None of the hosts that connect to
Switch
1 use the Engineering VLAN (VLAN 100), so it is not necessary to create it on that switch. To configure Switch
1:
1. Create VLANs 200 (Marketing), 300 (Payroll), and associate the VLAN ID with the appropriate name.
(QCT) (Config)#vlan database
(QCT) (Vlan)#vlan 200,300
(QCT) (Vlan)#vlan name 200 Marketing (QCT) (Vlan)#vlan name 300 Payroll
(QCT) (Vlan)#exit
2. Assign ports 1620 to the Marketing VLAN.
(QCT) #configure
(QCT) (Config)#interface range 0/16-0/20
(QCT) (Interface 0/16-0/20)#switchport allowed vlan add 200
(QCT) (Interface 0/16-0/20)#switchport native vlan 200
(QCT) (Interface 0/16-0/20)#exit
3. Assign ports 215 to the Payroll VLAN
(QCT) (Config)#interface range 0/2-0/15
(QCT) (Interface 0/2-0/15)#switchport allowed vlan add 300
(QCT) (Interface 0/2-0/15)#switchport native vlan 300
(QCT) (Interface 0/2-0/15)#exit
4. Assign Port-channel1 to the Payroll VLAN and configure the frames to always be transmitted tagged with
a PVID of 300.
(QCT) (Config)#interface port-channel 1
(QCT) (if-port-channel ch1)#switchport allowed vlan add tagged 300
(QCT) (if-port-channel ch1)#switchport native vlan 300
(QCT) (if-port-channel ch1)#exit
5. Configure port 1 as a trunk port and add VLAN 200 and VLAN 300 as members. Trunk ports accept and
transmits tagged frames only and have ingress filtering enabled.
(QCT) (Config)#interface 0/1
(QCT) (Interface 0/1)#switchport acceptable-frame-types tagged
(QCT) (Interface 0/1)#switchport allowed vlan add tagged 200,300
(QCT) (Interface 0/1)#switchport ingress-filtering
(QCT) (Interface 0/1)#exit
(QCT) (Config)#exit

Table of Contents