background image

3: CDP 

Configuring VLAN and CDP on a GW Series Router  
Issue 1.4 

Page 10 of 12 

© 2012 Virtual Access.  

3

 

CDP 

The CDP feature on the router allows it to pass out CDP MAC address broadcasts. This 
broadcast can indicate to a client host what VLAN tag to use. Certain IP handsets are 
enabled as CDP clients by default. 

This means that IP phones that are required to operate on a specific VLAN do not have to 
be pre-staged. In conjunction with Virtual Access’ phone provisioning service, IP phones 
and routers can be shipped directly 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 

Enables CDP 

no 

Disables CDP 

 

Set CDP server enabled 
=yes 

Voice VLAN Id 

Defines Voice VLAN Identifier 
to be advertised. 

Option 

Description 

Minimum 
value 

Default 
value 

Maximum 
value 

65535 

Units 

Unspecified 

 

Set CDP server voice 
vlan identifier = 100 

Time to Live 

Defines Time to Live for CDP 

Set cdp server time to 

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: