Added preliminary VMPS support. The code can receive packets
[freeradius.git] / share / dictionary.vqp
1 # -*- text -*-
2 ##############################################################################
3 #
4 #       Cisco's VLAN Query Protocol
5 #
6 #       This dictionary is NOT a RADIUS dictionary, but is used for a
7 #       similar purpose.
8 #
9 #       The default destination port is 1589.
10 #
11 #       $Id$
12 #
13 ##############################################################################
14
15 #
16 #       We've allocated "fake" attribute 0x2b00 ... 0x2cff for VQP.
17 #
18 #
19 #       0x2b00..0x2bff are for the VQP packet headers.
20 #       0x2c00..0x2cff are for the VQP attributes.
21 #
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...
25 #
26
27 #
28 #  VQP Op codes
29 #
30 ATTRIBUTE       VQP-Packet-Type                         0x2b00  integer
31 ATTRIBUTE       VQP-Error-Code                          0x2b01  integer
32 ATTRIBUTE       VQP-Sequence-Number                     0x2b02  integer
33
34 #
35 #  VQP Attributes
36 #
37 ATTRIBUTE       VQP-Client-IP-Address                   0x2c01  ipaddr
38 ATTRIBUTE       VQP-Port-Name                           0x2c02  string
39 ATTRIBUTE       VQP-VLAN-Name                           0x2c03  string
40
41 # VTP domain
42 ATTRIBUTE       VQP-Domain-Name                         0x2c04  string
43
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
49
50 #
51 #       VQP integer mappings
52 #
53
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
58
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