aboutsummaryrefslogtreecommitdiffstats
path: root/radius/dictionary.vqp
blob: 0eafc5a456628b5d0bba6f1f6c47f6f2170a6847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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