sonic-utilities icon indicating copy to clipboard operation
sonic-utilities copied to clipboard

CLI support for PAC

Open vijaya-ops opened this issue 1 year ago • 4 comments

What I did

The cli changes are implemented as per the HLD mentioned below. https://github.com/sonic-net/SONiC/pull/1655

How I did it

Implemented the below commands

Config commands

config dot1x system-auth-control enable
config interface authentication port-control Ethernet0 auto
config interface authentication host-mode Ethernet0 multi-auth
config interface authentication order Ethernet0 dot1x
config interface authentication priority Ethernet0 dot1x
config interface dot1x pae Ethernet0 authenticator
config interface authentication periodic Ethernet1 enable
config interface authentication reauth-period Ethernet1 120
config interface authentication max-users Ethernet1 6
config interface mab Ethernet1 enable -a pap

=============== Show commands

show authentication interface show authentication clients show mab interface show dot1x

============ Clear commands

sonic-clear authentication sessions

How to verify it

vijaya-ops avatar Apr 08 '24 07:04 vijaya-ops

@jeff-yin @ridahanif96 pls help review

adyeung avatar Aug 07 '24 20:08 adyeung

/azpw run Azure

vijaya-ops avatar Aug 13 '24 09:08 vijaya-ops

/AzurePipelines run Azure

mssonicbld avatar Aug 13 '24 09:08 mssonicbld

No pipelines are associated with this pull request.

azure-pipelines[bot] avatar Aug 13 '24 09:08 azure-pipelines[bot]