Defining an authentication key, Specifying a source interface, Enable or disable the vlan containment for ntp – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 46

Advertising
background image

Defining an authentication key

To define an authentication key for Network Time Protocol (NTP), use the authentication-key
command. To remove the authentication key for NTP, use the no form of this command.

By default, authentication keys are not configured.

Brocade(config-ntp)# authentication-key key-id 1 md5 moof

Syntax: [no] authentication-key key-id md5 key-string

The valid key-id parameter is 1 to 65535.

MD5 is the message authentication support that is provided using the Message Digest 5 Algorithm.
The key type md5 is currently the only key type supported.

The key-string option is the value of the MD5 key. The maximum length of the key string may be
defined up to 16 characters. Up to 32 keys may be defined.

Specifying a source interface

When the system sends an NTP packet, the source IP address is normally set to the address of the
interface through which the NTP packet is sent. Use the source-interface command to configure a
specific interface from which the IP source address will be taken. To remove the specified source
address, use the no form of this command.

This interface will be used for the source address for all packets sent to all destinations. If a source
address is to be used for a specific association, use the source keyword in the peer or server
command.

NOTE
If the source-interface is not configured, then the lowest IP address in the outgoing interface will be
used in the NTP packets. Source IP address of a tunnel interface is not supported.

Brocade(config-ntp)# source-interface ethernet 1/3/1

Syntax: [no] source-interface ethernet { port | loopback num | ve num }

Specify the port parameter in the format stack-unit/slotnum/portnum.

The loopback num parameter specifies the loopback interface number.

The ve num parameter specifies the virtual port number.

Enable or disable the VLAN containment for NTP

To enable or disable the VLAN containment for NTP, use the access-control vlan command. To
remove the specified NTP VLAN configuration, use the no form of this command.

NOTE
The management interface is not part of any VLAN. When configuring the VLAN containment for NTP,
it will not use the management interface to send or receive the NTP packets.

Brocade(config-ntp)# access-control vlan 100

Syntax: [no] access-control vlan vlan-id

Defining an authentication key

46

FastIron Ethernet Switch Administration Guide

53-1003075-02

Advertising