The port command configures the port number used by a Kerberos server to send packets.
The undo port command restores the default configuration.
By default, a Kerberos server uses port 88 to send packets.
Parameter | Description | Value |
---|---|---|
port-number |
Specifies the port number used by a Kerberos server to send packets. |
The value is an integer in the range from 1 to 65535. |
Usage Scenario
When configuring Kerberos snooping, you need to run the port command to configure the port number used by a Kerberos server to send packets. The device identifies the Kerberos packets sent by a Kerberos server based on the configured IP address and port number of the Kerberos server. If the device receives a KRB_AS_REP, KRB_TGS_REP, or KRB_AP_REP packet from the Kerberos server, it considers that the user has been authenticated and allows the user to access network resources.
In addition, the device identifies and allows the Kerberos packets sent by clients to pass through if the destination port number of packets is the port number of a Kerberos server.
Precautions
Ensure that the port number configured on the device is the same as that used by the Kerberos server.