beautypg.com

Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 176

background image

9-8

z

With port security disabled, you can configure a port security mode, but your configuration does

not take effect.

z

You cannot change the port security mode of a port with users online.

Configuration Procedure

Follow these steps to enable any other port security mode:

To do…

Use the command…

Remarks

Enter system view

system-view

Set an OUI value for user

authentication

port-security oui oui-value index

index-value

Optional

Not configured by default.

The command is required for the

userlogin-withoui mode.

Enter interface view

interface interface-type

interface-number

Set the port security mode

port-security port-mode { autolearn

| mac-authentication |

mac-else-userlogin-secure |

mac-else-userlogin-secure-ext |

secure | userlogin |

userlogin-secure |

userlogin-secure-ext |

userlogin-secure-or-mac |

userlogin-secure-or-mac-ext |

userlogin-withoui }

Required

By default, a port operates in

noRestrictions mode.