jaipak :
my question is
how to connect nic card on pc to trunk port on switch , so that i can perform traffic monitoring in my department but when i connect the trunk port and nic card, internet connection is not established ,port mirroring also doesn't on my depart switches, any solution
Are you the IT Admin on site? Or did you set up the switch?? Because your dealing with something that is probably finely tuned. With a trunk port switch you need to know your networks vlans.
So at my business I am the IT Admin and I set up our network. I have a fiber optic modem that goes into a firewall that does DHCP and anti-virus and vlans; then I have a switch that in charge of pushing out connections (wired, some wireless access points) but also VLANS. So on my network I have 3 VLANS; they are vlan 1, which is all the main network traffic, like browsing the web or connecting to a server. I have Vlan 20 which our HDMI to IP video sources travel through. Then I have VLAN 40 which our wireless guest network connects to. The point of this is so that traffic on vlans don't touch each other. With a trunk port it can be configured to run as many or as little vlans as you want. So for example on my network if I configure port switch 5 with ONLY vlan 20, if I connect a laptop into that port I will not have internet connection; I will be "connected" to the local lan on vlan 20, but I will only be able to see the video devices nothing else.
My thoughts are you are trying to connect into a switch where you don't know how the ports are set up; with trunks its not as simple as just plug in and go. I would contact your network Admin or whoever set this thing up.
If you are running vlans the port you are trying to connect to may not let you into what you want. You would have to know the network build and add the vlans to whatever port your trying to connect to.