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

Setting Router & Switch

The document describes configuring a router and switch with basic settings such as hostname, passwords, IP addresses, and default gateway. On the router, interfaces gigabitEthernet 0/0 and 0/1 are configured with IP addresses and enabled. The running configuration is copied to startup. The switch is similarly configured, with an IP address on interface VLAN 1 and a default gateway of the router's gigabitEthernet 0/1 interface.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views

Setting Router & Switch

The document describes configuring a router and switch with basic settings such as hostname, passwords, IP addresses, and default gateway. On the router, interfaces gigabitEthernet 0/0 and 0/1 are configured with IP addresses and enabled. The running configuration is copied to startup. The switch is similarly configured, with an IP address on interface VLAN 1 and a default gateway of the router's gigabitEthernet 0/1 interface.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

SETTING ROUTER

Router>enable

Router#configure terminal

Router(config)#hostname RTA

RTA(config)#line console 0

RTA(config-line)#password cisco

RTA(config-line)#login

RTA(config-line)#exit

RTA(config)#line vty 0 4

RTA(config-line)#password cisco

RTA(config-line)#login

RTA(config-line)#exit

RTA(config)#enable password cisco

RTA(config)#enable secret class

RTA(config)#service password-encryption

RTA(config)#banner motd #Router RTA#

RTA(config)#interface gigabitEthernet 0/0

RTA(config-if)#ip address 172.14.5.1 255.255.255.0

RTA(config-if)#no shutdown

RTA(config-if)#exit

RTA(config)#interface gigabitEthernet 0/1

RTA(config-if)#ip address 172.14.10.1 255.255.255.0

RTA(config-if)#no shutdown

RTA(config-if)#exit

RTA(config)#exit

RTA#copy running-config startup-config


SETTING SWITCH

Switch>enable

Switch#configure terminal

ASw-2#hostname ASw-2

ASw-2(config)#line console 0

ASw-2(config-line)#password cisco

ASw-2(config-line)#login

ASw-2(config-line)#exit

ASw-2(config)#line vty 0 4

ASw-2(config-line)#password cisco

ASw-2(config-line)#login

ASw-2(config-line)#exit

ASw-2(config)#enable password cisco

ASw-2(config)#enable secret class

ASw-2(config)#service password-encryption

ASw-2(config)#banner motd #Switch 2#

ASw-2(config)#interface vlan 1

ASw-2(config-if)#ip address 172.14.10.35 255.255.255.0

ASw-2(config-if)#no shutdown

ASw-2(config-if)#description #This is interface VLAN 1 in ASw-2#

ASw-2(config-if)#exit

ASw-2(config)#ip default-gateway 172.14.10.1

ASw-2(config)#exit

ASw-2#copy running-config startup-config

You might also like