Can anyone please kindly share the command to copy a ports config to another port, Basically I need a command to be able to make a port work be it a phone or a PC is plugged into the port on the switch…
thanks in advance.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Each port should only have one VLAN assigned to it. There is only one exception to that (other than a trunk port) that comes to my mind and that’s if you can plug a computer into your VoIP phone.
We can with ours and if 20 is VoIP and 40 is Data I would assign both to the port and make 20 the PVID since it’s the device plugged directly into the port (the PC plugs into the phone).
Setting up a port for VoIP:
interface GigabitEthernet3/0/5
description Phone – CLAN & TLAN
switchport access vlan 20
mls qos trust device cisco-phone
mls qos trust dscp
spanning-tree portfast
Setting up the same port for Data:
interface GigabitEthernet3/0/5
description Data
switchport access vlan 40
spanning-tree portfast
Finally, setting up the port for both VLAN’s:
interface GigabitEthernet3/0/5
switchport access vlan 20
switchport access vlan 40
mls qos trust device cisco-phone
mls qos trust dscp
spanning-tree portfast
The above are examples only.
To be honest, I believe you’re in over your head here and should probably hire a professional.
It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.
***William Henley***