Switching queries

in CCNA & CCENT
Configuring DHCP on a Switch 2960 and 3560 in Packet Tracer would
not work untill I gave the native vlan an IP , why is this ?
Changing the native vlan using command:
switchport native vlan vlan_id
(above command is not in packet tracer,
switchport command is not part of PT)
not work untill I gave the native vlan an IP , why is this ?
Changing the native vlan using command:
switchport native vlan vlan_id
(above command is not in packet tracer,
switchport command is not part of PT)
Comments
the concept of native VLANs can only be defined in case of trunk links.
You can change it interface config mode with the command switchport trunk native vlan <vlan number>.
I hope that helped.
Switch(config-if)#switchport trunk native vlan 10
thank you
Switched Virtual Interface (SVI): A VLAN Interface (e.g. "interface vlan 1"). On a layer 2 switch (2960), the SVI is used for management access, while on a Layer 3 switch (3560) it can function as the default gateway for clients and allows traffic to be routed between VLANs directly on the L3 switch itself.
Security: CCNA [ ]
Virtualization: VCA-DCV [ ]