Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (switche 1 od dolu)
- en
- conf t
- int fa0/1
- switchport access vlan 10
- vlan 10
- name nauczyciele
- exit
- int fa0/2
- switchport access vlan 20
- vlan 20
- name uczniowie
- exit
- (switche 2 od dolu)
- en
- conf t
- int fa0/3
- switchport mode trunk
- switchport trunk allowed vlan add 10
- switchport trunk allowed vlan add 20
- exit
- do sh int trunk
- (switche 3 od dolu)
- en
- conf t
- int fa0/4
- switchport mode trunk
- switchport trunk allowed vlan add 10
- switchport trunk allowed vlan add 20
- exit
- do sh int trunk
- end
- (router)
- en
- conf t
- int fa0/0.10
- encapsulation dot1Q 10
- ip address 192.168.10.1 255.255.255.0
- exit
- int fa0/0.20
- encapsulation dot1Q 20
- ip address 192.168.20.1 255.255.255.0
- exit
- no sh
- do sh vlan - pokazuje vlany przypisane
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement