Net::Frame::Layer::CDP::VoipVlanQuery - CDP VoipVlanQuery TLV
use Net::Frame::Simple; use Net::Frame::Layer::CDP qw(:consts); my $layer = Net::Frame::Layer::CDP::VoipVlanQuery->new( type => NF_CDP_TYPE_VOIP_VLAN_QUERY, length => 5, data => 1, voipVlan => '', ); # # Read a raw layer # my $layer = Net::Frame::Layer::CDP->new(raw => $raw); print $layer->print."\n"; print 'PAYLOAD: '.unpack('H*', $layer->payload)."\n" if $layer->payload;
This modules implements the encoding and decoding of the VoipVlanQuery CDP message type.
Type.
Length of TLV option.
Data.
VoIP VLAN.
The following are inherited attributes. See Net::Frame::Layer for more information.
Object constructor. You can pass attributes that will overwrite default ones. See SYNOPSIS for default values.
The following are inherited methods. Some of them may be overriden in this layer, and some others may not be meaningful in this layer. See Net::Frame::Layer for more information.
No constants here.
Net::Frame::Layer::CDP, Net::Frame::Layer
Michael Vincent
Copyright (c) 2013, Michael Vincent
You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.
To install Net::Frame::Layer::CDP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Frame::Layer::CDP
CPAN shell
perl -MCPAN -e shell install Net::Frame::Layer::CDP
For more information on module installation, please visit the detailed CPAN module installation guide.