DCN Cisco configurations
Change router Name:
en
conf t
hostname R1
exit
Turn on/off interface:
Conf t
Interface “Interface name”
No shut (for turn on)/shutdown (for turning off)
Adding interface ip:
Conf t
Interface “int”
Ip address 192.168.50.1 255.255.255.1
Exit
Exit
Build vlan :
Conf t
Vlan 10
Name student
Configure Vlan to a port:
Conf t
Int fastEthernet 0/1
Switchport mode access
Switchport access vlan 10
Exit
Enabling trunking on an interface:
Conf t
Int fa0/4
Switchport mode trunk
**If you want to set the native vlan to 99**
Switchport trunk native vlan 99
To check the configuration of a port for trunking
show interface Ethernet 1/1 switchport
Spanning tree protocol configuration on vlan 1:
Spanning-tree vlan 1 root primary
Rip configuration:
#VERSION 1
**Show ip route
router rip
ver 1
network 192.168.2.16
Exit
Exit
Wr
#VERSION 2
Router rip
Ver 2
Exit
Exit
Wr