Home

Monday, 23 September 2013

Cisco Configuration Gns 3(Basic 1)-switch and routers






Levels of previlleges:-
1.router>User Mode
2.enable# Previllege mode
Execute show commands from previlleged mode only.
3.(config)# Terminal Mode
Host name,Access-lists,etc...
4.(config-if)#InterfaceMode
set ip address and configure Interfaces.

1.Host name allows you to add the router name or switch name.


r1(config)#hostname Google
google(config)#
google(config)#
google(config)#
google(config)#interface Vlan 1
google(config-if)#ip address 192.168.1.10 255.255.255.0
google(config-if)#no shutdown

google(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
EXIT
google(config)#IP Default-Gateway 192.168.1.1

google#Show IP Interface brief
Interface              IP-Address      OK? Method Status                Protocol

FastEthernet0/1        unassigned      YES manual down                  down



google(config)#interface fastEthernet 0/1
google(config-if)#DUPLEX ?
  auto  Enable AUTO duplex configuration
  full  Force full duplex operation
  half  Force half-duplex operation
google(config-if)#DUPLEX FU
google(config-if)#DUPLEX FUll
google(config-if)#SPEED
google(config-if)#SPEED ?
  10    Force 10 Mbps operation
  100   Force 100 Mbps operation
  auto  Enable AUTO speed configuration
google(config-if)#SPEED 100
google(config-if)#DES
google(config-if)#DEScription ?
  LINE  Up to 240 characters describing this interface
google(config-if)#DEScription iNTERNET ROUTER CONNECTION

google(config-if)#SHOW CDP NEIGH
google(config-if)#SHOW CDP NEIGH
google(config-if)#EXIT
google(config)#EXIT
google#
%SYS-5-CONFIG_I: Configured from console by console
S
% Ambiguous command: "S"
google#SHOW CDP NEIGHBO
google#SHOW CDP NEIGHBORS
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID    Local Intrfce   Holdtme    Capability   Platform    Port ID
google#
%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
google#CONF T
Enter configuration commands, one per line.  End with CNTL/Z.
google(config)#INTErface FAStEthernet 0/1
google(config-if)#NO SH
google(config-if)#NO SHutdown
google(config-if)#NO SHutdown
google(config-if)#EXIT
google(config)#EXIT
google#
Enter configuration commands, one per line.  End with CNTL/Z.
google(config)#INTErface FAStEthernet 0/1
google(config-if)#NO SHutdown
google(config-if)#EXIT

No comments:

Post a Comment