calling-station-id mac-format命令用来设置RADIUS报文中calling-station-id(Type 31)属性字段中MAC地址的封装格式。
undo calling-station-id mac-format命令用来将上述MAC地址封装格式恢复为缺省情况。
缺省情况下,calling-station-id属性字段中MAC地址的格式为xxxx-xxxx-xxxx,小写形式。
calling-station-id mac-format { dot-split | hyphen-split } [ mode1 | mode2 ] [ lowercase | uppercase ]
calling-station-id mac-format unformatted [ lowercase | uppercase ]
calling-station-id mac-format bin
undo calling-station-id mac-format
参数 | 参数说明 | 取值 |
---|---|---|
dot-split | 指定封装的calling-station-id字段中用圆点(.)作为MAC地址连接符。 | - |
hyphen-split | 指定封装的calling-station-id字段中用横线(-)作为MAC地址连接符。 | - |
unformatted | 指定封装的calling-station-id字段中MAC地址不使用连字符。 | - |
mode1 | 指定封装的calling-station-id字段中MAC地址的格式是XXXX-XXXX-XXXX或XXXX.XXXX.XXXX。 | - |
mode2 | 指定封装的calling-station-id字段中MAC地址的格式是XX-XX-XX-XX-XX-XX或XX.XX.XX.XX.XX.XX。 | - |
lowercase | 指定封装的calling-station-id字段中MAC地址使用小写形式。 | - |
uppercase | 指定封装的calling-station-id字段中MAC地址使用大写形式。 | - |
bin | 指定封装的calling-station-id字段中MAC地址使用二进制形式。 | - |