27 lines
465 B
Plaintext
27 lines
465 B
Plaintext
enable
|
|
configure terminal
|
|
hostname S6
|
|
no ip domain-lookup
|
|
interface vlan 1
|
|
ip address 192.168.0.11 255.255.255.0
|
|
no shutdown
|
|
exit
|
|
ip default-gateway 192.168.0.254
|
|
int range g0/2-3
|
|
switchport trunk encapsulation dot1q
|
|
switchport mode trunk
|
|
switchport trunk native vlan 1
|
|
channel-group 1 mode active
|
|
no shut
|
|
exit
|
|
enable secret class
|
|
line console 0
|
|
password cisco
|
|
login
|
|
logging synchronous
|
|
exit
|
|
line vty 0 15
|
|
password cisco
|
|
login
|
|
end
|
|
copy running-config startup-config |