Cisco ESW-520-48P-K9 Software Guide - Page 61
Con VLANs, Example
View all Cisco ESW-520-48P-K9 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 61 highlights
Chapter 5 Configuring a LAN with DHCP and VLANs Configure VLANs Message BOOTREPLY DHCPOFFER DHCPACK DHCPNAK Router# Sent 0 0 0 0 Configure VLANs Perform these steps to configure VLANs on your router, beginning in privileged EXEC mode: Command Step 1 vlan database Purpose Enters VLAN configuration mode. Example: Router# vlan database Router(vlan)# Step 2 vlan vlan-id [media type] [name vlan-name] Example: Router(vlan)# vlan 2 media ethernet name VLAN0002 VLAN 2 added: Name: VLAN0002 Media type: ETHERNET Router(vlan)# vlan 3 media ethernet name red-vlan VLAN 3 added: Name: red-vlan Media type: ETHERNET Router(vlan)# Adds VLANs, with identifiers ranging from 2 to 1001. For details about this command and additional parameters that can be set, see the Cisco IOS Switching Services Command Reference. Step 3 exit Example: Router(vlan)# exit Router# Updates the VLAN database, propagates it throughout the administrative domain, and returns to privileged EXEC mode. OL-14210-01 Cisco Secure Router 520 Series Software Configuration Guide 5-5