122[SwitchA] interface vlan-interface 5[SwitchA-Vlan-interface5] ip address 192.168.0.10 24[SwitchA-Vlan-interface5] quit# Create VLAN-interface 10 and configure its IP address as 192.168.1.20/24.[SwitchA] interface vlan-interface 10[SwitchA-Vlan-interface10] ip address 192.168.1.20 24[SwitchA-Vlan-interface10] return2. Configure the default gateway of PC A as 192.168.0.10.3. Configure the default gateway of PC B as 192.168.1.20.Verifying the configurations1. The PCs can ping each other.2. Display brief information about Layer 3 interfaces on Switch A to verify the configuration. display ip interface brief*down: administratively down(s): spoofingInterface Physical Protocol IP Address DescriptionVlan-interface5 up up 192.168.0.10 Vlan-inte...Vlan-interface10 up up 192.168.1.20 Vlan-inte...Configuring port-based VLANsIntroduction to port-based VLANPort-based VLANs group VLAN members by port. A port forwards traffic for a VLAN only after it isassigned to the VLAN.Port link typeYou can configure the link type of a port as access, trunk, or hybrid. The link types use the followingVLAN tag handling methods:• An access port belongs to only one VLAN and sends traffic untagged. It is usually used to connecta terminal device unable to identify VLAN tagged-packets or when separating different VLANmembers is unnecessary.• A trunk port can carry multiple VLANs to receive and send traffic for them. Except traffic from theport VLAN ID (PVID), traffic sent through a trunk port will be VLAN tagged. Usually, ports thatconnect network devices are configured as trunk ports.• Like a trunk port, a hybrid port can carry multiple VLANs to receive and send traffic for them. Unlikea trunk port, a hybrid port allows traffic of all VLANs to pass through VLAN untagged. You canconfigure a port connected to a network device or user terminal as a hybrid port.PVIDBy default, VLAN 1 is the PVID for all ports. You can configure the PVID for a port as required.When you configure the PVID on a port, use the following guidelines:• An access port can join only one VLAN. The VLAN to which the access port belongs is the PVID ofthe port.• A trunk or hybrid port can join multiple VLANs. You can configure a PVID for the port.