background image

 

  2: Introduction to VLAN 

Configuring VLAN and CDP on a GW Series Router  
Issue 1.4 

Page 4 of 12 

© 2012 Virtual Access.  

2

 

Introduction to VLAN 

Virtual Access routers support 802.1Q tagged-based VLAN. Tagging is the process of 
adding a 4 byte tag containing the VID (VLAN ID) to an Ethernet frame. 

Hosts send traffic with or without a VLAN tag. The Virtual Access router assigns this 
traffic to a particular Ethernet port based on the 802.1Q tag. 

VLANs can be used to group hosts together as if they exist physically on the same wire or 
alternatively, hosts that are already physically on the same wire can be logically 
separated. 

VLANs are used to allow different logical networks to be connected to the same physical 
hardware without any cross-leakage of data from one VLAN to any other at layer 2. 

For cross-communication between the VLANs, you need a router to route at the layer 3 
level. The VLANs can be thought of as layer 2 broadcast domains. 

The IEEE 802.1Q Ethernet frame is shown in figure 1. The VLAN ID specifies to which 
VLAN the Ethernet traffic belongs. This feature can be used to define a fixed voice VLAN, 
so that all VoIP telephones can be kept on a dedicated VLAN, with a higher layer 
switching at routers or switches. 

 

Figure 1: IEEE 802.1Q Ethernet tag 

VLAN tagging is useful when VoIP telephones are used on internal networks. The QoS 
feature can be used to prevent timing-critical services, such as voice, from being 
interrupted by other less timing-sensitive services, such as data transmission. 

As a security feature, the SMG allows the connection of different VLANs to different 
physical interfaces on the SMG, with only the inter-VLAN traffic being passed to the 
CPU/router. The allowed VLAN tags are configured on the router and any tagged traffic 
that does not belong to the allowed VLAN tags group will not be allowed. 

2.1

 

Configuring the router for VLAN 

The Virtual Access router has a 4 port Ethernet switch. This switch can be grouped as a 
complete segment or as individual segments. 

Summary of Contents for GW Series

Page 1: ...Configuring VLAN and CDP on a GW Series Router Issue 1 4 Date 10 May 2012 ...

Page 2: ... respective owners Virtual Access is an ISO 9001 certified company Configuring VLAN and CDP on a GW Series Router Issue 1 4 Page 2 of 12 1 About this document 3 1 1 Scope 3 1 2 Readership 3 1 3 Terminology 3 2 Introduction to VLAN 4 2 1 Configuring the router for VLAN 4 2 2 Configuring an individual interface for VLAN 5 2 3 Viewing VLAN tags 6 2 4 Deployment scenario example 7 2 5 Debugging VLAN 8...

Page 3: ... to set up and configure VLAN and CDP on a GW Series router and the basic functionality of VLAN and CDP on a GW Series router 1 2 Readership This document is for engineers who have previous experience configuring and managing Virtual Access routers 1 3 Terminology CDP Cisco Discovery Protocol QoS Quality of Service VLAN Virtual Local Area Network VoIP Voice over Internet Protocol ...

Page 4: ...e thought of as layer 2 broadcast domains The IEEE 802 1Q Ethernet frame is shown in figure 1 The VLAN ID specifies to which VLAN the Ethernet traffic belongs This feature can be used to define a fixed voice VLAN so that all VoIP telephones can be kept on a dedicated VLAN with a higher layer switching at routers or switches Figure 1 IEEE 802 1Q Ethernet tag VLAN tagging is useful when VoIP telepho...

Page 5: ...s whether or not changes in the Ethernet physical state are reflected in the routing table If disabled the ports will always stay up at the IP level regardless of whether the physical cable is plugged or unplugged Set Ethernet media sense enabled Table 1 The Ethernet system fields and their descriptions Note when you have enabled the Ethernet switch for VLAN tagging the Ethernet switch is no longe...

Page 6: ...ion Description Minimum value 0 Default value 0 Maximum value 65535 Units Unspecified Set the Ethernet interface VLAN tag to eth x y where x is the interface and y is the VLAN tag Set Ethernet interface vlan tag Table 2 The VLAN tag field description and command line 2 3 Viewing VLAN tags When you have enabled VLAN tagging to view your tags from the Expert View Menu click operations performances i...

Page 7: ...0 0 No B 1 0 0 0 0 0 0 No C 1 0 0 0 0 0 0 No D 1 0 0 0 0 0 0 No Table 3 Screen grab showing results of the show Ethernet vmap command 2 4 Deployment scenario example The use of VLANs in a VoIP scenario is very important You can use VLANs to optimise QoS control and to reduce the number of Ethernet cables used You can tag Voice traffic from the LAN to allow the router to apply the appropriate QoS s...

Page 8: ...Line Set Ethernet interface vlan tag eth 0 0 Set Ethernet interface vlan tag eth 1 100 Set Ethernet VLAN tags enabled yes Table 4 Command lines used for the deployment scenario 2 5 Debugging VLAN To view the Ethernet switch information in the Expert View menu click operations performance interface stats ethernet switch The Statistics for Ethernet Switch page appears ...

Page 9: ...VLAN and CDP on a GW Series Router Issue 1 4 Page 9 of 12 2012 Virtual Access Figure 6 The statistics for Ethernet switch page Alternatively you can use a Telnet session to issue the following commands Show switch info Show switch table ...

Page 10: ...rectly to a customer site requiring no pre configuration 3 1 Configuring the router for CDP To configure the router for CDP from the Start page click Advanced Expert View system Ethernet CDP server The CDP Server page appears Figure 7 The CDP server page Field name Description Command Line Enabled Enables or disables CDP Cisco Discovery Protocol for advertising Voice VLAN ID Option Description yes...

Page 11: ...le 5 The CDP server fields descriptions and their command lines The critical setting is number Voice VLAN Id This specifies the VLAN tag to offer as part of the CDP broadcast Any host acting as a CDP client will use this tag 3 2 CDP flows The table below describers the flow and mapping between CDP and DHCP Figure 8 Flow and mapping between CDP and DHCP 3 3 Debugging CDP 3 3 1 Tracing using the com...

Page 12: ...ity all events of the chosen severity and greater are displayed To stop tracing entering minus followed by the event class will stop tracing for this event class Entering minus on its own will stop all tracing Syntax Description cdp Starts tracing CDP events cdp Stops CDP tracing Table 6 The command line tracing syntax and their descriptions Show cdp server info CDP Server info Enabled yes Voice V...

Reviews: