D-Link d-link manual Virtual LANs, Vlan Configuration Example

Page 59

Virtual LANs 59

Virtual LANs

Adding Virtual LAN (VLAN) support to a Layer 2 switch offers some of the benefits of both bridging and routing. Like a bridge, a VLAN switch forwards traffic based on the Layer 2 header, which is fast, and like a router, it partitions the network into logical segments, which provides better administration, security and management of multicast traffic.

A VLAN is a set of end stations and the switch ports that connect them. You may have many reasons for the logical division, such as department or project membership. The only physical requirement is that the end station and the port to which it is connected both belong to the same VLAN.

Each VLAN in a network has an associated VLAN ID, which appears in the IEEE 802.1Q tag in the Layer 2 header of packets transmitted on a VLAN. An end station may omit the tag, or the VLAN portion of the tag, in which case the first switch port to receive the packet may either reject it or insert a tag using its default VLAN ID. A given port may handle traffic for more than one VLAN, but it can only support one default VLAN ID.

The Private Edge VLAN feature lets you set protection between ports located on the switch. This means that a protected port cannot forward traffic to another protected port on the same switch.

The feature does not provide protection between ports located on different switches.

VLAN Configuration Example

The diagram in this section shows a switch with four ports configured to handle the traffic for two VLANs. Port 0/2 handles traffic for both VLANs, while port 0/1 is a member of VLAN 2 only, and ports 0/3 and 0/4 are members of VLAN 3 only. The script following the diagram shows the commands you would use to configure the switch as shown in the diagram.

Image 59
Contents Layer 2 Switch Page Table of Contents Using the Web Interface Traceroute Web User Guide Link DES-3226L Front View List of FiguresWeb User Guide Related Documentation About This BookDocument Organization AudienceCopyright Statement Link Offices for Registration and Warranty ServiceFeatures Trademarks„ TCP „ MIB-II Product Overview Safety InstructionsSafety Cautions Web User Guide General Precautions for Rack-Mountable Products Protecting Against Electrostatic Discharge Switch DescriptionSpecifications Description Technical SpecificationsPerformance Installing the D-Link DES-3226L Switch Installing the HardwarePreparing the Site for Installation Connecting the Switch to a Power Supply Unpacking the SwitchSetting up the Switch Connecting Power Cable Installing on a Flat Surface Free-standing SwitchAttaching the Brackets Installing in a RackConfiguring for In-band Connectivity Starting and Configuring the SwitchSubnet Configuring for Out-Of-Band Connectivity Initial Configuration Starting the SwitchExample Session Initial Configuration ProcedureDram 64 MB LED LED IndicatorsWeb User Guide Upgrading the Switch Firmware Software InstallationQuick Starting the Networking Device System Information and System SetupCommand Mode Description Privileged Sets the IP address, subnet mask and gateway Systemimage or a configuration file nvramstartup-con Web User Guide Configuring for Web Access Using the Web InterfaceWeb Interface Panel-Example Web Page LayoutStarting the Web Interface Configuring an Snmp V3 User ProfileSave Command ButtonsExample #1 show igmpsnooping Igmp SnoopingOverview CLI ExamplesWeb Examples Igmp Snooping Global Configuration and StatusIgmp Snooping Interface Configuration Web User Guide Example #1 script Configuration ScriptingConsiderations Example #2 script list and script delete Example #3 script apply running-config.scrExample #4 Creating a Configuration Script Example #5 Upload a Configuration Script Example #6 script validate running-config.scrExample #7 Validate another Configuration Script Example #2 show port all Port MirroringExample #1 show monitor session Example #4 show monitor session Example #5 Config monitor session 1 modeExample #3 show port interface Specify the source ports and destination port Example #6 Config monitor session 1 source interfaceSystem Port Multiple Port Mirroring Interpreting Log Files SyslogPersistent Log Files Example #3 show logging traplogs Example #1 show loggingExample #2 show logging persistent Example #5 show logging hosts Example #4 logging port configurationFollowing web pages are used in the Syslog feature CLI Example TracerouteTraceroute Overview Web User Guide Virtual LANs Vlan Configuration ExampleCLI Examples Vlan example network diagramVirtual LANs CLI Example Private Edge VLANsGraphical User Interface CoS Queue Mapping Class of Service CoSTraffic-shape Traffic Shaping and Rate LimitingModes Rate-limitWeb Example CoS Interface ConfigurationLink Aggregation Example #1 Link Aggregation Configuration ExampleLink Aggregation Shows the example network Switching -- Link Aggregation -- Configuration Web User Guide Limited Warranty USA only Web User Guide Limited Warranty USA only Web User Guide Registration Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Italy India Brasil International OfficesWeb User Guide Shows the standard RJ-45 pin assignments Appendix a Cables and ConnectorsWeb User Guide Following tables show connector pinout information Appendix B Connector PinoutsWeb User Guide Following tables show maximum cable lengths and wavelengths Appendix C Cable Lengths and WavelengthsWeb User Guide
Related manuals
Manual 1 pages 56.33 Kb