init II
This commit is contained in:
44
CISCO Switchport als Access Port/snippet.txt
Normal file
44
CISCO Switchport als Access Port/snippet.txt
Normal file
@@ -0,0 +1,44 @@
|
||||
!!!!!!!!!
|
||||
! Core Switch
|
||||
INTNAMEC=
|
||||
VLAN=
|
||||
|
||||
conf t
|
||||
default int $INTNAMEC
|
||||
!
|
||||
int $INTNAMEC
|
||||
shutdown
|
||||
switchport access vlan $VLAN
|
||||
switchport trunk encapsulation dot1q
|
||||
switchport mode access
|
||||
spanning-tree bpduguard enable
|
||||
spanning-tree guard root
|
||||
!
|
||||
!
|
||||
!
|
||||
int $INTNAMEC
|
||||
no shutdown
|
||||
|
||||
|
||||
|
||||
!!!!!!!!!
|
||||
! Access
|
||||
INTNAMEA=
|
||||
|
||||
conf t
|
||||
default int $INTNAMEA
|
||||
!
|
||||
int $INTNAMEA
|
||||
shutdown
|
||||
switchport access vlan $VLAN
|
||||
switchport trunk encapsulation dot1q
|
||||
switchport mode access
|
||||
spanning-tree bpdufilter enable
|
||||
!
|
||||
!
|
||||
!
|
||||
int $INTNAMEA
|
||||
no shutdown
|
||||
|
||||
int vlan $VLAN
|
||||
ip address ....
|
||||
Reference in New Issue
Block a user