Home | Site Map | Cisco How ToNet How To | Wireless |Search | Forums | Services | Donations | Careers | About Us | Contact Us|

Example of configuring VLAN

Cisco Router, Firewall, VPN, SDM, ASA and Switch

Example of configuring VLAN

Postby blin » Mon Aug 16, 2010 4:20 pm

Example 1: Assume you want to configure a port for access one VLAN 254, do these commands.

switchport access vlan 254
switchport mode access

Example 2: If you want to configure a prot for multiple VLAN, use these commands:

switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,200,800,900
switchport mode trunk

Note: the network device must be able to do dot1q or has an option to configure VLAN.
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 2364
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Return to Cisco

Your Ad Here

Who is online

Users browsing this forum: No registered users and 0 guests