2 ##############################################################################
4 # Cisco's VLAN Query Protocol
6 # This dictionary is NOT a RADIUS dictionary, but is used for a
9 # The default destination port is 1589.
13 ##############################################################################
16 # We've allocated "fake" attribute 0x2b00 ... 0x2cff for VQP.
19 # 0x2b00..0x2bff are for the VQP packet headers.
20 # 0x2c00..0x2cff are for the VQP attributes.
22 # Note that the VQP protocol specifies 0x0c01..0x0c08 as the
23 # real numbers for the VQP attributes. We've added '0x2000'
24 # to them to separate them from RADIUS attributes...
30 ATTRIBUTE VQP-Packet-Type 0x2b00 integer
31 ATTRIBUTE VQP-Error-Code 0x2b01 integer
32 ATTRIBUTE VQP-Sequence-Number 0x2b02 integer
37 ATTRIBUTE VQP-Client-IP-Address 0x2c01 ipaddr
38 ATTRIBUTE VQP-Port-Name 0x2c02 string
39 ATTRIBUTE VQP-VLAN-Name 0x2c03 string
42 ATTRIBUTE VQP-Domain-Name 0x2c04 string
44 # Encapsulates an Ethernet frame...
45 ATTRIBUTE VQP-Ethernet-Frame 0x2c05 octets
46 ATTRIBUTE VQP-MAC 0x2c06 octets # 6-byte MAC address
47 ATTRIBUTE VQP-Unknown 0x2c07 octets
48 ATTRIBUTE VQP-Cookie 0x2c08 octets # 6-byte MAC address
51 # VQP integer mappings
54 VALUE VQP-Packet-Type VPQ-Join-Request 1
55 VALUE VQP-Packet-Type VPQ-Join-Response 2
56 VALUE VQP-Packet-Type VPQ-Reconfirm-Request 3
57 VALUE VQP-Packet-Type VPQ-Reconfirm-Response 4
59 VALUE VQP-Error-Code VQP-No-Error 0
60 VALUE VQP-Error-Code VQP-Wrong-Version 1
61 VALUE VQP-Error-Code VQP-Insufficient-Resources 2
62 VALUE VQP-Error-Code VQP-Deny 3
63 VALUE VQP-Error-Code VQP-Shutdown 4
64 VALUE VQP-Error-Code VQP-Wrong-Mgmt-Domain 5