No Command on CISCO Router/Switch

Command

No

Use

Negates a command.

Syntax

Router(configure)# no <command>

Example

In this example the no shut command is used to negate the shut command to set the status of fa0/0 to up on R1.

R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int fa0/0
R1(config-if)#shut
*Mar 1 00:26:14.767: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.2 (FastEthernet0/0) is down: interface down
R1(config-if)#
*Mar 1 00:26:16.743: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Mar 1 00:26:17.743: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
R1(config-if)#no shut
*Mar 1 00:26:26.431: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:26:27.431: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Related Articles

Leave a Reply

avatar