diff options
author | Bill Meier <wmeier@newsguy.com> | 2009-07-06 12:39:58 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2009-07-06 12:39:58 +0000 |
commit | 2e82efa15801272917ec68b34295c5d5d576922d (patch) | |
tree | 73a896d1393777820a3adebd357a9a7c10ec18a0 /radius/dictionary.vqp | |
parent | ea7fa021fa36218f89fc9b6708fc15db0a509240 (diff) |
Update dictionary files from FreeRadius 2.1.6 [5/18/09]: part 1: New files
svn path=/trunk/; revision=28946
Diffstat (limited to 'radius/dictionary.vqp')
-rw-r--r-- | radius/dictionary.vqp | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/radius/dictionary.vqp b/radius/dictionary.vqp new file mode 100644 index 0000000000..0eafc5a456 --- /dev/null +++ b/radius/dictionary.vqp @@ -0,0 +1,109 @@ +# -*- text -*- +############################################################################## +# +# Cisco's VLAN Query Protocol +# +# This dictionary is NOT a RADIUS dictionary, but is used for a +# similar purpose. +# +# The default destination port is 1589. +# +# $Id$ +# +############################################################################## + +# +# We've allocated "fake" attribute 0x2b00 ... 0x2cff for VQP. +# +# +# 0x2b00..0x2bff are for the VQP packet headers. +# 0x2c00..0x2cff are for the VQP attributes. +# +# Note that the VQP protocol specifies 0x0c01..0x0c08 as the +# real numbers for the VQP attributes. We've added '0x2000' +# to them to separate them from RADIUS attributes... +# + +# +# VQP Op codes +# +ATTRIBUTE VQP-Packet-Type 0x2b00 integer +ATTRIBUTE VQP-Error-Code 0x2b01 integer +ATTRIBUTE VQP-Sequence-Number 0x2b02 integer + +# +# VQP Attributes +# +ATTRIBUTE VQP-Client-IP-Address 0x2c01 ipaddr +ATTRIBUTE VQP-Port-Name 0x2c02 string +ATTRIBUTE VQP-VLAN-Name 0x2c03 string + +# VTP domain +ATTRIBUTE VQP-Domain-Name 0x2c04 string + +# Encapsulates an Ethernet frame... +ATTRIBUTE VQP-Ethernet-Frame 0x2c05 octets +ATTRIBUTE VQP-MAC 0x2c06 ether +ATTRIBUTE VQP-Unknown 0x2c07 octets +ATTRIBUTE VQP-Cookie 0x2c08 ether + +# +# VQP integer mappings +# + +VALUE VQP-Packet-Type VQP-Join-Request 1 +VALUE VQP-Packet-Type VQP-Join-Response 2 +VALUE VQP-Packet-Type VQP-Reconfirm-Request 3 +VALUE VQP-Packet-Type VQP-Reconfirm-Response 4 + +VALUE VQP-Error-Code VQP-No-Error 0 +VALUE VQP-Error-Code VQP-Wrong-Version 1 +VALUE VQP-Error-Code VQP-Insufficient-Resources 2 +VALUE VQP-Error-Code VQP-Deny 3 +VALUE VQP-Error-Code VQP-Shutdown 4 +VALUE VQP-Error-Code VQP-Wrong-Mgmt-Domain 5 + +###################################################################### +# +# Duplicate names here, for simplicity +# +###################################################################### + +# +# VMPS Op codes +# +ATTRIBUTE VMPS-Packet-Type 0x2b00 integer +ATTRIBUTE VMPS-Error-Code 0x2b01 integer +ATTRIBUTE VMPS-Sequence-Number 0x2b02 integer + +# +# VMPS Attributes +# +ATTRIBUTE VMPS-Client-IP-Address 0x2c01 ipaddr +ATTRIBUTE VMPS-Port-Name 0x2c02 string +ATTRIBUTE VMPS-VLAN-Name 0x2c03 string + +# VTP domain +ATTRIBUTE VMPS-Domain-Name 0x2c04 string + +# Encapsulates an Ethernet frame... +ATTRIBUTE VMPS-Ethernet-Frame 0x2c05 octets +ATTRIBUTE VMPS-MAC 0x2c06 ether +ATTRIBUTE VMPS-Unknown 0x2c07 octets +ATTRIBUTE VMPS-Cookie 0x2c08 ether + +# +# VMPS integer mappings +# + +VALUE VMPS-Packet-Type VMPS-Join-Request 1 +VALUE VMPS-Packet-Type VMPS-Join-Response 2 +VALUE VMPS-Packet-Type VMPS-Reconfirm-Request 3 +VALUE VMPS-Packet-Type VMPS-Reconfirm-Response 4 + +VALUE VMPS-Error-Code VMPS-No-Error 0 +VALUE VMPS-Error-Code VMPS-Wrong-Version 1 +VALUE VMPS-Error-Code VMPS-Insufficient-Resources 2 +VALUE VMPS-Error-Code VMPS-Deny 3 +VALUE VMPS-Error-Code VMPS-Shutdown 4 +VALUE VMPS-Error-Code VMPS-Wrong-Mgmt-Domain 5 |