Adding a Comment to a Cisco Router Interface

Which command would add a comment (message) to an interface?

a. Router(config-if)# ip address b. Router(config-if)#description c. Router(config)#banner d. Router(config-if)#speed 1000

Final answer:

The command that adds a comment (message) to an interface in a Cisco router is the 'description' command.

To add a comment (message) to an interface in a Cisco router, you would use the 'description' command. The 'description' command allows you to provide a brief description or comment about the interface. This can be useful for documenting the purpose of the interface or providing additional information about its configuration.

To use the 'description' command, you need to be in the interface configuration mode. You can enter this mode by using the 'interface' command followed by the interface type and number. For example, to configure the description for interface GigabitEthernet0/1, you would enter the following commands:

Router# configure terminal
Router(config)# interface GigabitEthernet0/1
Router(config-if)# description "This is a comment for interface GigabitEthernet0/1"

After entering the 'description' command, you can provide the desired comment or message within the quotation marks. Make sure to enclose the comment in quotation marks to ensure proper formatting. This helps in keeping your network documentation organized and clear for future reference.

← How to recover liquid refrigerant from an air conditioning system Deploying a new application on a virtual server →