How To Configure Vlan Trunk On Cisco Switch?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Log into the Cisco switch using a console or terminal connection and enter global configuration mode by entering the ‘enable’ and ‘configure terminal’ commands.
2. Create a VLAN and assign it an identifier using the ‘vlan x’ command. Replace ‘x’ with the VLAN ID number.
3. Configure the interface port to which the trunk will be connected using the ‘interface [type] [slot/port]’ command.
4. Set the switch port mode to ‘trunk’ using the ‘switchport mode trunk’ command. 5. Specify the VLAN identifiers that are allowed to traverse the trunk link using one of the following commands:
• If you want all currently created VLANs to travers the trunk, use the ’switchport trunk allowed vlan all’ command.
• If you want to manually select each individual VLAN which should be included in the trunk, use the ‘switchport trunk allowed vlan {add|remove} {vlan–list}’ command. Replace ‘{add|remove}’ with the desired action and ‘{vlan–list}’ with the list of VLANs that will be allowed.
6. Exit from the configuration mode by entering the ‘exit’ command.