Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Switch 1 CLI commands
- Switch#en
- Switch#conf t
- Switch(config)#vlan 10
- Switch(config-vlan)#name IT
- Switch(config-vlan)#ex
- Switch(config)#vlan 20
- Switch(config-vlan)#name HR
- Switch(config-vlan)#ex
- Switch(config)#int fa0/1
- Switch(config-if)#switchport access vlan 10
- Switch(config-if)#ex
- Switch(config)#int fa1/1
- Switch(config-if)#switchport access vlan 10
- Switch(config-if)#ex
- Switch(config)#int fa2/1
- Switch(config-if)#switchport access vlan 20
- Switch(config)#int fa3/1
- Switch(config-if)#switchport access vlan 20
- Switch(config)#interface range fa0/1 - fa4/1
- Switch(config-if-range)#switchport mode access
- Switch(config-if-range)#exit
- Switch(config)#int fa4/1
- Switch(config-if)#switchport mode trunk
- //Switch 2 CLI commands
- Switch#en
- Switch#conf t
- Switch(config)#vlan 10
- Switch(config-vlan)#name IT
- Switch(config-vlan)#ex
- Switch(config)#vlan 20
- Switch(config-vlan)#name HR
- Switch(config-vlan)#ex
- Switch(config)#int fa0/1
- Switch(config-if)#switchport access vlan 10
- Switch(config-if)#ex
- Switch(config)#int fa1/1
- Switch(config-if)#switchport access vlan 10
- Switch(config-if)#ex
- Switch(config)#int fa2/1
- Switch(config-if)#switchport access vlan 20
- Switch(config)#int fa3/1
- Switch(config-if)#switchport access vlan 20
- Switch(config)#interface range fa0/1 - fa4/1
- Switch(config-if-range)#switchport mode access
- Switch(config-if-range)#exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement