1. 포트 vlan 및 게이트웨이 설정
2.포트 dhcp 설정
1)vlan 설정
enable
conf t
interface vlan 3
ip address dhcp
no shutdown
2)vlan을 포트지정
enable
conf t
int range (포트지정)
sw mo acc
sw acc vlan 3
exit
2. Port Trunk
1)switch access mode 설정
server(config)#int fa1/0/1
server(config-if)#switchport mode access
server(config-if)#switchport access vlan 1
server(config-if)#no shutdown
server(config-if)#end
2)trunk 설정
server(config)#int gi1/0/1
server(config-if)#switchport mode trunk
server(config)#int fa1/0/1
server(config-if)#switchport trunk native vlan 1
server(config-if)#switchport mode trunk
server(config-if)#switchport trunk allowed vlan 1,3
3)업링크 설정
server(config)#int gi1/0/1
server(config-if)#description ###UP_link###
server(config-if)#end
4)encapsulation 설정 -L3 switch만 설정필요
server(config)#int fa1/0/1
server(config-if)#switchport trunk encapsulation dot1q
server(config-if)#end
server(config)#int gi1/0/1
server(config-if)#switchport trunk encapsulation dot1q
server(config-if)#end
3. iproute 설정
server(config)#ip route 172.19.146.0 255.255.255.0 192.168.150.1
server(config)#end
--------------------------------------------------광고(Advertising)-------------------------------------------------------------------------------------