[go: up one dir, main page]

0% found this document useful (0 votes)
58 views4 pages

Understanding Line VTY Configuration

The document outlines the configuration settings for a network switch, including hostname, passwords, and interface settings. It specifies trunk and access VLAN configurations for various FastEthernet and GigabitEthernet interfaces, as well as a management interface with an IP address. Additionally, it includes security settings such as SSH access and a message of the day banner.

Uploaded by

mdecker785
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views4 pages

Understanding Line VTY Configuration

The document outlines the configuration settings for a network switch, including hostname, passwords, and interface settings. It specifies trunk and access VLAN configurations for various FastEthernet and GigabitEthernet interfaces, as well as a management interface with an IP address. Additionally, it includes security settings such as SSH access and a message of the day banner.

Uploaded by

mdecker785
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

!

version 15.0
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname S2
!
!
enable secret 5 $1$mERr$EJnmB234UvJf9yoQMWYJK/
!
!
!
no ip domain-lookup
ip domain-name [Link]
!
username admin secret 5 $1$mERr$ILrAmVhMGbrCFnj8QqS3T.
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface Port-channel1
!
interface FastEthernet0/1
switchport trunk native vlan 6
switchport trunk allowed vlan 2-6
switchport mode trunk
channel-group 1 mode active
!
interface FastEthernet0/2
switchport trunk native vlan 6
switchport trunk allowed vlan 2-6
switchport mode trunk
channel-group 1 mode active
!
interface FastEthernet0/3
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/4
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/5
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/6
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/7
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/8
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/9
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/10
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/11
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/12
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/13
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/14
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/15
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/16
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/17
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/18
switchport access vlan 3
switchport mode access
switchport port-security maximum 3
!
interface FastEthernet0/19
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/20
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/21
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/22
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/23
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface FastEthernet0/24
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface GigabitEthernet0/1
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface GigabitEthernet0/2
description Unused Interfaces
switchport access vlan 5
switchport mode access
shutdown
!
interface Vlan1
no ip address
shutdown
!
interface Vlan4
description Management Interface
ip address [Link] [Link]
ipv6 address FE80::99 link-local
ipv6 address [Link]/64
!
ip default-gateway [Link]
!
banner motd #Unauthorized Access is Prohibitted!#
!
!
!
!
!
line con 0
password 7 0822455D0A1606181C1B0D1739
login
!
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
!
!
!
end

You might also like