Skip to content

Instantly share code, notes, and snippets.

@tossh0095
Created December 25, 2016 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tossh0095/5be7a96907441fad83edb31dba60524c to your computer and use it in GitHub Desktop.
Save tossh0095/5be7a96907441fad83edb31dba60524c to your computer and use it in GitHub Desktop.
monitor port behavior test configuration
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 000sw01
!
boot-start-marker
boot-end-marker
!
!
!
!
no aaa new-model
system mtu routing 1500
!
!
vtp mode transparent
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
vlan internal allocation policy ascending
!
vlan 100,200,300
!
!
!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 100
switchport mode trunk
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
switchport mode access
!
interface GigabitEthernet0/6
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet0/7
switchport access vlan 200
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet0/8
switchport access vlan 300
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet0/9
!
interface GigabitEthernet0/10
!
interface Vlan1
no ip address
!
ip classless
ip http server
no ip http secure-server
!
ip sla enable reaction-alerts
!
!
!
line con 0
line vty 5 15
!
!
monitor session 1 source interface Gi0/1
monitor session 1 destination interface Gi0/2 encapsulation replicate
end
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 000sw02
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
system mtu routing 1500
vtp mode transparent
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 100,200,400
!
!
!
!
!
!
interface FastEthernet0/1
switchport trunk native vlan 100
switchport trunk allowed vlan 100,200,400
switchport mode trunk
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/7
switchport access vlan 200
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/8
switchport access vlan 400
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport trunk native vlan 100
switchport trunk allowed vlan 100,200,400
switchport mode trunk
!
interface Vlan1
no ip address
!
ip http server
ip http secure-server
!
!
line con 0
line vty 5 15
!
!
monitor session 1 source interface Fa0/1
monitor session 1 destination interface Fa0/2 encapsulation replicate
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment