< Home

calling-station-id mac-format

命令功能

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地址使用二进制形式。 -

视图

RADIUS服务器模板视图

缺省级别

3:管理级

使用指南

从设备出去的RADIUS报文的calling-station-id(Type 31)属性字段中MAC地址的封装格式默认为xxxx-xxxx-xxxx,如果RADIUS服务器不支持此默认的MAC地址格式,可以通过使用calling-station-id mac-format命令修改RADIUS报文中calling-station-id字段中MAC地址的封装格式。

使用实例

# 设置RADIUS报文中calling-station-id属性字段中用圆点作为MAC地址连接符,MAC地址的格式为XX.XX.XX.XX.XX.XX,大写形式。

<Quidway> system-view
[Quidway] radius-server template huawei
[Quidway-radius-huawei] calling-station-id mac-format dot-split mode2 uppercase
相关主题
display radius-server configuration
华为专有和保密信息 版权所有 © 华为技术有限公司
华为专有和保密信息
版权所有 © 华为技术有限公司
< 上一节 下一节 >