NACVIEW_SERV - NACVIEW IP server address
RADIUS_KEY - RADIUS communication key
SW_IP - IP switch address
SW_NAME - Switch name
SNMP_SECRET - SNMP v2c password
SNMP_AUTH, SNMP_PRIV - SNMP v3 password (at least 8 characters)
SNMP_USER + SNMP_GROUP - SNMP user and SNMP group
CONF_FILE - Configuration file name
Vlan-interfaceX - virtual switch interface where its IP address is located
<S5735>system-view
[S5735]info-center loghost source Vlanif 193
[S5735]info-center loghost NACVIEW_SERV' transport udp
[S5735]info-center source default channel 2
[S5735]snmp-agent
[S5735]snmp-agent sys-info version v2c
[S5735]snmp-agent mib-view included nacview_view 1
[S5735]snmp-agent community write 'SNMP_SECRET' mib-view nacview_view
[S5735]snmp-agent protocol source-interface Vlanif 193
[S5735]snmp-agent
[S5735]snmp-agent sys-info version v3
[S5735]snmp-agent mib-view included nacview_view 1
[S5735]snmp-agent group v3 'SNMP_GROUP' privacy write-view nacview_view notify-view nacview_view
[S5735]snmp-agent usm-user v3 'SNMP_USER' 'SNMP_GROUP' authentication-mode sha 'SNMP_AUTH' privacy-mode des56 'SNMP_PRIV'
[S5735]snmp-agent target-host trap address udp-domain 'NACVIEW_SERV' params securityname 'SNMP_USER' v3 privacy
radius-server template NV
radius-server shared-key cipher
radius-server authentication 10.121.30.140 1812 source Vlanif 1
radius-server accounting 10.121.30.140 1813 source Vlanif 1
calling-station-id mac-format colon-split mode2 uppercase
aaa
authentication-scheme NV
authentication-mode radius
accounting-scheme NV
accounting-mode radius
domain nv
authentication-scheme NV
accounting-scheme NV
dot1x-access-profile name NV
mac-access-profile name NV
authentication-profile name
dot1x-access-profile NV
mac-access-profile NV
authentication-scheme NV
accounting-scheme NV
radius-server NV
access-domain nv dot1x
access-domain nv mac-authe
domain nv
[S5735]radius scheme nacview_radius
[S5735-radius-nacview-radius]primary authentication 'NACVIEW_SERV' key 'RADIUS_KEY'
[S5735-radius-nacview-radius]primary accounitng 'NACVIEW_SERV' key 'RADIUS_KEY'
[S5735-radius-nacview-radius]user-name-format withpout-domain
[S5735-radius-nacview-radius]server-type huawei
[S5735-radius-nacview-radius]nas-ip 'SW_IP'
[S5735-radius-nacview-radius]accounting-on enable
[S5735-radius-nacview-radius]quit
[S5735]radius trap authentication-server-down
[S5735]radius trap accounting-server-down
[S5735]domain system
[S5735-isp-system]authentication lan-access radius-scheme nacview_radius
[S5735-isp-system]accounting lan-access radius-scheme nacview_radius
[S5735-isp-system]vlan-assigment-mode string
[S5735]dot1x
[S5735]dot1x port-control auto
[S5735]dot1x port-method macbased
[S5735]dot1x authentication-method eap
[S5735]dot1x quiet-period
[S5735]dot1x timer tx-period 45
[S5735]dot1x timer supp-timeout 45
[S5735]dot1x timer handshake-period 45
[S5735]mac-authentication
[S5735]mac-authentication timer offline-detect 60
[S5735]dot1x interface Ethernet 1/0/1
[S5735]mac-authentication interface Ethernet 1/0/2
Ports must have their target vlan set up
[S5735]display current-configuration
- display current configuration[S5735]display saved-configuration
- display saved configurationbackup unit 1 current-configuration to 'NACVIEW_SERV' 'CONF_FILE'
- save configuration to the TFTP serverrestore unit 1 startup-configuration from 'NACVIEW_SERV' 'CONF_FILE'
- load configuration from the TFTP server