0% found this document useful (0 votes)
260 views

Cisco Codes

The document shows the configuration of a router and switch through their command line interfaces. On the router, interface GigabitEthernet 0/0 is configured with an IP address and brought up. On the switch, the hostname is changed to "Orbit", a banner message is configured, and the hostname is removed through configuration commands.

Uploaded by

kaushalya
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
260 views

Cisco Codes

The document shows the configuration of a router and switch through their command line interfaces. On the router, interface GigabitEthernet 0/0 is configured with an IP address and brought up. On the switch, the hostname is changed to "Orbit", a banner message is configured, and the hostname is removed through configuration commands.

Uploaded by

kaushalya
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

Router

Router>enable
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa 0/0
%Invalid interface type and number
Router(config)#interface gig 0/0
Router(config-if)#192.168.100.1
^
% Invalid input detected at '^' marker.

Router(config-if)#ip address 192.168.100.1


% Incomplete command.
Router(config-if)#ip address 192.168.100.1 255.255.255.0
Router(config-if)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#

Router con0 is now available

Press RETURN to get started.

Router>enable
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface Gig 0/0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state


to up

Router con0 is now available

Press RETURN to get started.

Switch

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Orbit
Orbit(config)#exit
Orbit#
%SYS-5-CONFIG_I: Configured from console by console

Orbit#enable
Orbit#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Orbit(config)#banner motd?
motd
Orbit(config)#banner motd?
motd
Orbit(config)#banner motd
% Incomplete command.
Orbit(config)#banner motd c
Enter TEXT message. End with the character 'c'.
welcome

Orbit(config)#exit
Orbit#
%SYS-5-CONFIG_I: Configured from console by console
exit
Orbit con0 is now available

Press RETURN to get started.

wel

Orbit>enable
Orbit#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Orbit(config)#no host name
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
exit

Switch con0 is now available

Press RETURN to get started.


wel

Switch>configure terminal
^
% Invalid input detected at '^' marker.

Switch>configure
%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to


up

Translating "configure"...domain server (255.255.255.255)


% Unknown command or computer name, or unable to find computer address

Switch>enable
Switch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#no banner
% Incomplete command.
Switch(config)#no banner motd
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
exit

You might also like