Config RT
Config RT
conf t
hostname ROUTER_NAME
int g0/0
ip add 192.168.1.1 255.255.255.0
no sh
exit
int g0/1
ip add 10.0.0.1 255.255.255.0
no sh
exit
router ospf 1
net 192.168.1.0 0.0.0.255 area 0
net 10.0.0.0 0.0.0.255 area 0
router-id 1.1.1.1
exit
line con 0
pass cisco123
login
exit
line vty 0 4
pass cisco123
login
tran in ssh
exit
do wr
------------------------------------------------------------
en
conf t
int (interface id )
switchport mode trunk
exit
------------------------------------------------------------
server:
en
conf t
vtp domain miage
vtp password 123456
------------------------------------------------------------
client :
en
conf
vtp mode client
vtp domain miage
vtp password 123456
------------------------------------------------------------
server :
vlan 10
name tech
exit
vlan 20
name it
vlan 30
name production