beautypg.com

Managing password policies, Creating a password policy, Displaying password attributes – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 226

background image

194

Network OS NETCONF Operations Guide

53-1003231-02

Password policies

15

Managing password policies

Configure the node in the urn:brocade.com:mgmt:brocade-aaa namespace
to define or modify existing password policies.

Creating a password policy

The following example defines a password policy that places restrictions on minimum length and
enforces character restrictions and account lockout.

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-aaa namespace.

2. Under the node, provide the elements that define the policy.

The following example defines a password policy that requires passwords to be at least eight
characters long, contain at least two lowercase characters, at least one uppercase character, at
least one numeric character, and at least one special character. The policy also enforces lockout
after four attempts to enter the password. The node enables the lockout
policy for admin role accounts.

?xml version="1.0" encoding="UTF-8"?>

8

4

2

1

1

1

Displaying password attributes

To retrieve the current password policy, issue the RPC with a subtree filter to return
only information under the node in the urn:brocade.com:mgmt:brocade-aaa
namespace.