123HELPDESK

IT professionals voor ondernemers

Cisco router create VLAN's PDF Afdrukken
Basic information on how to create VLANs on Catalyst switches


Create VLANs and Ports

NB: Before you can create a VLAN, the switch must be in VTP server mode or VTP transparent mode. If the switch is a VTP server, you must define a VTP domain name before you add any VLANs.  Show Status: 
3750_stack#sh vtp status
VTP Version                     : 2
Configuration Revision          : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 28
VTP Operating Mode              : Transparent
VTP Domain Name                 :
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x32 0xD8 0x41 0x36 0xE4 0xEF 0xD8 0x43
Configuration last modified by 172.22.224.16 at 0-0-00 00:00:00

3750_stack#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi2/0/4, Gi2/0/5, Gi2/0/10, Gi2/0/11, Gi2/0/12

3750_stack#sh vtp status
VTP Version                     : 2
Configuration Revision          : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 28
VTP Operating Mode              : Transparent
VTP Domain Name                 : 
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x32 0xD8 0x41 0x36 0xE4 0xEF 0xD8 0x43 
Configuration last modified by 172.22.224.16 at 0-0-00 00:00:00
3750_stack#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi2/0/4, Gi2/0/5, Gi2/0/10, Gi2/0/11, Gi2/0/12  99   OT-PRIVATE-VIPS                  active    
100  OT-Public-VIPS                   active    
101  VLAN0101                         active    

Enter the correct mode, either database mode or global configuration mode.

vlan database command in privileged mode in order to enter VLAN database mode.

 
Switch#vlan database


Issue the vlan
vlan_number
command in order to configure
a VLAN.


Switch(vlan)#vlan 2

VLAN 2 added:
Name: VLAN0002

Switch(vlan)#apply

APPLY completed.

Issue the show run command in order to
view VLANs that are numbered higher than 1005 in the running
configuration.




more infor: http://www.cisco.com/en/US/tech/tk389/tk689/technologies_configuration_example09186a008009478e.shtml#remove1

Switch#show running-config

Building configuration...



 
 
< Vorige   Volgende >