Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ================================================================================================
- [switch]
- conf t
- vlan xx
- name xxxxx
- end
- conf t
- interface xxxx
- switchport mode access
- switchport access vlan xx
- end
- conf t
- interface port router
- switchport mode trunk
- end
- +++++++++++++++++++++++++++++++++++++++++
- [route]
- conf t
- interface port switch // example f0/0
- no shutdown
- interface f0/0.2
- encapsulation dot1q 2 // 2 là VLAN ID tương ứng VLAN 2
- ip add gateway
- Config DHCP
- conf t
- service dhcp
- end
- conf t
- ip dhcp pool name
- network ip mask
- default-route
- ip dhcp excluded-address ip1 [ip2]
Advertisement
Add Comment
Please, Sign In to add comment